-
Notifications
You must be signed in to change notification settings - Fork 100
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
How to or feature request..? Programmatically change desktop with animation #384
Comments
You can use these commands for next / previous workspace with annimation
I don't think there a dbus method to jump to a specific workspace... there is this which adds a new workspace and switches to it (with animation)
Your other option would be to assign keyboard shortcuts for specific workspaces (via Keyboards settings app) and use |
There are also switchWorkspaceDown and switchWorkspaceUp commands besides the Left/Right mentioned above. In javascript you can switch to any existing workspace by using |
Thanks for the post, this doesn't work, but it does do something slight different than
|
I'm not sure how I would be able to execute javascript in this manner. Maybe I could setup a node.js program and reference something? I'd be willing to write a program to make DesktopCube work |
You should've provided all necessary details from the first time. In that case, first of all you have to install and enable the Desktop Cube extension and make sure it works by the standard means - that is the hotkeys/shortcuts assigned to it: Once you have that working correctly you need to map the joystick - or whatever other device you want - actions to those respective hotkeys/shortcuts. That is, when you tilt joytick left it would send the Ctrl+Alt+Left key combo, and similar for right. Or whatever other assignment you want. Unfortunately I have neither a joystick to test nor experience with such devices or related software so you'd have to do some research yourself. Many years ago there was QJoyPad, a software that could map gaming devices to keyboard but it's not being actively developed. Also no idea how the current Linux kernel deals with such devices. |
I can change the desktop or "workspace" programmatically with
wmctrl -s 1
but it doesn't play the animation. I want to change desktops and play the animation connecting this feature so some other joystick thing I have. Possible?The text was updated successfully, but these errors were encountered: