Tiny Core Extensions > TCE News
AutoCursor extension submitted
jazzbiker:
Events are named - that's great for nomadic TinyCore install! Thanks again!
Rich:
Hi jazzbiker
Those event names come from peripherals, so they will differ from machine to machine.
jazzbiker:
--- Quote from: Rich link=http://tinycorelinux.net/10.x/x86/tcz/AutoCursor.tcz.info --- If a mouse was included in your saved settings and is not present
when you boot, we just move on to the next setting in the file.
--- End quote ---
On the new machine:
--- Code: ---AutoCursor -hX -sY -S AutoCursor.conf.new; cat AutoCursor.conf.new >> ~/.config/AutoCursor.conf
--- End code ---
Voila! all birds are trapped in our cages.
Rich:
Hi jazzbiker
The -s and -h can be used multiple times. So you can us multiple events to hide (keyboard, touchscreen) and multiple
events to show (mouse, touchpad).
If you just want to hide the cursor:
--- Code: ---sudo AutoCursor -i
--- End code ---
I don't know why someone would want to do this, but I figured eventually someone will try to use -S and -L in the
same command. So rather than testing for it and throwing an error, it was easier to just make it so it works:
--- Code: ---sudo AutoCursor -hX -sY -sZ -hW -S AutoCursor.conf.new -L ~/.config/AutoCursor.conf
--- End code ---
This says hide the cursor for events X and W , show the cursor for events Y and Z , save the settings in
AutoCursor.conf.new , but run using the settings from ~/.config/AutoCursor.conf.
jazzbiker:
Hi, Rich!
I meant that if AutoCursor.conf includes descriptions of all the devices on all possible host machines, on one particular machine only devices actually present will be enqued. Is this wrong statement?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version