sudo cp /usr/share/caja/ui/caja-navigation-window-ui.xml /usr/share/caja/ui/caja-navigation-window-ui.xml-backup
Modyfikacja:
sudo pluma /usr/share/caja/ui/caja-navigation-window-ui.xml
Lub dla gnome editora (o ile był doinstalowany):
sudo gedit /usr/share/caja/ui/caja-navigation-window-ui.xml
Zmiana polega na dodaniu wpisu pod wierszem 66:
<toolitem name="Computer" action="Go to Computer"/>
<separator/>
Następujących wpisów:
<toolitem name="Cut" action="Cut"/>
<toolitem name="Copy" action="Copy"/>
<toolitem name="Paste" action="Paste"/>
<toolitem name="Delete" action="Delete" />
<separator/>
__________________________________________________________________
Całość wygląda tak:
<ui>
<accelerator action="ShowSearch"/>
<accelerator action="SplitViewNextPane"/>
<accelerator action="TabsPrevious"/>
<accelerator action="TabsNext"/>
<accelerator action="TabsMoveLeft"/>
<accelerator action="TabsMoveRight"/>
<menubar name="MenuBar">
<menu action="File">
<placeholder name="New Items Placeholder">
<menuitem name="New Tab" action="New Tab"/>
<menuitem name="New Window" action="New Window"/>
<menuitem name="Folder Window" action="Folder Window"/>
<separator/>
</placeholder>
<placeholder name="Close Items Placeholder">
<menuitem name="Close All Windows" action="Close All Windows"/>
</placeholder>
</menu>
<menu action="View">
<placeholder name="Show Hide Placeholder">
<menuitem name="Show Hide Toolbar" action="Show Hide Toolbar"/>
<menuitem name="Show Hide Sidebar" action="Show Hide Sidebar"/>
<menuitem name="Show Hide Location Bar" action="Show Hide Location Bar"/>
<menuitem name="Show Hide Statusbar" action="Show Hide Statusbar"/>
<menuitem name="Show Hide Extra Pane" action="Show Hide Extra Pane"/>
</placeholder>
</menu>
<placeholder name="Other Menus">
<menu action="Go">
<placeholder name="Navigation Items">
<menuitem name="Up" action="Up"/>
<menuitem name="Back" action="Back"/>
<menuitem name="Forward" action="Forward"/>
<menuitem name="SplitViewSameLocationMenu" action="SplitViewSameLocation"/>
</placeholder>
<separator/>
<menuitem name="Home" action="Home"/>
<menuitem name="Computer" action="Go to Computer"/>
<menuitem name="Go to Templates" action="Go to Templates"/>
<menuitem name="Go to Trash" action="Go to Trash"/>
<menuitem name="Go to Network" action="Go to Network"/>
<menuitem name="Go to Location" action="Go to Location"/>
<menuitem name="Search" action="Search"/>
<separator/>
<menuitem name="Clear History" action="Clear History"/>
<separator/>
<placeholder name="History Placeholder"/>
</menu>
<menu action="Bookmarks">
<menuitem name="Add Bookmark" action="Add Bookmark"/>
<menuitem name="Edit Bookmark" action="Edit Bookmarks"/>
<separator/>
<placeholder name="Bookmarks Placeholder"/>
</menu>
</placeholder>
</menubar>
<toolbar name="Toolbar">
<toolitem name="Back" action="Back"/>
<toolitem name="Forward" action="Forward"/>
<toolitem name="Up" action="Up"/>
<toolitem name="Stop" action="Stop"/>
<toolitem name="Reload" action="Reload"/>
<separator/>
<toolitem name="Home" action="Home"/>
<toolitem name="Computer" action="Go to Computer"/>
<separator/>
<toolitem name="Cut" action="Cut"/>
<toolitem name="Copy" action="Copy"/>
<toolitem name="Paste" action="Paste"/>
<toolitem name="Delete" action="Delete" />
<separator/>
<toolitem name="Zoom" action="Zoom"/>
<toolitem name="ViewAs" action="ViewAs"/>
<toolitem name="Search" action="Search"/>
<placeholder name="Extra Buttons Placeholder">
<placeholder name="Extension Actions"/>
</placeholder>
</toolbar>
</ui>
_______________________________________________________________
Po zapisie można sprawdzić czy działa, czy poprawnie zostało dodane.
sudo caja(GTK coprawda buntuje się:
(caja:3134): Gtk-WARNING **: Cut: missing action Cut
(caja:3134): Gtk-WARNING **: Copy: missing action Copy
(caja:3134): Gtk-WARNING **: Paste: missing action Paste
(caja:3134): Gtk-WARNING **: Delete: missing action Delete
Ale działa :)
Brak komentarzy:
Prześlij komentarz