Auto start application on Phosh login
#1
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.
  Reply
#2
(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.
  Reply
#3
(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 Smile
  Reply
#4
(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.
  Reply
#5
(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.

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.

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/
  Reply
#6
(09-05-2022, 08:13 AM)alaraajavamma Wrote:
(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.

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.

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/
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.  Smile
----------------------------------------------------------------------------------------------------------
TESTED: Arch Plasma, Arch Phosh , Manjaro Phosh, Manjaro Plasma
Fedora, Mobian, Postmarket Plasma, Postmarket Phosh, Kali, SXMO.
  Reply
#7
Thanks, I'll give ~/.config/autostart a try. (The "autostart" directory is not there so will create it and see if it works.)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Transparent Phosh App Grid? arno_nuehm 2 931 11-01-2022, 10:27 PM
Last Post: Amymunoz
  [Fixed] Phosh crashes frequently after latest updates arno_nuehm 20 2,597 10-14-2022, 05:38 PM
Last Post: Krafter
Exclamation Impossible to minimize a window with Phosh anonymous 7 788 08-18-2022, 01:53 PM
Last Post: dante404
  New SD card won't auto-mount, will only mount as read-only 3x5co 3 515 07-16-2022, 02:28 PM
Last Post: dachalife
  Phosh 0.20 beta on mobian Anthony1224 1 787 06-11-2022, 06:29 AM
Last Post: Zebulon Walton
Sad Chatty can no longer start since the last update anonymous 10 2,166 06-08-2022, 01:03 PM
Last Post: Korac
  User login change usagi 11 2,201 05-13-2022, 01:16 AM
Last Post: johnpine
  Issues with Mobian? Start here. tophneal 0 1,069 04-21-2022, 11:27 AM
Last Post: tophneal
  Phosh modem on/off effectiveness? Zebulon Walton 0 531 01-24-2022, 09:21 AM
Last Post: Zebulon Walton
  How to do automatic login or shorten the login number amosbatto 0 548 12-08-2021, 09:29 PM
Last Post: amosbatto

Forum Jump:


Users browsing this thread: 1 Guest(s)