linux

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

GustavoM, in NixOS on OnePlus 6 with Extra Steps, or the Diary of my Descent into Madness
@GustavoM@lemmy.world avatar

Why do you hate yourself this much?

j/k. nicely done. I’d feel like a hacker if I could do this on my phone, but I’m too scared to brick it.

chayleaf, (edited )

Most phones have no mainline Linux support, and require something like ubports, which can use an unholy hack to run Linux userspace based on Android drivers and kernel. I think this one can be installed to just about any Android phone (worst case you can use the generic GSI image, which should work but be slow). Personally, I’ve never once bricked a phone by flashing it, and I’ve been doing it since ~2015 (don’t remember the year, but it was a Lenovo S660).

OnePlus 6 is a 5 year old phone with a SoC that has comparatively high development velocity (SDM845), which is why it’s finally getting close to full mainline support for basic features like calls/SMS/camera/sensors (still not fully there, and yes sensors are needed, they make stuff like autorotate and turning touchscreen off when you put your phone to your ear during a call work). If you want to tinker with Linux, I recommend a Pinephone; though Mobian did mention how frustrating its ecosystem is in their blog. Maybe Pinephone Pro or Librem are better, but they’re way way way more expensive. If you want a daily driver, I recommend a OnePlus 6/6T as explained in the article, or some other SDM845 phone, and maybe don’t DIY if you don’t have the basic experience in working with ARM SBCs and Android ROMs like me lol.

postmarketOS is probably the smoothest experience you’ll get on a wide range of devices, and I highly recommend it. Most other mobile Linux distros are often more or less piggy backing off their work (though of course other distros create cool stuff too).

caseyweederman,
AI_toothbrush, (edited )

I think its based on ubuntu mobile or what but its not (oracles) canonicals project anymore

chayleaf,

Okay Ubuntu is bad but it doesn’t have anything to do with Oracle… Did you confuse them with Canonical?

But yes, this hasn’t been an official Canonical project for a long time… afaik

caseyweederman,

I’m glad. The trademark usage makes that a little unclear.

AI_toothbrush,

Sorry i had a brain poop moment

Euphoma,

ubports has been completely community maintained and separate from Canonical for longer than it was actually under Canonical.

caseyweederman,

Why not rebrand? Why continue to use Ubuntu and Canonical trademarks?

Euphoma,

I’m not them so idk. Also I think Canonical uses a slightly different ubuntu logo these days.

PainInTheAES, in I need some help with linux energy management and hibernation

See: wiki.archlinux.org/title/…/Suspend_and_hibernate

You’re probably missing a swap position or file. Modern Linux distro don’t really support hibernate out of the box.

Also depending on ports you can have worse sleeping power draw. All USB C will give you the best battery life.

WbrJr,

I have read this about the expansion cards and only use 2c and 2A. A bit stupid considering you can hack the hdmi port into suspending on its own… Did not expect this from fw.

I will check out the link, thanks!

PainInTheAES,

IIRC framework is working on addressing the expansion card issue via firmware/BIOS but it’s been a while since I’ve seen any updates.

I generally lose 20-40% battery overnight with USBC and USBA in deep sleep mode. But I have set up hibernate in the past and had it working.

WbrJr,

That is almost equivalent to 1h of browsing in Linux! :D \s Other expension cards are drawing about 1W of power, even without use! That’s crazy much I think…

PainInTheAES,

Kinda true though. I wish Framework would focus on power usage a bit. As much as I love the concept and laptop the battery life is not one of its strong points. I’ve done a lot of tuning and squeeze about 6-7 hrs out at ~40% screen brightness.

WbrJr,

In Linux?! That’s quite a bit. With heavy workload?

PainInTheAES,

Yeah, but with a light workload (browsing, some videos, office applications). It lasts longer than Windows where I get like 5 hours.

WbrJr,

Yo lol, that’s impressive :D

The_Zen_Cow_Says_Mu, in Is Ubuntu deserving the hate?

I gave up on Ubuntu before the snaps became a thing. Here’s what I hated :

  • ugly purple and orange theme
  • Upgrades between lts never worked right for me: 14->16 fail and broke, 16->18 lots of problems, 18->20 still not great.
furycd001,
@furycd001@lemmy.ml avatar

Upgrading between Ubuntu lts releases never fully worked for me either. Something always broke or went wrong…

AnUnusualRelic,
@AnUnusualRelic@lemmy.world avatar

I also used it and dropped it years ago because it tended to break a lot in updates.

That, their poor kde support, their constant reinventing the wheel (poorly) drove me away.

Now I run opensuse as a rolling distro that’s always up to date and just never breaks even when there are 6000 packages to update. It’s boring and safe.

xyguy,

I also have had trouble during upgrades in the past.

I’ll have to disagree about the purple and orange theme though. I’m personally a big fan.

nitrolife, in I need some help with linux energy management and hibernation
@nitrolife@rekabu.ru avatar

In first you need understand what type of suspend you use:

Suspend to RAM (aka suspend, aka sleep) The S3 sleeping state as defined by ACPI. Works by cutting off power to most parts of the machine aside from the RAM, which is required to restore the machine’s state. Because of the large power savings, it is advisable for laptops to automatically enter this mode when the computer is running on batteries and the lid is closed (or the user is inactive for some time). Suspend to disk (aka hibernate) The S4 sleeping state as defined by ACPI. Saves the machine’s state into swap space and completely powers off the machine. When the machine is powered on, the state is restored. Until then, there is zero power consumption. Hybrid suspend (aka hybrid sleep) A hybrid of suspending and hibernating, sometimes called suspend to both. Saves the machine’s state into swap space, but does not power off the machine. Instead, it invokes the default suspend. Therefore, if the battery is not depleted, the system can resume instantly. If the battery is depleted, the system can be resumed from disk, which is much slower than resuming from RAM, but the machine’s state has not been lost.

I think you use Hybrid suspend. Hybrid suspend store memory to disk (20 seconds lag) and then lost battery for memory renew. Need you Suspend to RAM maybe? 20 Seconds lag will fixed with that.

Then check


<span style="color:#323232;">cat /sys/power/mem_sleep
</span>

If you see


<span style="color:#323232;">[s2idle] shallow deep
</span>

check first if your UEFI advertises some settings for it, generally under Power or Sleep state or similar wording, with options named Windows 10, Windows and Linux or S3/Modern standby support for S0ix, and Legacy, Linux, Linux S3 or S3 enabled for S3 sleep.

If you don’t see anything you can swap sleep mode to Suspend to disk. That slow but don’t use any power. Or try fix sleep status.

More information you can find here: wiki.archlinux.org/title/…/Suspend_and_hibernate

WbrJr,

Thank you for your reply. It says: [s2idle] deepI don’t think i have the swap partition, I will try to create that. Thanks!

dannym, in what's your opinion on typst?

I love it; it’s been my replacement for LaTeX since I’ve hears about it on hacker news

PropaGandalf,
@PropaGandalf@lemmy.world avatar

Yeah man. And it keeps getting better!

juli, in what's your opinion on typst?

To me the syntax feels very strange but I adapt to a lot of things. Does anyone have experience with it and already a more profound opinion?

Markdown is already a very easy interface to latex and html. And latex has been there since forever.

dannym,

the syntax is more powerful than markdown, the whole idea of with blocks and the ability to have more complex layouts is great

brax, in Is Ubuntu deserving the hate?

I don’t mind it, but I don’t really use it for any of its features. I use i3 over Unity, I think Snaps (and flatpaks, appimages, etc) are dumb as shit.l, and don’t even get me started on how garbage Nautilus is - drives me nuts trying to type a filename in to jump to it only to have Nautilus run a search instead… No idea who thought that was a good idea, but they need to fix that crap already.

I’d probably get by just fine with a full Debian setup tbh.

PropaGandalf, (edited ) in what's your opinion on typst?
@PropaGandalf@lemmy.world avatar

I love it. I ditched LaTeX and Word entirely for it.

juli,

Are tgere templates?

tuto193,

There are official ones and there’s also github.com/qjcg/awesome-typst

I took one of those and easily adjusted it to my needs. It’s so easy and intuitive! And fast!!!

Aatube, in what's your opinion on typst?
@Aatube@kbin.social avatar

Can it run doom?

eager_eagle, in what's your opinion on typst?
@eager_eagle@lemmy.world avatar

I’ve used it for a few documents and loved it. There’s a learning curve, but I’m glad they’re not carrying the technical debt latex has, so it’s definitely worth the effort IMO.

juli,

Sounds good, thx.

Unsafe, in what's your opinion on typst?

It’s pretty limited.

juli,

How?

tuto193,

Not entirely agreeing, but there are some things that are not quite there yet. For me it’s mostly:

  • Bibliography sorting
  • Spellchecking
  • Syntax highlighting for lesser known programming languages like GDScript

Otherwise I don’t really have complaints. If anything LaTeX was the one thing setting me back (and don’t even get me started on Word).

Sekoia,

For syntax highlighting, it’ll soon be possible (might already be?) to add syntax highlighting languages yourself

fossphi, in what's your opinion on typst?

To the people who switched to it from latex for technical documents (involving equations), how much adjustment did it need? I’m in the process of writing some papers/presentations and I’m fairly comfortable with latex but sometimes I do wish it was simpler

juli,

It has ti be easier than xaringan to convince me

eager_eagle, (edited )
@eager_eagle@lemmy.world avatar

It’s much easier to get started than latex if assuming no previous knowledge of either, to the point I can actually recommend it to people in humanities and non-STEM in general. Syntax-wise it’s very different, so you’ll need to get used to it and look up the docs. I’ve been writing latex for ~5y before Typst and I think Typst’s documentation is FAR better than any latex source I came across: no messing with random outdated packages that are incompatible with your template’s, and don’t get me started on that bibtex/biblatex hellhole.

In Typst, most error messages are actually useful to describe the issue; you won’t waste time setting up your local build if you want to typeset offline; and the output is generated FAST - pretty much as you type it - which helps a lot with learning what works and what doesn’t.

The downside is that because it’s not as popular yet, it’s harder to find that magic stack overflow answer that solves your problem. So if you’re in a hurry with a deadline approaching, go with latex and practice some Typst on the side.

Unsafe, in The TuneD Project - Tuning Profile Delivery Mechanism for Linux

I wonder if it works with eudev and mdev.

Yerbouti, in PCVR on Nobara KDE?

I almost got it to work on Nobara. It requires a lot of work but it can work with the right settings.

lupec, in NixOS on OnePlus 6 with Extra Steps, or the Diary of my Descent into Madness

That was one of the most unhinged rabbit holes I’ve been to in a hot second, and I absolutely mean that in the best of ways. Well done and congrats on getting there after everything was said and done!

I’ve been meaning to experiment with mobile NixOS myself but it’s all but impossible to get my hands on a supported device around here. Then again, maybe fumbling around and trying to get it to work at all on an old phone might be fun 🤔

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines