My new keyboard did not have a Suspend key that MATE automatically recognizes so I wanted to add a custom keyboard shortcut to bring my computer to sleep. I know the “pm-suspend” command-line utility but unfortunately it requires super-user privileges and is not suitable to be used from a shortcut. Fortunately DBus can be used for this purpose.
Bringing the system to standby is as simple as running the following command, either from a terminal or a keyboard shortcut in your Desktop Environment of choice:
user@host ~ $ dbus-send --system --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
While Spotify does not directly support a client for Linux they provide a preview client that was released for the old stable Debian (Squeeze). Unfortunately this is incompatible with the new stable version, Wheezy, due to a dependency problem. However, there’s a quick solution that let’s you run the client on Wheezy, too.
For quite a while I had problems with a few Steam games that I was unable to play. Every time I started them my computer would simply reboot either before the game was even loaded yet or a few seconds within in the game. The games showing this particular error were:
- Duke Nukem Forever
- Portal 2
- Call of Duty: Modern Warfare 3
Whenever you install a fresh WordPress instance the first things to do are configuring the database and, if you intend to open it up to the public, put some unique random strings for the AUTH_KEY, AUTH_SALT variables etc. Although there are some generators available online it just feels wrong to let an unknown entity create security-related data for me. So I always create my own and wrote a small shell script for this.
If you own a HTC Desire S smartphone, like me, you might have noticed that the GPS fix is sometimes horribly slow, up to several minutes from time to time. Until recently I did not find any solution that would solve this issue. For normal usage such as the occasional look at a map this is not that big an issue but with certain usage scenarios it is a real show stopper! A little research led me to a strange solution that actually seems to work quite well.
It’s been quite a while since I took my old website offline. Every time I sat down to bring a new version back online something else got pushed to the top of my TODO list. But now it’s finally done! 😀
I hope I will find the time to post here more often than in the past. The new site it organized in a blog-style with easy access to some categories in the top menu. Besides that the tag-cloud in the footer will provide you with more options to pick out post with a specific topic.
Enjoy your visit!