Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: gromit-mpx limited to a single workspace #75

Open
zenny opened this issue Mar 13, 2020 · 6 comments
Open

[Feature Request]: gromit-mpx limited to a single workspace #75

zenny opened this issue Mar 13, 2020 · 6 comments

Comments

@zenny
Copy link

zenny commented Mar 13, 2020

Hi,

@bk138 Thanks for creating something that is extremely useful. No parallels! :D

Once gromit-mpx process starts, all workspaces (pagers) are affected at present.

Is there a way to limit gromit-mpx to a specific workspace (pager) where it was activated?

Yep, I know that one can toggle with CTRL+F9, yet that would add an additional step when working with multiple workspaces like in i3, particularly troublesome while screen-capturing.

Any takers?

Cheers,
/z

@bk138
Copy link
Owner

bk138 commented Mar 13, 2020

This might actually be an easy one.

@zenny
Copy link
Author

zenny commented Mar 16, 2020

This might actually be an easy one.

look forward to. ;-)

@bk138
Copy link
Owner

bk138 commented Mar 21, 2020

https://github.com/bk138/gromit-mpx/blob/master/src/gromit-mpx.c#L1241 sets the window type to popup, which makes it stick to all virtual desktops. Changing this to GTK_WINDOW_TOPLEVEL as per https://developer.gnome.org/gtk3/unstable/GtkWindow.html#gtk-window-new lets the window stay on one virtual desktop, but it can be underneath other windows then :-/

@bk138
Copy link
Owner

bk138 commented Mar 21, 2020

Ideally, annotations would be managed by the compositor anyway, but this would be a wholly different application then.

@zenny
Copy link
Author

zenny commented Apr 8, 2020

@bk138 My use case is to screencapture including the annotation while being able to move around without annotations other workspaces (pagers) in i3wm, fyi. I guess the compositor (currently using picom) managed annotations are not recorded in screencapture in my case, or did I miss something?

@antocham
Copy link

Hi, I didn't find anything about this (but maybe it is my fault, I didn't find much about gromit-mpx in general and I'm not sure I caught all the subtleties of the config file), but in the same spirit it would be great to enable gromit on one screen only (currently a XP-Pen tablet) and leave the other screen work with its mouse and possible touchscreen unchanged. Or alternatively (but I think this is possible through a complicated configuration of libinput?) having the pen (or the finger on a touchscreen) work as a pen and the mouse as a mouse... Sorry if this is already easy / or too hard to implement... (btw, it seems F9 does not work on a Dell latitude, so keeping the mouse as a selection tool would be a great workaround) . Thanks for the nice software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants