LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-19-2009, 03:10 PM   #1
Allamgir
Member
 
Registered: Aug 2009
Posts: 50

Rep: Reputation: 17
Question dwm always opens firefox on workspace 9


This is a really strange problem. For some reason, whenever I start x and dwm and use dmenu to start firefox, it opens in workspace 9. I've even tried opening firefox from xterm, and still, even if I'm on workspace 1, 2, 5, 8, etc., it always opens on the ninth. This has never happened to me when I used dwm on Arch linux, so I'm wondering if this is the result of something slackware-specific.

Can anyone shed some light on what this may be? It's really annoying to have to jump to workspace 9 every time I want to browse the web.


Thanks,
Allamgir
 
Old 12-19-2009, 03:42 PM   #2
Mol_Bolom
Member
 
Registered: Nov 2008
Location: S.W. Kansas
Distribution: Slackware64 14.0
Posts: 219
Blog Entries: 2

Rep: Reputation: 41
The reason is because of the rules in the config.h file. In order to change that you would need to change the tags mask to 0 then recompile dwm.

Code:
static const Rule rules[] = {
	/* class      instance    title       tags mask     isfloating   monitor */
	{ "Firefox",  NULL,       NULL,       1 << 8,       True,       -1 }//Change 1<<8 to 0.
};
 
1 members found this post helpful.
Old 12-19-2009, 05:36 PM   #3
Allamgir
Member
 
Registered: Aug 2009
Posts: 50

Original Poster
Rep: Reputation: 17
Yes! That worked perfectly! Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dwm Firefox pop-up menus SentralOrigin Linux - Desktop 2 03-26-2009 11:39 AM
Firefox forces Fluxbox to jump to workspace alkos333 Slackware 2 08-26-2008 12:06 AM
How to change the size of Firefox when it opens royeo Linux - Newbie 1 08-10-2006 07:03 PM
firefox 1.5.0.1 - the firefox symlink opens 1.5 instead distinct Linux - Software 3 02-07-2006 03:16 PM
Firefox opens a window hidden in itself degraffenried13 Linux - General 0 02-01-2005 10:01 PM


All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration