Categories
blog Linux linux pain

backspace – linux pain

Going “Hacker Mode” to Fix a Stuck Backspace Key

Weโ€™ve all been there: you hold down the backspace key to erase a massive typo, but it deletes exactly one letter and stops. To erase a sentence, you now have to tap the key 50 times like a caffeinated woodpecker.

If clicking through settings menus feels too slow, it is time to open the terminal and fix it like a programmer. Here is the instant, two-line fix for Linux users.


The Terminal Quick-Fix

Open your terminal (Ctrl + Alt + T) and type this secret spell to force your keys to repeat:

bash

xset r on

Use code with caution.

Test your backspace key. It should now delete continuously!


Boost the Speed

If the text is deleting too slowly, you can overclock your keyboard’s repeat rate. Run this command next:

bash

xset r rate 200 40

Use code with caution.

This tells your system to wait only 200 milliseconds before it starts repeating, and then delete 40 characters per second.

Categories
Linux officialstupid

Switching from Mac to Linux Mint? How to Swap Command and Ctrl Keys

It’s been a decade since I touched Linux, so here I come with Mint flavor! My fingers are in pain because they only know the Mac keyboard layout. I keep trying to copy, paste, and do everything using the Super button, so I need to change this layout ASAP.

Future Me, Read This If Your Fingers Hurt Again!

For Newer Linux Mint Versions (Mint 22.3+)

  1. Open the Mint Menu and click System Settings.
  2. Click on Keyboard (located in the Hardware section).
  3. Click the XKB Options tab at the top.
  4. Click the + (plus) button at the bottom of the window.
  5. Expand the Ctrl position section, check Swap Left Win with Left Ctrl, and click Add.
Categories
blog Linux

Linux Sucks 2024 – FREE

https://lunduke.locals.com/post/5243803/linux-sucks-2024

Categories
blog Linux Photography

3d photo inpainting

Categories
blog Linux Nginx SSH ubuntu

nginx shutdown terminal ssh

sudo shutdown -h now
Categories
blog Let's Encrypt Nginx SSH SSL ubuntu

Quick Secure Nginx with Let’s Encrypt on Ubuntu 14.04

cd /opt/letsencrypt
./letsencrypt-auto certonly -a webroot --webroot-path=/usr/share/nginx/html -d example.com -d www.example.com
sudo ls -l /etc/letsencrypt/live/your_domain_name
sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
sudo ln -s /etc/nginx/sites-available/example.com.conf /etc/nginx/sites-enabled/example.com.conf

Set Up Auto Renewal

/opt/letsencrypt/letsencrypt-auto renew
Categories
blog Linux Nginx ubuntu

Ubuntu php5-fpm unknown instance

sudo pkill php5-fpm; sudo service php5-fpm start
Categories
blog Elementary OS Linux ubuntu

remove folder and all of its contents – ubuntu

completely remove a folder and all of its contents, including both files and sub folders:

rm -R DIRECTORY_NAME

Categories
blog Elementary OS Linux

Gnome-Pie

https://github.com/Simmesimme/Gnome-Pie

sudo add-apt-repository ppa:simonschneegans/testing
sudo apt-get update
sudo apt-get install gnome-pie
Categories
blog Elementary OS Linux

dmg file to iso in terminal

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install dmg2img

Once installed, run the following command:

dmg2img <file_name>.dmg

That will convert the .dmg to ,img file in ISO format. Then just run

mv <file_name>.img <file_name>.iso
Categories
blog Elementary OS Linux Video Editor

Kdenlive – best open-source video editor

Kdenlive – a free and open-source video editor for GNU/Linux and FreeBSD

sudo add-apt-repository ppa:sunab/kdenlive-release
sudo apt-get update
sudo apt-get install kdenlive