Showing posts with label Arch. Show all posts
Showing posts with label Arch. Show all posts

Thursday, April 10, 2025

Monday, September 09, 2024

Distrobox: archlinux with separate networking for installaion of VPN inside a dropbox

distrobox create --nvidia -i archlinux -n abox -H ~/home-abox --unshare-netns --init --additional-packages "systemd"

Saturday, September 07, 2024

distrobox: arch linux with systemd

distrobox create --nvidia -i archlinux -n abox -H ~/home-abox --init --additional-packages "systemd"

Friday, July 19, 2024

gentoo arch-chroot not working for gui appliacations

chroot from gentoo to arch:


XAUTHORITY=/root/.xauthcOumRQ arch-chroot /mnt/arch/


More: https://unix.stackexchange.com/a/47579/90216 Use xauth info to find the correct XAUTHORITY file path.

Wednesday, November 16, 2022

Arch: Install dotnet 6.0 and jupyter kernel

wget https://dot.net/v1/dotnet-install.sh
chmod +x ./dotnet-install.sh
./dotnet-install.sh --install-dir /usr/share/dotnet -channel STS -version 6.0.110
/usr/share/dotnet/dotnet tool install -g Microsoft.dotnet-interactive
/usr/share/dotnet/dotnet interactive jupyter install
Also add `/usr/share/dotnet` to `PATH`.
https://github.com/dotnet/interactive/blob/main/docs/NotebookswithJupyter.md
https://dotnet.microsoft.com/en-us/download/dotnet/6.0

Sunday, June 19, 2022

VNC: Arch linux autostart vnc

Add /home//.config/systemd/user/myvnc@:1.service [Unit]
Description=My VNC

[Service]
Type=simple
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/bin/vncserver %i
ExecStop=/usr/bin/vncserver -kill %i

[Install]
WantedBy=default.target
Then systemctl --user start myvnc@\:1.service and systemctl --user enable myvnc@\:1.service and

tigervnc: Diable vnc password on Arch Linux

Edit /etc/tigervnc/vncserver-config-defaults and add: securitytypes=none

Wednesday, June 15, 2022

Arch: Toobox and Distrobox error "Authorization required, but no authorization protocol specified"

Executing on the host (Arch) xhost + made the gui applications work in both Toobox and Distrobox.

Thursday, August 26, 2021

Arch: Microsoft team "Login" button does not work (can't click it).

It my case installing `gnome-keyring` solved the issue: yay gnome-keyring

Monday, August 23, 2021

rdesktop: Arch linux no sound from remote

The package that comes with arch does not support pulse audio: rdesktop-vrdp -help

'-r sound:[local[:driver[:device]]|off|remote]': enable sound redirection
remote would leave sound on server
available drivers for 'local':
oss: OSS output driver, default device: /dev/dsp or $AUDIODEV
I ended up compling rdesktop from https://github.com/rdesktop/rdesktop: # run `autoreconf` -i first if configure is missing
./configure --with-sound
make
sudo make install
This resulted in pusle support: '-r sound:[local[:driver[:device]]|off|remote]': enable sound redirection
remote would leave sound on server
available drivers for 'local':
pulse: PulseAudio output driver, default device: system dependent
alsa: ALSA output driver, default device: default
oss: OSS output driver, default device: /dev/dsp or $AUDIODEV
libao: libao output driver, default device: system dependent
Use: /opt/myrdesktop/bin/rdesktop -u "user_name" -r sound:local:pulse windows_ip_addr

Friday, October 19, 2018

Arch: System freezes when coping large files from usb

Add the following two lines to /etc/sysctl.d/99-sysctl.conf (create if not exists)
vm.dirty_background_ratio=1 vm.dirty_ratio=2
vm.vfs_cache_pressure = 50

To apply use sudo sysctl -p /etc/sysctl.d/99-sysctl.conf or restart.

Tuesday, October 02, 2018

Arch: Python 3.6 rpc/rpc.h missing

The solution was to manually specify where `rpc/rpc.h` was for configuration: CPPFLAGS="-I/usr/include/tirpc" ./configure --prefix=/opt/python362 --enable-shared -I/usr/include/tirpc

Sunday, September 16, 2018

Arch xfonts 75 and 100

sudo pacman -S xorg-fonts-75dpi xorg-fonts-100dpi

Thursday, September 06, 2018

Sunday, May 13, 2018

Arch: List of recently installed and upgraded packages

cat /var/log/pacman.log | grep -i upgraded cat /var/log/pacman.log | grep -i installed

Monday, April 30, 2018

Tilix: Arch config settings file location

The config parameters are stored in dconf. Install `dconf-editor` from aur to edit them
yaourt -S dconf-editor
In the dconf-editor search for "Tilix" to find its settings, or go to /com/gexperts/Tilix

Thursday, February 08, 2018

Arch: dell inspiron 1545 Broadcom Limited BCM4312

Have to install this driver: https://www.archlinux.org/packages/?name=broadcom-wl-dkms
sudo pacman -S linux-headers broadcom-wl-dkms



Then after reboot wlp12s0 device was found: ip link
1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp9s0: mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 00:25:64:47:bd:bb brd ff:ff:ff:ff:ff:ff
3: wlp12s0: mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen
1000
link/ether 00:22:5f:d3:14:d2 brd ff:ff:ff:ff:ff:ff

Tuesday, February 06, 2018

Arch: Wine and GPower

GPower 4.1 installs in wine 3.0 and runs, but freezes after executing calculations due to some problems with drawing the results's plot. To fix the freezing, need to install gdiplus and lib32-gnutls:
winetricks vcrun6 lib32-gnutls gdiplus
This fixes the freezes, although the plots can't be still seen.