linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Stewbs, in what caused you to get into Linux?
@Stewbs@lemmy.world avatar

I had known what Linux was but I never really was interested in finding out what it was. That was, until, 2021 came around and I became more privacy conscious. Learning more about Open Source software and it’s philosophy, switching completely to FOSS software (besides ROM) on my phone and then slowly looking into Linux. I was fascinated by it, this wholly new world as it seemed to me… ready to explore and learn so much from. Of course, someone who’s used windows most of his life will definitely think of it as a challenge to learn to use Linux and adapt to it. I started supporting and using more and more OSS and loved it, so naturally I also had became a bit more interested in Linux. After I became privacy conscious, I also wanted to get away from Big Tech and I already hated using Windows by that point. That was because I’ve had a low end PC most of my life, I stuck around with Windows 7 until 2019 where it became EOL and I had to switch to Windows 10. It was an awful experience, running windows 10 on older and low end hardware.

Then came 2022, I had a new upgraded system and it was more mid-range than low-end now. I started using Linux in VMs and learnt more and more about it, I tried to switch full time but couldn’t because of a few things that I just cannot live without. Truth be told I’m still using Windows, there’s just one thing holding me back and all other things I’ve either adapted to, learnt or have found an alternative for. I know some people will hurl insults at me for saying I dislike Big Tech but also use Windows and call myself privacy conscious but It is what it is. I use Linux part-time in VMs and I really enjoy it. As soon as that use case is covered, I’ll be making a full switch to Linux.

Apologies if this went a little off-topic haha, couldn’t help myself I’m afraid

notenoughbutter, in what caused you to get into Linux?

Linux is foss

and gnome looks neat!

PseudoSpock, in what caused you to get into Linux?
@PseudoSpock@lemmy.dbzer0.com avatar

The desire to learn something beyond DOS, beyond just BBS’, beyond RIME and FIDOnet email, wanting a UNIX like operating system that was like what I had at university, to be able to natively run talk, ytalk, IRC, ICB, Gopher, FTP, and NNTP.

onlinepersona,

I recognise those acronyms. They are from a bygone era my ancestors used to mention to me in hushed tones.

PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

Ok, see here now… :P

wurosh, in My first year using Linux: My experience

Man, of all the Lemmy instances to choose a thunderbolt screen name with… Jk, glad you had a good experience - welcome aboard man

ndsvw,
@ndsvw@feddit.de avatar

😅 Nothing to do with that ideology!

Fun fact: I used emojis to reproduce and report a bug in the Lemmy web UI. That’s why the ⚡s are there.

And thanks.

uis, in What are people daily driving these days?
@uis@lemmy.world avatar

Install Gentoo

https://derpicdn.net/img/view/2020/9/24/2451774.png

Never needed flatpack for last 5 years

onlinepersona,

Why not move to NixOS?

Abnorc, in what caused you to get into Linux?

My interest started in my physics classes. They teach you the basics of Linux since it gets used for simulations and solving other math problems as well. I’m not 100% sure why, but i remember not even finding windows versions of some software that we used. I think it’s connected to supercomputers almost exclusively running Linux, and I had a couple of professors that use them.

Drito, in what caused you to get into Linux?

My OS, shipped with the PC, became slow.

sexual_tomato, in what caused you to get into Linux?

I built a computer and didn’t have high speed Internet about 18 years ago. Couldn’t get Windows activated so a friend gave me a (Debian?) CD so I could get something going. Been keeping old machines alive with it ever since.

LeTak, in Switching GPU

Isn’t the GPU used for the application defined by the monitor it is opened on and on which GPU this monitor is then connected to?

AProfessional,

The output and the renderer are separate and configurable concepts.

Y2K38,

I don’t know, could be. But I don’t want to always put the monitor cables into another port. I thought there maybe could be a software way to do this or only use the GPU for the really intense tasks.

MonkderZweite, (edited ) in My first year using Linux: My experience

You can probably replace your service script (sorry, but that’s a hack) with a line in /etc/modules or /etc/modules-load.d/.

If that doesn’t work, add your modprobe script to /usr/lib/logind/system-sleep/ (simple switch case with example). Not sure about the logind part, it’s elogind for me since i use dinit, not Systemd.

ndsvw,
@ndsvw@feddit.de avatar

I know that it’s a hack. A really bad hack TBH.

But I wasn’t able to get it working differently.

This is the service code I’m using (yes, I know… It’s very bad, especially the pinging):


<span style="color:#323232;">while :
</span><span style="color:#323232;">do
</span><span style="color:#323232;">	if [[ $(ping 192.168.178.1 -c 3) ]]
</span><span style="color:#323232;">	then
</span><span style="color:#323232;">		echo "pinged"
</span><span style="color:#323232;">	else
</span><span style="color:#323232;">		if [[ $(lsmod | grep brcmfmac) ]]
</span><span style="color:#323232;">		then
</span><span style="color:#323232;">			sudo rmmod brcmfmac
</span><span style="color:#323232;">		fi
</span><span style="color:#323232;">		sudo modprobe brcmfmac
</span><span style="color:#323232;">		sleep 250
</span><span style="color:#323232;">	fi
</span><span style="color:#323232;">	sleep 15
</span><span style="color:#323232;">
</span><span style="color:#323232;">done
</span>

When closing and opening my MacBook, it’s necessary to execute sudo rmmod brcmfmac and then sudo modprobe brcmfmac. Only executing the 2nd command is not enough.


@MonkderZweite

Your first 2 paths under /etc have a description like this:

kernel modules to load at boot time.

The problem I’m having is that I have to reload the module when the laptop was closed and reopened.

So, I think, the first 2 paths won’t work, right? It’s not boot time?


Something like the 2nd path was described in a tutorial about getting started on a MacBook with Linux. I remember it.

But the path you described does not exist on my system.

I have a path /usr/lib/systemd/system-sleep/, do you mean that one?

This contains 1 file (probably created by me in the beginning) called lid_wakeup_disable:


<span style="color:#323232;"> #!/bin/sh
</span><span style="color:#323232;">
</span><span style="color:#323232;"># /lib/systemd/system-sleep/lid_wakeup_disable
</span><span style="color:#323232;">#
</span><span style="color:#323232;"># Avoids that system wakes up immediately after suspend or hibernate
</span><span style="color:#323232;"># with lid open (e.g. suspend/hibernate through KDE menu entry)
</span><span style="color:#323232;">#
</span><span style="color:#323232;"># Tested on MacBookPro12,1
</span><span style="color:#323232;">
</span><span style="color:#323232;">case $1 in
</span><span style="color:#323232;">  pre)
</span><span style="color:#323232;">    if cat /proc/acpi/wakeup | grep -qE '^LID0.*enabled'; then
</span><span style="color:#323232;">        echo LID0 > /proc/acpi/wakeup
</span><span style="color:#323232;">    fi
</span><span style="color:#323232;">    ;;
</span><span style="color:#323232;">esac
</span><span style="color:#323232;">
</span>

Do I add rmmod brcmfmac; modprobe brcmfmac; (without sudo) at the bottom?

I’m thankful for any help to get rid of the service.

MonkderZweite, (edited )

Guess that was udev and not modprobe, where changes made are picked up immediately? My bad.

What i do have though, is a bunch of scripts in /etc/modprobe.d, with a comment:


<span style="color:#323232;"># 'modinfo -p your-module' to list possible values
</span><span style="color:#323232;"># 'systool -m your-module -av' to list active modules
</span><span style="color:#323232;"># modinfo -p your-module |sort |awk -F':' '{print "n# "$2"n#options your-module "$1"="}' for a preset
</span>

Maybe there is a module-functionality active that causes trouble? Btw, dmesg -H says nothing? Looks like brcmfmac is troublesome generally (of course broadcum, huh).

Bttw: if you can’t /etc/modprobe for some reason, you can load module settings as kernel parameters (via Grub or whatever) like module.option=value.

About the wakeup script, i have this in mine:


<span style="color:#323232;">#!/bin/sh
</span><span style="color:#323232;">case $1/$2 in
</span><span style="color:#323232;">  pre/*)
</span><span style="color:#323232;">    # Put here any commands expected to be run when suspending or hibernating.
</span><span style="color:#323232;">
</span><span style="color:#323232;">    # so bluetooth doesn't prevent sleep
</span><span style="color:#323232;">    /usr/bin/bluetoothctl power off ;;
</span><span style="color:#323232;">  post/*)
</span><span style="color:#323232;">    # Put here any commands expected to be run when resuming from suspension or thawing from hibernation.
</span><span style="color:#323232;">
</span><span style="color:#323232;">    # bluetooth on after resume
</span><span style="color:#323232;">    /usr/bin/bluetoothctl power on ;;
</span><span style="color:#323232;">esac
</span>

Sorry, this is about as far as i can help without access to your computer.

ndsvw,
@ndsvw@feddit.de avatar

Hi,

Thank you.

I was able to get it working.

What really helped me was the fact that you can see the logs of stuff in /usr/lib/systemd/system-sleep/:

sudo journalctl -u systemd-suspend --since “7 minutes ago”

I think, I had a bug in there or the execution rights of a file was not set or similar.

Now, I have pretty much done what the suggest here: wiki.debian.org/…/Early-2015-13-inch

I’m glad, this is working as intended now.

MonkderZweite,

👍

radioactiveradio, in what caused you to get into Linux?

ADHD, and Pablo Vazquez from Blender.

ytg, in What are people daily driving these days?

I’ve never tried NixOS, but it looks really promising.

I usually use Fedora or OpenSUSE, which have good software availability (unfortunately not as good as the AUR). Fedora provides selinux by default, and has profiles for basically everything. SUSE uses AppArmor, but Arch doesn’t provide convenient configuration for either, and only supports x86_64 (which is why I switched away from it).

MigratingtoLemmy, in PipeWire 1.0 Released For Managing Audio/Video Steams On The Linux Desktop

Brilliant piece of software

Quetzalcutlass, in what caused you to get into Linux?

Ubuntu used to ship out free installation CDs. Since it was free, I figured why the hell not. Played around with it, loved it, but didn’t use it for much more than messing around.

A decade later those fond memories enticed me to buy a Raspberry Pi and play around with Linux again, and a few years later it became my main OS. It’s just so much fun to tinker with in a way that Windows never was, and nowadays it runs almost everything without a problem.

TechAdmin, in What are people daily driving these days?

EndeavourOS on desktop and laptop side of things.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #