mameau%CWD%:> █
OFFLINE
$ cat linux-manjaro.txt
 manjaro linux (xfce spin)
  installer/installed didn't scale to 4k 65" display automatically
  - display settings -> custom scale -> 0.5

  greeter needs to be scaled
  add a lightdm script to start at a 1920x1080 resolution, this is just temporary i think
  - as per: TBA url
  - /etc/lightdm/lightdm.conf.d/50-display-setup-script.conf
  [Seat:*]
  display-setup-script=/etc/lightdm/add-and-set-resolution.sh HDMI-A-0 1920 1080 60
  - /etc/lightdm/add-and-set-resolution.sh
    this is an xrandr wrapper

  start ssh
  - terminal (just because i'm used to terminal)
     - systemctl start ssh
     - systemctl enable ssh

  install x2goserver (out of scope but meh)
  - as a normal user or you may get a weird gpg FAILED
    $ pacmac build --no-confirm x2goserver
    $ sudo x2godbadmin --created
    $ sudo systemctl start x2goserver
    $ sudo systemctl enable x2goserver
 
    nb: any public key error can be solved with
    $ gpp --recv-keys 
    - rerun pacmac

  - apply xfce compatiblity fix
    https://wiki.x2go.org/doku.php/doc:de-compat
    
  - flatpak
    https://wiki.manjaro.org/index.php?title=Flatpak#Installing_Flatpak

    tls error? fix your time/date in xfce settings

  - steam (flatpak)
    $ sudo flatpak install com.valvesoftware.Steam
    $ sudo flatpak install am.CompatibilityTool.Proton-GE

  - bluetooth enable at startup
    $ sudo systemctl enable bluetooth

  - sync ds4 controller(s)
    sync mode, connect to bt

  - install pulsemixer
    $ sudo pacman -Syq pulsemixer
    fix odd amd hdmi audio issue ~10000 volume level
    ... amd -eq spinaltap ...

  - steamdeck beta ui (doesn't start properly atm)
    $HOME/.var/app/com.valvesoftware.Steam/data/Steam/package/beta
    start steam with -gamepadui

  - steam autostart
    cp /usr/share/applications/steam.desktop $HOME/.config/autostart/

  - steam big picture
    max res is 1920x1080, this causes scaling issues on a a 4k display when the game
    detects the desktop resolution at max, dropped desktop back to 1920x1080 until
    steamdeck ui is functional

    feral launcher games ran into this

    some games still detect panel size?  The Hunt launched 4k

    wrong audio device selected on launch, disable onboard audio (only using hdmi)

  - proton-ge
    flatpak install net.davidotek.pupgui2
    configure flatpak version under .var with proton-ge
    gameslist doesn't work with flatpak version? or doesn't work with alt library location

  - ssh x forwarding enabled and public keys installed
    for session management, gui tools etc

  - mayflash magic adapters
    considered using these as primary input but lose mouse on trackpad without additional config
    still on the table, which gets around issues in either os and cross device
    users could use their favourite controllers without extra config
 
  - steam shared dir
    setfacl root:freestation rwx so dir was executable between users

  - chromium keyring
    ~need to stop this~
    converted chromium to use basic auth for now from launcher

  - steam rom manager
    added override to flatpack for data dir access

  - cloud gaming in chromium
    opted out of account link on xbox cloud beta for fortnite which assigned 
    my xbl to a non-existent epic account (noname?)
    to fix
    - login to epic with xbl
    - promote account to crappy epic account (i.e. sign up)
    - disconnect xbl account from new account
    - reconnect xbl to proper (paid content) account
    - restart fortnite on cloud

  - mame
    the mame package on manjaro is fucking mess
    wrong bgfx path
    launching from desktop icon vs cli results in different configs loaded
    as such configs appear not to load

    ok, 
      - using mame -cc on manjaro will result in a broken config
      - use mame --newini to create a compatible config file

  - resolution
    resolution resets to native at times
    created 10-monitor.conf with preferred res as a teat
    when the display is turned on while we're on the pc input we rever to native res, need to tell it to ignore edid


  !!!! there is a bug with non-steam shortcuts and steamplay for all titles!!
  this might force me to pegasus

  - lutris
    - epic games launcher works
    - amazon games launcher ????

  - supermodel emulator
    - aur package is broken, half setup for multiuser and patches are disabled


  - gog games install error
    - "wine cannot find the freetype font library" due to a missing 32bit library
        pamac install lib32-freetype2

      affected (fixed) game installs
        Amazon Game Launcher
        Ghostrunner
        Full Throttle Remastered