cd /etc/X11/Sessions
mv ./Xsession Xsession_bkp
And restart the vncserver.
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
cd /etc/X11/Sessions
mv ./Xsession Xsession_bkp
sudo chroot /mnt/nixos /bin/sh
xpra start ssh://server/ --exit-with-children --start-child=terminator --encoding=jpeg --min-speed=100 --min-quality=0 --compress=1 --bandwidth-detection=yes --pixel-depth=16 --auto-refresh-delay=0 --video-scaling=2 --dpi=96
xpra start :100 --start-child=xfce4-terminal
xpra attach ssh://curtin/:100 --encoding=jpeg --min-speed=100 --min-quality=0 --compress=1 --bandwidth-detection=yes --pixel-depth=16 --auto-refresh-delay=0 --video-scaling=2 --dpi=96
matlab -nodesktop -nosplash
rm -rf ~/.matlab/R20*/
matlab
backend = "xrender";
Vsync — disable, nouveau's support is unreliable
vsync = false;
Shadows
shadow = true;
shadow-radius = 7;
shadow-opacity = 0.75;
shadow-offset-x = -7;
shadow-offset-y = -7;
Fading
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;
Opacity
inactive-opacity = 1.0;
frame-opacity = 1.0;
Then restart picom:
pkill picom; picom -b
That's it. You trade some visual effects (blur requires GLX) for a stable desktop. If you ever switch to the proprietary NVIDIA driver, revisit the GLX backend for better performance.
sudo emerge -av xfce-extra/xfce4-whiskermenu-plugin xfce4-cpugraph-plugin xfce-extra/xfce4-notes-plugin x11-apps/xhost app-admin/system-config-printer xdg-desktop-portal-gtk xfce4-sensors-plugin
rm ~/.config/gwenviewrc
#!/usr/bin/python
import os, sys, subprocess
def convert_wine_path(p):
return p.replace('\\', '/').replace('Z:', '')
env = os.environ.copy()
img_file = convert_wine_path(sys.argv[1]) if len(sys.argv) == 2 else None
cmd = [
'systemd-run', '--user', '--no-block',
'--setenv=GLYCIN_DISABLE_SANDBOX=1',
f'--setenv=DISPLAY={env["DISPLAY"]}',
f'--setenv=HOME={env["HOME"]}',
f'--setenv=XDG_RUNTIME_DIR={env["XDG_RUNTIME_DIR"]}',
'/usr/bin/gimp'
]
if img_file:
cmd.append(img_file)
subprocess.run(cmd)
emerge --ask net-print/cups-filters
End then
systemctl restart cups
distrobox create --nvidia -i archlinux -n abox -H ~/home-abox --init --additional-packages "systemd"
OCI runtime exec failed: exec failed: unable to start container process: error starting setns process: exec: already started
emerge -av app-containers/crun
{
"runtimes": {
"crun": {
"path": "/usr/bin/crun"
}
},
"default-runtime": "crun"
}
sudo systemctl restart docker
etc = adjtime, crypttab, default/grub, fstab, group, group+, group-, group.OLD, group.org, gshadow, gshadow+, gshadow-, gshadow.OLD, gshadow.org, hostname, hosts, login.defs, machine-id, modprobe.d/blacklist.conf, passwd, passwd+, passwd-, passwd.OLD, passwd.org, rc.local, resolv.conf, resolvconf/run, shadow, shadow+, shadow-, shadow.OLD, shadow.org, sudoers, portage
sudo brl apply
about:config
network.protocol-handler.external.mailto
to false.
! Use a truetype font and size.
xterm*faceName: Monospace
xterm*faceSize: 14
xrdb -merge ~/.Xresources
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O2 -pipe -march=native"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# NOTE: This stage was built with the bindist USE flag enabled
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.UTF-8
RUSTFLAGS="${RUSTFLAGS} -C target-cpu=native"
MAKEOPTS="-j4 -l5"
USE="dist-kernel"
# Appending getbinpkg to the list of values within the FEATURES variable
FEATURES="${FEATURES} getbinpkg"
# Require signatures
FEATURES="${FEATURES} binpkg-request-signature"
ACCEPT_LICENSE="*"
EMERGE_DEFAULT_OPTS="--binpkg-respect-use=y"
EMERGE_DEFAULT_OPTS="--binpkg-respect-use=n
[preferred]
default=gtk
org.freedesktop.impl.portal.FileChooser=gtk
https://opencode.ai/zen/go/v1
and then your OpenCode Go API key