Re: [dev] [dwm] Multihead Issues Autostart

2022-05-01 Thread NRK
On Sun, May 01, 2022 at 06:57:33PM +0200, Yan Doroshenko wrote:
> (stupid qustion alert)
> 
> But how can I try, whether my xrandr in autostart works, if I run version
> with no autostart patch?
> 

Hi Yan,

You don't need a patch to execute something at startup. If you're using
startx directly, then look into `xinitrc` (man 1 xinit has some
examples). And if you're using some login/display manager then look into
it's documentation instead.

- NRK



Re: [dev] [dwm] Multihead Issues Autostart

2022-05-01 Thread Yan Doroshenko

On 01.05.22 15:10, Hiltjo Posthuma wrote:

On Sun, May 01, 2022 at 12:56:50PM +0200, Yan Doroshenko wrote:

Hello,


I'm using DWM on two monitors with cool_autostart patch and in the autostart
array I'm running xrandr to set the monitor layout.

Quite often a situation happens when the second monitor is enabled (arandr
displays it as active and in correct position, feh sets the background on
it), but is unrecognized by DWM (there's no panel on it and windows can not
be moved onto it). Any change in display layout fixes the issue and DWM
recognizes the second screen.


Do you have any ideas as to why it can be happening?


Thanks,

Yan


Can you try the latest git version (without patches)?


(stupid qustion alert)

But how can I try, whether my xrandr in autostart works, if I run 
version with no autostart patch?




OpenPGP_signature
Description: OpenPGP digital signature


Re: [dev] [dwm] Multihead Issues Autostart

2022-05-01 Thread Hiltjo Posthuma
On Sun, May 01, 2022 at 12:56:50PM +0200, Yan Doroshenko wrote:
> Hello,
> 
> 
> I'm using DWM on two monitors with cool_autostart patch and in the autostart
> array I'm running xrandr to set the monitor layout.
> 
> Quite often a situation happens when the second monitor is enabled (arandr
> displays it as active and in correct position, feh sets the background on
> it), but is unrecognized by DWM (there's no panel on it and windows can not
> be moved onto it). Any change in display layout fixes the issue and DWM
> recognizes the second screen.
> 
> 
> Do you have any ideas as to why it can be happening?
> 
> 
> Thanks,
> 
> Yan
> 

Can you try the latest git version (without patches)?

-- 
Kind regards,
Hiltjo


signature.asc
Description: PGP signature


[dev] [dwm] Multihead Issues Autostart

2022-05-01 Thread Yan Doroshenko

Hello,


I'm using DWM on two monitors with cool_autostart patch and in the 
autostart array I'm running xrandr to set the monitor layout.


Quite often a situation happens when the second monitor is enabled 
(arandr displays it as active and in correct position, feh sets the 
background on it), but is unrecognized by DWM (there's no panel on it 
and windows can not be moved onto it). Any change in display layout 
fixes the issue and DWM recognizes the second screen.



Do you have any ideas as to why it can be happening?


Thanks,

Yan



OpenPGP_signature
Description: OpenPGP digital signature