Tiny Core Base > Raspberry Pi
using GUI desktop without mouse
bonbonbaron:
I bought a Targus AKB122 keyboard, which has a micro-USB plug, to use with my Pi Zero W. (This Pi only has one micro USB slot available other than power. I'd like to avoid buying multi-USB peripherals if I can.)
Since I've always been able to jump around Windows 7 and 10 using just my keyboard, I figured I'd be able to do the same in TinyCore. This is not the case. When I run startx, an ugly mouse pointer sits in the middle of the screen, and none of my keyboard buttons do anything. Tried going back to command line with ctrl+alt+backspace, nothing. Ctrl+alt+T, nothing. I'm stuck until I unplug the Pi. I had to add bootcode "text" to rescue my future boots from this situation.
Searching for workarounds, I googled around and saw something about using numpad to simulate mouse movements, but my keyboard has no numpad. Is mouse usage absolutely necessary? If so, can I somehow map my arrow keys to mouse motions? If I can, then how?
Thanks for your time,
Michael
Rich:
Hi bonbonbaron
I sounds like maybe you want to get rid of the mouse cursor completely? If so, open your .xsession file and change:
--- Code: ---/user/local/bin/Xorg -nolisten tcp &
--- End code ---
to:
--- Code: ---/user/local/bin/Xorg -nolisten tcp -nocursor &
--- End code ---
bonbonbaron:
--- Quote from: Rich on January 18, 2020, 01:19:02 PM ---open your .xsession file and change:
--- Code: ---/user/local/bin/Xorg -nolisten tcp &
--- End code ---
to:
--- Code: ---/user/local/bin/Xorg -nolisten tcp -nocursor &
--- End code ---
--- End quote ---
.xsession doesn't have any lines with /usr/local/bin/Xorg.
However, I did figure out how to bring up the right-click menu with Alt+Tab. However, nothing in the SystemTools submenu does anything except for XKill (useless without mouse I think) and Top. My guess is, I'm missing some TCZ files.
bonbonbaron:
Ah... I tce-loaded gtktetris, which in turn grabbed from font configuration dependencies, and all the System Tools started working. Before that, when the SystemTools weren't working, I tried running them from command line and got a "libfontconfig.so.1 couldn't be found" error, which tipped me off. Seems "tceload -wi TC" missed this.
bonbonbaron:
Is there a way to configure which keyboard buttons simulate mouse movements after startx? I have a keyboard without a numpad and no mouse.
Navigation
[0] Message Index
[#] Next page
Go to full version