Skip to content

yenda/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sudo apt-get install –yes pass editorconfig git stow rofi rlwrap libtool-bin i3 silversearcher-ag cmake libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 libgtk2.0-dev libc6-dev libncurses5-dev libpng-dev libtiff5-dev xaw3dg-dev zlib1g-dev libice-dev libsm-dev libx11-dev libxext-dev libxi-dev libxmu-dev libxmuu-dev libxpm-dev libxrandr-dev libxt-dev libxtst-dev libxv-dev libjpeg-dev libjpeg8-dev libjpeg-turbo8-dev libgif-dev libgnutls28-dev libu2f-udev xclip libgtk2.0-dev ripgrep openjdk-21-jdk sway dmenu swaybg swayidle swaylock wdisplays fonts-font-awesome waybar libappindicator-*

sudo apt update && sudo apt install -y git libgpg-error-dev libassuan-dev lbzip2 autoconf automake autotools-dev build-essential diffstat gnutls-dev imagemagick libasound2-dev libc6-dev libdatrie-dev libdbus-1-dev libgconf2-dev libgif-dev libgnutls28-dev libgpm-dev libgtk2.0-dev libgtk-3-dev libice-dev libjpeg-dev liblockfile-dev liblqr-1-0 libm17n-dev libmagickwand-dev libncurses5-dev libncurses-dev libotf-dev libpng-dev librsvg2-dev libsm-dev libthai-dev libtiff5-dev libtiff-dev libtinfo-dev libtool libx11-dev libxext-dev libxi-dev libxml2-dev libxmu-dev libxmuu-dev libxpm-dev libxrandr-dev libxt-dev libxtst-dev libxv-dev quilt sharutils texinfo xaw3dg xaw3dg-dev xorg-dev xutils-dev zlib1g-dev libjansson-dev libxaw7-dev libselinux1-dev libmagick++-dev libacl1-dev

sudo apt-get install qemu qemu-kvm libvirt-daemon bridge-utils virt-manager virtinst

sudo apt-get install libgccjit-12-dev imagemagick libmagickwand-dev libwebkit2gtk-4.1-dev libjansson-dev

clone this repo

git clone git@github.com:yenda/dotfiles.git

create gpg key and add it to github

gpg –list-secret-keys –keyid-format LONG git config –global user.signingkey YOUR_GPG_KEY_ID

install dotfiles

“` rm .bashrc .bash_logout cd dotfiles ./install.sh “`

generate ssh key and add ssh key to github in chromium

generate-ssh-key github

Build and install emacs

https://github.com/sogaiu/tree-sitter-clojure https://www.masteringemacs.org/article/how-to-get-started-tree-sitter

git clone git@github.com:tree-sitter/tree-sitter.git
cd tree-sitter
make
sudo make install

Get the code from the gnu forge

http://ftp.gnu.org/gnu/emacs/emacs-29.2.tar.gz

git clone git@github.com:tree-sitter/tree-sitter.git cd tree-sitter make sudo make install

 tar -xvf emacs-*
 ./autogen.sh    # not needed when installing from tarball
 cd emacs-*
 export CC="gcc-12"
 CFLAGS='-march=native -O3' ./configure \
	--with-modules \
	--with-xwidgets \
	--with-mailutils \
	--with-imagemagick \
	--with-native-compilation=aot \
	--with-json \
	--with-tree-sitter \
       --with-pgtk # wayland
   make
   sudo make install
# Install deps (these also include emacs deps - sorry)


* Install docker

sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

export LSB_ETC_LSB_RELEASE=/etc/upstream-release/lsb-release

V=$(lsb_release -cs)

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu jammy stable"

sudo apt-get update -y

sudo apt-get install -y docker-ce

## Add user to docker group. Added user can run docker command without sudo command
sudo gpasswd -a "${USER}" docker
;;sudo usermod -a -G docker $USER

test

docker run hello-world

Install clojure

curl -L -O https://github.com/clojure/brew-install/releases/latest/download/posix-install.sh
chmod +x posix-install.sh
sudo ./posix-install.sh
curl -sLO https://raw.githubusercontent.com/clj-kondo/clj-kondo/master/script/install-clj-kondo
chmod +x install-clj-kondo
sudo ./install-clj-kondo
curl -sLO https://raw.githubusercontent.com/babashka/babashka/master/install
chmod +x install
sudo ./install

Install android studio

link https://developer.android.com/studio

install https://developer.android.com/studio/install

sudo adduser $USER kvm

yenda@project2501:~$ tar xvf android-studio-ide-201.6953283-linux.tar.gz -C opt yenda@project2501:~$ sudo chmod o+w opt/android-studio yenda@project2501:~$ sudo mkdir opt/android-sdk yenda@project2501:~$ sudo chmod o+w /opt/android-sdk yenda@project2501:~$ sudo rm -rf opt/android-sdk yenda@project2501:~$ /opt/android-studio/bin/studio.sh

Install expressvpn

https://www.expressvpn.com/subscriptions

Install nodejs

https://github.com/nodesource/distributions/blob/master/README.md

Using Ubuntu

Streamdeck

I installed the deb package from https://github.com/muesli/deckmaster and followed the readme

I cloned the repo https://github.com/muesli/deckmaster-emojis I had to install the Roboto font sudo apt-get install fonts-roboto

I tried `deckmaster -deck deckmaster-emojis/main.deck`

and got no Stream Deck devices found

I installed golang and the built the deckmaster command because the package didn’t seem to recognize the streamdeck

I noticed in systemctl that there was an issue creating the uinput file so I ran

`sudo chmod 666 /dev/uinput`

using the main deck from deckmaster-emojis seemed to work

Keyboard

echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf
sudo update-initramfs -u -k all
sudo reboot # optional

Getting rid of that wierd input issue

gsettings set org.freedesktop.ibus.panel.emoji hotkey "@as []"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published