Skip to content

Commit

Permalink
force x11 backend under wayland
Browse files Browse the repository at this point in the history
fix #1340
fix #1012
fix #1224
fix #1109
  • Loading branch information
gsemet committed Jun 6, 2018
1 parent 9f8b35d commit 51aa791
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ install-guake:
# sudo make install
@echo "Installing from on your system is not recommended."
@echo "Please prefer you application package manager (apt, yum, ...)"
@/usr/bin/env python3 -m pip install -r requirements.txt
@$(PYTHON_INTERPRETER) -m pip install -r requirements.txt

@if [ -f guake/paths.py.dev ]; then rm -f guake/paths.py.dev; fi
@if [ -f guake/paths.py ]; then mv guake/paths.py guake/paths.py.dev; fi
Expand Down
3 changes: 3 additions & 0 deletions guake/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ def main():
# Force to xterm-256 colors for compatibility with some old command line programs
os.environ["TERM"] = "xterm-256color"

# Force use X11 backend underwayland
os.environ["GDK_BACKEND"] = "x11"

# do not use version keywords here, pbr might be slow to find the version of Guake module
parser = OptionParser()
parser.add_option(
Expand Down

0 comments on commit 51aa791

Please sign in to comment.