-
-
Notifications
You must be signed in to change notification settings - Fork 54
Can not determine session name on debian with gnome3 #9
Comments
Hi @pdavydov108, |
Yeah, this command really outputs nothing for me, and the session name is set to 'other'. But is it correct? I'm using gnome in fact. |
Please run code below, |
It's output is "default" |
Same problem here with arch linux and gnome 3.10
xSwipe tries to split the reported session in line 94 and afterwards the string is empty. I fixed it locally, but don't know if this breaks other systems:
|
@henry78, you code doesn't work for me as well, it seems that I don't have gnome-session running at all.. The only way that I was able to find to detect my desktop environment is to check $XDG_DATA_DIRS variable, as it is described here http://unix.stackexchange.com/questions/116539/how-to-detect-the-desktop-environment-in-a-bash-script. |
I have the same problem. On Ubuntu 14.04 using Unity. Command outputs:
|
Sorry for late reply. if [ "$XDG_CURRENT_DESKTOP" = "" ]
then
desktop=$(echo "$XDG_DATA_DIRS" | sed 's/.*\(xfce\|kde\|gnome\).*/\1/')
else
desktop=$XDG_CURRENT_DESKTOP
fi
desktop=${desktop,,} # convert to lower case
echo "$desktop" |
On Ubuntu14.04 it gives: unity |
Hello people, |
Hi! Thanks for your work, xSwipe is cool. I'm trying it on debian now with a patched synaptics driver (https://github.com/felipejfc/xserver-xorg-input-synaptics). Unfortunately, xSwipe is not able to detect gnome environment, session name is always set to 'other'. Is it a bug, or should I install some package to fix it?
My gnome session version is 3.8.4
The text was updated successfully, but these errors were encountered: