linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.58k stars 745 forks source link

item missing from start menu after every boot - mint22 #12375

Open billZ6576 opened 2 months ago

billZ6576 commented 2 months ago

Distribution

Mint 22

Package version

6.2.9

Graphics hardware in use

Device-1: NVIDIA GP106GL [Quadro P2200] driver: nvidia v: 535.183.01 arch: Pascal pcie: speed: 8 GT/s lanes: 16 ports: active: none off: DP-3,DP-4 empty: DP-1,DP-2 bus-ID: 08:00.0 chip-ID: 10de:1c31 Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: modesetting,nouveau,nvidia unloaded: fbdev,vesa gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1 Screen-1: 0 s-res: 5760x2160 s-dpi: 139

Frequency

Always

Bug description

I added a menu item for android studio and it shows up, but after every time I boot the item is missing. If I go back into the menu editor the item is there and the show checkbox is checked. If I open properties, edit the path (/media//..., on another partition of my boot drive) without changing it, and save, then the item reappears in the start menu (until the next boot).

Steps to reproduce

see above

Expected behavior

item should always be visible on start menu

Additional information

No response

mtwebster commented 2 months ago

Please provide the desktop file

Is the exec path pointing to a network or non-local drive (or at least one that isn't defined in /etc/fstab)?

billZ6576 commented 2 months ago

The desktop file is as follows:

[Desktop Entry] Name=android studio Exec=/media/username/mydata/android-studio/bin/studio.sh Comment= Terminal=false PrefersNonDefaultGPU=false Icon=cinnamon-panel-launcher Type=Application

For some reason this file is named alacarte-made-bbf5893...etc....287.desktop which makes it unnecessarily difficult to find.

As noted earlier, the target executable is on another partition of my boot drive. It is not defined in /etc/fstab. It is mounted automatically by the os on startup (new behaviour with mint 22? on 20.3 these partitions were not automatically mounted).

Gratuitous opinion (do not read if uninterested): menu items explicitly created by the user should never be hidden. The system should either disallow creation, explaining the reason, or give a reason for failure when they are invoked.