How to not open a Removable device in seperate Browser tab
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
-
- White ninja
- Posts: 7
- Joined: 03 Mar 2023, 10:42
- Distribution: Porteus Kiosk
How to not open a Removable device in seperate Browser tab
Hello,
I was wondering if I can disable the feature that a new browser tab opens when I plug in a USB-stick into the PC. The browser tab whitch is opening is an index of the usb stick. But it is not nessasary because I use the Porteus Kiosk to connect to Nextcloud. I can upload my files from the USB stick via that. It is way easier for my usecase.
Thank you!
I was wondering if I can disable the feature that a new browser tab opens when I plug in a USB-stick into the PC. The browser tab whitch is opening is an index of the usb stick. But it is not nessasary because I use the Porteus Kiosk to connect to Nextcloud. I can upload my files from the USB stick via that. It is way easier for my usecase.
Thank you!
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
How to not open a Removable device in seperate Browser tab
Tim,
Please add this parameter to your kiosk config:
Thanks
Please add this parameter to your kiosk config:
Code: Select all
run_command=sed -i 's|$browser|$browser-disabled|' /sbin/udev-automount
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 7
- Joined: 03 Mar 2023, 10:42
- Distribution: Porteus Kiosk
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
How to not open a Removable device in seperate Browser tab
You need to enable 'run command' function in the installation wizard or use remote management and add this parameter to your remote kiosk config.
Thanks
Thanks
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 7
- Joined: 03 Mar 2023, 10:42
- Distribution: Porteus Kiosk
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
How to not open a Removable device in seperate Browser tab
You need to have the parameter listed here:
https://porteus-kiosk.org/screens/wizard/config.png
Thanks
https://porteus-kiosk.org/screens/wizard/config.png
Thanks
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 7
- Joined: 03 Mar 2023, 10:42
- Distribution: Porteus Kiosk
How to not open a Removable device in seperate Browser tab
I deleded the code "browser=firefox" and insertet the "run_command=[...]" code.
If I plug in a USB device now, a new tab still opens with the Index of the USB.
If I plug in a USB device now, a new tab still opens with the Index of the USB.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
How to not open a Removable device in seperate Browser tab
This one will work (I forgot that this script is renamed later in the boot process):
Do not delete the browser parameter, just add 'run_command=' there.
Thanks
Code: Select all
run_command=sed -i 's|$browser|$browser-disabled|' /sbin/udev-automount-disabled
Thanks
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 7
- Joined: 03 Mar 2023, 10:42
- Distribution: Porteus Kiosk
How to not open a Removable device in seperate Browser tab
Thank you a lot!
Now it works but I just discovered, that the USB device doesn't show up on the "upload" screen in the Nextcloud.
To put together what I wanted from the beginning was, to plug in a USB-stick and upload its files to the nextcloud. The problem was the new browser tab (with the Index of the USB stick) which opens every time i plug the stick into the pc. I have the fear, that it will annoy the users, so I don't want this "Index Tab" to show up.
Now it works but I just discovered, that the USB device doesn't show up on the "upload" screen in the Nextcloud.
To put together what I wanted from the beginning was, to plug in a USB-stick and upload its files to the nextcloud. The problem was the new browser tab (with the Index of the USB stick) which opens every time i plug the stick into the pc. I have the fear, that it will annoy the users, so I don't want this "Index Tab" to show up.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
How to not open a Removable device in seperate Browser tab
"Now it works but I just discovered, that the USB device doesn't show up on the "upload" screen in the Nextcloud."
Run command only disabled opening the tab in the browser, nothing else.
Please connect to the kiosk over SSH, run 'mount' command and check if your USB is mounted under the /media folder.
Thanks
Run command only disabled opening the tab in the browser, nothing else.
Please connect to the kiosk over SSH, run 'mount' command and check if your USB is mounted under the /media folder.
Thanks
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 7
- Joined: 03 Mar 2023, 10:42
- Distribution: Porteus Kiosk
How to not open a Removable device in seperate Browser tab
The SSH command works, but this does not lead to the goal I meant. It is still this:
Tim steute wrote: ↑07 Mar 2023, 14:41to plug in a USB-stick and upload its files to the nextcloud. The problem was the new browser tab (with the Index of the USB stick) which opens every time i plug the stick into the pc. I have the fear, that it will annoy the users, so I don't want this "Index Tab" to show up.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
How to not open a Removable device in seperate Browser tab
Tim,
I'm out of ideas.
Maybe customized build could help:
https://porteus-kiosk.org/builds.html
Thanks
I'm out of ideas.
Maybe customized build could help:
https://porteus-kiosk.org/builds.html
Thanks
Please add [Solved] to your thread title if the solution was found.