Steps
- Install cpupower:
sudo apt install linux-cpupower
- Edit the init script:
sudo vim /etc/init.d/cpupower
# put the following content into this file
CPUPOWER_START_OPTS="frequency-set -g performance"
- Enable on boot:
sudo update-rc.d cpupower defaults
- Apply immediately:
sudo cpupower frequency-set -g performance
- Verify:
cpupower frequency-info | grep "The governor"
Should output: The governor "performance" may decide which speed to use
Note: MX Linux 25 uses SysVinit.
Run regedit, navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run
then remove the line that contains "jusched.exe".
To make DOSBox automatically mount your ~/games folder as the C: drive every time it starts, you can edit the DOSBox configuration file. Here's how to set it up:
Steps:
-
Locate your DOSBox configuration file:
- On Windows, it's usually found in
C:\Users\YourUsername\AppData\Local\DOSBox\dosbox-[version].conf.
- On macOS/Linux, it's typically found in
~/.dosbox/dosbox-[version].conf.
-
Edit the configuration file:
Open the dosbox-[version].conf file with a text editor (e.g., Notepad on Windows or nano on Linux/macOS).
-
Find the [autoexec] section:
Scroll down to the very end of the file until you find the [autoexec] section. This is where you can add commands that DOSBox will execute when it starts.
-
Add the mount command:
Add the following line to mount your ~/games folder as the C: drive:
-
On Linux/macOS, add:
mount c ~/games
-
On Windows, if you want to mount a specific folder, use the path like this (assuming your folder is in C:\Users\YourUsername\games):
mount c C:\Users\YourUsername\games
You can also specify different mount points or add other commands, but this one will mount your ~/games directory automatically as C:.
-
Save the file:
After adding the mount command, save the configuration file and close the text editor.
-
Start DOSBox:
Now, every time you start DOSBox, it will automatically mount the ~/games folder as the C: drive.
Example:
Here’s what the [autoexec] section could look like:
[autoexec]
# Lines in this section will be run at startup.
mount c ~/games
c:
If you need any more help with configuration, let me know!