ubuntu-mate / mate-dock-applet

application dock for the MATE panel
GNU General Public License v3.0
125 stars 33 forks source link

Debian: apps not pinning after restart #178

Open darnassiano opened 5 years ago

darnassiano commented 5 years ago

Hi,

Each time I restart my laptop the 'pinned apps' from the last session are gone. Whereas I do pin again each time I restart the system, I want to know if there is something I could check for a long time solution.

I'm using MATE 1.20.4-2 + compiz-mate 2:0.8.16.1-10 and mate-dock-applet 0.88-1 on Debian 10 RC 1.0+nonfree

testbughub commented 5 years ago

Hi! I had the same issue, but I managed to fix it just now and I thought I'd share how. I'm unsure how accurate my conclusion is, but if I'm right, the applet can't handle custom launchers (or perhaps misconfigured launchers, I'm unsure).

To clarify; I had a custom launcher for Chromium with a different icon and some startup commands, and I could pin it, but it dissapeared after a reboot. Now, I just tried pinning the original launcher and it stayed after the reboot! And I even got the options for opening a new tab or going incognito by right clicking it (my custom launcher did not have this menu). But now I can't change the icon of it for some reason (doh!).

Sorry if it's not clear enough what I'm talking about. English ain't my mother language. I'll gladly share any configs or logs if requested.

darnassiano commented 5 years ago

How do you manage to create custom launchers?

BlueGreenMagick commented 4 years ago

I had the same issue also on Linux Mint MATE 19.2. The pinned non-custom-launchers apps did not show up after restarting.

I managed to make it work by modifying code if self.settings.get_boolean("first-run") is True: to if True: in file dock.py, which makes the dock-applet reread the saved config file each time after restart. (The file is meant to save configurations for when you remove then reinstall the applet). dock.py file can be found in /usr/lib/mate-applets/mate-dock-applets in mint mate 19.2.

dvilcode commented 3 years ago

I had the same issue also on Linux Mint MATE 19.2. The pinned non-custom-launchers apps did not show up after restarting.

I managed to make it work by modifying code if self.settings.get_boolean("first-run") is True: to if True: in file dock.py, which makes the dock-applet reread the saved config file each time after restart. (The file is meant to save configurations for when you remove then reinstall the applet). dock.py file can be found in /usr/lib/mate-applets/mate-dock-applets in mint mate 19.2.

If the before answer doesn't works, Just keep your '.desktop' in '~/.local/share/applications ', try pin the apps ( Drag and drop or pop menu ) again and reboot the system. It works for me! [Linux Mint 20]

rwperrott commented 1 year ago

I get a similar issue on latest Linux Mint MATE 64-bit, for "Display indicators/windows list items for current workspace only" which annoyingly becoming unticked after a reboot, which suggests it is not persisting its configuration!