This is what the forum will eventually need more of. Good information is currency--it frees a person. Lots of stuff I wish I'd saved from phbb in your dispatch. Thanks for the hard work on this. Valuable stuff here for vet, newbie, or basic knucklehead like me.
Linux survival guide
[deleted]
- Edited
Here are some maintenance/repair thingies
Forcing triggers
sudo usysconf run -f
Rebuilding eopkg database
sudo eopkg -y rdb
Repairing broken packages
sudo eopkg check|grep Broken|awk '{print $4}'|xargs sudo eopkg -y it --reinstall
Updating all packages
sudo eopkg -y up
Updating snap packages
sudo snap refresh
Updating flatpak packages
sudo flatpak update
Vacuuming journal
sudo journalctl --vacuum-time=2d
Deleting eopkg cache
sudo eopkg dc
Automatic upgrades
/etc/systemd/system/eopkgup.service
[Unit]
Description=Do all package upgrades
[Service]
Type=oneshot
ExecStart=/usr/bin/eopkg up -y
/etc/systemd/system/eopkgup.timer
[Timer]
OnBootSec=10min
OnUnitActiveSec=12h
Unit=eopkgup.service
[Install]
WantedBy=multi-user.target
Automatic third-party upgrades
sudo pip3 install eopkg3p
sudo eopkg install git
/etc/systemd/system/eopkg3pup.service
[Unit]
Description=Do all 3rd-party package upgrades
[Service]
Type=oneshot
ExecStart=/usr/bin/eopkg3p up -y
/etc/systemd/system/eopkg3pup.timer
[Timer]
OnBootSec=20min
OnUnitActiveSec=10h
Unit=eopkg3pup.service
[Install]
WantedBy=multi-user.target
[deleted]
RLFontan Anything except i3 without a compositor is bad for gaming /s
I have been using zsh
with oh my zsh
for a while now and I must say that I do like all the visual stuff along with git integration, but I find it incredibly slow when compared to Bash. I went back to Bash a couple days ago becuase I couldn't bother waiting half a second for the command prompt to pop up
- Edited
Jacalz gitsome is a nice git tool for bash https://github.com/donnemartin/gitsome
If you want something similar to what oh-my-zsh provides but for bash, check out bash-it.
https://github.com/Bash-it/bash-it
Bash-it is a collection of community Bash commands and scripts for Bash 3.2+. (And a shameless ripoff of oh-my-zsh
)
Includes autocompletion, themes, aliases, custom functions, a few stolen pieces from Steve Losh, and more.
Bash-it provides a solid framework for using, developing and maintaining shell scripts and custom commands for your daily work. If you're using the Bourne Again Shell (Bash) on a regular basis and have been looking for an easy way on how to keep all of these nice little scripts and aliases under control, then Bash-it is for you! Stop polluting your /bin directory and your .bashrc file, fork/clone Bash-it and start hacking away.
- Edited
Can't say I have noticed any waiting for zsh to load. It's instantaneous for me shrugs
What about configuring audio to have the best quality? Anyone got some extra tips for that?
[deleted]
- Edited
Junglist The resampling is already set to a better algorithm than the pulseaudio default (which apparently distros like Ubuntu still ship with). But if you like to tinker even more, then create a file /etc/pulse/daemon.conf and add the lines you like:
Best resample-methods:
resample-method = soxr-vhq
or resample-method = speex-float-10
Avoid resampling altogether when possible
avoid-resampling = yes
24-bit audio ..
default-sample-format = float32le
.. or 32-bit audio
default-sample-format = s24le
Increase alternate sample rate to 96khz (if eg. you've got an audio interface that supports it). The system should choose the best suitable rate, so afaik you can leave default-sample-rate intact.
alternate-sample-rate = 96000
If you want to return to default setting, just wipe the line from the file, or remove the file altogether and it falls back to /usr/share/pulseaudio/daemon.conf
Harvey In KDE is a dark theme causing forms on websites using firefox to be dark?:
Create a new string pref in about:config (right click menu) named widget.content.gtk-theme-override and set the value to a installed light theme (e.g. Breeze), then restart Firefox.
Im having this problem on GNOME i don't know how to do this you said.
- Edited
I just did a quick "Ctrl+F" to see if this had been added so sorry if I missed it.
I was having issues with screen tearing in a few apps and was looking for a solution to my problem and stumbled across this .
https://github.com/solus-project/linux-driver-management/issues/12
I run Solus Budgie on an older Dell XPS 14 laptop with Intel graphics so I used what was described by Liberodark on the bottom of the page with one addition. And it solved the issue for me. Maybe you can add it to your screen tearing section if you think it could be applicable to others.
sudo nano /etc/X11/xorg.conf.d/20-intel.conf
Put in file "20-intel.conf" :
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3" # DRI3 is now default
Option "AccelMethod" "sna" # default
Option "AccelMethod" "uxa" # fallback
EndSection
- Edited
I used this guide.
If you it out; I rarely ever use headphones so if there no difference i'm sorry however, I feel there is one. Also if I remember correctly in Solus this...
$ vim /etc/asound.conf
Is not the correct location for that file. Search for it in you file manager on the system drive to get the correct location.
[deleted]
[deleted] Oh, there's actually a typo. 24-bit is s24le and 32-bit is float32le
While we're at it, here is a way better backup program than plain rsync (which I love, no offense):
sudo eopkg install restic
mkdir somewhere/restic
restic -r somewhere/restic init
restic -r somewhere/restic --verbose backup /home/me
restic -r somewhere/restic snapshots
See restic.net for more info.