Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WM_CLASS & firefox 3
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
fho
n00b
n00b


Joined: 24 Sep 2006
Posts: 20

PostPosted: Fri Dec 05, 2008 3:44 pm    Post subject: WM_CLASS & firefox 3 Reply with quote

Moin,

ich benutze openbox als WM und will gerne dass der ff3 auf einem bestimmten Desktop startet.

Bei ff2 war das kein Problem, da konnte ich einfach mit xprob WM_CLass auslesen und die entsprechenden Regeln festlegen...

Bei FF3 funktioniert das leider nicht mehr, angeblich soll ff3 andere WM_Class Werte während dem starten als nachdem starten haben...
Ich weiß nur wie ich mit xprob WM_CLASS abfragen kann nachdem ff gestartet ist :)
WM_CLASS(STRING) = "Navigator", "Firefox"

Wenn ich für zb Class="*Firefox*" mir nun eine Regel erstell matched die leider nicht :/

Weiß jemand wie ich es schaffe für ff3 zutreffende openbox Regeln zu erstellen? Bzw die WM_CLass Werte auslesen könnte mit denen es funktioniert?

thx
Back to top
View user's profile Send private message
farhaven
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2008
Posts: 127

PostPosted: Mon Dec 08, 2008 9:21 pm    Post subject: Reply with quote

Kann man bei OpenBox nach "Instance" matchen? Das wäre in dem Fall wohl angebrachter, die zweite WM_CLASS wird als Instance bezeichnet. Alternativ könntest du auch gucken, ob WM_CLASS nach "*Navigator*" matcht.
Back to top
View user's profile Send private message
fho
n00b
n00b


Joined: 24 Sep 2006
Posts: 20

PostPosted: Tue Dec 09, 2008 8:34 am    Post subject: Reply with quote

Openbox kann Regeln anhand Name, Class, Role erstellen, leider matched alles nicht mehr beim FF3.
(laut openbox config ist der zweite Eintrag in WM_Class, die "Class")

name="*Navgiator*"
Class="*Firefox*"
sowie beides kombiniert hab ich ausprobiert und nix funktioniert:/
Wenn ich auf irgendnem Desktop auf 'nen Link klicke welcher FF3 aufruft, hab ich den Browser immer auf dem aktuellen Desktop anstatt auf dem für ff3 bestimmten

Code:

<applications>
      <application name="*Navigator*">
      <desktop>2</desktop>
    </application>
Back to top
View user's profile Send private message
farhaven
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2008
Posts: 127

PostPosted: Tue Dec 09, 2008 1:28 pm    Post subject: Reply with quote

Ich sehe gerade, bei mir hat FF3 als Role "browser"... Evtl. könnte das auch bei dir funktionieren, gesetzt dem Fall, dass kein anderes Programm die selbe Role hat, das würde dann auch auf den zweiten Desktop geschroben.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum