cutefishos / core

System components and backend.
GNU General Public License v3.0
269 stars 42 forks source link

Application AutoStart #8

Open gaetan1903 opened 3 years ago

gaetan1903 commented 3 years ago

The application make in "autostart" doesn't start on login in this DE, it's in correct place.

rdrms commented 2 years ago

I can confirm this issue.

I have three things in ~/.config/autostart/

  1. mpd (as user)
  2. Private Internet Access VPN
  3. a small script to change the screen layout how I like them Although mpd will continue playing on login if it was playing on logout, neither of the other two seem to have any effect and have to be activated manually.

Perhaps this is better categorized in cutefish-session ?

wvq commented 2 years ago

Same problem.

I found in .config/autostart/*.desktop, Exec= not accept additional arguments

# this work
Exec=ulauncher

# this not work
Exec=ulauncher --hide-window

My soluction:

Write a shell script put anywhere you like:

#!/bin/bash
ulauncher --hide-window

and change the *.desktop :

Exec=/path/to/your/shell.sh

It works for me

gaetan1903 commented 2 years ago

Thanks but i doesn't use this DE anymore 😁