[opensuse-kde3] KDE3 session starts Plasma as well

Hi, I just added KDE3 to my system with OpenSUSE 42.3. I had been using KDE Plasma 5 on it before. Logging out and relogging with a KDE3 in gave me this: https://schwart6.home.xs4all.nl/kde3-with-plasmabar.png (Two panels, one KDE3 kicker and the Plasma panel.) This does not really make sense I'd say. Is this a bug or should I change something to prevent this? Thanks, Julius -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

On Fri, May 4, 2018 at 11:24 PM, Julius Schwartzenberg <julius.schwartzenberg@gmail.com> wrote:
Hi,
I just added KDE3 to my system with OpenSUSE 42.3. I had been using KDE Plasma 5 on it before.
Logging out and relogging with a KDE3 in gave me this: https://schwart6.home.xs4all.nl/kde3-with-plasmabar.png (Two panels, one KDE3 kicker and the Plasma panel.)
This does not really make sense I'd say. Is this a bug or should I change something to prevent this?
That was my experiense some releases ago. I could not figure out what starts Plasma. The only way around was removing plasma components. After that I never installs "official" kde, but rather minimal X and then add kde3. -- Mark Goldstein -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

I had the same problem a while ago with 42.1 and I started a thread here: https://lists.opensuse.org/opensuse-kde3/2017-01/msg00039.html I could not figure out the solution. If you could share which plasma components you removed, that would be helpful. Thanks, Gianluca On Sat, 5 May 2018, Mark Goldstein wrote:
On Fri, May 4, 2018 at 11:24 PM, Julius Schwartzenberg <julius.schwartzenberg@gmail.com> wrote:
Hi,
I just added KDE3 to my system with OpenSUSE 42.3. I had been using KDE Plasma 5 on it before.
Logging out and relogging with a KDE3 in gave me this: https://schwart6.home.xs4all.nl/kde3-with-plasmabar.png (Two panels, one KDE3 kicker and the Plasma panel.)
This does not really make sense I'd say. Is this a bug or should I change something to prevent this?
That was my experiense some releases ago. I could not figure out what starts Plasma. The only way around was removing plasma components. After that I never installs "official" kde, but rather minimal X and then add kde3.
-- Mark Goldstein -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://artemide.bioeng.washington.edu/ Research Assistant Professor at the Department of Bioengineering at the University of Washington, Seattle WA U.S.A. ----------------------------------------------------- -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

Hello All, I have experienced same issue before on openSUSE Leap 42.3. You have to just uninstall plasma5-workspace package if you do not use Plasma 5 any more. If you may use Plama 5 going forward, remove Plasma panel by right click on the Plasma panel and select panel option > panel setting > other setting > remove panel. Plasma 5 panel will disappear on your desktop. But plasmashell process is still remain your session. You can confirm this by right click on your desktop so that you have to kill plasmashell process after KDE3 session was ready. I have made a work around creating startup shell like this: $ vim ~/.kde/Autostart/init.sh #!/bin/bash sleep 10 && pkill plasmashell >/dev/null 2>&1 $ chmod 755 ~/.kde/Autostart/init.sh Please let me know if anyone know better solution! -- koga This is the reply to ... "Re: [opensuse-kde3] KDE3 session starts Plasma as well" Mr./Ms. Gianluca Interlandi <gianluca@u.washington.edu> wrote on 2018-05-06 09:02:15.: --------------------------------------------------------------------- Message-ID: <alpine.LNX.2.00.1805051657120.13880@artemide.bioeng.washington.edu>
I had the same problem a while ago with 42.1 and I started a thread here:
https://lists.opensuse.org/opensuse-kde3/2017-01/msg00039.html
I could not figure out the solution.
If you could share which plasma components you removed, that would be helpful.
Thanks,
Gianluca
On Sat, 5 May 2018, Mark Goldstein wrote:
On Fri, May 4, 2018 at 11:24 PM, Julius Schwartzenberg <julius.schwartzenberg@gmail.com> wrote:
Hi,
I just added KDE3 to my system with OpenSUSE 42.3. I had been using KDE Plasma 5 on it before.
Logging out and relogging with a KDE3 in gave me this: https://schwart6.home.xs4all.nl/kde3-with-plasmabar.png (Two panels, one KDE3 kicker and the Plasma panel.)
This does not really make sense I'd say. Is this a bug or should I change something to prevent this?
That was my experiense some releases ago. I could not figure out what starts Plasma. The only way around was removing plasma components. After that I never installs "official" kde, but rather minimal X and then add kde3.
-- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

koga composed on 2018-05-06 12:27 (UTC+0900):
If you may use Plama 5 going forward, remove Plasma panel by right click on the Plasma panel and select panel option > panel setting > other setting > remove panel. Plasma 5 panel will disappear on your desktop.
But plasmashell process is still remain your session. You can confirm this by right click on your desktop so that you have to kill plasmashell process after KDE3 session was ready.
I have made a work around creating startup shell like this:
$ vim ~/.kde/Autostart/init.sh #!/bin/bash sleep 10 && pkill plasmashell >/dev/null 2>&1
$ chmod 755 ~/.kde/Autostart/init.sh
Please let me know if anyone know better solution!
Did anyone ever figure out how to be able to choose between Plasma and KDE3 sessions, and not have Plasma running when a KDE3 session has been selected, in either 42.3 or 15.0, without needing such a script? Has whatever caused Plasma to start in a KDE3 session been fixed? -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

вт, 20 нояб. 2018 г. в 10:34, Felix Miata <mrmazda@earthlink.net>:
Did anyone ever figure out how to be able to choose between Plasma and KDE3 sessions, and not have Plasma running when a KDE3 session has been selected, in either 42.3 or 15.0, without needing such a script? Has whatever caused Plasma to start in a KDE3 session been fixed?
The problem is caused by one patch that is added to the SUSE source RPM and both environments using the same string to identify their DE. Removing the patch solves the issue. My proposal back then was to change the patch so that it looked in the autostart below /etc for 'KDE3' instead of just 'KDE'. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

On 12/04/2018 11:09 AM, Julius Schwartzenberg wrote:
The problem is caused by one patch that is added to the SUSE source RPM and both environments using the same string to identify their DE. Removing the patch solves the issue. My proposal back then was to change the patch so that it looked in the autostart below /etc for 'KDE3' instead of just 'KDE'.
Good plan. Or, since KDE is Plasma now, why don't we just punt them to Plasma and keep KDE for our own ;-) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

On Sun, May 6, 2018 at 3:02 AM, Gianluca Interlandi <gianluca@u.washington.edu> wrote:
I had the same problem a while ago with 42.1 and I started a thread here:
https://lists.opensuse.org/opensuse-kde3/2017-01/msg00039.html
I could not figure out the solution.
If you could share which plasma components you removed, that would be helpful.
I have not found exact reason, but see this message: https://lists.opensuse.org/opensuse-kde3/2016-08/msg00017.html BR -- Mark Goldstein -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

I just added KDE3 to my system with OpenSUSE 42.3. I had been using KDE Plasma 5 on it before.
Logging out and relogging with a KDE3 in gave me this: https://schwart6.home.xs4all.nl/kde3-with-plasmabar.png (Two panels, one KDE3 kicker and the Plasma panel.)
This does not really make sense I'd say. Is this a bug or should I change something to prevent this?
In the /etc/xdg/autostart directory you can see files plasmashell.desktop, krunner.desktop and other. You can rename/move these files (for example to plasmashell.desktop~), so Plasma will not start. But it will not start at all after that, so you can't run KDE5 session. There are strings "OnlyShowIn=KDE;" in these desktop files, but I don't know who and how detect that KDE is running (maybe by the $XDG_CURRENT_DESKTOP environment variable?) Anyway I don't know how to prevent running plasma in KDE3 sessions, probably it needs patches for DM (display manager) or for something else. Sorry for my English. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

Op zondag 6 mei 2018 06:17:55 CEST schreef 9A4172:
There are strings "OnlyShowIn=KDE;" in these desktop files, but I don't know who and how detect that KDE is running (maybe by the $XDG_CURRENT_DESKTOP environment variable?) Anyway I don't know how to prevent running plasma in KDE3 sessions, probably it needs patches for DM (display manager) or for something else.
Thanks a lot for your investigation! That probably means that OnlyShowIn is usually used to filter DE-specific components, but both KDE3 and KDE Plasma are triggered by OnlyShowIn=KDE. I would propose KDE3 to switch to change so that OnlyShowIn=KDE3 would be used by KDE3 instead. Maybe I can create a patch for that. Does anybody have any other ideas on this?
Sorry for my English.
Без проблем! -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

On 05/06/2018 04:52 PM, Julius Schwartzenberg wrote:
Op zondag 6 mei 2018 06:17:55 CEST schreef 9A4172:
There are strings "OnlyShowIn=KDE;" in these desktop files, but I don't know who and how detect that KDE is running (maybe by the $XDG_CURRENT_DESKTOP environment variable?) Anyway I don't know how to prevent running plasma in KDE3 sessions, probably it needs patches for DM (display manager) or for something else.
Thanks a lot for your investigation! That probably means that OnlyShowIn is usually used to filter DE-specific components, but both KDE3 and KDE Plasma are triggered by OnlyShowIn=KDE.
I would propose KDE3 to switch to change so that OnlyShowIn=KDE3 would be used by KDE3 instead.
Maybe I can create a patch for that. Does anybody have any other ideas on this?
Sorry for my English.
Без проблем!
That actually sounds like a really good idea. There would need to be an update for the label in /etc/sysconfig/windowmanager as well. For kde3, that still includes: DEFAULT_WM="kde" (which I suspect could also cause problems with both installed -- though I don't really see why you would install plasma to begin with -- except to play with it. I have a separate HD with Arch on it for my laptop. If I want to see what is new and remind myself why I would never switch, I just boot Arch and update to the brand new current as of that day Plasma -- 20 minutes later, I'm ready to boot back into KDE3 -- just try and make konqueror behave normal in Plasma -- it's depressing...) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

David C. Rankin wrote:
That actually sounds like a really good idea. There would need to be an update for the label in /etc/sysconfig/windowmanager as well. For kde3, that still includes:
DEFAULT_WM="kde"
I see. What does it do for Plasma? Are you aware of conflicts due to this?
(which I suspect could also cause problems with both installed -- though I don't really see why you would install plasma to begin with -- except to play with it. Of course having muliple DEs installed on one system should be a fully supported use case.
Thanks, Julius -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

9A4172 wrote:
In the /etc/xdg/autostart directory you can see files plasmashell.desktop, krunner.desktop and other. You can rename/move these files (for example to plasmashell.desktop~), so Plasma will not start. But it will not start at all after that, so you can't run KDE5 session.
After doing some more research, I found that it's an old patch from the RPM build that creates the problem: https://build.opensuse.org/package/view_file/KDE:KDE3/kdelibs3/autostart-spe... This patch adds in /etc/xdg/autostart as an autostart folder (in addition to /opt/kde3/share/autostart). Removing it from the build prevents any Plasma component from being started. This patch is very old. Line 42-51 have been even added to KDE3 itself back when it was still being developed upstream, so this patch causes them to be duplicated. As for a simple fix, now entries in both directories are concatenated and handled by a single for loop so that they are all started with the same code. It would be easy to let /etc/xdg/autostart be handled by a separate for loop instead which would not launch anything with OnlyShowIn=KDE. This would allow the files in /opt/kde3/share/autostart to stay intact. Any RPM that wants to install an autostart desktop link that is specifically triggered for KDE3 could put a file in /opt/kde3/share/autostart. Autostart desktop links that are not specific to a given DE (or set of DEs) would still be ran from /etc/xdg/autostart. Would such a patch be accepted to replace the existing autostart-spec.diff? Thanks, Julius -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
participants (7)
-
9A4172
-
David C. Rankin
-
Felix Miata
-
Gianluca Interlandi
-
Julius Schwartzenberg
-
koga@users.sourceforge.jp
-
Mark Goldstein