Garuda Sway mouse left handed

Hello. In my new garuda sway install I can’t change my mouse for left hand. I am new user of Linux… I need help please

Hi there, welcome to the forum.
Please always provide your system specs with the output of:

garuda-inxi

(see topic template).
Also search on the internet.
For example I see that the package input-remapper-git in the Chaotic-AUR could fit your needs (otherwise I’m afraid it could be a matter of libinput configuration, a bit more complicated).
You can install it with:

sudo pacman -S input-remapper-git
5 Likes

You can enable left-handed mode directly in the Sway config.

sway-input(5) — Arch manual pages

input left_handed enabled|disabled

Enables or disables left handed mode for specified input device.

If you are using a mouse, you can use pointer as the input type.

~/.config/sway/config.d/input
input type:pointer {
    left_handed enabled
}

Be sure to reload your Sway config after you add that to your config.

I hope that helps, welcome to the community @zembra. :wave:

4 Likes
my -inxi is                                                                                                                                                           `Preformatted text`'System:
  Kernel: 6.14.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=fe1c663f-271b-426b-9130-6ed601a8b6d3 rw rootflags=subvol=@
    quiet loglevel=3 ibt=off
  Desktop: Sway v: 0.5 with: waybar tools: swayidle avail: gtklock vt: 1
    lm: greetd Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: H110M-H v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: H110M-H-CF v: x.x serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends v: F24 date: 04/11/2018
CPU:
  Info: model: Intel Core i3-7100 bits: 64 type: MT MCP arch: Kaby Lake
    gen: core 7 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 9 microcode: 0xF8
  Topology: cpus: 1x dies: 1 clusters: 2 cores: 2 threads: 4 tpc: 2
    smt: enabled cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB
    desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 800 min/max: 800/3900 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 bogomips: 31199
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Gigabyte driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: DP-1,HDMI-A-1 empty: HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5912
    class-ID: 0300
  Display: wayland server: Xwayland v: 24.1.6 compositor: Sway v: 0.5
    driver: gpu: i915 d-rect: 3840x1080 display-ID: 1
  Monitor-1: DP-1 pos: primary,left model: Philips PHL 246V5
    serial: <filter> built: 2019 res: mode: 1920x1080 hz: 60 scale: 100% (1)
    dpi: 92 gamma: 1.2 size: 531x299mm (20.91x11.77") diag: 609mm (24")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: HDMI-A-1 pos: right model: Philips 244E serial: <filter>
    built: 2011 res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 94 gamma: 1.2
    size: 521x293mm (20.51x11.54") diag: 598mm (23.5") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: Vulkan v: 1.4.313 layers: 5 device: 0 type: integrated-gpu name: Intel
    HD Graphics 630 (KBL GT2) driver: mesa intel v: 25.1.1-arch1.1
    device-ID: 8086:5912 surfaces: N/A device: 1 type: cpu name: llvmpipe
    (LLVM 19.1.7 256 bits) driver: mesa llvmpipe v: 25.1.1-arch1.1 (LLVM
    19.1.7) device-ID: 10005:0000 surfaces: N/A
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: vulkaninfo wl: kanshi, swaymsg, wdisplays x11: xprop
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3
    chip-ID: 8086:a170 class-ID: 0403
  API: ALSA v: k6.14.6-zen1-1-zen status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.4.2 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager,systemd-timesyncd
Drives:
  Local Storage: total: 5.55 TiB used: 7.45 GiB (0.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SKC6002048G
    size: 1.86 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 0113 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Patriot model: P220 2048GB
    size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 215a scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
    model: WD Blue SA510 2.5 2TB size: 1.82 TiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 09WD
    scheme: GPT
Partition:
  ID-1: / raw-size: 1.06 TiB size: 1.06 TiB (100.00%) used: 7.44 GiB (0.7%)
    fs: btrfs dev: /dev/sdb5 maj-min: 8:21
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 12.1 MiB (2.4%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 1.06 TiB size: 1.06 TiB (100.00%)
    used: 7.44 GiB (0.7%) fs: btrfs dev: /dev/sdb5 maj-min: 8:21
  ID-4: /var/log raw-size: 1.06 TiB size: 1.06 TiB (100.00%)
    used: 7.44 GiB (0.7%) fs: btrfs dev: /dev/sdb5 maj-min: 8:21
  ID-5: /var/tmp raw-size: 1.06 TiB size: 1.06 TiB (100.00%)
    used: 7.44 GiB (0.7%) fs: btrfs dev: /dev/sdb5 maj-min: 8:21
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.5 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 4
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.5 GiB used: 3.73 GiB (24.1%)
  Processes: 212 Power: uptime: 9m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.18 GiB services: upowerd Init: systemd
    v: 257 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1141 libs: 356 tools: pacseek,paru,yay
    Compilers: gcc: 15.1.1 Shell: garuda-inxi default: fish v: 4.0.2
    running-in: foot inxi: 3.3.38
Garuda (2.7.2-1):
  System install date:     2025-05-22
  Last full system update: 2025-05-22
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)

Thnks for the input-remapper. I had found it in indernet and had installed before you wrote me this as help.. I am afraid I can’t use it because I don’t know the function of it. I made on “Input” two buttons but the program says “Missing macro or key”…

when I write ~/.config/sway/config.d/input my pc write fish: Unknown command. '/home/bib/.config/sway/config.d/input' exists but is not an executable file.

Please post your complete garuda-inxi, the current one is not complete (the last line is missing). Thank you. :slight_smile:

3 Likes

You have to open the file with an editor, for example Micro.

micro ~/.config/sway/config.d/input

If you are using Micro, paste in the new lines with Ctrl+v, save the file with Ctrl+s, exit Micro with Ctrl+q, then reload your Sway config with Mod+Shift+C and test it out.

4 Likes

Thank you very much. The problem has been solved…Very good work … :+1:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.