Forum › Forums › New users › New Users and General Questions › Autostart apps not starting with system
Tagged: autostart
- This topic has 27 replies, 7 voices, and was last updated Feb 10-7:24 pm by Xunzi_23.
-
AuthorPosts
-
May 11, 2021 at 10:25 pm #59283Member
Budgie
I am running antiX-19_386-full Marielle Franco 16 October 2019 with 4.9.0-264-antix.1-486-smp kernel.
I have two apps (KeepassXC and pCloud) in my ~/.config/autostart directory and neither are starting following boot. I have an almost identical installation in another laptop which is very similarwith same OS, CPU, memory etc. Both apps are starting as expected.
THe only difference between the machines is that the problem machine is set up with dual boot from grub start screen with windoze on the first partition.
Is there any setting or other feature which I am missing or has been wrongly configured and which is turning off the autostart function?
How may I investigate this further?May 11, 2021 at 10:43 pm #59287MemberPPC
::Hi, try running “add-start” and adding there the applications you want to run at start up (this will not work in antix 21, probably)
May 12, 2021 at 12:01 am #59290Forum Admin
Dave
::To enable ~/.config/autostart/ you will need to edit ~/.desktop-session/desktop-session.conf and change the LOAD_XDG_AUTOSTART=”false” to LOAD_XDG_AUTOSTART=”true”.
Alternatively you can take the Exec line from the various .desktop files in ~/.config/autostart and add them to either
~/.desktop-session/startup
or
~/.window-manager/startup (EX: ~/.icewm/startup)add-start adds/removes startup items from one of the ~/.window-manager/startup files depending on which window manager you are running.
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
May 12, 2021 at 3:25 pm #59307MemberBudgie
::Hi Dave, thought I would start with your first suggestion and after rebooting keepassxc started exactly as it does on my other 32 bit antiX machine.
Sadly no such luck with pCloud. Will look at other options you suggest but do you have any further info on why the edit is required. What might be different on this problem system and any suggestions?
BudgieMay 12, 2021 at 3:49 pm #59310Member
Xecure
::Edit ~/.desktop-session/startup and add it there. That is also probably the configuration on your other computer.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.May 12, 2021 at 4:53 pm #59312MemberBudgie
::Hi Xecure,
You are right as usual, ~/.desktop-session/startup in my other machine did have both keepassxc and pcloud there. I have no idea why they are in the second laptop but not the problem one. This leaves me wondering also why there are so many ways… but that’s linux for you.I therefor edited the above startup file as you suggested but pcloud did not start after boot.
Perhaps a third way?
BTW I decided to clean out my unused windoze 7 installation and have recovered all the drive for antiX. I am wondering if I should now just do a new installation and start over.
May 12, 2021 at 6:09 pm #59314Member
Xecure
::pcloud did not start after boot.
When launching pcloud from terminal, does it spit out any error? If it doesn’t autostart it may be that it has some problem running, or maybe it is expecting a service that isn’t running.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.May 12, 2021 at 7:16 pm #59315MemberBudgie
::Hi and thanks for the suggestion. I ran pcloud from terminal and this enabled it run but I did get some error messages which seem to support your advice. Here is what I ram and the output:-
alastair@OldDell32:~/Downloads $ ./pcloud Down: Everything Downloaded| Up: Everything Uploaded, status is CONNECTING STATUS -------------> 12 Down: Everything Downloaded| Up: Everything Uploaded, status is SCANNING STATUS -------------> 13 Update for linux-ia32-prod-v1.9.1 is not available Down: Everything Downloaded| Up: Everything Uploaded, status is READY STATUS -------------> 0 (pcloud:3042): libappindicator-WARNING **: 19:52:55.656: Unable to get the session bus: Unknown or unsupported transport “disabled” for address “disabled:” (pcloud:3042): LIBDBUSMENU-GLIB-WARNING **: 19:52:55.656: Unable to get session bus: Unknown or unsupported transport “disabled” for address “disabled:” ^Calastair@OldDell32:~/DownloadsGreek to me and strange that it shows after the event but if it helps….
May 12, 2021 at 8:38 pm #59318Member
Xecure
::Luckily they are just warnings.
Add this entry to the ~/.desktop-session/startup to see if this helps launch pcloud properly#Launching pcloud $HOME/Downloads/pcloud & sleep 1This should launch pcloud and wait for 1 second so it has a bit of time for launching properly before continuing to launch the other session programs.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.May 13, 2021 at 8:23 am #59341MemberBudgie
::Hi Xecure, many thanks for your patience with this. I already had this in my startup file so only had to add the sleep 1 line. Sadly it didn’t make any difference.
I am having difficulty understanding why keepassxc does start and pcloud does not. I wondered if they are interfering with each other. In fact it would be much better if keepassxc started after keepassxc so added a longer pause for keepassxc. Sadly this still didn’t help. Keepassxc popped up after brief delay but pcloud still not opened. (A minor issue has appeared with keepassxc which now looks for the database in /usr/bin/keepassxc. No idea why as it only happens on problem machine.)
I still haven’t tried adding this to window manager and or wm defaults. Not sure about this as starting pcloud should all be done below wm but I don’t know enough about all this. Will try whatever else you suggest.
May 13, 2021 at 8:47 am #59342Member
Xecure
::Compare permissions for the pcloud appimage in both systems. Give executable permissions to all
See how it looks on my system:$ ls -l $HOME/Downloads/pcloud -rwxr-xr-x 1 pc pc 57139391 May 13 10:40 /home/pc/Downloads/pcloudIn startup, instead of $HOME, try if using the complete path of file works. I would also give the exec command just to make sure that the startup runs the app image:
exec /home/alastair/Downloads/pcloud &See if this works.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.May 13, 2021 at 11:56 am #59347Forum Admin
Dave
::Maybe post your ~/.desktop-session/startup file as well ~/.desktop-session/log
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
May 13, 2021 at 12:42 pm #59349MemberBudgie
::I think the logshows a problem I do not understand but here is the result of the checks:
alastair@OldDell32:~ $ ls -l $HOME/Downloads/pcloud -rwxr-xr-x 1 alastair alastair 58189846 May 12 16:32 /home/alastair/Downloads/pcloud alastair@OldDell32:~ $ ls -l $HOME/Downloads/pcloud -rwxr-xr-x 1 alastair alastair 58189846 May 12 16:32 /home/alastair/Downloads/pcloud alastair@OldDell32:~ $ cat ~/.desktop-session/startup #!/bin/bash # Puts connman monitor icon on the taskbar #connman-gtk & # Puts a volume icon on the taskbar volumeicon & # Enable/Disable automounting automount-antix & # Puts a flag on the taskbar to show which keyboard is being used if more than 1 keyboard layout is detected fbxkb-start & # Added KeePassXC manually by edit to startup 12-05-21 keepassxc & sleep 3 # Added pCloud manually by edit to startup 12-05-21 exec /home/Downloads/pcloud & sleep 1 # Uncomment for easy search from the taskbar #search-bar-icon & # Uncomment the following line to mount Samba and/or NFS shares #connectshares & # Uncomment to show the configuration gui of a running ssh-conduit-x11vnc server #ssh-conduit-x11vnc.sh gui & # Uncomment to use clipboard manager #clipit & # Use pkexec (you need to install policykit-1-gnome) # /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & # Uncomment to show wicd networking monitor #wicd-client -t & #grep -q "START_DAEMON=no" /etc/default/wicd || wicd-client -t & # Uncomment after installing apt-notifier #apt-notifier & # Used on live system only #Enable Mouse Configuration at Startup #ds-mouse -all & #Enable connman_connect #connman_connect & alastair@OldDell32:~ $ cat ~/.desktop-session/log desktop-session: started Thu 13 May 13:27:36 BST 2021 start_time: 47.74 desktop-session: pid: 2667 desktop-session: logging to: /home/alastair/.desktop-session/log desktop-session: Raw code passed '' desktop-session: launch @ 4796 desktop-session: icewm desktop-session: display_alt_desktop_window=false desktop-session: look up executable for icewm desktop-session: save desktop code: rox-icewm desktop-session: Exporting desktop Variables: desktop-session: DESKTOP_SESSION_CODE=rox-icewm desktop-session: DESKTOP_SESSION_WM=icewm desktop-session: DESKTOP_SESSION_IM=rox desktop-session: run: /usr/local/lib/desktop-session/ds-config-check desktop-session: run: amixer sset Master -M 45% Simple mixer control 'Master',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 20 [44%] [-16.50dB] [off] Front Right: Playback 20 [44%] [-16.50dB] [off] desktop-session: run: /usr/bin/icewm-session desktop-session: Checking for running window manager @ 4835 icewm-session: Warning: Failed to execute icewmbg: No such file or directory desktop-session: Window manager running or setup forced, setting up desktop @ 4946 desktop-session: Delaying session startup by 2 seconds desktop-session: run: rox --pinboard=antiX-icewm & desktop-session: run: desktop-session-wallpaper desktop-session: Destination file is newer than the Source file. desktop-session: run: eval blueman-applet desktop-session: run: eval clipit desktop-session: run: eval /usr/bin/gnome-keyring-daemon --start --components gnome-keyring-daemon: Missing argument for --components SSH_AUTH_SOCK=/run/user/1000/keyring/ssh desktop-session: run: eval /usr/bin/gnome-keyring-daemon --start --components gnome-keyring-daemon: Missing argument for --components SSH_AUTH_SOCK=/run/user/1000/keyring/ssh desktop-session: run: eval /usr/bin/gnome-keyring-daemon --start --components gnome-keyring-daemon: Missing argument for --components SSH_AUTH_SOCK=/run/user/1000/keyring/ssh desktop-session: run: eval gsettings-data-convert desktop-session: run: eval /usr/lib/notify-osd/notify-osd /usr/local/lib/desktop-session/lib-desktop-session.sh: line 72: /usr/lib/notify-osd/notify-osd: No such file or directory desktop-session: run: eval system-config-printer-applet desktop-session: run: eval xdg-user-dirs-update xdg-user-dirs-update Invalid argument xdg-user-dirs-update qt5ct: using qt5ct plugin (clipit:2803): dbind-WARNING **: 13:27:50.812: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files ** (clipit:2803): WARNING **: 13:27:50.930: Binding '<Ctrl><Alt>H' failed! qt5ct: D-Bus global menu: no (blueman-applet:2795): dbind-WARNING **: 13:27:56.909: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files qt5ct: D-Bus system tray: no ** (rox:2771): WARNING **: 13:27:58.889: Existing ROX-Filer process is not responding! Try with -n ** (rox:2859): WARNING **: 13:27:59.324: SOAP message sender window was destroyed before I could read it. qt5ct: custom style sheet is disabled desktop-defaults-run -fm --follow rox-filer desktop-defaults-run -fm --follow rox-filer roxterm roxterm alastair@OldDell32:~May 13, 2021 at 12:52 pm #59351Member
Xecure
::exec /home/Downloads/pcloud &
It should say
exec /home/alastair/Downloads/pcloud &
or
/home/alastair/Downloads/pcloud &
/home/Downloads is not the correct pathantiX Live system enthusiast.
General Live Boot Parameters for antiX.May 13, 2021 at 1:00 pm #59352MemberBudgie
-
AuthorPosts
- You must be logged in to reply to this topic.