Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Saving Power on a Linux Laptop (auto-cpufreq)
Youtube How To ^ | May 31, 2021 | Chris Titus Tech

Posted on 10/17/2021 8:51:22 AM PDT by ProgressingAmerica

click here to read article


Navigation: use the links below to view more comments.
first previous 1-2021-32 last
To: Openurmind; LesbianThespianGymnasticMidget; Linux Rules

Hey what is the standard text editor that’s installed in Mint? Is it Kate/Kwrite?


21 posted on 10/17/2021 9:16:17 PM PDT by ProgressingAmerica (Public meetings are superior to newspapers)
[ Post Reply | Private Reply | To 20 | View Replies]

To: ProgressingAmerica

The boxed editor It is labeled “Text Editor” in the menu but it is Xed. It has always worked great for everything I have ever needed.


22 posted on 10/18/2021 2:06:25 AM PDT by Openurmind (The ultimate test of a moral society is the kind of world it leaves to its children. ~ D. Bonhoeffer)
[ Post Reply | Private Reply | To 21 | View Replies]

To: ProgressingAmerica

GEdit I think for the GUI one and Xed is also installed and don’t remember installing it. Desktop is Cinnamon.

Why are you asking this questions? This info is readily available on the Mint site.


23 posted on 10/18/2021 2:22:16 AM PDT by LesbianThespianGymnasticMidget
[ Post Reply | Private Reply | To 21 | View Replies]

To: Blue Highway

Other Mint users have indicated that Xed is the text editor that is standard for Mint.

Try using it and making edits to the configuration file.


24 posted on 10/19/2021 10:44:50 AM PDT by ProgressingAmerica (Public meetings are superior to newspapers)
[ Post Reply | Private Reply | To 20 | View Replies]

To: ProgressingAmerica

With the built in text editor in Mint I tried to go to directory where Auto-CPUFREQ program is and I don’t see configuration file perse, I just see the configuration preview. Is that the same thing? I did try to change the variables within that text file and saved it, then rebooted Mint, and once I was plugged into AC power boost was still ON and “performance” was still selected instead of powersave. Not sure if I am doing everything correct though as I’m not very fluent on Linux.


25 posted on 10/19/2021 12:36:16 PM PDT by Blue Highway
[ Post Reply | Private Reply | To 24 | View Replies]

To: ProgressingAmerica
Reading post #22 it appears that the text editor I used was indeed labelled as "text editor" and it is Xed as that Freeper stated. So now I am drawing a blank unless the text file I was trying to edit was the incorrect one.

I saw the developers notes saying to access the config file it is at /etc/auto-cpufreq.config. I'm not even sure how to find that directory using the typical "start menu" button on bottom left of desktop.

26 posted on 10/19/2021 12:42:37 PM PDT by Blue Highway
[ Post Reply | Private Reply | To 24 | View Replies]

To: Blue Highway

It should be that once you open Xed, open the config file like any other text file within a text editor.(irrespective of operating system)

File — > open.

Maybe the file doesn’t exist yet in the /etc directory. Did you install it so that it automatically runs at boot? The config file creation might be a part of that process.

https://freerepublic.com/focus/f-chat/4004414/posts?page=7#7

You could think of this similarly to an antivirus program on Windows. The core program is installed, but the secondary component that runs on its own daily may not be actively installed. It’s only going to scan when you tell it to.


27 posted on 10/19/2021 2:18:10 PM PDT by ProgressingAmerica (Public meetings are superior to newspapers)
[ Post Reply | Private Reply | To 26 | View Replies]

To: ProgressingAmerica
I have no idea if it’s installed to run automatically at boot up. I did the daemon thing, auto-cpufreq —install so I assume that’s what you mean by having it run at every boot up?

Still have no idea about the /etc directory? Where do i find that using start menu?

28 posted on 10/19/2021 3:21:50 PM PDT by Blue Highway
[ Post Reply | Private Reply | To 27 | View Replies]

To: ProgressingAmerica
Here's what I'm talking about. When I open the folder for auto-cpufreq this is what I see. Is the config file the one that says "auto-cpufreq.conf-example"?


29 posted on 10/19/2021 3:44:15 PM PDT by Blue Highway
[ Post Reply | Private Reply | To 27 | View Replies]

To: Blue Highway
You probably wouldn't find that on the start menu/launcher menu.

In file explorer, etc is a common directory that all Linux operating systems have.(all that I am aware of) /etc, /dev, /home, /usr, /var, are all pretty much standard in any Linux. This is from Ubuntu but its where you want to be.


30 posted on 10/20/2021 8:00:25 AM PDT by ProgressingAmerica (Public meetings are superior to newspapers)
[ Post Reply | Private Reply | To 28 | View Replies]

To: Blue Highway

It looks like the name of the file manager is Nemo. Let me know if this is what you are using. Other file managers are going to look and respond in similar ways.

https://www.youtube.com/watch?v=yFPNMhMvNh0

So open Nemo from the start menu, navigate to the root file directory which is /, and then open the folder for /etc. Or replace the default location at the top in the location bar. If it opens into your /home directory, replace that with /etc and you’ll be in that directory.

If the conf file does not exist, what I would consider creating it. Make a duplicate copy of the conf-example file you showed and place the copy inside the /etc directory, confirm the desired settings within the file, and then reboot(just to be sure) and see if it accepts the file configuration settings you have specified.


31 posted on 10/20/2021 3:13:58 PM PDT by ProgressingAmerica (Public meetings are superior to newspapers)
[ Post Reply | Private Reply | To 29 | View Replies]

To: Blue Highway

Got Mint 19.1 installed. At no time did I see the auto-cpufreq.conf file get created in the /etc directory on its own.

So I created it and copied in all of the values. The file can’t be created without elevated privileges, the /etc directory is generally a protected folder.

In file explorer, right click and select “open as root”. There’s a red bar that appears that says “elevated privileges”. When you have the directory opened as root you can create the file. When you open the file to edit it with Xed with file explorer opened with root privilege, Xed will also open the file with root privileges already enabled and save you the extra work. The file is read only without elevated privileges.

I set the config governors as “governor = powersave” and “turbo = never”, it drops the cpu to 800mhz.

This is with opening the terminal and launching the program with sudo auto-cpufreq —live

Each time I change the conf file and then re launch the program, I can visually see the settings change. I changed to “turbo = always” and “governor = performance” and they change as expected.

Each time you open up the terminal and launch it —live, it will re-consume the file anew as you set it.


32 posted on 11/03/2021 11:51:34 AM PDT by ProgressingAmerica (Public meetings are superior to newspapers)
[ Post Reply | Private Reply | To 29 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-32 last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson