Tuesday 14 June 2011

Links to Useful Web Dev Resources

'Would you like to display your own icon on the browser address bar and browser tabs when visitors view your web pages?

'Now it's easy to create icons and marquees for your web pages with FavIcon from Pics. Simply select a picture, logo or other graphic (of any size/resolution) for the "Source Image" and click "Generate FavIcon.ico'
http://www.chami.com/html-kit/services/favicon/

Thinking Web: Voices of the Community - free to download PDF book.
http://blogs.sitepoint.com/thinking-web-voices-of-the-community/

"The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem."
http://960.gs/

rose is so lovely

Wednesday 12 January 2011

XBOX DVD IR Remote, Ubuntu 10.10 and irxevent

Get the Xbox DVD IR reciver and remote working on Ubuntu - follow this post: http://forum.xbmc.org/showpost.php?p=688677&postcount=32

The remote should now work with XBMC. To get the Remote working with other applications...

1) Install irxevent

- System> Administration> Synaptic Package Manager> lirc-x

2) Create the irxevent confic file in home folder

- Create a new document in home folder and rename it .lircrc
- Right click on the file and in Permissions tab tick the allow executable tick box.
- Open the file with the text editor and paste the following in the file, then save and close.

begin
prog = irxevent
button = SELECT
repeat = 0
config = Key KP_Enter CurrentWindow
end
begin
prog = irxevent
button = MENU
repeat = 3
config = Key Tab CurrentWindow
end
begin
prog = irxevent
button = BACK
repeat = 0
config = Key alt-Left CurrentWindow
end
begin
prog = irxevent
button = LEFT
repeat = 2
config = Key Left CurrentWindow
end
begin
prog = irxevent
button = RIGHT
repeat = 2
config = Key Right CurrentWindow
end
begin
prog = irxevent
button = UP
repeat = 2
config = Key Up CurrentWindow
end
begin
prog = irxevent
button = DOWN
repeat = 2
config = Key Down CurrentWindow
end

- Run the command irxevent -d in the Terminal (to restart run killall irxevent
and then irxevent -d)

Map more buttons by checking sudo gedit /etc/lirc/lircd.conf to find out the button label (ie. button = DOWN) and then map it to a keyboard key (ie. the Enter key KP_Enter). More info here: http://tv-true.org/how-to/configuring-lirc.html and here: http://www.youtube.com/watch?v=e9O6Qm5nWwo

To start irxevent whenever Firefox is started create a script and then a new Firefox short that uses the script to start Firefox.

- Create a new file called ffir.bin and copy the script text:

#!/bin/bash
irxevent -d
firefox

- Save the script (remember to make the file make executable).
- Right click on the new Firefox short-cut and open Properties and then change the Command field to Desktop/ffir.bin.