notes-computer-xfce

Preventing windows from hopping between desktops

A really annoying thing that Xfce sometimes does is move windows between virtual desktops/workspaces when they request focus.

To prevent this, create a file at ~/.config/xfce4/xfwm4/xfwm4rc and putting the line

activate_action=switch

in it (switch means to switch to that application's desktop/workspace when it grabs focus; instead of switch, you could put none, which means to do nothing when an application in another desktop grabs focus).

A quick way to add that line to that file is:

echo activate_action=none >> ~/.config/xfce4/xfwm4/xfwm4rc

Where is stuff stored?!?

In order to be compatible with some sort of window manager standard, Xfce doesn't store all its prefs in the ~/.xfce4 directory. Some stuff is in ~/.config and some stuff is in ~/.cache.

My configuration

My saved sessions, stored in file ~/.cache/sessions/xfce4-session-bshanks\:0, are at http://bayleshanks.com/src/home/dotfiles/cache/sessions/xfce4-session-bshanks:0.

My autostart configuration files, stored in folder ~/.config/autostart, are at http://bayleshanks.com/src/home/dotfiles/config/autostart/. Some scripts called from those files may be found in http://bayleshanks.com/src/home/bin/.

My devilspie configuration files, stored in folder ~/.devilspie, are at http://bayleshanks.com/src/home/dotfiles/devilspie/.

My ~/.config/xfce4/xfwm4/xfwm4rc is at http://bayleshanks.com/src/home/dotfiles/config/xfce4/xfwm4/xfwm4rc.