Discussion:
[Fluxbox-users] Several Problems
Alex Huth
2010-06-10 12:06:28 UTC
Permalink
Hello!

Even after reading and testing i get two things not working:

1. A App (XTerm) will not group together at startup
2. One XTerm should start on a different workspace then the other

Here my config´s:
---------------
[***@borusse /usr/home/ahuth/.fluxbox]$ cat apps
[app] (name=fbrun)
[Position] (CENTER) {0 0}
[Layer] {2}
[end]
[app] (name=Navigator) (class=Firefox) (role=browser)
[Workspace] {2}
[Maximized] {yes}
[Close] {yes}
[end]
[group]
[app] (name=XTerm) (class=XTerm)
[end]
-------------------
[***@borusse /usr/home/ahuth/.fluxbox]$ cat startup
#!/bin/sh
#
## fluxbox startup-script:
#
#xterm -bg khaki1 -fg black -fn
-misc-fixed-r-normal-*-*-120-*-*-c-*-iso8859-15 -geometry 180X50+0+0 &
xterm -bg khaki1 -fg black -fn
-misc-fixed-r-normal-*-*-120-*-*-c-*-iso8859-15 -geometry 180X50+0+0 &
xterm -bg khaki1 -fg black -fn
-misc-fixed-r-normal-*-*-120-*-*-c-*-iso8859-15 -geometry 180X50+0+0 &

xterm -fn -misc-fixed-r-normal-*-*-120-*-*-c-*-iso8859-15 -geometry
180X50+0+0 mutt &

firefox3 &

# And last but not least we start fluxbox.
# # Because it is the last app you have to run it with ''exec'' before
# it.
#
# exec fluxbox
# # or if you want to keep a log:
# # exec fluxbox -log "/home/ahuth/.fluxbox/log"
#
-------------------
[***@borusse /usr/home/ahuth/.fluxbox]$ cat groups
XTerm
------------------

When i understand the docs correct, it should be enough to set the XTerm
in the groupfile to group them together and place it in front of the app in
the apps file. This does not work.
I have seen some entries in www about tabs in the init file. Must i have
them to? The only thing i changed in this file is to place the session
entry for the groups in it.

Also i like to start mutt in the xterm on workspace1. How can i do that?

Greetings

Alex
--
Mit freundlichen Grüßen

Alex Huth

------------------------

TMR - Telekommunikation
Mittleres Rurgebiet GmbH
Brenscheder str. 62
D-4479 Bochum
Tel.: +49 0234 960 3843
Mobil: +49 163 5960638
***@tmr.net
http://www.tmr.net
Fernando M. Maresca
2010-06-10 21:57:15 UTC
Permalink
Hi.
Post by Alex Huth
[group]
[app] (name=XTerm) (class=XTerm)
[end]
I think name should be "xterm" instead of "XTerm".

Regards,
Fer
Alex Huth
2010-06-11 06:36:43 UTC
Permalink
Post by Fernando M. Maresca
Hi.
Post by Alex Huth
[group]
[app] (name=XTerm) (class=XTerm)
[end]
I think name should be "xterm" instead of "XTerm".
Regards,
Fer
Hmmm, but xprop says something different:

xprop | awk '/WM_CLASS/{print $4}'
"XTerm"

Greetings

Alex
Fernando M. Maresca
2010-06-11 10:28:10 UTC
Permalink
Post by Alex Huth
Post by Fernando M. Maresca
Hi.
Post by Alex Huth
[group]
[app] (name=XTerm) (class=XTerm)
[end]
I think name should be "xterm" instead of "XTerm".
Regards,
Fer
xprop | awk '/WM_CLASS/{print $4}'
"XTerm"
The _class_ is XTerm, the *name* is xterm
--
Fernando M. Maresca
Alex Huth
2010-06-11 11:49:31 UTC
Permalink
Post by Fernando M. Maresca
The _class_ is XTerm, the *name* is xterm
Hey, that´s it. This prevents the xterms to be grouped.

The only thing to make me complete happy (for the moment ;) ), is how
i can start the xterm with mutt on workspace2. With my configuration it
is grouped together with the other three xterms on workspace1.

Greeitngs

Alex
Fernando M. Maresca
2010-06-11 11:53:50 UTC
Permalink
Post by Fernando M. Maresca
The _class_ is XTerm, the *name* is xterm
Hey, thatŽs it. This prevents the xterms to be grouped.
Cool.
The only thing to make me complete happy (for the moment ;) ), is how
i can start the xterm with mutt on workspace2. With my configuration it
is grouped together with the other three xterms on workspace1.
For other reasons I run mutt from a wrapper in ~/bin:

#!/bin/sh
exec xterm -class "XMutt" -bg black -fg orange -fn -xos4-terminus-medium-r-normal-*-*-200-*-*-c-*-iso8859-1 -sl 200 +sb -geometry 95x34 -e mutt

The -class keyword is what you're looking for ;-)


Best regards,
--
Fernando M. Maresca
- - - - - - - - - - - - -
Cel: 221 15 545 8196
Tel: 221 450 5378
Fernando M. Maresca
2010-06-10 21:59:22 UTC
Permalink
Post by Alex Huth
XTerm
------------------
Sorry, I missed that one. groups file is deprecated by the [group]
tag in apps.

Bye,
Fer
Alex Huth
2010-06-11 06:39:26 UTC
Permalink
Post by Fernando M. Maresca
Post by Alex Huth
XTerm
------------------
Sorry, I missed that one. groups file is deprecated by the [group]
tag in apps.
Bye,
Fer
Which is the final rule? The group entry in groups or apps?

Greetings

Alex
Fernando M. Maresca
2010-06-11 10:30:37 UTC
Permalink
Post by Alex Huth
Post by Fernando M. Maresca
Post by Alex Huth
XTerm
------------------
Sorry, I missed that one. groups file is deprecated by the [group]
tag in apps.
Bye,
Fer
Which is the final rule? The group entry in groups or apps?
Without taking a look at the current documentation, I really think the
groups file is not used anymore. My groups definitions are in apps for
a long time now.

Greetings
--
Fernando M. Maresca
Loading...