linux4noobs

1904 readers
60 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 2 years ago
MODERATORS
1
 
 

It may be too much to ask but here it goes:

I have temporarily installed LMDE6 on an HDD where I had a bit of free space, worked with it, experienced Steam with Proton and now I am convinced: I want to move to Linux from Windows for good.

Have another disk, an SSD in which most of the space is taken up by the Windows C: partition. Would like to move Linux there after shrinking the Windows partition a bit more than what it currently occupies now.

I have tried to do this with Paragon on Windows, but after restarting no change can be seen, despite no error being presented. Tried from Linux with GParted but all attempts end up with an error when running ntfsresize.

So

  1. What do I use to do this and how do I do it safely? 2.How do I move the content of my current Linux partition (less than 50 GBs) to that disk keeping the bootloader and everything else working? And what filesystem is best to use?

Thank you in advance for your help!

2
 
 

My image viewer (Xviewer) is sufficient for converting still images to still Webp by just "Save as...", but Xviewer and Pinta only produce still single-frame webps from animated GIFs.

3
4
 
 

So, I'm hoping to reduce the substantial screen tearing that I'm encountering while watching videos.

One of the suggestions that I have found is to enable wayland, which did help quite a bit (this is the guide I found). However, I've decided I don't really want to use gnome. Gnome seems great, but I've already become accustomed to using cosmic.

Apparently pop os is in a transitionary phase and will eventually update to wayland as the default, but I'm just wondering if there's other desktop environments I should be considering? I see that Fedora now comes with a KDE cosmic variant, but I don't know if this would be any better or not.

Edit:

I ended up installing kde plasma standard desktop environment (which was listed here). Upon booting into the login screen there's a big on-screen keyboard. Hit enter to bypass it. In the dropdown menu on the top left of the screen, there is an option for 'pop on wayland'

So far, everything seems to be working good. I had to change the steam client to the 'proton hotfix' to get one of my games to play.

5
12
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/linux4noobs
 
 

Hello, I am looking for help with some small issues I've been having with gnome (bazzite), mostly annoyances. Their discord is okay ish as a resource but takes a long time to get replies to specific issues, especially when they are more generally Linux questions and not specific to bazzite. So here goes:

I have 3 drives installed, one of them an old HDD for media storage. During the bazzite setup I selected all of them to be included since was about to reinstall the OS (and had them retroactively mounted in the old install and figured they might be treated more natively this way in the new installation).

Well the plan worked too well, and I now have no discernible drives I can locate individually outside the drive manager app, which doesn't really bother me beyond not knowing if the system will use it inefficiently (I.e store things aside from data and media on the slow HDD). Is there a way to configure how it will use the drives?

Second, I was given a pre-made admin account during setup. I really want to not have to log in with a password on each boot, is it possible to skip (only) that somehow and auto log in? I still like the password for admin level privileges.

And last, part of the reason for my reinstallation was constant issues with the stupid keyring app (seahorse?). Most of the time it would prompt me on boot, when my VPN app would try to retrieve its credentials, to set up a new keyring for it despite there being literally dozens of keyrings from its previous boots with the needed info, all freely accessible.

I have so far begrudgingly refrained from installing the VPN again because I want to find a solution for this first; and discovered that i can also set up a VPN connection directly in the OS. However from what I can tell this would prevent me from switching locations / slow servers easily, is there an alternative I am missing such as a different keyring app I could install or a function in Linux to change servers effectively (with load info and preferably without having to set up vpns manually for all the hundreds of possible servers I can choose from my VPN provider)?

Thank you for reading the wall of text this has become πŸ‘€

TLDR:

  • different types of hard drive are being used. How does the system, which manages them apparently as one, utilize them?

  • pre made admin account requires password which makes login tedious. How to skip the password only for login?

  • keyring issues. Is there any alternative to it?

6
 
 

I'm getting ready to switch but there are a few things that I could not figure out how to do optimally. Here's one of those, maybe you can help me with that:

For the past 30 years on Windows when I found a new application I wanted to use I put it in D:\Tools. Almost all applications don't actually need to be installed even if they are only distributed in an installer. That meant that to move my tool collection to a new computer I pull out the D-Drive, mount it in the new computer as D and I'm instantly ready to go.

On Linux there are 2 scenarios flatpak or traditional Package Manager distributions.

For flatpaks putting them on a specific drive seems easy enough.

But how do I handle applications that are not (yet?) available as a flatpak? I tried Nix but decided I'm not ready for that. I could put everything in a bash script but that seems clumsy and would be work to maintain. Is there any other clever way to avoid manually installing my defaults when I updgrade / reinstall my OS?

7
 
 

Hello all, Recently Firefox 137 was announces with the addition of HEVC playback with hardware acceleration support for Linux. I am using Firefox 137 installed via DNF on Fedora 41, but if I try to play HEVC video for example from my Jellyfin, it will have to transcode, if I go try this test sample it straight up not play, so what's up with that ? Playing content with mpv will work just fine. Firefox also reports HEVC decoding as supported. Same result with both my desktop with AMD iGPU and dGPU, as well as my laptop with just Intel iGPU.

vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 25.0.2 for AMD Radeon RX 5700 XT (radeonsi, navi10, LLVM 19.1.7, DRM 3.61, 6.13.10-200.fc41.x86_64)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
8
 
 

I have Not Made (conciously )Made any Changes. Also the device ist using huge amounts of battery when simply closed.

There IS a Chance, that the Cat changed settings when sitting om the Keyboard -.-

9
 
 

Hello everyone.

I started my PC for the day and cannot access my LAN and have no internet using the internal NIC on my Asus B550-F motherboard and a separate PCI NIC as well. Booted into a Fedora LiveCD and do have internet on Firefox. The PC was working perfectly last night when I shut it down.

My GL-MT6000 router sees the PC as a wired client and issued its static IP, but I cannot ping the PC from any other computer on the same network.

I'm pretty new to Linux, so I'm not sure what info to supply, but I'm hoping someone can offer a useful suggestion.

Thanks very much!

10
10
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/linux4noobs
 
 

System: Linux Mint 22.1 Xfce, with the following golang files installed.

Screenshotgolang files installed on my Linux Mint 22.1 Xfce system

I'd like to install meme

But when I try the installation instruction from the GitHub page, I get

$ go get -u -v github.com/nomad-software/meme
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

When I replace get with install, I get:

$ go install -u -v github.com/nomad-software/meme
flag provided but not defined: -u
usage: go install [build flags] [packages]
Run 'go help install' for details.

go help install returns an overwhelming amount of info I don't understand.

There is no package in the repo, and no .deb or .appimage on the GitHub Releases page. (I don't do Flatpaks on this machine.) Any tips on how I can get this program to install?

Thanks

EDIT

I've got a little further now.

$ go install github.com/nomad-software/meme@latest
go: downloading github.com/nomad-software/meme v1.0.2
go: downloading github.com/fatih/color v1.15.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.19
go: downloading github.com/fogleman/gg v1.3.0
go: downloading golang.org/x/sys v0.12.0
go: downloading github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
go: downloading golang.org/x/image v0.12.0

But:

$ meme -h
Command 'meme' not found, did you mean:
  command 'mme' from deb plc-utils-extra (0.0.6+git20230504.1ba7d5a0-1)
  command 'mame' from deb mame (0.261+dfsg.1-1)
  command 'memo' from deb memo (1.7.1-5)
Try: sudo apt install <deb name>

EDIT 2:

To get it working:

  • Go to my home directory
  • Show hidden files
  • Open .bashrc in a text editor
  • Add the following at the end of the file
# meme path
export PATH="$HOME/go/bin:$PATH"
  • Save the .bashrc file

Now I can open a terminal and use the program. :)

Thanks to [email protected]

11
 
 

cross-posted from: https://lemmy.world/post/27601594

cross-posted from: https://lemmy.world/post/27385536

I have a rather large Python script that I use as basically a replacement for autohotkey. It uses pynput for keyboard and mouse control - and at least on Windows, it works exactly how I expect.

I recently started dual-booting with Linux and have been trying to get the script to work here as well. It does work but with mixed results - in particular, I found that pynput has bizarrely wrong output for special characters, in a way that's both consistent and inconsistent.

The simplest possible case I found that reproduces the error is this script:

import time
from pynput import keyboard

# Sleep statement is just to give time to move the mouse cursor to a text input field
time.sleep(2)

my_kb = keyboard.Controller()

text = 'πŸ†' # Eggplant emoji
my_kb.type(text)

time.sleep(1)

text = 'π•₯𝕖𝕀π•₯' # blackboard bold test
my_kb.type(text)

time.sleep(1)

text = '𝐭𝐞𝐬𝐭' # bold test
my_kb.type(text)

When I run that script right now, it produces the output "πŸ†π•₯π•₯𝕀π•₯𝐭𝐭𝐬𝐭". And if I run it again, it'll produce the same output. And if I change the eggplant emoji to something else, like the regular character 'A', it will still produce the same output (specifically "Aπ•₯π•₯𝕀π•₯𝐭𝐭𝐬𝐭"). But... If I log out and log back in, then the output changes to something else that's still wrong, but differently. For example, when I changed the eggplant to a regular 'A', then relogged, the output became "Aπ•₯𝕖𝕖π•₯𝐭𝐞𝐞𝐭". And then that wrong output will keep being the same wrong output until I log out and back in again. If the test strings don't change, then the incorrect outputs don't change on relog - but if they do, then they do.

In the larger script, errors seemed to chain together somehow - like if I produced an eggplant emoji, then tried to write blackboard bold test, I would get "πŸ†π•–π•€πŸ†". This is despite verifying just before running the pynput.keyboard.Controller.type function that what it was about to type was correct. The issue also happens if I type it character-by-character with press and release functions.

I am very new to Linux. I'm on Linux Mint. I'm running this in a python3 venv that just has pynput and two other external libraries installed. ChatGPT thinks the issue might be related to X11. The issue does not occur at all on Windows, using the exact same code. On Linux there seems to be no issues with typing regular text, just special characters.

12
10
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/linux4noobs
 
 

Distro: Linux Mint Cinnamon

I use a different Browser and hence uninstalled firefox. But it still receives updates through the system, same with thunderbird. My upgrade manager flags them as security updates sometimes, so I install them. But are they actually necessary? Can I make my system filter them out when updating, or is that a bad idea?

Solution: run dpkg -l "*firef*" to find there were still firefox packages installed. Removed them. Hopefully did the trick.

13
2
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/linux4noobs
 
 

I'm using CachyOS (Arch) with BTRFS. And tried to restore snap of root subvolume and it didn't work ( see previous post ).

If I remember correctly, i successfully restored root subvolume before. Take it with a grain of salt.

Some people on my previos posts said that I shouldn't have tried restore root subvol while system is actively running through the subvol.

Now my question is,

How to restore a snap of root subvolume ?

Edit: I know how to restore a snapshot. Just need help with root subvol snapshot.

I use BTRFS Assistant with snapper. And rEFInd doens't have boot to snapshot option. (I installed and it didn't work )

14
 
 

Sometimes when I restart my computer ill click cachyos in refind and itll just keep restarting until eventually it boots when I click it, sometiems when I start my computer its in the cachyos bootflags editing screen? How do I reset my bootflags to whatever was default if I accidentally changed them. Once it eventually launches it runs fine, but I have to goto the lockscreen to shutdown.

15
18
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/linux4noobs
 
 

Hello.. new Linux convert here, mostly been using the web interface (alexandrite) and Connect on my phone. But I'm wondering what's good on Linux. I'm on Arch btw, lol. :P thanks!

EDIT: ok, sounds like browser it is. Thanks all!

16
 
 

I know spice and virtio exists but the support for GPUs is a hit or miss and good luck trying to make it work on iGPU, without 3d support it's pretty slow even on basic desktop usage.

17
1
... (sh.itjust.works)
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/linux4noobs
 
 

.

18
15
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/linux4noobs
 
 

Context: I updated my CachyOS (Arch) BTRFS system. Some new things caused few problems especially brave browser(missing tabs), some icons missing.

So I wanted to go back to previous snapshot.

What I did: I first restored my home subvol which I saved before update. I worked.

Then I tried to restored my root partition. This is where I got the problem.

I got this error.

1001090084

I would really appreciate URGENT help

If you need any more details I can provide.

EDIT

  1. I used BTRFS Assistant to restore the root partition. And I did it while the OS is running.

( I previously did that and got no issues )

  1. I pressed crtl+d and got πŸ‘‡πŸ½

  1. I typed my password and went into maintenance. Typed journalctl -xb and got 2667 lines πŸ˜΅β€πŸ’«. While scrolling mindlessly, this looked like something πŸ‘‡πŸ½

πŸ‘‰πŸ½

πŸ‘‰πŸ½

  1. This is my refind_linux.conf πŸ‘‡πŸ½
"Boot with standard options"    "quiet zswap.enabled=0 nowatchdog splash rw rootflags=subvol=/@ cryptdevice=UUID=60ecb22d-7685-43c2-ae2a-a2ad0c531cc7:luks-60ecb22d-7685-43c2-ae2a-a2ad0c531cc7 root=/dev/mapper/luks-60ecb22d-7685-43c2-ae2a-a2ad0c531cc7"

"Boot to single-user mode"    "quiet zswap.enabled=0 nowatchdog splash rw rootflags=subvol=/@ cryptdevice=UUID=60ecb22d-7685-43c2-ae2a-a2ad0c531cc7:luks-60ecb22d-7685-43c2-ae2a-a2ad0c531cc7 root=/dev/mapper/luks-60ecb22d-7685-43c2-ae2a-a2ad0c531cc7" single

"Boot with minimal options"   "ro root=/dev/mapper/luks-60ecb22d-7685-43c2-ae2a-a2ad0c531cc7"


  1. This my OS partition πŸ‘‡πŸ½

  1. This is my subvol layout πŸ‘‡πŸ½ (CachyOS default)

19
11
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/linux4noobs
 
 

I updated arch. After the update mangohud is not showing any GPU stats except GPU model.

I was working perfectly fine before.

Config πŸ‘‡πŸ½

################### File Generated by Goverlay ###################
legacy_layout=false


background_alpha=0.6
round_corners=10
background_alpha=0.6
background_color=000000

font_size=24
text_color=FFFFFF
position=top-left
toggle_hud=Shift_R+F12
no_display
pci_dev=0:0000:00
table_columns=4
gpu_text=GPU
gpu_stats
gpu_load_change
gpu_load_value=50,90
gpu_load_color=FFFFFF,FFAA7F,CC0000
gpu_temp
gpu_power
gpu_color=2E9762
cpu_text=CPU
cpu_stats

cpu_load_change
cpu_load_value=50,90
cpu_load_color=FFFFFF,FFAA7F,CC0000
cpu_temp
cpu_power
cpu_color=2E97CB
vram
vram_color=AD64C1
ram
ram_color=C26693
procmem
fps
fps_metrics=avg,0.01
gpu_name
frame_timing
frametime_color=00FF00
fps_limit_method=early
toggle_fps_limit=Shift_L+F1
show_fps_limit

fps_limit=144,90,60,45,30
fps_color_change
fps_color=B22222,FDFD09,39F900
fps_value=30,60
#offset=0







output_folder=/home/user
log_duration=30
autostart_log=0
log_interval=100
toggle_logging=Shift_L+F2



20
5
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/linux4noobs
 
 

What it says on the tin. Power management is set to turn my monitors off after a set amount of time. They all instantly come back on. I have resorted to using a screen saver in X11 until this is solved.

Three monitors, different brands: one hdmi->hdmi, one dp->hdmi, dp->dvi (pc->monitor)

Only one of the monitors have input auto-switching and that is disabled.

I am losing my mind even the cli xset dpms force off (X11) or kscreen-doctor --dpms off (Wayland) just has them come back on seconds later.

All the A/V cables are new.

Any suggestions would be appreciated.

21
 
 

The tmp file doesn't exist after i clicked cancel

22
5
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/linux4noobs
 
 

cross-posted from: https://feddit.nl/post/29272050

Hi there.

Since I'm using Windows10 on decade-old hardware (can't upgrade to Windows11 even if I wanted to) I've decided to check out what Linux is all about. After a couple of flowcharts wanted to try out Mint. Bought a fresh USBstick, downloaded the ISO, flashed it with Balena Etcher, created a separate partition on a HDD in the case I decide to fully install it.

Trying to boot I get the options to select any bootable media, but choosing either UEFI or the other option to boot from the USB drive I get to a menu where I can select to boot to Live or in compatibility mode (among others), but whatever I choose I end up with rolling errormessages, main one being /init: line 38: can't open /dev/sr0: No medium found Googling around I've tried unplugging the USB and using it in another port, enabling/disabling stuff in the bios (but I have no idea where to start or what stuff actually does) but nothing really works.

After some time (10+ minutes) of rolling errors I get the prompt to boot from URL (or something), haven't tried that yet as I don't know if the network is even enabled...

So I have the next questions: Where do I begin with troubleshooting? Is there a way to interrupt the stream of errors it keeps spitting out for more than 10 minutes? Once the errors stop I seem to be in a full screen terminal with an unsuccessful boot, can I try to get it to boot from there?

Update: Ventoy seems to be more promising, it's got a nice menu and I can choose which bistro to load, but currently it's loading Mint quite a long time...

I suspect it's loading everything it can at once, but at least I can see the Mint logo for longer than 10 seconds in a splash screen.

But 15 minutes later it seems to be still loading...

Will update when I can

Update 2: YES! It got past the boot errors by unplugging the USB and plugging it back in.Β 

Life is calling, so it'll take a while before I can start figuring out why my mouse isn't working (or how I can install without a mouse), but at least I can confirm that Linux works on my PC.

23
10
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/linux4noobs
 
 

Recently bought a RX7600XT and experienced lagging in Krita and flickering in blender since. I installed the drivers from AMD's website, and ROCm.

I am unsure and totally overwhelmed as to what could cause these issues. ~~ChatGPT always wants me to edit /etc/default/grub, but I am not sure why and what the bootloader has got to do with it?~~

These are quite a lot of questions and few information. If you need anything I am more than happy to provide any information.

Sys Info

  • Linux Mint Cinnamon 22

  • Linux Kernel 6.8

  • CPU AMD Ryzen 7 5800X

  • GPU AMD Navi 33 Radeon 7600 XT

  • RAM 16GB @3600mHz | 36GB Swap

24
17
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/linux4noobs
 
 

So, I have an old desktop (Lenovo Erazer X310) that has been gathering dust for a while now. It runs Windows 10, and since I know support will be ending this year, I've decided to switch Linux and see if I can get some more use out of it. After doing a bit of research, I think that, as a complete noob, Mint is the right choice for me. After watching a few tutorials, I think I have a good understanding of how to install and set up Linux, but I have a couple of questions before I take the plunge. If anyone has a few minutes to answer them, I'd be very grateful.

  1. I think Cinnamon is the version of Mint I should start with, but I've read that it might be better to go with MATE or Xfce for older machines. My Desktop is almost 11 years old now, but based on what I've read, I think it should still be able to comfortably run Cinnamon; 8 GB RAM, AMD A8-7600 Radeon r7 processor (4 cores, 3.1 GHz), and I'm 90% sure it has an SSHD. Is that good enough for Cinnamon?

  2. Would those specs be good enough if I wanted to dual boot? I actually don't hate Windows 10 (it's certainly better than 11), and I'd like to keep it as an option for at least for the last few months it has support. I just reset Windows 10 and wiped all my files, and it's now running fairly quickly. Do you think it's capable of dual booting?

  3. This may be a dumb question, but I can't actually find the answer anywhere; if I decide that I want to remove Windows 10 later, how difficult will that be? It's seems pretty easy to just delete it when I set up Linux, but will it be a hassle to remove once I've got Mint up and running?

Those are my big questions. I think I have a pretty good understand of how to install Linux from the BIOS, but I haven't actually installed an operating system since Windows 98 (and my dad helped me with that), so if anyone has any additional tips they think I should know I would welcome them. Thanks!

Edit: Thanks for the replies! It sounds like I should be able to run Cinnamon with no problem, but I'll probably test Cinnamon and MATE from a USB first and see which I like better. I really appreciate the advice!

25
 
 

I’ve recently installed EndeavourOS, and so far, so good. Got an OK setup and managing the basics.

Previously everything I’ve tried has been Debian based.

I know about the Arch Wiki… but was wondering if anyone recommended a relatively concise and easy-to-navigate resource to get a more rounded and complete understanding of Arch terminal commands?

I find it far more easy to learn when I understand where the terms come from - knowing that sudo means β€œsuperuser do”, pacman comes from package manager. But the moment I don’t know what yay, -s etc actually mean haha…

Thanks!

view more: next β€Ί