Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.ubuntu    |    I preferred Xubuntu, seemed a bit faster    |    134,474 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 132,691 of 134,474    |
|    Jonathan N. Little to InThech    |
|    Re: desktop entry appear with ~/.local/s    |
|    08 Aug 22 12:50:40    |
      From: lws4art@gmail.com              InThech wrote:       > Il 06/08/22 17:37, Jonathan N. Little ha scritto:       >> desktop-file-install --dir=~/.local/share/applications       >> ~/MyCustomizations/test.desktop       >       > $ desktop-file-install --dir=~/.local/share/applications       > tor-translate.desktop       > $ ls ~/.local/share/applications/tor-translate.desktop       > ls: impossibile accedere a       > '/home/rino/.local/share/applications/tor-translate.desktop': File o       > directory non esistente       >              Sorry I think you have to specify either absolute path:              /home/rino/.local/share/applications              or:              relative to PWD but do not use '~/'              Okay just confirm it:              ~/$ mkdir demo       ~/$ cd demo       ~/demo$ nano demo.desktop       ~/demo$ cat demo.desktop              [Desktop Entry]       Name=Demo       Exec=zenity --info --text="Hello World!"       Type=Application              # Okay now I will validate it:       ~/demo$ desktop-file-validate demo.desktop              # It returns nothing so all is well. You can add something like       BadParam=bogus to the file and desktop-file-validate will show you your       error.              ~/demo$ pwd       /home/jonathan/demo       ~/demo$ ls       '~' demo.desktop              # Just showing you where I am in this subdirectory with the demo.desktop       file, now let's try and install it using '~/':              ~/demo$ desktop-file-install --dir=~/.local/share/applications demo.desktop              ~/demo$ ls ~/.local/share/applications/demo.desktop       ls: cannot access       '/home/jonathan/.local/share/applications/demo.desktop': No such file or       directory              # Confirms that this does not work, but if I use a relative path as so:              ~/demo$ desktop-file-install --dir=../.local/share/applications demo.desktop              ~/demo$ ls ~/.local/share/applications/demo.desktop       /home/jonathan/.local/share/applications/demo.desktop              # There we go, the .desktop file is installed. Also I could of course       use the absolute path.              HTH                     --       Take care,              Jonathan       -------------------       LITTLE WORKS STUDIO       http://www.LittleWorksStudio.com              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca