Giter VIP home page Giter VIP logo

Comments (13)

yochananmarqos avatar yochananmarqos commented on August 24, 2024 1

It is weird. Of course Cinnamon is xdg-compliant, it would be absolutely ridiculous if it was not. Everything else loads at startup:

$ ls /etc/xdg/autostart
at-spi-dbus-bus.desktop                         cinnamon-settings-daemon-media-keys.desktop           gnome-keyring-secrets.desktop
battery-monitor-autostart.desktop               cinnamon-settings-daemon-mouse.desktop                gnome-keyring-ssh.desktop
blueberry-obex-agent.desktop                    cinnamon-settings-daemon-orientation.desktop          gsettings-data-convert.desktop
blueberry-tray.desktop                          cinnamon-settings-daemon-power.desktop                kdeconnectd.desktop
caribou-autostart.desktop                       cinnamon-settings-daemon-print-notifications.desktop  msm_notifier.desktop
cinnamon-settings-daemon-a11y-keyboard.desktop  cinnamon-settings-daemon-screensaver-proxy.desktop    nm-applet.desktop
cinnamon-settings-daemon-a11y-settings.desktop  cinnamon-settings-daemon-smartcard.desktop            org.gnome.SettingsDaemon.DiskUtilityNotify.desktop
cinnamon-settings-daemon-automount.desktop      cinnamon-settings-daemon-sound.desktop                pamac-tray.desktop
cinnamon-settings-daemon-background.desktop     cinnamon-settings-daemon-wacom.desktop                parcellite-startup.desktop
cinnamon-settings-daemon-clipboard.desktop      cinnamon-settings-daemon-xrandr.desktop               print-applet.desktop
cinnamon-settings-daemon-color.desktop          cinnamon-settings-daemon-xsettings.desktop            pulseaudio.desktop
cinnamon-settings-daemon-cursor.desktop         clight.desktop                                        solaar.desktop
cinnamon-settings-daemon-housekeeping.desktop   geoclue-demo-agent.desktop                            user-dirs-update-gtk.desktop
cinnamon-settings-daemon-keyboard.desktop       gnome-keyring-pkcs11.desktop

from clightd.

FedeDP avatar FedeDP commented on August 24, 2024

This is really weird.
It seems that your DE is not xdg-compliant; even if it seems quite weird to me that cinnamon does not support it. Are you sure you are correctly running cinnamon session manager?

from clightd.

FedeDP avatar FedeDP commented on August 24, 2024

Super weird; i'll have a closer look at the issue. Thanks for reporting!

from clightd.

FedeDP avatar FedeDP commented on August 24, 2024

ls -l /etc/xdg/autostart does not show any difference on my system; care to try?
Clight desktop file seems to be correct too (and it is working for me on kde).

from clightd.

yochananmarqos avatar yochananmarqos commented on August 24, 2024
$ ls -l /etc/xdg/autostart
total 204
-rw-r--r-- 1 root root   292 Mar 14 12:41 at-spi-dbus-bus.desktop
-rwxr-xr-x 1 root root   497 Aug 18 19:07 battery-monitor-autostart.desktop
-rw-r--r-- 1 root root   339 Jul  4 11:32 blueberry-obex-agent.desktop
-rw-r--r-- 1 root root   311 Jul  4 11:32 blueberry-tray.desktop
-rw-r--r-- 1 root root   269 Jul 23 15:18 caribou-autostart.desktop
-rw-r--r-- 1 root root   268 Jun 23 22:50 cinnamon-settings-daemon-a11y-keyboard.desktop
-rw-r--r-- 1 root root   268 Jun 23 22:50 cinnamon-settings-daemon-a11y-settings.desktop
-rw-r--r-- 1 root root   260 Jun 23 22:50 cinnamon-settings-daemon-automount.desktop
-rw-r--r-- 1 root root   262 Jun 23 22:50 cinnamon-settings-daemon-background.desktop
-rw-r--r-- 1 root root   260 Jun 23 22:50 cinnamon-settings-daemon-clipboard.desktop
-rw-r--r-- 1 root root   252 Jun 23 22:50 cinnamon-settings-daemon-color.desktop
-rw-r--r-- 1 root root   254 Jun 23 22:50 cinnamon-settings-daemon-cursor.desktop
-rw-r--r-- 1 root root   266 Jun 23 22:50 cinnamon-settings-daemon-housekeeping.desktop
-rw-r--r-- 1 root root   258 Jun 23 22:50 cinnamon-settings-daemon-keyboard.desktop
-rw-r--r-- 1 root root   262 Jun 23 22:50 cinnamon-settings-daemon-media-keys.desktop
-rw-r--r-- 1 root root   252 Jun 23 22:50 cinnamon-settings-daemon-mouse.desktop
-rw-r--r-- 1 root root   264 Jun 23 22:50 cinnamon-settings-daemon-orientation.desktop
-rw-r--r-- 1 root root   252 Jun 23 22:50 cinnamon-settings-daemon-power.desktop
-rw-r--r-- 1 root root   280 Jun 23 22:50 cinnamon-settings-daemon-print-notifications.desktop
-rw-r--r-- 1 root root   276 Jun 23 22:50 cinnamon-settings-daemon-screensaver-proxy.desktop
-rw-r--r-- 1 root root   260 Jun 23 22:50 cinnamon-settings-daemon-smartcard.desktop
-rw-r--r-- 1 root root   252 Jun 23 22:50 cinnamon-settings-daemon-sound.desktop
-rw-r--r-- 1 root root   252 Jun 23 22:50 cinnamon-settings-daemon-wacom.desktop
-rw-r--r-- 1 root root   255 Jun 23 22:50 cinnamon-settings-daemon-xrandr.desktop
-rw-r--r-- 1 root root   260 Jun 23 22:50 cinnamon-settings-daemon-xsettings.desktop
-rw-r--r-- 1 root root   192 Aug 20 09:59 clight.desktop
-rw-r--r-- 1 root root   223 Jul 30 13:28 geoclue-demo-agent.desktop
-rw-r--r-- 1 root root  8322 May  7 02:56 gnome-keyring-pkcs11.desktop
-rw-r--r-- 1 root root  7941 May  7 02:56 gnome-keyring-secrets.desktop
-rw-r--r-- 1 root root  6477 May  7 02:56 gnome-keyring-ssh.desktop
-rw-r--r-- 1 root root  7887 Apr 18 16:28 gsettings-data-convert.desktop
-rw-r--r-- 1 root root  1449 May 31 10:00 kdeconnectd.desktop
-rwxr-xr-x 1 root root   117 Aug  9 03:14 msm_notifier.desktop
-rw-r--r-- 1 root root  5831 Aug  7 14:15 nm-applet.desktop
-rw-r--r-- 1 root root   199 May  8 01:10 org.gnome.SettingsDaemon.DiskUtilityNotify.desktop
-rw-r--r-- 1 root root   165 Aug 19 07:25 pamac-tray.desktop
-rw-r--r-- 1 root root  1105 Jan 30  2017 parcellite-startup.desktop
-rw-r--r-- 1 root root  7969 Jul 23 09:40 print-applet.desktop
-rw-r--r-- 1 root root  4973 Jul 26 00:12 pulseaudio.desktop
-rw-r--r-- 1 root root   285 Jul 31 15:55 solaar.desktop
-rw-r--r-- 1 root root 11875 Feb 18  2017 user-dirs-update-gtk.desktop

from clightd.

FedeDP avatar FedeDP commented on August 24, 2024

Can you try by changing /etc/xdg/autostart/clight.desktop file "Exec=" line to: "Exec=clight" ?
The only reasonable issue i can think of is that when the xdg/autostart folder is parsed and every desktop file started, systemd has not still properly setup an user session for $USER; so, systemctl --user fails.

from clightd.

yochananmarqos avatar yochananmarqos commented on August 24, 2024

I changed it, disabled the clight.timer service I had enabled, rebooted and it works.

from clightd.

FedeDP avatar FedeDP commented on August 24, 2024

I see. I may even drop clight.desktop file and rely instead on clight.timer only (this way it does not even need an xdg-compliant DE).
I have only to understand how to ship a systemd unit that is enabled by default.

For now, please revert clight to stock and manually enable clight.timer, thanks!

from clightd.

FedeDP avatar FedeDP commented on August 24, 2024

You can try to update clight from git (are you using aur? It should work fine too) and clight install should now tell you to enable clight.timer.
No more xdg compliance needed.

from clightd.

yochananmarqos avatar yochananmarqos commented on August 24, 2024

Yes, I'm using clight-git from the AUR. I rebuilt again to r395.2a1a7fc-1 just now. I didn't see any message about enabling clight.timer. Maybe add an echo line to the PKGBUILD?

from clightd.

FedeDP avatar FedeDP commented on August 24, 2024

Nope, echo should already be there as i added it in clight.install file (here: https://aur.archlinux.org/cgit/aur.git/tree/?h=clight-git).
On my pc it works. You are probably using a cached PKGBUILD/clight.install from a previous build, i guess. Nothing to worry about. Just check that /etc/xdg/autostart/clight.desktop does not exist and enable clight.timer.

from clightd.

yochananmarqos avatar yochananmarqos commented on August 24, 2024

Hmmm, strange. Yep, I noticed clight.desktop was gone so I enabled clight.timer. All is well, thank you.

from clightd.

FedeDP avatar FedeDP commented on August 24, 2024

Nice to hear that!
Thank you for spending your time helping me to debug the issue :)

from clightd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.