You are not logged in.

#1 2011-03-31 00:23:56

Novartum
Member
From: Sweden
Registered: 2011-02-03
Posts: 33

DWM - tag issue

I have two questions regarding dwm:

1) I have uninstalled urxvt and built the AUR package rxvt-unicode-patched in attempt to fix the gap around terminal windows.  The gap still remains, so is there something else that needs to be done (wiki suggested that this should fix issue which apparently is due to font size)?  I tried the alternative of changing "static Bool resizehints" to False in config.h, which fixed dimensions but introduced a lot of redraw anomalies.

2) Is there a patch/config change that ensures that a new window stays in the tag where it was intended to be opened.  For example, if I am in tag 2 and open firefox but move to tag 1 before firefox has had a chance to open, it will now open in tag 1.  Is there a way to keep it in tag 2?

Thank you in advance.

Last edited by Novartum (2011-03-31 16:46:28)

Offline

#2 2011-03-31 00:36:42

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: DWM - tag issue

1. I have a standard urxvt install and

static const Bool resizehints = False; 

in my config.h. No gaps (except for useless ones) observed.

2. This is what I have in my config.h and works just like you described it should (FF opens by default in tag 1 only):

{ "Namoroka",    NULL,    NULL,    1 << 0,    False,    -1,    -1 },

Last edited by bohoomil (2011-03-31 00:37:34)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2011-03-31 00:39:28

Novartum
Member
From: Sweden
Registered: 2011-02-03
Posts: 33

Re: DWM - tag issue

Thanks for the response.

1) I tried that and it introduces a number of weird anomalies, like random color in the parts of terminal that previously were missing.  The wiki states that this often occurs and suggests the patched urxvt.

2) Firefox was just an example.  I don't want it to open by default in a tag, just open in the tag where I initially pressed command.

Offline

#4 2011-03-31 01:15:28

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: DWM - tag issue

Did you change that setting after downloading the patched urxvt?  I had to do both before it filled the gap.

Last edited by the sad clown (2011-03-31 01:15:49)


I laugh, yet the joke is on me

Offline

#5 2011-03-31 01:26:14

Novartum
Member
From: Sweden
Registered: 2011-02-03
Posts: 33

Re: DWM - tag issue

Thank you that fixed this issue! (strange since wiki specifically stated that you could use True value with patched urxvt). Any ideas with regard to window allocation to original tag?

Offline

#6 2011-03-31 01:50:53

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: DWM - tag issue

No, I don't know of any fix for that.  I'm afraid you will simply have to wait for it to load before changing tags (or change it's tag once it does load ala mod-shift-[#]).


I laugh, yet the joke is on me

Offline

#7 2011-03-31 07:34:34

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: DWM - tag issue

Novartum, could you please edit your topic title so that it reflects the actual problem you are experiencing?


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB