The .desktop
file for Software Sources
is /usr/share/applications/software-properties-kde.desktop
in Kubuntu 18.04 but if you open the file with a text editor, you'll see a line with:
NoDisplay=true
One can comment out that line (and do so each time the package is updated). Alternatively, one could copy over the .desktop
file over to ~/.local/share/applications
and make the change in the copied file.
Whichever way is chosen, Software Sources
can be seen in the launcher under System
:

Or, it can be accessed via krunner
:

Either way, when launched, you'll be prompted for your user password.
To find a clue as to why this application's .desktop
file has NoDisplay
by default, I ran apt-get changelog python3-software-properties > sof-pro-kde.txt
. In there, way back in Karmic Koala
, there is this:
software-properties (0.75.4) karmic; urgency=low
* Suffix software-properties.desktop with -gtk.desktop
* Create a copy of that file with suffix -kde.desktop
+ Change to KDE icon and exec
+ Add NoDisplay=true, the desktop file is only necessary for kdesudo to
have it show a proper name and icon which does not require it to show
up anywhere
sudo -H software-properties-kde
maybe preferable tosudo software-properties-kde
since it's a graphical application. – DK Bose May 14 '18 at 10:27pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY software-properties-kde
– cipricus Mar 09 '21 at 11:21