Posts: 33
Joined: Oct 2018
Reputation:
0
2019-11-28, 22:17
(This post was last modified: 2019-11-28, 22:18 by Maxxarcade.)
On my HTPC, I need to run Kodi from the terminal in order to suspend Pulseaudio and enable ALSA for passthrough. Does anyone know how I could add an icon to the launcher in Ubuntu that would work the same way? It's a lot more difficult than Windows, or other Linux distros for some reason. I can't seem to edit the existing shortcut.
Posts: 3,545
Joined: Mar 2010
Reputation:
120
2019-11-29, 09:02
(This post was last modified: 2019-11-29, 09:03 by teeedubb.)
Copy the file
/usr/share/applications/Kodi.desktop
To
~/.local/share/applications/Kodi.desktop
And edit that (it might be a lowercase K in Kodi). It will override the systems .desktop file
Posts: 4,527
Joined: Jan 2011
Reputation:
152
DaVu
Team-Kodi Member
Posts: 4,527
2019-12-01, 13:38
(This post was last modified: 2019-12-01, 13:39 by DaVu.)
or you simply edit that desktop file with "sudo". Those files in /usr/share/applications/ are owned by root. So you can't edit them as a normal user.
sudo nano /usr/share......
should work in that case. At least I can edit the file in that way here on Fedora and I can also add multiple "Actions" which are accessable via a right click on the menu entry.
ofc "nano" can be replaced with any editor you prefer