Techodyssey

Join me as I explore, learn and have fun with technology.

Archive for the ‘xfce’ Category

Xfce 4.10

Posted by Jim on 11 May 2012

It is old news now that Xfce 4.10 has been released. If you haven’t caught up with it yet there is a tour of the new features. Unfortunately the release was too late for it to be accepted for Fedora 17 which is due out soon. It will be part of Fedora 18 that is due later in the year. However all is not lost as there are repos available for 17 and 16 at Fedora People.

I’ve been running it for a few days now on my Kororaa 16 system and on a separate Fedora 16 Xfce spin. While there are no earth shattering changes 4.10 includes some nice improvements over 4.8. One that is not mentioned on the tour is support for wallpaper slideshows. There is no need to run scripts as we did in earlier versions. The improvements in Settings and the addition of the Mime Type Editor are useful too.

The update procedure went well after first removing xfburn which requires some work to function in 4.10. There was an issue with the main panel having everything on the left. This is easily fixed by adding a separator and setting it to expand. The systems have not missed a beat, they are still as stable as they were. If you didn’t notice the changes you wouldn’t know it had been updated. If only other DE’s could learn from that.

All in all this is a good update and recommended for all Xfce users.

Posted in linux, fedora, xfce | Tagged: , , | Leave a Comment »

Conky

Posted by Jim on 21 January 2012

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.

Posted in fedora, kde, Kororaa, linux, xfce | Tagged: , , | 2 Comments »

Choose Your Desktop

Posted by Jim on 14 January 2012

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.

Posted in fedora, kde, Kororaa, linux, xfce | 8 Comments »

Fedora Xfce Tap to Click

Posted by Jim on 15 November 2011

I mentioned in the last post that I had problems getting tap to click to work on the touchpad of my netbook. It is running Fedora 16 Xfce 4.8 spin. I found a number of guides on line that required editing of or the creation of various files. These all had the same result, X wouldn’t start. The answer was very simple.

I found that using synclient in a terminal worked. The command was ‘synclient TapButton1=1′. However it needed to be rerun on each restart so a more permanent answer was required. A couple of guides suggested creating a script in ~/.config/xfce4/ but that didn’t work for me. It appeared the script wasn’t being run. So I created a Application Autostart in Session and Startup with the synclient command above as the command and it worked. Problem solved.

Posted in fedora, linux, xfce | Tagged: , | 2 Comments »

Fedora 16

Posted by Jim on 11 November 2011

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.

Posted in fedora, kde, Kororaa, linux, xfce | Tagged: , | Leave a Comment »

Netbooks

Posted by Jim on 8 October 2009

I have been interested in the idea of a netbook since they first appeared. I can see the advantage of a small portable computer especially since laptops seem to be getting larger. I remember many years ago using a 486 laptop that only ran dos but was small and light. It was the ideal travel companion. So recently I decided it was time to add to my collection of pcs.

The new unit is Kogan Agora Pro from Kogan, an Australian company. At under $500 it is the cheapest netbook available in Australia but despite that is well equipped. It has a 160gb drive and 2 gig ram as well as the standard Atom processor. Graphics are Intel 950 which support 3d, transparency etc. OS is gOS a version of Linux based on Ubuntu with a emphasis on Google.

So how good is it? It is only available online which is a bit of a concern. I like to see and touch before I buy. However there were several good reviews online so I took a risk. It arrived in a couple of days. Just a plain white box with the usual hardware but no manual. That is only available on the website. Kogan proudly state they are a paperless company. It had a Windows XP sticker even though it came with Linux, that went very quickly. My first impressions were very good, it runs well and seems well made.

I was not so impressed with the operating system though. It seemed to be an older version as it contained out of date versions of OpenOffice and Firefox. The getting started guide recommended against updating it too. Seems that causes problems with the wifi driver. To add to that it didn’t recognise my wireless broadband so I couldn’t get online.

My next move was predictable I guess. gOS was gone and Fedora replaced it. Most things worked out of the box including wifi and my wireless broadband. I was surprised how well it ran even with KDE 4.3 installed which is a bit resource intensive. Even the desktop effects worked. It didn’t take me long to have the desktop customised the way I like it. Later I added the Xfce 4.6 desktop and that runs even better. I will give Fedora’s new Moblin spin when that becomes available after the release of Fedora 12 in about a month.

I have used it around home, in meetings and when out and about. It has prove a worthwhile investment and a useful tool.

=-=-=-=-=
Powered by Bilbo Blogger

Posted in computers, fedora, kde, linux, ubuntu, xfce | 4 Comments »

 
Follow

Get every new post delivered to your Inbox.