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

                  Despite having done Unixes for many years, I learned a couple of things (at minimum) useful from reading this thread. There are so many ways to do things , that sometimes I find I did NOT choose the easy way. Now if I can just change my behavior to utilize what I learned 😂

                  Adding another, early days but seems to have fixed my issue. I'm guessing this could be adapted to any other DE that is behaving the same way.

                  Issue:
                  When you have multiple monitors on Plasma (KDE) and launch a game in fullscreen other monitors stop being updated properly. Example: Time displayed on panel freezes any video playing seems to pause (audio keeps playing but video is frozen).

                  Solution: Disable the ability of applications to block compositing:
                  System settings > display and monitor > compositor > untick "Allow applications to block compositing"

                  I suspect this may have some impact of performance but I'll take it.