89 lines
2.8 KiB
Text
89 lines
2.8 KiB
Text
Use this file as a post-it for packages to install on laptop/desktop.
|
|
|
|
add notation about awk as
|
|
Select everything but the second field:
|
|
awk '!($2="")'
|
|
|
|
add notation about tr (translate command):
|
|
replace every newline with a single space: tr '\n' ' '
|
|
|
|
add notation about using find to list only files in current directory and NOT subdirectory:
|
|
find $dir -maxdepth 1 -type f
|
|
|
|
add notation about using pick to parse through output, and pipe that using xargs to another command:
|
|
example:
|
|
ls | pick | xargs bat # will give you a choice of the files from ls, pick displays a menu to "pick" the file, which then is parsed to xargs bat (invokes bat on choice from ls | pick)
|
|
|
|
https://medium.com/techie-delight/top-25-algorithms-every-programmer-should-know-373246b4881b
|
|
|
|
Look up the select command (online, man page is not as helpful). It makes a nice simple selectio menu for your users in bash
|
|
|
|
Install expac
|
|
|
|
doas pacman -S expac
|
|
|
|
Install pkgtop
|
|
|
|
curl https://raw.githubusercontent.com/SharUpOff/pkgtop/main/dist/pkgtop.sh -so - | sudo tee /usr/local/bin/pkgtop > /dev/null
|
|
|
|
sudo chmod 755 /usr/local/bin/pkgtop
|
|
|
|
Finally figured out how to get language servers working neovim, you have to npm install -g each of them from ~/.local/nvim/share/lsp-servers (note that there is still work to be done here...)
|
|
|
|
Download and install in virtmanager Windows 10 iso (for purposes of software tests)
|
|
|
|
Use this site (microsoft only has .exe now... 64 bit, version 21H2)
|
|
https://www.itechtics.com/windows-10-download-iso/
|
|
|
|
Install rustdesk-bin from aur (rustdesk by itself was not prepared correctly...)
|
|
|
|
paru rustdesk-bin
|
|
|
|
Install xfce4-screenshooter (it's just too useful by comparison to scrot...)
|
|
|
|
doas pacman -S xfce4-screenshooter
|
|
|
|
Install redshift and cp xinitrc.txt (change for laptop settings)
|
|
|
|
doas pacman -S redshift
|
|
|
|
cp ~/Documents/notes/xinitrc.txt ~/.xinitrc
|
|
|
|
Install sockstat:
|
|
|
|
paru sockstat
|
|
|
|
Install Firefox Translations on Librewolf (note Download File is now how you install)
|
|
|
|
Install espanso (use paru instead):
|
|
|
|
paru -S espanso
|
|
|
|
cd aur_packages
|
|
git clone https://github.com/federico-terzi/espanso
|
|
|
|
Install wxwidgets
|
|
|
|
doas pacman -S wxwidgets
|
|
|
|
cd espanso
|
|
|
|
cargo install --force cargo-make --version 0.34.0
|
|
cargo make --profile release build-binary
|
|
doas mv target/release/espanso /usr/local/bin/espanso
|
|
|
|
Copy xinitrc.txt which calls espanso at beginning
|
|
|
|
cp ~/Documents/notes/xinitrc.txt ~/.xinitrc
|
|
|
|
After restarting X session, you should be able to see some of espanso's effects on typing, just type something like ":date" and you'll see the effect.
|
|
|
|
This is just a demo, you can create your own custom replacement word "triggers" in the generated config file ~/.config/espanso/config/default.yml
|
|
|
|
You can also simply type:
|
|
|
|
espanso edit
|
|
|
|
To bring up the config file and edit it with commands, see:
|
|
|
|
https://espanso.org/docs/configuration/basics/
|