Skip to content

[FEAT] Disable virtual desktop switching key-bind #75

@erikh3

Description

@erikh3

Is this a new feature request?

  • I have searched the existing issues

Wanted change

Virtual desktops are enabled in Openbox and can be switched by holding Ctrl (or Cmd on mac) and scrolling up or down.
I want to disable this behavior (ideally make this configurable per container). Either disable virtual desktops altogether or at least disable key-bind for switching.

Reason for change

I'm using Firefox & Obsidian containers - copy pasting text and then immediately scrolling. It can happen that Ctrl key is not released yet and I'm switched to virtual desktop 2 (which is empty - black screen).
It's confusing for the user since there is no indication what just happened. I'm guessing most use-cases never need to use virtual desktops inside container anyway (1 app = 1 container).

Proposed code change

Following https://askubuntu.com/questions/49139/disable-desktop-switching-with-the-scroll-wheel-with-openbox I found the changes needs to be done in /etc/xdg/openbox/rc.xml file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions