Archived from Wordpress
Notebook Index
Skype — No Winamp Pause, No redial?!
January 7th, 2010So I’ve been using Skype for years now since 0.2 or something and it had been getting better and better. But they seem to be removing features now. No More Redial No more Winamp Pause To add it you need to modify the Config.xml file. You can do it like this.
So why are Skype annoying their users, removing useful features? |
Non US Keyboards used with Cygwin
December 22nd, 2009If you have a keyboard that is non US when you type you find different characters appearing to what are marked on the keys. The solution to this is fairly trivial run xmodmap with the appropriate xmodmap file. The problem is you don’t have the file. They are all here as a compressed tar file or you can browse them here. I added a line to my .bashrc file xmodmap xmodmap.uk and that worked nicely. |
Google Apps Publish Feature
March 24th, 2008It seems that Google docs has a publish feature so you can write Blog posts here before publishing. I’m testing it with this posting. |
Toshiba Satellite Pro A10 Overheating
Reowning Ubuntu
August 15th, 2007NFS is a pain because you need to have the same UIDs on different systems. It seemed easiest to change my UID on my Ubuntu box. usermod -u 1234 phil Simple enough and it even chowned the files in my home directory. But I still have files everywhere which have my old uid. I’d like to find and own them, seems like a pain, could take ages? Easy with GNU find: sudo find / -uid 1000 -exec chown phil \{\} \; |
Shutting down Windows
May 1st, 2007My kids like to play games on my personal laptop which happens to have WinXP Home on it. Of course they don’t like to get off it when it’s time for dinner, bed, bathing, school, … Going in there and making them shut it down can be a challenge. So the solution a mash-up Apache and psshutdown now available from Microsoft. My apache was installed through cygwin so I have all the shell powers available for my cgi scripts. You will need to make a dummy script to accept the licence using the /accepteula switch which needs to be run once or the scripts will just all fail. I added the sysinternals tools to my system environment path so they will get picked up without addng the path. Then the following script is dropped into /srv/www/cgi-bin/shutdown #!/bin/sh # disable filename globbing echo “Content-type: text/plain; charset=iso-8859-1″ psshutdown -kf I also set up a static IP address for the laptop. Now I just put a bookmark in my browser http://192.168.1.199/cgi-bin/shutdown and clicking on this shuts that laptop down without any arguments. I have Wi-Fi capable mobile phone so put the bookmark in there and I can easily shut it down from there too, which is really handy as I’m not always in front of a computer screen. |
Fantastico Does it again
March 30th, 2007Just upgraded WordPress to v2 and it was a single click with fantastico! |
Start
February 2nd, 2007I like to use a command line interface whenever possible. Sometimes though a windowed application is required. In MS Windows you use the start command to bring up the default app, (don’t use this much). In Cygwin I use the cygstartcommand. So I was using my Ubuntu system and wanted to do something similar. The command it turns out is gnome-open. Bit of a mouthful so I have this aliased in my .bashrc file to cs for either cygstart or gnome-open which is much more snappy. |