! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Keyboard shortcut to change screen
Status:
RESOLVED: MOVED

Comments

Description Leo White 2013-01-03 14:29:01 CET
I use a multi-screen setup (i.e. multiple X screens, not Xinerama etc). It would be very useful if xfwm could provide a window shortcut for changing the keyboard focus between screens.

This could work just like when a user changes workspace, except without the need to redraw all windows.
Comment 1 Leo White 2013-01-03 15:44:22 CET
I have been using the following script as a work-around:

  !/bin/sh

  if [ -z "$1" ]
  then
    echo "usage: $0 <screen>"
    exit 1
  fi 

  display=":0.$1"

  desktop=`DISPLAY=$display wmctrl -d | grep '^[0-9] *\*' | cut -c1`
  last_desktop=`DISPLAY=$display wmctrl -d | tail -n 1 | cut -c1`

  DISPLAY=$display wmctrl -s 0
  DISPLAY=$display wmctrl -s $last_desktop
  DISPLAY=$display wmctrl -s $desktop

Unfortunately it has to redraw three workspaces in order to ensure that the focus changes.
Comment 2 Git Bot editbugs 2020-05-29 11:54:05 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/107.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #9717

Reported by:
Leo White
Reported on: 2013-01-03
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information