Nvidia User. NO $DISPLAY VARIABLE
Hello . I'm in Arch with zen kernel. I have installed nvidia-drivers. I just found out I have no $DISPLAY variable set. Echoing $DISPLAY results blank. I have removed /etc/environment file. I wanted to run a pure Wayland session so I have not installed xorg-xwayland
Can't open glxgears nor vkcube.
glxgears:
couldn't open display (null)
vkcube:
Environment variable DISPLAY requires a valid value.
Is Xwayland running? If you have xwayland disable in your sway config, comment it out.
As other comments say, DISPLAY is an xorg thing.
Is there a good reason not to use xwayland? I don't even notice which apps are wayland-native and which are xorg. Why disable a compatibility layer?
I was using gdm to start sway. I installed greetd and gtkgreet using the arch wiki config with sway.
I can log in fine, and the greetd config has swaymsg exit:
`exec "gtkgreet -l; swaymsg exit"`
But after I log in to my user session, the dbus for the greeter session keeps running and pipewire, xdg-portal, polkit, the accessibility dbus, gnome-keyring, gvfs. All that stuff keeps running for the greeter user.
If I log into my normal user with sway, it runs all that stuff for the normal user. If I log out of sway it goes back to greetd, but also leaves all that stuff running for the normal user that I logged out.
How do I terminate that stuff when sway exits?
UPDATE:
using KillUserProcesses=yes in login.d works for the greeter user but not for the normal user. (see https://www.reddit.com/r/swaywm/comments/v0g2yo/comment/iaj75u7/?utm_source=share&utm_medium=web2x&context=3)
meh...it wasn't working for the normal user because I was logged in through ssh, so not fully logged out on that user.
Done.
Hi everybody, I am using EndeavourOS, Sway spin, and I am trying to make my waybar look like a powerline. No matter what font I use, what config I take, I cannot manage to do what I want, there is always space between the triangles needed to make the powerline.
Here is my config. You can find the two tries that I saved. The current config and style.css are not powerline.
Here is a screenshot of the problem.
Edit: [Solved] - there were a couple of problems:
for colors the issue was with the GTK theme, solved by changing it in the
swaywm configfor triangles distance, the problem was padding, I had to explicitly put it as
0pxto get rid of the bottom "border" I had to delete the
box-shadowonstyle.css
Thanks for everyone's advice!
About Community
Similar to this post
r/swaywm
A list of sway-specific apps & scripts100%351/8/2021r/archlinux
Which tiling wm looks the best out the box for a newbie?91%898/26/2020r/pop_os
Nvidia-driver-515-open install error80%13Oct 14r/Fedora
NVIDIA Drivers, Wayland & Monitor refresh rate100%2712/21/2021- r/linux4noobsNvidia-settings PowerMizerMode set on startup to performance100%34/18/2021
r/AV1
Nvidia codec headers updated100%14Nov 2r/openSUSE
NVIDIA proprietary driver install issue83%6Oct 25r/swaywm
Introducing SwayFX: Sway, with eye candy!98%235dr/swaywm
Since we're posting sway rices, here's mine98%136dr/swaywm
vim-sway-nav: Seamless navigation between Sway windows...100%418hr/swaywm
[SwayFX] Gruvbox and rounded corners97%84dr/swaywm
Sway is looking not to bad100%16dr/swaywm
Zoom meetings in Sway92%352dr/swaywm
Sfwbar 1.0_beta991%71dr/swaywm
Similar tool like Greenshot?100%132d