home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux      Getting to be as bloated as Windows!      107,822 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 106,521 of 107,822   
   alex to All   
   backslashs into .desktop file   
   27 Sep 24 10:00:25   
   
   From: 1j9448a02@lnx159sneakemail.com.invalid   
      
   Hello everyone, first some info   
      
   $ lsb_release -a && echo Desktop environment: $DESKTOP_SESSION   
   Description:	Ubuntu 24.04.1 LTS   
   Desktop environment: mate   
      
   Let's do some tests   
      
   $ systemctl status "mnt-router\x2dstorage.automount"   
   â—Ź mnt-router\x2dstorage.automount   
         Loaded: loaded (/etc/fstab; generated)   
   blabla...   
      
   OK, however to execute the command more conveniently, I created a   
   desktop entry   
      
   $ cat xxx.desktop   
   [Desktop Entry]   
   Name=xxx   
   Icon=xxx   
   Exec=systemctl status "mnt-router\x2dstorage.automount"   
   Terminal=true   
   Type=Application   
      
   $ desktop-file-install --dir ~/.local/share/applications xxx.desktop   
      
   The problem is that the item does not appear in the dashboard   
      
   https://pasteboard.co/59WVdFN8lJPn.png   
      
   The problem is that maybe I should remove the backslashs   
      
   $ grep '\\' xxx.desktop   
   Exec=systemctl status "mnt-router\x2dstorage.automount"   
      
   but then the command wouldn't work   
      
   $ systemctl status "mnt-routerx2dstorage.automount"   
   Unit mnt-routerx2dstorage.automount could not be found.   
      
   So how can it be solved?   
      
   --- 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