You are not logged in.

#1 2019-10-30 15:32:40

stanek.94
Member
Registered: 2015-01-18
Posts: 3

Cannot run many applications from terminal when using Sway

Hello everyone.

- I am using Arch linux and Sway 1.2. I have got integrated Intel GPU. I use zsh as my sh.
- I cannot run most of the applications. I run them from terminal and nothing appears.
- Only app I can run is Transmission (both in GTK and QT), gitg and Thunar.
- I have got `QT_QPA_PLATFORM=wayland` exported, tried many combination but I doesn't help.
- Same thing happens when I try to run `j4-dmenu-desktop`, I just get `Read 40 .desktop files, found 29 apps.` and no new window appear.
- The worst is when I try to run VLC, I got version printed out but it halts and I cannot kill it with CTRL+C, I have to close the terminal.
- Sway is started from `.zprofile` by `exec sway`
- I tried many apps such as google-chrome, libre-office, vlc

I have no clue how to find the issue. Could anyone give a hand, please?

Offline

#2 2019-10-30 15:41:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,406

Re: Cannot run many applications from terminal when using Sway

Install xorg-server-xwayland. I'm sure that google-chrome doesn't work natively, I'm fairly certain libre-office doesn't and AFAIK VLC also had some issues.

Offline

#3 2019-10-30 22:40:34

Mortimer Houghton
Member
Registered: 2014-09-28
Posts: 89

Re: Cannot run many applications from terminal when using Sway

Libreoffice works fine in Sway.  Google Chrome does not.  I'm not sure about VLC, but I know that mpv works fine.

You should have "xwayland disable" in your sway config if you want to tell applications to not look for x11.  Also, you need the following environment settings:

/etc/environment

QT_QPA_PLATFORM=wayland-egl
MOZ_ENABLE_WAYLAND=1

The first is for qt5 apps and the second is for Firefox

Offline

Board footer

Powered by FluxBB