Page 1 of 1

How do I enable right-click in KISOK edition ?

Posted: 11 Sep 2013, 21:32
by patx
Hi, I noticed the right-click does not work on KIOSK edition, how do I enable this feature ?

Thanks

Re: How do I enable right-click in KISOK edition ?

Posted: 12 Sep 2013, 15:42
by fanthom
right mouse click was disabled for security reason (so users can't see hidden files, upload firefox config, change firefox layout, etc..) and is not really needed in kiosk.

if you want to re-eanble it then please edit 003-settings.xzm/etc/xdg/openbox/autostart
and comment out following line:

Code: Select all

# Disable right mouse click:
xmodmap -e "pointer = 1 2 32 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3"
topic moved to 'User's modifications to the Kiosk ISO' as this feature will never be accepted in official kiosk (for reasons mentioned above).

Re: How do I enable right-click in KISOK edition ?

Posted: 29 Oct 2014, 10:38
by Fabiok
fanthom wrote:right mouse click was disabled for security reason (so users can't see hidden files, upload firefox config, change firefox layout, etc..) and is not really needed in kiosk.

if you want to re-eanble it then please edit 003-settings.xzm/etc/xdg/openbox/autostart
and comment out following line:

Code: Select all

# Disable right mouse click:
xmodmap -e "pointer = 1 2 32 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3"
topic moved to 'User's modifications to the Kiosk ISO' as this feature will never be accepted in official kiosk (for reasons mentioned above).

Hi fanthom!
I tried the codes below to enable click with the right button without success. What am I doing wrong? The Porteus Kiosk is perfect for what I need but it is essential to use the right button on firefox for my application.
Ps: Sry my english

Code: Select all

# Enable right mouse click:
xmodmap -e "pointer = 1 2 32 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3"

Code: Select all

 Disable right mouse click:
xmodmap -e "pointer = 1 2 32 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3"

Code: Select all

Enable right mouse click:
xmodmap -e "pointer = 1 2 32 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3"

Re: How do I enable right-click in KISOK edition ?

Posted: 29 Oct 2014, 11:12
by fanthom
hi Fabiok,

please add '#' at the beginning of this line so it will look like here:

Code: Select all

#xmodmap -e "pointer = 1 2 32 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3"
or delete it completely.

thanks

Re: How do I enable right-click in KISOK edition ?

Posted: 07 Sep 2015, 08:09
by Logware
Hi,

I tried this and it worked but only during wizard installation.
After the installation the right-click don't work.
I know it is normal because it is not supported for security reason.

But if i want to enable the right-click on the browser, what should i do ?

Below here is the explanation why i want to enable right-click :
I use my browser to connect a virtual machine (VMware Vsphere View), with the right-click disable i can't use the context menu on the desktop or on excel.

Re: How do I enable right-click in KISOK edition ?

Posted: 07 Sep 2015, 08:58
by fanthom
Hi Logware,

I tried this and it worked but only during wizard installation.
After the installation the right-click don't work.

Once right mouse click is enabled it supposed to work also after installation.

Next release will have this setting included in the wizard. If you are in rush then please try again and in case of troubles contact me through 'custom builds' service:
http://porteus-kiosk.org/builds.html

Thank you.

Re: How do I enable right-click in KISOK edition ?

Posted: 18 Dec 2015, 08:30
by lemon
Hi,

though I have enabled right mouse click during wizard installation it won't work. I use Firefox as browser, and configuration file contains "right_mouse_click=yes", but I can't use it anyway. Any hints?

Thank you very much

Lemon

Re: How do I enable right-click in KISOK edition ?

Posted: 18 Dec 2015, 10:08
by fanthom
Right mouse click is enabled - you can test it for example by right mouse clicking on the youtube video.

Firefox has context menus disabled by default, you may enable them by editing $profile/chrome/userChrome.css.
Please copy this file to your standard firefox profile (backup it first) then do as follows:
- delete one item from userChrome.css
- restart firefox
- check what has changed in the browser UI

This way you'll be able to find which code does what.