Linux

From Traxel Wiki
Jump to navigation Jump to search

Control-D

set -o ignoreeof

Cinnamon

Workspaces

Keybindings (from GPT)

In the Cinnamon desktop environment, the behavior you’re experiencing with the Alt key and mouse clicks is likely related to window management settings, particularly those concerning window dragging or resizing. Cinnamon uses the Alt key as a modifier for certain window actions by default. Here’s how you can investigate and adjust these settings:

System Settings

  1. Window Tiling and Edge Flip: Navigate to System Settings > Windows > Behavior. Here, you’ll find various options related to window actions. Although it may not directly mention the Alt key, it’s a good place to start.
  2. Window Snapping: While in the Windows section, also check settings related to window snapping or edge resistance. Sometimes, these features can interfere with normal mouse operations.

Keyboard Shortcuts

  1. Keyboard Shortcuts: Go to System Settings > Keyboard > Shortcuts. Look through the categories for any actions bound to Alt+Click. You’re most interested in shortcuts under the “Windows” or “System” categories, but it’s worth checking others in case of custom bindings.

Dconf Editor

If the above steps don’t reveal any useful settings to change, you might need to delve into dconf settings. Cinnamon, like GNOME, stores many of its configurations in dconf. Use the Dconf Editor to explore these settings, but proceed with caution—incorrect changes can affect your desktop’s behavior.

  1. Install Dconf Editor: If you don’t have it installed, you can usually find it in your package manager. Install it via your package manager or by running a command like sudo apt-get install dconf-editor in the terminal.
  2. Explore Cinnamon Settings: Open Dconf Editor and navigate to the /org/cinnamon/ path. Look for settings related to mouse or window management, particularly anything that might involve modifier keys like Alt.
  3. Check GNOME Settings: Since Cinnamon is forked from GNOME, some underlying settings might still reside in GNOME’s namespace. Check /org/gnome/desktop/wm/ preferences for anything related to keybindings or mouse actions.

Looking Elsewhere

  • Cinnamon Version: Ensure your Cinnamon and Linux Mint (assuming you’re using Mint) are up to date. Sometimes, behavior changes or bugs are fixed in newer versions.
  • Community Forums and Support: If the settings within your control don’t seem to affect this behavior, consider asking for help on the Linux Mint forums, Cinnamon’s GitHub issues page, or other community support channels. It’s possible other users have encountered and solved this issue, or it might be an undocumented feature or bug.

By investigating these areas, you should be able to identify and adjust any settings causing the Alt key to capture mouse clicks differently than expected.

Keybindings

C-M-<backspace> Kill X Server

Preferences > Keyboard > Layouts > Options > Key Sequence to kill the X Server

Checking

xev: Launches a window that logs key events.

Firefox

https://old.reddit.com/r/programming/comments/18v16ee/in_2024_please_switch_to_firefox/

Updates

Kill Updates With Fire: https://support.mozilla.org/en-US/questions/1327455

$ cat /usr/local/share/firefox/distribution/policies.json 
{
  "policies": {
    "DisableAppUpdate": true
  }
}

Containers

Storage

lsblk

to list the storage devices

ext4 on Windows

# Mount Disk:
wsl --mount <DiskPath>
# To list the available disks in Windows, run:
wmic diskdrive list brief
# To unmount and detach the disk from WSL 2, run
wsl --unmount <Diskpath>

Renaming

EXT[234]

sudo e2label /dev/sdXN new-label

FAT32

sudo dosfslabel /dev/sdXN new-label

NTFS

sudo ntfslabel /dev/sdXN new-label