Tiny Core Base > TCB Q&A Forum

[Solved] xsession xorg file queries

(1/2) > >>

aus9:
Hi

looking at contents of ~/.xsession for an (2d) Xorg setup I see

--- Quote ---/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
--- End quote ---


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?

Rich:
Hi aus9

--- Quote from: aus9 on June 19, 2020, 05:50:50 AM --- ... questions.
Am I supposed to have /usr/local/etc/X.d ...
--- End quote ---
See this:
http://forum.tinycorelinux.net/index.php/topic,22312.0.html


--- Quote --- ... or ICONS.sh? ...
--- End quote ---
ICONS is an environmental variable:

--- Code: ---tc@box:~$ env | grep ICONS
ICONS=wbar
tc@box:~$
--- End code ---
So in this case,  "$ICONS".sh  becomes  wbar.sh.


--- Quote --- ... but do not have $HOME/.mouse_config. ...
--- End quote ---
MouseTool  should create it if you click the  Apply  button. If you click the  Exit  button, it will exit without creating anything.

aus9:
@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

Rich:
Hi aus9

--- Quote from: Rich on June 19, 2020, 08:31:01 AM --- ... MouseTool  should create it if you click the  Apply  button. If you click the  Exit  button, it will exit without creating anything.
--- End quote ---
If you click  Apply  and then  Exit  it should create  .mouse_config  and then return to the prompt.

aus9:
well blow me down me a feather....my only excuse I just woke up

file exists

Please mark as solved


--- Code: ---cat .mouse_config
xset m 3/1 0
xmodmap -e 'pointer = 1 2 3 4 5'
--- End code ---

Its possible....but I do not remember....my past effort I may have searched for file
and killed the terminal without going thru exit?

Navigation

[0] Message Index

[#] Next page

Go to full version