Fluppy 013

For talk and support relating specifically to Puppy derivatives
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#196 Post by musher0 »

Me again...(I hear you saying: "Shucks...") :lol:

I noticed that if you change the size of the drive icons at the bottom in /usr/local/lib/X11/pixmaps, they will change for the duration of the session if you restart with xwin from console, but they won't stick for the next session, at least not from booting from a CD / DVD. True or false : this is a quirky problem, not a Fluppy problem? (I think I remember that Puppy 4.0 had the same bug.)

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#197 Post by rjbrewer »

About half the times I boot Fluppy I get an X in the tray and a little
window in upper left of screen.
The only way to close it is by restarting X.
What is that thing?

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

gerry
Posts: 986
Joined: Thu 26 Jul 2007, 21:49
Location: England

#198 Post by gerry »

Where does flwm get it's menu from? I want to add an app to the menu, but I can't find the flwm menu anywhere.
(And it didn't add itself, not being a pet or installed from the repo.)

gerry

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#199 Post by jemimah »

gerry wrote: It's great. EXCEPT- no icons! Should there be some? All I have are the drive icons along the bottom.

gerry
Just switch the icon theme using the Rox Icon Switcher on the desktop menu.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#200 Post by jemimah »

musher0 wrote:
Upon second reading, a light-bulb lit over my head! 8)

So ROX would have
1) an "annoying panel auto-hide feature"
2) "that doesn't work if your panels have stuff in them"

Kindly explain...

In other words, does this mean that ROX has by default hidden panels that "unhide" when you put stuff in them? And I thought my brain was ok. :lol: Strrrrraaannggge...
If you uncheck "Do not cover Panel" (which only works in EWMH compliant WMs), Rox will raise the panel, if and only if you hover over a blank part of the panel. That's not the annoying part though - the annoying part is that it lowers the panel when you move the mouse away, making it impossible to drag things to the panel that has windows behind it.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#201 Post by jemimah »

musher0 wrote:Hello again, jemimah.

Almost got stuck in flwm (hehe), until I followed your tracks back to /etc/wm, and placed "openbox-session" there. My fault, I tried to introduce good old wmx in Fluppy. And now I've put your wm chooser out of commission

So you're not using the usual Puppy .xinitrc, eh?
Second question: how do I integrate another wm than the three you suggest ?

I'm not criticizing -- you really did a fabulous job with Fluppy. :D I like it a lot.
It's just me being curious, and trying to get back to my old groove!

Many thanks in advance.
You need to add the new window manager to the /usr/bin/change-wm script.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#202 Post by jemimah »

musher0 wrote:jemimah?

Two more questions, if I may:

How would I give a separate function to each of the mouse buttons in FLWM?
At present, they all display whatever is in /.wmx

How would I reinstate desktop icons on the FLWM desktop? Change or copy PuppyPin manually?

Again, thanks in advance.
And have a great day!
Flwm is not very configurable besides modifying the source code. What functions do you want?

You can copy /root/Choices/ROX-Filer/PuppyPin.orig over /root/Choices/ROX-Filer/PuppyPin.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#203 Post by jemimah »

musher0 wrote:Me again...(I hear you saying: "Shucks...") :lol:

I noticed that if you change the size of the drive icons at the bottom in /usr/local/lib/X11/pixmaps, they will change for the duration of the session if you restart with xwin from console, but they won't stick for the next session, at least not from booting from a CD / DVD. True or false : this is a quirky problem, not a Fluppy problem? (I think I remember that Puppy 4.0 had the same bug.)

BFN.
Why not just increase the size of the Panel?

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#204 Post by jemimah »

rjbrewer wrote:About half the times I boot Fluppy I get an X in the tray and a little
window in upper left of screen.
The only way to close it is by restarting X.
What is that thing?
This happens when the tray apps start before the icewm tray has completely loaded. I thought the delay was long enough, but I guess not.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#205 Post by jemimah »

gerry wrote:Where does flwm get it's menu from? I want to add an app to the menu, but I can't find the flwm menu anywhere.
(And it didn't add itself, not being a pet or installed from the repo.)

gerry
The Flwm menu is configured by adding scripts and directories to /root/.wmx

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#206 Post by musher0 »

jemimah wrote:
musher0 wrote:Hello again, jemimah.

Almost got stuck in flwm (hehe), until I followed your tracks back to /etc/wm, and placed "openbox-session" there. My fault, I tried to introduce good old wmx in Fluppy. And now I've put your wm chooser out of commission

So you're not using the usual Puppy .xinitrc, eh?
Second question: how do I integrate another wm than the three you suggest ?

I'm not criticizing -- you really did a fabulous job with Fluppy. :D I like it a lot.
It's just me being curious, and trying to get back to my old groove!

Many thanks in advance.
You need to add the new window manager to the /usr/bin/change-wm script.
I tried (see lines 22 and ff.), but I probably did something wrong... Please edit! 8)

Code: Select all



#! /bin/bash
set -x

WM=`cat /etc/windowmanager`
if [[ $WM == startflwm ]] ; then
	FLWM='<default>true</default>'
else
	FLWM='<default>false</default>'
fi
if [[ $WM == icewm-session ]] ; then
	ICEWM='<default>true</default>'
else
	ICEWM='<default>false</default>'
fi
if [[ $WM == openbox-session ]] ; then
	OPENB='<default>true</default>'
else
	OPENB='<default>false</default>'
fi
if [[ $WM == wmx ]] ; then
	OPENB='<default>true</default>'
else
	OPENB='<default>false</default>'
fi

export MAIN_DIALOG="
<window title="Change Window Manager">
<vbox>
<frame Choose a Window Manager>
      <radiobutton>
       <label>Flwm</label>
	$FLWM
	<action>if true echo startflwm > /etc/wm</action>
       </radiobutton>
      <radiobutton>
       <label>Icewm</label>
	$ICEWM
	<action>if true echo icewm-session > /etc/wm</action>
       </radiobutton>
      <radiobutton>
       <label>OpenBox</label>
	$OPENB
	<action>if true echo openbox-session > /etc/wm</action>
       </radiobutton>
       <label>wmx</label>
	$WMX
	<action>if true echo wmx > /etc/wm</action>
       </radiobutton>

</frame>
<text><label>Changes will be applied when you restart Xwindows</label></text>
<hbox>
  <button tooltip-text="Exit">
     <input file stock="gtk-quit"></input>
     <label>Exit</label>
     <action type="exit">Exit-NOW</action>
    </button>
</hbox>
</vbox>
</window>"
gtkdialog3 --program=MAIN_DIALOG --center
Thanks in advance.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#207 Post by musher0 »

jemimah wrote:
musher0 wrote:jemimah?

Two more questions, if I may:

How would I give a separate function to each of the mouse buttons in FLWM?
At present, they all display whatever is in /.wmx

How would I reinstate desktop icons on the FLWM desktop? Change or copy PuppyPin manually?

Again, thanks in advance.
And have a great day!
Flwm is not very configurable besides modifying the source code. What functions do you want?

You can copy /root/Choices/ROX-Filer/PuppyPin.orig over /root/Choices/ROX-Filer/PuppyPin.
> Flwm is not very configurable besides modifying the source code.
I see. Somewhat like wmx, eh? You can do wonders with wmx, but only if you know where the parameters are in the source.

> What functions do you want?
It would be nice to have the regular puppy menu appear on screen with a right click of the mouse.

> You can copy /root/Choices/ROX-Filer/PuppyPin.orig over /root/Choices/ROX-Filer/PuppyPin.
Ah. Thanks.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#208 Post by jemimah »

Try this:

Code: Select all



#! /bin/bash
set -x

WM=`cat /etc/windowmanager`
if [[ $WM == startflwm ]] ; then
	FLWM='<default>true</default>'
else
	FLWM='<default>false</default>'
fi
if [[ $WM == icewm-session ]] ; then
	ICEWM='<default>true</default>'
else
	ICEWM='<default>false</default>'
fi
if [[ $WM == openbox-session ]] ; then
	OPENB='<default>true</default>'
else
	OPENB='<default>false</default>'
fi
if [[ $WM == wmx ]] ; then
	WMX='<default>true</default>'
else
	WMX='<default>false</default>'
fi

export MAIN_DIALOG="
<window title=\"Change Window Manager\">
<vbox>
<frame Choose a Window Manager>
      <radiobutton>
       <label>Flwm</label>
	$FLWM
	<action>if true echo startflwm > /etc/wm</action>
       </radiobutton>
      <radiobutton>
       <label>Icewm</label>
	$ICEWM
	<action>if true echo icewm-session > /etc/wm</action>
       </radiobutton>
      <radiobutton>
       <label>OpenBox</label>
	$OPENB
	<action>if true echo openbox-session > /etc/wm</action>
       </radiobutton>
<radiobutton>
       <label>Wmx</label>
	$WMX
	<action>if true echo wmx > /etc/wm</action>
       </radiobutton>
       
</frame>
<text><label>Changes will be applied when you restart Xwindows</label></text>
<hbox>
  <button tooltip-text=\"Exit\">
     <input file stock=\"gtk-quit\"></input>
     <label>Exit</label>
     <action type=\"exit\">Exit-NOW</action>
    </button>
</hbox>
</vbox>
</window>"
gtkdialog3 --program=MAIN_DIALOG --center

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#209 Post by jemimah »

musher0 wrote:
> What functions do you want?
It would be nice to have the regular puppy menu appear on screen with a right click of the mouse.
There is a script, flwm-menu that will build the menu like that. But it depended on jwm and I haven't updated it for icewm. The ultimate problem with having multiple window managers is the time it takes to generate all the menus.

The icewm menu is not bad because it's only one file. But if you're generating a new file for each menu entry for Rox-Menu, Flwm-menu, and also creating a RoxApp for all the menu entries - well this requires some thought. The snap-merge script that saves your stuff in Pupmode 13 is really slow, and that becomes very obvious when you're trying to copy down all those files generated by the menu scripts.

I'll think about it some more.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#210 Post by musher0 »

jemimah wrote:
musher0 wrote:Me again...(I hear you saying: "Shucks...") :lol:

I noticed that if you change the size of the drive icons at the bottom in /usr/local/lib/X11/pixmaps, they will change for the duration of the session if you restart with xwin from console, but they won't stick for the next session, at least not from booting from a CD / DVD. True or false : this is a quirky problem, not a Fluppy problem? (I think I remember that Puppy 4.0 had the same bug.)

BFN.
Why not just increase the size of the Panel?
Like in the panel that appears with FLWM? That's an idea, although I try not to have the ROX-panel "slide", 'cause it can get confusing, or you may forget what's in the off-screen section.

I finally decided to use "force" :roll: , by introducing this at line 146 of the Fluppy .xinitrc:

Code: Select all

cp -f /usr/local/lib/X11/pixmaps/dsq32x/* /usr/local/lib/X11/pixmaps
(The dsq32x sub-directory is where I created 32x disk icons under fake "*48.png" names. I saved the original icons under a dsq48x sub-dir for reference.)

Introduces a half-second delay in the boot-up of X, but other than that, works fine.

Here's the result, in real size:
Attachments
cp-force-dsq32x-result.jpg
(23.3 KiB) Downloaded 330 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#211 Post by musher0 »

jemimah wrote:
musher0 wrote:
> What functions do you want?
It would be nice to have the regular puppy menu appear on screen with a right click of the mouse.
There is a script, flwm-menu that will build the menu like that. But it depended on jwm and I haven't updated it for icewm. The ultimate problem with having multiple window managers is the time it takes to generate all the menus.

The icewm menu is not bad because it's only one file. But if you're generating a new file for each menu entry for Rox-Menu, Flwm-menu, and also creating a RoxApp for all the menu entries - well this requires some thought. The snap-merge script that saves your stuff in Pupmode 13 is really slow, and that becomes very obvious when you're trying to copy down all those files generated by the menu scripts.

I'll think about it some more.
Would aragon's spm (simple puppy menu), based on ae menu, be suitable? Maybe simpler to implement? I mention it because it's independent of any wm existing in the Puppy: this menu is created based on the listing in /usr/share/applications.

In any case, the role of the programmer is not to cater to every user's whim of fancy, ( Specially mine! :lol: I'm already too much of an individualist ! :lol: )
Maybe just give pointers as to how this ot that can be done in the environment you chose to provide initially.

BFN.
Last edited by musher0 on Sun 27 Jun 2010, 16:44, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#212 Post by musher0 »

Almost forgot: thanks for all your answers! :)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#213 Post by jemimah »

musher0 wrote:
Like in the panel that appears with FLWM? That's an idea, although I try not to have the ROX-panel "slide", 'cause it can get confusing, or you may forget what's in the off-screen section.
If you have that problem, just decrease the percentage the taskbar takes.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#214 Post by musher0 »

jemimah wrote:
musher0 wrote:
Like in the panel that appears with FLWM? That's an idea, although I try not to have the ROX-panel "slide", 'cause it can get confusing, or you may forget what's in the off-screen section.
If you have that problem, just decrease the percentage the taskbar takes.
Yes, it can be done, but there are 2-3 limitations:
1) the smallest width of the ROX panel is 16 pixels.
2) if you have rox applets displayed in the panel, the panel will only shrink to the smallest width allowed by the applet. This supercedes #1 above.
3) Finally, readability by the human operator... If it's too small, it's of no use. (Well, the identification bubbles still pop up, but still, it's awfully small for human eyes.)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#215 Post by musher0 »

Your modified change-wm script with wmx integrated works nicely.
Many thanks!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply