Re: [Sawfish] It seems sawfish cannot manage GVim ?

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


Hi,

On Tue, 28 Feb 2012 16:40:29 +0800
wrote z_axis <z_axis@xxxxxxx>:

>ok, I will attach those files.
>
>
>在 Tue, 28 Feb 2012 15:17:42 +0800,fuchur <flohtransporter@xxxxxxxxx>  
>写道:
>
>> Hi,
>>
>> On Tue, 28 Feb 2012 08:21:55 +0800
>> wrote z_axis <z_axis@xxxxxx>:
>>
>>>> mv .sawfish/window-history ~
>>>> ls ~/.sawfish/
>>> custom	lisp/	rc
>>>
>>> But GVim still appears on top left corner.
>>>
>>> 在 Mon, 27 Feb 2012 19:19:20 +0800,Teika Kazura <teika@xxxxxxxxxxx>  
>>> 写道:
>>>
>>>> Have you got ~/.sawfish/window-history? If so, move it elsewhere,
>>>> or delete it.
>>>>
>>>> Teika (Teika kazura)
>>>>
>>>>
>>>
>>>
>>
>> Either you test it with a new user or you attach your
>> ~/.sawfish/custom and ~/.sawfish/rc file, and maybe has
>> someone some time to test what is wrong with your settings.
>>
>
>

You use window-history. Window-history default use '(WM_CLASS
WM_WINDOW_ROLE) but gvim give each time you open gvim a other
"WM_WINDOW_ROLE"
Take a look in your ~/.sawfish/window-history file you will find many
entries like this:

....
....
("gvim^@Gvim^@/vim-15833-2474073951-1330424202"
 (position 754 . 198)
 (type . default))

("gvim^@Gvim^@/vim-18453-4244556571-1330424313"
 (type . default))
....
....

So you will got no match and sawfish will use for an new gvim your
default settings by window placement (by your settings top-left)

You can use windows-rules for gvim, this should overwrite the
history settings.
  


-- 
Regards,
Fuchur

GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53  C116 E5BC 70D5 B8D7 B2B0

Attachment: signature.asc
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/