memory-leaks

Still reachable: lots of words in many pages.
git clone https://git.kevinlegouguec.net/memory-leaks
Log | Files | Refs | README | LICENSE

maintenance.org (5645B)


      1 * Post-installation setup
      2 ** System settings
      3 *** Workspace Behavior
      4 - Virtual Desktops
      5   - 1 row, 4 desktops
      6 *** Window Management
      7 - Task Switcher
      8   - Visualization: Thumbnail Grid
      9 *** Shortcuts
     10 **** Applications
     11 - Dolphin: disable =Meta+E=; add =Meta+F=
     12 - Konsole: disable =Ctrl+Alt+T=; add =Meta+T=
     13 - KRunner: disable =Alt+Space=
     14 **** System Settings
     15 - KWin
     16   - Active Window Demanding Attention: disable =Ctrl+Alt+A=
     17   - Maximize Window: =Meta+Up=
     18   - Switch to Next Desktop: =Ctrl+Alt+Right=
     19   - Switch to Previous Desktop: =Ctrl+Alt+Left=
     20   - Walk Through Windows of Current Application: disable =Alt+`=
     21   - Walk Through Windows of Current Application (Reverse): disable =Alt+~=
     22   - Window to Desktop /n/: =Ctrl+Alt+n=
     23 - Plasma
     24   - Enable Clipboard Actions: disable =Ctrl+Alt+X=
     25   - Manually Invoke Action on Current Clipboard: disable =Ctrl+Alt+R=
     26 - Session Management
     27   - Lock Session: disable =Ctrl+Alt+L=; add =Meta+X=
     28 *** Input devices
     29 - Keyboard
     30   - Layouts
     31     - Alternative shortcut: unset
     32     - Variant: French (legacy, alt.)
     33   - Advanced
     34     - [X] Configure keyboard options
     35       - [X] Caps Lock behavior: Make Caps Lock an additional Ctrl
     36 ** Bottom panel
     37 - Configure Pager
     38   - [X] Show application icons on window outlines
     39 - Unpin all applications
     40 - Replace "Icon-only Task Manager" with "Task Manager"
     41 ** Dotfiles
     42 *** =.profile=
     43 #+begin_src sh
     44 if test -d ~/.local/bin
     45 then
     46     export PATH=~/.local/bin:${PATH}
     47 fi
     48 
     49 unset PAGER                     # breaks Python REPL in Emacs.
     50 #+end_src
     51 ** TODO Unset root password
     52 Following instructions from [[https://en.opensuse.org/SDB:Administer_with_sudo][the support database]]:
     53 - with ~visudo~, uncomment the ~%wheel ALL=(ALL) ALL~ line
     54 - ~sudo usermod -aG wheel $USER~
     55 - with ~visudo~, comment out ~Defaults targetpw~ and ~ALL ALL=(ALL)
     56   ALL~
     57 - YaST still insists on getting the root password…
     58 *** Fix eager ~sudo passwd -d root~
     59 - boot on install media
     60 - start rescue mode
     61 - locate partition with ~lsblk~
     62 - ~mount $PARTITION /mnt/disk~
     63 - ~cp /mnt/disk/etc/shadow- /mnt/disk/etc/shadow~
     64 ** Global keyboard settings
     65 #+begin_src sh
     66 $ sudo localectl set-x11-keymap fr pc105 latin9 ctrl:nocaps
     67 #+end_src
     68 To set this for TTYs: see [[./console.org]].
     69 ** Applications
     70 *** Firefox
     71 - Clear =browser.newtabpage.pinned=
     72 - Set =widget.use-xdg-desktop-portal.file-picker= to 1 to get Plasma's
     73   file picker
     74 *** VLC & codecs
     75 #+begin_src sh
     76 $ sudo zypper addrepo http://download.videolan.org/pub/vlc/SuSE/Tumbleweed VLC
     77 $ sudo zypper modifyrepo --refresh VLC
     78 $ sudo zypper install --from VLC ffmpeg vlc vlc-codecs
     79 #+end_src
     80 NB: there's a lot of prompting going on in that last command; maybe
     81 =--allow-vendor-change= could help.
     82 ** Drivers
     83 *** Load X-Box gamepad drivers automatically
     84 - comment out any blacklisting of =xpad= in =/etc/modprobe.d=
     85   (e.g. xboxdrv installs =/etc/modprobe.d/50-xpad.conf=)
     86   - if installed, make sure the xboxdrv service is disabled
     87 - ~sudo tee /etc/modules-load.d/xpad.conf <<< xpad~
     88 * Upgrades
     89 ** Fix broken Nvidia drivers
     90 Reinstall Nvidia kernel module:
     91 #+begin_src sh
     92 $ sudo zypper in -f nvidia-gfxG05-kmp-default
     93 #+end_src
     94 ** Make space for large upgrades
     95 libc and compilers upgrades sometimes fail midway through because
     96 there is no space left.  An easy way to reclaim some space is to
     97 delete some filesystem snapshots:
     98 #+begin_src sh
     99 $ sudo snapper list
    100 $ sudo snapper delete $start-$end
    101 #+end_src
    102 ** Fix conflicts with VLC repo
    103 Sometimes this VLC repository will stop providing a package it used
    104 to, e.g. because it now ships an upgraded version (and the version
    105 number is somehow part of the package name).
    106 
    107 In that case, we need to help =zypper= figure out what to do:
    108 #+begin_src sh
    109 $ sudo zypper dist-upgrade --auto-agree-with-licenses
    110 # …
    111 Computing distribution upgrade...
    112 
    113 Problem: problem with the installed libliveMedia97-2021.08.23-58.7.x86_64
    114  Solution 1: install libliveMedia97-2021.08.23-1.2.x86_64 from vendor openSUSE
    115   replacing libliveMedia97-2021.08.23-58.7.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
    116  Solution 2: keep obsolete libliveMedia97-2021.08.23-58.7.x86_64
    117 
    118 Choose from above solutions by number or cancel [1/2/c/d/?] (c): d
    119 Problem: problem with the installed libliveMedia97-2021.08.23-58.7.x86_64
    120 Detailed information: 
    121 	the installed libliveMedia97-2021.08.23-58.7.x86_64 does not belong to a distupgrade repository and must be replaced
    122  Solution 1: install libliveMedia97-2021.08.23-1.2.x86_64 from vendor openSUSE
    123   replacing libliveMedia97-2021.08.23-58.7.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
    124  Solution 2: keep obsolete libliveMedia97-2021.08.23-58.7.x86_64
    125 
    126 Choose from above solutions by number or cancel [1/2/c/d/?] (c): 1
    127 Resolving dependencies...
    128 Computing distribution upgrade...
    129 # …
    130 The following package is going to be downgraded:
    131   libliveMedia97
    132 
    133 The following package is going to change vendor:
    134   libliveMedia97  VideoLAN Project (http://www.videolan.org) -> openSUSE
    135 
    136 The following 6 NEW packages are going to be installed:
    137   … libliveMedia102 …
    138 # …
    139 #+end_src
    140 
    141 In this instance, I went looking at the [[http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/x86_64/][VLC repository]] to figure out
    142 what was going on; searching for "libliveMedia" revealed that the
    143 repository now shipped libliveMedia102 and no longer included
    144 libliveMedia97.
    145 
    146 I went with solution 1 (switch to openSUSE's libliveMedia97), but
    147 maybe solution 2 was the right one?  E.g. maybe after "computing [the]
    148 distribution upgrade", zypper would have realized that nobody needs
    149 97 anymore, so it could be removed; could be I accidentally set 97 to
    150 "manually installed" with solution 1?
    151 
    152 🤷
    153