[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2022-01-09 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=407515

David Edmundson  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from David Edmundson  ---
>I investigated /usr/share/sddm/scripts/wayland-session and realised that it 
>doesn't actually source zshrc. Once I made it source zshrc, everything works 
>properly.

That's upstream, it was also fixed

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2021-08-31 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=407515

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2021-08-31 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=407515

Nate Graham  changed:

   What|Removed |Added

 CC||f.alexander.wi...@gmail.com

--- Comment #10 from Nate Graham  ---
*** Bug 391628 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2021-08-31 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=407515

Nate Graham  changed:

   What|Removed |Added

 CC||ios...@gmail.com

--- Comment #9 from Nate Graham  ---
*** Bug 428548 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2021-03-04 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=407515

Nate Graham  changed:

   What|Removed |Added

  Component|generic-wayland |general
   Assignee|plasma-b...@kde.org |k...@davidedmundson.co.uk
 CC||plasma-b...@kde.org
   Keywords||wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2021-02-19 Thread tguen
https://bugs.kde.org/show_bug.cgi?id=407515

tguen  changed:

   What|Removed |Added

 CC||tg...@tutanota.com

--- Comment #8 from tguen  ---
I'm having this problem as well. I have my shell set to fish. Oddly enough, if
I open Krunner and run `plasmashell --replace` then it works.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2019-06-08 Thread Roman Gilg
https://bugs.kde.org/show_bug.cgi?id=407515

Roman Gilg  changed:

   What|Removed |Added

 CC||subd...@gmail.com

--- Comment #7 from Roman Gilg  ---
The problem is once again zsh configuration. The /etc/profile.d/ files are not
sourced by default with zsh, whereas sourcing /etc/profile in bash leads to
sourcing all the files in /etc/profile.d

Sourcing the files manually in $HOME/.zprofile makes it work. But this should
work by default, so as a quick workaround the apps-bin-path.sh and flatpak.sh
files should just be additionally sourced in the startup-script when zsh is the
used shell.

It's ugly anyway. Why are the shells even involved? Setting these environment
variable for our non-terminal desktop environment shouldn't be in any way
related with them in the first place.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2019-05-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=407515

Nate Graham  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||n...@kde.org
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2019-05-16 Thread Rohan Garg
https://bugs.kde.org/show_bug.cgi?id=407515

--- Comment #6 from Rohan Garg  ---
Potentially related : https://bugzilla.redhat.com/show_bug.cgi?id=92132

Though after applying the workaround checking the environment of kwin_wayland
still does not have the correct XDG_DATA_DIRS.

I investigated /usr/share/sddm/scripts/wayland-session and realised that it
doesn't actually source zshrc. Once I made it source zshrc, everything works
properly.

I also noticed that for the XSession Neon ships a /etc/X11/Xsession.d/20flatpak
which is probably what makes it work on X11.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2019-05-14 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=407515

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #5 from David Edmundson  ---
/etc/profile.d is normally sourced from SDDM via
/usr/share/sddm/scripts/Xsession

The wayland version is /usr/share/sddm/scripts/wayland-session which looks to
me to still include /etc/profile 


It possibly means that we're sourcing fine and kwin is destroying the env. I
shall investigate.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2019-05-14 Thread Rohan Garg
https://bugs.kde.org/show_bug.cgi?id=407515

--- Comment #4 from Rohan Garg  ---
Things that I tried and didn't work :

* Wayland doesn't source /etc/profile.d/flatpak.sh
* Running that script via the KDE startup mechanism
* Creating a /etc/environment.d/990-flatpak.conf

Not really sure how else to inject the flatpak path's into the Wayland session.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2019-05-14 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=407515

--- Comment #3 from Harald Sitter  ---
So it is, makes the bug weirder though.

$ grep Exec /usr/share/wayland-sessions/plasmawayland.desktop  
Exec=dbus-run-session /usr/bin/startplasmacompositor
TryExec=/usr/bin/startplasmacompositor

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2019-05-14 Thread Rohan Garg
https://bugs.kde.org/show_bug.cgi?id=407515

Rohan Garg  changed:

   What|Removed |Added

 CC||ro...@kde.org

--- Comment #2 from Rohan Garg  ---
I thought the session was spun out of /usr/bin/startplasmacompositor, which is
a shell script.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 407515] Desktop files from flatpaks don't show up

2019-05-14 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=407515

Harald Sitter  changed:

   What|Removed |Added

 CC||sit...@kde.org

--- Comment #1 from Harald Sitter  ---
Also applies to snaps btw.

$ grep -rl XDG_DATA /etc/profile.d
/etc/profile.d/apps-bin-path.sh
/etc/profile.d/flatpak.sh

If I were to guess it's because our session does not spin out of a shell but is
purely started by c++ and thus never loads the profile scripts.

-- 
You are receiving this mail because:
You are watching all bug changes.