Puppy a la carte: package management; installing Icewm
are you absolutely sure that /etc/windowmanager is ok? ... is pointing at a file that doesn't exist? ... is there more than one line of text in the file? ... does the file exist at all? ... does it point to icewm-session or icewm-session2? (icewm-session is a binary file that comes with icewm ... icewm-session2 is a script i wrote that does about the same thing)
if /etc/windowmanager is the problem, then if you boot with no pup001 file, then X won't start ... if you look at /etc/windowmanager now, without starting fvwm95, you can see 1) if the file exists and 2) what is in the file ... if you type startx icewm-session2 and it starts X ok, it might be something wrong with /etc/windowmanager that's causing the problem
my .xinitrc file looks like this:
CURRENTWM="`cat /etc/windowmanager`"
which $CURRENTWM && exec $CURRENTWM
[ -x $CURRENTWM ] && exec $CURRENTWM
exec fvwm95
this starts fvwm95 if whatever is in $CURRENTWM does not work
if it isn't /etc/windowmanager, i don't know what the problem is ... i've remastered Puppy without the fvwm95 and jwm packages and didn't seem to have this problem ... also, all you need to start icewm is to run the icewm binary ... it will start without any other files, it doesn't even need the config files, it's very forgiving
if /etc/windowmanager is the problem, then if you boot with no pup001 file, then X won't start ... if you look at /etc/windowmanager now, without starting fvwm95, you can see 1) if the file exists and 2) what is in the file ... if you type startx icewm-session2 and it starts X ok, it might be something wrong with /etc/windowmanager that's causing the problem
my .xinitrc file looks like this:
CURRENTWM="`cat /etc/windowmanager`"
which $CURRENTWM && exec $CURRENTWM
[ -x $CURRENTWM ] && exec $CURRENTWM
exec fvwm95
this starts fvwm95 if whatever is in $CURRENTWM does not work
if it isn't /etc/windowmanager, i don't know what the problem is ... i've remastered Puppy without the fvwm95 and jwm packages and didn't seem to have this problem ... also, all you need to start icewm is to run the icewm binary ... it will start without any other files, it doesn't even need the config files, it's very forgiving
- papaschtroumpf
- Posts: 250
- Joined: Fri 17 Jun 2005, 04:23
Thanks GuestToo, the contents of my windows manager file was:
icewm-sessiols -ln2
I guess I must have had the focus on the wrong window at some point and messed it up without realizing it (I never bothered changing the focus model in fvwm95 but I'm definitely not used to it).
Will remaster my CD again.
EDIT: still not working, I can't start it with "startx icewm-session2" either, at least I know where to start looking. So far I have confirm that it runs icewm-session2 which in turn starts icewm
icewm-sessiols -ln2
I guess I must have had the focus on the wrong window at some point and messed it up without realizing it (I never bothered changing the focus model in fvwm95 but I'm definitely not used to it).
Will remaster my CD again.
EDIT: still not working, I can't start it with "startx icewm-session2" either, at least I know where to start looking. So far I have confirm that it runs icewm-session2 which in turn starts icewm
Mandriva LE 2005 user and puppy newbie
i think /etc/windowmanager needs to have one line in it, with no carriage returns
what i do, is start X by typing startx icewm-session ... so i know it works ok ... then copy /etc/windowmanager to my Unleashed package
you can run X as user "spot"
spot can't write to /etc/windowmanager, so if Puppy runs as spot instead of root, it probably should use $HOME/.windowmanager instead of /etc/windowmanager
i found it runs pretty good as spot ... but i couldn't get rxvt (or aterm) to run ... i think i tried stuff like xhost + ... i noticed in the mrxvt docs that it says an xterm binary might need to be setuid root to run ... i don't think i tried that ... i'll try it when i get the time, maybe it will work ... i know you have to setuid for tinylogin if you want to su to root from spot
what i do, is start X by typing startx icewm-session ... so i know it works ok ... then copy /etc/windowmanager to my Unleashed package
you can run X as user "spot"
spot can't write to /etc/windowmanager, so if Puppy runs as spot instead of root, it probably should use $HOME/.windowmanager instead of /etc/windowmanager
i found it runs pretty good as spot ... but i couldn't get rxvt (or aterm) to run ... i think i tried stuff like xhost + ... i noticed in the mrxvt docs that it says an xterm binary might need to be setuid root to run ... i don't think i tried that ... i'll try it when i get the time, maybe it will work ... i know you have to setuid for tinylogin if you want to su to root from spot
- papaschtroumpf
- Posts: 250
- Joined: Fri 17 Jun 2005, 04:23
I wonder if it is a problem with resolution.
when X first comes up it chooses mode 0x111 (640x480x16) and crashes back the command prompt.
I can then run startx fvwm95 and it runs but without icons or background.
if I log back out and try startx icewm-session2 it crashes back to the command prompt also
I then startx fvm95 again and change to 800x600x16 (mode 0x0114) and it looks good (desktop icons, menus...)
if I log back out and try startx icewm-session2 it works just fine.
Is there something that prevents icewm from starting at 680x480x16? (mode 0x0111)
EDIT: if from icewm I try to change the resolution back to 640x480 usingthe Xvesa Wizard it crashes back to the command prompt after changing the resolution!
when X first comes up it chooses mode 0x111 (640x480x16) and crashes back the command prompt.
I can then run startx fvwm95 and it runs but without icons or background.
if I log back out and try startx icewm-session2 it crashes back to the command prompt also
I then startx fvm95 again and change to 800x600x16 (mode 0x0114) and it looks good (desktop icons, menus...)
if I log back out and try startx icewm-session2 it works just fine.
Is there something that prevents icewm from starting at 680x480x16? (mode 0x0111)
EDIT: if from icewm I try to change the resolution back to 640x480 usingthe Xvesa Wizard it crashes back to the command prompt after changing the resolution!
Mandriva LE 2005 user and puppy newbie
- papaschtroumpf
- Posts: 250
- Joined: Fri 17 Jun 2005, 04:23
Damn! Everything works fine if I change startx to attempt 800x600x16 as the "lowest" video mode!!!!
GuestToo, I haven't compiled icewm, I just grabbed the version out of your 1.2.20 dotpup. Do you know if there was a compile option for minimal supported videomode? I'll try and find your 1.2.21 version and see if it works .
GuestToo, I haven't compiled icewm, I just grabbed the version out of your 1.2.20 dotpup. Do you know if there was a compile option for minimal supported videomode? I'll try and find your 1.2.21 version and see if it works .
Mandriva LE 2005 user and puppy newbie
yes, i found that icewm does not like 640x480 when i was trying to get Xfree86 to work ... X starts 640x480, icewm will not run
i don't know why ... it may be xft support or imlib support that's the problem
for icewm-full, i compiled it with just about everything but xinerama support
i did have an icewm lite version somewhere ... it doesn't support menu icons
this is how i configured 1.2.21 ...
./configure --enable-antialiasing --disable-xinerama --with-imlib
maybe disabling support for something will let it run at 640x480 ... but it won't be as pretty
this is a problem that a dotpup install usually doesn't have
i don't know why ... it may be xft support or imlib support that's the problem
for icewm-full, i compiled it with just about everything but xinerama support
i did have an icewm lite version somewhere ... it doesn't support menu icons
this is how i configured 1.2.21 ...
./configure --enable-antialiasing --disable-xinerama --with-imlib
maybe disabling support for something will let it run at 640x480 ... but it won't be as pretty
this is a problem that a dotpup install usually doesn't have
i uploaded the Icewm 1.2.21 binaries i was experimenting with, if you (or anyone) want to try them
i don't think they will run at 640x480 either (i haven't tried it)
http://www.murga.org/~puppy/viewtopic.p ... &start=142
i don't think they will run at 640x480 either (i haven't tried it)
http://www.murga.org/~puppy/viewtopic.p ... &start=142
- papaschtroumpf
- Posts: 250
- Joined: Fri 17 Jun 2005, 04:23
Puppy saves the background settings in /etc/background
i have a slightly different wallpaper program, that saves the settings in /etc/background2
icewm has it's own background settter program ... icewmbg
if you start icewm using icewm-session2, it loads icewmbg, and the backgrounds will be set from the preferences file, or the icewm theme you are using
if icewm is controlling the background, /etc/background will not work, and the background setting programs in the menu will not work
i use icewm, but i don't use icewmbg, so i have no problems ... i set my window manager by typing startx icewm so icewmbg does not run
if you want to set the background for icewmbg, you need to edit the icewm preferences file, or the theme file
Pizzasgood included a hacked version of my wallpaper setter on his pizzapup iso, i think, that appends a line to the icewm preferences file
i have a slightly different wallpaper program, that saves the settings in /etc/background2
icewm has it's own background settter program ... icewmbg
if you start icewm using icewm-session2, it loads icewmbg, and the backgrounds will be set from the preferences file, or the icewm theme you are using
if icewm is controlling the background, /etc/background will not work, and the background setting programs in the menu will not work
i use icewm, but i don't use icewmbg, so i have no problems ... i set my window manager by typing startx icewm so icewmbg does not run
if you want to set the background for icewmbg, you need to edit the icewm preferences file, or the theme file
Pizzasgood included a hacked version of my wallpaper setter on his pizzapup iso, i think, that appends a line to the icewm preferences file