You are not logged in.
Hi I tried to set up variables like this https://wiki.archlinux.org/index.php/Qt … KDE_Plasma but is not working. I also tried to set up variables via .zshrc and .xinitrc
export XDG_CURRENT_DESKTOP=KDE
export KDE_SESSION_VERSION=5
export QT_QPA_PLATFORMTHEME="qt5ct"But still, opened apps via rofi doesn't have icons. What to do?
Last edited by x1site (2018-01-01 14:40:38)
awesome + rofi
Offline
How do you start X? Do you have qt5ct installed? Have you used it? Or are you using the KDE tools? These are an either-or, so you shouldn't try to do both.
And do programs opened other than by rofi have proper icons?
Last edited by Trilby (2018-01-01 13:45:06)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
How do you start X?
SDDM
Do you have qt5ct installed? Have you used it?
Yes. I also tried without it (because my previous installation worked without it)
And do programs opened other than by rofi have proper icons?
Via konsole (zsh) have proper icons
awesome + rofi
Offline
SDDM
That's the problem. SDDM doesn't source any of the files where you are putting those variables. You'll have to set variables in SDDMs enviornment, or use a better method of starting X.
Via konsole (zsh) have proper icons
Yup, because when you start a programs from a shell, the above files have been sourced. So the environment variables in the wiki are working as advertised: you are just not setting them for your AwesomeWM session which rofi inherits from.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
x1site wrote:SDDM
That's the problem. SDDM doesn't source any of the files where you are putting those variables. You'll have to set variables in SDDMs enviornment, or use a better method of starting X.
But somehow I made it to work. (with sddm)
awesome + rofi
Offline
But somehow I made it to work. (with sddm)
So it works now but you don't know what you did? It certainly should be possible. Perhaps in Evironment= settings in the service file.
In any case, if you've got it working, remember to mark the thread as SOLVED.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
x1site wrote:But somehow I made it to work. (with sddm)
So it works now but you don't know what you did?
Exactly
awesome + rofi
Offline
It certainly should be possible. Perhaps in Evironment= settings in the service file.
I didn't do anything with sddm configuration. (I have working solution on my old hdd)
awesome + rofi
Offline
I find out answer in /usr/share/sddm/scripts/Xsession.
I just add my three strings in ~/.xprofile (also I changed qt5ct to kde, due to I have installed plasma, and I also start some plasma services for changing keyboard layouts)
awesome + rofi
Offline