Xfce provides a way to disable the key binding from the Settings Editor.
This will work only for GTK+ 2 applications, given that "gtk-menu-bar-accel" has been deprecated in GTK+ 3 (since version 3.10). As a result, user might have no choice but to disable the key binding per application, which may also depend on which toolkit in use.
Go to Applications Menu > Settings > Settings Editor. Xfce 4.10 or newer provides another way to access by Settings Manager > Other - Settings Editor.
In the Settings Editor:
- On the left, under "Channel", scroll down and select "xsettings"
- On the right, under "Property | Type | Locked | Value", look for Gtk > MenuBarAccel
- Double-click on the row of "MenuBarAccel" to edit this property
- In the "Edit Property" dialog, delete the value
F10
(leave it blank) and click Save
.
The final step will disable the key binding for activating the menu bar.
Custom keys: User can also change the key binding to something else. For example, changing the value to <Control>F12
will re-map to Ctrl+F12 key combination to activate the menu. Try with any key bindings using <Alt>
<Shift>
and other keys. More clues are found under "Channel: xfce4-keyboard-shortcuts" and under "Property".
Restore to default: In the Settings Editor, click Reset button that is located at the right-most icon, either at near-bottom of window (Xfce 4.10 or newer) or, on top of "Property" column (Xfce 4.8).
Precaution (Xfce 4.8): In older Xfce, clicking Reset button will cause the entire row of "MenuBarAccel" to be removed at all. To avoid this, double-click on the row again and change the value to F10
to restore.
Name: /Gtk/MenuBarAccel
Type: String
Value: F10
In case user have accidentally deleted the property, create again the property as follows. Click New and re-register the property in the "New Property" dialog with the settings quoted as above.
Xfce can still disable the key binding for GTK+ 2 applications, such as Orage and Xournal. Given that many applications are now GTK+ 3, the setting will be less and less relevent in newer Xfce.
Best Answer
This was posted a while ago and I am sure you have gotten your answer already, but for those who haven't.
Run these commands
Then download the bash script from the following link (credit to jc00ke) https://github.com/jc00ke/move-to-next-monitor
Personally, I have a directory in my root where I store all my personal scripts. However, where you download it is really up to you. Change it to have permissions so you can execute. For example, save the scripts as move-to-next-monitor.sh and then execute the following
You now have a keyboard shortcut to switch a window from 1 screen to another. I am not sure how it works with more than 2 screens.