Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dotfiles

A portion of some Arch Linux configs and tips.

Arch Linux tips

Disabling laptop beeper

Full guide (Arch Wiki)

In short, create the file:

/etc/modprobe.d/nobeep.conf

blacklist pcspkr
blacklist snd_pcsp

Adding some keyboard layouts

Full guide with X config (Arch Linux)

For example, create a keyboard with us and ru layouts, switch by Shift + Alt.

Update the file:

/etc/X11/xorg.conf.d/00-keyboard.conf

Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us,ru"
        Option "XkbModel" "pc104"
        Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

Issue with incorrect display of emojis

  1. Install the fonts: sudo pacman -S noto-fonts-emoji

  2. Create the file /etc/fonts/conf.d/emoji.conf

<?xml version="1.0"?>
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  <fontconfig>

   <alias>
     <family>sans-serif</family>
     <prefer>
       <family>//Preffered font//</family>
       <family>Noto Color Emoji</family>
       <family>Noto Emoji</family>
     </prefer>
   </alias>

   <alias>
     <family>serif</family>
     <prefer>
       <family>//Preffered font//</family>
       <family>Noto Color Emoji</family>
       <family>Noto Emoji</family>
     </prefer>
   </alias>

   <alias>
    <family>monospace</family>
    <prefer>
      <family>//Preffered font//</family>
      <family>Noto Color Emoji</family>
      <family>Noto Emoji</family>
     </prefer>
   </alias>

  </fontconfig>
  1. Run fc-cache -v

Bluetooth in Arch

Full guide with Bluetooth (Arch Linux)

  1. Install these packages: sudo pacman -S bluez bluez-utils blueman

  2. Check that btusb (generic kernel BT module) is loaded: lsmod | grep btusb. If it is not, load it by modprobe btusb

  3. Check that bluetooth system service is active: sudo systemctl status bluetooth. If it is not, enable it by sudo systemctl enable bluetooth

  4. For BT connections use CLI (bluetoothctl) or GUI (blueman)


Wrong time in Windows after Dual Boot with Arch

The best solution for this problem would be making Arch to use local time: timedatectl set-local-rtc 1 --adjust-system-clock


Function keys are not working properly

Full guide (Arch Linux)

  1. Temporarily solution: echo 2 >> /sys/module/hid_apple/parameters/fnmode

  2. Permanent solution: create/update the file /etc/modprobe.d/hid_apple.conf:

    options hid_apple fnmode=2

    Then regenerate the initramfs: mkinitcpio -P


Config WireGuard Client in Arch

  1. Install these packages: yay -S wireguard-tools systemd-resolvconf

  2. Copy your WireGuard .conf file to /etc/wireguard/ with name wg0.conf

  3. Check that systemd-resolvconf system service is active: sudo systemctl status systemd-resolved. If it is not, enable it by sudo systemctl enable systemd-resolved

  4. Try to open WireGuard connection: sudo wg-quick up wg0. If it works, cool! You can manage connection by wg-quick up/down wg0


Arch as VirtualBox guest: issue with mouse wheel

Full guide (superuser.com)

I found that is not necessary to install evdev driver. All you need to do is just use imwheel

  1. Install: sudo pacman -S imwheel

  2. Test that it works: imwheel

  3. If this solution fixes the issue, make imwheel run at startup. For example, command that only intercepts the scroll wheel: imwheel -b 45

About

A portion of some Arch Linux configs and tips

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages