Extras, others - thepante/setup GitHub Wiki
Again: this repo contains all the files from my setup. This is a way of sharing something, but also for my own backup of knowledge about how I finished setting up some things that I had to deal before.
sudo apt install ttf-mscorefonts-installersudo apt install freetype2-demossudo apt install libfreetype6- Download .deb of fontconfig-infanility
- Fix emojis with download latest TwemojiColor Linux release, open terminal and
cdto that extracted folder,sudo ./install.sh- or PPA alternative:
sudo apt-add-repository ppa:eosrei/fontssudo apt updatesudo apt install fonts-twemoji-svginot
- Install steam from .deb and run, configure basics.
- Block and uninstall Nouveau open drivers, restart.
- Install Nvidia drivers from website:
sudo sh nvidia-drivers.run. - Restart, now can play.
- Edit
.profileand add: export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0- Restart session
sudo apt install devilspie2- On Gnome Tweaks app can add
devilspie2.desktoponStartup Applications(ref.) - Using those basic scripts: .lua files
- Using
sudo apt install ntfs-config -
sudo gedit /etc/fstab- in the entry forsda1(second drive, storage one - my case): "defaults," argument todefaults,exec,uid=1000,gid=1000- if not, steam error with games download loop (corrupt fileserror ref.). - ST3 local config and content linked to cloud service (cloud.mail.ru):
~/.config/sublime-text-3/Localfolder delete and replace with a link to synced folder to/media/storage/Documentos/fpraffo@mail/SublimeText3/Local. -
Taskbook folder
~/.taskbooksymlink to synced folder in/media/storage/Documentos/fpraffo@mail/.taskbook(cloud.mail.ru). - Nautilus sidebar links to differents folders at storage drive.
Only if I know that will depend on apt-fast under apt alias
- Install apt-fast
- And force yes the second confirmation:
sudo gedit /etc/apt/apt.conf.d/90forceyes- Add and save:
APT::Get::Assume-Yes "true";
With that I will do sudo apt install package and only have to confirm the apt-fast dialog. Have config apt as global alias (alias -g apt='apt-fast')
sudo apt install nodejssudo apt install npmnpm install -g npx- Create
~/.config/configstore - Recheck permissions with user for:
~/.config/configstore,/usr/share/lib/node_modules -
bower initand complete bower install- Now can install eg:
-
transity
npm install --global transity
-
transity
Before and after test speed with systemd-analize
- Analize
systemd-analyze blame - Disable service slowing down -
sudo systemctl disable <service>
In my case apt-daily.service wrongly there, so I have to delay it adding:
## apt-daily timer configuration override
[Timer]
OnBootSec=15min
OnUnitActiveSec=1d
AccuracySec=1h
RandomizedDelaySec=30minHere sudo EDITOR=gedit systemctl edit apt-daily.timer
Also check startup application list, and delay some:
Launcher search for Startup Applications, edit those can delay with adding sleep XX && in Command, before the actual one that launch the app.
- eg:
sleep 30 && /opt/urserver/urserver-start --no-manager --no-notify
Steps
sudo apt install zsh git-core npm fonts-powerline
sudo chown -R $USER /usr/local
npm install -g spaceship-prompt
chsh -s $(which zsh)That's it! - Restart the terminal.
And to prevent/fix that error about insecure directories:
cd /usr/local/share/zsh
sudo chmod -R 755 ./site-functions
sudo chown -R root:root ./site-functionsCheck name: lshw -C network
Check adapter driver version with sudo ethtool -i name
Option 1: If it is r8169, should install correct one, r8168 | ref.
sudo apt install r8168-dkmsOption2: Check correct driver version in use (src):
lsmod | grep rtlLet's blacklist the last one:
sudo -i modprobe -r rtl8192cu echo "blacklist rtl8192cu" >> /etc/modprobe.d/blacklist.conf exitThen restart your system
If needed check with system-config-samba if the folder is correctly shared.
The key issue was fixed with:
sudo gedit /etc/samba/smb.conf- inside [global] parameters need:
force user = pante -
sudo service smbd restartref.
Now using stow - install it.
- Go to
~/.repowhere's I get the repo clone sudo stow --adopt setup
dconf dump /com/gexperts/Tilix/ > tilix.dconf
dconf load /com/gexperts/Tilix/ < tilix.dconfI had the same problem, to solve edit
colors/miramare.vimby deleting the'reverse'argumentcall s:HL('MatchParen', s:palette.none, s:palette.none, 'reverse')" Fixed call s:HL('MatchParen', s:palette.none, s:palette.none)