You are not logged in.

#1 2021-09-27 14:36:47

mallocman
Member
Registered: 2012-08-16
Posts: 24

DWM main window focus

Hello,

I have a strange problem with main DWM xwindow focus using a clean DWM 6.2 installation.

The issue is that when starting DWM with startx command on TTY2, the keyboard does not work until moving a mouse cursor and clicking anywhere on the screen.
After that, keyboard and shortcuts start working as expected.
I have searched on the internet and could not find a solution or a similar issue.

.xinitrc:

exec dwm

Thank you in advance.

Offline

#2 2021-09-27 16:01:53

Skunky
Member
Registered: 2018-01-25
Posts: 230

Re: DWM main window focus

First of all you should configure your Xinitrc properly

Offline

#3 2021-10-03 17:14:32

mallocman
Member
Registered: 2012-08-16
Posts: 24

Re: DWM main window focus

Thank you, it fixed the problem.

Offline

#4 2021-10-03 22:20:26

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: DWM main window focus

Please remember to mark your thread [SOLVED] (edit the title of your first post).


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB