Bug 368111

Summary: [appimage] first run *.desktop shortcut creation. Not working and obligatory
Product: [Applications] krita Reporter: David REVOY <info>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla, probono
Priority: NOR    
Version: 3.0.1 Beta   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: [screenshot of the *.appimage file created instead of *.desktop]
[screenshot of the feature request]

Description David REVOY 2016-09-01 16:33:46 UTC
Created attachment 100887 [details]
[screenshot of the *.appimage file created instead of *.desktop]

Hi, recent Appimages ask for the creation of a shortcut *.desktop in a dialog at start-up. 

Problems:
========
- If user choose 'No' the Appimage keep asking for creating the *.desktop file at every start-up. ( something probably in all Appimage,  read comment of HidariRyoushin here about Rambox doing the same behavior https://www.reddit.com/r/LinuxActionShow/comments/50iefe/an_illustrated_guide_to_the_krita_appimage/ ) 
- If user choose 'Yes' the Appimage create something in the /home/<username>/.local/share/applications folder. It's a broken *.desktop file, the extension is *.appimage. You can find a visual in attachement. (note: If this file exist, the question dialog at start-up stops. )
Comment 1 probono 2016-09-02 13:58:45 UTC
If you do not want to be asked by any AppImage whether a desktop file should be created, then create an empty file at one of these locations:

$HOME/.local/share/appimagekit/no_desktopintegration
/usr/share/appimagekit/no_desktopintegration
/etc/appimagekit/no_desktopintegration
Comment 2 David REVOY 2016-09-02 14:06:05 UTC
Created attachment 100897 [details]
[screenshot of the feature request]

Hey Probono, thanks for the answer. 
Can this file be auto-generated by the dialog? I attach here a little feature request/mockup to ease this action.
Comment 3 Halla Rempt 2016-09-16 08:09:09 UTC
I removed it again for 3.0.1 final.