Exciting tips

How to enable the new Chrome extensions menu

Chrome has been making small changes to its UI for some time now. It’s switch to the Material design look is practically complete and it’s now making smaller changes to other areas of the browser. As with most things, these changes are opt-in for now. There’s a new Chrome extensions menu that you can enable. It allows you to access extensions that may otherwise have been hidden away in the overflow menu. Here’s how to get it.

New Chrome extensions menu

Open a new Chrome tab, and in the URL bar, enter the following.

chrome://flags

In the search bar, look for a flag called Extensions Toolbar Menu. Alternatively, you can enter the following in the URL bar and tap Enter.

chrome://flags/#extensions-toolbar-menu

This will find the Extensions Toolbar Menu flag for you. Open the dropdown next to it, and select Enabled. Relaunch Chrome.

how to enable the new chrome extensions menu How to enable the new Chrome extensions menu

When you relaunch Chrome, there will be an extension icon next to the URL bar. It looks like a puzzle piece. Click it and you will see a list of the extensions that are enabled in Chrome. You can access the extension and any sub-menus it might have. Each extension has a more options button next to it. If you click it you’ll see the default extension menu that lets you remove it from Chrome, and that takes you to that particular extension’s page in the Chrome Web Store. There’s also a Pin option in this menu which is new.

how to enable the new chrome extensions menu 1 How to enable the new Chrome extensions menu

The Pin option lets you place the extension next to the URL bar. To Unpin a pinned extension, right-click it and select the Unpin option.

This new extensions menu basically replaces the overflow menu that you can hide Chrome extensions in. The extensions could be added to it by dragging and dropping them on to the Chrome more options menu. It was a good way to reduce clutter in Chrome.

Once you enable the new extensions’ menu, you won’t be able to hide extensions in the overflow menu any more. The extension icon will be omnipresent so you will have at least two icons next to the URL bar i.e. your profile icon, and the extension icon. It’s an odd way to reduce clutter but that’s what it is.

The menu doesn’t add much outside of the Pin option. It doesn’t let users enable or disable extensions. You still have to go to the extensions page to do that and there’s no quick way to do it. Clicking the extension icon doesn’t open the extension’s page either.

How to install the Adapta-KDE theme on Linux

Adapta is a well-known GTK theme for Gnome-like Linux desktop environments. It borrows a lot of Google’s “material design” look and is one of the most downloaded themes because of it.

The Adapta theme isn’t just for Gnome users, though. Thanks to Adapta-KDE, it is possible to enjoy the beauty of “material design” on KDE Plasma 5. In this guide, we’ll show you how to get it working.

Install Adapta GTK

To get the most out of Adapta KDE, you must also install the GTK version of the theme. Why? To make sure that Gnome-based programs you use on the desktop match KDE. Otherwise, your KDE apps will use Adapta and the Gnome apps you use will not.

To set up Adapta GTK on your KDE Plasma desktop, follow this guide here. Then, once the theme is installed, open up a terminal window and install the program “Lxappearance.” It is an LXDE-based tool that we can use on KDE to set the GTK theme settings on Plasma.

Ubuntu

sudo apt install lxappearance

Debian

sudo apt-get install lxappearance

Arch Linux

sudo pacman -S lxappearance

Fedora

sudo dnf install lxappearance

OpenSUSE

sudo zypper install lxappearance

With Lxappearance installed, launch it on KDE by pressing Alt + F2 on the keyboard, and writing the command below into the quick-launcher.

lxappearance

Inside the Lxappearance application, set the “Widget” theme to Adapta, and click the “Apply” button to save it. Be sure also to go to “Cursor” and set it to “Breeze,” the default KDE mouse theme.

how to install the adapta kde theme on How to install the Adapta-KDE theme on Linux

Once the “Apply” button is selected, GTK apps on your KDE Plasma desktop will be using Adapta.

Papirus icon theme

The Adapta KDE theme for Plasma doesn’t come with an official icon theme. That said, the Papirus icons are built with Adapta in mind, and your desktop will look a lot better with them enabled.

To get Papirus working on your KDE Plasma 5 desktop, follow this guide here on how to install it. Then, once installed, follow the instructions below to learn how to activate them as the default icons on your system.

GTK apps

how to install the adapta kde theme on How to install the Adapta-KDE theme on Linux

Papirus must be set with Lxappearance so that Gnome-based apps you use have the same icon theme as the KDE desktop. To set Papirus as your default GTK icon theme open up Lxappearance by Alt + F2 on the keyboard, and enter the command below into the quick-launcher.

lxappearance

In Lxapperance, locate “Icon theme” and set it to “Papirus.” Click “Apply” to apply the changes.

KDE Plasma 5

how to install the adapta kde theme on linux 1 How to install the Adapta-KDE theme on Linux

To set Papirus as the default icon theme on KDE Plasma 5, follow this guide here. It goes over in-depth exactly how to change the default icons.

Install Adapta KDE on Linux

The Adapta KDE theme is a complete package. It comes with many components, and installing it can take a bit of effort.

The first thing to be done in the Adapta KDE setup process is setting up the Kvantum theme engine, as it renders the Adapta KDE theme out on the Plasma desktop.

To get the Kvantum application installed on your Linux PC, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, follow the command-line instructions that match the operating system you use.

Ubuntu

sudo apt install qt5-style-kvantum

Debian

sudo apt-get install qt5-style-kvantum

Arch Linux

sudo pacman -S kvantum-qt5

Fedora

sudo dnf install kvantum

OpenSUSE

There’s no package in the OpenSUSE repositories to install Kvantum. So, it must be built from source with the following commands.

sudo zypper install gcc-c++ libX11-devel libXext-devel libqt5-qtx11extras-devel libqt5-qtbase-devel libqt5-qtsvg-devel libqt5-qttools-devel kwindowsystem-devel git qmake
git clone https://github.com/tsujan/Kvantum.git
cd Kvantum
qmake make
sudo make install

With Kvantum installed, launch it on your Linux PC. Then, once in the app, locate the “Change/Delete Theme” area and click it to reveal theme options. Click the drop-down menu next to “Select a theme” and set it to Adapta. Then, click the “Use this theme” button to apply it to the system.

how to install the adapta kde theme on linux 2 How to install the Adapta-KDE theme on Linux

After setting up Kvantum, it’s time to install the rest of Adapta KDE. Open up a terminal window and run the following script. It will go through the process of installing all of the necessary theme files and components automatically.

sudo wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/adapta-kde/master/install.sh | sh

Let the script run, as it may take a couple of minutes depending on your network speed. When the installation is complete, open up the app launcher on the Plasma desktop by pressing Win. Then, type “look and feel,” and launch the app with that name in the menu.

how to install the adapta kde theme on linux 3 How to install the Adapta-KDE theme on Linux

Inside of the “look and feel” window, find “Adapta” and select it. When you do, the KDE Plasma desktop will apply the Adapta KDE theme to your desktop!

how to install the adapta kde theme on linux 4 How to install the Adapta-KDE theme on Linux

How to view battery percentage in system tray on Windows 10

If your laptop is running Windows 10, you very likely see a battery icon in the system tray. This icon indicates the state of your battery; charging, plugged in and charging, plugged in and charged, and discharging. These states are reflected by the icon. If you want to see just how much the battery is charged, you can hover the cursor over the battery icon and it will be revealed in a tool tip. If you want to view battery percentage in the system tray, without having to do anything, you need to install an app called PureBatteryAddOnSetup.

Battery percentage in system tray

Download and install PureBatteryAddOnSetup. It runs in the system tray. If your system is plugged in or it’s on battery but the charge hasn’t fallen below 100%, you’ll see a full green bar.

how to view battery percentage in system tray on windows 10 How to view battery percentage in system tray on Windows 10

The second the charge falls below 100%, you’ll see the battery percentage in figures. It updates regularly so you’ll get an accurate idea as to how much battery is left.

If you plug you laptop in, and it needs to charge, the app icon will continue to show the battery charge percentage. It won’t indicate that the laptop is charging which is why it might be a good idea to keep the default battery icon visible in the system tray next to it.

how to view battery percentage in system tray on windows 10 1 How to view battery percentage in system tray on Windows 10

The app is great but there’s no way to customize it. The default text is the battery percentage is displayed in, is white and if you were to use Light theme on Windows 10, you won’t be able to read it. The white color is all you get so you’re going to have to use the dark theme for Windows 10 or this app is practically useless.

Since the app doesn’t have any settings, it won’t automatically run at start up. You’re going to have to manually add it to the startup folder. To do that, create a shortcut to the app and add it to the startup folder.

This app isn’t very old. In fact, it’s only a month old at this point so it’s possible that it will improve exponentially over time. It might even get a proper settings panel that lets you customize the look of the battery percentage. Subsequent updates may also add an option to change the font that’s used to display the battery percentage. The font that’s used right now isn’t the easiest to read, especially if a user has a vision impairment.

If you like the app and think the default battery icon is now redundant, you can drag and drop it onto the overflow menu and hide it.

How to sleep the screen on Windows 10

If you leave your system unattended, your screen will eventually go to sleep. If you don’t return to it, the system will lock itself once the set amount of time has expired. If you want to turn the display off at will, you can set up the power button to do so. The power button may not be the most convenient way to go about it, especially if it’s hard to reach. Instead of a hard button, you can add a simple soft button and keyboard shortcut that will sleep the screen. Here’s how you can get it.

Sleep screen on Windows 10

In order to sleep the screen with a soft button or a keyboard shortcut, you have to install a free, open-source app called ScreenSleep. Download it from Github and run it.

The app runs in the system tray and adds a display/monitor icon to it. If you click it, a menu will open with an option to sleep the screen. Since this take two clicks, the quicker way to use the app is with its keyboard shortcut.

how to sleep the screen on windows 10 How to sleep the screen on Windows 10

The default keyboard shortcut is Ctrl+Shift+M but, you can change it. Click the app’s icon in the system tray, and select Settings from the menu. The settings window only has one item that you can change i.e., the keyboard shortcut. Click inside the box where the shortcut is, and type the new one you want to use.

ScreenSleep can be set to run at startup from the app’s own built-in settings.

The app works great with a single monitor, and with multiple monitors. It can sleep both an external and an internal display without any problems. The sleep applies only to the displays. It has nothing to do with the Sleep option for Windows 10. It’s an entirely different feature.

The Windows 10 power options let you set when the display is put to sleep. You can change when the system puts the display to sleep and it works perfectly but it’s time bound. You have to wait for a certain time, even if it’s just a minute, to expire in order for the display to go to sleep. This app gives you a method to sleep it at will.

how to sleep the screen on windows 10 1 How to sleep the screen on Windows 10

Since this is just putting the display to sleep, it’s not a security layer of any sort. The app isn’t too old and it appears to be under active development. Maybe it will eventually allow users to selectively sleep a display.

How to generate QR codes on Linux

Need to send a link from your Linux PC to your mobile device? Try generating a QR code on the Linux desktop! It’s quick, versatile and is compatible with virtually every mobile operating system! The best way to generate QR codes on Linux is with the command-line application Qrencode. Why? It is scriptable, has many different output options, and is very light-weight in overall size.

Install Qrencode

To install the Qrencode application on your Linux PC, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Once the terminal window is open, follow the command-line instructions below to get the application up and running on your Linux PC.

Ubuntu

The Qrencode app is in the “Ubuntu Universe” PPA. If you’re using Ubuntu, it is possible to install the program with the Apt command below.

sudo apt install qrencode

Debian

Qrencode is in the “Debian Main” software repository, and available to all Debian Linux users using 10, 9. 8 and Sid. To get the app working, use the following Apt-get command.

sudo apt-get install qrencode

Arch Linux

On Arch Linux, Qrencode is in the “Extras” software repository. Enable “Extra” in your Pacman configuration file. Then, once “Extra” is set up, use the Pacman command below to get Qrencode working.

sudo pacman -S qrencode

Fedora

Fedora Linux users can get the Qrencode application installed from the primary Fedora package sources. To set it up on your Fedora system, use the following Dnf command.

sudo dnf install qrencode

OpenSUSE

Qrencode is in OpenSUSE’s “Oss all” software repository. To install it on your OpenSUSE Linux system, use the following Zypper code.

sudo zypper install qrencode

Generic Linux

The Qrencode application is available for all Linux distributions via source code. If you’re using a Linux operating system that does not have the app in its software sources, head over to this website here to download the source code. The code page also has instructions on how to compile everything, and what dependencies it requires.

Generate QR codes – Qrencode

Qrencode can make QR codes directly through the terminal to an EPS file, or PNG file. In this guide, we’ll focus on using PNG as the output, as it is more versatile. To generate a custom QR code, open up a terminal window and enter the command qrencode with “qrcode.png” as the output filename.

how to generate qr codes on How to generate QR codes on Linux

qrencode -m 10 -o qrcode.png 'your-link-here'

Replace the ‘your-link-here’ with a link you’d like to embed into the QR code. The “qrcode.png” file will save in the home directory (~). To access the code, double-click on the image file, and it’ll open in the default image viewer on your Linux PC. You can then scan the QR code with a mobile device.

Create a QR code script

The qrencode command makes creating a QR code on Linux pretty easy. However, if you routinely generate QR codes to scan on your mobile device and want to use Qrencode to do it, you’ll probably want a faster way. The quickest way is to create a bash script that you can run any time to create new QR codes on Linux.

The first step in the bash script is to create the file. Using the touch command, make an empty file with the name of “qrcode” in your home directory.

touch ~/qrcode

Open up the “qrcode” file in the Nano text editor with the command below.

nano -w ~/qrcode

Once the qrcode file is open in Nano, write in the shebang at the top of the file. The shebang will tell your terminal how to handle the script, and how to run it.

#!/bin/bash

Press Space to create a new line in Nano. Then, copy and paste the code below into the editor. To paste in Nano, press Ctrl + Shift + V.

echo Paste your message or link to generate a QR code:
read code qrencode -m 10 -o qrcode.png $code sleep 1 echo "QR Code has been generated as ~/qrcode.png. Launching with Feh." feh ~/qrcode.png

Save the edits to the “qrcode” file in the Nano text editor by pressing Ctrl + O on the keyboard.

After creating the script, you must install the “Feh” application, as the script uses it to display the QR code on the screen automatically. To install Feh on your Linux PC, enter one of the commands below.

Ubuntu

sudo apt install feh

Debian

sudo apt-get install feh

Arch Linux

sudo pacman -S feh

Fedora

sudo dnf install feh

OpenSUSE

sudo zypper install feh

Now that Feh is installed, the script making process is done. Enter the commands below to install the script to your Linux PC.

sudo chmod +x ~/qrcode
sudo mv ~/qrcode /usr/bin/

To run the script, write the following command in terminal.

how to generate qr codes on linux 1 How to generate QR codes on Linux

qrcode

Paste your link in the prompt, and a QR code will pop-up on the screen when it’s done!


How to re-enable desktop icons in Elementary OS

The Elementary OS desktop environment is designed to be good looking and functional. For the most part, it works. However, there are certain features that the developer turns off that many users may not be comfortable with, like desktop icons. So, in this guide, we’ll show you how to re-enable desktop icons in Elementary OS.

Note: this technique works best with the latest Elementary OS Juno. If you are using an older release, please upgrade your system before continuing.

Install Desktop Folder

Currently, there is no way to dig into the Elementary OS code and change some things around to re-enable desktop icons. The only way to get desktop icon functionality back in Elementary OS is to install an app known as Desktop Folder.

There are two ways to get access to the Desktop Folder application on Elementary OS. Users can build the software from source, or, install it directly from the AppCenter store if they don’t want to download the source code and compile it.

Desktop Folder in AppCenter

Desktop Folder is in the AppCenter software store on Elementary OS and is free of charge to download. To get the app installed, start by opening up AppCenter by clicking on the AppCenter icon in the dock, or, by searching for it in the Applications menu.

After opening up the AppCenter store, look for the search box, and click on it with the mouse. Then, type in “Desktop Folder,” and press the Enter key to search AppCenter for the app.

When the search results load, you’ll see a ton of different app results, with Desktop Folder at the top. Click on it to load the Desktop Folder app page in AppCenter.

how to re enable desktop icons in elementary os How to re-enable desktop icons in Elementary OS

On the Desktop Folder app page in AppCenter, locate the blue “Free” button and click it with the mouse. Selecting this button will initiate the installation process, starting with the password prompt. Enter your password, and Desktop Folder will install on the system.

Build from source

Desktop Folder is available on GitHub and can be compiled from source if you prefer it. To compile the software, start by opening up a terminal window and installing all of the necessary build-time dependencies. To open a terminal, press Ctrl + Alt + T or Ctrl + Shift + T on the keyboard.

sudo apt install meson valac libgee-0.8-dev libcairo2-dev libjson-glib-dev libgdk-pixbuf2.0-dev libwnck-3-dev libgtksourceview-3.0-dev libjson-glib-dev intltool git

Once all of the dependencies are installed on Elementary OS through the terminal window, use the git clone command to download the Desktop Folder source code to your computer.

git clone https://github.com/spheras/desktopfolder.git

When the Desktop Folder source code is done downloading, it’s time to move the terminal session into the source code directory. Using the CD command, enter “desktopfolder.”

cd desktopfolder

Inside of the “desktopfolder,” use the meson build command to generate a build environment.

meson build

When the software compilation is complete, use the CD command to move the terminal into the “build” folder.

cd build

With the meson configure command, configure the source code.

meson configure -D prefix=/usr

Using the ninja command, compile the Desktop Folder code. Please keep in mind that compilation may take a long time, depending on how fast your Elementary OS PC is.

ninja

When the code for Desktop Folder has been compiled, install the software on the system using the ninja install command.

sudo ninja install

Desktop Folder, once built, can instantly be launched by writing the following command in a terminal window.

com.github.spheras.desktopfolder

Re-enable desktop icons on Elementary OS

Re-enabling the desktop icons on Elementary OS means setting up the Desktop Folder to start up at login automatically. To configure the Desktop Folder app to automatically launch when you turn on your PC, start by clicking on “Applications” to bring up the app launcher.

In the app launcher, type in “startup.” Look through the search results for “Startup” and launch it to load up Elementary OS’s application auto-start section.

Inside of the Startup area, look to the bottom left-hand section of the app for the + sign and click on it with the mouse.

Clicking the + symbol will reveal a search box and a list of applications. Look through the list for “Desktop Folder” and select it. Alternatively, type “Desktop Folder” in the search box to add it to the Startup list.

how to re enable desktop icons in elementary os 1 How to re-enable desktop icons in Elementary OS

Alternatively, if you prefer to use the command-line, launch a terminal window with Ctrl + Alt + T or Ctrl + Shift + T, and use the following CP command to place Desktop Folder into the “autostart” folder.

cp /usr/share/applications/com.github.spheras.desktopfolder.desktop ~/.config/autostart/
sudo chmod +x com.github.spheras.desktopfolder.desktop

Once Desktop Folder is setup to load on login, reboot your PC. When you log back in, you’ll have desktop icons on the Elementary OS desktop!

how to re enable desktop icons in elementary os 2 How to re-enable desktop icons in Elementary OS


How to switch to a local update mirror in Linux Mint

If you use Linux Mint and notice that software updates take too long to download, you may live too far from the official update servers. To fix this, you’ll need to swap to a local update mirror in Linux Mint. This will allow you to update the OS faster.

Swap Linux Mint update repositories

The quickest way to swap the Linux Mint update repositories with ones closer to where you live is within the GUI update manager. Open up the update manager by clicking the shield icon in the system tray. Then, once the update tool is open, follow the step-by-step instructions to switch to a local update mirror.

Step 1: In the Update Manager, install any pending software updates (if you have any). Installing updates is critical, as the app will not let you tweak settings in it before installing updates.

To install updates with the Update Manager, click “Refresh,” followed by the “Install Updates” button.

Step 2: Locate the “Edit” button and select it with the mouse to reveal the “Edit” menu.

Step 3: Look through the “Edit” menu for the “Software Sources” button and select it to open up Linux Mint’s software repo settings area.

Step 4: Look for the “Mirrors” section in the “Official Repositories” area of “Software Sources.”

Step 5: Locate the “Main (tina) box, and click it with the mouse to reveal the Linux Mint mirror chooser window.

Step 6: Let the Linux Mint mirror chooser window load up all the different software repository mirrors. Once all of them are loaded, select the mirror with the fastest Mbps speed rating, and click the “Apply” button to switch to it.

how to switch to a local update mirror in linux mint How to switch to a local update mirror in Linux Mint

Step 7: Find the “Base (bionic) box and click it to reveal the Linux Mint mirror chooser window.

Step 8: Once again, let the mirrors load into the chooser. When all mirrors are done loading up, look through the list of choices, and select the mirror that has the fastest Mpbs speed rating. Click the “Apply” button to confirm your selection.

how to switch to a local update mirror in linux mint 1 How to switch to a local update mirror in Linux Mint

After switching mirrors over in the Linux Mint “Software Sources” app, a message will appear asking to refresh the software sources on the system. Do so. When done, Linux Mint will be using local mirrors!

how to switch to a local update mirror in linux mint 2 How to switch to a local update mirror in Linux Mint

Return to default update repo

You may find that the local mirrors aren’t as reliable as the ones that Linux Mint offers by default. If you’d like to change your system back to using the default software repositories, follow the steps below.

Step 1: Open the Linux Mint Update app and click the “Edit” button. Then, look through the menu for “Software Sources” and select it with the mouse.

Step 2: Find “Main (tina)” and click on the box to reveal the mirror chooser window.

Step 3: Let the mirror chooser window load up all the available mirrors. Look through and select the “Linux Mint” mirror, and click “Apply” to switch to it.

Step 4: Select the Base (bionic) box, load up the mirror chooser, and set it to “archive.ubuntu.com/ubuntu.” Click “Apply” to switch the system to it.

Once both mirrors are set up, refresh Linux Mint’s software sources by clicking the “OK” button in the message that appears.

Switch to local update mirror – command-line

Don’t like to use the Linux Mint Update Manager? Want to change to a local update mirror from the command-line? Follow the step-by-step instructions below to get it done!

Step 1: Open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard.

Step 2: Using the cp command, make a complete backup of the default mirror settings on your Linux Mint PC. While this isn’t mandatory, it will make reverting to the default software sources much quicker.

sudo cp /etc/apt/sources.list.d/official-package-repositories.list /etc/apt/sources.list.d/official-package-repositories.list.bak

Step 3:  Open up “official-package-repositories.list” in the Nano text editor for modification purposes.

sudo nano -w /etc/apt/sources.list.d/official-package-repositories.list

Step 4: Locate “http://packages.linuxmint.com” in the text file and erase it. DO NOT ERASE ANYTHING OTHER THAN THE URL! Then, replace the URL you’ve erased with one of the mirror URLs from this link here.

how to switch to a local update mirror in linux mint 3 How to switch to a local update mirror in Linux Mint

Step 5: If you’d like to change the Ubuntu base repo to a more local one, change all instances of “http://archive.ubuntu.com/ubuntu” to one of the mirrors on this list. This step is optional, so feel free to skip it.

how to switch to a local update mirror in linux mint 4 How to switch to a local update mirror in Linux Mint

Step 6: Save the edits made in the Nano text editor by pressing Ctrl + O on the keyboard. Then, close the text editor by pressing Ctrl + X.

Step 7: Update Linux Mint’s software sources by using the update command.

sudo apt update

When the update command finishes, your Linux Mint system will be using local mirrors!

Retrun to default update repo in command-line

To revert Linux Mint to the default software repositories, rather than local mirrors, open up a terminal window and enter the commands below.

sudo rm /etc/apt/sources.list.d/official-package-repositories.list
sudo mv /etc/apt/sources.list.d/official-package-repositories.list.bak /etc/apt/sources.list.d/official-package-repositories.list
sudo apt update


How to improve gaming performance on Linux with Feral GameMode

Feral Interactive has created an innovative program for Linux gamers known as GameMode. It’s an impressive tool that can improve performance while playing video games by optimizing several aspects of the Linux operating system, including the CPU governor, I/O priorities, GPU performance, and much more.

Using GameMode on Linux requires that the program be built from its source code available on GitHub. Building the source code is very straight-forward, as the developers outline what dependencies it requires, how to install them, and have even included an elegant installation script that, when run, can take the tediousness out of compiling software.

To start the installation process for GameMode on Linux, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, once the terminal is open, follow along with each of the sections of the installation process to get your copy of GameMode up and running!

Getting dependencies

The most important part of installing GameMode on Linux is getting the variety of build-time software dependencies it needs installed. To get the dependencies for GameMode set up on your Linux PC, follow the command-line instructions below that correspond with the Linux OS you use.

Ubuntu

On Ubuntu Linux, the dependencies required are Meson, Libsystemd-dev, Pkg-config, Ninja, Git, Libdbus-1-dev, and Dbus-user-session.

sudo apt install meson libsystemd-dev pkg-config ninja-build git libdbus-1-dev dbus-user-session

Debian

Debian Linux is very similar to Ubuntu under the hood. As a result, the dependencies required to build GameMode on it are identical (Libsystemd-dev, Pkg-config, Ninja, Git, Libdbus-1-dev, etc.)

sudo apt-get install meson libsystemd-dev pkg-config ninja-build git libdbus-1-dev dbus-user-session

Arch Linux

Arch Linux users only need to install 4 dependencies to get GameMode built. They are Meson, Systemd, Git, and Dbus.

sudo pacman -S meson systemd git dbus

Fedora

Fedora Linux users looking to compile GameMode on Linux must install Meson, Systemd-devel, Pkg-config, Git, and Dbus-devel.

sudo dnf install meson systemd-devel pkg-config git dbus-devel

OpenSUSE

The developer doesn’t explicitly outline the correct dependencies required to build the software on OpenSUSE. That said, the Fedora ones should work fine. However, you run into issues, ask the developer directly on this page.

sudo dnf install meson systemd-devel pkg-config git dbus-devel

Download the source code

Now that the dependencies are taken care of, the source code for GameMode must be downloaded. To do this, we must make use of the Git program, and it’s clone feature.

git clone https://github.com/FeralInteractive/gamemode.git

Once the cloning process is complete, a folder with the name of “gamemode” will appear in your home directory (~). Move the terminal session into this folder by using the CD command below.

cd gamemode

Building GameMode on Linux

The GameMode application is easy to build on any Linux PC, thanks to the “bootstrap.sh” script. To run the script, run the execution command below in a terminal window.

./bootstrap.sh

Upon running the “bootstrap.sh” script on your Linux PC, you’ll be asked to enter the password for your user. Do so, as the script needs it to gain sudo access during the build and installation process.

When the build/installation process is complete on your Linux PC, you will be able to access the GameMode manually by typing the command below.

man gamemoded

Run GameMode on non-Steam games

GameMode can run video games installed on a Linux computer via the command-line. For example, to get better performance out of Super Tux Kart on Linux, you’d run the following command in a Linux terminal window.

how to improve gaming performance on linux with feral gamemode How to improve gaming performance on Linux with Feral GameMode

gamemoderun supertuxkart

To run any video game installed on your Linux PC, write the gamemoderun command, followed by the game’s execution command.

gamemoderun game-name

Run GameMode with Steam games

Aside from running from a terminal, GameMode can also work with Steam games. To configure any game to run on Steam, start by launching the Steam app. Then, once the Steam application is open, click on “Library” to go to your video game library.

Once in the “Library” section of Steam, look for an installed game and right-click it with the mouse to bring up the right-click menu.

In the right-click menu of your Steam game, find the “properties” option and select it to open the properties area for the game. Then, look for the “set launch options” button and click it to open up the Steam launch options window.

Inside of “Launch Options” for your game on Steam, write the following command into the text box to enable GameMode for the Steam game.

how to improve gaming performance on linux with feral gamemode 1 How to improve gaming performance on Linux with Feral GameMode

gamemoderun %command%

Click the “OK” button to save the command to the Steam game. Then, click the “close” button to close the Steam game’s properties window.

To start GameMode on the Steam game, click “Play” and enter your password in the pop-up window that appears on the screen.

ремонт айфонов

How to check CPU temperature on Linux

On Linux, if your CPU is running hot, you won’t be able to open up an official AMD or Intel utility to check the temperature. Instead, to check CPU temperature on Linux, you must rely on third-party programs. In this guide, we’ll go over some ways to check the CPU temperature on Linux.

Method 1 – Lm_Sensors

Lm_Sensors is a command-line utility that can be set up to scan various hardware sensors on a Linux PC to report temperature status. Lm_Sensors is a useful tool to use to check your CPU’s temperature in a pinch.

No Linux distributions currently come with Lm_Sensors, so before we go over how to use it, we must demonstrate how to install the program on your Linux PC. To start the installation, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. From there, follow the command-line instructions down below that correspond with your Linux operating system.

Ubuntu

On Ubuntu, the Lm_Sensors application is easily installed with the Apt command below.

sudo apt install lm-sensors

Debian

Using Debian Linux? You’ll be able to install the program with the following Apt-get command.

sudo apt-get install lm-sensors

Arch Linux

The Lm_Sensors application is available to Arch Linux users in the “Extras” software repository. Ensure that “Extra” is enabled on your Arch system. Then, use the following Pacman command to get it set up.

sudo pacman -S lm_sensors

Fedora

To install Lm_Sensors on Fedora Linux, use the Dnf command below to set up the program on your system.

sudo dnf install lm_sensors

OpenSUSE

Officially, OpenSUSE does not carry the Lm_Sensors application. However, it should be possible to install the Fedora Linux Package.

Warning: the Fedora version of Lm_Sensors may not work on OpenSUSE Linux. Try this method at your own risk!

wget http://download-ib01.fedoraproject.org/pub/fedora/linux/releases/30/Everything/x86_64/os/Packages/l/lm_sensors-3.5.0-3.fc30.x86_64.rpm
sudo zypper install lm_sensors-3.5.0-3.fc30.x86_64.rpm

Configuring Lm_Sensors

After installing the Lm_Sensors application, the initial setup process isn’t done. Before using the app, it must be set up to work with the hardware sensors on your computer. To start the configuration process, go to the terminal window and gain root access with the su or sudo -s command.

su

or

sudo -s

With root available, run the sensors-detect command in the terminal, and the initial configuration process will begin.

sensors-detect 

how to check cpu temperature on How to check CPU temperature on Linux

The first screen that appears in the sensor configuration process says, “Some south bridges, CPUs or memory controllers contain embedded sensors. Do you want to scan for them? This is totally safe”. Write out “Yes” in the prompt to begin.

After selecting “YES,” the next question will appear. This question states, “Some Super I/O contain embedded sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors?” Once again, choose “Yes” to allow Lm_Sensors to scan.

Following the two main questions, the program will ask several other ones. Say yes to the questions asked where the word “yes” is in all caps, and no to the ones where the word “no” is in all caps.

When Lm_Sensors is done asking questions, the configuration is complete.

Check CPU temperature with Lm-Sensors

Checking CPU temperature on Linux with Lm-Sensors is done with the sensors command. To quickly check the temperature readout of your CPU (and other devices that Lm-Sensors detected), open up a terminal window with Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, run the sensors command to view a readout of various sensor temperatures.

how to check cpu temperature on linux 1 How to check CPU temperature on Linux

sensors

Alternatively, if you’d like to save your CPU temperature readout to a text file to read for later, run the sensors command and redirect it with the “>” symbol.

sensors > cpu-temp.txt

Method 2 – Psensor

Another great way to check CPU temperatures on Linux is with the Psensor tool. It’s a graphical application that can show various sensor statistics in an easy to read interface.

Note: Psensor uses Lm_Sensors for some operations in the app. To get the most out of Psensor, follow the instructions in Method 1 to set up Lm_Sensors before following the instructions outlined below.

Install Psensor

To start the installation of Psensor on Linux, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T. Then, once the terminal window is open, follow the command-line instructions below that correspond to the Linux OS you use.

Ubuntu

sudo apt install psensor

Debian

sudo apt-get install psensor

Arch Linux

sudo pacman -S psensor

Fedora

sudo dnf install https://raw.githubusercontent.com/rpmsphere/x86_64/master/p/psensor-1.2.0-5.1.x86_64.rpm

OpenSUSE

There’s no package for Psensor available on OpenSUSE. Instead, try installing the Fedora Linux version but, use it at your own risk!

wget https://raw.githubusercontent.com/rpmsphere/x86_64/master/p/psensor-1.2.0-5.1.x86_64.rpm
sudo zypper install psensor-1.2.0-5.1.x86_64.rpm

Using Psensor to check temps

how to check cpu temperature on linux 2 How to check CPU temperature on Linux

The Psensor application, once installed, doesn’t need any configuration (outside of setting up Lm_Sensors). To check the temperature of the CPU on your computer, open up the app, and look to the column on the right for CPU temperature information.

How to get Minecraft Beta on Windows 10

Public betas have become quite a popular concept. When a product has a large user base, and that user base has an active interest in helping to improve the product, a public beta can be exceptionally helpful. For one, it allows the beta software to run on all types of devices which isn’t something that can be done in-house. Minecraft has a public beta as well. Users can join the beta program whether they’re running the Java version or the UWP one for Windows 10. Here’s how you can get  Minecraft beta on Windows 10.

Minecraft Beta on Windows 10

Getting the Minecraft beta on Windows 10 requires you to install an app called the Xbox Insider Hub. Go ahead and install it, and then sign in with your Microsoft Account.

how to get minecraft beta on windows 10 How to get Minecraft Beta on Windows 10

Once you’re signed into the app, look for ‘Insider Content’ in the panel on the left.

how to get minecraft beta on windows 10 1 How to get Minecraft Beta on Windows 10

The Insider Content screen will feature the beta content that is available. Minecraft will be listed here. You can click it and it will be installed.

how to get minecraft beta on windows 10 2 How to get Minecraft Beta on Windows 10

Minecraft is a paid app/game. No matter which version you have, whether it’s the Java version or the UWP version, you’re going to have to buy it. As such, joining the beta requires that you already own the game. In this case, you must already have the UWP app installed. You cannot use this as a method to get the app for free.

You don’t have to be on the Windows Insider program, or running an Insider build in order to run Minecraft Beta on Windows 10. The two are not connected in any way. The only thing you need is the Xbox Insider Hub app.

Exiting Minecraft beta

Before you exit the Minecraft beta on Windows 10, you should first back up your worlds just in case. Do not skip this step. The Minecraft UWP app has problems of its own so it’s not a good idea to take a chance with it.

Once you’ve backed up your worlds, open the Xbox Insider Hub app, and remove yourself from the Minecraft beta from the Insider Content section. Once you’ve done that, uninstall the Minecraft Beta app, and then install Minecraft again. By default, it should detect your old worlds but if it doesn’t, use your backups to get them back.

Minecraft beta is going to be unstable and the UWP version may not have the same features that the Java beta version has. It goes without saying that you should use this app at your own risk.