1
19
submitted 6 days ago by [email protected] to c/[email protected]

I have an old HTPC that hasn't been used in about 4 years with Windows 7 on it. It ran fine with Windows 7 but didn't work well with 8 when that came out (or at least the Windows Media Center that we used as a DVR with a cable card didn't) so it's stayed on 7 ever since. I haven't actually used it in about 4 years and now of course don't want Windows 7 where it can connect to the Internet.

Recently I had the idea that I could install Linux on the computer and use it as a media server with Jellyfin, Plex, or something similar. Long-term when I have the finances I'd like to set up a NAS and server to build a self-hosted media library, but this should be a good starting point for now.

What I'm Working With

It's a pretty old computer. I bought most of the components in 2010/2011 anticipating moving out from my parents although I didn't actually assemble it until early 2012 when I finally moved out (and my brother actually assembled it as he moved in with me). Key components:

  • Intel Core i5-750 (this is the original Intel Core i5, generation 0 as it were)
  • Asus P7P55D-E Pro
  • Zotac ZT-20404-20L (Nvidia GT240 R)
  • 4GB DDR3
  • 64 GB SSD
  • 1.5 TB HD
  • 1 TB SSD <- this is blank, purchased last week and what I planned to install Linux on

What I'm Trying To Do

I searched the main components on linux-hardware.org and they all showed results for running Linux, usually several varieties. I downloaded the Live CD/Installer for Linux Mint 22 Cinnamon and burned it to a DVD. I went with Mint since it seems to be one frequently recommended for Linux beginners and has a "just works" reputation. I want to install it on the new 1TB SSD I picked up and be able to still dual boot into Windows 7 for now (and in any case I'm not sure I'd do much with a 64 GB drive anymore). This is an old motherboard; it only supports BIOS, not EFI, but it almost sounds like that will be easier for the dual boot because I won't have to worry about Secure Boot. Once that's installed I'll try out Jellyfin, Plex, and Emby to see which work best with the various devices I have on our TVs. I'll also probably use the computer to rip some of our DVDs/Blu-rays to use with the server.

Problems I'm Having

I've run into two main issues so far:

First, while the computer boots and runs from the DVD, about 5-and-a-half minutes after the taskbar appears and I can start trying to do anything it locks up. Usually it would just freeze and become totally unresponsive, but last night the two times I tried it actually rebooted the computer. It's really slow to load; when the taskbar appears I try to click the Installer as fast as possible and it takes a little over 3 minutes to reach a state where I can start clicking options for the install. It's also really slow just to boot. From the time I click to start Linux Mint from the Isolinux screen until I reach a usable desktop in Linux Mint is at least 10 minutes, if not more (haven't timed that directly). I'm really not sure what the problem is here; just slow from reading the optical disc? Should I try to find a USB stick and boot from there (the computer has a couple USB3 ports but I'll have to find a spare thumbdrive)? Does this all run in RAM and 4GB isn't enough and that's why it crashes? Is Cinnamon too much for the system and I should try the Xfce or MATE versions of Mint?

Second, I thought with the Linux Installation it would be able to format and install to the new SSD without needing to do anything else, either by selecting "Erase disk and install Linux Mint" or "Something else" but the time I was able to do it fast enough to get to "Something else" the disk doesn't show up at all. It looks like I should use a GParted live CD first to partition the new drive, and then I can install Linux Mint? As I'm looking at various documentation it looks like I should put 3 partitions on the SSD, one for "/" (100 GB recommended by the Linux Mint docs), one for "/home", and one for "swap" (4 GB to match the RAM size)?

I guess as a bonus third question, it looks like once I have Linux installed the Linux installation process should also give me a boot manager that I can use to switch between Linux and Windows? Or does that require extra steps to enable? I'm comfortable editing the boot order in the BIOS. My only prior experience with dual booting a computer is an old Mac Pro that could change the Boot system in Settings/Control Panel, or hold a button on startup to bring up a menu that would allow selecting the boot OS.

2
13
submitted 6 days ago by [email protected] to c/[email protected]

Pretty much the title. I’ve got an old (circa 2012) MacBook Pro with no screen that’s running Ubuntu, but since day one of the install it has never recognized the touchpad. I’ve been using it with an external mouse, which works, but it’s much less convenient and elegant than if I had even basic touchpad use.

Any ideas on how I might make this work?

3
13
submitted 6 days ago* (last edited 6 days ago) by [email protected] to c/[email protected]

I have an old hp pavilion dv6 and I installed windows 7. Then i tried installing Ubuntu 24.04 and the USB wouldn't boot, it just showed "GRUB" in the top left of the screen. I tried with another USB and the same issue emerged.

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

How to install ProtonVPN in Arch Linux (CachyOS) ?

Should I follow https://wiki.archlinux.org/title/ProtonVPN ?

OR

from flathub https://flathub.org/apps/com.protonvpn.www ?

This flatpak has Unverified tag, but according to this, this flatpak is safe.

Which one should I follow ?

Asking this because I'm because I'm a bit lazy to configure OpenVPN and all that stuff. (pls don't kill me :)

Also do you think using VPN from flatpak is a good idea?

5
1
submitted 1 week ago by [email protected] to c/[email protected]

I've always approached learning Linux by just diving into it and bashing my head against problems as they come until I either solve them or give up, the latter being the more common outcome.

I wouldn't take this approach with other pieces of software though - I'd read guides, best practices, have someone recommend me good utility tools or extensions to install, which shortcuts to use or what kind of file hierarchy to use, etc.
For example, for python I'd always recommend the "Automate the boring stuff with Python", I remember learning most Java with that "Head first Java" book back in the days, c# has really good official guides for all concepts, libraries, patterns, etc.

So... lemme try that with Linux then! Are there any good resources, youtube videos, bloggers or any content creators, books that go explain everything important about linux to get it running in an optimal and efficient way that are fun and interesting to read? From things like how the file hierarchy works, what is /etc, how to install new programs with proper permissions, when to use sudo, what is a flatpak and why use it over something else, how to backup your system so you can easily reconstruct your setup in case you need to do an OS refresh, etc? All those things that people take for granted but are actually a huge obstacle course + minefield for beginners?

And more importantly, that it's up to date with actually good advice?

6
0
submitted 2 weeks ago by [email protected] to c/[email protected]

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

7
20
Way to log start up? (lemmy.dbzer0.com)
submitted 4 weeks ago by [email protected] to c/[email protected]

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.

8
14
submitted 1 month ago by [email protected] to c/[email protected]

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.

9
5
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

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 @[email protected]

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

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

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.

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

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
}
12
14
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

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

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

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.

14
17
submitted 1 month ago by [email protected] to c/[email protected]

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?

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

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?

16
4
submitted 1 month ago by [email protected] to c/[email protected]
17
14
submitted 1 month ago by [email protected] to c/[email protected]

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)

18
12
submitted 1 month ago* (last edited 4 weeks ago) by [email protected] to c/[email protected]

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 @[email protected]

19
14
submitted 2 months ago by [email protected] to c/[email protected]

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.

20
15
submitted 2 months ago by [email protected] to c/[email protected]

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.

21
3
submitted 2 months ago by [email protected] to c/[email protected]

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.

22
2
submitted 2 months ago by [email protected] to c/[email protected]

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
23
4
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

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 🥲

24
10
submitted 2 months ago by [email protected] to c/[email protected]

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

25
10
how to use GNU stow (programming.dev)
submitted 2 months ago by [email protected] to c/[email protected]

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.

view more: next ›

linux4noobs

1268 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