If this is your first visit, be sure to
check out the FAQ. You will have to register
before you can post. To start viewing messages,
select the forum that you want to visit from the selection below.
Please do not use the CODE tag when pasting content that contains formatting (colored, bold, underline, italic, etc).
The CODE tag displays all content as plain text, including the formatting tags, making it difficult to read.
Last, my text editors are all set to make a backup copy of a file before I start messing with it. This doesn't help me much if I have to make multiple edits to the file...
Text editors can do more than that.* I get mine to append a timestamp to the backup copy name, and move it off to a backups directory automatically, but a better approach is to do automatic check-ins to a VCS like git; then there's lots of tools to help sort things out just when you need lots of help. Good editors have plug-ins to support this.
Another approach altogether, not as fine grained as using as the above, but protects against other screw-ups, is use btrfs with an automatic snapshot tool like snapper. I've been surprised twice since I started using btrfs last year how cool it was to be able to get back files just as they were at convenient times in the past. (Using the Trash protects against rm file but not echo blah > file.)
Enjoy Kubuntu - If you have a minute or two I wanna do a bit about user profiles as I think if I spend 15 minutes half an hour typing it might save you months headbanging
Thank you ever so much wizard1000 for taking the time to explain all this! Now I understand that root has its own profile, and it's not just myself with more permissions.
It seems in Kubuntu the different theming has already been done for me, as you can see below, but now I can edit it as I see fit
Just one last question for you. In Gtk environments I usually installed laptop-mode-tools, preload and powertop. Do they also work in KDE or are there any other alternatives that are preferable?
Text editors can do more than that.* I get mine to append a timestamp to the backup copy name, and move it off to a backups directory automatically, but a better approach is to do automatic check-ins to a VCS like git; then there's lots of tools to help sort things out just when you need lots of help. Good editors have plug-ins to support this.
Another approach altogether, not as fine grained as using as the above, but protects against other screw-ups, is use btrfs with an automatic snapshot tool like snapper. I've been surprised twice since I started using btrfs last year how cool it was to be able to get back files just as they were at convenient times in the past. (Using the Trash protects against rm file but not echo blah > file.)
Just one last question for you. In Gtk environments I usually installed laptop-mode-tools, preload and powertop. Do they also work in KDE or are there any other alternatives that are preferable?
Those tools work just as well in KDE as they do elsewhere. I don't think you'll find anything within KDE that'll match their function.
On laptop-mode-tools, preload and powertop I have three different answers, depending on which machine we're talking about. I have two laptops and a netbook - only the newest laptop runs KDE, the other two run fluxbox.
The newest laptop (i7-4800MQ) can't use laptop-mode-tools without disabling other processor features and runs from an SSD, which IMO wouldn't really benefit much from preload. I don't use powertop because I'm working on a project to use a udev rule to switch the CPU governor from performance to powersave and back depending on whether the laptop is plugged into mains power or running on battery. You can do this easily with laptop-mode-tools and I miss having that capability.
The other laptop (i7-740QM) can use laptop-mode-tools and powertop but I don't use them as I've turned the machine into a fileserver and it's locked at lowest CPU frequency - also no requirement to run it on battery because it's a server now preload is not necessary as the machine runs 24/7 and unless it's running backups for the other machines on the network or someone is watching a movie on one of the TVs it just sits idle. Only headless laptop I know of - display is not used This is the laptop I had configured to switch CPU governors depending on power source - sadly, laptop-mode-tools is no longer necessary. I also had laptop-mode-tools enabling and disabling my swap partition (need a place to hibernate if the battery goes flat) and experimented with shutting off two of four processor cores while on battery which *almost* worked. It was stable transitioning from two cores to four four cores to two 95% of the time but in this context 95% ain't good enough.
The netbook runs lean - it's an old Atom N270 with 2GB of RAM and it needs all the help it can get but it does get the job done - as long as the job is casual websurfing or managing the other two machines on the network over SSH.. Even though this laptop has a small SSD I do use preload because the netbook only uses SATA1 and although it has ridiculously fast seek times it doesn't move data any faster than a normal hard drive. On laptop-mode-tools and powertop this netbook has processor locked at max frequency, so no real requirement. Like I said, it needs all the help it can get
cheers -
Last edited by wizard10000; Jan 05, 2017, 06:24 PM.
Reason: wanted to use different words :)
we see things not as they are, but as we are. -- anais nin
Comment