- https://www.reddit.com/r/archlinux/comments/b64k4s/reverse_scrolling/
- https://wiki.archlinux.org/title/Libinput#Via_Xorg_configuration_file
Section "InputClass"
Identifier "mytouchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "NaturalScrolling" "true"
Option "Tapping" "on"
EndSection
- https://bbs.archlinux.org/viewtopic.php?id=244415
- https://wiki.archlinux.org/title/Network_configuration/Wireless#iwlwifi
sudo vim /etc/modprobe.d/iwlwifi.conf
Then add:
options iwlwifi 11n_disable=1 swcrypto=1
Then see following file to know the categories:
vim /usr/share/vim/vim82/colors/tools/check_colors.vim
And add this code to /usr/share/vim/vim82/colors/elflord.vim. It for the color of column
hi ColorColumn ctermbg=lightgreen guibg=lightgreen
Then, add this code to /usr/share/vim/vim82/colors/elflord.vim. It for unnecessary white spaces
...
hi WhiteSpaces ctermbg=red guibg=red
...
hi link ExtraWhitespace WhiteSpaces
Second solution:
Make a directory in /boot called efi.
mkdir /boot/efi
Mount EFI disk to /boot/efi
mount /dev/nvme0n1p1 /boot/efi
Then configure grub
grub-install --target=x86_64-efi --efi-directory=/boot/efi/ --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
Now everything is ready with grub. Umount live USB and restart :D
Sources:
- https://www.youtube.com/watch?v=ZmTB4YlNZds
- https://bbs.archlinux.org/viewtopic.php?pid=1962038#p1962038
I have google-chrome-stable, so I did the following
sudo cp /usr/bin/google-chrome-stable /usr/bin/google-chrome
Source:
Last installation:
It usually happens with projects that were created in other machines. To fix this on Android Studio 3.1.3:
- File-> Settings (ctrl+alt+s)
- Languages and Frameworks -> Dart
- Check "Enable Dart support for the project..."
- In "Dart SDK path" click in "..." and navigate to flutter SDK directory. Under that directory you'll find "bin/cache/dart-sdk". This is the dart sdk path you should use.
- Click "Apply"
- Close the project and open it again (sometimes you need this step, sometimes doesn't)
Source:
Remove udiskie -t & from ~.xprofile
- https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/
- https://unix.stackexchange.com/questions/148/colorizing-your-terminal-and-shell-environment
- package ‘RGtk2’ (or other) is not available for this version of R:
- https://rattle.togaware.com/rattle-install-troubleshooting.html
- Only use
install.packages("https://cran.r-project.org/src/contrib/Archive/RGtk2/RGtk2_2.20.31.tar.gz", repos=NULL)
and replace https://cran.r-project.org/src/contrib/Archive/RGtk2/RGtk2_2.20.31.tar.gz with the correct package.
In this page I found the method to install RStudio https://bbs.archlinux.org/viewtopic.php?id=225057:
Code:
wget https://aur.archlinux.org/cgit/aur.git/snapshot/rstudio-desktop.tar.gz
tar xfvz rstudio-desktop.tar.gz
cd rstudio-desktop
makepkg -si
- Search package in https://archlinux.pkgs.org/. Then type:
wget "Binary Package url"
Example:
wget https://aur.andontie.net/x86_64/rstudio-desktop-bin-2021.09.2.382-1-x86_64.pkg.tar.zst
- In package options select Download snapshot.
rm -f ~/.config/menus/applications-merged/wine*
rm -rf ~/.local/share/applications/wine
rm -f ~/.local/share/desktop-directories/wine*
rm -f ~/.local/share/icons/????_*.{xpm,png}
rm -f ~/.local/share/icons/*-x-wine-*.{xpm,png} }}}
- https://fortinux.gitbooks.io/humble_tips/content/usando_la_linea_de_comandos/tutorial_usar_grep_para_buscar_texto_dentro_de_archivos_en_gnulinux.html
- https://ed.team/blog/como-buscar-dentro-de-archivos-en-linux
grep -rni "palabra" .
En el siguiente ejemplo, usaremos sed para reemplazar todas las ocurrencias de la palabra «mongo» por la palabra «aurelio» en todos los archivos que tengan la extensión .txt y que se encuentren en la carpeta /home/usuario/micarpeta/.
find /home/usuario/micarpeta/ -name '*.txt' -exec sed -i "s/mongo/aurelio/g" {} \;
Me di cuenta que es mejor poner el .txt entre comillas, sino find saca errores raros.
Ref: https://blog.desdelinux.net/como-encontrar-y-reemplazar-texto-en-varios-archivos-desde-el-terminal/
I changed to use vim for noevim with this: https://unix.stackexchange.com/questions/367452/how-to-change-the-default-text-editor-in-ranger
Error writing the file failed to close the package enlace cruzado entre dispositivos no permitido simulink
https://bbs.archlinux.org/viewtopic.php?id=277970
https://gist.github.com/Tamal/1cc77f88ef3e900aeae65f0e5e504794
- https://www.reddit.com/r/archlinux/comments/rfj0av/global_problem_with_python_310/
- https://www.reddit.com/r/archlinux/comments/rf6c84/psa_python_310_is_in_core_rebuild_your_aur/
Problem when dialog (popup) window open over another dialog window. The last one spawn behind the first
I used the following command to map Shift+Tab with autocompletion in zsh:
bindkey '^[[Z' autosuggest-accept
There wasn't integration of Codeium with Coc, so I used Plug
I use vim-jukit:
Then, I installed the last thing with the following command:
sudo pacman -S python-lsp-server
Here I found how to install miniconda:
And here a good way to manage Anaconda in Arch:
If I want to remove Anaconda, I can read the following discussion:
I had Conda command not found
, so I ran the command conda init
And finally, as I don't want to activate the base environment by default, here is how can I achieve this: