You are not logged in.

#1 2015-12-29 23:07:29

zabrielza
Member
Registered: 2015-03-02
Posts: 125

KDE application like Dolphin On awesome wm standalone

I am trying to configure awesome wm on my system without a DE. I like using several KDE applications. I am using dolphin for instance but I have problems with icons. I have read this and this.

I am posting here some screenshots.

Screenshot_20151230_005637.jpg

When dolphin is executed with this

QT_QPA_PLATFORMTHEME="qt5ct" dolphin

with breeze icons selected

Screenshot_20151230_010006.jpg

As you can see, some directories have icons and some other don't. What Can I do ?

Offline

#2 2015-12-30 13:24:55

kicka
Member
From: Sicily / Italy
Registered: 2012-10-18
Posts: 31

Re: KDE application like Dolphin On awesome wm standalone

I don't know about awesome because i use openbox but i think they are quite the same (at least we had the same problem).

First things first...

QT_QPA_PLATFORMTHEME="qt5ct" dolphin    -----> Only Graphic appearance. No single click to open folders or file (Even if you had it setted in KDE5 system settings).
QT_QPA_PLATFORMTHEME="kde" dolphin      -----> Same as "qt5ct" but now dolphin knows about kde configuration (This means single click if you choose that.).

That said, some not KDE applications are still QT5 applications, like qbittorrent, may have a problem if you choose "kde" option over "qt5ct".
Launching that program with qt5ct resolves the problem, for example with:

QT_QPA_PLATFORMTHEME="qt5ct" qbittorrent

Now, let's go down all the graphics settings:
- configure GTK2    (use lxappearance for example)
- configure GTK3    (use dconf-editor)
- configure QT4       (use qtconfig-qt4)
- configure QT5       (use qt5ct)
- configure KDE5    (use systemsettings5)

All these program need to be launched as root as well, to configure the settings and graphic for the root user too and not just the single user.

Hint:   Try to use same icon theme, same fonts, same colors.

You may need also qtchooser installed. Once installed go to /etc/xdg/qtchooser and open the file 5.conf
change the path from:

/usr/lib/qt/bin

to

/usr/lib/qt5/bin

Save and close the file.
Now, for your specific problem try to install from dolphin the oxyfaenza icons. and make them as your default icons.

export these variables (i had in .xinitrc)

# WINDOWS MANAGER AND DESKTOP ENVIRONMENT:
# -- Window manager
export XDG_CURRENT_DESKTOP="kde"
# -- Desktop Environment
export DESKTOP_SESSION="kde"
export DE="kde"

# QT:
# -- QT icon Settings
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
# -- Options and characters
export QT_XFT="true"
# -- Default QT version in qtchooser (Arch suggest "4", but i have no problem settings QT5 as default QT)
export QT_SELECT="5"
# -- KDE-QT5 settings
export QT_QPA_PLATFORMTHEME="kde"
# -- Only QT5 settings
#export QT_QPA_PLATFORMTHEME="qt5ct"
# -- For pure QT4 application (non KDE4) to find KDE's styles.
#    This line is here for compatibility issues, there are still kde4 applications that are not upgraded to kde5.
#    Feel free to comment it out.
export QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/

PS: As you can see i'm setting QT_QPA_PLATFORMTHEME="kde" by default, this means that you can simply run dolphin instead of

QT_QPA_PLATFORMTHEME="kde" dolphin

Now we need one last thing... we need to pass these variables exported to the sudo user too.

sudo su
EDITOR=nano visudo

add:

Defaults env_keep += "QT_QPA_PLATFORMTHEME QT_XFT QT_SELECT QT_PLUGIN_PATH XDG_CURRENT_DESKTOP DE DESKTOP_SESSION"

Save it and exit.

Now you have GTK2, GTK3 QT4, QT5 and KDE configured.

Let me know if it works...

Last edited by kicka (2015-12-30 13:40:09)

Offline

#3 2016-01-01 13:37:49

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: KDE application like Dolphin On awesome wm standalone

Thank you for this very detailed reply. I have done everything you said but something is going wrong. I have tried breeze-icons, nitrux, faenza but none of theme works. Here is a screenshot

Screenshot_20160101_153520.jpg

Also, This is .xinitrc

  GNU nano 2.5.0                  File: .xinitrc                                          

# WINDOWS MANAGER AND DESKTOP ENVIRONMENT:
# -- Window manager
export XDG_CURRENT_DESKTOP="kde"
# -- Desktop Environment
export DESKTOP_SESSION="kde"
export DE="kde"

# QT:
# -- QT icon Settings
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
# -- Options and characters
export QT_XFT="true"
# -- Default QT version in qtchooser (Arch suggest "4", but i have no problem settings QT$
export QT_SELECT="5"
# -- KDE-QT5 settings
export QT_QPA_PLATFORMTHEME="kde"
# -- Only QT5 settings
#export QT_QPA_PLATFORMTHEME="qt5ct"
# -- For pure QT4 application (non KDE4) to find KDE's styles.
#    This line is here for compatibility issues, there are still kde4 applications that a$
#    Feel free to comment it out.
export QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/


avant-window-navigator &
compton -bfzcCG --backend glx --vsync opengl-swc --paint-on-overlay -D5
-r6 -l-8 -t-8 &
#compton --backend glx --paint-on-overlay --vsync opengl-swc &
udiskie -asn &
wicd-client --tray &
qxkb &
exec awesome

With this .xinitrc fonts changed.

Offline

Board footer

Powered by FluxBB