linux4noobs

1356 readers
1 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
26
 
 

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

27
 
 

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.

28
 
 

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.

29
 
 

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.

30
 
 

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

31
 
 

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.

32
11
submitted 3 months ago* (last edited 3 months ago) by nichtburningturtle@feddit.org 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
}
33
 
 

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

34
27
submitted 3 months ago* (last edited 3 months 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.

35
 
 

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?

36
 
 

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?

37
 
 
38
 
 

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)

39
12
submitted 4 months ago* (last edited 3 months 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

40
 
 

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.

41
 
 

I recently an install of Nobara Linux and there seems to be an issue during boot. Sometimes it fails to boot correctly and the screen looks glitchy with random noise and colors with no obvious way to move past it, forcing a manual shutdown via the power button (a couple times it seems to have failed complete and the system automatically booted in Windows 10). When this doesn’t happen, Nobara appears to boot normally and have no issues once I reach the login screen.

I only have a few weeks of experience with Linux with Linux Mint. I did not encounter any boot problems with Mint so I don't think there are any hardware issues. I suspect I must have made an error somewhere with the Nobara installation or with how I set up the partitions. I tried to follow with advice I found online, but maybe the info was incomplete or out of date.

I installed Nobara-39-Official-2024-01-24 and finished running all system and driver updates.

Nobara Partition setup:

• /boot/efi = 600 MB, FAT32, flags: boot & bios-grub
• /boot = 1 GB, EXT4
• / = 50 GB, EXT4
• / home = 110 GB, EXT4
• no mount (label: games) = remaining SSD space ~273GB, EXT4

The remaining portion of my 1TB SSD is dual boot Windows 10.

If anyone could diagnose this, it would be a great help.

42
 
 

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.

43
 
 

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
44
12
submitted 4 months ago* (last edited 4 months ago) by gpstarman@lemmy.today to c/linux4noobs@programming.dev
 
 

So which one is actually official one? I can't describe what "official" mean here, maybe the one that actually came from reddit or the one with more subsscribers or one with more activity ?

Also Why there are multiple copies of same community in different instances? Isn't the whole point of lemmy is that it is federated?

There is also three linux4noob communities 🥲

45
 
 

Can I delete previous backups, without affecting following backups, Since TimeShift (RSync) make increamental backups.

46
 
 

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.

47
 
 

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.

48
 
 

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.

49
 
 

Is there a way to use scrcpy without requiring my phone screen to actually be on?

50
 
 

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

view more: ‹ prev next ›