You are not logged in.
Hello,
I decided to give up on Gnome and to try Dwm, I have installed slim so now I am automatically logged in to my awesome desktop. There are few things I wanted to ask, how can I configure dwm so if I run chromium then it will appear in Desktop "2" and not in Desktop "1". How can I run Chromium, irssi, ncmpcpp and rtorrent at start (I guess .xinitrc) but they will appear at different Desktops? I mean those numbers at the top "1" "2" "3" "4" etc.
Thank You,
Mazur
Offline
Configure them in your rules area in the config.h.
For example, the tagsmask 1<<8 will make the window spawn in tag 9.
Offline
I have done something like this:
/* tagging */
static const char *tags[] = { "Desktop", "Internet", "Anime", "C++", "PHP", "Chat", "Music", "Download" };
static const Rule rules[] = {
/* class instance title tags mask isfloating monitor */
{ "pidgin", NULL, NULL, 1 << 6, False, -1 },
{ "chromium", NULL, NULL, 1 << 2, False, -1 },
{ "urxvt", NULL, NULL, 1, False, -1 },
{ "mplayer", NULL, NULL, 1 << 3, False, -1 },
};
And I am using commands in .xinitrc "chromium & pidgin & urxvt ..." to run them but they appear in first one "Desktop" and not in "Internet" or "Chat". What I done wrong?
Offline
You have to specify the class, instance or title string associated with a window, not the command's name.
To get the instance/class name, use xprop, and find the line beginning with "WM_CLASS(STRING)" in it's output. The first value is the instance, the second is the class. The title is in the line starting with "WM_NAME(STRING)".
Offline
It's done and it works. Thank You ber_t and schen .
Offline
Please mark your thread solved Mazur.
ᶘ ᵒᴥᵒᶅ
Offline