Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: aus9 on June 19, 2020, 02:50:50 AM
-
Hi
looking at contents of ~/.xsession for an (2d) Xorg setup I see
/usr/local/bin/Xorg -nolisten tcp &
export XPID=$!
waitforX || ! echo failed in waitforX || exit
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x $HOME/.setbackground ] && $HOME/.setbackground
[ -x $HOME/.mouse_config ] && $HOME/.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d "/usr/local/etc/X.d" ] && find "/usr/local/etc/X.d" -type f -o -type l | while read F; do . "$F"; done
[ -d "$HOME/.X.d" ] && find "$HOME/.X.d" -type f | while read F; do . "$F"; done
questions.
Am I supposed to have /usr/local/etc/X.d or ICONS.sh?
I know I have $HOME/.X.d but do not have $HOME/.mouse_config.
Running mousetool does not appear to create it.
any clues?
-
Hi aus9
... questions.
Am I supposed to have /usr/local/etc/X.d ...
See this:
http://forum.tinycorelinux.net/index.php/topic,22312.0.html
... or ICONS.sh? ...
ICONS is an environmental variable:
tc@box:~$ env | grep ICONS
ICONS=wbar
tc@box:~$
So in this case, "$ICONS".sh becomes wbar.sh.
... but do not have $HOME/.mouse_config. ...
MouseTool should create it if you click the Apply button. If you click the Exit button, it will exit without creating anything.
-
@Rich
ahh well I don't have wbar loaded as I run openbox with an uncluttered pane with maxed apps like firefox.
I forgot to mention I have a working mouse but mousetool hangs for me. So I lied in early comments.
It never gets back to prompt as per image
https://imgur.com/KzhMBbn
-
Hi aus9
... MouseTool should create it if you click the Apply button. If you click the Exit button, it will exit without creating anything.
If you click Apply and then Exit it should create .mouse_config and then return to the prompt.
-
well blow me down me a feather....my only excuse I just woke up
file exists
Please mark as solved
cat .mouse_config
xset m 3/1 0
xmodmap -e 'pointer = 1 2 3 4 5'
Its possible....but I do not remember....my past effort I may have searched for file
and killed the terminal without going thru exit?
-
Hi aus9
As long as you clicked Apply first, it should have been created.
-
@Rich
all good please mark as solved
-
Hi aus9
Done.