disable right-click menu


Forum: Other Help Topics
Topic: disable right-click menu
started by: innovative22

Posted by innovative22 on Oct. 17 2007,02:01
Does anyone know how to disable the right-menu without deleting the menu file from the .fluxbox dirctory?  If possible I'd like to keep it available via a hotkey.

At the end of the day I am looking to leave one or two icons on the desktop for workstation users but do not want to give them too many options or access to the system ;-)

Regards,
Stewart

Posted by mikshaw on Oct. 17 2007,02:51
I don't think this is possible without rebuilding fluxbox, and possibly modifying the source code. I might be wrong, but I don't recall ever seeing anything about this.
Posted by jpeters on Oct. 17 2007,04:08
Opps, I think I misunderstood your question....  Anyway, I was suggesting commenting out the [exec] lines in the menu ( with a '#')
wherever you don't want access.

Posted by mikshaw on Oct. 17 2007,15:05
Quote
At the end of the day I am looking to leave one or two icons on the desktop for workstation users but do not want to give them too many options or access to the system ;-)
Removing the menu is only a cosmetic fix. The user can still easily kick the desktop out of the way and access the system through the terminal. Unless you do something similar to what /.bash_profile does to keep user dsl logged in (the "while" loop), there is no forcing the user to stay in the desktop. Personally I dislike loops like this, paticularly when you start nesting them, but there's not much else that can be easily done if your plan is to limit the users' freedoms.

You might consider a search (both here and at goggle.com/linux) for "kiosk" desktop systems. That sounds like it more closely resembles what you want.

Posted by innovative22 on Oct. 17 2007,15:20
Hi guys,

It's funny how just talking about an issue gets ideas working in the subconscious ;-)  I like the idea of commenting out the exec components a lot, but I'm also leaning towards backing up the menu file and putting a blank in it's place.  A simple hotkey to recopy the original back in place would make it available if needed (although I suspect it would mean restarting the window manager).

Since this is going to be on a livecd a simple reboot would revert the machine to limited access for users...

Thanks for the help!
Stu

Posted by jpeters on Oct. 17 2007,15:42
Quote (innovative22 @ Oct. 17 2007,11:20)
Hi guys,
A simple hotkey to recopy the original back in place would make it available if needed (although I suspect it would mean restarting the window manager).

Since this is going to be on a livecd a simple reboot would revert the machine to limited access for users...

Surprisingly, it works without restarting the window manager.
Posted by mikshaw on Oct. 17 2007,16:04
I don't think Fluxbox keeps the menu cached, so that's not really surprising.
Posted by jpeters on Oct. 17 2007,17:59
Quote (mikshaw @ Oct. 17 2007,12:04)
I don't think Fluxbox keeps the menu cached, so that's not really surprising.

The ease of adapting DSL to individual needs is always surprising to me.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.