You are not logged in.

#1 2013-11-12 15:24:10

fede
Member
Registered: 2007-06-29
Posts: 126

Openbox: open windows freeze after using xrandr

Hello,

After executing these xrandr commands, all windows open in openbox freeze. Openbox still works, and so does the taskbar (tint2) and tray. I can terminate all processes manually and start them again to continue working, or logout and log back in.

I use these commands to manually switch displays after docking / undocking my laptop, so it's a pain that makes me think twice before taking my laptop away from the workstation.

Can you help me find out what I'm doing wrong?

The xrandr commands are:

xrandr --output DP3 --off --output DP2 --off --output DP1 --off --output HDMI3 --off --output HDMI2 
--mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output LVDS1 --off --output VGA1 --off
xrandr --output DP3 --off --output DP2 --off --output DP1 --off --output HDMI3 --off --output HDMI2 --off --output HDMI1 
--off --output LVDS1 --mode 1600x900 --pos 0x0 --rotate normal --output VGA1 --off

Both where generated using the save option in arandr.
I'm not using a display manager. My .xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
compton -bfzcCG --backend glx --vsync opengl-swc --paint-on-overlay -D5 -r6 -l-8 -t-8
exec openbox-session

Thanks for your help!

Last edited by fede (2013-11-12 15:26:23)

Offline

#2 2013-11-18 15:49:39

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Openbox: open windows freeze after using xrandr

It looks like compton is the culprit: https://bbs.archlinux.org/viewtopic.php?id=154387

Offline

Board footer

Powered by FluxBB