Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Crazy - Stretch with Plasma 5.12

Help on MX KDE Re-spins
Message
Author
User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15386
Joined: Fri Dec 15, 2006 8:07 pm

Re: Crazy - Stretch with Plasma 5.12

#11 Post by Stevo » Sat May 05, 2018 1:53 pm

How about adding LX-QT to that script? It and KDE are the only two desktops that I can think of offhand that are Qt-based. We should also send the fix up to dolphin_oracle for so all MX 17 can benefit.

Does NeptuneOS use a newer Qt 5? If so, that would break programs that use the private Qt 5 libs, since they are tied to a specific version of Qt 5 and would have to be rebuilt. The only one of those I can think of offhand is Calibre--most Qt 5 programs don't use the private libs.
Last edited by Stevo on Sat May 05, 2018 2:10 pm, edited 1 time in total.

User avatar
baldyeti
Forum Novice
Forum  Novice
Posts: 28
Joined: Sat Dec 05, 2009 4:37 pm

Re: Crazy - Stretch with Plasma 5.12

#12 Post by baldyeti » Sat May 05, 2018 2:09 pm

wrt the script: Hi Stevo, sure, but i know nothing about those X11 session scripts, nor the lifecycle of these XDG variables. I *think* I noticed that the one i test is actually not set when choosing the "default" session, which is why i ended up testing for KDE rather than XFCE (which corresponds both to the default choice and an explicit one). I suppose this would be worth reviewing to make it more robust, but it is an improvement over the current unconditional setting of the QT_xyz vars.

wrt qt5: how can i check whether neptune overrode my QT libs ? I also do not know what you mean by "private" lib. Anyway I wouldn't jump the gun and start recompiling stuff to be compatible with the newer KDE. Keeping MX as compatible as possible with debian stable seems more important to me (and KDE 5.8 isn't bad or that old, either)

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15386
Joined: Fri Dec 15, 2006 8:07 pm

Re: Crazy - Stretch with Plasma 5.12

#13 Post by Stevo » Sat May 05, 2018 3:20 pm

baldyeti wrote:wrt the script: Hi Stevo, sure, but i know nothing about those X11 session scripts, nor the lifecycle of these XDG variables. I *think* I noticed that the one i test is actually not set when choosing the "default" session, which is why i ended up testing for KDE rather than XFCE (which corresponds both to the default choice and an explicit one). I suppose this would be worth reviewing to make it more robust, but it is an improvement over the current unconditional setting of the QT_xyz vars.

wrt qt5: how can i check whether neptune overrode my QT libs ? I also do not know what you mean by "private" lib. Anyway I wouldn't jump the gun and start recompiling stuff to be compatible with the newer KDE. Keeping MX as compatible as possible with debian stable seems more important to me (and KDE 5.8 isn't bad or that old, either)
You can just check in the terminal with

Code: Select all

apt policy qt5-default
In standard MX 17, it's 5.7.1+dfsg-3+b1.

Calibre depends on calibre-bin, and the Qt specific private library calibre-bin needs is qtbase-abi-5-7-1. This won't be available with other versions of Qt 5, so Calibre would need to be rebuilt. That package actually isn't in apt, but it is generated during the package build and I assume points to the private library.

sunrat
Forum Novice
Forum  Novice
Posts: 94
Joined: Mon Mar 28, 2016 9:54 pm

Re: Crazy - Stretch with Plasma 5.12

#14 Post by sunrat » Sat May 05, 2018 10:01 pm

@baldyeti - you can extract recommends from

Code: Select all

apt depends plasma-desktop
Stevo wrote:Does NeptuneOS use a newer Qt 5?
Surprise!

Code: Select all

$ apt policy qt5-default
qt5-default:
  Installed: (none)
  Candidate: 5.7.1+dfsg-3+b1
  Version table:
     5.7.1+dfsg-3+b1 500
        500 http://ftp.au.debian.org/debian stretch/main amd64 Packages
I did apt depends for calibre-bin and it included this:

Code: Select all

Depends: <qtbase-abi-5-7-1>
    libqt5core5a
so:

Code: Select all

$ apt policy libqt5core5a
libqt5core5a:
  Installed: 5.7.1+dfsg-3+b1
  Candidate: 5.7.1+dfsg-3+b1
  Version table:
 *** 5.7.1+dfsg-3+b1 500
        500 http://ftp.au.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
I installed Calibre to test and it runs fine and opens the Quick Start guide properly.

Looks like Neptune dosn't use a newer Qt5.

Colours are looking good now too. Using ArcDark with Breeze Dark icons and a bit of tweaking in System Settings > Application Style > GNOME Application Style (GTK) and qt5ct.

User avatar
baldyeti
Forum Novice
Forum  Novice
Posts: 28
Joined: Sat Dec 05, 2009 4:37 pm

Re: Crazy - Stretch with Plasma 5.12

#15 Post by baldyeti » Sun May 06, 2018 3:03 am

Thanks folks.

I do not want to actually download and install neptune, but i perused their site a bit. They simply mention being based on debian stretch (like all debian-based distros, to which extent it is customised and prone to break compatibility is anyone's guess). Here is a list of included packages.

There is also this reddit discussion (not really conclusive, though, and based on a release candidate)

Find in attachment the output of "dpkg -l" on my system. It looks to me like all libqt5* packages are at 5.7.1-1, and all *neptune* packages seem kde/plasma-related, but what do i know...

I propose the following script instead of the previous version:

Code: Select all

case "$XDG_CURRENT_DESKTOP" in 
        KDE|LXQt)       ;;      # no-op
        *)
                export QT_QPA_PLATFORMTHEME=gtk2
                export QT_PLATFORMTHEME=gtk2
                export QT_PLATFORM_PLUGIN=gtk2
                ;;
esac
note i am unsure about the LXQT literal (could be some variant like LX_QT or LXQt)
You do not have the required permissions to view the files attached to this post.
Last edited by baldyeti on Sat May 12, 2018 4:11 am, edited 1 time in total.

User avatar
mithrandir
Forum Novice
Forum  Novice
Posts: 28
Joined: Mon Apr 09, 2018 7:51 am

Re: Crazy - Stretch with Plasma 5.12

#16 Post by mithrandir » Sun May 06, 2018 8:33 am

a respin of mx linux with kde would be the top :P

User avatar
baldyeti
Forum Novice
Forum  Novice
Posts: 28
Joined: Sat Dec 05, 2009 4:37 pm

Re: Crazy - Stretch with Plasma 5.12

#17 Post by baldyeti » Sat May 12, 2018 4:14 am

I have done a quick check with an older porteus LXQT live ISO i had and it seems XDG_CURRENT_DESKTOP takes the LXQt (mixed-case) value in that environment...

Post Reply

Return to “MX KDE”