OS: Ubuntu 20.04
Qtile: 0.15.1 (specifically commit 63d5b3fb)

I want to setup a testing environment with Qtile in a separate X session.

I am following this:

http://docs.qtile.org/en/latest/manual/hacking.html#second-x-session

And I chose to combine it with this approach 

http://docs.qtile.org/en/latest/manual/install/index.html#qtile (the 
virtualenv part at the bottom)

So I have 2 files:

qtile-entry
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source $DIR/qtile/.venv/bin/activate
qtile $*


qtile-xinitrc
#!/bin/sh
exec /path/to/qtile-entry

($DIR/qtile is a git repo of Qtile including a virtualenv)

Starting from my initial window manager running at tty1, I press 
ctrl+alt+f5 and run

startx /path/to/qtile-xinitrc


The screen goes black, the cursor appears, but then nothing else.
I tried to press mod+enter a couple of times, hoping to see a terminal 
appear, but nothing happens. 
Initially I just thought that my setup had an error, but then I went back 
to the initial window manager with ctrl+alt+f1 and there was 5-6 terminals 
that had not been there initially!


Qtile logs:

2020-04-27 08:56:29,865 WARNING libqtile xcursors.py:_setup_xcursor_binding
():L112 xcb-cursor not found, fallback to font pointer
2020-04-27 08:56:29,952 WARNING libqtile utils.py:safe_import():L191 Unmet 
dependencies for '.widget.launchbar.LaunchBar': No module named 'xdg'
2020-04-27 08:56:29,953 WARNING libqtile utils.py:safe_import():L191 Unmet 
dependencies for '.widget.mpriswidget.Mpris': No module named 'dbus'
2020-04-27 08:56:29,953 WARNING libqtile utils.py:safe_import():L191 Unmet 
dependencies for '.widget.mpris2widget.Mpris2': No module named 'dbus'
2020-04-27 08:56:29,955 WARNING libqtile utils.py:safe_import():L191 Unmet 
dependencies for '.widget.mpd2widget.Mpd2': No module named 'mpd'
2020-04-27 08:56:29,957 WARNING libqtile utils.py:safe_import():L191 Unmet 
dependencies for '.widget.wlan.Wlan': No module named 'iwlib'
2020-04-27 08:56:29,958 WARNING libqtile utils.py:safe_import():L191 Unmet 
dependencies for '.widget.khal_calendar.KhalCalendar': No module named 
'dateutil'
2020-04-27 08:56:29,958 WARNING libqtile utils.py:safe_import():L191 Unmet 
dependencies for '.widget.imapwidget.ImapWidget': No module named 'keyring'
2020-04-27 08:56:29,959 WARNING libqtile utils.py:safe_import():L191 Unmet 
dependencies for '.widget.keyboardkbdd.KeyboardKbdd': No module named 'dbus'
2020-04-27 08:56:29,962 WARNING libqtile utils.py:safe_import():L191 Unmet 
dependencies for '.widget.pulse_volume.PulseVolume': No module named 
'libqtile.widget._pulse_audio'
2020-04-27 08:56:29,973 WARNING libqtile manager.py:setup_eventloop():L264 
importing dbus/gobject failed, dbus will not work.
Nothing noteworthy, in my opinion. I will fix the dependencies later when 
things are working.


startx seems to do the right thing, at least in terms of calling xinit. 
This is how it appeared when running `ps -aux | grep qtile`:


xinit /path/to/qtile-xinitrc -- /etc/X11/xinit/xserverrc :1 vt5 -keeptty -auth 
/tmp/serverauth.<...>


Killing the xinit and going back to ctrl+alt+f5 leaves some text like

ing AIGLX clients for VT switchxinit: connection to X server lostswitch(II) 
AIGLX: Suspending AIGLX clients for VT ...




Interesting side-note:

When I try to run Qtile in Xephyr using the ./scripts/xephyr, it works but 
almost every window I spawn is spawned in the parent X session (Ubuntu 
20.04 default window manager). Perhaps this is related.


Interesting side-note 2:

I am currently running a 1 monitor setup with a monitor plugged into my 
laptop and the laptop's lid is closed. Perhaps the two displays, one of 
which is disabled, confuses things. I need to investigate that more.


Any ideas?


Thanks in advance!


Best regards
Peter

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/0e9d5be8-e25f-4cd5-abf8-7d054c85808e%40googlegroups.com.

Reply via email to