Trending February 2024 # How To Enable Caps Lock Key Indicator In Ubuntu # Suggested March 2024 # Top 6 Popular

You are reading the article How To Enable Caps Lock Key Indicator In Ubuntu updated in February 2024 on the website Minhminhbmm.com. We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested March 2024 How To Enable Caps Lock Key Indicator In Ubuntu

I am sure most of us have been through situations where we enter a password, but the system rejects it, repeatedly. Then we realize it’s our fault, as we didn’t notice that the Caps Lock key was on.

Is there a way to avoid such situations? For Ubuntu/Linux, you can use a key lock indicator to display your key lock status on screen. Here we show you two such tools: Lock-Keys and Keyboard Modifiers Status extensions.

1. Lock-Keys Extension

The lock-keys tool is basically a Gnome extension tool that is primarily designed for keyboards that do not have the lock key LED lights.

It works by simulating the key locks, showing an indicator on the Desktop and a status on Ubuntu top bar.

Install and Configuration

We are going to use the gnome-extensions to enable the lock-keys tool.

For this, we need to install various requirements. Launch the terminal and enter the command:

sudo

apt

install

gnome-shell-extension

-y

Once we have the Gnome shell extensions installed, we can proceed and add the lock-key indicator tool.

Launch the Firefox browser and navigate to the lock-keys download page.

On the download page, Firefox requires you to install the browser extension which allows you to install gnome extensions straight from the browser.

Fix Host Connector Error!

In some instances, you may encounter an error indicating that the host connector is not detected.

To fix this, you need to install the chrome-gnome-shell. Use the command

sudo

apt

install

chrome-gnome-shell

-y

Note: if you refresh the browser window and still get a host connector error, try logging out and back in again.

Install Lock Keys Extension Configure Keys

Once the installation is completed, you should see the lock keys enabled and available in the top bar.

You should now get an indicator showing when the keys are enabled or disabled.

If you do not want the indicator icons on the top bar, you can turn them off by configuring the extension settings.

Start by opening the gnome-extensions tool from Ubuntu applications.

Finally, set the indicator style to notifications only. This will remove the top bar icons and only show the key toggles on the screen.

2. Keyboard Modifiers Status

You may get errors or the Lock keys extension may not work depending on the distribution you are running or the Gnome version.

An alternative solution is to use the Keyboard Modifier Status tool.

Launch Firefox and navigate to the Keyboard Modifiers Status extension page.

Similarly, toggle the On/Off option to activate the extension.

Once the extension is installed, you should have the key indicator enabled and available in the top bar for configuration.

Wrapping Up

Needless to say, lock-keys and keyboard-modifier-status tools are extremely useful tools, especially for those whose keyboard does not have lock key lights. Plus, they are easy to install and use. Also check out these extensions that make your Gnome desktop easier to use.

John Wachira

John is a technical writer at MTE, when is not busy writing tech tutorials, he is staring at the screen trying to debug code.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

You're reading How To Enable Caps Lock Key Indicator In Ubuntu

How To Record Terminal Session In Ubuntu

If you are a frequent terminal user, you may come across situations where you need to debug the code or copy the output of a script for future reference. For such cases, you may want to record the terminal session to obtain the log file of all the input commands you have entered and their outputs. Here is one way that you can use to record terminal session in Ubuntu.

Setting Up

Open a terminal and install bsdutils

sudo

apt-get install

bsdutils

Once installed, you will be able to use two commands script and scriptreplay to record the existing session and play back the recording.

Usage

The usage is pretty simple. To start the recording, you just need to use the command:

Once you entered the command, you should see the line “Script started...“. Everything that you enter in the Terminal (including its output) will now be recorded.

Once you are done with the recording, simply type exit to end the recording. You should see the line “Script done,...” that denotes the end of recording.

To view the recording, you can either open the saved file (recording.txt) in your text editor or use the command scriptreplay

scriptreplay ~

/

timing.txt ~

/

recording.txt

That’s it. While it is simple, it can be really useful for debugging, or even troubleshooting your friend’s computer by showing them what you have typed and the expected output they should see in the terminal.

Is this helpful to you? What other uses can you think of?

Image credit: Macro Of Digital Dictaphone by BigStockPhoto

Damien

Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

How To Enable Http2 0 In Nginx

HTTP/2 is the latest version of the HTTP protocol, which is designed to improve website performance and security. Nginx is a popular web server that supports HTTP/2. If you’re using Nginx and want to enable HTTP/2 for your website, this article will guide you through the process.

Step 1: Check Nginx Version

Before enabling HTTP/2, you should check the version of Nginx installed on your system. To do this, run the following command −

nginx -v

This command will display the version of Nginx installed on your system. If you have a version of Nginx that is 1.9.5 or later, you can enable HTTP/2. If your version of Nginx is older than 1.9.5, you will need to upgrade to a newer version.

Step 2: Enable SSL/TLS

To enable HTTP/2, you must first enable SSL/TLS on your website. HTTP/2 requires the use of SSL/TLS encryption, which provides a secure connection between the web server and the client’s browser.

To enable SSL/TLS, you will need an SSL/TLS certificate. You can obtain a certificate from a trusted certificate authority (CA), or you can create a self-signed certificate for testing purposes.

Assuming you have an SSL/TLS certificate, you can add the following lines to your Nginx configuration file −

server { ssl_certificate /path/to/ssl/certificate; ssl_certificate_key /path/to/ssl/private/key; ... }

This configuration tells Nginx to listen on port 443 (the default HTTPS port) using SSL/TLS and HTTP/2. The ssl_certificate and ssl_certificate_key directives specify the paths to your SSL/TLS certificate and private key, respectively. Replace chúng tôi with your domain name.

Step 3: Test Configuration and Restart Nginx

Once you have updated your Nginx configuration file, you should test the configuration to make sure there are no errors. To do this, run the following command −

nginx -t

If the configuration is valid, you should see a message indicating that the syntax is okay and that the test is successful.

Finally, restart Nginx to apply the changes −

sudo service nginx restart Step 4: Verify HTTP/2 is Enabled

In addition to the steps outlined above, there are a few other things to keep in mind when enabling HTTP/2 in Nginx −

Enable HTTP/2 for all Server Blocks Optimize Your Website for HTTP/2

While HTTP/2 offers many performance benefits over HTTP/1, it’s important to note that not all websites will see the same improvements. To get the most out of HTTP/2, you should optimize your website for the new protocol by −

Minimizing the number of requests required to load a page

Reducing the size of resources such as images, CSS, and JavaScript files

Using server push to preload resources that are required for subsequent pages

Enabling gzip compression for all resources

Using a content delivery network (CDN) to cache and serve static resources

Monitor your website’s performance

After enabling HTTP/2, it’s important to monitor your website’s performance to ensure that it’s actually benefiting from the new protocol. You can use tools such as Google PageSpeed Insights, WebPageTest, or Pingdom to measure your website’s loading speed and identify any areas for improvement.

Consider using a third-party HTTP/2 Acceleration Service

If you’re using a shared hosting environment or don’t have control over your server configuration, you can consider using a third-party HTTP/2 acceleration service such as Cloudflare or Akamai. These services can accelerate your website’s performance by optimizing resources, reducing latency, and providing additional security features.

Use the Latest Version of OpenSSL

Nginx relies on OpenSSL for SSL/TLS encryption and HTTP/2 support. To get the best performance and security, make sure you’re using the latest version of OpenSSL. You can check your OpenSSL version by running the following command −

openssl version

If you have an outdated version of OpenSSL, you can upgrade it using your package manager or by compiling it from source.

Use the HTTP/2 Server Push Feature Monitor Your Server’s Resource Usage

Enabling HTTP/2 can increase the resource usage of your server, especially if you have a high-traffic website. Make sure to monitor your server’s CPU, memory, and network usage to ensure that it can handle the increased load. You can use tools like top, htop, or sar to monitor your server’s resource usage.

Enable HTTP/2 For Static Content Only

Enabling HTTP/2 for dynamic content like PHP scripts or database queries may not provide significant performance benefits. To maximize the performance benefits of HTTP/2, you should enable it only for static content like images, CSS, and JavaScript files. You can use the map directive in your Nginx configuration file to selectively enable HTTP/2 based on the request URL. For example, to enable HTTP/2 for requests with a .css file extension, you can add the following lines to your configuration file −

~*.css$ 1; default 0; }

server { … } … }

Enabling HTTP/2 in Nginx can provide significant performance benefits for your website. However, it’s important to optimize your website for the new protocol, monitor your server’s resource usage, and selectively enable HTTP/2 for static content only. By following these tips, you can ensure that your website delivers a fast and secure user experience to your visitors.

Enable HTTP/2 on all Supported Browsers

While HTTP/2 is supported on most modern web browsers, some older browsers do not support the new protocol. To ensure that your website is accessible to all visitors, you should enable HTTP/2 only for browsers that support it. You can use the if directive in your Nginx configuration file to detect the client’s browser and enable HTTP/2 only if it’s supported. For example, to enable HTTP/2 only for Google Chrome and Mozilla Firefox, you can add the following lines to your configuration file −

default 0; }

server { listen 443 ssl; } … }

Enable Server-side Caching

HTTP/2 can significantly reduce the number of requests required to load a page, but it does not eliminate the need for caching. By enabling server-side caching, you can reduce the load on your server and improve performance even further. You can use the proxy_cache directive in your Nginx configuration file to enable caching for dynamic content. For example, to enable caching for requests with a .php file extension, you can add the following lines to your configuration file −

server { ... location ~ .php$ { proxy_cache_valid 200 5m; ... } ... } Conclusion

Enabling HTTP/2 in Nginx is a straightforward process. You need to check your Nginx version, enable SSL/TLS, update your Nginx configuration file, test the configuration, and restart Nginx. Once HTTP/2 is enabled, your website will benefit from faster page loading times, improved performance, and better security.

How To Install Gnome Classic Shell In Ubuntu

If you have installed Ubuntu on your old computer or the low-end netbook, you will know that the Unity desktop manager that comes shipped with Ubuntu is very sluggish and non-responsive at times. This is because the Unity desktop requires powerful hardware to run well. A good alternative is to install the classic Gnome desktop. It is not as resource-intensive as Unity and will work just fine with any older hardware.

Note: The “Gnome classic shell” is now known as “Gnome Flashback.” The user interface remain the same.

Install Gnome Classic Shell In Ubuntu

Installing Gnome classic shell in Ubuntu is really easy. There are two ways to install Gnome classic shell in Ubuntu. The first is to use the regular Ubuntu software center and the second is to use a couple of commands in your Ubuntu terminal.

Using Ubuntu Software Center

Install Gnome Flashback from Ubuntu Software Center

Using Ubuntu Terminal

To install Gnome classic shell using the terminal, launch the terminal by pressing “Ctrl + Alt + T”. Enter the following command to update the current repos.

Once all the repositories are updated, enter the following command to install Gnome classic shell.

The above action will install the Gnome flashback on your Ubuntu machine. If you face any dependency errors or broken dependencies, use the below command to rectify them.

sudo

 

apt-get install

-f

That’s all there is to do and it is that easy to install Gnome classic shell in Ubuntu.

Enable Gnome Classic Shell

From this point forward, you can enjoy the classic Gnome desktop. If you ever need to, you can always switch back to the regular Unity user interface from the login screen.

Vamsi Krishna

Vamsi is a tech and WordPress geek who enjoys writing how-to guides and messing with his computer and software in general. When not writing for MTE, he writes for he shares tips, tricks, and lifehacks on his own blog Stugon.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

How To Enable Dark Mode In Windows 10

How to Enable Dark Mode in Windows 10 Dark Mode prevents eye strain

894

Share

X

Some prefer to use the Dark mode in Windows 10 to avoid eye fatigue from a bright screen.

Switching from Light mode is extremely easy to do by using the Personalization settings.

However, your Windows copy has to be activated in order to make the change.

X

INSTALL BY CLICKING THE DOWNLOAD FILE

To fix Windows PC system issues, you will need a dedicated tool

Fortect is a tool that does not simply cleans up your PC, but has a repository with several millions of Windows System files stored in their initial version. When your PC encounters a problem, Fortect will fix it for you, by replacing bad files with fresh versions. To fix your current PC issue, here are the steps you need to take:

Download Fortect and install it on your PC.

Start the tool’s scanning process to look for corrupt files that are the source of your problem

Fortect has been downloaded by

0

readers this month.

If the ordinary look of Windows 10’s user interface already has you bored, you can change the theme and refresh it.

Since the release of the Anniversary Update, Microsoft made the option to switch to the Dark mode available to all users.

The Dark theme will apply to all elements of Windows 10 but based on our experience, you’ll mostly see it in the Settings app.

What is Dark mode and should you be using it?

Whether it’s called Dark mode, Dark theme, Night mode, or Black mode, it is a display setting that comes in the majority of apps, systems, and devices including smartphones, tablets, desktops, and laptops.

The whole idea behind this concept is to reduce the light emitted by the screens of these devices thus protecting your eyes.

However, the subject is still up for discussion because although some experts believe it’s healthier to read text against a dark background other studies have shown the contrary.

Returning to the Dark mode in Windows 10, you should know that switching to this color scheme is only going to affect the system and the native apps, not all the third-party ones.

How can I Enable Dark Mode in Windows 10?

2. Open Personalization from the list of available options.

4. It will take a few seconds but the system will change all the windows to Dark mode.

5. You can also choose the Custom color theme, to be able to switch to Dark mode only for the Windows system or the apps.

6. If you are not satisfied with the result, come back to this menu and select the Light or Custom color to start over.

If you are looking to find a way to easily enable Dark Mode on Windows 10, you can do it through the Personalization tab in Settings. The OS’s built-in settings can help you tweak your screen color to your liking in just a few steps.

The ability to choose between Dark and Light modes has been present on Windows 10 Mobile (and even Windows Phone 8.1) long before it was applied to Windows 10.

When it comes to PCs, Microsoft Edge already had this option way before it was added to the system overall, but something prevented Microsoft from delivering the Dark mode to the rest of the system until now.

Use Dark mode in any app of your choice

As we have mentioned above, most of the third-party apps have a Dark mode setting on their own so if turning it on on Windows 10 didn’t change their appearance, here’s what to do:

As you have noticed, Chrome doesn’t have a default setting for Dark theme or mode so you need to select a different theme from the store.

However, in most apps, you will find the dark color scheme in their Colors, Display, or Appearance section from their Settings menu.

If you’ve switched to the new OS, we also have a complete guide on how to activate Dark Mode on your Windows 11 PC.

Still experiencing issues?

Was this page helpful?

x

How To Enable Flash Player In Google Chrome

Adobe’s Flash Player has been on the way out for a while now. The once-prominent video player has been largely rendered obsolete due to its limited capabilities at handling more complex animations, not to mention security issues. It will no longer work with Google Chrome starting in 2023 and is disabled by default. Until 2023, however, you can still re-enable Flash Player in Chrome.

Here’s how.

Note: You should only enable Flash Player on websites that you trust and websites that are otherwise secure. You can read our guide on how to determine if a website is legit and safe to use.

With that out of the way, here’s how to enable Flash Player on Chrome.

First, go to the website where you want to enable Flash Player. If the website is secure, it should have a padlock icon in the address bar. If a site doesn’t have this, then it’s not secure, and you definitely shouldn’t be enabling Flash on it.

Go through this same process for every site where you want to run Flash Player.

Want to do more with Chrome? Here’s our list of the best Chrome Flags to improve your browsing. Or see our list of the best Chrome extensions.

Robert Zak

Content Manager at Make Tech Easier. Enjoys Android, Windows, and tinkering with retro console emulation to breaking point.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

Update the detailed information about How To Enable Caps Lock Key Indicator In Ubuntu on the Minhminhbmm.com website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!