Skip to main content

XFCE Shortcuts & Commands

Quick reference for XFCE keyboard shortcuts, file manager navigation, panel configuration, and settings commands within the ADL environment.

Window Manager Shortcutsโ€‹

Default xfwm4 keybindings for window and workspace management.

ShortcutAction
Alt+F4Close window
Alt+F5Maximize horizontal
Alt+F6Maximize vertical
Alt+F7Move window
Alt+F8Resize window
Alt+F9Minimize window
Alt+F10Maximize / restore window
Alt+F11Toggle fullscreen
Alt+F12Toggle above / below other windows
Alt+TabCycle windows forward
Alt+Shift+TabCycle windows reverse
Super+DShow desktop (minimize all)

Workspace Shortcutsโ€‹

ShortcutAction
Alt+InsertAdd workspace
Alt+DeleteRemove last workspace
Ctrl+Alt+LeftSwitch to workspace left
Ctrl+Alt+RightSwitch to workspace right
Ctrl+Alt+UpSwitch to workspace above
Ctrl+Alt+DownSwitch to workspace below
Alt+Shift+LeftMove window to workspace left
Alt+Shift+RightMove window to workspace right
Alt+Shift+UpMove window to workspace above
Alt+Shift+DownMove window to workspace below

Thunar File Manager Shortcutsโ€‹

ShortcutAction
Ctrl+LFocus location bar
Ctrl+NNew window
Ctrl+TNew tab
Ctrl+WClose tab
Ctrl+HShow / hide hidden files
Ctrl+EToggle side pane
Ctrl+Shift+NCreate new folder
F2Rename selected item
DeleteMove to trash
Shift+DeletePermanent delete
Alt+EnterProperties dialog
BackspaceGo to parent directory
Alt+LeftNavigate back
Alt+RightNavigate forward

Panel Configurationโ€‹

Panel Commandsโ€‹

CommandDescription
xfce4-panelStart the panel
xfce4-panel --restartRestart the panel process
xfce4-panel --quitStop the panel
xfce4-panel --preferencesOpen panel preferences dialog
$xfce4-panel --restart

Common Panel Pluginsโ€‹

PluginPackagePurpose
Whisker Menuxfce4-whiskermenu-pluginApplication launcher
Task Managerbuilt-inWindow list
Clockbuilt-inDate and time display
System Traybuilt-inNotification area
PulseAudioxfce4-pulseaudio-pluginVolume control
Battery Monitorxfce4-battery-pluginBattery status
CPU Graphxfce4-cpugraph-pluginCPU usage monitor
Weatherxfce4-weather-pluginWeather information

Panel Properties via xfconf-queryโ€‹

$xfconf-query -c xfce4-panel -p /panels/panel-1/size -s 32
$xfconf-query -c xfce4-panel -p /panels/panel-1/position -s 'p=8;x=0;y=0'
โœ…๐Ÿ’ก Finding panel property names

List all panel properties with xfconf-query -c xfce4-panel -lv to discover the exact keys before modifying them.

XFCE Settings Commandsโ€‹

Launch individual settings dialogs from the command line.

CommandSettings Dialog
xfce4-settings-managerAll settings (main hub)
xfce4-display-settingsDisplay and resolution
xfce4-appearance-settingsThemes, icons, fonts
xfce4-keyboard-settingsKeyboard layout and shortcuts
xfce4-mouse-settingsMouse and touchpad
xfce4-power-manager-settingsPower management
xfce4-notifyd-configNotification daemon
xfce4-screensaver-preferencesScreensaver and lock screen
$xfce4-settings-manager

Customizing Shortcutsโ€‹

Using the GUIโ€‹

Open the keyboard settings dialog to add or modify shortcuts:

$xfce4-keyboard-settings

Navigate to the Application Shortcuts tab to bind custom commands to key combinations, or the Window Manager tab (via xfwm4-settings) to change window manager keybindings.

Using xfconf-queryโ€‹

Set a custom shortcut from the command line. The key path uses the keybind string as the property name and the command as the value:

$xfconf-query -c xfce4-keyboard-shortcuts -p '/commands/custom/<Super>t' -n -t string -s 'xfce4-terminal'

Remove a shortcut:

$xfconf-query -c xfce4-keyboard-shortcuts -p '/commands/custom/<Super>t' -r

Shortcut Configuration Fileโ€‹

Shortcuts are stored in the xfconf XML backend:

~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
โ„น๏ธManual edits

If you edit the XML file directly, restart xfconfd or log out and back in for changes to take effect. Using xfconf-query applies changes immediately.

xfconf-query Referenceโ€‹

xfconf-query reads and writes XFCE configuration values stored in the xfconf daemon. Every XFCE settings dialog writes to an xfconf channel.

Common Operationsโ€‹

OperationCommand
List all channelsxfconf-query -l
List all properties in a channelxfconf-query -c <channel> -lv
Read a propertyxfconf-query -c <channel> -p <property>
Set a propertyxfconf-query -c <channel> -p <property> -s <value>
Create a new propertyxfconf-query -c <channel> -p <property> -n -t <type> -s <value>
Reset a property to defaultxfconf-query -c <channel> -p <property> -r
Reset a property treexfconf-query -c <channel> -p <property> -rR

Useful Examplesโ€‹

Set the desktop wallpaper:

$xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitorVNC-0/workspace0/last-image -s '/path/to/wallpaper.png'

Change the window manager theme:

$xfconf-query -c xfwm4 -p /general/theme -s 'Default'

Set the GTK theme:

$xfconf-query -c xsettings -p /Net/ThemeName -s 'Adwaita-dark'

Disable the compositor:

$xfconf-query -c xfwm4 -p /general/use_compositing -s false
Frequently used xfconf channels
ChannelControls
xfwm4Window manager behavior and appearance
xfce4-panelPanel layout and plugins
xfce4-desktopDesktop wallpaper and icons
xfce4-keyboard-shortcutsAll keyboard shortcuts
xsettingsGTK theme, fonts, DPI
xfce4-sessionSession startup and behavior
xfce4-power-managerPower and battery settings
thunarFile manager preferences
โญBest Practice

Before modifying settings via xfconf-query, read the current value first to note the default. This makes it easy to revert: xfconf-query -c <channel> -p <property>.