How to turn off kwrite colored text?
Brian Cluff
brian at snaptek.com
Wed Sep 11 22:17:45 MST 2013
Warning unrequested advice:
Weird, my updates almost always succeed perfectly. I wonder if during
the course of using your machine you have accidentally unloaded packages
that have also pulled out a package that are just a list of dependencies
for loading major parts of the system.
For instance it's possible to remove packages so that it will also
remove the kubuntu-desktop package (Yeah I know you are using mint, this
is just an example :) once you have done that the system will work just
fine since the package you removed wasn't essential to the system and
technically neither is kubuntu-desktop (it is for the most part since it
has already done it's job. Even the description in the package says "It
is safe to remove this package")
The problem only pops up when the system goes to do a major update where
it need to pull in a lot of packages that aren't on the system by
default and the packages that you have don't have dependencies on them.
Every time I have a bad upgrade it is due to some missing dependencies
that were caused by a situation like above.
They are almost always fixed by reinstalling kubuntu-desktop and
kde-full, or whatever other dependency package that is missing.
The remaining problems that I have had have actually been caused by
removed packages that have left crud (old config files and such) behind
that is somehow getting in the way. That is easily fixed with this command.
Use with caution, I've never had a problem doing this*, but be warned:
dpkg --get-selections |grep deinstall$ |sed 's/deinstall$/purge/' |dpkg
--set-selections
apt-get dselect-upgrade
or
apt-get purge $(dpkg --get-selections |grep deinstall$ |cut -f1)
or
apt-get purge $(dpkg-query -W -f '${Package}:${Architecture}
${Status}\n' |grep -i 'deinstall ok config-files' |cut -f1 -d" ")
It's just 3 ways to do the same thing, so just pick one. I actually
tend to use the 3rd one since for some reason it's the first one that
pops into my head most of the time. Yeah, I know, it would be a lot
easier to just make a point of remembering one of the other 2 first.
Brian Cluff
* there was that one time that I accidentally told it to purge the
installed packages instead of the deinstalled ones, but I realized what
I was doing about 50 packages in and was able to recover from that by
pulling a list of removed packages from the dpkg log and piping that
list into apt-get... Linux is so awesome!
On 09/11/2013 06:38 PM, joe at actionline.com wrote:
> Well, I have version 4.8.5 on Linux Mint KDE 4.8.3
> so I do not have that option (and I'm afraid to
> "update" Mint because every time I have ever "updated"
> any installed OS, the result has been some catastrophe.
>
>
> === Brian last wrote: ===
>> You should be able to set all your kwrite prefs back to default by doing:
>>
>> rm ~/.kde/share/config/kwriterc
>>
>> I'm running kwrite 4.11.1. I've attached a screenshot of where I find
>> highlighting on mine. Perhaps you have an older version that either
>> doesn't have the option, or it's in another location.
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
More information about the PLUG-discuss
mailing list