![]() ![]() usr/share/applications$dos2unix sktopĭos2unix: converting file sktop to Unix format. More searching yields dos2unix, a utility that converts Windows text files to UNIX format, which you can get with $ sudo apt install dos2unix That ? indicates that there is hidden character preceding [, which turns out to be a byte-order mark (BOM) which indicates how this UTF-8 file is to be read by BigEndian and LittleEndian systems. There does not seem to be any special installer for *.desktop files.Īfter even more research, I found out about the CLI command desktop-file-validate, which checks the syntax and structure of *.desktop files./usr/share/applications$ desktop-file-validate sktopįsktop: error: file contains line "?", which is not a comment, a group or an entry # You can start the alternative calc from the right-click menuĬan anyone see a fault with these files? I tried to find a parser or grammar checker, and the documentation was no help. # Kill all free42bin or free42dec instances currently running Icon=/usr/share/icons/free42/free42dec.png So, in desperation, here is the text of one of these files (the other is similar): Ĭomment=HP42s calculator using decimal number calculations. I have tried various suggested remedies, but none work. I won't have been the first to have this problem with *.desktop files, but no combination of search terms will give me the answer. Another oddity is that opening the Properties for these files just shows plain-vanilla in the Basic tab, but other correctly-behaving *.desktop files show the value of the Exec key in the Basic tab. But in Nautilus (Files), these files still show as their full filenames and the generic text icon, instead of as Free42 Decimal and Free42 Binary, with the appropriate calculator icons. I have two files - sktop and sktop - to launch the Free42 emulation of the HP42s Reverse Polish calculator. Clicking the icon launches the associated app. ![]() *.desktop files on the Desktop, or in ~/bin appear with the application icon and the filename is replaced by the value of the file's Name key. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |