Description: This script is fixing the desktop file for starting the system settings application. By default Kubuntu uses a selfmade version of KControl, the script changes one file (actually one line in the file), so that the real KControl gets started.
Thanks to anmaster for introducing me sed, the script should now working on every Kubuntu version.
HOWTO USE ======== in Konsole: su root chmod +x fix.sh sh fix.sh exit exit
DEPENDENCIES ============ * Kubuntu (at least Breezy 5.10) * sed * root access
What am I missing? Kcontrol is still there and doesn't look any different than I remember it in other distros like SUSE or Fedora.
Why is this script necessary?
for changing the desktop-file of systemsettings, to get it execute kcontrol instead of systemsettings, which means overall usage of kcontrol ... actually the script is just something I made because I hate to re-do changes after a software upgrade
probably not, no :P
but well, systemsettings isn't bad but it's taking somehow the biggest advantage KDE got for "advanced" users -> the advanced configuration interfaces
to all who like to use systemsettings: DON'T USE THIS SCRIPT ... I'll not make a "revert changes" script :P
Maybe something based on sed will make it portable?
Example ():
sed 's/^Exec=.*/Exec=kcontrol/' -i /path/to/file
Replace '.*' with the original value. '.*' will match anything.
The -i option means: Do the change in place.
Ratings & Comments
11 Comments
EasyKubntu does it just for info ;-)
Thank you. Just now, i was looking for a way to came back to the original KControl. The script works very well.
I forgot saying i use KDE 5.10
It's always great to see how such little things can help people through their all-day-life :-)
KDE 5.10? Wow. Have to get me some of that :) And when you think that 3.5 isn't out yet... :))
What am I missing? Kcontrol is still there and doesn't look any different than I remember it in other distros like SUSE or Fedora. Why is this script necessary?
for changing the desktop-file of systemsettings, to get it execute kcontrol instead of systemsettings, which means overall usage of kcontrol ... actually the script is just something I made because I hate to re-do changes after a software upgrade
oh... I personally like systemsettings (Kcontrol is in desperate need of overhaul anyway) so I guess I'd not want this script eh? ;-)
probably not, no :P but well, systemsettings isn't bad but it's taking somehow the biggest advantage KDE got for "advanced" users -> the advanced configuration interfaces to all who like to use systemsettings: DON'T USE THIS SCRIPT ... I'll not make a "revert changes" script :P
Maybe something based on sed will make it portable? Example (): sed 's/^Exec=.*/Exec=kcontrol/' -i /path/to/file Replace '.*' with the original value. '.*' will match anything. The -i option means: Do the change in place.
w00t thanks a lot :-D