09-03-2022, 06:56 PM
How do you set up an application to run automatically when logging into Phosh? I don't see anything in Settings about auto-starting applications at login and don't see anything obvious under .local or .config.
Auto start application on Phosh login
|
09-03-2022, 06:56 PM
How do you set up an application to run automatically when logging into Phosh? I don't see anything in Settings about auto-starting applications at login and don't see anything obvious under .local or .config.
09-04-2022, 07:26 AM
(09-03-2022, 06:56 PM)Zebulon Walton Wrote: How do you set up an application to run automatically when logging into Phosh? I don't see anything in Settings about auto-starting applications at login and don't see anything obvious under .local or .config. I assume that Phosh is launched by a specific systemd service, so you could write your own systemd service that launches your desired application, and set the Phosh-launching service as a dependency.
09-04-2022, 03:06 PM
(This post was last modified: 09-04-2022, 03:06 PM by alaraajavamma.)
(09-03-2022, 06:56 PM)Zebulon Walton Wrote: How do you set up an application to run automatically when logging into Phosh? I don't see anything in Settings about auto-starting applications at login and don't see anything obvious under .local or .config. Correct folder to place .desktop file is ~/.config/autostart/ Or install gnome tweaks but it will do excatly the same thing (09-03-2022, 06:56 PM)Zebulon Walton Wrote: How do you set up an application to run automatically when logging into Phosh? I don't see anything in Settings about auto-starting applications at login and don't see anything obvious under .local or .config. Good question. I noted that in /config I have a autostart folder with 0 items in it. On Ubuntu 22.04 we can use 'Startup Application Preferences' to add to auto start so I wonder for Mobian users if they can add this application through terminal? I tried on Arch and did not work. Edit; Probably not much help but in Postmarket Plasma there is an autostart folder and an autostart-scripts folder in .config. In the autostart folder is a file named .desktop that has a script of sorts in it.
----------------------------------------------------------------------------------------------------------
TESTED: Arch Plasma, Arch Phosh , Manjaro Phosh, Manjaro Plasma Fedora, Mobian, Postmarket Plasma, Postmarket Phosh, Kali, SXMO.
09-05-2022, 08:13 AM
(09-04-2022, 06:42 PM)Chief Wrote: Good question. I noted that in /config I have a autostart folder with 0 items in it. On Ubuntu 22.04 we can use 'Startup Application Preferences' to add to auto start so I wonder for Mobian users if they can add this application through terminal? I tried on Arch and did not work. If you want GUI install Gnome Tweaks - there is Startup application setup. Or you can move any .desktop file to ~/.config/autostart/ Both will do the same - when you boot they will start applications inside ~/.config/autostart/
09-05-2022, 03:36 PM
(09-05-2022, 08:13 AM)alaraajavamma Wrote:Right.. I see it and the silly thing is I have Arch Tweaks and Gnome Tweaks installed but I only installed Gnome tweaks for the window min/max buttons. I didn't even notice the startup App aspect - thanks.(09-04-2022, 06:42 PM)Chief Wrote: Good question. I noted that in /config I have a autostart folder with 0 items in it. On Ubuntu 22.04 we can use 'Startup Application Preferences' to add to auto start so I wonder for Mobian users if they can add this application through terminal? I tried on Arch and did not work.
----------------------------------------------------------------------------------------------------------
TESTED: Arch Plasma, Arch Phosh , Manjaro Phosh, Manjaro Plasma Fedora, Mobian, Postmarket Plasma, Postmarket Phosh, Kali, SXMO.
09-05-2022, 06:27 PM
Thanks, I'll give ~/.config/autostart a try. (The "autostart" directory is not there so will create it and see if it works.)
10-14-2023, 06:02 AM
I have the same problem. Does the solution described here work?
10-14-2023, 06:29 AM
|