Assign Ctrl+Alt+Del to Xfce's Task Manager in Xubuntu
UPDATED: 18/08/12.
By default the Ctrl+Alt+Del
run xflock4
which locks the desktop. In this article we'll change this keyboard shortcut so that it'll run Xfce's Task Manager instead. Also the Ctrl+Alt+L
shortcut will be assigned for running xflock4
.
Install
Open a terminal window and run these two commands:
# Assign Ctrl+Alt+Del to Task Manager
xfconf-query -c xfce4-keyboard-shortcuts -n -p "/commands/custom/<Primary><Alt>Delete" -t string -s "xfce4-taskmanager"
# Assign Ctrl+Alt+L to xflock4
xfconf-query -c xfce4-keyboard-shortcuts -n -p "/commands/custom/<Primary><Alt>l" -t string -s "xflock4"
Thanks for this. First command should (I think) be
ReplyDeletexfconf-query -c xfce4-keyboard-shortcuts -n -p "/commands/custom/Delete" -t string -s "xfce4-taskmanager"
Thank you very much for your comment. There was indeed a problem with both commands: I forgot to replace < and > with < and >
DeleteIt'll work now.
This comment has been removed by a blog administrator.
ReplyDeleteI tried this (like so...)
ReplyDeletexfconf-query -c xfce4-keyboard-shortcuts -n -p "/commands/custom/Delete" -t string -s "xfce4-taskmanager"
but I get this error:
** (process:6409): CRITICAL **: Failed to init libxfconf: Failed to connect to socket /tmp/dbus-ALLW9J6C6a: Connection refused
Should I try try to run in as 'sudo' ?
BTW: I am running Xubuntu-Desktop installed over Ubuntu 12.04
Thanks
Please, try this: sudo apt-get install libxfconf-0-2 -y
ReplyDeleteBefore executing the xfconf-query commands.
Can this work on Ubuntu
ReplyDeleteNo. I believe that it is possible to accomplish the same thing on Ubuntu, but not with these instructions. These are specific to Xubuntu.
DeleteJust installed xfce on Lubuntu and ran this. Worked like a charm.
ReplyDeleteThis works in Ubuntu Studio. Thanks.
ReplyDelete