Archive for category Linux Stuff
The Best Dock for Linux
Posted by Randy in Apple, Linux Stuff, Open Source, technology on July 5, 2009
I’ve been looking for an OS X-like dock bar for Linux for many years. For a while, I used the launcher applet in gdesklets. It works without x-composite and pretty nice, but gdesklets can be a resource hog at times. Most of the gdesklets are written in Python if I’m not mistaking and Python, being an interpreted language, uses much more system resources than a native compiled application.
My next dock was AWN, or Avant Window Navigator. At one point, possibly the present, Google was involved with this project. Again, this is if I recall correctly. AWN is very nice, however, it only works if you are using the composite extension in X, as in Compiz/Beryl/Compiz Fusion. It’s very customizable and behaves much like the OS X dock.
There’s one part of the OS X dock that I really like that isn’t quite the same in these docks however. The fish-eye zoom of icons on the dock is a trademark of OS X. AWN and the launcher in gdesklets both have a zoom function but it’s just not the same.
I recently discovered that there is a great dock pretty much hidden away in a program called Gnome-Do. Gnome-Do itself is a cool search app for gnome. It’s somewhat like a KDE app I remember that lets you launch programs by hitting a keyboard shortcut and then typing the name of the app. I can’t remember the name of that app at the moment though. Gnome-Do does exactly that. One can type super(windows key) and the space bar to bring up Gnome-Do.
Of course, you will have to install it first though. After it is installed, simply run the application and go to the preferences for it. Change the appearance to “Docky”. Voila, the best dock you’ve ever had in Linux will appear. Play with it and you’ll soon see that this is very close to the OS X dock experience.
Screen: A Command-Line Multitasker
Posted by Randy in Applications, Linux Stuff, technology, Uncategorized on June 23, 2009
Here’s my video about Screen. I have to say I love this app. It comes in handy. It’s the first thing I start when I create a SSH connection to a remote server.
Automated twitter status updates
Posted by Randy in Applications, Linux Stuff, Programming on April 20, 2009
Once you have a following on Twitter, it’s easy to gather a little extra traffic to your site from it. To help automate the process, I make use of Twitter’s API and a Linux command line. I create some cron jobs to update my status using curl. This is pretty simple to do and may be helpful for people with a Linux box and the need to advertise something.
The curl command is structured as follows:
curl -u username:password -d status="My new status message" http://twitter.com/statuses/update.xml
Now it’s important to note that for the automated crons the returned xml isn’t really needed. You can also use this in the programming language of choice to fetch the xml and make use of it. You can also get JSON results by changing the end from .xml to .json.
So, once you have the code, all you have to do is create the cron jobs in Linux. Edit the crontab with crontab -e
Your default editor should open your cron. Here is an example showing how to create the cron job:
5 * * * * curl -username:password -d status="My Message" http://twitter.com/statuses/update.xml
That cron job would run at 5 minutes after the hour, every hour, every day. This is, however, not a good idea because your account will not last long 🙂
BitchX removed from latest stable Debian release
Posted by Randy in Applications, Linux Stuff, Open Source on March 19, 2009
I just recently realized that BitchX is no longer in the Debian repos on one of my servers. Apparently there is some kind of library dependency issue. I decided to try some of the other IRC clients for the command line (I use XChat for most of my IRC chatting but sometimes I want to chat from a CLI environment). The rest of the clients, however, sucked. Especially when one is used to BitchX. I could have probably gotten used to one of them but I just wasn’t impressed. I tried Irssi, ircii, weechat, epic4, and something called Pork. None of them felt right.
So, I downloaded the BitchX source. I couldn’t get it to compile (probably why it isn’t in the repos any longer). Configure didn’t report any errors. Make failed with a generic error that ld ended status 1. All that means to me is that ld ended with an error. I’m sure I could have tracked it down eventually but instead I downloaded the Linux binaries. Miraculously, the binary worked without any problems whatsoever.
So, if you are like me and really like BitchX for IRC, download the binaries from: http://www.bitchx.com/download.php
Once you have the binary, you can place it in /usr/bin with:
cp BitchX /usr/bin
and create a symlink like so:Â
ln -s /usr/bin/BitchX /usr/bin/bitchx
I created the symlink only because I’m used to starting BitchX using the lowercase version of the command. The symlink is optional.
Google Gears for Linux 64 bit Redux
Posted by Randy in Applications, Linux Stuff on March 9, 2009
Earlier I posted that there was no Google Gears for Linux x64. Well I found a solution here. I was able to install it in a few minutes and I’m not in WordPress “turbo” mode. There are a few applications that take advantage of Google Gears. The key feature of Google Gears is that it allows web applications to run offline. I believe that it’s used by WordPress to cache most of the application locally. This allows it to run much faster. Hopefully this helps some of you find Gears for x64 Linux. I should have looked a little more before I posted that last entry about it being non-existent.