Tuesday, December 29, 2009

gnome autostart stuff

note to self
Seems that the prioritizing autostart scripts has been dropped for some reason. Wanted this as i wanted to get Rumpus to start as i login to my F12. But it depends on Internet connectivity or else the java starts throwing some exceptions at you. Someone on #fedora pointed this out, saying priorities are not one of the priorities ;-) of gnome-autostart dev's at the moment. Hopefully they will do something about that once the more important stuff are taken care of. For the time being, something like this can be used to get around the network connectivity by checking for the connection before trying anything.
#!/bin/bash check() { if [[ `nm-tool | grep "^State"` = 'State: connected' ]]; then -YOUR-STUFF-GOES-IN-HERE- else sleep 5 check fi } check
Nothing big, but saves sometime looking around. Hope this helps.

Sunday, December 27, 2009

gnome stuff

note to self
Came across a small problem with a USB Scroll Mouse on Fedora 12, where the 3rd button functionality not proper. Simple fix was changing a gnome configuration key value. Good to have Configuration Editior installed for these sort of stuff. Change the key /desktop/gnome/accessibility/mouse/button_layout value from 2 > 3 and you are done. To get the Configuration Editor installed, yum install gconf-editor can be used.

Thursday, December 24, 2009

squid stuff

note to self
Keep forgetting this one, and end up look around for it all over again. To get the Date & Time in a human friendly format on Squid, it can be piped through this.
#!/usr/bin/perl -p s/^\d+\.\d+/localtime $&/e;
Quite useful if you are going through the logs looking for activities on certain dates and times, and if you don't have a log-parser-report generator program installed. Found it over here.

Tuesday, December 01, 2009

Pidgin-2.6.4 RPMs for Fedora 12

Just built a set of RPMs from pidgin-2.6.4 which was released some hours ago. I think i have messed up the package naming conventions, made the build to appear as 2.6.4-0.f12pre. Had to make some small changes to the 2.6.3 .spec cuz. the .spec that comes with the source was not made specifically for current Fedora releases, as it appeared. If you are interested in checking them out, get them from the below links. libpurple-2.6.4-0.fc12pre.i686.rpm pidgin-2.6.4-0.fc12pre.i686.rpm finch-2.6.4-0.fc12pre.i686.rpm Uploading to MediaFire sucked big time! and then tried a similar site with the same result. Perhaps its their flash based upload tools that doesn't play well with Firefox-GNU/Linux. Uploading to RapidShare now, and probably won't be going back to any of those other services for a long time if it keeps working well. 2.6.4 is not on the yum yet, make sure to take this one off and put the proper one once it appears on the updates. This is only meant to be a experiment. :-)

java security exceptions

note to self Found somewhat easy way to get around the annoying java security settings. Simply add the destinations preceded by http://...