Wednesday 24 September 2014

Kool KDE Features and Little KDE Quirks

I have just recently switched from Cinnamon to KDE on Mint 17 and I am still discovering cool little stuff along with the odd quirks of KDE.

Kool KDE Features

The other day I had a cool moment with KDE, specifically with KDE Connect. I got an incoming call on my phone, and Amarok automatically paused for me to answer it, then after I hung up, the music automatically started again! Awesomeness! I assume it should work with other KDE media players, not sure about other non-KDE-native apps. It reportedly does work with Clementine. Some users have reported high battery life when scanning for a connection using Bluetooth, but I am using KDE on my workstation so I obviously cannot test that.




Another thing I love in KDE is it's System Tray not only shows all recent notifications but it also shows current file transfers for Dolphin, including estimated time remaining. Click the plus sign and it also shows the transfer speed too, which is very useful. You probably also notice I have switched back to Mint's default KDE theme.

 

Another thing I like is the "root actions" menu in Dolphin, which is useful for changing or repairing permissions on files and folders. I did not like Dolphin when it first replaced Konqueror for file management, but it has come a long way since the early days of KDE 4.x.



KDE Quirks

One mildly annoying thing with KDE is, and always has been for me, Kwallet. With my recent KDE use I have noticed it popping up when I open Chrome and Amarok for the first time after login. Luckily I found a little trick to stop Chrome needing to open Kwallet here without needing to completely disable Kwallet. I have not yet found out how to do similar for Amarok. Should I add a similar entry for Amarok? Answers in the comments please! I have tried disabling Kwallet before but it used to course problems, so I don't do that any more!



Another little quirk of KDE is the way it treats workspaces and monitors. It treats each monitor as a separate set of activities. The downside of this is you cannot set one widescreen wallpaper to span over two or more monitors. The only workaround that works at the moment is to edit your wallpaper in your favourite editor, I use GIMP, and split the picture down the middle and set the two parts to the appropriate monitors. I'll admit this is only a very minor annoyance but it means wallpaper switchers don't tend to work well unless you like different wallpapers for each monitor!




So far I am really enjoying KDE on my main workstation and I am still rediscovering the features and quirks of KDE, so I shall likely update this article in the future.




Sunday 21 September 2014

A Fresh Start With Mint 17 KDE for my Workstation

I've recently had a bit of a Linux desktop crisis as my favourite desktop, Cinnamon, has been playing up somewhat on my main workstation, after I had been satisfied with it for so long. It started getting flickering with one of the dual monitors going black briefly when fullscreening VLC or anything that runs fullscreen. Cairo Dock was also becoming increasingly buggy too, so it was time for a change. I tried LXDE and XFCE installed on Mint but they all felt lacking on my dual monitor setup. I then tried to install KDE but it messed up the install, and so it was time for a reinstall.

I briefly tried fresh installing Xubuntu and then stock Ubuntu but for some reason the mouse and keyboard stopped working on them on the first boot. Quite odd. I then reinstalled Mint Cinnamon 17, then installed MATE again and had that running for a few weeks until today, when I decided to start fresh again. I used MATE for a few weeks, but although it worked OK, Gtk2 feels old and just does not feel as smooth as Cinnamon used to do.



So I decided to try KDE again, but this time with a fresh install of Mint 17 KDE, but keeping my /home partition and that's what I am running now. I already have KDE installed on one laptop, so I knew what to expect. It got off to a slightly shaky start on the LiveCD as Desktop Effects are enabled by default and they do not play well with the open source Nouveau driver! So I disabled them for the install and disabled them on the first boot, then re-enabled them after installing the Nvidia drivers.



Then after installing my favourite apps, such as Chrome, Filezilla and others, I got down to customizing my desktop to how I wanted it. KDE is great for those who need to customize everything, but the only thing lacking is the way it treats desktops separately, so you cannot span a single wallpaper across multiple screens. A workaround is to split your wallpaper down the middle with GIMP, and set the left and right bits appropriately.


I set the main KDE panel to the top of the screen and then made an auto-hidden panel at the base of the screen for most used apps and resource monitors etc. I did briefly try Docky, but it does not work how I want. I did try a completely dark theme all over the desktop, but they are very tricky to get right, especially with gtk apps and WINE etc so I decided to stick to stock theme other than a dark desktop theme for the panel. I also installed Conky with Gotham theme. Here's how my KDE desktop looks with the lower panel visible, with Dolphin and Amarok open:


I did actually install Gmusicbrowser too, but the keyboard media buttons don't seem to work with it. Thankfully Amarok works very well in it's native KDE, unlike whenever I have tried it in other desktops. I do also like the KDE main menu's Favourites list, a good contender feature-wise for Cinnamon's menu.



KDE has some nifty features and the desktop effects can actually be quite useful, like the 3D app switcher and taskbar window previews, which I have not had for years.




Another cool feature is KDE Connect which makes Android Notifications appear as notifications in KDE, as well as enabling you to control audio/video playback in KDE from your phone, amongst other things.



So I am quite happy now with Mint 17 KDE on my HP xw6600, it's very nice and usable once it's been setup right, and now that I have got used to it. I would say though it does need plenty of resources to run smoothly, so it's not ideal for low end laptops with integrated graphics. My desktop is a HP xw6600 with 8GB RAM and 4 core 2.5ghz Xeon CPU and Nvidia 7600GT. It has been stable so far though, more so than Cinnamon, I have only had one settings dialogue crash once, that's about it, so hopefully I shall keep Mint KDE on my main workstation for a long while.



Monday 8 September 2014

How to add Gmusicbrowser to the Media Menu in Cinnamon/Gnome desktops

My favourite music player for a long time has been Gmusicbrowser as it's lightweight and can handle extremely large music collections with ease, taking only a short time to scan my 50,000+ track collection. However for awhile now, it's tray icon never shows in Cinnamon or Gnome desktops, which has it's own Media Menu with playback buttons and volume controls. Without a fix it usually just shows only 'Gmusicbrowser' clickable that just opens the player, and no controls. I found a work around sometime back that I just rediscovered after a reinstall of Mint 17 Cinnamon on my main desktop.



Essentially you need to use your favourite text editor to add 'cinnamon' to the list of players in  /usr/share/cinnamon/applets/sound@cinnamon.org/applet.js in the "compatible_players variable" section, save the file, then restart Cinnamon (Ctrl+F2 then enter a single letter 'r' and press enter) or just logout and log in. Now start Gmusicbrowser and it should now have a proper entry in the Media Menu with playback controls and we're done. I've also rediscovered Gmusicbrowser's built in desktop widgets.