Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autostart doesn't work #193

Closed
luisbocanegra opened this issue Mar 24, 2024 · 1 comment
Closed

Autostart doesn't work #193

luisbocanegra opened this issue Mar 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@luisbocanegra
Copy link
Owner

To Reproduce
Steps to reproduce the behavior:

  1. kde-material-you-colors -a
  2. Logout and login

Expected behavior
Should autostart but it does not

Desktop (please complete the following information):
Operating System: Arch Linux
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.1.0
Qt Version: 6.6.2
Graphics Platform: Wayland

@luisbocanegra
Copy link
Owner Author

It seems systemd-xdg-autostart-generator doesn't recognize programs from /home/$(whoami)/.local/bin/kde-material-you-colors not sure if this is new or it's been always like that and I just didn't notice.

Mar 24 14:04:57 archlinux systemd-xdg-autostart-generator[269916]: Exec binary 'kde-material-you-colors' does not exist: No such file or directory
Mar 24 14:04:57 archlinux systemd-xdg-autostart-generator[269916]: /home/luis/.config/autostart/kde-material-you-colors.desktop: not generating unit, executable specified in Exec= does not exist.

Neither does KDE for the Start/Stop launchers

Mar 24 14:08:18 archlinux plasmashell[270865]: org.kde.plasma.runner.services: Failed to resolve executable from service. Error: "Could not find the program 'kde-material-you-colors'"
Mar 24 14:08:21 archlinux plasmashell[270865]: kf.kio.gui: "Could not find the program 'kde-material-you-colors'"

This only happens if the program is installed by pip/pipx (for the current user only).

$ whereis kde-material-you-colors
kde-material-you-colors: /home/luis/.local/bin/kde-material-you-colors

The solution is adding $HOME/.local/bin to the environment variable used by KDE

cat $HOME/.config/plasma-workspace/env/path.sh
export PATH=$HOME/.local/bin:$PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant