Xfce: add keyboard shortcut for root-terminal

This commit is contained in:
Daniel Ruiz de Alegría 2021-04-20 12:34:29 +02:00
parent 1ebad17259
commit a7d1e699fd
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
2 changed files with 2 additions and 3 deletions

View File

@ -83,9 +83,6 @@ if [ "$1" = "configure" ]; then
if dpkg --compare-versions "$2" lt "2021.1.2"; then
install_config_file /etc/xdg/qt5ct/qt5ct.conf force
fi
if dpkg --compare-versions "$2" lt "2021.1.3"; then
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml force
fi
if dpkg --compare-versions "$2" lt "2021.2.0"; then
install_config_file /etc/lightdm/lightdm-gtk-greeter.conf force
fi
@ -93,6 +90,7 @@ if [ "$1" = "configure" ]; then
install_config_file /etc/xdg/qterminal.org/qterminal.ini force
install_config_file /etc/xdg/xfce4/panel/default.xml force
install_config_file /etc/xdg/xfce4/whiskermenu/defaults.rc force
install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml force
fi
# Install remaining new files
install_all

View File

@ -10,6 +10,7 @@
<property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="string" value="xflock4"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;l" type="string" value="xflock4"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;t" type="string" value="exo-open --launch TerminalEmulator"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;t" type="string" value="pkexec x-terminal-emulator"/>
<property name="&lt;Super&gt;l" type="string" value="xflock4"/>
<property name="&lt;Super&gt;p" type="string" value="xfce4-display-settings --minimal"/>
<property name="override" type="bool" value="true"/>