Any packages for "clocking"?

34 respostas [Última entrada]
GrevenGull
Desconectado
Joined: 12/18/2017

I recently posted regarding my hot MacBook Pro 9,1.

I am now running the fans at full speed all the time.

But that brought me to the question: are there any packages for "clocking" the pc? You know, upping and downing the Ghz and stuff?

Magic Banana

I am a member!

Desconectado
Joined: 07/24/2010

I do not think so. See https://trisquel.info/forum/temperatures-inside-pc-high#comment-125753 to get two entries in the menu to set both fans to the max speed and to go back to their automatic management. It will be easier than typing commands after each reboot.

Now, if you really want your fans at maximal speed since the init:
gksu pluma /etc/rc.local
Copy and paste:
#!/bin/sh
echo 1 | tee /sys/devices/platform/applesmc.768/fan1_manual > /sys/devices/platform/applesmc.768/fan2_manual
echo 6200 | tee /sys/devices/platform/applesmc.768/fan1_output > /sys/devices/platform/applesmc.768/fan2_output
exit 0

Save and quit.

fbit

I am a member!

Desconectado
Joined: 07/07/2013

CPU frequency scaling is implemented in the kernel under cpufreq infrastructure. You can try searching online for information on that.

You could try looking for software in the Trisquel repositories to help you do this. For example:

$ apt-cache search cpu frequency

You can search for any keywords you like. You can find tools that can allow you to control voltage and frequency of your CPU, such as CPU frequency daemons.

You should research this on your own. Search and read.

Follow the suggestions on the manual I linked to last time.

And be aware you may damage your CPU if you are not careful.

Time4Tea
Desconectado
Joined: 07/16/2017

It might be worth the OP checking the config settings for the Trisquel kernel, to see if the voltage/frequency scaling features are enabled. If not, that might be part of the reason that the machine is running hotter under Triqsuel. Although, I would think those things should be enabled, if the kernel is coming from Ubuntu upstream ..

GrevenGull
Desconectado
Joined: 12/18/2017

That is indeed some great tips, thank you sir, and pardon for posting many questions that may be very basic.

May I ask what manual you linked last time?:)

fbit

I am a member!

Desconectado
Joined: 07/07/2013

The idea is for you to learn how to solve problems yourself.

As you will never be able to acquire all the knowledge to fix every problem, you need to develop the skills to research, read, including reading software manuals (most programs have a manual, which you can access typing: man [program], where [program] is the name of the program. The man command also has a manual, which you can access typing: man man.

You have curiosity and a desire to learn. Now you just have to learn how to channel it productively. The manual I suggested last time is here: http://catb.org/~esr/faqs/smart-questions.html. As I mentioned before, don't be offended by the title, it is useful.

Edit: Fixed brackets.

GrevenGull
Desconectado
Joined: 12/18/2017

Oh yeah, that manual! Yes, I did take a fast look at it, but I'll take some more look at it, and thank you for all the tips with the "man" command, that'll be handy! :)

cheers

GrevenGull
Desconectado
Joined: 12/18/2017

"Since the init"?

Magic Banana

I am a member!

Desconectado
Joined: 07/24/2010

The init is the first program that the kernel starts. It initiates the so-called services after the boot. For example the display manager, which shows you the screen where to log in. /etc/rc.local is a script that the init executes last.

GrevenGull
Desconectado
Joined: 12/18/2017

Allright, thanks :)

GrevenGull
Desconectado
Joined: 12/18/2017

When I do the:

gksu pluma /etc/rc.local

It gets me here (see screenshot)

Should I just copy all of the text that you said I was supposed to copy (like everything) and just paste it in say.. line #13 for example?

Screenshot at 2018-01-09 21:43:23.png
ao
ao
Desconectado
Joined: 07/20/2017

In KDE there's indicator-cpufreq which can run in the system area. It gives me seven options to do what you describe.

GrevenGull
Desconectado
Joined: 12/18/2017

KDE? Is that a package?

I searched the repository, but I got several matches with "KDE", but none that was simply called "KDE", they all had something added to the name.

ao
ao
Desconectado
Joined: 07/20/2017

KDE is a desktop environment - https://en.wikipedia.org/wiki/KDE
I just installed kde-full and accepted all software that came with it.

I'm not a lawyer, everything you do is your own responsibility.

GrevenGull
Desconectado
Joined: 12/18/2017

" KDE (/ˌkeɪdiːˈiː/) is an international free software community[1] that develops Free and Open Source based software. "

Seems like it's a bit more than a desktop environment according to your link :p

But okay, it's a completely different operating system, that is also libre like Trisquel? How come they are not recommended by FSF?

chaosmonk

I am a member!

I am a translator!

Desconectado
Joined: 07/07/2017

> " KDE (/ˌkeɪdiːˈiː/) is an international free software community[1] that
> develops Free and Open Source based software. "

From what in this quote do you infer that KDE is an operating system? KDE is a free software community that does not create an operating system but *does* create a desktop environment called KDE Plasma. Plasma is free software, and you can install it in Trisquel. The package name might be 'kubuntu' or 'triskel'.

GrevenGull
Desconectado
Joined: 12/18/2017

From what in this quote do you infer that KDE is an operating system?

I have no idea. Sorry about that.

But allright. I do not find kde-full which ao talks about (maybe it's because I'm using Trisquel 8), but I do find kubuntu-full, do you believe that's the same thing as ao talks about?:)

chaosmonk

I am a member!

I am a translator!

Desconectado
Joined: 07/07/2017

Yes, that sounds right. Kubuntu is a flavor of Ubuntu that uses KDE as its default desktop environment, so the package name is probably leftover from upstream. It's the same thing as KDE-full.

GrevenGull
Desconectado
Joined: 12/18/2017

Thanks! :) I'll check it out

Magic Banana

I am a member!

Desconectado
Joined: 07/24/2010

Those concepts are quite fuzzy.

Some people consider that the operating system is only the kernel, a rather strange definition because you do nothing with only a kernel, so the system is not "operating" imho. Others consider that all programs, from the kernel up to specialized applications, which can work alongside each other, are an operating system.

GNU/Linux distributions ship the GNU/Linux operating system seen in a maximalist way. They can differently manage the programs (there are different package managers), ship with different defaults (for example different desktop environments), even have slightly different system files, etc.

Everyone seems to agree that a desktop environment is a set of complementary *graphical* programs (so a "desktop environment" definitely differ from an "operating system") meant to work together and having similar interfaces (in particular using a same graphical toolkit). But again some people have a minimalist definition (only the window manager and maybe a file browser), whereas others will consider that a desktop manager should include up to specialized applications.

GrevenGull
Desconectado
Joined: 12/18/2017

When I think about it, I think I saw that package in regular Trisquel 8 (MATE environment?), but now I get to try the Kubuntu though.

update

I can't seem to find the package anywhere, and even though it appears in the alt+F2 prompt, nothing happens when I command to run it.

update 2

Ah, "in the system area", is that a special kind of area? This isn't like a regular package?

ao
ao
Desconectado
Joined: 07/20/2017

KDE is Free Software: it's in the Trisquel repository.

KDE is not an operating system, like Trisquel is.

KDE is a desktop environment, like GNOME or XFCE.

Where's the list of FSF's recommended desktop environments?

GrevenGull
Desconectado
Joined: 12/18/2017

No need to get snappy amigo, I was simply quoting the first line of your link.

But anyway, cool, I was not aware of the fact that it is possible to change desktop environment. So if I go in the repository, download and install this KDE. My whole desktop will change? Will I still have all the packages and stuff, or will it be like installing a whole new OS? :)

PS. I still can't find a package that's named simply "KDE" though, are you certain it's not something more in the name?

PS PS. Are you talking about "KDevelop 4" - Integrated development environment ?

ao
ao
Desconectado
Joined: 07/20/2017

Maybe you use Synaptic package manager? There you can see that the package kde-full has a list of dependency software. This will automatically be installed for you if you agree. Then you get the whole KDE desktop environment (which is not the same as operating system).
No other software will disappear, unless you uninstall.

I'm not a lawyer: everything you do is your own responsibility.

GrevenGull
Desconectado
Joined: 12/18/2017

I see! :) perhaps I'll check it out.

May I ask if there's a specific reason to why you sometimes sign your replies with:

"I'm not a lawyer: everything you do is your own responsibility" ?

chaosmonk

I am a member!

I am a translator!

Desconectado
Joined: 07/07/2017

Your desktop environment is just an interface for your operating system. You can install a different desktop environment without affecting anything in the underlying operating system. You can even have multiple desktop environments installed at once. When you log in you choose which desktop environment you want to use for that session. There's a small icon at the login screen you can click on to see a drop-down menu of all the desktop environments you have installed.

ao
ao
Desconectado
Joined: 07/20/2017

Yes, because I don't know where you come from, and in the USA people are shoving each others to courtrooms demanding excessive amounts of money, because somebody else is usually to blame when things go wrong, and theoretically you can be an American.

So I don't give advice on a professional level, which means you can't sue me when things go wrong on your side.

I'm just an experienced hobbyist ("noob").

I picked this all up from somebody who gave a talk for the FSF.

GrevenGull
Desconectado
Joined: 12/18/2017

Huh.

Well thanks anyway for being kind and giving tips :) preciate it, I promise I won't sue you!

ao
ao
Desconectado
Joined: 07/20/2017

+1 :-)

GrevenGull
Desconectado
Joined: 12/18/2017

Hi, I read the comments again, after a reply from mason, and I would like to say sorry for my behaviour.

Anyway, I didn't find the kde-full (perhaps it is because I use Trisquel 8), but I find kubuntu-full which mason talks about. Is that the same? :)

Again: sorry, and thank you for being helpful

chaosmonk

I am a member!

I am a translator!

Desconectado
Joined: 07/07/2017

It's understandable to be confused by this. If you're new to GNU/Linux the idea of getting to choose your desktop environment is a foreign concept. Since you're using a Macbook, I assume that you used macOS before switching to Trisquel. Apple obfuscates the distinction between their operating system and desktop environment to mystify their interface. It's a way of making their users feel dependent on macOS and closed-minded toward other operating systems.

GrevenGull
Desconectado
Joined: 12/18/2017

I see, that's interesting :)

I guess I will just have to try different environments to learn more

GrevenGull
Desconectado
Joined: 12/18/2017

I'm installing the "ubuntu-full" package now, and it has come to this point where it says "The marked changes are now being applied. This may can some time. Please wait.

It has been in that state for quite some time now, and I'm beginning to feel like maybe there's an error of some kind.

How long time can this take ? :) Anybody done this before and have some experience?

edit

nvm, I overlooked a window where I had to press forward.

chaosmonk

I am a member!

I am a translator!

Desconectado
Joined: 07/07/2017

It sounds like you're using Synaptic. Try using apt install instead and see if you get an error. When something isn't working and you aren't sure why, you'll usually be able to get more information from a terminal than a GUI.

ao
ao
Desconectado
Joined: 07/20/2017

From a user perspective, I think of it as software on different levels:

a standalone software application, which I can install or remove
a set of software, which together is called desktop environment
a set of software, which is together called GNU/Linux distribution

So I can run KDE/Gnome/XFCE/etc. on Debian/Ubuntu/Trisquel etc.