linux4noobs

1233 readers
3 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 1 year ago
MODERATORS
1
 
 

I used PopOS, but once they announced they'll start focusing on their Cosmic desktop, I switched to Fedora KDE it worked to some degree until it crashed and I lost some data, now I'm on Ultramarine GNOME and it doesn't seem to like my hardware ( fans are spinning fast )

my threat model involves someone trying to physically unlock my device, so I always enable disk encryption, but I wonder why Linux doesn't support secure boot and TPM based encryption ( I know that Ubuntu has plans for the later that's why I'm considering it rn )

I need something that keeps things updated and adobts newer standards fast ( that's why I picked Fedora KDE in the first place ), I also use lots of graphical tools and video editing software, so I need the proprietary Nvidia drivers

Idk what to choose ಥ_ಥ ? the only one that seem to care about using hardware based encryption is Ubuntu, while other distros doesn't support that.. the problem with Ubuntu is there push for snaps ( but that can be avoided by the user )

security heads say: if you care about security, you shouldn't be using systemd, use something like Gentoo or Alpine.. yeah but do you expect me to compile my software after ? hell no

2
 
 

Recently I switched to Fedora 40 from Ununtu. Now, I am facing this weird problem, whenever my laptop suspends I cannot use the power button to wake my laptop if it's in tablet mode. It works fine in normal case. Also, this wasn't an issue in Ubuntu. Anyone knows how I can change it?

I am using a 2in1 laptop (Dell) if it's relevant

3
 
 

I'm having an issue trying to burn a music CD for use in my (very old, I know I know) car. I'm running FedoraKDE (40) and Brasero, a Liteon brand external optical DVDRW drive, CD-R (TDK brand), and a Framework 16.

The issue I'm having seems to be that the blank disks(maybe?) aren't recognized automatically by Fedora, when I pop a full commercially released CD in it'll play/rip, but with a blank disk nothing happens, and I don't know where to "save" the "image" of this album I'm creating in Brasero to get it on the disk.

Someone on a random linux forum told some other guy to run cdrecord -checkdrive which says my drive is at /dev/sr0 with a blank disk, but that's as far as I've gotten. Do I choose sr0 as the place to save it? It says "something something overwrite" when I try which makes me wary, it seems it wants to overwrite "sr0" itself and either bork my drive or install, but maybe?

I'm positive it's just something simple I'm missing, any help would be greatly appreciated and I can answer questions and run commands if needed (but I don't actually have WIFI rn, so I'll have to have the package for said command already.)

Thanks in advance.

4
 
 

Is there a way to log all the stuff on start up to a text file so I can read it? It goes by way too fast! Mine shows some blue warnings but I can't read them.

To be clear I mean the part that explains what is starting or failing, like if you hit [ESC] during start up or don't have plymouth, not the plymouth splash screens.

5
 
 

Long overdue, I know, but looking to start at least partially migrating and working with Dual boot, coming from Windows 10 (putting off 11 as much as possible)...

I have limited Linux experience, mostly in college several years back.

I work remotely with Windows software development, including Winforms, Asp.net, .net core, etc. Not sure what I need to best work with these, particularly Winforms. That may not even be possible, I know.

Looking for any general guidance/recommendations.

Long term, I'm interested in migrating as much as possible, outside of whatever I have to keep up for work... starting with dual boot options then moving towards linux as a primary driver. I have an old media server (also win10, not win11 compatable) not really doing much but running plex when I need it... would love to also eventually poke around with Home Assistant or similar, maybe some LLM tinkering etc.

If this isn't a good community for this, I apologize, and please point me to a better one if you know of one.

6
 
 

I want to copy (not move) my Timeshift Snapshots (Rsync) from my existing drive to another drive. Both drives are ext4. As far as I searched I am not able to find any viable results.

If not possible, just why?



Solved

https://www.cyberciti.biz/faq/linux-unix-apple-osx-bsd-rsync-copy-hard-links/

TLDR

sudo rsync -az -H --delete --numeric-ids /path/to/timeshift path/to/destination/

Where,

-a : Archive mode (i.e. recurse into directories, and preserve symlinks, file permissions, file modification times, file group, file owner, device files & special files)

-z : Compress file data during the transfer

H : Preserve hard links (i.e. copy hard links as hard links)

--delete : Delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized i.e. keep exact replica of your /path/to/timeshift directory.

--numeric-ids : Transfer numeric group and user IDs rather than using user and group names and mapping them at both ends.

--progress : Show progress during transfer.

--log-file="/var/log/my-rsync-script.log" : Log what rsync command is doing to the /var/log/my-rsync-script.log file.


Thanks to @skullgiver@popplesburger.hilciferous.nl

Original Comment: https://lemmy.world/comment/11611743

7
 
 

Hi all,

I have a USB C headset.

I am setting it up, so it's plugged into my Linux box, so it can listen to music, and make calls, etc from my phone, via bluetooth.

Then I don't have to keep unplugging my headset and plugging it into my phone.

Also so I can record directly to the Linux machine, that is broadcast from my phone.

But, how can I intercept the Bluetooth audio, and record it?

Thank you.

8
11
submitted 3 weeks ago* (last edited 3 weeks ago) by nichtburningturtle to c/linux4noobs@programming.dev
 
 

I am currently trying to use kenshi to automatically use my external display's when connecting to my dock. But doing so either results in Qtile crashing or not recognizing my displays and staying with only eDP-1 on.

Here is my config:

profile docked {
    output eDP-1 disable
    output DP-7 enable position 0,0 mode 1920x1080@60Hz
    output DP-5 enable position 1920,0 mode 1920x1080@60Hz
    output DP-6 enable position 3840,0 mode 1920x1080@60Hz
}

profile laptop {
    output eDP-1 enable position 0,0 scale 1.5
}
9
 
 

I edited breeze dark color scheme to darker color everything went well but windows and header color revert back to breeze dark color when inactive how can I change this? thanks in advanced. (sorry for bad English)

Edit: because I make a color scheme copy from default breeze dark and that's make some color not working properly when changed, I edit one of my downloaded color scheme and that works just fine

10
27
submitted 4 weeks ago* (last edited 4 weeks ago) by gpstarman@lemmy.today to c/linux4noobs@programming.dev
 
 

How to update BIOS on a system that only use Linux as OS.

Asking this because some clowns at Acer decided that they will only provide BIOS updates through Windows Update.

Edit: I'm not talking about installing the BIOS file. They don't even provide BIOS file in the first place.

11
 
 

I am trying to use wireshark to verify that my outgoing rsync is encrypted. I can easily see that the SSH protocol packets are reported as "Encrypted packet." The other packets being exchanged are TCP packets, I am not sure how to actually verify if these are encrypted, and if not, if they contain anything sensitive.

Should TCP be encrypted? Can they leak anything when facilitating the ssh connection? How can I tell?

12
 
 

I was able to setup a debugger using a launch mode using Visual Studio Code with the Bash Debug extension. Is it possible to setup the debugger in VSCode to be able to debug a bash script using a attach debug mode?

For debugging scripts on the host machine and scripts inside a docker container?

13
 
 
14
 
 

I have a NTFS drive for Storage, which is shared between WIn 11.

I want to change the location of (or replace) ~/Downloads, ~/Music, etc..,.

Note that the link to made is between NTFS and EXT4.

I found two ways while searching.

   1.Creating **Symlinks** in `~` with target pointed to folders in NTFS drive.

   2. **Mounting** the NTFS folders **directly** to`~/Downloads`, `~/Music`, etc..,.

Which one should I do? Which one is more beneficial?

Also how to mount folders to other folders (option 2) ? (I would really appreciate a GUI way)

15
12
submitted 1 month ago* (last edited 2 weeks ago) by gpstarman@lemmy.today to c/linux4noobs@programming.dev
 
 

I can't change directory and file permissions which is in /mnt/ through elevated Nemo. But can change in /. Why?

Apparently, this happens due to Automount. Because when I mount manually, this problem doesn't occur.

I also changed /mnt/Storage to /media/user/Storage/ on auto mount, still the same problem occurs.

uploaded on reddit because lemmy doen't allow videos .sorry for the quality reddit squashed it. Also my user name is blurred.

Also this an automounted NTFS partition, if it has to do anything with this,

I know about chown and chmod. But I wanna do it in GUI.



SOLVED

Include uid= and gid= as part of your mount options.

For More info look at this.

Thanks to this Chad @neidu@feddit.nl

16
 
 

What are the packages that comes default with Linux Mint Cinnamon that I can remove without any problems.

Linux Mint comes with lots of packages installed by default to give full experience to new users. But not everyone needs everything. In my case for example, I don't need celluloid, pix, hexchat, hypnotix, rhythmbox, LibreOffice, etc,... Those applications has their own audience and Linux Mint including them is a good thing but I personally don't want them.

Mini Rant or QA maybe?

I searched the internet a bit for the answer, on various forums, and subreddits. And All the people who asked this question got obliterated as far as I've seen. The common answers are:

if you remove the applications that came installed with Mint by default, it will cause Dependency issues.

If I remove an application and the dependencies shold be removed UNLESS some other application need those dependency, right? If that's the case, why removing packages can cause dependency issues?

Why would you want to remove essential applications like LibreOffice, pix etc. ? (this question is asked in the sense of "what sane person would want to remove those?")

Cause why not? Maybe I like GwenView more than Pix, maybe I don't need office applications at all. Why this even matter?

If you want don't want Mint's default applications, then what's the point of using Mint? Just use something like Ubuntu server or something. People need to realize that lot of people (at least me) using Mint for it's System management (updates, apt source list, etc..) via GUI ability. Just because I want to manage my system with ease, that doesn't mean I need everyt applications it offers me.

I honestly feel bad for the person who asked the question in the first place. They didn't got the answers till the very end. All they got is Criticism and it's not constructive one.

Why this kind of behaviour even exist?

P.S.: I'm using Mint inside VM for testing purposes. I don't want my VM to take a lot of space. That's why I don't need lot of applications.

17
 
 

Where should I mount my internal drive partitions?

As far as I searched on the internet, I came to know that

/Media = mount point for removable media that system do it itself ( usb drive , CD )

/Mnt = temporarily mounting anything manually

I can most probably mount anything wherever I want, but if that's the case what's the point of /mnt? Just to be organised I suppose.

TLDR

If /mnt is for temporary and /media is for removable where should permanent non-removable devices/partitions be mounted. i.e. an internal HDD which is formatted as NTFS but needs to be automounted at startup?

Asking with the sole reason to know that, what's the practice of user who know Linux well, unlike me.

I know this is a silly question but I asked anyway.

18
 
 

Which folders and files do I need to exclude from TimeShift?

Also is there a way to also exclude programs installed as .deb ?

I doing this to reduce Backup size as I have limited storage.

100GB - Windows 11
400GB - Storage
400GB - Mint
100GB - TimeShift
19
 
 

I've tried to stow dot files by following online blog/form, and it worked now, I tried to manage my $HOME/bin directory with stow, but it didn't

$HOME/.dotfiles directory structure

/home/USER/.dotfiles/
|-- bash
|   |-- .bash_aliases
|   |-- .bash_logout
|   `-- .bashrc
|-- .git
|   |-- branches
|   |-- COMMIT_EDITMSG
|   |-- config
|   |-- description
|   |-- HEAD
|   |-- hooks
|   |-- index
|   |-- info
|   |-- logs
|   |-- objects
|   `-- refs
|-- git
|   `-- .gitconfig
|-- .gitignore
|-- install.sh
|-- Makefile
|-- .stow-local-ignore
|-- vim
|   `-- .vimrc
`-- zsh

$HOME/bin/src directory structure

/home/USER/bin/
|-- src
|   |-- backup
|   |   |-- backup
|   |-- clone
|   |   `-- clone
|   |-- epub2html
|   |   `-- epub2html
|   |-- gnome-nightlight
|   |   `-- nightlight.sh
|   |-- list
|   |   `-- list
|   |-- new
|   |-- pomorodo
|   |   |-- notification.wav
|   |   |-- old_pomo
|   |   |-- pomorodo
|   |   `-- test
|   |-- revoke_exec
|   |   `-- revoke_exec
|   |-- rm_exec
|   |   |-- rm_exec
|   |   `-- tmp
|   |-- install

Where is my mistake and thanks in advance.

20
 
 

cross-posted from: https://lemdro.id/post/9853743

I'm running OpenSUSE leap 15.5, When I was on the linux mint, I was using warpinator but using it on openSUSE is troublesome and I wish there was a linux version of blip but unfortunately there is not.

21
 
 

Display of OpenGL context works fine on Windows, no issues with resizing. Function glViewport works as intended.

It only has issues with X11 on Linux (no plans yet to implement Wayland due to lack of free time). Resizing breaks everything, and it doesn't really work the way you expect (point of triangle moves down if you make it taller, etc). I cannot find anything on if I should call anything else besides glViewport, only that "you should use [insert already existing library], which will take care of this behavior". Others are suggesting me that it's an issue with my distro, but I cannot find any OpenGL testcase that is small enough to test on my VM or my Raspberry Pi to actually test whether that's the case.

22
 
 

I saw that there's this nifty xdg-ninja that informs you on what you have installed that doesn't respect the XDG spec, if it has support for it or not and what you can do to make it comply.
But now I was wondering if there was any tool to do the actual work automatically, I believe I have once seen a program that spoofed your home directory to non-complying apps so that you could transparently override their whole app data location to a path you wanted so they can keep functioning, but I can't for the life of me find it again.
It would be double awesome if it did both, i.e. auto-applying any changes to apps that support XDG but need to be configured to enable it and, for those who don't, forcefully spoofing the home directory

23
0
submitted 2 months ago* (last edited 2 months ago) by wreckedcarzz@lemmy.world to c/linux4noobs@programming.dev
 
 

(my first post on lemmy so I hope I'm doing this right)

Distro: Spiral Linux (Debian, KDE spin), by recommendation

System: Lenovo ThinkPad X13 Gen 2 (Intel) (distro recommended as I am looking for Debian(-based), + btrfs, snapshots, and fde, included via the gui installer)

I'm having issues getting ModemManager to unlock my X55 modem. This morning I wiped my drive to install Spiral (KDE), coming from Kubuntu 24.04. While the modem worked after running the proper fcc unlock script in Kubuntu, it is entirely missing in my Spiral install. While I assumed that it would not be that simple, I copied /etc/ModemManager from my Kubuntu live environment to Spiral, ran

sudo ln -sft /etc/ModemManager/fcc-unlock.d /usr/share/ModemManager/fcc-unlock.available.d/105b:e0ab

and restarted, but alas that's not enough, so I'm stuck. I have added the network profile + apn to ModemManager (the UI) but of course without the modem unlocked, I can't connect. I'm new to cellular modems in Linux (this was a windows machine until ~6 weeks ago) but I'm otherwise comfortable with the terminal and commands. The modem was working as expected last night in Kubuntu.

I haven't got the system setup yet (trying this first before going further) so if I botch this, an install is no problem. I'm assuming it's either (or both?) a service, or a missing package that sets up what's needed, but I'm at a loss as to how to proceed.

I discussed this here https://lemmy.world/comment/10540509 this morning, though I think I got all the important details typed up above. But maybe it could be useful somehow.

Any suggestions are welcomed :)

24
 
 

Apparently there is a F35 Key within xkbcommon.

I know about F1-24 where the upper level was accessible by holding down a modifier key; So how are keys beyond this issued via a keyboard (my keyboard is qwerty, de_DE if of interest)?

And... why the fuck was it a good idea to expand the function keys beyond 24?

25
 
 

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

view more: next ›