Index

Table of contents

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

notifications daemon

changing notification appearance
xfce4-notifyd-config
documentation
https://docs.xfce.org/apps/notifyd/start

dconf utility

list child nodes
dconf list /
dconf list /[path]/
get property for key
dconf read /org/x/editor/preferences/editor/scheme
set property for key
dconf write /org/x/editor/preferences/editor/scheme "'cobalt'"

xfconf-query

help
xfconf-query -h
https://docs.xfce.org/xfce/xfconf/xfconf-query
list channels
xfconf-query -l
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