Re: Dolphin loses UI settings when restarted
On Sunday July 01 2018 12:33:19 Florian Lindner wrote: >$QT_QPA_PLATFORMTHEME = kde >$KDE_FULL_SESSION = 1 >$KDE_SESSION_VERSION = 5 > >Some system tray icons do not owrk anymore. Most notably kmail and Nextcould. >Other apps, like Dropbox, udiskie, Redshift-GTK are working. So I guess there >is some KDE way of using the systray, kmail and nextcloud try to use that and >it does not work with the standard way i3 is using. > >Any idea? Yeah, this can be a side-effect: KDE desktops use a slightly different method for the systray, one that uses dbusmenu-qt. If memory serves me well this is done by the plasma-integration plugin. 2 solutions: - find a plugin/extension for your desktop that supports this method; I know one exists for the XFCE-panel for instance - uninstall or otherwise disable the plasma-integration plugin ($prefix/share/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so). As I mentioned previously, Qt contains a built-in emulation of the plasma-integration plugin that basically applies the settings in your kdeglobals file. You may not get the KDE file dialogs and I'm almost certain you won't get the different systray behaviour, but things like widget style, colour and icon themes should be applied. NB: you should keep the same 3 env. variables set. R.
Re: Dolphin loses UI settings when restarted
Hey, another problem surfaced when $QT_QPA_PLATFORMTHEME = kde $KDE_FULL_SESSION = 1 $KDE_SESSION_VERSION = 5 Some system tray icons do not owrk anymore. Most notably kmail and Nextcould. Other apps, like Dropbox, udiskie, Redshift-GTK are working. So I guess there is some KDE way of using the systray, kmail and nextcloud try to use that and it does not work with the standard way i3 is using. Any idea? Best, Florian Am Montag, 25. Juni 2018, 18:21:59 CEST schrieb René J.V. Bertin: > On Monday June 25 2018 17:21:14 Florian Lindner wrote: > > AFAIK KF5 applications handle their own settings including those pertaining > to the UI and window size (but not window placement, on Linux). > Still, your best bet would be to install and try a minimal Plasma5 desktop to > see if your problem exists there too, with and without: > >export QT_QPA_PLATFORMTHEME="qt5ct" > > What is that theme? You know that you can use the plasma-integration platform > theme plugin even if you don't run the Plasma5 desktop, right? That may > improve certain things for you. > > >export > > QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/ > > Those are KDE4 settings, which have no effect on Dolphin 18.x. I don't think > the setting can hurt though. > > R. >
Re: Dolphin loses UI settings when restarted
René J.V. Bertin posted on Wed, 27 Jun 2018 22:59:04 +0200 as excerpted: >>BTW: Do you have any idea how to set dolphin to select on double click, >>not single click. I was looking at `kcmshell5 --list` but couldn't find >>the right module. Or is there even a command to get the KDE system >>settings GUI? > > Try system-settings. The setting you look for exist, but I always forget > where. You can also set if directly in ~/.config/kdeglobals: set > SingleClick=false in the KDE section. NB: your KDE4 applications > probably use a file of the same name that lives in > ~/.kde*/share/config/kdeglobals . It's systemsettings5 In kde system settings, in the left column it's under workspace, desktop behavior, middle column workspace, right column click behavior. To load that specific kcontrol module in kcmshell5, try: kcmshell5 kcm_workspace -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman
Re: Dolphin loses UI settings when restarted
On Thursday June 28 2018 02:49:39 J Leslie Turriff wrote: > This behaviour is the wonderful thing about the apparent current > mindset of >the KDE developers, that the KDE desktop is no longer something for >end-users, but just a toy for the edification of its developers. Continuity? >Usability? Bah, who needs that? Here's some eye-candy instead. I wish I could say I disagree ...
Re: Dolphin loses UI settings when restarted
On 2018-06-27 03:24:36 René J.V. Bertin wrote: > >Is there some KDE wiki site that can be used to document that? Is > > https://userbase.kde.org the right place? > > Presumably, or the forums. Cross your fingers though that this doesn't irk > someone who feels that KDE look-and-feel should be exclusive to the Plasma > desktop. I know there's at least 1 dev who already told me he planned to > take down some comparable backdoor, "just because he could". This behaviour is the wonderful thing about the apparent current mindset of the KDE developers, that the KDE desktop is no longer something for end-users, but just a toy for the edification of its developers. Continuity? Usability? Bah, who needs that? Here's some eye-candy instead.
Re: Dolphin loses UI settings when restarted
On Wednesday June 27 2018 22:15:58 Florian Lindner wrote: >KDE_FULL_SESSION and KDE_SESSION_VERSION=5 are not set. If they are set, >everything seems to work. Figures, you need at least the full_session variable. >florian@horus ~ % dolphin >"Session bus not found\nTo circumvent this problem try the following command >(with Linux and bash)\nexport $(dbus-launch)" >Of course, dbus is started using systemd / logind, other applications >depending of dbus are working. But is DBUS_SESSION_BUS_ADDRESS set in the shell from which you launch dolphin? If not, it won't find the dbus to connect to. >florian@horus ~ % kmail >org.kde.pim.akonadicontrol: Unable to register service as >"org.freedesktop.Akonadi.Control.lock" Maybe it's already running? >Error loading text-to-speech plug-in "speechd" >QSystemTrayIcon::setVisible: No Icon set >QSystemTrayIcon::setVisible: No Icon set >QSystemTrayIcon::setVisible: No Icon set >[... goes on forever and ever... until I Ctrl-C] I cannot help you with that, sorry. Maybe ask on the kdepim-users ML? >Well, that is sad. Especially since KDE is not the KDE desktop anymore, but >the KDE software collection, which, as far as my perception goes, should be >independent of the Plasma desktop. They are, but if you don't use the plasma-integration plugin and/or don't set the variables mentioned above, KDE applications will simply look like Qt applications, and won't use the font, colour, icon etc. settings defined for the plasma desktop. I agree with you that this aspect should also be independent of what kind of desktop you run. That's why I answered your question :) >BTW: Do you have any idea how to set dolphin to select on double click, not >single click. I was looking at `kcmshell5 --list` but couldn't find the right >module. Or is there even a command to get the KDE system settings GUI? Try system-settings. The setting you look for exist, but I always forget where. You can also set if directly in ~/.config/kdeglobals: set SingleClick=false in the KDE section. NB: your KDE4 applications probably use a file of the same name that lives in ~/.kde*/share/config/kdeglobals . R.
Re: Dolphin loses UI settings when restarted
Am Mittwoch, 27. Juni 2018, 10:24:36 CEST schrieb René J.V. Bertin: > On Wednesday June 27 2018 08:57:58 Florian Lindner wrote: > > >Only setting QT_QPA_PLATFORMTHEME=kde makes dolphin crash at the first > >startup (second try always works) and sends kmail > >into in infinite loop at start, I already tried that some time ago. > > That's strange, and probably a bug. The plasma integration plugin does not > have runtime dependencies on anything that is only available through an > active Plasma5 desktop, to my knowledge. At least you shouldn't get a crash > in dolphin. If you only get it once it may indicate that something required > isn't yet running and is started automatically, but you still shouldn't get a > crash. If DrKonqi appears and gives a useable backtrace you could file a bug > report for this. Settings are like that: $QT_QPA_PLATFORMTHEME = kde $QT_LOGGING_RULES = *.debug=false $QT_PLUGIN_PATH = /home/florian/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/ KDE_FULL_SESSION and KDE_SESSION_VERSION=5 are not set. If they are set, everything seems to work. florian@horus ~ % dolphin "Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)" Of course, dbus is started using systemd / logind, other applications depending of dbus are working. tried that multiple times, crashes every time. At some point it seems to start whatever was missing and works. KMail: florian@horus ~ % kmail org.kde.pim.akonadicontrol: Unable to register service as "org.freedesktop.Akonadi.Control.lock" Maybe it's already running? Error loading text-to-speech plug-in "speechd" QSystemTrayIcon::setVisible: No Icon set QSystemTrayIcon::setVisible: No Icon set QSystemTrayIcon::setVisible: No Icon set [... goes on forever and ever... until I Ctrl-C] > > >Setting also KDE_FULL_SESSION=1 and KDE_SESSION_VERSION=5 makes it all work > >like a charm! Setttings are saved, file open > >dialoges are now really KDE and not some minmimalistic version and a number > >of other idiosyncrasies... > > That is without setting QT_QPA_PLATFORMTHEME I presume? No QT_QPA_PLATFORMTHEME=kde and also KDE_FULL_SESSION=1 and KDE_SESSION_VERSION=5 > In that case you get Qt's fallback internal implementation of the > plasma-integration plugin, though I don't really understand how that can give > you real KDE file dialogs. It's probably QT_QPA_PLATFORMTHEME=kde that gives the file dialogues, and the two others, that makes kmail and dolphin actually work. > > >Is there some KDE wiki site that can be used to document that? Is > >https://userbase.kde.org the right place? > > Presumably, or the forums. Cross your fingers though that this doesn't irk > someone who feels that KDE look-and-feel should be exclusive to the Plasma > desktop. I know there's at least 1 dev who already told me he planned to take > down some comparable backdoor, "just because he could". Well, that is sad. Especially since KDE is not the KDE desktop anymore, but the KDE software collection, which, as far as my perception goes, should be independent of the Plasma desktop. Plasma can't and doesn't want to be something like i3 or awesome, but if I have to choose between i3/awesome and dolphin, I would take the first. Though after I had these problems already with dolphin, I tried other file managers (pcmanfm and thunar) but still like dolphin the most. I also use dired of Emacs, but thats not something for everyday use. BTW: Do you have any idea how to set dolphin to select on double click, not single click. I was looking at `kcmshell5 --list` but couldn't find the right module. Or is there even a command to get the KDE system settings GUI? Best Wishes, Florian
Re: Dolphin loses UI settings when restarted
On Wednesday June 27 2018 08:57:58 Florian Lindner wrote: >Only setting QT_QPA_PLATFORMTHEME=kde makes dolphin crash at the first startup >(second try always works) and sends kmail >into in infinite loop at start, I already tried that some time ago. That's strange, and probably a bug. The plasma integration plugin does not have runtime dependencies on anything that is only available through an active Plasma5 desktop, to my knowledge. At least you shouldn't get a crash in dolphin. If you only get it once it may indicate that something required isn't yet running and is started automatically, but you still shouldn't get a crash. If DrKonqi appears and gives a useable backtrace you could file a bug report for this. >Setting also KDE_FULL_SESSION=1 and KDE_SESSION_VERSION=5 makes it all work >like a charm! Setttings are saved, file open >dialoges are now really KDE and not some minmimalistic version and a number of >other idiosyncrasies... That is without setting QT_QPA_PLATFORMTHEME I presume? In that case you get Qt's fallback internal implementation of the plasma-integration plugin, though I don't really understand how that can give you real KDE file dialogs. >Is there some KDE wiki site that can be used to document that? Is >https://userbase.kde.org the right place? Presumably, or the forums. Cross your fingers though that this doesn't irk someone who feels that KDE look-and-feel should be exclusive to the Plasma desktop. I know there's at least 1 dev who already told me he planned to take down some comparable backdoor, "just because he could". R.
Re: Dolphin loses UI settings when restarted
Hi, Am 25.06.2018 um 22:05 schrieb René J.V. Bertin: > On Monday June 25 2018 20:57:18 Florian Lindner wrote: > >> It seems that setting QT_QPA_PLATFORMTHEME causes the problem, inside Plasma >> as well as inside i3. However, not setting causes all KDE (5?) application >> not showing any icons when used inside i3, so it's not an option either. > > Yes, that would figure, although there's a trick to avoid that too. > >> It was very hard for me to find information about using KDE application >> outside of Plasma. > > That figures, the plasma team guards their work a bit jealously (or at least > that's the impression one can get). > >> How to use the plasma-integration platform theme plugin if not using Plasma5 >> desktop? > > Easy: set QT_QPA_PLATFORMTHEME=kde; you should already have the plugin itself > since you have the Plasma5 desktop stuff installed . It can help if you also > set KDE_FULL_SESSION=1 and KDE_SESSION_VERSION=5 . > If you do that, KF5 applications should behave as if they're running under a > Plasma5 desktop. There should be no or almost no drawbacks, because that > desktop environment isn't required to run those applications. This is exactly > what I do on a Kubuntu 14.04 machine that still has a good old KDE/Plasma4 > desktop, and I do something similar on my Mac where it is evidently not > possible to run a full Plasma desktop environment. >>From time to time you may get messages about services that aren't running or >>found (kactivities, for instance). For the most part those will probably not >>interest you, if not you can install/run them manually. The most important >>things (kdeinit5, kded5 and kwalletd5) should get started automatically. Only setting QT_QPA_PLATFORMTHEME=kde makes dolphin crash at the first startup (second try always works) and sends kmail into in infinite loop at start, I already tried that some time ago. Setting also KDE_FULL_SESSION=1 and KDE_SESSION_VERSION=5 makes it all work like a charm! Setttings are saved, file open dialoges are now really KDE and not some minmimalistic version and a number of other idiosyncrasies... Thanks a lot! Is there some KDE wiki site that can be used to document that? Is https://userbase.kde.org the right place? Best, Florian
Re: Dolphin loses UI settings when restarted
On Monday June 25 2018 20:57:18 Florian Lindner wrote: > It seems that setting QT_QPA_PLATFORMTHEME causes the problem, inside Plasma > as well as inside i3. However, not setting causes all KDE (5?) application > not showing any icons when used inside i3, so it's not an option either. Yes, that would figure, although there's a trick to avoid that too. > It was very hard for me to find information about using KDE application > outside of Plasma. That figures, the plasma team guards their work a bit jealously (or at least that's the impression one can get). > How to use the plasma-integration platform theme plugin if not using Plasma5 > desktop? Easy: set QT_QPA_PLATFORMTHEME=kde; you should already have the plugin itself since you have the Plasma5 desktop stuff installed . It can help if you also set KDE_FULL_SESSION=1 and KDE_SESSION_VERSION=5 . If you do that, KF5 applications should behave as if they're running under a Plasma5 desktop. There should be no or almost no drawbacks, because that desktop environment isn't required to run those applications. This is exactly what I do on a Kubuntu 14.04 machine that still has a good old KDE/Plasma4 desktop, and I do something similar on my Mac where it is evidently not possible to run a full Plasma desktop environment. >From time to time you may get messages about services that aren't running or >found (kactivities, for instance). For the most part those will probably not >interest you, if not you can install/run them manually. The most important >things (kdeinit5, kded5 and kwalletd5) should get started automatically. Have fun :) R.
Re: Dolphin loses UI settings when restarted
Hi, Am Montag, 25. Juni 2018, 18:21:59 CEST schrieb René J.V. Bertin: > On Monday June 25 2018 17:21:14 Florian Lindner wrote: > > AFAIK KF5 applications handle their own settings including those pertaining > to the UI and window size (but not window placement, on Linux). > Still, your best bet would be to install and try a minimal Plasma5 desktop to > see if your problem exists there too, with and without: > >export QT_QPA_PLATFORMTHEME="qt5ct" It seems that setting QT_QPA_PLATFORMTHEME causes the problem, inside Plasma as well as inside i3. However, not setting causes all KDE (5?) application not showing any icons when used inside i3, so it's not an option either. > > What is that theme? You know that you can use the plasma-integration platform > theme plugin even if you don't run the Plasma5 desktop, right? That may > improve certain things for you. My theme is Breeeze, accorting to qt5ct. How to use the plasma-integration platform theme plugin if not using Plasma5 desktop? It was very hard for me to find information about using KDE application outside of Plasma. Best, Florian
Re: Dolphin loses UI settings when restarted
On Monday June 25 2018 17:21:14 Florian Lindner wrote: AFAIK KF5 applications handle their own settings including those pertaining to the UI and window size (but not window placement, on Linux). Still, your best bet would be to install and try a minimal Plasma5 desktop to see if your problem exists there too, with and without: >export QT_QPA_PLATFORMTHEME="qt5ct" What is that theme? You know that you can use the plasma-integration platform theme plugin even if you don't run the Plasma5 desktop, right? That may improve certain things for you. >export QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/ Those are KDE4 settings, which have no effect on Dolphin 18.x. I don't think the setting can hurt though. R.
Dolphin loses UI settings when restarted
Hello, whenever I launch dolphin 18.04.2, it loses some UI settings. It is especially weird, because when I start dolphin from scratch, i.e. `rm .config/dolphinrc && rm -rf .local/share/dolphin && dolphin`, it looks fine, e.g. http://xgm.de/upload/Dolphin_1.png Then I change nothing, just quit and start it again, it looks like http://xgm.de/upload/Dolphin_2.png Now I activate menu bar (Ctrl-M), sidebar (F9) and toolbar (using mouse), change view mode to detailed, and change the icon size. When I quit and restart dolphin, all these settings, except view mode and icon size are lost. dolphinrc is also void of any of these settings. This problem may be connected, that I do not run KDE desktop environment, but i3, which has produced problems (especially GUI related, such as missig icons) with various KDE applications in the past. I have set export QT_QPA_PLATFORMTHEME="qt5ct" export QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/ Best Thanks! Florian