You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I faced this problem when tried to add codium shortcut.
Carefully! The following actions might have negative side effects! Do at your own risk!
The thing is that crew-launcher search *.desktop existence in /usr/local/etc/crew/meta/*.filelist and doesn't check in default directories like /usr/local/share/applications/*.desktop.
So, as *.desktop wasn't created during initial package installation, crew-launcher throws an error:
chronos@localhost / $ crew-launcher add codium
Cannot find an '.desktop' file for codium :/
So, i created /usr/local/share/applications/codium.desktop file:
[Desktop Entry]
Name=VSCodium
GenericName=Programming Text Editor
Comment=Programming Text Editor
Exec=/usr/local/bin/codium
#Exec=/usr/local/VSCodium-linux-x64/bin/codium #Alternative path
Icon=/usr/local/VSCodium-linux-x64/resources/app/resources/linux/code.png
Terminal=false
Type=Application
Categories=Programming;
Keywords=VS;Coding;
And at this point I faced a second trouble:
crew-launcher searchs icon again in *.filelist with pattern declared in *.desktop file plus 3 file extension variants.
In my case icon path in *.desktop was:
It breaks normal *.desktop behavior, but allows crew-launcher to successfully generate a shortcut.
And now everything works fine:
After all mentioned actions it might worth to revert *.filelist to it's initial state. But I left my changes as I think the whole effect would be in removing the manually created *.desktop during package removal, idk.
The text was updated successfully, but these errors were encountered:
I faced this problem when tried to add codium shortcut.
Carefully! The following actions might have negative side effects! Do at your own risk!
The thing is that crew-launcher search *.desktop existence in /usr/local/etc/crew/meta/*.filelist and doesn't check in default directories like /usr/local/share/applications/*.desktop.
So, as *.desktop wasn't created during initial package installation, crew-launcher throws an error:
So, i created /usr/local/share/applications/codium.desktop file:
Then I added this file entry to codium.filelist:
And now the first error solved! But.........
Now I stucked at this point:
And at this point I faced a second trouble:
crew-launcher searchs icon again in *.filelist with pattern declared in *.desktop file plus 3 file extension variants.
In my case icon path in *.desktop was:
And what crew-launcher tried to find in *.filelist:
U see? double *.png! So, after I stucked at "Add to launcher" button and canceled command via Ctrl+C i've got an another error:
So, the last thing is to remove icon's file extension in *.desktop file:
And change this:
To this:
It breaks normal *.desktop behavior, but allows crew-launcher to successfully generate a shortcut.
And now everything works fine:
After all mentioned actions it might worth to revert *.filelist to it's initial state. But I left my changes as I think the whole effect would be in removing the manually created *.desktop during package removal, idk.
The text was updated successfully, but these errors were encountered: