Archive for category linux
#22: Sudo
May 15
#21: Linux
May 15
I’ve had a combination of good and bad experiences with Linux over the past two weeks that I’ve been using it as my main operating system, and I thought I’d share those thoughts with you in the forms of pros and cons.
Pros:
- Amarok is brilliant as a music organiser/player. Much better and more responsive than iTunes, and the cover manager is just *awesome*. It can auto-get the covers from Amazon and update your files for you.
- Kate is a very good text editor.
- Konqueror doesn’t impress me much as a web browser, but as a file manager it’s very good, and “remote places” is a great idea. I have Firefox for Internet anyway so I can’t complain. It also has proper Bluetooth support, which is something that I had on Windows with the WIDCOMM stack on XP SP1, but couldn’t get on SP2. Sending/receiving files one at a time is useless.
- The KDE “wallet” (which stores all your passwords and usernames under one master password) is brilliant. It’s just the right amount of security for me.
- I ran out of space on my / partition yesterday (as it was only 11gb, it was bound to happen sooner or later), but all I had to do to fix the problem was repartition a drive, format the partitions, mount them up, copy the data, then dismount and remount them at the correct mount points. I did all this while the system carried on running and didn’t have to restart once. Try doing THAT on Windows!
- You can run many Windows applications on Linux. So far I have tried mIRC, DC++, World of Warcraft, Steam and Counter-Strike Source. I’ve been trying to get Age of Empires going as well, but I need to convert the CD Image from .mds format to .iso.
- You can restart the GUI (the X server/KDM) without having to restart the PC. That is very useful for so many reasons. Also, when you log out of KDE, it saves your session so that most of your applications start again and go back to where they were when you sign back in.
Cons:
- Some things still feel like they’re “in development” and don’t work quite as it seems they should. I mean things like when you click “Administrator Mode” in the system settings, and it increases the size of all my fonts. Although having just written this… I think I may know why this is (having never logged in as root, I have never modified the font size for the root user whereas I have for “gus”)
- My main bugbear is that there seems to be no proper Remote Desktop (RDP) server available for Linux. One of the few things I really liked about Windows was the fact that RDP would dynamically size your desktop to be the same as the monitor you were on, it passed most key combinations (like the Start button on the keyboard) through to the remote session, connected disk drives, printers and ports to the local and remote computers if you requested it to, and most of all, passed any sound played on the remote computer over the Internet connection and to your local PC. That was insanely useful for listening to music at work as I could just start iTunes/Winamp at home and listen.
I really can’t think of much else to say which is that bad. There are so many nice things about the OS. I’ve only restarted three times, and I think that will decrease as I learn more. They say you should never have to restart Linux entirely.
I wasn’t really planning to blog about this, but Theory suggested that I write about it. I guess that makes sense, in case anyone else Googles for how to do the same thing.
Last night I was experimenting with various bits of Kubuntu (which I love, by the way) and discovered the /media command in Konversation. What it essentially is really is just a script which scans your system for any known media players that are running (such as Amarok, Kaffieine or XMMS) and then outputs the name of the currently playing track to your current IRC channel.
The standard format of this message is “/me is listening to Track by Artist on Album [Media Player]” – so how it actually comes out is “webvictim is listening to Love Me Do by The Beatles on One [Amarok]“. This doesn’t really look very good, so I decided to change it.
To do this, you just edit /usr/share/apps/konversation/scripts/media and change a few values.
This is the default:
outputFormat="/me $intro $info [$player]"
formatStrings = {
Title+SelfTitled : "$title by $artist (eponymous)",
SelfTitled : "${artist}'s self-titled album",
Title+Artist+Album : "$title by $artist on $album", #7,15
Title+Artist : "$title by $artist", #6,14
Title+Album : "$title from $album", #5,13
Album+Artist : "$album by $artist", #3,11
Title : "$title", #4,12
Artist : "$artist", #2,10
Album : "$album", #1,9
}
formatVariables={'audio': 'is listening to', 'video': 'is watching'}
I changed it to a much more preferable:
outputFormat="/me $intro $info"
formatStrings = {
Title+SelfTitled : "$artist - $title (eponymous)",
SelfTitled : "${artist}'s self-titled album",
Title+Artist+Album : "$artist - $title [album: $album]", #7,15
Title+Artist : "$artist - $title", #6,14
Title+Album : "$title [album: $album]", #5,13
Album+Artist : "$artist [album: $artist]", #3,11
Title : "$title", #4,12
Artist : "$artist", #2,10
Album : "$album", #1,9
}
formatVariables={'audio': 'listens to', 'video': 'watches'}
So now, my /media string comes up as “webvictim listens to The Beatles – Love Me Do [album: One]” – which I think is far nicer.