7
1
i'm on mint linux with i3wm
i want to discriminate a special firefox session from the default sessions when its starts. So i need it to have at least one altered property right at the beginning (later it changes its title but then it is to late. I want to assign it via an i3 command to a special workspace)
i tried this
firefox --class="pidgin"
#xprop output: WM_CLASS(STRING) = "Navigator", "Firefox"
firefox --class=pidgin
#xprop output: WM_CLASS(STRING) = "Navigator", "Firefox"
this works:
xprop -set WM_NAME "Horst" #this works but its not at startup
#xprop output: WM_NAME(STRING) = "Horst"
this dosn't:
xprop -set WM_CLASS "Pidgin"
xprop: error: unsupported conversion for WM_CLASS
1) how do i check that the firefox --class=<1> command works?
2) what is a valid value for <1>?
3) is there any other way/command to start firefox with an altered property?
1This works, but only if firefox is not already running. – gladed – 2018-02-22T16:45:39.863
1@gladed use the
--no-remote
option in combination with-P profile
if you desire multiple instances of firefox with unique class names. so for examplefirefox --no-remote -P default --class foo
. – pkfm – 2019-11-12T18:24:07.650