• [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

    Harvey

    Yeah, i have seem recently this video:

    And the guy actually like composition pipeline for gaming... maybe it depends on how you use it. But my guess is that this resource on GNOME based is bad for gaming.

      • [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 🙁

          Jacalz Yeah I can't stand waiting for zsh to load, bash works just as well with the right aliases.

          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.

          Can't say I have noticed any waiting for zsh to load. It's instantaneous for me shrugs

          • [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.

            25 days later

            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

              Junglist

              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]

                • Edited

                SirOaken It does pretty much what I described there [deleted]

                Also if I remember correctly in Solus this /etc/asound.conf is not the correct location for that file.

                It might be, it's just not there by default since Solus is stateless. Not entirely sure about that, though.

                  • [deleted]

                  [deleted] Oh, there's actually a typo. 24-bit is s24le and 32-bit is float32le

                  [deleted] You are correct it is the default location. My mistake, I might have got that mixed up with something else.

                  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.

                  • dug replied to this.

                    n2o Thanks for the restic mention. I've been looking at other options besides rsync lately. Not really sure why as it has never failed me.

                    • n2o replied to this.

                      dug I hear you! I totally love rsync. restic is more like time machine though. You can easily mount each snapshot and restore single files from way back then. So as opposed to simply making a 1:1 copy of the current status, it keeps a history. An alternative that uses rsync and does the same thing with hard links (like time machine) is dirvish.

                      With restic, a machine backs itself up to a remote location (thus encryption is included), with dirvish a central backup server picks up files from backupees by ssh.

                      • dug likes this.