My Hotkey & Keyboard Shortcut Setup Linux

SUPER FAST KEYBOARD SHORTCUTS:

Command:

1
xfce4-appfinder

Shortcut:
Left Windows Key

Solution:
Opens Application Finder so you can type in the first few letters of any application and hit enter.

MY PERSONAL KEYBOARD SHORTCUTS

Command:

1
galculator

Shortcut:
Crtl + Alt + G

Solution:
Super fast calculator opening


Command:

1
gedit

Shortcut:
Crtl + Alt + Y

Solution:
Open a new text file


To be continued…

WiFi Network Not Showing Up Linux: Personal Hotspot Not Listed Debian/Ubuntu

I was using a small MiFi router for a while and when I would come back inside, more often than not the network would not be found again even though I was sitting right next to my computer.

The same would happen with iPhone Hostpot Wifi not showing up even though it was right next to me. If the WiFi disconnects and can’t be found again for a few minutes, the fastest way to jump start the WiFi network list is below.

A solution to hard reset the WiFi network list on Debian, Ubuntu, Mint or other distros is as follows:

1
sudo service network-manager restart

This command will restart network manager and force search for nearby WiFi networks.

However, instead of typing this in each time I came back inside or turned on iPhone personal hotspot, I made a launcher icon that would hard refresh the list of available networks and in turn, be able to connect to my WiFi again.

Go to the desktop, right click and create a new launcher.

Name the launcher WiFi Restart and put the command the same as the command above.

WiFi Network Manager Reset Xfce Debian Ubuntu

Save this launcher, and then drag it onto your launcher area.

Now, when your WiFi disconencts or your personal hotspot isn’t being found, just press the WiFi restart button and your network will show up again in a matter of seconds.

The icon I use is network-wireless-offline-symbolic in Status Icons.

WiFi disconnects and can't be found again icon

 

 

Ctrl + Click Not Opening Links In New Tab Fix: Middle Click Without Mouse Debian/Ubuntu

Some javascript based websites were hogging my click actions and opening links that I wanted to open in new tabs in the same window/tab.

Since I prefer using the track-pad now, I wanted a fast solution to either middle mouse click on links to open in new windows or a way to rapidly right click, open in new tab.

An awesome solution I am currently using is as follows:

xdotool is a fake keyboard & mouse input program that you can emulate clicks via the terminal.

1
sudo apt-get install xdotool

Open keyboard settings and find Application Shortcuts.

Add new shortcut with the following command:

1
xdotool click 2

For the keys, I chose:

Left Crtl + Windows key (<Primary>Super_L)

Now, when I want to open links in a new tab, I simply move my mouse and hover over links and while holding left Ctrl, I tap the left Windows key.

It’s actually much faster than middle clicking and it allows me to rapidly tap the windows key while hovering over a page full of links.

 

Fn + F10 Mute Toggle Not Unmuting Sound After Muting: Turning On PulseAudio Again Fix Debian

I read a few different solutions for fixing the sound toggle on Debian via the command line but the only solution that I could make a keyboard shortcut for was:

Hard unmute Pulse Audio in Debian, Xfce when the sound won’t come back on after muting:

1
pactl set-sink-mute 0 toggle

To set this as a keyboard shortcut

Open keyboard settings and find Application Shortcuts.

Add new shortcut with the following command:

This was a temporary fix and I will change it to Fn & F10 once I learn how to change the Fn hardcoded keys.