Setting up applications

assuming Slackware or Debian Linux

Midnight Commander

cp /etc/mc/mc.ext /etc/mc/mc.ext.dist
vi /etc/mc/mc.ext

cp /usr/libexec/mc/ext.d/doc.sh /usr/libexec/mc/ext.d/doc.sh.dist
vi /usr/libexec/mc/ext.d/doc.sh

Remmina

apt-add-repository ppa:remmina-ppa-team/remmina-next
apt install remmina remmina-plugin-rdp remmina-plugin-secret

Matrix

take a pick among Matrix clients

desktop

https://element.io/get-started

https://github.com/mirukana/mirage

terminal

draft

https://github.com/poljar/weechat-matrix

as root

apt install weechat libolm-dev

as user

git clone https://github.com/poljar/weechat-matrix.git
cd weechat-matrix/

avoid the ModuleNotFoundError: No module named 'setuptools._distutils' error

export SETUPTOOLS_USE_DISTUTILS=stdlib
pip install --user -r requirements.txt
make install
ls -alF ~/.weechat/python/

get the correct nio module in there

pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip install -U
pip install --user matrix-nio

ready to go

weechat

/python version
/script load matrix.py

TBD

Terminator

do you need Putty-like happy copy/pasting?

cp -pi /usr/share/terminator/terminatorlib/terminal.py /usr/share/terminator/terminatorlib/terminal.py.dist
vi /usr/share/terminator/terminatorlib/terminal.py
/def on_buttonpress
(change 3 to 2 and 2 to 3)

setup

    global/ mouse focus: follow mouse pointer
    global/ V hide from taskbar
    global/ V putty style
    global/ X window borders
    profiles/ X use system font
    profiles/ font: liberation mono regular 12
    profiles/ X show title bar
    profiles/ V copy on selection
    profiles // scrolling is: disabled
    profiles // scrollback: 50000 lines

Telegram

Telegram Desktop https://desktop.telegram.org/

Java

Deal with Java and even more

Eclipse

eventually fetch Eclipse, extract and install the IDE flavor of your choosing (you can do it from the gui).

Signal Desktop

check for latest repo available – here xenial although you might have focal

cat /etc/apt/sources.list.d/signal-xenial.list # not yet
curl -s https://updates.signal.org/desktop/apt/keys.asc | apt-key add -
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" \
    > /etc/apt/sources.list.d/signal-xenial.list
apt update && apt install signal-desktop

Slack.com for Linux

Fetch the latest version and,

ls -lhF slack-desktop-3.*-amd64.deb
dpkg -i slack-desktop-3.*-amd64.deb
apt -f install

Skype for Linux

Fetch the latest skype for linux as DEB and install,

    wget https://go.skype.com/skypeforlinux-64.deb
    dpkg -i skypeforlinux-64.deb
    apt -f install

otherwise as repository

...

and eventually grab the latest pubkeys

curl -sS https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -

DESTROY and re-initialize gnome keyring,

    rm -rf ~/.local/share/keyrings
    sudo apt install seahorse
    seahorse &

VirtualBox

–either– grab the latest VirtualBox

wget https://download.virtualbox.org/virtualbox/7.0.12/virtualbox-7.0_7.0.12-159484~Debian~bookworm_amd64.deb
dpkg -i virtualbox-7.0_7.0.12-159484~Debian~bookworm_amd64.deb
apt-get -f install

–or– use the dedicated repo

apt install gnupg1 gpgv1
wget https://www.virtualbox.org/download/oracle_vbox_2016.asc
cat oracle_vbox_2016.asc | gpg1 --dearmor > /usr/share/keyrings/vbox.gpg

ls -lF /etc/apt/sources.list.d/vbox.list # no exist
cat > /etc/apt/sources.list.d/vbox.list <<EOF
deb [signed-by=/usr/share/keyrings/vbox.gpg] https://download.virtualbox.org/virtualbox/debian `lsb_release -cs` contrib
EOF

apt update
apt search virtualbox | grep ^virt
apt install virtualbox-7.0

–or– well, the thing is now available within Ubuntu

apt search virtualbox
apt install virtualbox virtualbox-dkms

rebuild the kernel module

apt install --reinstall virtualbox-dkms
#/etc/init.d/vboxdrv setup
#apt install linux-headers-oem
#dpkg-reconfigure virtualbox-dkms

modprobe -a vboxdrv vboxnetadp vboxnetflt
lsmod | grep vbox
ls -lF /dev/vboxdrv

Access the guests through SSH using the default NAT setup,

VBoxManage modifyvm myserver --natpf1 "ssh,tcp,,3022,,22"
VBoxManage showvminfo myserver | grep 'Rule'
ssh root@localhost -p 3022

Legacy Adobe Reader

See reader.

Tor Browser

Grab the latest tarball AND SIGNATURE for your platform

as user

mkdir -p ~/opt/
cd ~/opt/

wget https://dist.torproject.org/torbrowser/10.0.16/tor-browser-linux64-10.0.16_en-US.tar.xz
wget https://dist.torproject.org/torbrowser/10.0.16/tor-browser-linux64-10.0.16_en-US.tar.xz.asc

gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
# EF6E286DDA85EA2A4BA7DE684E2C6E8793298290

gpg --verify tor-browser-linux64-10.0.16_en-US.tar.xz.asc tor-browser-linux64-10.0.16_en-US.tar.xz
# Primary key fingerprint: EF6E 286D DA85 EA2A 4BA7  DE68 4E2C 6E87 9329 8290
#      Subkey fingerprint: 1107 75B5 D101 FB36 BC6C  911B EB77 4491 D9FF 06E2

depreceted method was grab latest

    wget https://dist.torproject.org/torbrowser/9.0.6/tor-browser-linux64-9.0.6_en-US.tar.xz
    wget https://dist.torproject.org/torbrowser/9.0.6/tor-browser-linux64-9.0.6_en-US.tar.xz.asc
    curl -s https://openpgpkey.torproject.org/.well-known/openpgpkey/torproject.org/hu/kounek7zrdx745qydx6p59t9mqjpuhdf | gpg --import -
    gpg --verify tor-browser-linux64-9.0.6_en-US.tar.xz.asc

    tar xJf tor-browser-linux64-9.0.6_en-US.tar.xz
    cd tor-browser_en-US/
    ls -lF Browser/TorBrowser/Data/Browser/profile.default/bookmarks.html
    ./start-tor-browser.desktop

extract and deploy locally

tar xJf tor-browser-linux64-10.0.16_en-US.tar.xz

handy startup binary symlink

cd ~/bin/
ln -s ~/opt/tor-browser_en-US/Browser/start-tor-browser

ready to go

cd ~/
start-tor-browser

Element (Matrix)

see https://element.io/download#linux

apt install -y wget apt-transport-https
wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg
cat > /etc/apt/sources.list.d/element-io.list <<EOF
deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main
EOF
apt update
apt install element-desktop

Resources

terminator

A terminal which provides select-to-copy and right-click-to-paste http://askubuntu.com/questions/211292/a-terminal-which-provides-select-to-copy-and-right-click-to-paste

virtualbox

How to SSH to a VirtualBox guest externally through a host? [closed] https://stackoverflow.com/questions/5906441/how-to-ssh-to-a-virtualbox-guest-externally-through-a-host

Chapter 1. First Steps https://www.virtualbox.org/manual/ch01.html

tor

How can I verify Tor Browser’s signature? https://support.torproject.org/tbb/how-to-verify-signature/

alternate link? https://dist.torproject.org/torbrowser/

Which PGP keys sign which packages https://2019.www.torproject.org/docs/signing-keys.html.en

skype

https://answers.microsoft.com/en-us/subject/forum/category/topic/eaf6ebad-42a0-46ac-82af-31a4f2bb22b2

remmina

https://remmina.org/how-to-install-remmina/#ubuntu


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun