Misc

From Linux Gaming
Jump to navigation Jump to search

Various stuff that doesn't (yet) deserve an own article but might be useful.

Watching the temperature[edit | edit source]

You can use lm_sensors. Before running it for the first time, run sudo sensors-detect.

After that, type sensors to see your temperatures. If you want to monitor them for a longer time, type watch sensors.

Changing Mouse settings (DPI, lift of distance, etc)[edit | edit source]

Settings are usually stored in the mouse, so it is sufficient to boot Windows once, and change stuff there. You can also boot a VM (with KVM) and pass through the mouse. After that, the settings should be kept in Linux.

Audio stuff[edit | edit source]

Noise Cancelling[edit | edit source]

You can use EasyEffects or NoiseTorch.

Equalizer and more[edit | edit source]

EasyEffects also has various other audio processing options, like crystalizer, noise gate, equalizer, filter, and much more. NoiseTorch can only cancel noise, but also has the option to tweak how aggressive it cancels noise.

Patching Audio[edit | edit source]

If you want to have a patchbay to route your audio to various destinations, qpwgraph or Helvum might be what you're looking for.

Make the game look good[edit | edit source]

Downsampling[edit | edit source]

You can use Gamescope.

Post Processing[edit | edit source]

You can use vkBasalt for additional rendering like anti aliasing or reshade (you might want to use reshade instead)

Using GitHub/GitLab[edit | edit source]

You might find yourself in the situation where you want to download something from GitHub or GitLab. Don't do it, as long as it's not absolutely necessary. This is usually a bad idea. Try again to find a better solution, for example, read the description about how to install it, there might be a package for your distribution, a ppa (for Pop!_OS, Ubuntu, etc), an AUR package (for Garuda, Manjaro, Arch, etc.), or something similar for your distribution. Or post in a forum, and try to get help there. But here is how to do it:

  1. Install git. If you're on Pop!_OS or other Ubuntu/Debian-based distributions: sudo apt install git
  2. On GitLab there is a button called "Clone", on GitHub it's called "Code". Click it. You will see an URL like this: https://gitlab.com/some/stuff. Copy it (for example by clicking the button right next to it).
  3. Open a terminal, and navigate to the folder where you want your stuff. For example, by typing cd repos if you have a folder repos in your home folder.
  4. Type git clone (and type a space). Then paste the URL by pressing ctrl + shift + v. Then press Enter.
  5. Follow the instructions in the readme.

Using Checksums[edit | edit source]

When downloading a file, you might have seen something like sha512: 497907d020870e564b814bb6c4f7eef2f3abdf5d0159ccbd96501a26cef155a8d771a420a16c9348525fa4ce7de3c137ad5ff15a013c84f327edbdea6495d86b easyanticheat_x64.so

This is a checksum, or more precise: An sha512 checksum for the file easyanticheat_x64.so. This number is for verifying that you have the correct file, and not something that is manipulated or inaccurately transmitted.

Usage: Download file, open terminal, and cd Downloads.

Then you execute sha512sum easyanticheat_x64.so. The number you see there, should be exactly the same.

Btw: sha512 is better than sha256, and especially better than md5. md5 is trash, don't use it.

Game Streaming[edit | edit source]

You can use sunshine to stream games from your computer to a client running moonlight

RGB[edit | edit source]

You can use OpenRGB.

Razer control driver[edit | edit source]

For razer hardware, you can use this driver: https://github.com/openrazer/openrazer

Logitech control software[edit | edit source]

Solaar is a Linux device manager for Logitech devices. You can do stuff like changing DPI, or button mappings, etc. https://github.com/pwr-Solaar/Solaar

Suspend/resume of applications (games, an others)[edit | edit source]

You can use nyrna. Unortunately it doesn't (yet) "survive" reboots.

Test whether you use X11 or Wayland[edit | edit source]

Open a terminal and input echo $XDG_SESSION_TYPE. If it says x11, then you use X11. If it says wayland, you use wayland.

Disable swapping for a game[edit | edit source]

You can do it like this.

Simultaneously play two different games on the same device[edit | edit source]

https://www.reddit.com/r/tuxedocomputers/comments/ucdvj7/finally_did_it_two_different_users_playing/