1

Ubuntu 18.04. KeepassXC installed via flatpak. I added it to the startup list, using filepath

/var/lib/flatpak/exports/share/applications/org.keepassxc.KeePassXC.desktop

but it will not startup on boot. It does start quicker than normal when I manually launch it, so I suspect it's just not showing up in the system tray as it should.

Not sure what other data to provide. I do have various gnome extension installed but I'm not sure of the most efficient way to provide those short of typing out all 15 of them. If it's beneficial, please let me know of a concise/efficient method of exporting that list.

BingBong
  • 321
  • 7
  • 23
  • did you mark it in the *Settings* to be shown in system tray? – JoKeR Apr 06 '20 at 21:08
  • Yes, and to minimize to system tray. And I tried changing the icon from dark to light, logged off and back on. Still nothing. KeePassxc from the bionic repo works fine. But I wanted the flatpak bc it's much more up to date. Maybe I ought to try their ppa instead. – BingBong Apr 07 '20 at 02:44

2 Answers2

2

To have the application autostart after login, copy the desktop file you are referring to into the folder .config/autostart. .config is a hidden folder in your home folder.

vanadium
  • 82,909
  • 6
  • 116
  • 186
  • the autostart folder doesn't exist. I will create it and try – BingBong Apr 08 '20 at 16:10
  • Your suggestion did not work. I rebooted twice. I notice when I copy it to this folder, it has a red padlock icon on it now. – BingBong Apr 09 '20 at 01:12
  • My bad! It is .config/autostart, and it certainly exists on your system. I will correct my answer asap. – vanadium Apr 09 '20 at 07:45
  • well, I've since switched to a PPA of keepassxc and that minimizes to tray and autostarts correctly. So I unfortunately can't confirm your answer. However, I think it's not so much it not autostarting, as it is not showing up in the system tray. Because with the flatpak, even when I minimized it or closed it, when I had the appropriate settings enabled, it would not show in the system tray as it should. So I'm thinking this is an issue with keepassxc flatpak version. – BingBong Apr 09 '20 at 14:17
0

I used a program called Startup Applications, found in the main Ubuntu repository, and manually added an entry and set the command to: /usr/bin/keepassxc

enter image description here

For some reason just adding keepassxc doesn't work for startup, but it works fine when you run the command in terminal. Not sure why it needs the full file path, but that worked for me.

PS: I installed from the PPA per KeepassXC's blog, because I was having too many issues trying to get the snap or flatpak to recognize the gtk theme.

add-apt-repository ppa:phoerious/keepassxc
apt update
apt install keepassxc

Please consider giving this an up-vote if you find this helpful.

guttermonk
  • 964
  • 13
  • 27