Skip Navigation
linuxquestions

Linux Questions

  • Halp! Calibrating touchscreen on Panasonic CF-30

    Hey all! I've been having an issue I can't figure out. Suddenly, I realized I'm in the heart of Linux users! I can ask here! I'm a total noob, so please be gentle.

    I installed Xubuntu and got everything but the touchscreen working properly. The touchscreen works but the cursor is consistently off a bit, with the least error in the center of the screen and increasing as it moves to the sides. I've tried running xinput_calibrator but it doesn't help. I attempted to run libinput.calibrate-touchscreen but keep getting a "is a Wayland compositor running?" error message.

    Any suggestions?

    0
  • Help Needed: Configuring ASUS Fingerprint Sensor on Fedora

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

    > Help Needed: Configuring ASUS Fingerprint Sensor on Fedora > > 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.

    1
  • [PARTAILLY SOLVED] Installation with disk encryption on RPi 5

    cross-posted from: https://lemmy.ca/post/20291268

    I recently acquired a Raspberry Pi 5, but I've been having a lot of difficulty in getting LUKS encryption to work. Has anyone had any luck?

    Also, I am using an NVMe drive, so Raspbian is really the only OS that works well. NetBSD can see the disk, too, but I found it annoying to use; and FreeBSD ended up breaking itself. I have not yet tried Armbian.

    5
  • Broken home configuration in NixOS

    How do I fix my home dir with nix? It seems I have messed something up and now I can't install home manager. Anytime I try to install a package with nix-env it gives this error too:

    error: this derivation has bad 'meta.outputsToInstall'

    2
  • How do I change the font in FVWM-Crystal?

    I have just set up a Raspberry Pi 3B+ with Raspbian "Bookworm", and I have decided that the classic desktop environment, FVWM-Crystal, is the one that feels right. However, I don't seem to be able to change the font.

    Ordinarily, you would use the font selector dialog, but for some unknown reason it refuses to launch and I am unable to find it under /usr/bin, so I can't find out what's wrong.

    Does anyone know either how to fix the dialog, how to find the binary, or how to change the font without using the dialog?

    I understand that this is a very old DE, so if you can tell me about a newer alternative that looks the same and is equally lightweight, I'm all ears. Otherwise, please leave me to my madness.

    4
  • [Solved] Should new distro for dual boot be changing my ssd id numbers?

    Ok, so I had 1 ssd with Kubuntu and windows on it. I got a second ssd and I want to put opensuse on it, dual booting (well, triple). The problem is, when I went to install it, it showed the id of my two ssds as opposite of what the partition manager in Kubuntu says. I.e., Kubuntu calls the first one nvme0n1 and my new ssd nvme1n1, while the opensuse installer is calling the old ssd nvme1n1 and the new one nvme0n1. I know because it shows the existing partition sizes on them that way, and recognizes that windows and kubuntu are on the old ssd.

    So is this normal? Is this ok? Is it ok to just install it with the ssd names this way? Would that confuse kubuntu at all, or are the two OSes ok with calling them different things? I just don't want the installer to overwrite anything on my existing partitions.

    7
  • Using 3 monitors, one goes completely blank on certain pages in Lemmy. How do I fix this?

    If I have my browser maximized in my center monitor, whenever I go to search on Lemmy or go to my inbox and it is empty, the screen goes completely blank/black. It looks as if it lost power. If the browser is not maximized, it wont happen. This happens whether I use Chrome or Firefox. Any ideas on how to start troubleshooting?

    • OS: KDE Neon 6.0
    • KDE PLasma: 6.0.2 (happened with KDE 5.x too)
    • GPU: Nvidia GeForce GTX 1060 6GB
    • Monitor messing up in connnected to the HDMI port.
    • Other two monitors are connected (a) to the DisplayPort and (b) DVI-D
    6
  • Opinion Request - "Best" cli linux

    This will be for a physically small i5 laptop for various programming fun. The candidate linux should be easy to install, and provide a large selection of CLI programs.

    13
  • [Solved] Why does rsync change behavior in bash script?

    I want to sync retroarch save files across devices on my local network using a bash script. Plan is to run the script as a cronjob to keep all machines synced.

    This does the trick as a one-off in the terminal: rsync -a /home/localuser/.config/retroarch/states/ remoteuser@192.168.1.12:/home/remoteuser/.config/retroarch/states/

    • Copies new save files to remote location
    • Updates any save files which were modified

    But when I put the same line in a bash script rsync's behavior changes. My bash script looks like this: #!/usr/bin/env bash rsync -a /home/localuser/.config/retroarch/states/ remoteuser@192.168.1.12:/home/remoteuser/.config/retroarch/states/ I call it with bash sync_saves.sh

    • Copies new save files to remote location
    • Updates any save files which were modified

    Strangely, rsync doesn't update modified files when run as a script. But it's not failing altogether, because it transfers new files OK. What am I missing?

    > Update: if I do the rsync in the reverse order (remote machine -> local machine) then the bash script works as expected. So my issue exists only when rsync goes local machine -> remote machine. Why would this matter?

    Update 2 (Solution): I changed the command to rsync -razu /home/localuser/.config/retroarch/states/ remoteuser@192.168.1.12:/home/remoteuser/.config/retroarch/states/, but I'm not sure that made any impact. The issue was how I was doing my testing. I was doing touch testfile.txt to change the modification date on a file & then I'd try to transfer it with the bash script & watch the modification date on the downstream machine as confirmation that it moved correctly. Problem is that rsync must be smart & doesn't transfer a file if only the modification date changes. It requires the contents to also change. Whenever I tested this way I would never see the file transfer, but when I changed my testing method to change the contents of the file instead (not just the modification timestamp) then all worked fine!

    I feel like a dummy for initially mixing testing methods & coming to the wrong conclusion about what was happening, but happy it's working now & maybe I learned a lesson!

    5
  • [Solved] Can dual distros share /home?

    Briefly: I'm running Kubuntu right now, just installed a second ssd. If I install another distro (say opensuse) on it, can I tell it to use the same /home that kubuntu is using (which is on a separate partition and drive)? Actually looking to switch distros, but I want to keep all my data where it is on the bigger hdd, while moving games to the ssd.

    If you want/need more details:

    • ssd1: windows, kubuntu /
    • hdd1: kubuntu (opensuse) /home
    • ssd2: (goal) opensuse /, second partition for games
    13
  • [SOLVED - See comments] Is there a way to turn on/off a kwin effect via terminal?

    Title. Plasma 6 just dropped on my arch-based distro, and it came with an option for a colorblindness correction filter: !

    Neat little tool that my Protanope ass was very excited about, and it works.

    The thing is.

    Some time ago Windows also introduced one of those, and in Windows, you can turn it on and off with a key-combination shortcut. I use that a lot on Windows, to keep the filter off and turn it on just when it is necessary (look, every person experiences colorblindness differently, and on my end, these filters while useful for certain kinds of work, are very ugly most other times)

    Now, I already know I can set a key-combination shortcut to a terminal command on plasma. Easy peasy.

    But for me to do that on plasma I'd need to have a way to switch the effect on and off from the terminal.

    I know that I can do systemsettings kcm_kwin_effects to launch the configs app straight into the relevant tab. But now I'm wondering if I could make that even more automatic, maybe using the --args thing, which apparently is literally meant for sending commands directly to the configuration module. But then I wouldn't know what the command is.

    7
  • Turnkey ready immutable distribution to server podman containers for headless raspberry pi 4?

    I want to configure a Raspberry Pi 4 as a web (application) server.

    Although I could of course simply do it via Raspbian, I would love to use an Immutable/auto updating OS like Fedora Core OS/Fedora IoT/OpenSUSE MicroOS.

    To my surprise, every solution does not look very turnkey ready for Raspberry Pi 4.

    Please correct me, if I am wrong but it seems:

    • For Fedora Core OS/OpenSUSE MicroOS it seems like I have to download the firmware for the Raspberry Pi, partition the sd card by hand and afterwards login to configure WiFi and/or use an ignition file on a separate USB stick on boot

    • For Fedora IoT it seems I need a running Fedora system first (yes, I know about LiveCDs) and I still need to edit by hand the Wifi configuration How to install Fedora IoT on Raspberry Pi 4. Further, it seems Fedora IoT has 'fixed' version numbers and no automatic updates.

    So, my questions:

    • It seems Fedora IoT is the nearest fit for my use case and comparatively the easiest version to setup?
      • Am I missing out on Fedora Core OS or OpenSUSE MicroOS?
      • Are there other viable immutable options from reputable sources?
    • Does anyone know about an immutable distribution, where the initial setup is basically like Raspbians 'dd image to sdcard and copy user credentials and wifi config to the /boot partition.'?
    • How does Fedora IoT handle updates between versions (like Fedora 38 to Fedora 39)
      • Is it a regular update or do I have to tell the OS to update explicitly
    • Most important question: Anyone here has experience with running Rasbian and one of my options in practice and can give some advice/recommendations if immutable is worth it?
    6
  • [SOLVED] Sddm shows mouse cursor for a few seconds before crashing to a black screen

    Rebooted my computer earlier today and walked away while it did its thing. When I got back to to it some minutes later, I saw a black screen with that "_" text cursor flashing on the topleft corner. Which was, of course, odd.

    Hitting Ctrl+Alt+F2 sent me to the TTY. Which is to say: The system was still up, and indeed, calling for a process manager loaded showed that sddm was still running, as were a bunch of other processes.

    Still, attempts to get sddm to do its thing failed. I tried to systemctl restart the sddm service, I tried to reboot the computer. I tried to delete customizations to its config files in case they were breaking something.

    In all of those cases -- Title happened. The mouse cursor would show up for a second or two. And then it'd kick me back to the black screen with text cursor because something was fucked.

    I eventually managed to get to my desktop by entirely disabling the sddm service, rebooting so I'd just get the TTY, and then doing dbus-run-session startplasma-wayland to run Plasma manually once logged in (thank FUCK for smartphones and access to internet search on them for helping me figure this out).

    So that's a workaround, and it sorta works but I'd like to get my display manager back, please. :P

    Further information:

    • I am running EndeavourOS.
    • As implied, I use KDE Plasma under Wayland as my DE.
    • I have an AMD GPU
    • I am at the latest version of every relevant package -- The reboot I mentioned at the start of the thread was just after running a sudo pacman -Syyu
    • I did try to search for my specific issue but nothing relevant came up? A lot of older issues, under X11, and most involving NVidia stuff. None seemed relevant to my case.
    • Having found the workaround I used the computer all night and had no other issues, which to me signals it's something about sddm and ONLY sddm that is broken, whether it's some config that got fucked up or some bs with my own incompetent package management.
    • I am, of course, able to provide logs and stuff if you tell me which ones and where to get them, cuz yeah.
    7
  • [SOLVED] Ffmpeg makes choppy videos when recording audio

    Well, my issue is simple to explain, but I tried everything to solve it without success.

    I like recording gameplays, just for fun. The game I currently make recordings for is not resource heavy (it's Doom 2 through GZDoom). I'm using Lubuntu 22.04.

    So, here is the command I've just used:

    ffmpeg -f x11grab -draw_mouse 0 -framerate 30 -probesize 42M -video_size 1920x1080 -i :0 -f pulse -i default -c:v libvpx-vp9 -r 30 -g 90 -quality realtime -frame-parallel 1 -qmin 4 -qmax 48 -b:v 4500k -c:a libvorbis prueba.mkv

    The issue is, if I record without including the audio, then the video plays smoothly after being recorded. But if I record including the audio, no matter what parameters, codecs, bitrate or anything I use, then the video is barely watchable, with lots of choppiness, and even with delay between audio and video, apparently.

    SimpleScreenRecorder works fine, but sometimes there are few frames dropped and I don't like it much. OBS is very heavy for my hardware (Mac Mini 2016, Intel Core i5 1.4 GHz 4260U, Intel HD Graphics 4000, 4 GB RAM).

    I also tried VAAPI, with same results as above.

    And the thing is that I remember recording some years ago, with no issues at all.

    I don't know what to do. Any tip or solution?

    8
  • Installing Kubuntu but too small USB

    I feel stupid, but I want to install Kubuntu, as a dual boot for my windows 10 PC. I am a total rookie with linux. Maybe even less than rookie. I have 3 Flash usb sticks, but one of them seems broken, and the two others too small. I also have a USB card reader, where I can put an SD card in but I don't seem to be able to boot from that.

    I also tried a trick with Unetbootin, but windows wouldn't let me boot from that either, even though it gave me the option to, on restart.

    My question is, can I install a smaller version of Kubuntu from my 3,8Gb usb stick and upgrade to the newest version later, after it has been installed? I am not totally locked to Kubuntu, but I think that i have read that its the best version for beginners. I will easilly be convinved to another version though, if you guys think its better

    9
  • Podman loses access to my GPU when I log out

    I have lingering setup and I can still access the container but for what ever reason Podman seems to be unable to access the GPU for no apparent reason.

    I think this may be an issue with systemd but I'm not entirely sure.

    Solution: you need to be logged in for it to work. I accomplished this on a separate VM with autologin to icewm.

    7
  • How to pass though battery status to KVM guest?

    I'm looking to pass though host power information to allow for the guest os to adjust power usage.

    0
  • How good/bad are the Linux drivers for Intel Arc GPUs right now?

    Title. Been meaning to upgrade my GPU, and Intel Arcs are undercutting their AMD equivalent by quite a bit?

    But like, I am not going to switch back to Windows. And I don't want to spend a lot of money on a new computer part just to learn it doesn't support my OS properly.

    Now. I did search for this and found a phoronix benchmark thing -- But it's from almost a full year ago.

    So.

    Anyone have an Intel Arc GPU and can tell how they are doing as of now?

    13
  • Safe Graphics Mode after updates [KDE neon]

    I installed ~300 updates via Discover a couple of nights ago. I sensed something had gone amiss when Firefox both crashed and wouldn't resume after I opened a brand new session (ie. no tab reloads). I got the crash report box, then a subsequent crash.

    Full reboot. Up comes the login screen. The password field cursor is unresponsive to keyboard input, and isn't blinking. The virtual keyboard button isn't responsive either, despite my having mouse movement. I then reboot, this time via recovery mode, which loads the crappy fallback graphics driver with only 1024*768 resolution available. This persists after package repair attempts and sudo apt autoremove to clear disk space. My AMDGPU drivers don't seem to be functional at all.

    var/log/apt/term.log (below) reveals the latest driver versions are 24.x. Presumably these were upgraded during the update, prior to which I was on an earlier working version? That's all I can think of.

    What other logs should I consult for troubleshooting? Would driver reversions work? How do I get back to a normal display? Your input is appreciated!

    Preparing to unpack .../libglapi-mesa_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking libglapi-mesa:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Setting up libglapi-mesa:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Preparing to unpack .../libgbm-dev_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking libgbm-dev:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Preparing to unpack .../libgbm1_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking libgbm1:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Setting up libgbm1:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Preparing to unpack .../libegl-mesa0_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking libegl-mesa0:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Setting up libegl-mesa0:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Preparing to unpack .../libgl1-mesa-dri_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking libgl1-mesa-dri:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Setting up libgl1-mesa-dri:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Preparing to unpack .../libglx-mesa0_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking libglx-mesa0:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Setting up libglx-mesa0:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Preparing to unpack .../025-libegl1-mesa-dev_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking libegl1-mesa-dev:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Preparing to unpack .../048-libosmesa6_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking libosmesa6:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Preparing to unpack .../060-libxatracker2_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking libxatracker2:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Preparing to unpack .../080-mesa-va-drivers_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking mesa-va-drivers:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Preparing to unpack .../081-mesa-vdpau-drivers_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking mesa-vdpau-drivers:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Preparing to unpack .../082-mesa-vulkan-drivers_24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4_amd64.deb ... Unpacking mesa-vulkan-drivers:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) over (23.3.3+git2401121944.151cd31e051~j~mesarc4) ... Preparing to unpack .../102-xserver-xorg-video-amdgpu_23.0.0+git2401241940.4d7a9a6~j~mesarc0_amd64.deb ... Unpacking xserver-xorg-video-amdgpu (23.0.0+git2401241940.4d7a9a6~j~mesarc0) over (23.0.0+git2309251950.31a092a~j~mesarc0) ... Setting up mesa-vulkan-drivers:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Setting up mesa-vdpau-drivers:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Setting up xserver-xorg-video-amdgpu (23.0.0+git2401241940.4d7a9a6~j~mesarc0) ... Setting up libgbm-dev:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Setting up libxatracker2:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Setting up mesa-va-drivers:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Setting up libosmesa6:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Setting up libegl1-mesa-dev:amd64 (24.0.0~rc3+git2401302259.6dadb9b032c~j~mesarc4) ... Further info

    • KDE neon 5.27, dual boot
    • Kernel 6.5.0
    • X11
    • GPU R9 390, single monitor setup
    1
  • [SOLVED] Is it possible to add smaller icon sizes for GNOME Nautilus?

    Hello guys, I have a question about GNOME Nautilus and the sizes of icons in list view. In the included screenshot, you can see the list view of my home folder with lowest icon size. However, the entries are still rather tall compared to other file managers. To reduce the need of scrolling, I would like to reduce the icon size further. Is there any way to do this? Thanks!

    Edit: The issue is resolved now. I found out, that padding is too large in the theme I use. The issue was already fixed upstream, only had to apply one commit to fix.

    11
  • [SOLVED] How to customize dead keys under Wayland / Electron apps?

    EDIT: Solved! Check this comment!

    I use a keyboard with an american layout. I find it much better for coding and actually love this keyboard to pieces. However, I still need to write in portuguese.

    The dead keys in Microsoft Windows worked perfectly for me but the Linux ones do not. Some characters are not available and are replaced by characters that don't exist in the portuguese language.

    In X11 I fixed this by using an .XCompose file with the keybinds just like in Windows. Source here, it works perfectly.

    In Wayland, the .XCompose file works for pretty much all apps. Firefox is fine, kitty is fine, Vivaldi is fine. Unfortunately electron apps with the --ozone-platform-hint=wayland ignores the .XCompose file and I get the default keybinds. Since I own an nvidia card I really need these flags, otherwise the electron apps will aggressively flicker and/or eat letters while I'm typing.

    I've searched far and wide, there are several open bugs in chromium, electron and wayland repositories. Everyone seems to be pointing fingers at each other for years and no workaround to make .XCompose work seems to be available.

    I'm wondering if there is an alternative way to customize the dead keys under Wayland. Thanks in advance.

    1
  • Program to send keystrokes to a remote PC

    Here is my problem:

    Our TV is connected to a SBC running a GNOME/Wayland desktop, where we watch Jellyfin and sometimes Netflix/Hulu through Firefox.

    I'd like to be able to trigger pause/play (space button) from Home Assistant, which is running on my home server.

    What I am thinking of would be a server/daemon running on the TV computer that my home server would be able to send keys to via a CLI tool (in this case the space key). I am surprised to find that I cannot locate any program like this.

    Can anyone provide any suggestions here?

    Other ideas:

    • Jellyfin's HA integration doesn't let me pause/play from it, and that still doesn't handle Hulu/Netflix.
    • I was able to get this working through SSH and there are tools like ydotool/wtype here that work, but I found waiting for SSH to be a bit slow to connect.

    Update: I got frustrated and coded up a solution: https://gitlab.com/neilsimp1/kbsrv

    10
  • Nvidia prime on Wayland

    Can I get a better Nvidia+Wayland experience by using prime and connecting the display to an AMD iGPU? I saw that in the last year Nvidia Prime had some improvements, do they make it feasible?

    I can't just try it because I have yet to buy said AMD iGPU. And I'd like to know it before buying

    0
  • Why do I see a black screen with a random number on boot?

    For reference I use MX Linux with Systemd enabled.

    I'm pretty new to Linux and have been running this for around a month. Everything was perfectly fine until yesterday (7th) when, on booting, I saw a glimpse of the logon screen for a second and was then taken to a black screen with some white text that read "[7.300130]". Searching for this number doesn't bring up anything.

    Eventually I found that I could get into a terminal here by pressing ALT+F1. I also found a lot of people suggesting that if you get past grub and then have a very similar problem (blank screen, flashing cursor rather than a number) then it could be graphics drivers so I uninstalled and reinstalled them to no avail.

    Somewhat embarrassingly, the eventual solution was very simple. After I opened the terminal with ALT+F1 I could get back to the GUI with ALT+SHIFT+F7 and.. everything was fine.

    Still though, whenever I boot now, I get a glimpse of the logon page, then the black screen with the number, and then doing the shortcuts above gets me back to the logon screen and after that everything is normal.

    My first instinct is to say some update on the 6th must have caused this. I have checked /var/log/apt/history.log and I did run apt upgrade on the 6th but the only update was to mx-welcome which I don't think is relevant.

    Although it's only a minor nuisance I would like to not have to do this every time I boot. Any idea what this is?

    6
  • Apps won't launch from GUI?

    I've noticed that some apps sometimes don't start from the GUI. I've seen it on several computers (all running Ubuntu 22.04). That includes double-clicking an appimage icon from an explorer window, or launching an app through a launcher shortcut. But if I open them manually from a terminal window they never fail to start.

    The terminal workaround is fine... But any ideas what could be wrong with the GUI? Is there a service I can restart to try to get the functionality back?

    EDIT: I'll add that the issue is sporadic. Steam will open fine from the GUI today, but tomorrow it won't, etc. (It's not as simple as a bad path in a shortcut)

    2
  • Trouble installing adguardhome with Docker on Linux Mint

    I'm very new to Linux but have wanted to set up a media server since the early 2000's so I've finally set up a mini-pc with Mint and I was roughly following this guide that I'd found on Lemmy Complete Guide to Building.... I've had very little luck with the instructions provided in the link but like most of the suggested packages and have successfully gotten OpenSSH, Jellyfin, Docker and Docker Composer installed and working as far as I know. The newest problem that I'm having trouble finding an answer to is while following the instructions on hub.docker.com.

    I have pulled the Docker image but when I go to create and run the container I get a message docker: invalid reference format.

    I believe I have everything entered exactly as I'm supposed to:

    $ sudo docker run --name adguardhome --restart unless-stopped\ > -v /home/justin/server/adguard/workdir:/opt/adguardhome/work\ > -v /home/justin/server/adguard/confdir:/opt/adguardhome/conf\ > -p 53:53/tcp -p 53:53/udp\ > -p 67:67/udp -p 68:68/udp\ > -p 80:80/tcp -p 443:443/tcp -p 443:443/udp -p 3000:3000/tcp\ > -p 853:853/tcp\ > -p 784:784/udp -p 853:853/udp -p 8853:8853/udp\ > -p 5443:5443/tcp -p 5443:5443/udp\ > -d adguard/adguardhome

    Does anyone have any advice for me?

    1
  • How is multi-monitor on linux?

    I'm considering buying second small touchscreen monitor, but I've been only ever running single monitor setup. How much hassle would it be? Is it possible to make mouse captive to primary monitor, and operate this secondary only as touch? Would running screens at different resolutions be a big problem? Running KDE on Wayland, AMD graphics.

    15
  • [SOLVED] TFTP error: "Only absolute filenames allowed"

    Workaround

    I'm not sure what was going wrong with what I was doing initially, but, thanks to @tapdattl@lemmy.world, as suggested, I disabled the tftp server system service, and, instead, started it with the following command: sudo in.tftpd -L /srv/tftp --verbose --permissive -s and it then flashed successfully.

    Original Post

    I'm trying to flash firmware to a router (Archer C7) using TFTP, but, when the router makes the request for the firmware file over TFTP, the TFTP server responds with the following error Error code: Access violation (2) Error message: Only absolute filenames allowed

    ---

    This is the config for tftpd in /etc/conf.d/tftpd: TFTP_OPTIONS="-s" TFTP_DIRECTORY="/srv/tftp" TFTP_USERNAME="tftp" TFTP_ADDRESS="192.168.0.66:69" I have the firmware file in /srv/tftp, and both the firmware file, and /srv/tftp have chmod 777 permissions.

    The TFTP server is running on Archlinux, and is installed as tftp-hpa from the arch repos.

    ---

    If I test as a client, I can get it to download if I specify the full (absolute) path to the file /srv/tftp/filename, so it seems that the config isn't pointing the server to /srv/tftp as the relative path... How would I go about fixing that?

    4
  • Battery monitor script not working

    Hi, I’m using riverwm & the battery monitor script i’m using is working on terminal but not working through the autostart file. I have given it the executable permission.

    ~/.config/river/scripts/bat_status_notifier.rb &

    9
  • Why does my ~/.local/bin contain a bunch of python executables?

    I was just about to try to compile btop with cmake, which gave me some errors about python. which cmake returned ~/.local/bin/cmake which made me curious. After listing ~/.local/bin I found several files there, which all have a similar script within them. `from import main` ``` #!/usr/bin/python3.11

    -- coding: utf-8 --

    import re import sys from cmake import main if name == 'main': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main()) Have I caught some sort of malware/virus? Are these save to remove? I know that pip installs `--user` binaries into ~/.local/bin, but after inspecting it, there are just these pip list --user Package Version ------------ ------- configparser 6.0.0 protonup 0.1.5 razer-cli 2.2.0 ```

    2
  • Looking for a modern, usable Linux OS preferably immutable

    I have been trying some of the immutable linux OSes because from what I understand they are more modern and feature better security and reliability. What I have found so far is shocking. Half of these don’t support my laptop (probably because it’s nvidia optimus). Some I tried like guix were very difficult to install, configure, and use with sprase documentation. Good luck trying to use KDE, wayland, or pipewire for example. BlendOS was notably better and could at least run on my laptop but chocked with nvidia driver issues.

    I have switched to pop os on my laptop for now but looking at alternatives and what to install on my desktop.

    9
  • Kali Linux seems really interesting, but how do I learn all the tools just for fun?

    I have no intentions of actually using Kalis long list of tools for any real reason, but I really like learning new stuff. I thought it'd be fun to crack my own wifi password and stuff like that just to understand how it all works. Is there any good place to learn how to use the tools, and how they work?

    Otherwise, I can just Google each tool and learn that way. I didn't know if there was a good "step by step" guide of what I should learn and in what order though

    6
  • [SOLVED] How do I go about switching from X11 to Wayland? (also, should I?)

    General information:

    • I'm using EndeavourOS, with KDE Plasma. I am very happy with my setup as it is, but since Wayland is "the future" I'm thinking of getting a move on.
    • It came default with just X11, no Wayland. I know KDE supports Wayland but have no idea how to switch.
    • I play a lot of games, I read somewhere that Wayland has worse gaming performance. I don't know if true or not, though.
    • ... I have an AMD GPU. I'm not enough of a masochist to try and use Linux with NVidia.
    • ..... BUT I've been thinking of upgrading to an Intel Arc GPU in the nearish future.

    Let me know if there is any, more important, specific info I should be giving.

    EDIT: I have changed. ... I felt no difference, but I suppose that is the whole point. Thank you to everyone who answered.

    6
  • Is there Linux software that I could make a PDF(or any format) by copy/pasting screenshots into a page, but also have the ability to spoiler blur/hide them until clicked?

    I broke my old laptop, and decided to full send Linux Mint on the new one without ever using Linux before. I'm trying to help some people study math. I want to put together like 10 questions, and below them have the answers as well as the shown work to get to the answer. I'd like to be able to blur/black the answer section out until clicked or something.

    I can always put the answers on a separate page or something, but thought I might as well see if Linux has something to offer

    I could also code something into a webpage, but I was just looking for convenience

    Thank you!

    7
  • How did linux fix my macbook trackpad?!

    Ok so I have a Macbook Pro 12,1 and the keyboard/trackpad has been dead for a few months, or so i thought. I installed linux in a seperate partition and when it booted, lo and behold, a working damn keyboard and mouse! Boot camp/windows hadn't fixed the issue and it still is broken when i go back to MacOS.

    Now i have to wonder, is there a way I can get those drivers from linux that make the keyboard function work on MacOS? I'm running linux lite 6.6 (which i guess is a branch of ubuntu) and MacOS Monterey if that helps..

    Sticking with ubuntu lol

    14
  • Trying to setup "sunshine" on linux using "Nobara"

    Hello, I am trying to setup sunshine (the RPD client) to work on linux using Nobara distro and am running into a "Fatal: Couldn't find any working encoder" I also told me to run -Dvideo-codecs=h264enc,h265enc but that returns "Command not found". Any help would be appreciated. Also just tips in general new here.

    Edit: Or if someone has a better or easy RDP solution that helps too I don't mind streaming games through steams own remote play but I wish to be able to remote in from my phone elsewhere to do non gaming things.

    Thanks

    5
6 Active users