You are not logged in.
Pages: 1
So every now and then an application I run will resize my screen resolution against my will. Thats all well and dandy, but it screws up DWM as you can see by this screenshot. My question is, is there a way to refresh dwm or to get it back somehow? Its kind of annoying.
Last edited by qpfiffer (2012-03-27 11:20:44)
Offline
I've never experienced an exact issue myself, but after modifying some settings I reload dwm with the following shortcut:
{ MODKEY|ControlMask, XK_q, quit, {.i = 23} },This assumes you're running dwm in a loop:
while true
do
/usr/bin/dwm 2> /dev/null
doneLast edited by bohoomil (2012-03-27 12:02:49)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
bohoomil has the right approach. You could also try just toggling the bar to see if that has any effect.
I am also curious about a) which applications do this, and b) how you generate your statusbar.
Offline
a) which applications do this, and b) how you generate your statusbar.
Interestingly enough toggling the status bar does not help. It just hides the status bar, and then when I bring it back the black un-refreshed chunk of the bar is still there.
a) Its usually wine applications that decide to resize the screen to some default value.
b) I guess by "generate", here is my .xinitc:
#!/bin/bash
eval $(cat ~/.fehbg) &
#google-musicmanager &
imwheel & # Because chromium scrolls like a fucking dead person
wine ~/.wine/drive_c/Program\ Files/Steam/steam.exe &
pidgin &
/usr/bin/dropbox start &
chromium-browser &
while true
do
LOCALTIME=$(date)
xsetroot -name "$LOCALTIME"
sleep 5s
done &
exec dwmI think I'll adopt the looping dwm thing and see if that helps.
Offline
Pages: 1