Linux Questions

1060 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS
1
 
 

When you delete your posts on this sub, you are deleting a solution to a potential problem that someone may be having. It is inconsiderate and can result in a ban.

2
7
submitted 3 days ago* (last edited 3 days ago) by Churbleyimyam@lemm.ee to c/linuxquestions@lemmy.zip
 
 

If I want to install and use a different desktop environment than came with my distro, what (if any) problems can I expect to encounter?

I currently use Debian with GNOME and I want an optimised system for music production and graphic design. As far as I can tell, the two main options I have are to make some tweaks to my current system's configuration (rt kernel, swap use, cpu behaviour and others) or to switch to a dedicated media distro which is configured already. The creative distros that I like the look of don't use GNOME though.

Which option will be easiest for me?

3
 
 

I've seen these pop up before but didn't have a specific use for them, as I do all my own containers on a couple docker host VMs using compose. But for someone getting into it, it would seem like the way to go, maybe as a Docker-within-Docker container, or a full distro.

I know Portainer does a bit of this with it's Stacks, where you can choose some containers to deploy a pre-built app, as does some NAS software like Unraid. I'm looking for something that has a fairly well maintained stockpile of pre-configured containers that it can deploy (maybe after editing) and manage. I'm sure I've seen github projects that do this but I'll be arsed if I seem to be able to find anything right now. Bonus points if it deploys a Traefik proxy for its applications and configures them to it.

I imagine there's a dozen projects like this that the community can point me at.

4
 
 

Partially related to my previous post here, but instead of support this is more of a general question.

(tl;dr: AntiX boots fine on the aforementioned laptop, while other distros need a custom kernel argument in order to boot, why does this happen?)

While messing around and trying to get Linux to boot on my friend's laptop, I noticed that AntiX specifically booted without needing to mess with any kernel arguments (unlike Fedora [and forks], and presumably others too [I only checked Fedora-based distros since that's what I was trying to install]). What's different with AntiX compared to (at least) Fedora to where Fedora has issues booting while AntiX boots perfectly fine?

I kinda want to guess that AntiX uses a different bootloader, but then why would a kernel argument be the thing that fixes Fedora?

5
 
 

I tried to install Aurora on a friend's Acer laptop, but ran into this issue which was resolved in the same thread, and the temporary fix works the same. When I tried to modify the grub config to apply the permanent fix, /etc/default didn't hold anything relating to grub. Where is the config file for grub, and is it editable?

6
 
 

Good day people!

(This paragraph is fluff, feel free to skip) First I'd like to thanks everyone who has answered my questions thus far. A of now I'm daily driving CachyOS on my "laptop" and Bazzite on my gaming PC. I've settled on Hyprland after running with sway for a few days and have been forcing myself to solve problems and do file management using the CLI exclusively (excluding firefox for duckduckgoosing help). I've gotten semi-comfortable manipulating files, but haven't had to do anything too skill intensive yet.

On to the question! I am currently looking to set up a home server. My use case is for storing media, specifically videos (for watching) and game Roms (for playing older games on emulator). With this use case in mind, what's a good resource to learn how to get started? For those who have home servers set up with similar purposes, how did you arrive at your current set-up? What considerations should i take before, during, and after set-up?

Any feedback is greatly appreciated!

Thank in advance! Hope to hear from you all soon!

7
 
 

@linuxquestions Hi there, could someone please assist me with some Linux advice on setting up an X1 Carbon laptop? Thank you

8
 
 

Good day all!

First I'd like to thank all the people who replied to my first post and provided so much valuable information! Since then I've been trying to force myself to get comfortable with using the terminal! To this end I've been running Sway as my Desktop Environment and printed out a cheat sheet to place next to my screen.

Now, a paragraph deep, for the question(s):

How do y'all customize your terminals? I'm not looking for tutorials, just your preferences. How long did it take for you to settle on your favourite? What did you prioritize when customizing? What customization are you fondest of?

Thanks in advance to any and all replies, hope to hear from you all soon!

9
 
 

I am currently using GNOME Backups (aka Déjà Dup Backups) to backup all my files to a "backups" folder in my Dropbox. This is not a good solution - first because I want to stop paying for dropbox, second because I don't want to keep everything in the cloud, third because everything is stored twice on my laptop and storage is precious.

I therefore want to manage back-ups locally instead. I would like to keep using Déjà Dup, as it has worked really well and effortlessly.

My initial idea is very bare bones. I could keep an old laptop running 24/7, connect a hard drive, and use SSH file transfer in Deja Dup in order to store everything on that machine. That said, I have a few concerns as well.

  1. Is this a good way of doing things? Should I be doing something else instead?
  2. I'm not always at home - will it be a problem if the Backup software cannot find the folder because it's not on the correct network, or will it have the sense to wait until it's connected to the correct wifi?
  3. Will the old laptop use a lot of power, or is it regrettable for any other reason? Is it possible to make it automatically hibernate for example during the nigthtime? Or to have it spend very little power unless anything is connected via SSH?
  4. Would it be better to get a dedicated device, like a Rasberry Pi or something? I don't have all too much faith in my old laptop not making noise with the fan running at random times.

It looks like my partner will be getting a new laptop running Linux soon enough as she has to hand in her work computer, so it would be good timing to get a proper solution into place.

Thank you in advance!

10
5
Roon Server on EndeavourOS (links.hackliberty.org)
submitted 1 month ago* (last edited 1 month ago) by pedestrian@links.hackliberty.org to c/linuxquestions@lemmy.zip
 
 

I've been trying to follow documentation on the Roon website to get a roon server set up on a fresh endeavourOS install. I'm getting confused by various forum threads I've come across. Has anyone in this community successfully gotten roon server working on Linux? I'd really appreciate any concrete guidance as to how you got it set up.

I understand that there's no gui and that I'll have to connect to the server with the android app from my phone, but I can't tell that the service is running and when I search for the server from my phone, nothing appears.

Thanks!

11
 
 

I did all the same steps. I downloaded the file. I wrote it to the SD card, but then when I go to start it up, I just get this loading screen that lasted about an hour before I just shut it down.

What am I doing wrong here?

12
 
 

Good day all,

I'm currently about 3 months into using Linux exclusively for personal computing and gaming. I stared out trying EndeavourOs /w the Linux Surface kernel on my Surface, having now settled on Manjaro on my surface and CachyOS on my gaming rig.

So far the experience has been relatively painless. Now, having settled down comfortably into a rhythm of running sudo pacman -Syu, getting lost in the AUR and wiki, I feel like exploring more into what Linux has to offer.

So, on to my question, what do i do now? There's a bit of choice paralysis for me. Where did you all decide to dig in first? What resources did you use? What projects did you take on to deepen your knowledge? What do you feel is essential for crossing the threshold from average user to almost-superuser, then from there and beyond?

Thanks in advance for your time. Hope to hear from you all soon.

13
 
 

I am looking to run a desktop in a container. I know I can pass the display in with /dev/dri but I am not sure about keyboard and mouse input

14
 
 

cross-posted from: https://lemy.lol/post/30887473

I sometimes play games and also open my music player, but the sound from the game drowns out the music, so I need to go into the sound mixer on KDE and manually lower the game's volume every time.
I was wondering, is there a way to do this process automatically? As in setting up conditions like "if music is playing (some MPRIS API?) then lower all other apps' volumes)", maybe even crazier "if some app is outputting voice then set its volume back up and lower music app's volume or pause its playback altogether for some specified timeout that keeps being refreshed for as long as voice is heard".
I imagine the latter is a bit of a dream, but maybe for the first, even some quick sound profile selector would go a long way, say switching from "normal profile" to "background music profile", etc. which specify preconfigured volumes for those apps.
Is that a thing?

15
 
 

cross-posted from: https://lemm.ee/post/41741300

As a lifelong Windows user I've just for the first time switched to Ubuntu and I'm learning how to navigate the system but I haven't found an easy way to update my Carbon's X1 Gen 6 BIOS from its hard disk and would appreciate any advice.

I'd be also happy to hear what I should do as a newcomer to Ubuntu to make my experience with it better and have an easier time overall.

16
 
 

cross-posted from: https://lemmy.zip/post/22225508

cross-posted from: https://lemmy.zip/post/22209812

EDIT: Turns out my login information was slightly wrong, and had nothing to do with security.

My school uses EAP for its student WiFi, but there's no option for "EAP" security (PEAP, LEAP and every other option in KDE's WiFi security settings wouldn't connect). I'm pretty sure there was an option for EAP on Linux Lite (my previous OS before kinoite) which connected successfully. Is it possible to use EAP in Kinoite, and how do I enable/use it?

17
 
 

I am looking to write a playbook that updates and reboots each system one at a time. It need to verify that the node comes back healthy before starting on the next one. If it fails it should stop altogether.

I think I can just wait for a reboot and then check a condition before starting on the next one. Has anyone done this before? I think it is doable but I am curious on the thoughts of others.

For content I am looking to not kill my kubernetes cluster.

18
 
 

I recently bought a Corsair HS55 Wireless Headset. They stated it supports Dolby 7.1, IF you use the iCue software, which doesn't work on Linux.

Using pavucontrol, I can change the profile between Analog Stereo Output, Digital Stereo (IEC958) Output and Digital Surround 5.1 (IEC958/AC3) Output, but the Analog one is the only one that works. The other 2 just results in broken audio. There's not even a 7.1 option.

I don't have high hope about this, and I expected it to not work when I bought it, but it would be nice if anyone has some ideas.

19
 
 

Now that we're a week in and most people have probably repaired their PCs from the shitty Windows Update breaking GRUB I have some question.

I have a dual boot as well and thought I was safe, as I installed my Linux Mint on an independent disk. My friend laughed and told me that won't protect me.

I logged into Windows some days ago as I had to write a document in MS Word for university and the windows update told me it was ready with a very threatening red dot in the tray. I expected it to take control over my PC and to reboot 10 times, do some typical Windows stuff, but nothing happened.

Now I have this update waiting and I am scared my Linux will break. I know there are fixes out there, but is there a way to prevent it BEFORE it happens? Can I somehow upgrade the vulnerable GRUB version?

Thanks a lot for your help my fellow penguin fans.

20
 
 

I like understanding how commands layer on top of each other.

All three have iproute2 as a dependency, which makes me think the answer is 'yes'.

21
 
 

As a Linux newbie, all I know about Arch Linux is that it is a DIY distro where you assemble the entirely of the OS by scratch. Somehow it feels like it is too easy than it needs to be, even if it is primarily meant for experienced users. I imagine it to be less like building your PC from parts bought from the market and more like building each and every component of the PC by scratch along with building the PC, which I assume to be much harder for the average consumer. It seems absurd how it is possible for a single person to incorporate the innumerable components required for functionality in a personal system that does not crash 100% of the time due to countless incompatibility errors that come with doing something like this.

I would like someone to elaborate on how it feels to 'build' a system software by yourself with Arch and how it is reasonable to actually do so in a simple language. I do have some experience in programming, mainly in webdev, so it's not like I need a baby-like explanation in how this works but it would be nice to get to know about this from someone who could understand where this confusion/curiosity is coming from.

22
 
 

Hey guys I kind of have a little probleme here:

So during the upgrading of Mint 21.3 to Mint 22 there appeared some errors, and while trying to fix them a lot of library-packages were deleted and most of the programs gone.

Now after that I tried to reset my system back to tze last timeshift-backup but timeshift only ever deleted more packages and never installed the old files from the backup (i guess).

So now this is where I am at, a kernel panic and nothing boots. I guess i need a new (fresh) install and could try to use the backup of timeshift on that one?

Or is there any other elegant way to get out of this?

Thanks already for reading and tips <3

23
 
 

I've been using Linux for at least 2 years. I have Linux Mint on my main computer and Debian on my old computer. Trying to apt update says that the connection failed to security.ubuntu.com, deb.debian.org, ftp.uk.debian.org, etc.

Updating directly from sources such as for the Brave Browser still works. Sites not necessary for updating still work. Accessing them through browser doesn't work (It would give a "Connection was reset" error (for Debian) or an error that mentioned DNS (for main computer)). Pinging them seemed to work. Accessing these sites on my phone still works (though it didn't until I accessed them through mobile data and switched back to wifi). Connecting my Linux Mint computer through mobile data to apt update and switching it back to wifi resolved the issue for my Linux Mint computer, but I wasn't able to get my Debian system to connect through my phone.

Any ideas for causes/resolutions?

24
 
 

After selecting the boot option (no matter if it's the live iso or the installed distro, and no matter the kernel version) I get stuck on that screen, at that point the only thing I can do is reboot by pressing the power button.

This only seems to happen on this computer.

Here are some system information :

  • motherboard : ASUS PRIME A320M-K
  • BIOS version : 5603 (latest available version)
  • CPU : AMD Ryzen 5 2600
  • GPU : Nvidia GeForce GTX 1660

The only way I was able to install the system was by using the acpi=off boot option but I understand it can negatively impact the system. Does anyone know why this happens and how to fix it ?

25
9
submitted 3 months ago* (last edited 3 months ago) by Tregetour@lemdro.id to c/linuxquestions@lemmy.zip
 
 

Since about Plasma 6 onward I've been getting system restarts when attempting to play back video files and/or seek through them.

Kernel 6.5.0-41

KDE neon 6

Plasma 6.1.2

Qt 6.7.0

Ryzen 7 3700x CPU

AMD R9 390 GPU

16GB DDR4 RAM

The system will crash and reboot when:

  • Attempting to play any video with an mp4 container (mpv and vlc tested)
  • Attempting to seek with the mouse while playing most videos (mp4 and matroska)
  • Scrolling too fast in a file manager
  • Clicking and dragging to resize various windows (terminal, browsers, etc)

The system performs fine when:

  • Playing videos in a webm container
  • Playing videos in software like avidemux, kdenlive, gwenview, etc.
  • Streaming video in a web browser

The issue has persisted through these toubleshooting measures:

  • Update to latest BIOS firmware
  • Switching between Wayland and X11
  • Substitution of the PSU to a brand new unit

My assumption so far is that it's not hardware related. Currently I suspect it's Plasma. Below is the journal output of records around one such crash time of 5.19-5.20pm:

<journalctl /usr/bin/plasmashell>Jul 13 17:19:21 pcname plasmashell[1680]: kde.plasmashell: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.

Jul 13 17:19:21 pcname plasmashell[1680]: kde.plasmashell: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.

Jul 13 17:19:21 pcname plasmashell[1680]: kde.plasmashell: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.

Jul 13 17:19:21 pcname plasmashell[1680]: kde.plasmashell: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.

Jul 13 17:19:22 pcname plasmashell[1680]: kf.plasma.quick: Applet preload policy set to 1

Jul 13 17:19:22 pcname plasmashell[1680]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:195:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"

Jul 13 17:19:22 pcname plasmashell[1680]: Toolbox not loading, toolbox package is either invalid or disabled.

Jul 13 17:19:24 pcname plasmashell[1680]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"

Jul 13 17:19:24 pcname plasmashell[1680]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"

Jul 13 17:19:24 pcname plasmashell[1680]: qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) :

Jul 13 17:19:24 pcname plasmashell[1680]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString) in ./src/solid/devices/frontend/storageaccess.cpp:23

Jul 13 17:19:24 pcname plasmashell[1680]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString) in ./src/solid/devices/frontend/storageaccess.cpp:24

Jul 13 17:19:24 pcname plasmashell[1680]: kameleon supported false

Jul 13 17:19:24 pcname plasmashell[1680]: kameleon enabled true

Jul 13 17:19:24 pcname plasmashell[1680]: qml: SystemTray ItemLoader: Invalid state, cannot determine source!

Jul 13 17:19:24 pcname plasmashell[1680]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0

Jul 13 17:19:24 pcname plasmashell[1680]: error getting max screen brightness via dbus: QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/Solid/PowerManagement/Actions/BrightnessControl'")

Jul 13 17:19:24 pcname plasmashell[1680]: error getting max keyboard brightness via dbus QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'")

Jul 13 17:19:24 pcname plasmashell[1680]: org.kde.klipper: Invalid or non-local url for preview: QUrl("mtp:/Pixel 5/Internal shared storage/Tempfold/archive.zip")

Jul 13 17:19:25 pcname plasmashell[1680]: org.kde.pulseaudio: No object for name "alsa_output.usb-VIA_Technologies_Inc._Audinst_HUD-mx2-00.analog-stereo.monitor"

Jul 13 17:19:27 pcname plasmashell[1680]: file:///usr/share/plasma/plasmoids/org.kde.plasma.keyboardindicator/contents/ui/main.qml:61:13: Unable to assign [undefined] to bool

Jul 13 17:22:17 pcname plasmashell[1653]: kde.plasmashell: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.

Jul 13 17:22:17 pcname plasmashell[1653]: kde.plasmashell: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.

Suggestions for next steps would be welcome. Is it worth considering a rollback to the previous/older Plasma versions? Assuming Plasma doesn't like my DAC or keyboard or whatever, is it worth substituting or removing USB devices?

view more: next ›