blog

Fedora 7 lircd & /dev/lirc

Been trying to configure lircd on my fedora installation and connect to it via freevo but kept getting this error from the lircd daemon when freevo was fired up

could not open /dev/lirc

Finally found the answer on the mythtv site somewhere ( lost the link ) what you have to do is
cat /dev/input/event1
then press buttons on the remote and look for garb to be printed if not keep counting on the events until it is eg
cat /dev/input/event2
cat /dev/input/event3

…etc

Once you found the correct event device for your remote you need to start lircd with the following options

lircd -H dev/input -d /dev/input/event5

assuming you found your remote on event5.

To use this with fedora service and chkconfig command you need to edit the file /etc/sysconfig/lircd to read
LIRCD_OPTIONS=”-H dev/input -d /dev/input/event5″
replacing event5 with the one you identified earlier. lircd can now be started with the service command.
service lircd start


comments (0)

Webilder - Rotating flickr and Webshots backgrounds

Just came across the very cool Webilder program for gnome (and kde) which runs as an applet - automatically downloading flickr and webshots images and setting a new one as your background at a specified interval!

Get it at Webilder.org

For fedora users I built some fedora core 6 packages located here [read on]


comments (0)

Hiding or removing gnome trash icon

This is for fedora core 6 but should work on most distros launch gconf (Applications -> System Tools -> Configuration Editor) apps -> nautilus -> desktop clicky the checkbox =). Works for home and computer icons on desktop aswell as renaming these.


comments (2)

I am alive!

After a long period of procrastination I am back!

A few questions have been asked in the comments about licensing for the code short answer is there is none (procrastination again) you can use what/how you wish I don’t mind =). However you may need to check any other source I have included from elsewhere for licensing issues.

Trolling through a few of my comments I found a cool implementation of the drag drop shopping cart over at www.soundcrafts.co.uk.


comments (9)

Drag Drop Shopping Cart - PHP

Just discovered the the excellent script.aculo.us drag and drop shopping cart it is implelmented with the script.aculo.us javascript library and ruby on rails.
It is a perfect fit for a project I am working on but I needed a PHP version here is the rough first draft with source code,


comments (57)

Javascript Slider Bar (uses AJAX)

Just put an example of a DOM Javascript Slider Bar, I used the source orignal written by …[lost link]…
I added a few extra functions and made it update automatically via AJAX (via Sajax) of course! Not been able to find a a decent use for it yet, but I dont want to lose it so here it is. Hope someone may find a use for it.
Example.


comments (23)

Gmail Style, AJAX Check Username Signup

I have made an example of the Gmail username style signup page. Where you enter your selected username and click Check Username the script will then check to see if the username is taken if so make some suggestions as to others like that one which are available.

The example uses PHP and AJAX (via Sajax development version) to complete this task.

You can see the example and see the source code.


comments (48)

Multi List Drag and Drop

I was playing with Tim Taylor’s excellent List Drag and Drop javascript and came across the multi list version by Ben Levy.

I made a few modifcations to it adding a “trash” container so that items that are dragged and dropped outside of an area are not lost.
I also added some php to make it persistent by saving the layout inside of a mysql database.

You can see an example and check the php source.

Something like this would be cool for CMS layout editor.

Updated again (15 July).
I have put in an example of updating the database using SAJAX so user is not required to click submit to update the layout it is done automatically when they ‘drop’.
Added a group feature so you can group certain lists together and cannot drag and drop to a list outside of the group.

Updated again (18 July).
Made the php more secure, was not concentrating very hard on that part when I made it!


comments (227)
-->