In windows, you could navigate tree menus with left/right keys, now in ubuntu 11.04 (and perhaps previous versions?) i have to hold the shift key while i do that, its quite annoying, any way to configure this?

Edit:I've attached a picture indicating the problem:

enter image description here

So in windows, with the focus on the circled element, I could tap the "right key" and it would open up this folder. In ubuntu, in eclipse, nautilus, etc, i have to hold down shift and the right key to get the same behaviour.

  • I don't understand that question. Please edit your question to describe it more detailed. – Jo-Erlend Schinstad Jul 29 '11 at 22:03
  • 1
    @jo-erlend he's asking if the windows folder tree navigation thing can be done here - in Tree View, you can expand/collapse the tree by using the right or left keys respectively. He wants that functionality in Ubuntu... but i dont think you can :P – Thomas Ward Aug 1 '11 at 14:13
  • chrismarx, what version of Ubuntu? – Thomas Ward Aug 1 '11 at 14:13
  • 11.04 (natty) ---- – chrismarx Aug 1 '11 at 16:32
  • See stackoverflow.com/q/4747264/82216 for some workarounds. – user13975 Jul 28 '16 at 3:58

I think it boils down to this root issue in GTK: "Please add common keybindings for the TreeView". The reply from a developer:

The arrow keys are already being used in GtkTreeView to move the focus rectangle over the horizontal axis.

This issue was opened in 2003, the last substantial comments are also some years old, so I doubt it will be fixed soon...

Currently you can expand a folder using Shift+Left, Space and +.


You can press Space that the folder will open.

  • yes, "enter" works too, but why not right/left keys? in other applications this still works on ubuntu (sqldeveloper), oh well- – chrismarx Aug 16 '11 at 20:00

I can set it on Ubuntu 14. not trying other versions.

Edit -> Preferences -> File Preferences -> Display.

Check "Navigate folders in a tree" in "List View". Now you can use left, right arrow key to open and close folders. enter image description here

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.