dangvd / crystal-dock

A cool dock (desktop panel) for Linux desktop
GNU General Public License v3.0
54 stars 8 forks source link

Unable to pin some applications #9

Closed Detritus78 closed 10 months ago

Detritus78 commented 12 months ago

Right clicking some icons in the panel reveal no pin to panel option. i.e. Vivaldi browser, Libre office individual apps.

Detritus78 commented 12 months ago

Operating System: MX Linux 23 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.4.11-1-liquorix-amd64 (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: AMD Radeon RX 6600 XT Manufacturer: NZXT, Inc Product Name: B550 UD AC

dangvd commented 12 months ago

I'll look more into it, but if the dock can't find an app on the Application Menu list, then it can't offer the option to pin/unpin it.

The reason it can't find an app on the Application Menu sometimes even when it's there, is because: on the App Menu, the command could be, for example: 'run-vivaldi-script.sh', but when it's running, the command of the task reported could be '/usr/bin/vivaldi', and so it can't match the two.

Detritus78 commented 12 months ago

You may have nailed it. Is there anyway to fix it? image

Detritus78 commented 12 months ago

I'll look more into it, but if the dock can't find an app on the Application Menu list, then it can't offer the option to pin/unpin it.

The reason it can't find an app on the Application Menu sometimes even when it's there, is because: on the App Menu, the command could be, for example: 'run-vivaldi-script.sh', but when it's running, the command of the task reported could be '/usr/bin/vivaldi', and so it can't match the two.

This fixed it! It is pinned now. image