Notes/Archive/2_ub

1_deb64 2_ub

Old from Mainpage replaced at 16 nov 2022

X11

  • .Xresources - save this in a ~
  • edit '/etc/X11/xinit/xinitrc': remove all items in a section 'start some nice programs' (at the end of file) and write following:
    exec i3 &
    xterm &
    setxkbmap -layout 'us,ru' -option 'grp:caps_toggle,grp_led:caps' &
    xxkb (it must be installed, makes a individual layout for each window)
  • add 'startx' to the starting-script
  • Arch network

    1. systemctl stop dhcpcd@enp4s0.service
    2. systemctl start dhcpcd@enp4s0.service
    3. # start cable network
    4. ip link set wlp2s0 up
    5. iw dev wlp2s0 scan|grep -i ssid
    6. wpa_passphrase Door ********
    7. wpa_passphrase Door ********>>/etc/wpa_supplicant/wpa_supplicant.conf
    8. # in vi editor: kill all empty examples: :1306,1688d
    9. wpa_supplicant -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
    10. dhcpcd wlp2s0

    Use strings 4, 9, 10 for wifi-connect.

    Localization

  • ArchWiki
  • Russian Lang in console

  • Make '/etc/vconsole.conf' with following strings:
    KEYMAP="ru"
    FONT="cyr-sun16"
    CONSOLEMAP=""
    USECOLOR="yes"
  • Some others

    DWM on Ub-16.04_home

  • xterm was detected, for what it is?

    Math on Ub-15_home & i3

  • Timing[<<01] = 4.46
  • Timing[<<sol7; <<01] = 192.38

    Math at work

  • Timing[<<01] = 9.68
  • Timing[<<sol7; <<01] = 436.9

    X11 or Wayland?

  • losst.pro/kak-uznat-wayland-ili-xorg
  • Ub-18.04_work & i3
  •      
         $ loginctl list-sessions
            SESSION        UID USER             SEAT             TTY             
                 c1        123 gdm              seat0            tty1            
                  2       1000 a                seat0            tty2  
         $ loginctl show-session c1 -p Type
         Type=wayland
         $ loginctl show-session 2 -p Type
         Type=x11