On kwi 24, Dominique Michel wrote:
> > > As stalonetray will use a fvwm-button to work with percentage transparency
> > > support, it will use a fixed area in all the recipes. It is why I also
> > > added a "width" preference for the notification area.
> > > 
> > > It is some recipes as Nebulea that use a fixed size even with trayer. This
> > > width option will also work in this case.
>
> I send a patch with this. In the width preference, it is an option to not use
> any trayer app. It use a test in the recipes that will not launch the
> Notification area panel if "width=0"
> 
> All the recipes are in the patch as well as a new Thin recipe (the same as 
> Thin
> Audio, but without support of all the function for Music-alsaplayer.
> 

I've expressed my opinion about this fvwm-button on other thread, I'll wait
for your response with applying this new patch.

> BTW Marcej,

It's Maciej (Matt / Matthew in English), or harnir. :-)

> did you get the Music-alsaplayer file with the associated script
> script/speed? I don't see it in the repository.

Apparently not, maybe still some problems with your sendmail? Can you sent it
as separate email. BTW, I don't get any patches directly on my email address,
everything comes through the list. That's good, I just want to know if you are
traying to send some patches to me directly, because I don't receive anything?

> I also modified components/functions/Developer-Menu
> It was not working for me because of a syntax issue:
> 
> + "[gt.Main documentation]" A man Fvwm
> 
> was not working. I get a message about "man wrong option". I changed man fvwm
> into "man fvwm" and get ride of the error message, but the term was just
> opening and closing.
> 
> + "[gt.Main documentation]" A "man fvwm"
> 
> was working.

What terminal do you use?

> As I don't like the default look of those man pages when I want to
> read so huge man pages, I also merged the syntax I use in my version.

DestroyFunc FvwmViewManPage
AddToFunc FvwmViewManPage
+ I Exec exec A -fg White -bg DarkBlue -g 80x50 -fn 10x20 -fb 10x20bold \
-n "Manual Page - $0" -T "Manual Page - $0" -e man "$0"

The problem is, that thing isn't portable. For example, I'm using
'rxvt-unicode' terminal on a 1280x800 screen. When I'm opening a man page
using your command, the terminal window get's too big and part of it goes
outside of my screen. The other issue may be the compatibility with different
terminals. You are using the "A" function, that's great, but depending of the
choice of the default terminal some combinations might just don't work as
expected - for example as I recall either Eterm or gnome-terminal doesn't
support the "-e" option, they are using "-x" option instead.

If you really want your own special version of the man browser, you can use
a specific Xresources name for different settings than a normal terminal. In
'addons/Xresources' you can find an example ~/.Xresources file. There is
a section for a QuakeConsole terminal which sets different resources than the
default terminal uses. The name of the terminal is
"QuakeConsoleNeedsUniqueName". For example, your settings used with urxvt
terminal emulator would be written as follows:

~/.Xresources
#v+
ManPageInTerminal*foreground: White
ManPageInTerminal*background: DarkBlue
ManPageInTerminal*geometry: 80x50
ManPageInTerminal*font: 10x20
ManPageInTerminal*boldFont: 10x20bold
#v-

And you could use function like this:

#v+
DestroyFunc FvwmViewManPage
AddToFunc FvwmViewManPage
+ I X $[DefaultTerminal] -name ManPageTerminal -T "Manual Page - $0" -e man "$0"
#v-

The benefits of this approach:
- more portability - if an user wants to change the look of the man page
  browser, he only needs to change the settings in his own ~/.Xresources
  - he/she doesn't need to modify the Crystal code.
- if there are no special resources defined, user will get his own default
  terminal - no interfering with preferred way of how terminal window is
  handled.

We can of course use this method in the documentation menu... Do you want to
implement it, or should I change it?


> It is also another patch with an updated french locale.

Thanks. :)

harnir
-- 
+ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +
| Maciej Delmanowski  /  http://linux.net.pl/~harnir/  /  GnuPG: 48B03AFE |
+ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +

Attachment: signature.asc
Description: Digital signature

_______________________________________________
fvwm-crystal-users mailing list
fvwm-crystal-users@gna.org
https://mail.gna.org/listinfo/fvwm-crystal-users

Reply via email to