Secret Waffle Labs

You were never here… You didn't see anything….

January 24th, 2012

XFCE Shutdown with polkit

No Comments, Linux, Tips & Tricks, by andarius.

I seem to hit all kinds of issues that I should not with this install of Gentoo on my netbook. First off slim was not allowing consolekit and policykit to work correctly so I have been logging in and starting X manually. I decided to resolve this by trying lxdm tonight and it seems to work rather well. Some theme tweaks and it even suits my visual styling. Problem is it was not letting me shut down the PC.

A lot of digging turned up this thread which finally solved the issue:

It boiled down to editing “/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy” and changing a few lines as noted in the post. Rather than repeat it all, the short of it was to edit the lines containing:


To read:


January 5th, 2012

Netbook, NFS and postup

No Comments, Code, Linux, Tips & Tricks, by andarius.

Since I am up late I will hammer this out while it is fresh in my mind. I am using my netbook more and more. As noted in the previous post “Gentoo Server Config -1” I use NFS on my home server. Well I would like access to the NFS shares from my netbook but I don’t want it taking forever booting or loading the WiFi when those shares are unreachable, like when I travel for example. A little digging online and through the docs turned up a very handy Gentoo solution, postup.

The networking scripts will check for a function named “postup” (among others) in the “/etc/conf.d/net” file. If this function is found it will be executed upon having successfully brought the interface up. This means it won’t hang on boot waiting for it, but once it does come up the function is run. This also avoids nasty hangs and errors from trying to start a service that depends on the interface being actively up, like NFS for example…

Enter my implementation of the function:

postup() { 
    if [ ${IFACE} != "lo" ]; then
        net_domain=$(grep domain /var/run/dhcpcd/resolv.conf/${IFACE} | cut -d " " -f 2) 
        if [ $net_domain = "Inferno-Valley" ]; then 
            /bin/mount /media/photon/home 
            /bin/mount /media/photon/anime 
    return 0 


January 5th, 2012

Gentoo Server Config -1

No Comments, Linux, Tips & Tricks, by andarius.

I am continuing the configuration of photon as it is now running Gentoo. I figured I would share notes of the process.


Log rotation is taken for granted on many distros I have used. Well, not here. logrotate is a common application for taking care of this and is readily available in the ports. The default configuration takes care of the basics out of the box as it will automatically add a cron job and so on. I just had to install it: More

January 2nd, 2012

Gentoo and caching DNS server

No Comments, News, by andarius.

I recently moved my server from Slackware to Gentoo. There were several reasons for this move to which I may write something up later, however I am pleased with the results so far. Of the services my server provided, DNS for the local network was among them. I ran a caching DNS server which on Slackware is the default configuration for BIND. On Gentoo it is close to the same, only needing a few minor edits to fill the task.

December 22nd, 2011

Sensation(al) Grounding

No Comments, Hardware, by andarius.

I acquired an HTC Sensation as my new phone device a while back. It worked flawlessly for a good while and I am still extremely pleased with the upgrade from the Samsung Vibrant. The reason I say “a good while” is it has developed problems with headsets. Only those with in-line mics or buttons, and this includes those which came with the device.

November 2nd, 2011

Critical Detector

Comments Off on Critical Detector, Funnies, by andarius.


This machine is subject to breakdowns during periods of critical need.

A special circuit in the machine called “critical detector” senses the operator’s emotional state in terms of how desperate he/she is to use the machine.  The “critical detector” then creates a malfunction proportional to the desperation of the operator.  Threatening the machine with violence only aggravates the situation.  Likewise, attempts to use another machine may cause it to malfunction.  They belong to the same union.  Keep cool and say nice things to the machine.  Nothing else seems to work.

October 25th, 2011

This stick!

No Comments, News, by andarius.

I think this has to be one of my favorite images of all time!

I love this stick!

I love this stick!

September 12th, 2011

xorg-server and -ignoreABI

No Comments, Linux, Tips & Tricks, by andarius.

I was bitten by this yet again after another xorg-server update. X refused to start. I wrote a little about this in a post a while back which can be found here. This time around there was no nvidia driver module update which would save me. Even the beta version it seems is not updated for the latest version of the xorg-server. For the mean time I have passed the “-ignoreABI” option to the xorg-server and things seem to function fine. I await a real fix though as I am sure one will come soon once nvidia updates things.

The easiest way for me to do this was through slim (which I am assuming this is also proper). I simply edited the /etc/slim.conf “xserver_arguments” line to read as follows:

xserver_arguments -nolisten tcp -ignoreABI

The updated version of xorg-server here was 1.11.0 and the nvidia modules tested were 2.80.13 and 2.85.03, all with no luck unless “-ignoreABI” was used.

Pages: Prev 1 2 3 4 5 6 7 8 9 10 ... 15 16 17 Next