207 reputation
19
bio website
location Belgium
age
visits member for 11 months
seen yesterday

My family and I are enjoying 100% GNU/Linux desktop bliss since 2007. I work with the following Debian-derived distributions:

  • Xubuntu LTS extended with a number of PPAs
  • antiX for my 1998 Toshiba Satellite 4000CDT laptop

I also run a Ubuntu Server on a dual-core, underclocked (1GHz) Intel Atom D510 with a ZFS on Linux hot-plugged mirror.


Apr
2
comment How do I get the MD5 sum of a directory's contents as one sum?
Differing files are reported as well with this command.
Feb
24
answered How to refresh the desktop background in various desktop environments?
Feb
24
comment How to refresh the desktop background in various desktop environments?
It seems that Unity and KDE do not require any command at all. Both desktop environments refresh the wallpaper automatically upon change of the wallpaper file.
Feb
24
comment How to detect the desktop environment in a bash script?
I like this. According to this overview, there will only be a problem with Cinnamon. However, this might eventually be resolved by opening a bug report with Linux Mint.
Feb
24
accepted How to detect the desktop environment in a bash script?
Feb
24
revised How to detect the desktop environment in a bash script?
added 38 characters in body
Feb
24
awarded  Quorum
Feb
24
comment How to detect the desktop environment in a bash script?
@Greame You are right; I was a bit too quick and overlooked the unfinished another_desktop outcome.
Feb
24
comment How to detect the desktop environment in a bash script?
@Gilles Good question. I am writing a speciality script for xplanet and would like to automatically refresh the desktop background with commands specific to the desktop environment. If you like to post an answer to that problem, please, follow the link.
Feb
24
comment How to detect the desktop environment in a bash script?
This returns unknown on Ubuntu.
Feb
24
answered How to detect the desktop environment in a bash script?
Feb
24
comment How to detect the desktop environment in a bash script?
Indeed, with emphasis on "if available". See also this Askubuntu answer.
Feb
23
comment How to detect the desktop environment in a bash script?
wmctrl -m on Ubuntu (Unity): Name: Metacity
Feb
23
comment How to refresh the desktop background in various desktop environments?
Perhaps this is not possible with all desktop environments. On the xplanetFX homepage, I read: "Seamless wallpaper change in GNOME, KDE < 4.3, XFCE and XFCE4, Fluxbox and feh wallpaper changer (KDE > 4.3 with workaround)".
Feb
23
comment How to detect the desktop environment in a bash script?
@Graeme Which variable on what desktop?
Feb
23
comment How to detect the desktop environment in a bash script?
Especially this answer is very informative. Could it be that $GDMSESSION consistently yields the same results as $DESKTOP_SESSION?
Feb
23
comment How to detect the desktop environment in a bash script?
Are there some Linux Mint Mate/Cinnamon users here? E17, LXDE, etc. are also welcome...
Feb
23
awarded  Commentator
Feb
23
comment How to detect the desktop environment in a bash script?
I am truncating at the first letter because plain echo $DESKTOP_SESSION yields xubuntu on my machine.
Feb
23
comment How to detect the desktop environment in a bash script?
I am wondering whether echo ${DESKTOP_SESSION:0:1} would do the trick? As far as I could test, it returns u for Unity and x for XFCE. Hopefully some folk will chime in for KDE and other desktops.