Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] lxqt shortcut for next and previous desktops
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7692
Location: Pelotas, BR

PostPosted: Mon May 23, 2016 1:31 pm    Post subject: [SOLVED] lxqt shortcut for next and previous desktops Reply with quote

Howdy,

I am trying to configure lxqt to have shortcuts for previous and next desktops. Right now I have the default ctrl+f<> to change to a given desktop, but I want ctrl+arrows to work for my desired behavior. Any hints?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7692
Location: Pelotas, BR

PostPosted: Tue May 24, 2016 4:33 pm    Post subject: Reply with quote

Solved it and I think it may be applied in other cases.

I emerged xdotool and edited the shortcuts using lxqt-config-globalkeyshortcuts adding the following commands (respectively to cycle left and right):

Code:

xdotool set_desktop --relative -- -1

xdotool set_desktop --relative 1


The " --" in the first line is required in order that " -1" is interpreted as a negative number and not another parameter.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum