Kororaa 17

Kororaa 17 “Bubbles” Beta was released yesterday. As with previous Kororaa it is based on the final Fedora 17. There are the usual KDE and Gnome versions with the extras you have come to expect from Kororaa. Kororaa 17 introduces a new option too, the Cinnamon desktop is included with the Gnome version.

Check it out here.

Conky

Conky is a lightweight system monitor. While that is correct it doesn’t start to explain what Conky can do. Conky can be used to display almost anything you can think of on your Linux desktop. It is simple to use but you can make it as complex as you wish simply by editing the configuration file.

One of the great things is that configuration files from any distro will work on any other distro with little or no change. This means you can copy someone else’s file and use it, adapt it and learn from it. My configuration, like most people’s I guess, is a combination of pieces I found all over the place. See here for a screenshot.

I’ll link to a copy of the file at the bottom of this post along with some links to other info. I’ll go over a few of the parts of my set up that may help someone building their first Conky or maybe looking to improve an existing one. For more information look at the man file for conky with the ‘man conky’ command.

Conky is available for most distros in the standard repos. Most of the temperature readings require lm_sensors (called lm-sensors in some distros) to be installed, configured and running as a service.  There are a couple of other packages needed. I mention them where they are needed.

My Conkyrc File


own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes

#own_window_argb_value=100

These lines do 2 things. First the ‘type’ and ‘hints’ were needed for it to display properly on Xfce. The ‘transparent’ and ‘argb’ lines give transparency.  The line that is commented out (which isn’t in my file) provides a partly transparent background if you prefer it. That does make things easier to read but I prefer full transparency which is the same as setting that line to zero. If you use that line you need to comment out the second line in the section as setting transparency to yes will override the argb value.

<div>

color0 ccaa77
color1 grey
color2 ffff99 #yellow
color3 lightgrey
color4 990033 #dark red
color5 ccaa66 #light gold

You can set colours in the text section but doing it in the layout & options area makes it easier to change colours later. Just one line needs to be edited and the new colour is used right through the display.

In the ‘Text area there is a line for the KDE version. Comment this out if you don’t use KDE.

The next section on the cpu has provision for 4 cores, numbered 0 – 3.  Change this to match the number you have. You could replace the whole lot with a single entry that displays the average for the whole cpu if you prefer.

I’ve commented out the nvidia section as I don’t use the propriatary driver on this system any more and nouveau doesn’t provide this information as far as I can see. If you have any suggestions here please let me know.

The Hard drive section requires hddtemp to be installed and running as a service. You need to edit the /etc/sysconfig/hddtemp file to have the drive in the HDTEMP_OPTIONS= line. I found I couldn’t add 2 drives here. The only way to get it working was to comment the line out. Then all drives are detected.

The last section is for the network details. It uses the ‘if_up’ options to detect which connection I use. This is useful on my laptop where I use Mobile Broadband when I’m not at home and wifi at home. Although this code is for my desktop where I rarely use the mobile broadband. Only for testing and in the rare case of the broadband being down. It requires the following line in the options area at the top.


if_up_strictness address

I find address is the best option here as until an address is found there isn’t a working network connection. See the man file for an explanation and other options.


${if_up ppp0}${font DejaVu Sans:weight=bold:size=10}${color0}MOBILE INTERNET ${font :size=9}(${addr ppp0}) ${hr 2}

$font${color1}Down:$color ${downspeed ppp0}/s${alignr}${color1}Up:$color ${upspeed ppp0}/s
${color0}${downspeedgraph ppp0 25,145 990033 ffbb55} ${alignr}${upspeedgraph ppp0 25,145 990033 ffbb55}
${color1}Downloaded: $color${totaldown ppp0} $alignr ${color1}Uploaded: $color${totalup ppp0}

$else${font DejaVu Sans:weight=bold:size=10}${color0}INTERNET ${font DejaVu Sans:weight=bold:size=9}(${addr em1}) ${hr 2}
$font${color1}Down:$color6 ${downspeed em1}/s${alignr}${color1}Up:$color7 ${upspeed em1}/s
${color0}${downspeedgraph em1 25,145 ffbb55 cc0000} ${alignr}${upspeedgraph em1 25,145 ffbb55 cc0000}

The order is so that it defaults to the home broadband and only shows the Mobile Broadband when it is connected. An ‘endif’ is required too but I have it at the end of the next section so that it is only displayed when I’m at home. If you only use one type of connection you could remove the ‘if_up’, ‘else’ and ‘endif’ as well as one section and edit the remaining section for your connection.

The final part displays the total download for yesterday, the last week and month. It requires vnstat to be installed and running. Unfortunately vnstat is broken in Fedora 16 and hence Kororaa 16, due to systemd I gather. My system is still running 15 so the screenshot shows it working.

That is one of my Conkys. The other one in the screenshot in the last post is for the Amarok track information. You can have as many Conkys running as you want or need.

A good source of further information is the Conky site. There are plenty of sapmle files online a search in your favourite search engine will bring up more than you could ever look at, but here a couple, Conky Galore  and here.

If you are using Conky on Fedora or Kororaa look at this thread on the Fedora forum.

Here is my conkyrc. It is called conkyrc.doc because WordPress doesn’t like text files. Just edit it as required, rename it to .conkyrc and put it in your home directory and start conky. You probably want to have Conky autostart whenever you log in so you don’t have to start it every time.

If you have any questions or any suggestions to improve my setup please add them in the comments. Thanks in advance.

Choose Your Desktop

One of the great things about Linux is that you have a range of Desktop Environments to choose  from. There is the new age Gnome 3, the unique KDE, the more traditional Xfce or the basic provided by any of the *box options and many others. Over the years I have been using Linux I’ve tried several of them including Gnome 2 and Enlightment.

Regular readers of this blog will know I am a fan of KDE. I run the latest 4.7.4 on Kororaa on a couple of machines. What many people may not know is that I also have Xfce 4.8 installed on both of those systems. These are 2 very different environments but I find both work well for me.

 

This is my Xfce desktop (larger size click here)and despite its performance advantages it clearly can be a good looking desktop.

So which one do I prefer? If you asked I would answer KDE without hesitation. It is the easier to configure, has more powerful options and some fancy effects. However if you asked which one I use the most I would have to say it differs from time to time but lately it has been Xfce. Why? Well it does have a performance advantage especially on my older laptop. It also feels more stable. For all KDE’s attractions it does have the occasional glitch, rarely the same one though. It locks up occasionally but there is no pattern to it so nothing I can report a bug on.

Xfce doesn’t lose much in appearance. It does have a little inconsistency on some screens. It is a little more difficult to configure, more editing of text files. E.g. there is no menu editor. But it has improved a lot over the last few versions. And it is very stable, probably an advantage of the slower update timetable.

I still use the same applications, mainly KDE, on both desktops and KDE apps run well perhaps even better than on KDE. It doesn’t affect my workflow at all as I have similar keyboard shortcuts set up.

Occasionally I try other environments but I always come back to these 2.

Fedora 16

Fedora 16 was released earlier this week and I decided to update one of my systems to it. Regular readers will know I usually run Kororaa, a Fedora remix. But I decided it is more than I need on my netbook. I wanted a simple light system with few options. I decided to go for F16 Xfce spin this time. Xfce has come a long way since I first saw it a few years ago. It is now at version 4.8 and is quite a well featured desktop. It has enough to be useful and look good but is still light on resources, at least compared to KDE and Gnome.

Installation was easy. I had previously partitioned my hard drive with a separate home partition and I kept it, saving the hassle of restoring all my data. I had backed up though, just in case.

The one problem I found was that I need to add an extra option to the boot line. Without ‘i8042.nomux=1’ I don’t have a working touchpad. F16 uses Grub2 so I had to learn how to edit the command line. I found a few references to editing /etc/default/grub and then running ‘grub2-mkconfig -o /boot/grub2/grub.cfg’. Both commands need to be run as root. That solved that problem.

The only other problems aren’t related to Xfce. First, I love drop terminals especially on netbooks. In KDE I use yakuake but to install that would pull in most of KDE. I had previously tried tilda on F15 and although basic it worked well. In F16 it crashes with a segfault. A bug report has been floating around for a couple of months. I will look at alternatives, maybe Guake. Any other suggestions?

The other small problem is turning on tap to click. Xfce doesn’t have a touchpad configuration gui so I looked for further information. I found a couple that required editing xorg config files. But each time I tried it X wouldn’t load. Further investigation is required.

Xfce has configuration options for much of the look and operation of the desktop. It even has it’s own compositor which gives basic desktop effects. I like setting inactive windows to be transparent as it makes seeing what is in focus so much easier. Xfce handles this well. It doesn’t have the fancy options of Kwin or Compiz but they aren’t really necessary. One new thing in 4.8 is the option to make the panels transparent  without affecting the icons etc. on the panel. With the compositor turned on there is an option to adjust Alpha on the Appearance tab of the Panel settings.

Fedora 16 is the first Fedora to use the 3.* kernel without it using an alias. In F15 the 3.0 kernel identifies itself as 2.6.40 so as not break parts of the system. F16 doesn’t need this.

Overall the update to F16 is good. Kororaa has promised a 16 beta soon so I am looking forward to that.

It’s the Little Things

Most modern operating systems do a reasonable job and that applies even more to most current Linux distros. However it is often little things that bug users. These are issues that don’t stop you working but do get in your way a bit. I have a few and when there is a bit of free time I look for solutions. Recently I found answers to 2 of these problems.

The first is when viewing an image in full screen in digiKam the screen flashes. This seems to be a Kwin problem and I was pleased to find a fix. I didn’t record where I found this so apologies to the helpful person who made this public. It was necessary to run the following commands

kwriteconfig –file kwinrc –group Compositing –key UnredirectFullscreen –type bool false
qdbus org.kde.kwin /KWin reconfigure

The other issue was with suspend and resume. My laptop does both without error but the bluetooth service doesn’t restart at resume. That means no mouse, a situation which makes the computer unusable. It is possible to manually restart the service but that is a nuisance. So the solution is to add a script to restart the service. The details are found on the Fedora forum.

Fixing little things like this makes the system so much easier to live with.

Kororaa 15 Final Released

Kororaa Linux has released the final version 15. It is available with either Gnome and KDE. The big change to this version is the inclusion of Jockey which will automatically identify the correct proprietary video drivers and offer to install them.

Kororaa includes all the additional features of previous versions including all the popular codecs and many additional applications. For full details visit the website at kororaa.org.

More on Kororaa 15

I recently posted on my experiences installing Kororaa 15. Kororaa is a remix of Fedora so most of this also applies to Fedora 15. I have installed it on my desktop as well now and the result was similar.

I did mention that I was using nouveau instead of installing the proprietary Nvidia drivers. I noticed a few strange things including tabs in Chrome crashing on some websites, Gmail being one of them.

Another Kororaa user reported problems with the Extras installer that automates the installation of Flash, Nvidia and ATI drivers so I decided to install the Nvidia drivers and test for the problem. I did find a problem and had to do a separate installation of the drivers but one result was all of the strange problems I had been experiencing disappeared. It goes without saying then that when I installed on my desktop I didn’t wait and installed the drivers as part of my initial setup.

I also added KDE 4.7 as detailed in the previous post. It comes with Digikam 2.0 and other updates and is another great step forward for KDE. It is not available in the usual repos for Fedora 15 but will be part of 16. If you are a KDE user I recommend it.

KDE 4.7

The latest version of KDE, 4.7, was released in July. There were questions regarding its availability for Fedora 15. After some initial indecision it has been made available but not in official updates. This is due to changes in the packaging.

One of the criticisms of the way KDE was packaged for Fedora was the use of metapackages. These metapackages reduced the number of available packages but meant you needed to install many applications you didn’t want to get one that you did. While this made it simple for new users it was an irritation for more experienced users. With 4.7 this has changed and individual packages are available for most KDE apps. The metapackages still exist but they are more like groups now as they will pull in a number of other packages. The metapackages themselves are empty.

So KDE 4.7 will be part of Fedora 16 but not released officially for Fedora 15. However packages have been made available for those who can’t wait. See this post on the KDE mailing list for details on updating Fedora 15 to KDE 4.7.

I have been using it for a few days and find it is quite stable. While most of the changes are not immediately obvious the more you use it the more you find. Many of the packages are updated to new versions. One I noticed straight away was digiKam which is now version 2.

If you are using Fedora 15 KDE I would suggest updating as this doesn’t feel like a testing release more like a regular stable release.

Kororaa 15

Kororaa has been mentioned a number of times here before but if you haven’t caught up with it before it is a Fedora Remix that includes as standard all those extras most people add to their system. The latest Kororaa release is a beta based on Fedora. I should stress that the beta part applies to the extras added to Kororaa as the Fedora part is right up to date as it includes all the updates up to the release date.

I’ve been using the Kororaa beta 2 64 bit KDE on my laptop for a little while and can report it is generally good. I had a couple of issues initially but once sorted I am liking the new version.

First problem was I was starting Conky using a short script that I had installed in KDE’s Autostart. The script caused the system to lock up. Not sure why but when I removed it everything ran as expected. I simply put Conky in Autostart as an appication and it works. The script simply delayed the startup to allow the window manager to load. I think it was a carry over from the time I used Compiz on xfce and it isn’t needed any more.

Second problem involved getting the services I needed for my Conky to run. The method of managing services in Fedora 15 has changed from earlier versions as a result of the introduction of Systemd. There is good documentation on the changes on the Fedora Wiki. After I found that I had almost everything working

I have a nvidia graphics card on this laptop and I’m using the free nouveau as opposed to the closed proprietory drivers. It is working with Kwin’s Desktop Effects which it never has in previous versions. There are some differences with the look of the screen and some effects aren’t as smooth as with the nvidia driver. But I will keep nouveau for a while longer at least. One problem with not using the nvidia driver is that nouveau doesn’t report the state of the driver, temp etc. so I will need to change my Conky setup to get that working.

This is the first Kororaa or Fedora that I can say I actually like the splash screen, I haven’t replaced it yet. I usually customise the splash screen and the kdm screen too. Blue is not my favourite colour.

All of these comments are Fedora system things and not Kororaa specific. One thing I did use was Kororaa’s Add / Remove Extras tool to install Flash. It also can install the nvidia or ATI graphics drivers and may be expanded to cover other things later. It worked well although it installs the i686 flash and not the 64 bit which has had some security problems and has never made it past beta. Another advantage of starting with Kororaa was I didn’t need to install many of the packages I usually add. They are all there after the installationis finished. I restore my data, configure a few options and I’m ready to go.

I would recommend Fedora 15 but if you want all the features of Fedora in a ready to go package try Kororaa.

Downloading Photos

I have recently been using the “RAW + jpg” setting on my Canon DSLR.  It is useful in some circumstances as it gives a jpg image that can be used immediately. If I’m not happy with the jpg or want to do some editing for any reason I use the RAW file. I find I only use the RAW about 10% of the time so it allows me to upload my photos much faster.

There is a couple of drawbacks. First it reduces the number of images that can be taken before the camera stops shooting and gives its busy message while it saves them. This is only an issue when in continuous mode. If shooting single shots it is fine.

The other issue is downloading the images to the computer. I use digiKam for photo management. I always rename the files as I download them from the “image_xxxx” format to something a little more meaningful, normally I use a “date-subject-num” format. When downloading with the default settings digiKam will number the cr2 raw file as 1 and the jpg as 2 etc. However I found a setting in the download options for numbers to use the extensions. This will give the cr2 and jpg the same number with only the extension to differentiate the 2 files. Exactly what I wanted. digiKam continues to amaze me with how powerful and useful it is.