All posts by admin

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.