You are not logged in.

#1 2016-11-21 13:59:50

Fethbita
Member
Registered: 2016-11-21
Posts: 4

dwm with Steam games

Hello everyone, I switched to full time Arch Linux a couple of days ago and configured my system to my liking. But there is a problem I'm having regarding the fullscreen Steam games. I'm using dwm and if I open CSGO from Steam, I can see the game, I can't control the ingame cursor but I can only control my system cursor. I can't close the game or switch to another tag, and I can't even reach my second monitor.
Also when I open Steam and press the minimize button, I can't control it again. I can't click anywhere on the Steam screen and I can't do anything. How can I solve these?

Offline

#2 2016-11-21 23:45:51

Fethbita
Member
Registered: 2016-11-21
Posts: 4

Re: dwm with Steam games

Adding -sw as recommended here to the launch options seems to solve the issue partially. But I want to play the game stretched on a lower resolution so I have yet to solve the problem. Also couldn't find any solution to minimize issue as well.

Offline

#3 2016-11-24 00:38:12

Fethbita
Member
Registered: 2016-11-21
Posts: 4

Re: dwm with Steam games

I couldn't solve the problem but I installed Openbox to play games. I removed -sw option from the Launch Options. I added this code to my ~/.xinitrc file.

session=${1:-dwm}
case $session in
		dwm)
			exec dwm
			;;
		openbox)
			exec openbox-session
			;;
esac

I added this code to ~/.config/openbox/autostart

xrandr --output HDMI-0 --mode 1280x1024 --output VGA-0 --mode 1280x1024 --right-of HDMI-0
steam-native &
mumble &

xrandr is for the resolution. If I just type "startx", I am greeted by dwm as I wanted. If I type "startx ~/.xinitrc openbox", I can enter my game setup. Maybe this can help someone.

Offline

#4 2016-11-24 09:53:23

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: dwm with Steam games

FWIW, I don't have any problem playing CS:GO on i3 window manager. Perhaps you might want to give that a try instead of dwm.

Offline

#5 2016-11-24 14:35:40

Fethbita
Member
Registered: 2016-11-21
Posts: 4

Re: dwm with Steam games

x33a wrote:

FWIW, I don't have any problem playing CS:GO on i3 window manager. Perhaps you might want to give that a try instead of dwm.

Yes, I have seen that i3wm doesn't have problems with games, and I'm thinking about trying it out sometime. Thank you.

Offline

Board footer

Powered by FluxBB