Index

XFCE

default applications

change default applications (terminal, file and web browser)
exo-preferred-applications
system wide default applications for mime types
/usr/share/applications/defaults.list
user specific overrides
~/.config/mimeapps.list
~/.local/share/applications/mimeapps.list
~/.local/share/applications/defaults.list
metadata files that describe how they are called
/usr/share/applications/[application].desktop

common xfce applications

xfce screenshot tool
xfce4-screenshooter
pulse volume control
pavucontrol

xfconf-query

list channels
xfconf-query
list properties for channel
xfconf-query -c xfce4-keyboard-shortcuts -l
show the value of a property
xfconf-query -c xfce4-keyboard-shortcuts -p '/xfwm4/default/<Alt>F10'
list properties with their values
for option in $(xfconf-query -c xfce4-keyboard-shortcuts -l)
do
	echo -e "$option => $(xfconf-query -c xfce4-keyboard-shortcuts -p $option)"
done
update existing value
xfconf-query -c [channel] -t string -p [property] -s "[value]"
create or update new or existing value
xfconf-query --create -c [channel] -t string -p [property] -s "[value]"
insert array
xfconf-query -c test -p /test -t int -t int -t string -s 100 -s 200 -s "blablabla"
reset property
xfconf-query -c [channel] -p [property] -r -R
real example: set ctrl + shift + numpad-up to snap window to top
xfconf-query --create -c xfce4-keyboard-shortcuts -t string -p '/xfwm4/custom/<Primary><Shift>KP_Up' -s "tile_up_key"
config files for keyboard shortcuts (locate xfce4-keyboard-shortcuts.xml)
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
/usr/share/mint-configuration-xfce/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
further reading
https://docs.xfce.org/xfce/xfconf/xfconf-query
https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling