maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Window Maker N800 DUAL Window Manager Install/Hack available (https://talk.maemo.org/showthread.php?t=4569)

penguinbait 2007-02-07 20:56

Re: Window Maker N800 DUAL Window Manager Install/Hack available
 
Quote:

Originally Posted by midiwall (Post 33786)
okay, I have it installed, but...

Looking at /usr/bin/wm.sh, it looks like it's going to replace the default shell. Is there a way I can run "standalone" without messing with the config?


side note... instead of:
  • gunzip /home/user/MyDocs/.documents/WM6.tar.gz
  • tar xvf /home/user/MyDocs/.documents/WM6.tar
you can just:
  • tar zxvf /home/user/MyDocs/.documents/WM6.tar.gz

Did you have any problems, is it working for you?????

midiwall 2007-02-07 21:33

Re: Window Maker N800 DUAL Window Manager Install/Hack available
 
Quote:

Originally Posted by penguinbait (Post 33795)
Did you have any problems, is it working for you?????

Sorry... I actually wrote my previous message from the N800 while in a meeting :), I needed to wait until I got out to get some better hands-on time.


(from Hildon)
menu | extras | WindowMaker: gives me the white screen
menu | extras | Reboot to WM: gives me WM

(from WM)
- | Session | Hildon Desktop: gets me hildon

(_now_ from Hildon)
menu | extras | WindowMaker: gets me back to WM

Yeup, ran ldconfig.

So, booting to WM will let you swap back and forth, booting to Hildon will white screen. I'd suspect that your "WidowMaker" script is losing itself when the desktop terminates and there's nothing to catch it. But, things work okay" when WM is underneath since Hildon was only running in a WM window.


As a data point, if you bring up Xterm from within WM, then close the window, you loose the key attachment for the "-" key. To get it back, you need to switch Workspaces.


Pretty cool PB!

andymulhearn 2007-02-07 21:37

Re: Window Maker N800 DUAL Window Manager Install/Hack available
 
Quote:

Originally Posted by penguinbait (Post 33794)
Can you switch back, to hildon from WM. Try going back and forth after rebooting. Let me know if it is still not working for you?

Switching in and out of hildon/wmaker works fine with reboot but there was no way to get into wmaker with hildon running.

Quote:

I did run in ldconfig manually?
Yes
Quote:

Thanks
No, thank you. This is looking really interesting.

penguinbait 2007-02-07 22:08

Re: Window Maker N800 DUAL Window Manager Install/Hack available
 
Quote:

Originally Posted by midiwall (Post 33803)

(from Hildon)
menu | extras | WindowMaker: gives me the white screen
menu | extras | Reboot to WM: gives me WM

(from WM)
- | Session | Hildon Desktop: gets me hildon

(_now_ from Hildon)
menu | extras | WindowMaker: gets me back to WM


So I think you are saying that if WindowMaker is the default WM, you can switch back and forth without any problems. If you boot to hildon, you can not switch to WM without rebooting?

that makes no sense to me. If that is the case, I suspect if you boot back to hildon, it will now work from there also.

I can switch back and forth no matter what is booted.

penguinbait 2007-02-07 22:19

Re: Window Maker N800 DUAL Window Manager Install/Hack available
 
OK, I have been thinking, and a reboot is required after install.


/etc/profile is changed to add /usr/local/bin to path. What is happening is matchbox and maemo_desktop stops, and it can not find the path with "Window Maker", this is why it turned white the first time you ran it.


after untar of WM6.tar.gz to root
run ldconfig (because /usr/local/lib is added /etc/ld.so.conf, this should happen on boot, but )
reboot to update (/etc/profile to add /usr/local/bin/ to path)

After this no matter which one you boot to you should be able to switch on the fly to either window manager.

Anyone who has installed, please reboot your n800. Now please test for me and provide the results....
From

(from Hildon)
menu | extras | WindowMaker:
menu | extras | Reboot to WM:

(from WM)
- | Session | Hildon Desktop:
- | Session | Reboot to Hildon:


NOTE, if you do not want to test the reboot options, please test the "WindowMaker" and "Hildon Desktop" entrys



Oh well, you cant get it perfect on the first time, that what revisions are for, well the tar is ok, I guess the install instructions just needed a little tweeking.

I need feedback and please anyone who compiles anything, SHARE SHARE SHARE

midiwall 2007-02-07 22:26

Re: Window Maker N800 DUAL Window Manager Install/Hack available
 
Quote:

Originally Posted by penguinbait (Post 33812)
So I think you are saying that if WindowMaker is the default WM, you can switch back and forth without any problems. If you boot to hildon, you can not switch to WM without rebooting?

Correct.


Quote:

that makes no sense to me. If that is the case, I suspect if you boot back to hildon, it will now work from there also.
Nope! I'm looking at a white screen.

penguinbait 2007-02-07 22:35

Re: Window Maker N800 DUAL Window Manager Install/Hack available
 
Mark, can you ssh in, while hildon is up.

su - user
echo $PATH
swm.sh

Let me know what you path is, and if you get errors, or if it switches to WM

midiwall 2007-02-07 22:44

Re: Window Maker N800 DUAL Window Manager Install/Hack available
 
Quote:

Originally Posted by penguinbait (Post 33822)
Mark, can you ssh in, while hildon is up.

su - user
echo $PATH
swm.sh

Sure!


Code:

~ $ swm.sh
Stopping MAEMO AF Desktop
Stopping Matchbox window manager
~ $ /usr/local/bin/wmaker fatal error: it seems that there is already a window manager running

Looks like you didn't get Matchbox shutdown... (check PID 1311):
Code:

~ $ ps xa
  PID  Uid    VmSize Stat Command
    1 root        480 S  init [2]
    2 root            SWN [ksoftirqd/0]
    3 root            SW  [watchdog/0]
    4 root            DW< [events/0]
    5 root            SW< [khelper]
    6 root            SW< [kthread]
  29 root            SW< [kblockd/0]
  30 root            SW< [kseriod]
  41 root            SW< [OMAP McSPI/0]
  109 root            SW  [pdflush]
  110 root            SW  [pdflush]
  111 root            SW< [kswapd0]
  112 root            SW< [aio/0]
  115 root            SW< [mipid_esd]
  245 root            SW  [mtdblockd]
  275 root            SW< [kmmcd]
  285 root            SW< [krfcommd]
  294 root            SW  [mmcqd]
  299 root            SWN [jffs2_gcd_mtd3]
  327 root        552 S < dsme -d -l syslog -v 4 -p /usr/lib/dsme/libstartup.so
  330 root        552 S < dsme -d -l syslog -v 4 -p /usr/lib/dsme/libstartup.so
  331 root        552 S  dsme -d -l syslog -v 4 -p /usr/lib/dsme/libstartup.so
  334 root        336 S  /usr/bin/bme
  956 root            SWN [jffs2_gcd_mtd4]
  981 root        420 S < /sbin/udevd --daemon
 1252 nobody      640 S < /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z
 1258 messageb  1416 S < /usr/bin/dbus-daemon --system
 1266 root        812 S  /usr/sbin/sshd
 1273 root      1308 S < /sbin/mce
 1276 messageb  1444 S  /usr/lib/gconf2/gconfd-2
 1279 root      2448 S < /usr/bin/Xomap -mouse tslib -nozap -dpi 96 -wr
 1300 user        180 S < /usr/sbin/temp-reaper
 1303 user      1220 S < /usr/bin/dbus-daemon --session
 1307 user      2524 S < /usr/lib/sapwood/sapwood-server
 1311 user      2944 S < /usr/bin/matchbox-window-manager -theme theme3 -use_t
 1319 root            SW< [mailbox/dsp]
 1324 root      1128 S  /usr/sbin/dsp_dld -p --disable-restart -c /lib/dsp/ds
 1342 root        888 S < /usr/sbin/hcid -n -x
 1351 root        544 S < /usr/sbin/sdpd -n
 1373 root        832 S < /usr/bin/bme-dbus-proxy -N
 1390 root      1432 S  /usr/bin/osso_hss
 1395 root        600 S < /usr/bin/esd
 1418 root      1124 S < /usr/bin/btcond -l
 1450 root            SW< [file-storage-ga]
 1453 root      1440 S < /usr/sbin/ke-recv
 1460 root      1164 S < /usr/sbin/wlancond
 1463 root      1456 S < /usr/sbin/icd
 1485 user      1396 S < /usr/bin/maemo-launcher --daemon --send-app-died --bo
 1512 user      1856 S  /usr/libexec/dbus-vfs-daemon
 1546 messageb  2284 S  /usr/bin/eapd
 1547 messageb  2284 S  /usr/bin/eapd
 1548 messageb  2284 S  /usr/bin/eapd
 1553 user        328 S < /usr/bin/osso-connectivity-ui-conndlgs
 1554 user      4536 S < /usr/bin/osso-connectivity-ui-conndlgs
 1557 user        328 S < /usr/bin/hildon-input-method
 1558 user      5260 S < /usr/bin/hildon-input-method
 1572 user        532 S < /usr/bin/clipboard-manager
 1575 user      3324 S < /usr/bin/osso-media-server
 1578 root      1248 S  /usr/bin/ias
 1598 systemui  4920 S < /usr/bin/systemui
 1611 user      1056 S < /usr/bin/obexsrv -l
 1630 user      1856 S  /usr/bin/alarmd
 1667 user      2712 S  /usr/bin/mediaplayer-engine
 1673 user      4356 S  /usr/bin/metalayer-crawler -F
 1679 user      2712 S  /usr/bin/mediaplayer-engine
 1682 user      4356 S  /usr/bin/metalayer-crawler -F
 1690 root        476 S < /sbin/udhcpc -i wlan0 -s /etc/udhcpc/udhcpc.script -f
 1701 user      3480 S  /usr/bin/mission-control
 1703 user      1488 S  /usr/libexec/galago-daemon
 1705 user      1416 S  /usr/lib/galago/telepathy-feed
 1707 user      2804 S  /usr/bin/telepathy-gabble
 1709 user      3528 S  /usr/libexec/eds-sync
 1711 user      2208 S  /usr/libexec/e-addressbook-factory
 1712 user      2208 S  /usr/libexec/e-addressbook-factory
 1721 root      1480 S  sshd: root@pts/0
 1723 root        712 S  -sh
 1737 user        780 S  -sh
 1776 user        588 R  ps xa
~ $

Maybe some game playing with grep to extract the PID from PS XA, then a kill? Or maybe just "killall -9 matchbox"...

midiwall 2007-02-07 22:49

Re: Window Maker N800 DUAL Window Manager Install/Hack available
 
fwiw... "killall -9 matchbox-window-manager" gets rid of the process, but running swm.sh afterwards still has the error message.

My WiFi connection here at work sucks, but I'll try to play a bit.

gut feel... there are other processes that you need to kill off, and the sleep's after trying to use the restart scripts aren't enough to make it happen.

midiwall 2007-02-07 22:53

Re: Window Maker N800 DUAL Window Manager Install/Hack available
 
woop.... I think I got it. Matchbox is being re-launched fast enough that it's back running by th time the wm launcher kicks in.


All times are GMT. The time now is 00:10.

vBulletin® Version 3.8.8