October 03, 2009 Archives

Sat Oct 3 23:27:55 EEST 2009

Migrating nanoblogger to wordpress

I'm looking for a way to migrate nanoblogger to wordpress
for some time now.
At last I succeeded following The converting a Nanoblogger to an XMLRPC article. I've downloaded the file included in the blog which I've mirrored here (nb_2_wordpress.py)
To complete the migration I first had installed wordpress.
After that I've issued command similar to:
cd /var/www/nanoblogger/data;
for FILE in `ls *`; do /root/nb_2_wordpress.py \
2009-08-06T16_55_48.txt wordpress_admin_user wordpress_admin_pass \
http://pc-freak.net/blog/xmlrpc.php; done

What this script does is import the .txt files from the nanoblogger data directory through
the wordpress xmlrpc interface using the user and password.
My imported blog to wordpress is available here pc-freak.net/blog/ .

Sat Oct 3 22:09:16 EEST 2009

Gnome 2.26 to gnome 2.28 System menu icons disabled (icons not showing/disappeared)

I've just upgraded to Gnome 2.28 from 2.26 on Debian unstable. Everything seems
to be cool in shiny in the new gnome 2.28. However I've noticed that the icons in gnome panel
System menu are not showing a well as the icons for "Search For Files" and "Places" are
missing as well. After consulting with a guy named borschty in ##gnome irc.freenode.net
I found out that the default behaviour of icons in menus has changed in Gnome 2.28 so if somebody
likes to have it back activated here is how:
In:
System-> Preferences-> Appearance-> Interface
Here tick the "Show icons in menus" option
Now your icons should appear back in the menus.
More about this kind of issues can be red on the following blog.
Cheers :)

Sat Oct 3 21:50:17 EEST 2009

Map your Easy Access Shut DOwn key to Gnome's System Shut Down

My media keyboard Delux K5201's Shut Down key won't work. To enable it here is what I did:
I opened to:
System -> Preferences -> CompizConfig Settings Manager -> Commands
Assiged in the Commands menu /usr/bin/gnome-session-save --gui --kill Went to Key Bindings and Assigned a key for the assigned command number, using the "grab key" functionality, wherein I pressed my keyboard ShutDown key.

Sat Oct 3 21:44:15 EEST 2009

No sound via pulseaudio in gnome 2.28 Debian unstable after upgrade and a simple fix

I've upgraded to gnome 2.28 on my Debian unstable. I was not surprised
to find out that sound is not working again. After some general debugging and testing :).
I've found the solution. The solution is to simply delete .pulse and .pulse-cookie
rm -rf ~/.pulse
rm -rf ~./.pulse-cookie
Now restart pulseaudio:
killall -HUP pulseaudio

Hopefully sound now should be flowing right through your speakers.

Sat Oct 3 19:48:14 EEST 2009

Xserver kill sequenze not working anymore via Dontzap option in Debian Unstable

The Xkill sequence in Debian unstable is not working again
even though the:
Option "DontZap"        "off"
in my xorg.conf InputDevice's section.
Fix comes to adding to xorg.conf:
Option          "KxbOptios"     "set terminate:ctrl_alt_bksp"

Sat Oct 3 17:26:45 EEST 2009

Fix to problems with torrents not downloading with transmission on Debian unstable and Ubuntu 9.04 Jaunty

There is a problem on Ubuntu Jaunty and Debian unstable with torrents not downloading with
the default torrent downloader transmission. I've noticed in transmission's configuration files
it's configured to use a port for "Incoming Connections" with number 51413. Anyways my machine is
behind a router and has a local IP address and consequently is not accessible through
the outside world on that port. Therefore I had to configure my router to do
port redirect (port forwarding) of port 51413, that fixed my torrents download
issues on my Linux.

Sat Oct 3 14:27:26 EEST 2009

Configuring easy access and Internet keyboards on Linux (lineak)

I've bough a media keyboard yesterday, since I ran Debian I needed
a way to configure my keyboard. After some research online I found lineak .
Lineak does have support already for many Linux keyboards key sets.
However my keboard Delux K5201 was not supported. Thus I'll now
follow the documentation to make it fully work with my Debian Linux.
Anyways surely the project will be helpful for many whose keyboards
are supported on Linux through lineak.
Seems that most of the easy access keys on my Delux K5201 kbd are working corretcly. 70% out of all the easy access keys are working out of the box. The keys that don't work and are most vital are the "Shutdown Button" and the "Mail button".