Discussion:
[Bug 255342] [NEW] Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
Launchpad Bug Tracker
2008-08-07 18:29:53 UTC
Permalink
You have been subscribed to a public bug:

I found some annoyances while trying the new KDE 4.1 in Ubuntu Intrepid:

- When I started the KDE4 session, many applications launched
automatically (AWN was especially annoying since it does not behaves
well with the KDE 4 compositor). They are located in ~/.config/autostart
so you cannot enable/disable them in a session-specific way. Therefore,
I had to backup this directory and remove the GNOME-only entries.

- When I switched back to my GNOME session, some KDE applications
launched automatically (Kwallet, etc.) so I had to repeat the previous
step but removing the links to KDE applications this time.

Currently, every time I want to check the progress of the newly released
KDE packages I have to modify the contents of the directory, change the
session, modify the directory again and switch back to the GNOME
session. That is preventing people from having both Desktop Environments
installed in the same machine or using isolated applications from the
other Desktop Environment.

How could this be fixed?

** Affects: kdebase (Ubuntu)
Importance: Undecided
Status: New
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Kubuntu Team, which is subscribed to kdebase in ubuntu.
Odd-rationale
2008-08-07 18:34:27 UTC
Permalink
I believe that KDE has its own Autostart directory (~/.kde/Autostart or
~/.kde4/Autostart). Try sym-linking the KDE stuff there.

Hope that helps!

** Changed in: kdebase (Ubuntu)
Sourcepackagename: None => kdebase

** Changed in: kdebase (Ubuntu)
Status: New => Invalid

** bug changed to question:
https://answers.launchpad.net/ubuntu/+source/kdebase/+question/41534
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to kdebase in ubuntu.
Harald Sitter
2008-08-10 23:30:16 UTC
Permalink
Also see advanced options in KDE's autostart configuration module.
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to kdebase in ubuntu.
Adam Williamson
2008-09-10 21:20:49 UTC
Permalink
Someone complained about the same thing in Mandriva:

http://forum.mandriva.com/viewtopic.php?p=548286#548286

Looks like an upstream issue.
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Almost
Kubuntu Bugs, which is subscribed to kdebase in ubuntu.
Adam Williamson
2008-09-10 21:43:42 UTC
Permalink
OK, there's reports for this in both KDE and GNOME:

https://bugs.kde.org/show_bug.cgi?id=170817
https://bugs.kde.org/show_bug.cgi?id=163582

http://bugzilla.gnome.org/show_bug.cgi?id=551700
http://bugzilla.gnome.org/show_bug.cgi?id=548339

I don't think INVALID is a good resolution.

** Also affects: kdebase via
http://bugs.kde.org/show_bug.cgi?id=170817
Importance: Unknown
Status: Unknown
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Almost
Kubuntu Bugs, which is subscribed to kdebase in ubuntu.
Bug Watch Updater
2008-09-10 21:45:37 UTC
Permalink
** Changed in: kdebase
Status: Unknown => New
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Almost
Kubuntu Bugs, which is subscribed to kdebase in ubuntu.
Adam Williamson
2008-09-10 21:48:40 UTC
Permalink
** Also affects: gnome-session via
http://bugzilla.gnome.org/show_bug.cgi?id=548339
Importance: Unknown
Status: Unknown

** Also affects: kdebase (Mandriva)
Importance: Undecided
Status: New
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Almost
Kubuntu Bugs, which is subscribed to kdebase in ubuntu.
Bug Watch Updater
2008-09-10 21:53:43 UTC
Permalink
** Changed in: gnome-session
Status: Unknown => New
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Almost
Kubuntu Bugs, which is subscribed to kdebase in ubuntu.
volapyk
2008-09-10 23:27:32 UTC
Permalink
KDE will autostart programs added to sessions in Gnome. The files are
located in ~./config/autostart like the OP mentions. It is possible to
disable the entries in "system settings/advanced/autostart" in KDE4, BUT
this will edit the files in ~./config/autostart and thereby remove the
entries from Gnome sessions.

So in short. I have the exact same problems. For more details see the
first link posted by Adam Williamson.
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Almost
Kubuntu Bugs, which is subscribed to kdebase in ubuntu.
Javier Cabezas
2008-09-11 07:12:54 UTC
Permalink
There should be an easy way to select in which sessions (managed by
autostart compliant session managers) each program/service should be
started.
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Almost
Kubuntu Bugs, which is subscribed to kdebase in ubuntu.
Bug Watch Updater
2008-12-17 11:26:39 UTC
Permalink
** Changed in: gnome-session
Status: New => Invalid
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.
Bug Watch Updater
2010-09-16 05:52:47 UTC
Permalink
** Changed in: gnome-session
Status: Invalid => Unknown

** Changed in: gnome-session
Importance: Unknown => Medium
--
Freedesktop's autostart makes (almost) impossible having both KDE4 and GNOME installed in the same machine
https://bugs.launchpad.net/bugs/255342
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.
Bug Watch Updater
2011-02-04 12:37:46 UTC
Permalink
** Changed in: kdebase
Importance: Unknown => Medium
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.
https://bugs.launchpad.net/bugs/255342

Title:
Freedesktop's autostart makes (almost) impossible having both KDE4 and
GNOME installed in the same machine
Bug Watch Updater
2011-02-28 20:54:53 UTC
Permalink
** Changed in: gnome-session
Status: Unknown => Invalid
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.
https://bugs.launchpad.net/bugs/255342

Title:
Freedesktop's autostart makes (almost) impossible having both KDE4 and
GNOME installed in the same machine
Bug Watch Updater
2018-11-07 22:11:37 UTC
Permalink
Launchpad has imported 10 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=170817.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-09-10T20:41:21+00:00 Eduardo Durany Fernández wrote:

Version: (using KDE 4.1.1)
Installed from: Unspecified

Stop gnome and kde 4 autostart mess

Case one:
Steps to reproduce:

1) Mark an entry in gnome-session to not autostart
2) Login in kde4

Expected behavior:
Kde4 does not autostart that app

Current behavior:
Kde4 autostarts the app

Case two:
Steps to reproduce:

1) Mark an entry in kde to not autostart
2) Login in gnome

Expected behavior:
Gnome shows the app in gnome-session and does not autostart it

Current behavior:
Gnome does not show the app in gnome-session

I would like to list every autostart entries in gnome and kde. Mark them
to autostart only in gnome, only in kde or in both.

Same bug in gnome:
http://bugzilla.gnome.org/show_bug.cgi?id=551700

Related bugs:
http://bugzilla.gnome.org/show_bug.cgi?id=548339
https://bugs.kde.org/show_bug.cgi?id=163582

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342/comments/3

------------------------------------------------------------------------
On 2008-09-10T23:41:29+00:00 Adamw-c wrote:

Additional comments: KDE has a 'private' autostart directory,
~/.kde/Autostart . GNOME does not.

The OnlyShowIn keyword can be used; in the context of autostart it will
make the app only start in a particular DE. OnlyShowIn=KDE will make it
only autostart in KDE, OnlyShowIn=GNOME will make it only autostart in
GNOME.

So all the bits are there for both KDE and GNOME to behave sensibly by
default and to present a simple interface to configure this.

IMHO, by default, when you set an app to autostart in either KDE or
GNOME, it should be set to *only* autostart in that environment. I think
that's the behavior most users expect.

Extra links to reports of this issue:

http://forum.mandriva.com/viewtopic.php?p=548286
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342/comments/7

------------------------------------------------------------------------
On 2008-09-11T17:40:25+00:00 Eduardo Durany Fernández wrote:

When Gnome disables an autostart entry, it adds the flag "X-GNOME-
Autostart-enabled=false". Kde does not understand this flag.

When Kde disables an autostart entry, it adds the flag "Hidden=true".
The problem is that Gnome uses this flag to mark autostart entries
deleted. From gnome-sessions source:

/* Two possible cases:
* a) We want to remove a system wide startup desktop file.
* We can't do that, so we will create a user desktop file
* with the hidden flag set.
* b) We want to remove a startup desktop file that is both
* system and user. So we have to mark it as hidden.
*/

I think Gnome and Kde hackers need to reach agreement here.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342/comments/9

------------------------------------------------------------------------
On 2008-09-11T17:45:18+00:00 Adamw-c wrote:

If what I wrote above is true - "OnlyShowIn=KDE will make it only
autostart in KDE, OnlyShowIn=GNOME will make it only autostart in GNOME"
- then the obvious solution is to use the OnlyShowIn key, which is a
standard one, not an extension like X-GNOME-Autostart-enabled.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342/comments/10

------------------------------------------------------------------------
On 2008-09-11T18:42:43+00:00 Eduardo Durany Fernández wrote:

Yes, but if you put "OnlyShowIn=kde" gnome will not list that entry.
I would like to list every autostart entries in Gnome and Kde and to enable, disable or delete them. But maybe people would like another thing.

I think "Hidden" should be used only to deleted entries so we need
another flag such as "Autostart-enable" to enable/disable them.

A similar problem occurs with menu entries. With Gnome i can enable or
disable menu entries without delete them. I think Gnome uses "NoDisplay"
flag to do this. Kde can not do this
(http://bugs.kde.org/show_bug.cgi?id=93689).

What about an "Enable" flag to resolve both cases?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342/comments/11

------------------------------------------------------------------------
On 2008-09-12T01:49:38+00:00 volapyk wrote:

I'm using OnlyShowIn=GNOME atm in Mandriva to solve this problem. It
seems to be working perfectly.

I support using the OnlyShowIn key, like Adam suggests. I don't need to
have KDE autostart entries listed in Gnome. I'm not really sure I want
to either.

Any solution is fine with me though. As long as it's simple.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342/comments/12

------------------------------------------------------------------------
On 2008-09-12T02:15:02+00:00 Eduardo Durany Fernández wrote:

Well, after some research...

GNOME (gnome-session):

Show:
It shows autostart entries in /etc/xdg/autostart and in $HOME/.config/autostart.
It does not show entries with "Hidden=true", "NotShowIn=gnome" or "OnlyShowIn=kde".

Enable/Disable (user):
It sets "X-GNOME-Autostart-enabled" flag true or false.

Enable/Disable (system):
It creates a user desktop file with "X-GNOME-Autostart-enabled" flag.

Delete (user):
It deletes the desktop file.

Delete (system):
It creates a user desktop file with "Hidden=true".


KDE (systemsettings):

Show:
It only shows autostart entries in $HOME/.config/autostart.
It shows entries with "Hidden=true" or "OnlyShowIn=gnome" (but it does not exec them).

Enable/Disable (user):
It sets "Hidden" flag true or false.

Delete (user):
It deletes the desktop file.


I like gnome-sessions behavior, but obviously "X-GNOME-Autostart-enabled" flag should be standardized.
This is a very annoying bug and i am sure every people would like to see similar behavior in both programs. I can't do much more with this. Thanks for reading.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342/comments/13

------------------------------------------------------------------------
On 2008-09-12T02:21:36+00:00 Adamw-c wrote:

Great info, Eduardo. I'll duplicate it in the GNOME bug, if you don't
mind.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342/comments/14

------------------------------------------------------------------------
On 2010-09-28T17:32:06+00:00 Cfeck wrote:

*** Bug 252663 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342/comments/15

------------------------------------------------------------------------
On 2018-11-05T03:12:28+00:00 Andrew-crouthamel wrote:

Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and
re-test if the bug is valid in the latest version? I am setting the
status to NEEDSINFO pending your response, please change the Status back
to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/255342/comments/16


** Changed in: kde-baseapps
Status: New => Incomplete

** Bug watch added: KDE Bug Tracking System #93689
https://bugs.kde.org/show_bug.cgi?id=93689
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in Ubuntu.
https://bugs.launchpad.net/bugs/255342

Title:
Freedesktop's autostart makes (almost) impossible having both KDE4 and
GNOME installed in the same machine

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-session/+bug/255342/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
h
Andrew-crouthamel
2018-11-17 05:06:15 UTC
Permalink
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time.
Could you help us out and re-test if the bug is valid in the latest
version? This bug will be moved back to REPORTED Status for manual
review later, which may take a while. If you are able to, please lend us
a hand.

Thank you for helping us make KDE software even better for everyone!
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in Ubuntu.
https://bugs.launchpad.net/bugs/255342

Title:
Freedesktop's autostart makes (almost) impossible having both KDE4 and
GNOME installed in the same machine

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-session/+bug/255342/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.c
Bug Watch Updater
2018-11-17 08:01:30 UTC
Permalink
** Changed in: kde-baseapps
Status: Incomplete => New
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in Ubuntu.
https://bugs.launchpad.net/bugs/255342

Title:
Freedesktop's autostart makes (almost) impossible having both KDE4 and
GNOME installed in the same machine

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-session/+bug/255342/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-b
Loading...