! 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 !
Allow keybinding for toggle_workspace.
Status:
RESOLVED: MOVED

Comments

Description Sean Reifschneider 2012-12-19 05:23:14 CET
One "mission critical" feature for me is the ability to have a keybinding that allows me to switch back to the last workspace I was on.  For example, KDE allow this.  XFCE allows this *AS LONG AS I REMEMBER WHAT WORKSPACE I'M CURRENTLY ON*.

It would be nice if instead of having to press the key binding to switch to the current workspace, I could make another key-binding that would always be the same, like Super-P, that when I pressed it would switch me back to the last workspace I was on.

For example, I often will press this keybinding, look at something briefly like the status of a build or some documentation in my web browser, then press this key again to get back to where I was.

The current configuration requires me to remember not only what workspace I'm currently on, but what the previous workspace was if I want to flip back to a previous workspace and then return to where I was.

I currently emulate this by setting Super-1 through Super-7 and Super-K to an external program that uses "wmctrl" to switch to the specific workspaces, and keeps a file with these in it, and to switch to the previous workspace.

While investigating the source to see if this was already implemented, I noticed in screen.c at line 228:

    screen_info->current_ws = 0;
    screen_info->previous_ws = 0;
    screen_info->current_ws = 0;
    screen_info->previous_ws = 0;

Seems like those lines got duplicated.

Thanks,
Sean
Comment 1 Git Bot editbugs 2020-05-29 11:53:50 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/105.

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 #9660

Reported by:
Sean Reifschneider
Reported on: 2012-12-19
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
4.10.0

Attachments

Additional information