redhog / InfiniteGlass

Window manager with infinite desktop, infinite zoom and infinite window resolution
https://redhog.github.io/InfiniteGlass/
GNU General Public License v3.0
35 stars 5 forks source link

Sub-items / relatively positioned windows #53

Closed redhog closed 4 years ago

redhog commented 4 years ago
redhog commented 4 years ago

This is a workaround for https://github.com/redhog/InfiniteGlass/issues/51

IanTrudel commented 4 years ago
Successfully built 0ca989a2cd2d
Successfully tagged redhogorg/glass:0.0.2
su: System error

uh?

IanTrudel commented 4 years ago

I really don't know what happened. Master builds and run without problems but the branch ig-item won't. Keep getting the "su: System error". Then running docker run -it redhogorg/glass:0.0.2 ends up with....

Xephyr cannot open host display. Is DISPLAY set?
xinit: giving up
xinit: unable to connect to X server: Cannot assign requested address
xinit: server error
Makefile:47: recipe for target 'run' failed
make: *** [run] Error 1
IanTrudel commented 4 years ago

Update. Tried the full command line directly, seems to be working. Though I'm not seeing any window decorations. Why does it work with the command line but not the bash script... mystery?

  docker run \
          --name glass \
          -m 2gb \
          -ti \
          --ipc=host \
          -v ~/.config/glass:/home/glass/.config/glass \
          -v /tmp/.X11-unix:/tmp/.X11-unix \
          -v /tmp/.docker.xauth:/tmp/.docker.xauth \
          -e XAUTHORITY=/tmp/.docker.xauth \
          -e DISPLAY=:0 \
          $IMAGE
IanTrudel commented 4 years ago
 bash -x ./scripts/run-in-docker.sh
+ IMAGE=redhogorg/glass:0.0.2
+ '[' '' == clean ']'
++ docker images -q redhogorg/glass:0.0.2
+ '[' dccbd993e2b8 == '' ']'
+ mkdir -p /home/ian/.config/glass
+ xauth nlist :0
+ sed -e 's/^..../ffff/'
++ docker ps -a -q -f name=glass
+ '[' '!' 0d6fd1d92d0a ']'
+ docker start -a -i glass
su: System error
IanTrudel commented 4 years ago

Completely removed docker.

Reinstalled docker.

Victory.