Thursday, June 30, 2011

Arch Linux and hldsupdatetool SIGSEV (Segmentation Fault)

I've recently moved my Linode VPS from Ubuntu to Arch to try and save some disk space (which it actually does). The VPS is just a simple one to conserve my bandwidth at home to host some garrysmod or various source servers. Problem tho, the latest glibc that installs with pacman on arch fucks up with the hldsupdate tool. Well this is problematic, simple solution tho. Two options what I did was reinstall arch on the VPS and didn't run a -Syu, luckly enough the older version of glibc that comes with the base install is compatible with hldsupdatetool. But if you're reading this you probably don't want to reinstall arch just for srcds, so here is the steam i686 binary that comes out of the hldsupdatetool (see bottom). Just run ./steam (might have to chmod +x it) and it should create your clientregistry.blob in ~/Steam then run it a second time and you should get the help menu. Have fun installing dedicated server stuff :D


By downloading this you accept to the valve/steam end user license agreement.
[ (direct) Steam Download ]
[ (ifile.it) Steam Download ]

Saturday, June 25, 2011

Gnome 3: Shuffle Wallpapers

I need to post on this blog more.

I recently moved off of ubuntu linux and switched to arch (great os by the way) and still kept my gnome desktop like ubuntu, issue is i was on a older version of ubuntu that was still using gnome 2 so when i switched to arch it put me on gnome 3 which looks unfortunatly WAY different. That is unless you use fallback mode like I am, then it looks alot more like gnome 2. Altho this isn't the solution you are looking for, you're here because your wallpapoz/drapes/generic wallpaper changer no longer works for gnome 3. Sadly they moved away from gconf and the likes and now they use some xml kinda thing with gsettings and that is why most other desktop changers don't work with it yet (that i know of) so I got pissed and made a very simple and short python script to shuffle my wallpapers from a directory where all my wallpapers are stored. I'll shut up now and just give you the script.

I told you it was really short http://pastie.org/2121393
Also you can `wget` this link http://pastie.org/pastes/2121393/download

So now you simply copy that into a file or wget it, how you obtain it doesn't matter so long as its in a file and the #! header is still there. Now you need to give it execute permissions `chmod ug+x desktopchange.py` and then give it a `./desktopchange.py` to make sure it changes your wallpaper, if all goes well then now all we have to do is make it run on startup.

To make it run on startup there is an easy way by executing `gnome-session-properties` and adding it through that GUI or you can go into ~/config/autostart (~/ means your home directory) and creating a .desktop file with THIS in it.

Hopefully now your desktop shuffles and you are happy again, now take that smile over to hackersforcharity.org and share some love.

Thanks for reading
~Aaron M