Nongolin "Open Folder As Root" di PCMANFM :
1. bikin ~/.local/share/file-manager/actions
cara manja ala gw mah buka terminal dan sudo pcmanfm aja
2. bikin file root.desktop
cara manja ala gw mah klik-kanan | Create New > Empty File | namain root.desktop
3. isi dengan :
[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
4. jangan lupa permission atur owner ke root.
cara manja ala gw mah tinggal save aja dr langkah diatas file root.desktop
5. matiin semua PCMANFM, trus buka lagi dan tes klik-kanan di folder manapun, ntar kelihatan "Open Folder As Root"
Tidak ada komentar:
Posting Komentar