Open as Root – menu w LXDE

Brakującą pozycję w menu kontekstowym w LXDE można dodać:

Create ~/.local/share/file-manager/actions.
In that folder, create root.desktop (not pcman_root.desktop or anything else).
Add this content:
[Desktop Entry]
Type=Action
Tooltip=Open Folder As Root
Name=Open Folder As Root
Profiles=profile-zero;
Icon=gtk-dialog-authentication

[X-Action-Profile profile-zero]
MimeTypes=inode/directory;
Exec=/usr/bin/gksu /usr/bin/pcmanfm %u
Name=Default profile
Save the file.
(Or download the script from here.)
Restart PCManFM (System Tools, Task Manager, terminate or kill pcmanfm, then start it again). Now, when you right-click on a folder, you should see the „Open as root” option in the context menu.
Źródło: http://askubuntu.com/questions/444305/add-open-folder-as-root-to-pcman-file-managers-context-menu

Czytaj całość: Open as Root – menu w LXDE
Źródło: Mam linuxa

Tags: