226
submitted 2 years ago* (last edited 2 years ago) by to c/linux4noobs@programming.dev
 
 

SOLVED by joneskind

I have Ubuntu 20.04.1, I've installed ollama and a couple llms, it's amazing, but tinyllama is gibberish and I've just realized I don't know how to remove the llms from my computer or where they're stored, or anything about them.

Mistral is very impressive btw

227
 
 

Hey guys, I made the switch to Linux about a week ago and have mo complaints so far. Except maybe this: I can't seem to find a way in Linux to get proper loudness equalization like I got on windows.

My issue is that I have a bunch of media, especially shows and movies, that are suffering from way too loud gunshots, explosions, music and so forth and really quiet dialogue. I know this is because sound engineers make the audio fit for cinemas and not my living room, it is a problem nonetheless.

Under windows there is a simple toggle in even the most basic sound cards and settings called loudness equalization, that corrects those perceived differences quite effectively, which Linux is lacking. A bit of web search led me to the term ReplayGain, which seems to be the proper name for it, and I enabled it for my media from within the player apps. However it doesn't really work like i am used to.

Sounds and language constantly change volume mid sentence, which is very irritating to me. ReplayGain also doesn't really help avoiding those sudden bursts of loudness, I still blast awake my neighbors on accident when watching a move later at night.

Is there some way to get at that windows audio codec or whatever they use, that works so much better?

Thanks for reading

228
 
 

I am running EndeavorOS with XFCE 4 and am using Mullvad as my VPN. To be clear I know Mullvad's client has a lockdown and kill switch mode but it seems like after updating it my PC is connecting to the internet without it. I could be mistaken but I don't think it's blocking anything at that point. I would likely have to wait until the next Mullvad update to test this for sure though. If someone can either confirm or deny my suspicions I would greatly appreciate it because I wouldn't have to find another work around.

All that said if that is the case, how can I prevent my PC from connecting to the internet when Mullvad is not running?

Maybe there's a simple option like binding the network manager to mullvad client application? Ideally I'd like to avoid either not using their client and using some thrown-together update script like

#!/bin/bash

xfce4-terminal --command="sudo pacman -Syu";

/opt/Mullvad VPN/mullvad-vpn";


Edit: Maybe it is connecting after the update but not showing the GUI. I came across this post on GitHub

I have a Mullvad desktop app set to launch on start-up. Also "Start minimized" is set to false. At the system start-up I get connected to the VPN, so the Mullvad daemon apparently starts, but no application window launches. I have to launch it manually.

I did not check to see if this was happening after I updated.

229
SSH through VPN (sh.itjust.works)
 
 

Hello I am wondering if there is increased network/packet security by connecting to a server over ssh through a VPN hosted by that same server as opposed to without first tunneling by VPN. I imagine with or without tunneling through a VPN there would be latency/speed differences too?

230
 
 
231
 
 

I have been using sway (basically i3 for Wayland) instead of a traditional desktop environment because it really makes a difference in my laptops performance.

But apparently sway ignores .desktop files which was how i was autostarting things on KDE.

Is the best way to handle this by going through the sway config? If not, how would you do it.

Bonus points if you can tell me how to get the autostart programs to also open in specific workspaces.

232
 
 

Previously used Endeavors, OpenSUSE, PopOS and GTA run 5 fps now on Fedora it run 25-40fps 1080 high

233
 
 

I got most of my games run pretty good now with the help of Steam compatibility and Wine now what should I do moving forward, win11 is a strong no go because I heard rumors about Microsoft locking bootloader with software update and I can't stand fucking copilot/edge, should I wait until EOL or do it now? I'm pretty noob when it comes to Linux but I know what distro I'll use (Fedora+KDE). Sorry for bad grammar English is not my first language

234
 
 

I never booted into more than one OS, I only have one. I've no use for the 5 seconds for selection.

I've no clue what bootloader I have... I think not grub, because I cannot find any grub files besides

/etc/grub.d/ with 2 files: 15_ostree 35_fwupd

and grub-mkconfig -o /boot/grub/grub.cfg results in bash: grub-mkconfig: command not found

I remember in the past turning off the 5 seconds, but I reinstalled my system after Plasma 6 release.

I use EndeavourOS with KDE if that matters/helps.

235
 
 

Hello I am seeking a simple solution to running a list of "chown -R" " commands in script.sh

It takes a long time to sequentially execute all of these chown commands recursively because the directories have so many files. I want to be able to tackle the root level directories in parallel to speed things up. I imagine there must be a simple way to do this while keeping the list of commands in a single file. xargs and some of the other things I saw online looked like bad fits or would be over engineering this problem.

236
 
 

Pretty much the title. Maybe to add a bit of a backstory: Bazzite was awesome at first, all games ran on the first try!!

But then: I still haven't installed my vpn, let me quickly do that. Oh wait, there's no flatpak for my vpn, that's right.

Aight, lemme first install tlp and get these laptop fans under control. But wait, how? There's no flatpak. If I install it in distrobox, it has no effect, which kinda makes sense.

Whatever, lemme try auto-cpufreq. No flatpak, so distrobox it is. To no surprise, it fails. "System has not been booted with systems as init system."

Same with Goverlay. So then I just fell back into my chair and screamed: "How the hell do I install stuff on Bazzite to control my laptop?!"

237
 
 

Hey guys, so i just now pulled the trigger, formatted my windows installation and installed Linux for the first time. I went with bazzite, which seems very gaming friendly and idiot proof with its rollback functionality.

Now to the issue: I have 3 drives in my computer, one 500gb SSD which i used for the OS. This one can be accessed fine as expected. The other two, a 2tb SSD and 1tb HDD however, dont. I cant seem to find a way to access them, and i have all my media on there / want to install games onto them.

How can i access them, and tell the OS that these two are also part of its system?

238
 
 
239
 
 

I am sorry and aware this is the wrong community. However, I am unable to find Ask Programmer.

I wrote a small bash script, and I would like to share it on GitHub. However, to operate probably it requires dir with some files in user $HOME dir.

The only solutions came to my mind were, tar the directory BUT is this pragmatic solution?

240
 
 

I recently got my hands on an ASUS device equipped with an fingerprint sensor . As a Fedora user, I've been trying to set up the fingerprint sensor on my system, but it's proven to be quite a challenge.

So, I'm reaching out to the community here for some guidance. Has anyone successfully configured an ASUS fingerprint sensor on Fedora before? If so, could you please share your experience and any tips or resources that might be helpful?

Any assistance would be greatly appreciated! Thanks in advance.

241
 
 

why? because it's not triggering an obscure anti cheat on a game I've been playing when using wine (performance is still the same tho), everything else is just work no missing dependencies and it's doesn't get in my way like other distros (I tried Arch, Opensuse, Ubuntu, Debian), just to clarify I'm a complete noob when it come to Linux so maybe if I know better I probably make everything works just like Fedora

242
 
 

Or maybe a way to use existing cloud services like Google Drive or OneDrive or Dropbox for this purpose?

I just have a bunch of .deb files and I think this could be really useful. Plus I will be offloading some of my storage 😁

243
 
 

Is there an easy way to enable a inactivity timer when using a TTY like in Ubuntu Server for when there has been no inactivity for X seconds, it will execute vlock and lock the TTY.

244
 
 

I am using Arch Linux on an older Thinkpad and recent upgraded. KeePassXC was part of that and now, after I enter my credentials, and click to unlock my database it shows that it is loading but never finishes. I am using a password, Yubikey, and keyfile and have it set to max decryption time (5s) though I don't know if that is relevant.

I had to downgrade KeePassXC to 2.7.6-3 and Baton to 3.3.0.-1 and add them to my ignore list in /etc/pacman.conf.

The same database works with KeePassDX on Android.


Does anyone know what would be causing KeePassXC to fail to load?

My next step would probably be creating a new database and seeing if an empty one can open then adding the extra security measures like the challenge-response before finally merging the two but I thought I'd ask if anyone has a better idea before trialing and erroring my way to a solution.

245
 
 

I am using kubuntu and recently my .desktop files no longer launch from my desktop. If I go to ~/desktop in dolphin I can double click the same files and they launch just fine from there.

When I do try to launch from desktop it just shows a blank file icon very briefly.

Only new thing I've done since they stopped working is install virt-manager and QEMU to set up a Windows vm.

I also tried creating a new user and the problem still persisted, which means it is not anything in my home directory.

I've tried googling but haven't found anyone with the same problem as me.

246
 
 

On Ubuntu Server and Arch I was able to change the following line in /lib/systemd/system/getty@.service

# Before
ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM


# After
ExecStart=-/sbin/agetty --noissue --autologin john %I $TERM Type=idle

And it works, that it will login to the user john but when I logout of the user john with using exit in the terminal, it logs john back in. Is there a way to change this ExecStart setting to enable auto login for a user on startup but only on startup?

247
 
 

I have gotten Wake On LAN (WOL) setup and working. However my machine is a Ubuntu machine using full disk LUKS encryption which means when booting it up, it requires a password/passphrase to unlock the machine before it boots into Ubuntu. The WOL systemD service I created will always make sure WOl is enabled for the next time the machine reboots, however if I reboot the machine and fail to unlock the device on the full disk encryption menu and the machine shut down, WOL will not be enabled which means WOL is not going to work to turn on the machine again.

Is there a way to enable WOL on the system full disk LUKs encryption lock screen?

248
submitted 2 years ago* (last edited 2 years ago) by to c/linux4noobs@programming.dev
 
 

Hey guys, i a am using ParrotOS and trying to install virtualbox from .deb package and i got the following warning

dpkg: dependency problems prevent configuration of virtualbox-7.0:
 virtualbox-7.0 depends on libc6 (>= 2.34); however:
  Version of libc6:amd64 on system is 2.31-13+deb11u6.
 virtualbox-7.0 depends on libssl3 (>= 3.0.0~~alpha1); however:
  Package libssl3 is not installed.
 virtualbox-7.0 depends on libstdc++6 (>= 12); however:
  Version of libstdc++6:amd64 on system is 11.2.0-18really16parrot1.
 virtualbox-7.0 depends on libvpx7 (>= 1.10.0); however:
  Package libvpx7 is not installed.

but it seems like ParrotOS repo outdated so i add http://archive.ubuntu.com jammy main universe to /etc/apt/sources.list update repo list apt-get update and then obtain libc6 package information

apt-cache policy libc6
libc6:
  Installed: 2.31-13+deb11u7
  Candidate: 2.31-13+deb11u7
  Version table:
     2.35-0ubuntu3 50
         50 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
 *** 2.31-13+deb11u7 600
        600 https://deb.parrot.sh/parrot lts/main amd64 Packages
        600 https://deb.parrot.sh/parrot parrot/main amd64 Packages
        600 https://deb.parrot.sh/direct/parrot parrot-security/main amd64 Packages
        100 /var/lib/dpkg/status

then install libc6 via sudo apt-get install libc6=2.35-0ubuntu3 BUT i got

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  afl++-doc docbook-to-man greenbone-security-assistant gtk-doc-tools gvmd-common hashcat-data intltool libapache2-mod-php libapache2-mod-php7.4
  libc-devtools libclang-cpp11 libclang-cpp9 libclang1-11 libcrypt-dev libfakeroot libffi-dev libgc1 libgvm21 libhiredis0.14 libllvm9 libltdl-dev liblzf1
  libmicrohttpd12 libnsl-dev libobjc-10-dev libobjc4 libomp-11-dev libomp5-11 libpfm4 libpocl2-common libradcli4 libtirpc-dev libucl1 libz3-dev llvm-9
  llvm-9-runtime llvm-9-tools openvas-scanner oracle-instantclient-basic ospd-openvas php-common php7.4-cli php7.4-common php7.4-json php7.4-opcache
  php7.4-readline postgresql-common python3-defusedxml python3-qrcode python3-terminaltables redis-server redis-tools sysstat upx-ucl xsltproc
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libncurses6 libncursesw6 libtinfo6
Suggested packages:
  glibc-doc locales
Recommended packages:
  libnss-nis libnss-nisplus
The following packages will be REMOVED:
  afl afl++ afl++-clang armitage bluelog build-essential clang clang-11 clang-9 commix fakeroot g++ g++-10 gsad gvm gvm-tools gvmd hashcat lib32gcc-s1
  lib32stdc++6 libbluetooth-dev libc-bin libc-dev-bin libc6-dev libc6-i386 libclang-common-11-dev libclang-common-9-dev libexpat1-dev libncurses-dev
  libpocl2 libpython3-dev libpython3.9-dev libstdc++-10-dev libtinfo-dev libtool llvm-9-dev locales mate-common metasploit-framework pocl-opencl-icd
  postgresql postgresql-13 python3-dev python3-gvm python3.9-dev set unicorn-magic zlib1g-dev
The following packages will be upgraded:
  libc6 libncurses6 libncursesw6 libtinfo6
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  libc-bin
4 upgraded, 0 newly installed, 48 to remove and 180 not upgraded.
Need to get 3,812 kB of archives.
After this operation, 1,122 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'

What should i do?

Edit: format command output

249
 
 

I ran yay -Syu and everything went well but electron25 has taken over 10 hours to update. Is there anything I could have done to speed things up?

Solution: I checked AUR and other people were commenting about similar issues. I swapped out the package for the -bin version.

250
submitted 2 years ago* (last edited 2 years ago) by to c/linux4noobs@programming.dev
 
 

Is it not possible to run Fedora Silverblue in live boot like other distros? I wanted to test it on my laptop before installing.

The laptop currently runs ZorinOS.

Edit: I downloaded the ISO from the Fedora website - here. When I try booting from the USB it only gives me the option for installing it.

view more: ‹ prev next ›