i3 under Qubes 4 RC3

265 views
Skip to first unread message

a...@it-minds.dk

unread,
Jan 25, 2018, 8:38:37 AM1/25/18
to qubes-users
Hey all,

I installed i3 when first set up my machine, but I can't seem to get it working..

Has anyone else experienced issues with i3?

In my case, no applets are shown in the bar and I cannot start any programs from VM's (any VM).

If I run qvm-ls, it shows that VM's are running, and if I try to do somethings like qvm-run <appVM> firefox, my CPU responds.

Just a peculiar issue, but makes i3 unusable for me nonetheless..

Any feedback appreciated :)

Cheers!

Kevin Martinsen

unread,
Jan 25, 2018, 2:17:48 PM1/25/18
to qubes-users
i3 has been working fine for me.

Did you follow the installation instructions on https://www.qubes-os.org/doc/i3/? Specifically:
$ sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing i3-settings-qubes

What do you mean you cannot start any programs from vms? How are you trying to start programs? For me I have mod4+d to use dmenu. And do you mean to say that qvm-run works correctly?

a...@it-minds.dk

unread,
Jan 26, 2018, 4:18:18 AM1/26/18
to qubes-users
Den torsdag den 25. januar 2018 kl. 20.17.48 UTC+1 skrev Kevin Martinsen:
> i3 has been working fine for me.
>
> Did you follow the installation instructions on https://www.qubes-os.org/doc/i3/? Specifically:
> $ sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing i3-settings-qubes

Yesh, I have followed those steps (but please also note that the documentation is related to 3.2, and as such it might be that i3 has actually been bumped to the stable repos, but I don't know :)



> What do you mean you cannot start any programs from vms? How are you trying to start programs? For me I have mod4+d to use dmenu. And do you mean to say that qvm-run works correctly?

My dmenu is broken, for starters. Dmenu only shows dom0 applications, so I cannot start anything that way.
When I run qvm-run to start something, I can see that my VM is started (with qvm-ls) and I can hear my CPU responding (as in it starts fanning), but nothing visually happens. Nothing is ever started.

[799]

unread,
Feb 21, 2018, 9:38:15 PM2/21/18
to qubes...@googlegroups.com
Hello,


-------- Original-Nachricht --------

An 26. Jan. 2018, 10:18, aaq via qubes-users schrieb:

> My dmenu is broken, for starters. Dmenu only
> shows dom0 applications, so I cannot start
> anything that way.
> When I run qvm-run to start something, I can
> see that my VM is started (with qvm-ls) and I
> can hear my CPU responding (as in it starts
> fanning), but nothing visually happens.
> Nothing is ever started.

Same problem for me, but I haven't found a solution. Using Qubes 4rc4 but i3 is not working like it has under Qubes 3.2.

Anyone else using i3 under Q4rc4?

[799]

Florian Brandes

unread,
Feb 22, 2018, 3:09:11 AM2/22/18
to qubes...@googlegroups.com
Hi,

yes I use i3 under Q4rc4 without any issues or problems.
(Only thing I added/changed is case insensitivity for dmenu with -i option and changed the qube count command and the free disk space command in i3status)
Besides that, it worked out of the box for me (following the provided instructions concerning i3 on qubes).
I use Qubes4rc4 on two maschines, both work without a flaw concerning i3.

Regards,
Florian

[799]

unread,
Feb 22, 2018, 4:39:58 PM2/22/18
to florian...@gmx.de, qubes...@googlegroups.com
Hello Florian

-------- Original-Nachricht --------

An 22. Feb. 2018, 09:07, Florian Brandes schrieb:

> I use i3 under Q4rc4 without any issues
> or problems.

Would you mind sharing your i3-config files?

[799]

Florian Brandes

unread,
Feb 23, 2018, 2:00:57 AM2/23/18
to qubes...@googlegroups.com
Hi,

not at all. config file taken from /home/dom0user/.config/i3/config

The only line I changed from the default setup is:
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu="dmenu -i -nb #d2d2d2 -nf #000000 -sb #63a0ff"

where I added the "-i" option.

I also added the /usr/bin/qubes-i3status bash script.

I changed

local qubes=$(qvm-ls 2>/dev/null | grep ' \* ' | wc -l)
to
local qubes=$(qvm-ls 2>/dev/null | grep 'Running ' | wc -l)


and
local disk=`df -h / | tail -n 1 | awk '{print $4}'`
to
local disk=`sudo lvs --noheadings -o lv_size,data_percent /dev/mapper/qubes_dom0-pool00 | perl -pe 's/\s*([0-9.]+)([a-zA-Z]*)\s+([0-9.]+).*/sprintf("%.1f%s", ($1 * (100 -$3) \/ 100.0), $2)/e'`

Both are attached.

Regards,

Florian






config
qubes-i3status
Reply all
Reply to author
Forward
0 new messages