Bug 13321 - LXQt (LXDE-QT) desktop environment as a next stage of LXDE & RazorQT
Summary: LXQt (LXDE-QT) desktop environment as a next stage of LXDE & RazorQT
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL: http://wiki.lxde.org/en/LXDE-Qt
Whiteboard:
Keywords:
: 13337 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-05 15:52 CEST by Jüri Ivask
Modified: 2014-08-02 11:48 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
List of rpms in last update (26.74 KB, text/plain)
2014-06-21 08:59 CEST, Dimitrios Glentadakis
Details

Description Jüri Ivask 2014-05-05 15:52:05 CEST
Description of problem: Since the LXDE and Razor-Qt projects merged it would be preferable to include LXDE-QT desktop into the cauldron development as a "light" DE.

Build instructions: http://wiki.lxde.org/en/Build_LXDE-Qt_From_Source

Reproducible: 

Steps to Reproduce:
Angelo Naselli 2014-05-06 21:07:17 CEST

CC: (none) => anaselli, matteo.pasotti

Comment 1 Jüri Ivask 2014-05-08 16:44:31 CEST
There's now also a project new web page:
http://lxqt.org/
"LXQt is the Qt port and the upcoming version of LXDE, the Lightweight Desktop Environment. It is the product of the merge between the LXDE-Qt and the Razor-qt projects: A lightweight, modular, blazing-fast and user-friendly desktop environment."

Summary: LXDE-QT desktop environment as a next stage of LXDE & RazorQT => LXQt (LXDE-QT) desktop environment as a next stage of LXDE & RazorQT

Comment 2 Matteo Pasotti 2014-05-09 21:03:33 CEST
Hi Jüri,
I'm already working on it and we'll discuss this change during the next few developer meetings.
I'll let you know asap.
Thanks for reporting.
Comment 3 Matteo Pasotti 2014-05-11 16:44:48 CEST
*** Bug 13337 has been marked as a duplicate of this bug. ***

CC: (none) => pavelfric

Comment 4 Matteo Pasotti 2014-05-11 17:03:50 CEST
It seems that Florian Hubold (doktor5000) has already imported a package of lxde-qt from openmandriva [1].

I'm fully for the migration from razor-qt to lxde-qt so feel free to go on.

Kind regards

[1] http://comments.gmane.org/gmane.linux.mageia.devel/35173
Matteo Pasotti 2014-05-11 17:04:23 CEST

CC: (none) => doktor5000

Comment 5 Jüri Ivask 2014-05-12 12:37:32 CEST
Good news, thanks!

Waiting for something to test :)
Comment 6 Florian Hubold 2014-05-17 16:06:32 CEST
Had no time to import it yet, will do in the coming week, but will only be available for Cauldron afterwards.

For Mageia 4, there are my unofficial packages for testing:
https://forums.mageia.org/en/viewtopic.php?p=47900#p47900

Status: NEW => ASSIGNED
Assignee: bugsquad => doktor5000

Comment 7 claire robinson 2014-05-17 20:20:01 CEST
I believe Jani was also looking at this Florian.
Comment 8 Florian Hubold 2014-05-17 20:52:29 CEST
Yep, cc'ed him already on the -dev mail :)

CC: (none) => jani.valimaa

Comment 9 Florian Hubold 2014-05-21 14:34:10 CEST
FWIW I've begun to import the packages. Order is listed nicely on the wiki page posted by Jüri http://wiki.lxde.org/en/Build_LXDE-Qt_From_Source

libqtxdg is done, and I've added QT5 support already, it builds fine with and without.
Comment 10 Florian Hubold 2014-05-25 16:02:36 CEST
Most packages have been imported and built for cauldron, task-lxqt should be available on your favourite mirror soon. I've tried to merge there the suggested packages from task-razorqt and task-lxde. Some minor packages are missing yet, mainly because these haven't been released as tarballs.

Current state is listed at https://wiki.mageia.org/en/User:Doktor5000#current_state_.2F_packaging_TODO

Feel free to provide feedback via https://forums.mageia.org/en/viewtopic.php?f=15&t=7604

CC: (none) => oliver.bgr

Comment 11 Jüri Ivask 2014-05-28 14:55:22 CEST
Thanks Florian! It runs better than Razor-qt did...
Aren't lximage-qt and obconf-qt packages in their own subdirectories here:
http://lxqt.org/downloads/
Comment 12 Florian Hubold 2014-05-28 21:05:25 CEST
(In reply to Jüri Ivask from comment #11)
> Aren't lximage-qt and obconf-qt packages in their own subdirectories here:
> http://lxqt.org/downloads/

Thanks for the pointer, totally missed those - only looked in http://lxqt.org/downloads/0.7.0/
Will try to import this weekend if I find some time.
Dimitrios Glentadakis 2014-05-31 11:51:32 CEST

CC: (none) => dglent

Comment 13 Georges Eckenschwiller 2014-06-05 10:04:06 CEST
I am very interested in LXQt and begin to test it.
I found a small lack:
There is no session file in /etc/X11/wmsession.d/
Therefore, lightdm do not find lxqt session.
Maybe that for the same reason MCC does not find either.

Maybe that it is the package lxqt-session which must be updated

CC: (none) => paiiou

Comment 14 Florian Hubold 2014-06-05 22:28:16 CEST
(In reply to Georges Eckenschwiller from comment #13)
> There is no session file in /etc/X11/wmsession.d/

Thanks for the hint, will take a look when packaging the remaining LXQT parts.
Comment 15 Florian Hubold 2014-06-07 20:46:02 CEST
Should be good now ... previously the session file was located in  /usr/share/apps/kdm/sessions/ and /usr/share/xsessions/ - has been moved to /etc/X11/wmsession.d now.

Also added lximage-qt, lxqt-appswitcher, lxmenu-data so that menu structure should be good now, and additionally there's obconf-qt and compton-conf.

task-lxqt-0.7.0-3.mga5 should pull all those.
Comment 16 Georges Eckenschwiller 2014-06-09 11:33:12 CEST
Hello,
For me, ligthdm and MCC finds now the session LXQt.
I have not tested the rest yet
Comment 17 Georges Eckenschwiller 2014-06-15 22:19:04 CEST
Hello,
Just a suggestion.

I install LXQt from a very basic installation: xdm and IceWM-light.
Therefore, no icons theme is asked.
It would be interesting to put a request in task-lxqt.
Comment 18 Florian Hubold 2014-06-16 20:47:30 CEST
Thanks for the hint, will have a look once I get my cauldron VM going again.
Was also testing with just a basic install, without X, only basesystem.
There are a few other things which should be improved.

If you have more such things, feel free to directly add them in the TODO section of my wiki page: https://wiki.mageia.org/en/User:Doktor5000#current_state_.2F_packaging_TODO
Comment 19 Dimitrios Glentadakis 2014-06-19 09:34:06 CEST
The desktop entry in /usr/share/xsessions is deleted after an update of KDE, or other(?)

My case:
I have installed the desktop file as described in comment 15 in /apps/kdm/sessions/ and /usr/share/xsessions/ with the packages that i have made without the modification to place the desktop file in /etc/X11/wmsession.d.
After every update in cauldron of KDE, i could n't login in lxqt from kdm any more, the lxqt Desktop entry was absent.

After i was trying to uninstall the lxqt-session and i had a message that rpm couldn't find any more the desktop file from /usr/share/xsessions/ 
So, an update of kde removes it (?)

I'd like to inform about this as it is important in case that we follow the upstream path. 

I didn't find time to analyse it better yet, and provide more infos, i will do it later.
Comment 20 Florian Hubold 2014-06-21 00:02:21 CEST
(In reply to Dimitrios Glentadakis from comment #19)
> The desktop entry in /usr/share/xsessions is deleted after an update of KDE,
> or other(?)

Nope it was removed with lxqt updates:
See http://svnweb.mageia.org/packages?view=revision&revision=634403
Or maybe I didn't understand your explanation, best would be if you could post a small test case to reproduce your issue.

Will test login from KDM once I get basic installation dependencies fixed.
Comment 21 Florian Hubold 2014-06-21 00:03:41 CEST
Apart from that, I've just split out task-lxqt-minimal and added some virtual provides so lxqt-policykit and lxqt-notificationd satisfy the virtual provides for polkit-agents and notification-daemon.
Comment 22 Dimitrios Glentadakis 2014-06-21 08:58:26 CEST
I copied today the file lxqt.desktop to /usr/share/xsessions/ and /usr/share/apps/kdm/sessions and updated my system. After i saw both files deleted.
I send an attachment with the rpm installed today
Comment 23 Dimitrios Glentadakis 2014-06-21 08:59:28 CEST
Created attachment 5207 [details]
List of rpms in last update
Comment 24 Dimitrios Glentadakis 2014-06-22 08:48:09 CEST
The package kdebase4-workspace removes both desktop files from /usr/share/xsessions/ and /usr/share/apps/kdm/sessions

In the spec of kdebase4-workspace there is the line:
rm -fr %buildroot%_kde_appsdir/kdm/sessions

but somehow it deletes also the files in /usr/share/xsession
Comment 25 Florian Hubold 2014-06-22 14:48:58 CEST
It does not remove anything by itself. rm -fr %buildroot/... is done during %install, so not related to anything on enduser system. Please don't mix that up, that belongs to a separate bugreport, if at all.

Apart from that, lxqt X session desktop files are not contained in Mageia packages anymore, so that does not belong in Mageia bugreport.


kdm subpackage runs this in %post and %postun:

chksession -K
which translates to
-K,  --kdm4:   Shortcut for --generate=/usr/share/apps/kdm/sessions
and generates the files from -d=DIR, --dir=DIR:   Specifies a directory of w-m configuration files. Default is /etc/X11/wmsession.d/

Those are only generated files. No package owns files inside /usr/share/xsessions or 

[test@localhost ~]$ sudo urpmf /usr/share/xsessions                            
lxdm:/usr/share/xsessions
[test@localhost ~]$ 

[test@localhost ~]$ sudo urpmf /usr/share/apps/kdm/sessions
[test@localhost ~]$
Comment 26 Dimitrios Glentadakis 2014-06-22 15:09:24 CEST
Yes i didn't make attention to %buildroot but the test case is still valable.
When i install the kdebase4-workspace it deletes the files from the two folders, but not he desktop files which starting with a number:

Here is an example:

[root@localhost ~]# cd /usr/share/xsessions/
[root@localhost xsessions]# ls
01KDE4.desktop  13LXQT.desktop  26Openbox.desktop
[root@localhost xsessions]# touch file.txt
[root@localhost xsessions]# ls
01KDE4.desktop  13LXQT.desktop  26Openbox.desktop  file.txt
[root@localhost xsessions]# pushd /usr/share/apps/kdm/
patterns/ pics/     programs/ sessions/ themes/   
[root@localhost xsessions]# pushd /usr/share/apps/kdm/sessions/
/usr/share/apps/kdm/sessions /usr/share/xsessions
[root@localhost sessions]# touch file1.txt
[root@localhost sessions]# ls
01KDE4.desktop  13LXQT.desktop  26Openbox.desktop  file1.txt
[root@localhost sessions]# urpmi --replacepkgs kdebase4-workspace
values on reference is experimental at /usr/lib/perl5/vendor_perl/5.18.1/urpm/main_loop.pm line 232.
values on reference is experimental at /usr/lib/perl5/vendor_perl/5.18.1/urpm/main_loop.pm line 232.
values on reference is experimental at /usr/lib/perl5/vendor_perl/5.18.1/urpm/main_loop.pm line 245.
values on reference is experimental at /usr/lib/perl5/vendor_perl/5.18.1/urpm/main_loop.pm line 245.


    ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/cauldron/x86_64/media/core/release/kdebase4-workspace-4.11.10-1.mga5.x86_64.rpm
εγκαÏάÏÏαÏη kdebase4-workspace-4.11.10-1.mga5.x86_64.rpm αÏÏ /var/cache/urpmi/rpms      
ΠÏοεÏοιμαÏία...                  ######################################################
      1/1: kdebase4-workspace    ######################################################
[root@localhost sessions]# ls
01KDE4.desktop  13LXQT.desktop  26Openbox.desktop
[root@localhost sessions]# popd
/usr/share/xsessions
[root@localhost xsessions]# ls
01KDE4.desktop  13LXQT.desktop  26Openbox.desktop
[root@localhost xsessions]# 


In the same way it removes the lxqt.desktop file
Comment 27 Florian Hubold 2014-06-22 15:45:18 CEST
Did you read my last reply? Everything inside /usr/share/apps/kdm/sessions/ and /usr/share/xsessions is generated via chksession call from /etc/X11/wmsession.d/.

And so is 13LXQT.desktop.

Not sure why you mention this here. This is neither a bug of lxqt nor of kdebase4-workspace/kdm, if at all it could be a bug in chksession, or wanted behaviour.


[doktor5000@Mageia4 ~]$ grep -n "rm -f" /sbin/chksession
62:    system("rm -f $d/*");
Comment 28 Florian Hubold 2014-06-22 16:00:45 CEST
(In reply to Georges Eckenschwiller from comment #17)
> I install LXQt from a very basic installation: xdm and IceWM-light.
> Therefore, no icons theme is asked.
> It would be interesting to put a request in task-lxqt.

Hmmm, just tested installation via task-lxqt-minimal and no icons were missing. Did you notice any missing icons? As strictly speaking, it is not required, and if other applications need an icon they should require it.

I can add a Suggests to task-lxqt, but on which icon theme? lxde-icon-theme?
Comment 29 Dimitrios Glentadakis 2014-06-22 16:20:50 CEST
(In reply to Florian Hubold from comment #27)
> Did you read my last reply? Everything inside /usr/share/apps/kdm/sessions/
> and /usr/share/xsessions is generated via chksession call from
> /etc/X11/wmsession.d/.
> 
> And so is 13LXQT.desktop.
> 
> Not sure why you mention this here. This is neither a bug of lxqt nor of
> kdebase4-workspace/kdm, if at all it could be a bug in chksession, or wanted
> behaviour.
> 
> 
> [doktor5000@Mageia4 ~]$ grep -n "rm -f" /sbin/chksession
> 62:    system("rm -f $d/*");

Why i mention it here, i mention it here because the upstream file will be deleted after a kde update and maybe you forgot that there is a test case here : https://wiki.mageia.org/en/User:Doktor5000#current_state_.2F_packaging_TODO at the section "Test" at the end, second line:
"keep upstream files for /usr/share/xsessions and not the standard /etc/X11/wmsession.d/ session file?"

The upstream file lxqt.desktop when installing the source lxqt-common installs to /usr/share/xsession and /usr/share/apps/kdm/session
Comment 30 Florian Hubold 2014-06-22 20:03:54 CEST
That's not a test case, that's my private notes, and there's a big question mark at the end of the line. As we use /etc/X11/wmsession.d/ that's where the session file is located and picked up by all DMs. So why keep the upstream files?

Again, test the current Mageia packages, and not things you install on your own.
Comment 31 Dimitrios Glentadakis 2014-06-23 08:49:21 CEST
(In reply to Florian Hubold from comment #30)
> That's not a test case, that's my private notes, and there's a big question
> mark at the end of the line. As we use /etc/X11/wmsession.d/ that's where
> the session file is located and picked up by all DMs. 
Sorry to look at your private notes

> So why keep the upstream files?
NOW we know also the reason why not to keep the upstream files' location

> Again, test the current Mageia packages, and not things you install on your
> own.

Again, I test what I want; for this test was needed to install the original source.
If you find this information usefulness, others find it interesting.
Comment 32 Matteo Pasotti 2014-06-23 11:35:49 CEST
@Dimitrios you can test what you want but elsewhere. Florian is right, if you want to help about this topic you have to follow florian's guidelines otherwise you're giving wrong information.

Session files generation is automatically trigerred by rpm stuff thus wmsession is the right place to put that stuff.
Give a look to other de packages.

Thanks to all of you for your efforts.
Kind regards
Dimitrios Glentadakis 2014-06-23 11:41:42 CEST

CC: dglent => (none)

Comment 33 Jüri Ivask 2014-06-27 09:57:01 CEST
Some thoughts about suggestsions in task-lxqt packages:

1. task-lxqt-minimal
1.1 terminal - currently there is lxterminal, but it is a gtk app and maybe it is still preferable to have qterminal there

2. task-lxqt
2.1 remove  nomacs - lximage-qt provides the functionality needed (also screenshot capability)
2.2 add qpdfview and qupzilla (and quassel?)
2.3 obconf-qt (now instead of obconf) and add openbox as a dependency for it

There seems to be problems with Removable Media widget. When a usb stick is inserted it rarely shows it. Sometimes it helps if the widget is removed and readded. When clicked on the pop-up, the device content is opened in web browser instead of pcmanfm-qt. Also the "safe remove" does not give any feedback and after the actual removal of media and inserting a new one, the widget still shows the name of previous media...

If you happen to have a 3G modem in your computer, then it is very difficult to use it in LXQT as it can be operated only with networkmanager. The only option here is to use gnome networkmanager applet, but in my case I was unable to choose anything there with the mouse. But that is probably a more general bug/problem...
Comment 34 Georges Eckenschwiller 2014-06-28 17:19:38 CEST
(In reply to Florian Hubold from comment #28)
> (In reply to Georges Eckenschwiller from comment #17)
> > I install LXQt from a very basic installation: xdm and IceWM-light.
> > Therefore, no icons theme is asked.
> > It would be interesting to put a request in task-lxqt.
> 
> Hmmm, just tested installation via task-lxqt-minimal and no icons were
> missing. Did you notice any missing icons? As strictly speaking, it is not
> required, and if other applications need an icon they should require it.
> 
I have just redone a new installation.
In the menus, I have only 3 icons:
- Centre Réseau
- NetApplet
- LXTerminal

I specify that with my minimal installation, I do not install the suggested packages. It is maybe the cause.

> I can add a Suggests to task-lxqt, but on which icon theme? lxde-icon-theme?
I tried oxygen-icon-theme and lxde-icon-theme. Both work.
Lxde-icon-theme would suit maybe better to LXQt ?
Comment 35 Florian Hubold 2014-06-29 16:53:40 CEST
(In reply to Jüri Ivask from comment #33)
> Some thoughts about suggestsions in task-lxqt packages:
> 
> 1. task-lxqt-minimal
> 1.1 terminal - currently there is lxterminal, but it is a gtk app and maybe
> it is still preferable to have qterminal there

Well, in my tests qterminal was much slower to start, and does not offer more features. Hence I chose lxterminal for the much better start time, also it  doesn't add any dependencies. Why do you think it's preferrable to have qterminal?

> 
> 2. task-lxqt
> 2.1 remove  nomacs - lximage-qt provides the functionality needed (also
> screenshot capability)

Removed, that's a leftover from razor-qt. Thanks :)

> 2.2 add qpdfview and qupzilla (and quassel?)

qupzilla is already suggested by task-lxqt, I've now added suggests on qpdfview and quassel

> 2.3 obconf-qt (now instead of obconf) and add openbox as a dependency for it

Sorry I don't understand. openbox is currently required by task-lxqt-minimal as a window manager is necessary, and obconf-qt is suggested by task-lxqt, as it is not necessary for a minimal install.


> There seems to be problems with Removable Media widget.
Please try to debug this with upstream directly, that's out the scope of this bug.

> If you happen to have a 3G modem in your computer, then it is very difficult
> to use it in LXQT as it can be operated only with networkmanager.

Same as last comment, out of scope for this bug. I can add a suggests on networkmanager-applet.
Comment 36 Florian Hubold 2014-06-29 16:57:00 CEST
(In reply to Georges Eckenschwiller from comment #34)
> I have just redone a new installation.
> In the menus, I have only 3 icons:
> - Centre Réseau
> - NetApplet
> - LXTerminal
> 
> I specify that with my minimal installation, I do not install the suggested
> packages. It is maybe the cause.

I've just did the same, that is "urpmi task-lxqt-minimal --no-suggests" and no icons show up, not even for the LXQT apps. This seems to be a bug, as the applications carry their own icons. Will try to take a look.

> > I can add a Suggests to task-lxqt, but on which icon theme? lxde-icon-theme?
> I tried oxygen-icon-theme and lxde-icon-theme. Both work.
> Lxde-icon-theme would suit maybe better to LXQt ?

Yep, lxde-icon-theme fits better - just added it :)
Comment 37 Florian Hubold 2014-06-29 17:28:38 CEST
(In reply to Florian Hubold from comment #36)
> (In reply to Georges Eckenschwiller from comment #34)
> > I have just redone a new installation.
> > In the menus, I have only 3 icons:
> > - Centre Réseau
> > - NetApplet
> > - LXTerminal
> > 
> > I specify that with my minimal installation, I do not install the suggested
> > packages. It is maybe the cause.
> 
> I've just did the same, that is "urpmi task-lxqt-minimal --no-suggests" and
> no icons show up, not even for the LXQT apps. This seems to be a bug, as the
> applications carry their own icons. Will try to take a look.

Hmmm, actually not - they only use some standard icons. Those are provided by a lot of icon themes. I've chosen adwaita-icon-theme but another one can be used.

Other candidates would be mate-faenza-icon-theme, faenza-icon-theme, mate-icon-theme, nimbus-icon-theme.

But even after installing two icon themes, menus will show no icons except for lxterminal ...
Comment 38 Jüri Ivask 2014-06-30 14:50:14 CEST
As of qterminal vx lxterminal - argument for qterminal is that it is part of the QtDesktop project...

I was also able to "urpmi --no-suggests task-lxqt-minimal" from my minimal cli-only install and did not get any icon theme and fonts looked also "ugly". Installed oxygen-icon-theme and fonts-ttf-dejavu and it was ok then.

But currently the menus are without icons when /etc/xdg/menus/lxde-applications.menu file is used in applications menu applet. Another *.menu files from there are displaying icons ok.
Comment 39 Florian Hubold 2014-06-30 18:04:54 CEST
(In reply to Jüri Ivask from comment #38)
> As of qterminal vx lxterminal - argument for qterminal is that it is part of
> the QtDesktop project...

That's not a real argument. It starts much slower, this is my main argument against it - you're still free to use it, though :)

> I was also able to "urpmi --no-suggests task-lxqt-minimal" from my minimal
> cli-only install and did not get any icon theme and fonts looked also
> "ugly". Installed oxygen-icon-theme and fonts-ttf-dejavu and it was ok then.

Yep, fonts are ugly - wil maybe add fonts package as Suggests too.


> But currently the menus are without icons when
> /etc/xdg/menus/lxde-applications.menu file is used in applications menu
> applet. Another *.menu files from there are displaying icons ok.

Thanks for the hint, will take a look.
Comment 40 Georges Eckenschwiller 2014-07-17 20:20:46 CEST
Another suggestion: apply the mga-light theme by default
Comment 41 Florian Hubold 2014-07-17 21:25:32 CEST
Already on my todo list, as discussed: https://wiki.mageia.org/en/User:Doktor5000#current_state_.2F_packaging_TODO
Comment 42 Florian Hubold 2014-07-29 21:00:28 CEST
Okay, pushed new task-lxqt and lxqt-common. mga-light theme should now be the default, mageia wallpaper should also be used by default for that theme. Also I've replaced lxterminal with qterminal per popular demand ;)
And added suggests on oxygen-icon-theme and on vlc to have a good QT media player.

Would be nice if someone could provide feedback if the issue with the icons in application menu is better now.
Comment 43 Jüri Ivask 2014-07-30 12:56:03 CEST
Thanks for the update!

Yes, the application menu for a new created user is populated now.
Only missing icons in my case are: Skype, Qt5 Linguist and MCC.
MCC is now startable from the Application menu.
The desktop came up with the black color background although mga-light theme was selected. It seems that every other LXQt Theme changes the wallpaper except mga-light...
VLC is definitevly a very good choice as a suggested package.
Comment 44 Jüri Ivask 2014-07-30 14:49:09 CEST
Missing Skype icon problem is fixed in the get-skype-4.3.0.37-2.mga5 update. Thanks Sander!
Comment 45 Georges Eckenschwiller 2014-07-30 14:50:48 CEST
Thanks also for the update!

I have also just redone a new installation.
As usual, I use urpmi - no-suggest and I add then the packs which interest me.
It is indeed qterminal that is installed.
Lxde-icon-theme and oxygen-icon-theme are suggested. I have a preference for oxygen-icon-theme and I install it. The icons of the menu are almost quite present, it misses only "Paramètres régionaux", what is a detail.

On the other hand, the mga-light theme is not selected by default. The wallpaper either, even when I choose mga-light.

I noticed that the configuration of LXQt is rather vague.
mga-light is in ~/.config/lxqt/lxqt.conf, wallpaper in ~/.config/pcmanfm-qt/lxqt/settings.conf, Style is in ~/.config/Trolltech.conf, others, in openbox.

I am again going to make investigations to to know more about it.

To end, I think that it will be probably more interesting to remove all the config files and to reunite them in a mageia-lxqt-config package.
Jani Välimaa 2014-07-30 17:01:50 CEST

CC: jani.valimaa => (none)

Comment 46 Florian Hubold 2014-07-30 20:14:37 CEST
The config files you refer to are created once you customize the default configuration. What I do is create a new theme just like the others that come from upstream.
Check line 61-79 in the SPEC
http://svnweb.mageia.org/packages/cauldron/lxqt-common/current/SPECS/lxqt-common.spec?view=markup

Seems the config I modify is not the same as what ends up as /etc/lxqt/lxqt.conf where still the default light theme is selected. But fixing that doesn't seem enough, as the wallpaper setting is ignored. Seems it is displayed by pcmanfm, similar to how nautilus was used in gnome legacy to draw the desktop background.

(and so after configuring it manually it lands in ~/.config/pcmanfm-qt/lxqt/settings.conf )

Interesting question is why the themes have a wallpaper configured, but which is ignored, or maybe overridden by pcmanfm config ...

Anyways, I'll know where to fix in the meantime, but may need to report it upstream.

Will also move lxqt-config to the -minimal package as otherwise one cannot change theme and such easily.
Comment 47 Georges Eckenschwiller 2014-07-30 21:09:39 CEST
Hello,
From my part I also advanced little.
I noticed that the modifications made in /etc/xdg/openbox work well.
Similar for those made in /etc/lxqt/lxqt.conf and /etc/lxqt/session.conf
On the other hand, those made in /etc/lxqt/panel.conf and /etc/pcmanfm-qt/lxqt/settings.conf remain ineffective.

Amount bug?

I also look for the file of general configuration (/etc...) which generates the file ~/.config/Trolltech.conf
I again found nothing. It could be a file of configuration of the widget of qt

Excuse my approximate English. They are translations with Reverso.
Comment 48 Florian Hubold 2014-07-30 21:36:52 CEST
~/.config/Trolltech.conf is QT configuration and irrelevant here. Whatever modifications to config files you're talking about in /etc is out of the scope of this bug report. Feel free to ask upstream directly about that.


FWIW, I've fixed the issue with the wallpaper. The issue is pretty simple - wallpapers only work when they're located in theme directory, hence I've simply put a symlink there.


@all: Please test with a -minimal install if you get the message about "power management disabled" on lxqt startup. Seems it can be fixed simply by installing upower. If that's the case, I'll add a dependency on the binary.
Comment 49 Florian Hubold 2014-07-31 17:45:13 CEST
The wallpaper issue is trickier than I thought. Currently it doesn't seem possible to get the system-configured one shown. You have to change it manually once in desktop preferences, then all themes will show the wallpaper. Even if you remove the settings in ~ afterwards, wallpaper will show up.
If somebody has an idea about the wallpaper issue, just ping me.


Apart from that, I've just added some items to the default panel, the showdesktop widget, lxqt systemsettings, MCC and qterminal.
Comment 50 Georges Eckenschwiller 2014-08-01 10:43:58 CEST
I made a new attempt this morning.
As usual, a minimal installation at first, with X server, without the suggested packages.
Then installation of lightdm-lxqt-greeter, then installation task-lxqt, obconf-q, juffed, xarchiver, oxygen-icon-theme, fonts-ttf-dejavu (Always with urpmi --no-suggest).

At this stage:
theme mga : OK
Wallpaper : none
Quicklaunch : none

I read the file /etc/pcmanfm-qt/lxqt/settings.conf and I noticed that:
Archiver=file-roller (instead of xarchiver)
SuCommand= gksu %s (is there an equivalent qt?)
TerminalDirCommand=xterm (instead of qterminal)
TerminalExecCommand=xterm -e %s

I read the file /etc/lxqt/panel.conf
quicklaunch are well present, but the instructions are not taken into account.

In a more general way, I observed that files /etc/pcmanfm-qt/lxqt/settings.conf and /etc/lxqt/panel.conf are not respected, either in the installation of lxqt, nor during the creation of a new user.

Hoping that this informations are useful
Georges
Comment 51 Jüri Ivask 2014-08-01 20:58:59 CEST
These (file-roller, xterm etc) are just the defaults of pcmanfm-qt. Maybe it could be possible, that at pcmanfm-qt first start it scans for installed helper applications but still if there are several installed applications eg both file-roller and xarchiver then how to select in that case?

About missing icons (drakconf, qt-linguist, localedrake) - when searching them in kde icon selection menu, then all they are located in the "other icons" section. This means that lxqt sees all kde "system icons" but not all kde "other" icons.
When I select in lxqt "Application menu" applet a menu file /etc/xdg/menus/applications.menu instead of /etc/xdg/menus/lxde-applications.menu, then all the menu sections are without icons and all they are again in "other icons" section. In /etc/xdg/menus/lxde-applications.menu all sections icons are from "system icons" sections and displayed ok.
In LXQt Preferences -> Appearence -> Icons Theme Hicolor Icon theme is not listed although it is installed.

Hope this information could be useful :)
Comment 52 Florian Hubold 2014-08-02 11:03:26 CEST
For the issue with the wallpaper and the default panel I've reported https://github.com/lxde/lxde-qt/issues/250
Apart from that there's not much I can do about this.

As LXQT is completely usable at this point, and should also be selectable during installation, I'll close this bug as the information is becoming much too cluttered here. If you find more issues (or better, fixes) best report them upstream and open a Mageia bug if there's a fix for it.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 53 Florian Hubold 2014-08-02 11:48:18 CEST
FWIW, I've found a workaround for the default panel and wallpaper issue: copying the configs from /etc to the users home folder workarounds that. But this cannot  be added to the package, as rpm is not allowed access to users home folders.

You can try yourself by wiping the config of the current user, and copying over the configs from /etc as normal user:

rm -rf .config/ .cache/ .local/; mkdir -p .config/pcmanfm-qt/lxqt/; mkdir -p .config/lxqt; cp /etc/pcmanfm-qt/lxqt/settings.conf .config/pcmanfm-qt/lxqt/; cp /etc/lxqt/panel.conf .config/lxqt/

Note You need to log in before you can comment on or make changes to this bug.