Xfce

Subdomains
 

The story of how you guys rock!

  • September 10, 2008
  • Jannis Pohlmann

This is my first post ever on the Xfce weblog. I’ve never been so much into blogging. I tried for a while but stopped at some point. However, this is not about me and my blogging habits: this is about how the Xfce community — yes, you! — rocks!

About a month ago, my laptop suddenly stopped working. We were working hard on the alpha (little did we know how long it would take to finally release it … I suppose Stephan is preparing release notes at this very moment) and this was just bad timing. I reported it on the mailinglist to let the other developers know about my situation. I had no idea of what would happen next.

And then I received the first mail offering a donation. And then another one. And another. One day later my PayPal account had grown up to third of the price of the laptop which I finally bought two weeks later. This came completely unexpected and just blew me away!

So on my short England vacation (I was visiting and old friend of mine in Portsmouth) I made plans on what to buy. I read a lot of reviews and at the end I came back to the same brand I had used before: I bought a Thinkpad. My old one was a R51 bought in 2004. It served me well all the years at home, at the university and at work. It even survived a shelf crash (I only had to replace the keyboard). When I arrived at Lübeck at 11pm on August 26th, I ordered a Thinkpad T61 in the same night. I still had to wait about a week waiting for it to arrive which I literally spent it on the couch doing nothing else than to wait for the postman. This has to be one of the worst weeks of my life ;)

Just like the whole week, the arrival was kind of chaotic. I had received a tracking URL the day before and so I followed the delivery process online. At noon on the day of the arrival it said “the package has been delivered”. And I was like … what?! Then I called their service number and a computer voice told me it had been delivered and some guy had signed it. Unfortunately I couldn’t find his name on any of the mailboxes downstairs. There was just one last opportunity: the sex shop in the basement. DHL had never dropped a package for me there before. I went into the shop and asked the guy if he was Mr. X (the one who signed the package). He said: No, I am not. I asked: Does a Mr. X work here then? He said: Yeah. I said: Well, did DHL leave any packages for me today? And he said: Yes. And there it was, my new laptop:

Broken R51, Brand new T61 and me

What can I say? It’s a great laptop! I managed to get all the features working within a few days, like special keys, suspend to ram, hibernate and it’s fast as hell! I might write a more detailled report about how to set up Linux on it for ThinkWiki later. The first thing to do obviously was to remove Windows and install Lunar Linux (the distribution I help working on) on it. And since then I’ve spent a lot of nights hacking on Xfce already. But that’s another story …

So today I want to thank those of you who stepped up and helped me out. I thought some time about whether to tell their names or not. I am really grateful for what they did so I think they deserve to be listed. So I’d like to thank the following people a lot for their help. In alphabetical order:

  • Benedikt Meurer
  • Bernhard Fröhlich
  • Christine Pohlmann
  • Cody A.W. Somerville
  • Colin Leroy
  • Jelle de Jong
  • Stavros Giannouris

This has once again proven that you — the Xfce community as a whole — rock!

Seems like Stephan hasn’t finished the release notes yet, so I’ll spend the rest of the evening bugging him about it. I hope you’ll enjoy the alpha and Xfce 4.6 in general. Everyone is welcome to join our mailinglists and IRC channels to discuss ideas, bugs or possible contributions – if you think Xfce is worth it, let us know and maybe you can help making it even better than it is today.

Edit: Not only the community rocks, our developers do so as well! Thanks Benny!

More docs, apps, and tweaks

  • September 10, 2008
  • Josh Saddler

Over a month since my last entry. Anyway.

The Work

I've been busy churning out the August issue of the Gentoo Monthly Newsletter, as well as a GMN Howto. This is a guide that details the process for creating the GMN, from start to finish. Over the last couple of months, it's gone from a simple 15-line cheat sheet to something a lot more useful for future GMN staff and any interested contributors.

A fair amount of documentation updates for the GDP, too. I was curiously unmotivated most of the month of August, though that's in part because of my health; I spent the first bit of it in the emergency room trying to figure out why my insides were coming apart. Still no idea.

And I've updated my devspace. Lots of changes. Lots of new stuff added and rearranged; I expect I broke some old links, but oh well. All that stuff in misc/ really needed organization.

I also poked aballier to get the new version of Decibel into the tree. Oh yeah. Upgrade to 0.11; it adds album cover art, among other things.

The Apps and the Machine

I've also been hacking up various ebuilds for packages not yet in the tree, such as tint2. This is all for my laptop, which I'm trying to slim down even more. Been removing various applications and making it much more of a minimal Xfce environment. Plus, I like pseudo-transparency. Apps like stalonetray, tint2 (ebuild available here), netwmpager, dzen2, and conky are all curiously appealing. I'm trying to find lightweight, useful, complementary apps to Xfce, in my perpetual quest to create the perfect Xfce environment.

I discovered many of these applications by reading urukrama's blog and kmandla's blog. Both are excellent sources of information on small, light apps, and setting up clean, minimal, functional environments. Quite tasty; be sure to give 'em a read. Especially urukrama's Openbox guide. It's loaded with configuration info, application tips, and much more.

The Environment

I've replaced most of my Xfce panel with stalonetray, conky, and a couple of instances of tint. I just installed dzen, and will be investigating it as a possible replacement for conky. Dzen, however, seems to need a lot of initial time-consuming configuration. And it doesn't seem to do transparency. And it doesn't look like it can even do useful fonts like Verdana.

What I'd really like to do is get rid of all but the start button on the panel, but first I need to find an icon launcher bar that does pseudo-transparency. Why not real transparency? Because compositing with the Intel X3100 graphics chip doesn't seem to be too friendly on my battery life. Actually, I'd be happy if tint had launcher capability now; I hear it's going to be in a future release. I'll just use it when that time comes.

Here's my current desktop: 1 and 2. I've managed to find a nice-looking level of transparency regardless of light or dark background, so everything's fairly clear. Too bad conky can't provide transparency and shade, similar to everything else. That left-hand panel will be going shortly; all I really need are the launchers and the start menu button. Must find a way to slim it down; it takes up too much space. Plus I don't care for vertical panel arrangements.

Since folks are always curious about what's what in any given screenshot:
Left to right: Xfce panel, stalonetray, tint, conky, and tint (just date/time). The wicd applet is anchored in the tray, and a few terminals and gtk+ apps are open in tint.
Background: (1) Liquid Crystal, (2) VSE Grass Flow.
Screen: 14.1", resolution of 1280x800. I notice that when viewing it on my 19" 1440x900 desktop monitor, the fonts look extra-large. Well, they're much smaller on the laptop. The laptop resolution is so high that I have to enlarge things considerably; my eyes aren't what they used to be.

More docs, apps, and tweaks

  • September 10, 2008
  • Josh Saddler - Category: Xfce

Over a month since my last entry. Anyway.

The Work

I've been busy churning out the August issue of the Gentoo Monthly Newsletter, as well as a GMN Howto. This is a guide that details the process for creating the GMN, from start to finish. Over the last couple of months, it's gone from a simple 15-line cheat sheet to something a lot more useful for future GMN staff and any interested contributors.

A fair amount of documentation updates for the GDP, too. I was curiously unmotivated most of the month of August, though that's in part because of my health; I spent the first bit of it in the emergency room trying to figure out why my insides were coming apart. Still no idea.

And I've updated my devspace. Lots of changes. Lots of new stuff added and rearranged; I expect I broke some old links, but oh well. All that stuff in misc/ really needed organization.

I also poked aballier to get the new version of Decibel into the tree. Oh yeah. Upgrade to 0.11; it adds album cover art, among other things.

The Apps and the Machine

I've also been hacking up various ebuilds for packages not yet in the tree, such as tint2. This is all for my laptop, which I'm trying to slim down even more. Been removing various applications and making it much more of a minimal Xfce environment. Plus, I like pseudo-transparency. Apps like stalonetray, tint2 (ebuild available here), netwmpager, dzen2, and conky are all curiously appealing. I'm trying to find lightweight, useful, complementary apps to Xfce, in my perpetual quest to create the perfect Xfce environment.

I discovered many of these applications by reading urukrama's blog and kmandla's blog. Both are excellent sources of information on small, light apps, and setting up clean, minimal, functional environments. Quite tasty; be sure to give 'em a read. Especially urukrama's Openbox guide. It's loaded with configuration info, application tips, and much more.

The Environment

I've replaced most of my Xfce panel with stalonetray, conky, and a couple of instances of tint. I just installed dzen, and will be investigating it as a possible replacement for conky. Dzen, however, seems to need a lot of initial time-consuming configuration. And it doesn't seem to do transparency. And it doesn't look like it can even do useful fonts like Verdana.

What I'd really like to do is get rid of all but the start button on the panel, but first I need to find an icon launcher bar that does pseudo-transparency. Why not real transparency? Because compositing with the Intel X3100 graphics chip doesn't seem to be too friendly on my battery life. Actually, I'd be happy if tint had launcher capability now; I hear it's going to be in a future release. I'll just use it when that time comes.

Here's my current desktop: 1 and 2. I've managed to find a nice-looking level of transparency regardless of light or dark background, so everything's fairly clear. Too bad conky can't provide transparency and shade, similar to everything else. That left-hand panel will be going shortly; all I really need are the launchers and the start menu button. Must find a way to slim it down; it takes up too much space. Plus I don't care for vertical panel arrangements.

Since folks are always curious about what's what in any given screenshot:
Left to right: Xfce panel, stalonetray, tint, conky, and tint (just date/time). The wicd applet is anchored in the tray, and a few terminals and gtk+ apps are open in tint.
Background: (1) Liquid Crystal, (2) VSE Grass Flow.
Screen: 14.1", resolution of 1280x800. I notice that when viewing it on my 19" 1440x900 desktop monitor, how large the fonts look. Well, they're much smaller on the laptop. The laptop resolution is so high that I have to enlarge things considerably; my eyes aren't what they used to be.

Restoring the Xfce panels

  • September 7, 2008
  • vincent

One question that people looking for help with Xubuntu often have is some form of “my panels/taskbar/menu disappeared”. Unfortunately, this is something that happens quite frequently.

The good news is that this is fixed easily. All that’s required is to press Alt+F2 to bring forward the Run program window, and run the command xfce4-panel.



Not only is this a quick fix for the problem, it also makes for a quick blog post that might still help quite a few people ;)

Update: Xubuntu 9.04 will include Xfce 4.6 which should be able to automatically restore the panel in the event of a crash. Hooray :)

Update to that: According to willerlite, the panels do not automatically re-appear. Hmm :S


Mount remote file systems (Tape #2)

  • September 3, 2008
  • Mike Massonnet
I once wrote about sshfs.sh, a shell script to mount a remote file system with sshfs. This is now deprecated!

Now I'm giving a try to gvfs-mount. Currently I can mount a volume and list it with gvfs-mount --list, but I cannot browse inside it because it isn't mounted. I played with the --mountable argument, but it must be a joke. I think I need a something fuse daemon from gvfs... I'll keep this up to date.

Update: Everything is alright now. The output of ps ax | grep gvfs shows the following process: /usr/lib/gvfs/gvfs-fuse-daemon. All your mount operations will be available at $HOME/.gvfs.

The recent GTK+2.14 release introduces a widget to ask a password thats called GtkMountOperation (have a look at the GTK+ blog). It might be interesting to start a Thunar plugin, and release it officially with Xfce 4.8.

Update 2: And on a fresh Debian install (or in general anyway) don't forget to install the fuse-utils package (/usr/bin/fusermount)!

Signals

  • September 2, 2008
  • Brian Tarricone

I meant to write about this a while ago, but I forgot, and it just popped into my head for some reason.

If you’re ever using POSIX signals as a means of primitive IPC, and SIGUSR1 and SIGUSR2 aren’t enough for you, never, ever, EVER make use of SIGRTMIN and/or SIGRTMIN plus some offset. Always use SIGRTMAX and SIGRTMAX minus some offset.

Why?

(Disclaimer: this might only be a problem on Linux, but if you want your app to be portable, blah blah blah…) Depending on what C library you’re using, and what pthreads implementation you’re using, the actual numerical value of SIGRTMIN may not be the same in different applications, depending on – get this – whether or not the app links with libpthread. In my case, the pthread impl makes use of the first 3 SIGRT slots, and so when you use the SIGRTMIN macro, you actually call __libc_current_sigrtmin(), and you get a number that’s 3 higher than what you get when you use SIGRTMIN in an app that doesn’t link against libpthread.

Fortunately, SIGRTMAX (which actually expands to a call to __libc_current_sigrtmax()) seems to be a bit more stable. That is, even if SIGRTMIN gets shifted up 3 slots, SIGRTMAX is still the same.

So, the moral of the story is: I never want to see the SIGRTMIN macro ever appear in your code, unless you really know what you’re doing. Instead, use things like SIGRTMAX, SIGRTMAX-4, etc. It may just save you 4 hours of debugging.

Signals

  • September 2, 2008
  • Brian Tarricone

I meant to write about this a while ago, but I forgot, and it just popped into my head for some reason.

If you're ever using POSIX signals as a means of primitive IPC, and SIGUSR1 and SIGUSR2 aren't enough for you, never, ever, EVER make use of SIGRTMIN and/or SIGRTMIN plus some offset. Always use SIGRTMAX and SIGRTMAX minus some offset.

Why?

(Disclaimer: this might only be a problem on Linux, but if you want your app to be portable, blah blah blah...) Depending on what C library you're using, and what pthreads implementation you're using, the actual numerical value of SIGRTMIN may not be the same in different applications, depending on -- get this -- whether or not the app links with libpthread. In my case, the pthread impl makes use of the first 3 SIGRT slots, and so when you use the SIGRTMIN macro, you actually call __libc_current_sigrtmin(), and you get a number that's 3 higher than what you get when you use SIGRTMIN in an app that doesn't link against libpthread.

Fortunately, SIGRTMAX (which actually expands to a call to __libc_current_sigrtmax()) seems to be a bit more stable. That is, even if SIGRTMIN gets shifted up 3 slots, SIGRTMAX is still the same.

So, the moral of the story is: I never want to see the SIGRTMIN macro ever appear in your code, unless you really know what you're doing. Instead, use things like SIGRTMAX, SIGRTMAX-4, etc. It may just save you 4 hours of debugging.

Signals

  • September 2, 2008
  • Brian Tarricone

I meant to write about this a while ago, but I forgot, and it just popped into my head for some reason.

If you’re ever using POSIX signals as a means of primitive IPC, and SIGUSR1 and SIGUSR2 aren’t enough for you, never, ever, EVER make use of SIGRTMIN and/or SIGRTMIN plus some offset. Always use SIGRTMAX and SIGRTMAX minus some offset.

Why?

(Disclaimer: this might only be a problem on Linux, but if you want your app to be portable, blah blah blah…) Depending on what C library you’re using, and what pthreads implementation you’re using, the actual numerical value of SIGRTMIN may not be the same in different applications, depending on — get this — whether or not the app links with libpthread. In my case, the pthread impl makes use of the first 3 SIGRT slots, and so when you use the SIGRTMIN macro, you actually call __libc_current_sigrtmin(), and you get a number that’s 3 higher than what you get when you use SIGRTMIN in an app that doesn’t link against libpthread.

Fortunately, SIGRTMAX (which actually expands to a call to __libc_current_sigrtmax()) seems to be a bit more stable. That is, even if SIGRTMIN gets shifted up 3 slots, SIGRTMAX is still the same.

So, the moral of the story is: I never want to see the SIGRTMIN macro ever appear in your code, unless you really know what you’re doing. Instead, use things like SIGRTMAX, SIGRTMAX-4, etc. It may just save you 4 hours of debugging.

xfce trunk

  • September 2, 2008
  • Mark Trompell
Some of you may have recognized that xfce-4.6 alpha (aka pinkie) still isn't released.
I just decided to pack xfce directly from trunk.
It's available at xfce.rpath.org@xfce:devel.
there are some minor problems when updating to group-xfce=xfce.rpath.org@xfce:devel, so that you probably need to remove some packages not needed anymore.
It's not build automaticly from trunk (yet) and I still use the xfce goodies from fl:2.
using trunk for xfce-goodies would be a next step though.
Here are 2 screnshots:

xfce & thunar
This is xfce with thunar and a "rolled in" Terminal

xfce without thunar
But thunar hides the mouse, so I closed it

I paid for Xfce

  • August 30, 2008
  • Jasper Huijsmans

Yesterday I caved in and bought myself one of those cute little laptop devices: an Acer Aspire One.

Acer Aspire One vs Dell Latitude D620

Note that the giant machine on the left is my previously considered smallish 14.1″ laptop from Dell.

It comes with a Taiwanese distribution, Linpus Linux, based on Fedora 8. More specifically, it comes with the ‘Lite’ variant of the distribution which features Xfce as its desktop environment. Well, actually, it is part modified Xfce, part Easy(tm) interface created by Acer for this device (they call it xfdesktop2, a bit strange if you ask me).

Wow. A commercial offering available from a store for regular people, with software that I helped create. Awesome. Maybe I should have asked for a discount ;-)

I’ve just started playing with it and I think they did a pretty good job. The interface is really easy, but can only access a few predefined applications. I have wanted to write such a full screen launcher/control center interface for a long time, but never got around to actually doing anything about it. It would be perfect for my parents, who have a very hard time working with their Windows XP.

They use a modified Thunar (My Disk://, Removable://, indication of disk usage in the side bar) that seems to work fairly well.

They don’t provide easy access to changing the configuration, since they disabled the right mouse menu on the panel. However Alt-F2 brings up xfrun as in a regular Xfce installation and Terminal is installed.

There’s xfce-setting-show to bring up our own settings dialog. It doesn’t fit on the screen (1024×600), but this is partly due to the very big icon they added for screen settings, making all buttons in the dialog much bigger than they need to be. I got rid of the XP window decorations and used the Xfce theme instead of RedHat’s Nodoko. Now that looks better!

xfce4-panel -a gives you the add item menu, where you can add for instance the xfdesktop menu. Also in edit mode some right-click menus do become available (not all). I’ve added a menu and a pager to get a bit more functionality.

Since it’s based on fedora you can use yum to install more software. I’ve just installed gimp to be able to create a decently sized picture for this post.

It has an 8GB SSD for storage and two card reader slots for possible extensions. The one thing where the SSD really shows its advantage is boot time. It boots in about 15 seconds, maybe a bit less (although some daemons are still being started in the background), very nice indeed.

Oh, and it weighs slightly less than 1 kg.

So, now I’ll go back to playing with this thing ;-)

update:
Screenshot