Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: disable right click, can it be done?< Next Oldest | Next Newest >
dimos55 Offline





Group: Members
Posts: 6
Joined: April 2004
Posted: April 07 2004,23:22 QUOTE

I am configuring a kiosk and so far DSL has proven to be a perfect choice for this.  Firefox is completely customizable, and fluxbox is light stable and customizable.

Something I do need to do is prevent people from right clicking (in X).  I could lock this off in just firefox, but I also want to disable right clicking on titlebars or to get the fluxbox menu.  Does anyone have any suggestions?  I have already tried xmodmap to only recognize the first button; but that doesn't work.
Back to top
Profile PM 
dario Offline





Group: Members
Posts: 3
Joined: Jan. 2004
Posted: April 08 2004,03:46 QUOTE

I wonder if it could be as easy as having an empty menu file, perhaps you could try it and tell us.

--------------
*[ dario ]*
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: April 08 2004,05:46 QUOTE

Instead of disabling right-clicking, why don't you just start XWindows up with out using a Window manager, like Fluxbox.  You can still launch a web browser and specify the window location and size, and people will have a more difficult time messing with your system.
Back to top
Profile PM 
dimos55 Offline





Group: Members
Posts: 6
Joined: April 2004
Posted: April 08 2004,18:04 QUOTE

For the empty menu file, that would work (i assume) for the main menu (right-clicking on the desktop).... But I was unable to find the menu file for applications (titlebar specifically).  By right-clicking the titlebar you get a menu that includes iconify,close,kill,etc...; is this menu application specific or general for the window manager?

I did try a setup where I launched mozilla from .xinitrc.  Worked well for the most part; disable the menus the titlebar, etc.  But it had some limitations and problems: I need to allow for a select few popups, ifI dont have a menu (since I'm customizing mozilla to not) and no titlebar... the popups couldn't be closed.  I have no control over the actual code on these pages, otherwise I'd just have a "close" button on the popup.  Another issue is that if mozilla dies; I'd like the system to either restart x and thus mozilla; or currently allow the user to click on a sole desktop icon that launches mozilla.

I would go the route of no wm; if I could handle those 2 problems.  Any suggestions?
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: April 08 2004,23:52 QUOTE

The Desktop icon to restart Mozilla should work correctly if you launch xtdesktop along with Mozilla. Just make sure that there are no other icons besides Mozilla in your xtdesktop user folder.

As for the lack of a Window Manager problems, I don't know the answer but I am sure that you are not the first person who needed a similar embedded/kiosk secure Window Manager.

Try searching google for Linux Window Manager kiosk or similar keywords. I bet  that there is an answer out there somewhere.

Another option would be to use a broswer mode where popups are displayed as "tabbed" windows within the same Browser window instead of havingt them launch as new windows. Opera supports this mode and my guess is that other web browsers (maybe even Mozilla) support it as well.

Good Luck.
Back to top
Profile PM 
13 replies since April 07 2004,23:22 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: disable right click

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code