Tiny Core Extensions > TCE Bugs

TCL 11 "windowmaker" not working !!! :(

<< < (6/7) > >>

Rich:
Hi xor
See if this helps.

Change your  .xsession  file

From this:

--- Code: ---/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 code ---

To this:

--- Code: ---/usr/local/bin/Xorg -nolisten tcp &
export XPID=$!
waitforX || ! echo failed in waitforX || exit
"$DESKTOP" 2>/tmp/wm_errors &

while true
do
sleep 1
busybox ps | grep -q "wmaker \--for-real" || continue
sleep 1
break
done

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 code ---

xor:
 :)

1. as;

First of all, I am trying to configure TCL on usb as a linux distribution running on iso.

I use ezremaster.

.xsession file
ezremaster.iso> boot> core.gz> core> home> tc> .xsession

I placed it!

wbar now works seamlessly with wmaker :)

If you add the patch you recommend to wbar.tcz, you will ensure that wmaker users do not have any problems while using wbar.

Thank you for your help


--- Quote from: Rich on April 05, 2020, 09:22:39 AM ---Hi xor
See if this helps.

Change your  .xsession  file

From this:

--- Code: ---/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 code ---

To this:

--- Code: ---/usr/local/bin/Xorg -nolisten tcp &
export XPID=$!
waitforX || ! echo failed in waitforX || exit
"$DESKTOP" 2>/tmp/wm_errors &

while true
do
sleep 1
busybox ps | grep -q "wmaker \--for-real" || continue
sleep 1
break
done

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 code ---

--- End quote ---

Rich:
Hi xor

--- Quote from: xor on April 06, 2020, 03:06:58 AM --- ... If you add the patch you recommend to wbar.tcz, you will ensure that wmaker users do not have any problems while using wbar. ...
--- End quote ---
The purpose of this change was to delay running  .setbackground  and  ${ICONS}.sh (Wbar)  until after  wmaker  has started running.
The background of the screen was not getting painted blue which suggests  .setbackground  was also being affected.
If this patch gets placed in  wbar.tcz , you would probably still have a problem with  .setbackground.
If this patch gets placed in  wbar.tcz , it will break  wbar.tcz  for all the other window managers.

xor:

--- Quote from: Rich on April 06, 2020, 08:58:26 AM ---Hi xor

--- Quote from: xor on April 06, 2020, 03:06:58 AM --- ... If you add the patch you recommend to wbar.tcz, you will ensure that wmaker users do not have any problems while using wbar. ...
--- End quote ---
The purpose of this change was to delay running  .setbackground  and  ${ICONS}.sh (Wbar)  until after  wmaker  has started running.
The background of the screen was not getting painted blue which suggests  .setbackground  was also being affected.
If this patch gets placed in  wbar.tcz , you would probably still have a problem with  .setbackground.
If this patch gets placed in  wbar.tcz , it will break  wbar.tcz  for all the other window managers.

--- End quote ---

As the 2nd option; Would it be if the patch file was added in "windowmaker.tcz"?
Or does it make sense to create my 3rd option "yama_wbar_for_wmaker.tcz" file?

Rich:
Hi xor
It belongs right where it is to  pause  the  .xsessions  file execution until after  wmaker  has started running.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version