Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 1796  / 3 Years ago, sun, may 9, 2021, 1:51:33

I find both the Tree view and the Places view useful. Changing from one view to the other is not fast because one have to go into the appearance menu. It's even slower with Oneiric because this menu can now be far away.
(Before Unity, I always had the tree view on and I used my bookmarks directly from the Places menu. That was fine)



Is there a keyboard shortcut to toggle from one view to the other? Or is it possible to create one oneself?



Thanks a lot the help !


More From » nautilus

 Answers
3

Method specific to Compiz / Ubuntu-3D:



If you are using Ubuntu-3D, then you can use bind keyboard keys to terminal commands using CompizConfig Settings Manager.




  1. Warning: CCSM is in universe and not shipped by default for a reason, it can be flaky, so be careful in there, it can break things, if you find yourself with a broken window manager, see this question to reset your configuration.

  2. Install the CompizConfig Settings Manager
    (CCSM) by clicking on the link.



Click on "Commands".



enter image description here



The terminal commands to switch between "tree" and "places" are as follows:



gsettings set org.gnome.nautilus.window-state side-pane-view "tree"
gsettings set org.gnome.nautilus.window-state side-pane-view "places"


Copy them to appropriate columns and assign keys to these commands to your wish. Here, I have chosen Ctrl + 5 and Ctrl + 6. Once you have done it properly, you can input your chosen keyboard shortcuts and see Nautilus change its view at your fingertips.



Commands



Keybindings



Alternate method (Not limiting to Compiz / Unity - 3D):



Search for "Keyboard" settings. Open "Shortcuts" tab. Move to "Custom Shortcuts" and click the + button. Give the shortcut appropriate name and assign keyboard shortcuts as you wish.



You should use the following commands for switching between "tree" and "places":



gsettings set org.gnome.nautilus.window-state side-pane-view "tree"
gsettings set org.gnome.nautilus.window-state side-pane-view "places"


enter image description here


[#42309] Monday, May 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tatoethin

Total Points: 377
Total Questions: 110
Total Answers: 98

Location: Saudi Arabia
Member since Sat, Aug 20, 2022
2 Years ago
;