Hi,
I need to disable right click menu when I click icons from desktop provided by PCManFM.
My current version of openbox, libfm and pcmanfm are:
openbox-libs-3.5.0-4.el6.x86_64
libfm-0.1.12-4.el6.nux.x86_64
pcmanfm-0.9.7-1.el6.nux.x86_64
libfm-gtk-0.1.12-4.el6.nux.x86_64
openbox-3.5.0-4.el6.x86_64
Any help aprecciated
Manage icon right click menu in PCManFM
-
- Posts: 1093
- Joined: Sat Aug 27, 2011 5:44 pm
- Location: Sierra Vista, Arizona USA
- Contact:
Re: Manage icon right click menu in PCManFM
Have you created desktop files? See
http://wiki.lxde.org/en/PCManFM
Information found there will create desktop files. I cannot imagine why you would want to disable that feature but to each his own.
http://wiki.lxde.org/en/PCManFM
Information found there will create desktop files. I cannot imagine why you would want to disable that feature but to each his own.
Rex
Re: Manage icon right click menu in PCManFM
I need it because I am setting up environment for our terminals and I can't let them edit them, delete them. For some reason even if user had read only privileges on links I've created on desktop, they are capable of deleting files via context menu option delete...
My example file for desktop icon is:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=iFORTUNA
GenericName=Web Browser
Comment=Browse the Web
Exec=firefox http://www.google.com
Icon=/usr/share/icons/hicolor/48x48/apps/firefox.png
Terminal=false
Type=Application
StartupWMClass=Firefox-bin
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
StartupNotify=true
X-Desktop-File-Install-Version=0.15
Categories=Network;WebBrowser;
Do you want to say, that I can change this menu based on settings in .desktop files?
My example file for desktop icon is:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=iFORTUNA
GenericName=Web Browser
Comment=Browse the Web
Exec=firefox http://www.google.com
Icon=/usr/share/icons/hicolor/48x48/apps/firefox.png
Terminal=false
Type=Application
StartupWMClass=Firefox-bin
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
StartupNotify=true
X-Desktop-File-Install-Version=0.15
Categories=Network;WebBrowser;
Do you want to say, that I can change this menu based on settings in .desktop files?
-
- Posts: 1093
- Joined: Sat Aug 27, 2011 5:44 pm
- Location: Sierra Vista, Arizona USA
- Contact:
Re: Manage icon right click menu in PCManFM
Ops. I misunderstood. Let me do some more research. It would seem that it should be possible but since pcmanfm is so light that may not be the case.
Rex
Re: Manage icon right click menu in PCManFM
Great, I hope you will find something, though I haven't find anything and ended up on browsing the source code, but I am not very good at C, so...
Re: Manage icon right click menu in PCManFM
Feel free to write feature request into pcmanfm tracker. Thank you.
Re: Manage icon right click menu in PCManFM
so the problem is that users could delete files on the desktop by right-clicking and choosing delete or move to trash?velkyk wrote:I need it because I am setting up environment for our terminals and I can't let them edit them, delete them. For some reason even if user had read only privileges on links I've created on desktop, they are capable of deleting files via context menu option delete...
i just tried to create a file on my user desktop, but with root privileges, so it would be read-only for the user. i could still delete it.
i'm not using pcmanfm but thunar.
i tried to recreate the whole process in the terminal - it's the same.
Code: Select all
rm test
rm: remove write-protected regular empty file ‘test’? y
iirc it's possible to fine-tune a files permissions with the command line - if i were you, that's what i'd try next.