2

In Sublime Text 3 column selection shortcuts are Ctrl+ALT+Up and Ctrl+ALT+Down. Same shortcuts are defined In Lubuntu (/Openbox) as GoToDesktop Up or Down, respectively. I commented those shortcuts out in ~/.config/openbox/lubuntu-rc.xml and now they don't work anymore (they don't switch to related Desktop), but they still don't work in Sublime Text 3 too.

How could I determine, what is eating those shortcuts away, so they don't reach to Sublime?

  • You logged out and then back in? – vanadium Jul 15 at 12:34
  • @vanadium actually, it is old story, I disabled those shortcuts already some Lubuntu versions ago, but reached out for help just now – wk. Jul 15 at 12:41
  • @DKBose i have offcial repo in /etc/apt/sources.list.d/ – wk. Jul 15 at 12:43
  • @DKBose No, it goes silently – wk. Jul 15 at 13:25
  • 1
    @DKBose I use mouse as few as possible and this situation is one of those so far. With mouse it is not so big trouble, but using laptop's touchpad or nipple are so clumsy for such kind of operation, it gives me a lot of stress always ;) – wk. Jul 15 at 14:45
2

Although the use of Ctrl+Alt+ and Ctrl+Alt+ are currently suggested for column selection in Sublime Text 3 for Linux,

Suggested keys

they don't work. Instead, one has to use alt+shift and the appropriate arrow key according to this technical support response.

To get these keybindings to work in Lubuntu 18.04, I commented out the following lines in ~/.config/openbox/lubuntu-rc.xml:

<keybind key="S-A-Left">
  <action name="SendToDesktop">
    <to>left</to>
    <wrap>no</wrap>
  </action>
</keybind>
<keybind key="S-A-Right">
  <action name="SendToDesktop">
    <to>right</to>
    <wrap>no</wrap>
  </action>
</keybind>
<keybind key="S-A-Up">
  <action name="SendToDesktop">
    <to>up</to>
    <wrap>no</wrap>
  </action>
</keybind>
<keybind key="S-A-Down">
  <action name="SendToDesktop">
    <to>down</to>
    <wrap>no</wrap>
  </action>
</keybind>

saved the file, ran openbox --reconfigure and now I can use Shift+Alt together with the appropriate arrow keys to select a column of text in Sublime Text v 3.2.1.


Note: openbox --reconfigure does two things:

  • It parses your rc.xml or menu.xml files for errors and
  • it "reloads" the edited (and saved) file so you don't have to log out and log back in for the changes to take effect.
  • And it works! You just happen to try Shift+Alt? Thank you, very much! – wk. Jul 16 at 9:41
  • And special thanks for openbox --reconfigure too, i was not aware of this! – wk. Jul 16 at 9:45
  • You're welcome! openbox --reconfigure does two things. It parses your rc.xml or menu.xml files for errors and it "reloads" the edited (and saved) file so you don't have to log out and log back in for the changes to take effect. BTW, I will edit my answer to only comment out the lines with Shift+Alt because those are the keybindings that conflict. That way, you can still use Ctrl+Alt to change desktops. – DK Bose Jul 16 at 10:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.