Tiny Core Base > TCB Q&A Forum
Few questions for pseudo Kiosk mode.
binarydemon:
Tinycore 9.0
1) Is there any reason why -nozap would be ignored on the Xvesa line? I've added it to the .xsession and it doesn't seem to be preventing Control-Alt-Delete.
Xvesa -br -screen 1024x768x32 -shadow -2button -mouse /dev/input/mice,5 -nolisten tcp -I -nozap >/dev/null 2>&1 &
My other questions are about disabling VLC right click menu and the tactics I've tried and what you would recommend.
1) VLC --no-mouse-events seems to be ignored. My other command line settings like --fullscreen are working. Anyone else have this experience?
2) I'm willing to take this as far as temporarily stopping mouse input but I've failed at that too. Googling seems to recommend using xinput for disabling mouse, but Tinycore reports: X Input extension is not available. What tcz would this be part of?
3) Attempts to remap mouse keys with xmodmap are also failing. I've tried xmodmap -e 'pointer = 0 0 0 0 0' and xmodmap -pp confirms that all the mouse buttons are mapped to 0. but the mouse continues to operate normally. Does Xvesa need to be restarted for this to work?
Any other suggestions for temporarily disabling mouse? I dont think I'm willing to use rmmod. Any tcz's that might add this functionality?
Rich:
Hi binarydemon
--- Quote ---I've added it to the .xsession and it doesn't seem to be preventing Control-Alt-Delete.
--- End quote ---
We recently had another forum member who wanted to prevent virtual console switching under Xvesa, see here:
http://forum.tinycorelinux.net/index.php/topic,18785.msg136726.html#msg136726
You could try remapping Ctrl-Alt-Del so it outputs Ctrl-Alt-F2 instead like this:
--- Code: ---xmodmap -e "keycode 107 = F2 F12"
--- End code ---
--- Quote ---Googling seems to recommend using xinput for disabling mouse, but Tinycore reports: X Input extension is not available. What tcz would this be part of?
--- End quote ---
Xorg-7.7-bin.tcz
curaga:
Nozap is for preventing ctrl-alt-backspace. Ctrl-alt-del is a reboot combination, grabbed by init; look into /etc/inittab for configuring that. Inittab changes require a remaster.
binarydemon:
--- Quote from: Rich on April 21, 2018, 08:34:01 PM ---I've added it to the .xsession and it doesn't seem to be preventing Control-Alt-Delete.
--- End quote ---
We recently had another forum member who wanted to prevent virtual console switching under Xvesa, see here:
http://forum.tinycorelinux.net/index.php/topic,18785.msg136726.html#msg136726
You could try remapping Ctrl-Alt-Del so it outputs Ctrl-Alt-F2 instead like this:
--- Code: ---xmodmap -e "keycode 107 = F2 F12"
--- End code ---
Not sure I can go with this solution... There is no keycode that represents CTRL-ALT-DEL right? I would have to lock out the individual keys separately (or at least one of them) and not sure that's feasible for my purposes since those keys are usually important for other programs.
If that's not an option, is there a way to have TinyCore shutdown completely when CTRL-ALT-DEL is pressed instead of closing Xvesa and dumping user to terminal. Any thoughts on if adding && sudo poweroff to the XVesa line would work? (I will test, I just need to backup first since I have a feeling that might create a startup/shutdown loop) It appears that my other scripts launched by .x.d. are terminated when CTRL-ALT-DEL is pressed.
binarydemon:
No luck with adding a && sudo reboot into .xsession - it almost worked when I put it at the end of the 1st line, but then it also didnt complete loading the desktop. (X cursor, no menu, ect)
My attempts to add it anywhere else in .xsession results in the startup - reboot loop.
Navigation
[0] Message Index
[#] Next page
Go to full version