You are not logged in.
I never really cared for it until now, but I decided I wanted Firefox to only start on a specific tag. As I understand it from their own documentation here, my config should produce the wanted result of opening a new Firefox window in tag 9. Unfortunately, it always just opens in the current tab.
I haven't installed dmenu yet and always start Firefox through the terminal. Don't know if that makes a difference for dwm.
What the tagging section of my config(.def).h looks like (afaict, it is the same as suckless's example):
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 },
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
};
I have also searched in the code for the class definition or other mentions of Firefox, but found nothing. Also changed the monitor to 0 for good measure but that didn't help either.
Pastebin of my entire config(.def).h can be found here. It has been patched a bit, so it definitely is not vanilla.
Last edited by at4rka (2025-10-11 10:23:49)
sry, am noob
Offline
Welcome to the forum
For clarity : you are using https://aur.archlinux.org/packages/dwm and have updated it to the latest version ?
Moderator Note :
dwm is an aur package and issues with those are put in AUR Issues, Discussion & PKGBUILD Requests .
Moving to AUR Issues, Discussion & PKGBUILD Requests
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
For clarity : you are using https://aur.archlinux.org/packages/dwm and have updated it to the latest version ?
not quite. I cloned and built it locally, but I am at version 6.6, which is the latest version.
Moderator Note :
dwm is an aur package and issues with those are put in AUR Issues, Discussion & PKGBUILD Requests .Moving to AUR Issues, Discussion & PKGBUILD Requests
Thanks, my bad... I saw other dwm topics in this thread and thought nothing more of it.
sry, am noob
Offline
The WM_CLASS property has to match exactly. I suspect that it should be a lowercase "firefox".
You can check the class unsing xprop
xprop WM_CLASS
and then selecting the relevant window with the pointer.
Offline
The WM_CLASS property has to match exactly. I suspect that it should be a lowercase "firefox".
Now I feel stupid for not trying that... it worked! Thank you
sry, am noob
Offline