Fading Coder

One Final Commit for the Last Sprint

Home > Tech > Content

Setting Up Tabby Terminal on Ubuntu: Context Menu and Mouse HID Configuration

Tech May 13 1

Tabby Terminal Keyboard Shortcuts

Clipboard Operations

Action Shortcut
Copy Ctrl+Shift+C
Paste Ctrl+Shift+V or Shift+Insert
Select All Ctrl+Shift+A
Find Ctrl+Shift+F
Smart Copy/Interrupt Ctrl+C

Cursor Navigation

Action Shorctut
Line Start Home
Line End End
Previous Word Ctrl+Left
Next Word Ctrl+Right
Delete Previous Word Ctrl+Backspace
Delete Next Word Ctrl+Delete
Delete Entire Line Ctrl+Shift+Backspace

View and Scroll

Action Shortcut
Zoom In Ctrl+= or Ctrl+Shift+=
Zoom Out Ctrl+- or Ctrl+Shift+-
Reset Zoom Ctrl+0
Scroll to Top Ctrl+PageUp
Scroll to Bottom Ctrl+PageDown
Page Up Alt+PageUp
Page Down Alt+PageDown
Line Up Ctrl+Shift+Up

Tab Management

Action Shortcut
New Tab Ctrl+Shift+T
Close Tab Ctrl+Shift+W
Undo Close Tab Ctrl+Shift+Z
Rename Tab Ctrl+Shift+R
Next Tab Ctrl+Tab or Ctrl+Shift+Right
Previous Tab Ctrl+Shift+Tab or Ctrl+Shift+Left
Move Tab Left Ctrl+Shift+PageUp
Move Tab Right Ctrl+Shift+PageDown
Switch to Tab 1-10 Alt+1 through Alt+0
Split Pane to New Tab Ctrl+Shift+.
Merge All Tabs Ctrl+Shift+,

Window and Panel Controls

Action Shortcut
New Window Ctrl+Shift+N
Switch Window Ctrl+Space
Fullscreen F11
Command Palette Ctrl+Shift+P
Settings Palette Ctrl+Shift+E
Open Settings Ctrl+,

Split Panes

Action Shortcut
Split Right Ctrl+Shift+S
Split Down Ctrl+Shift+D
Maximize Pane Ctrl+Alt+Enter
Navigate Up/Down/Left/Right Ctrl+Alt+Arrow Keys
Previous Pane Ctrl+Alt+[
Next Pane Ctrl+Alt+]
Broadcast Input to Panes Ctrl+Shift+I
Broadcast to All Tabs Ctrl+Alt+Shift+I
Switch Pane Layout Ctrl+Alt+T

Configuring Right-Click Context Menu for Tabby

Ubuntu handles desktop and file manager context menus through separate systems. Both require configuration to integrate Tabby properly.

Desktop Context Menu Integration

Open Tabby and execute the following commands to set Tabby as the default terminal:

gsettings set org.gnome.shell.extensions.ding terminal 'tabby'
gsettings set org.gnome.desktop.default-applications.terminal exec 'tabby'
gsettings set org.gnome.desktop.default-applications.terminal exec-arg '-x'

If the above settings do not take effect (common on newer Ubuntu versions like 25.04), use the symbolic link method:

# Backup original terminal launcher
sudo mv /usr/bin/gnome-terminal /usr/bin/gnome-terminal.original

# Create symbolic link to Tabby
sudo ln -s $(which tabby) /usr/bin/gnome-terminal

This ensures any system call for a terminal launches Tabby instead.

File Manager Context Menu Integration

To add "Open in Tabby" to the Nautilus right-click menu:

# Install required dependencies
sudo apt install python3-nautilus
pip3 install --user nautilus-open-any-terminal --break-system-packages

# Compile schema
glib-compile-schemas ~/.local/share/glib-2.0/schemas/

# Configure Tabby as the terminal
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal terminal tabby

# Restart file manager
nautilus -q

Configuring Mouse HID Support on Ubuntu

Some gaming mice require direct HID access through web browsers. Ubuntu restricts this by default for security.

Prerequisites

Use a Chromium-based browser (Chrome or Edge). Firefox does not support WebHID API.

Granting USB HID Access

Create a udev rule to allow browser access to HID devices:

sudo nano /etc/udev/rules.d/99-webhid.rules

Add the following line:

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666"

Save and exit, then apply the rules:

sudo udevadm control --reload-rules
sudo udevadm trigger

Reconnect your mouse or 2.4GHz receiver. The browser can now access the device diretcly.

Tags: ubuntu

Related Articles

Understanding Strong and Weak References in Java

Strong References Strong reference are the most prevalent type of object referencing in Java. When an object has a strong reference pointing to it, the garbage collector will not reclaim its memory. F...

Comprehensive Guide to SSTI Explained with Payload Bypass Techniques

Introduction Server-Side Template Injection (SSTI) is a vulnerability in web applications where user input is improper handled within the template engine and executed on the server. This exploit can r...

Implement Image Upload Functionality for Django Integrated TinyMCE Editor

Django’s Admin panel is highly user-friendly, and pairing it with TinyMCE, an effective rich text editor, simplifies content management significantly. Combining the two is particular useful for bloggi...

Leave a Comment

Anonymous

◎Feel free to join the discussion and share your thoughts.