linux

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

muhyb, in The Linux Experiment Channel (From Nick) is on Peertube, and it federates right into Lemmy as a community

I also like how Newpipe can open that link.

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

Am on Arch and hibernation is currently broken with systemd 255 in my case. They introduced a lot of breaking changes for it. It works after enabling some workarounds for dracut 059 but it completely does a full power cycle. Your best bet is sticking with suspend until systemd unfucks hibernation.

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.

juli, in The Linux Experiment Channel (From Nick) is on Peertube, and it federates right into Lemmy as a community

What. That’s crazy!

linuxPIPEpower, in Tint2 taskbar icons

In the tint2 docs do a ctrl-f for ‘icon’ — does any of that look like it could be of any use to you? I am not sure I understand the issue but maybe this:

launcher_icon_theme = name_of_theme : (Optional) Uses the specified icon theme to display shortcut icons. Note that tint2 will detect and use the icon theme of your desktop if you have an XSETTINGS manager running (which you probably do), unless launcher_icon_theme_override = 1.

launcher_icon_theme_override = boolean (0 or 1) : Whether launcher_icon_theme overrides the value obtained from the XSETTINGS manager. (since 0.12)

If not try searching for ‘icon’ in the rest of the repo, issues etc.

cranberryjam,
@cranberryjam@lemmy.blahaj.zone avatar

Unfortunately, setting the launcher icon theme seems to have no effect on the taskbar icons. Thank you though.

Lettuceeatlettuce, in The Linux Experiment Channel (From Nick) is on Peertube, and it federates right into Lemmy as a community

Done :)

jvrava9, in Just moved to Linux: a follow up
@jvrava9@lemmy.dbzer0.com avatar

Timeshift for backups is a godsend in these situations

Dariusmiles2123,

OP should just know that TimeShift doesn’t work on Fedora Workstation without some tinkering.

Bluefruit,

Thats good to know because Fedora seems to be where im heading when i make the switch as well.

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

I'm assuming you've already found it, but just in case you didn't: Framework has setup guides for Fedora, which presumably should make everything work as intended. Find your device on this page, then click "Fedora 39 Setup Guide" on the right-hand side: https://frame.work/linux

TCB13, in Calamares 3.3 Released as the Next Generation Graphical Installer for Linux - 9to5Linux
@TCB13@lemmy.world avatar
KarnaSubarna,
@KarnaSubarna@lemmy.ml avatar
cerement, in are tiling WM good only for terminal?
@cerement@slrpnk.net avatar
  • a big feature of tiling window managers is the auto-placement / auto-adjustment / auto-sizing of windows to fit available space
    • their main focus is always having everything visible (nothing hidden behind overlaps)
    • and most of them take advantage of having a good set of keybinds so everything can be keyboard driven rather than half-and-half with a mouse
  • before jumping feet first into tiling window managers, get an easy introduction with
    • Pop Shell – an extension that adds tiling features to Gnome
    • PaperWM adds linear tiling to Gnome
    • Material Shell – focusing on a more grid based workspace model
  • DistroTube argued that the killer feature of tiling window managers is the workspaces, not the tiling
  • check through the hotkeys of your current window manager – you won’t get the full dynamic features of a tiling window manager, but most of them have keys for snapping windows to top-half, bottom-half, left-half, right-half (as well as sometimes offering by quarter as well)
callyral,
@callyral@pawb.social avatar

DistroTube argued that the killer feature of tiling window managers is the workspaces, not the tiling

non-tiling window managers can also have different workspaces, or even DEs such as KDE Plasma. IIRC even Windows has those (although with inconvenient keybindings imo)

wiikifox,
@wiikifox@pawb.social avatar

I think they’re talking about the tandem of tiling and workspaces, as usually you can customize your tiling per-workspace. Some TWMs have tags instead of workspaces, making it even better.

linuxPIPEpower,

what’s so special about workspaces in tiling wms compared to other options?

PerogiBoi, in Firefox 121 Now Available With Wayland Enabled By Default
@PerogiBoi@lemmy.ca avatar

I love Wayland because it simply tastes the best.

trashxeos, in Suspension on my laptop (closing the lid) causes Wifi to not be available.

Any additional details you can add would go a long way towards troubleshooting. That desktop are you using (ex: Gnome, KDE, etc) and what model of laptop, the full hardware specs including CPU, GPU, WiFi model, etc. Finally, you’ll want to look at the system logs to see if there’s anything useful in there after resuming from sleep (journalctl).

RossoErcole,
@RossoErcole@kbin.social avatar

The desktop is Cinnamon, I did include it in the original post too, maybe I should make it clearer.

Laptop is an MSI GS65-Stealth-Thin-8RF

Other System Info:

System:
Kernel: 5.15.0-91-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.8.4
tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: Micro-Star product: GS65 Stealth Thin 8RF v: REV:1.0
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Micro-Star model: MS-16Q2 v: REV:1.0 serial: <superuser required>
UEFI: American Megatrends v: E16Q2IMS.112 date: 05/21/2019
CPU:
Info: 6-core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake rev: A cache:
L1: 384 KiB L2: 1.5 MiB L3: 9 MiB
Speed (MHz): avg: 941 high: 1025 min/max: 800/4100 cores: 1: 913 2: 875 3: 1025 4: 867 5: 952
6: 911 7: 979 8: 921 9: 966 10: 994 11: 904 12: 988 bogomips: 52799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Micro-Star MSI driver: i915
v: kernel ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3e9b
Device-2: NVIDIA GP104M [GeForce GTX 1070 Mobile] vendor: Micro-Star MSI driver: nvidia
v: 535.129.03 pcie: speed: 2.5 GT/s lanes: 16 ports: active: none empty: DP-2,HDMI-A-2
bus-ID: 01:00.0 chip-ID: 10de:1ba1
Network:
Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet vendor: Micro-Star MSI driver: alx
v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 3d:00.0 chip-ID: 1969:e0b1
IF: enp61s0 state: down mac: <filter>
Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1
bus-ID: 3e:00.0 chip-ID: 8086:2526
IF: wlp62s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-14:3
chip-ID: 8087:0025
Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
sub-v: 100

trashxeos,

I must have just missed that originally, I was commenting before coffee.

I see you have the combination graphics (Optimus is what it was originally called IIRC) which has a history of sleep wake issues, that might be a good place to start on the monitor search.

RossoErcole,
@RossoErcole@kbin.social avatar

I'm trying to get the logs, but it's difficoult to paste them all here, I got a few on this link. But they all seem from 20 October, wierd.
https://sharetext.me/nqz5mfph2y

trashxeos,

Sorry, I forgot that it doesn’t default to latest. Make a share text of journalctl -b instead

RossoErcole,
@RossoErcole@kbin.social avatar

The lines are quite many, they started at 1pm, while now that I was testing it's 5pm, only to go down by one minute it took quite a long time (definetly more than 1 minute) I'm not sure how to check

EDIT: ok I got to use -n #numer of lines

RossoErcole,
@RossoErcole@kbin.social avatar

Here it is, it should be the correct one: https://sharetext.me/q7eo87psmq

RossoErcole,
@RossoErcole@kbin.social avatar

@trashxeos I'm kind of lost, did you have any luck looking trough the logs of journalctl?

Frederic, (edited ) in Suspension on my laptop (closing the lid) causes Wifi to not be available.

You need to unload your wifi module before suspend.

Without systemd it’s easy:

create a file /etc/pm/config.d/config containing:


<span style="color:#323232;">HOOK_BLACKLIST="wireless"
</span><span style="color:#323232;">SUSPEND_MODULES=”NAME_OF_YOUR_WIFI_MODULE”
</span><span style="color:#323232;">SUSPEND_MODULES=”wl”
</span>

With systemd try this

create a file /usr/lib/systemd/system-sleep/fix-wifi.sh containing (fuck this editor, replace the “##” with “&&”) :


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">[ "$1" = "post" ] ## exec /usr/sbin/modprobe NAME_OF_YOUR_WIFI_MODULE
</span><span style="color:#323232;">[ "$1" = "pre" ] ## exec /usr/sbin/modprobe -r NAME_OF_YOUR_WIFI_MODULE
</span><span style="color:#323232;">exit 0
</span>

and make it executable with chmod 755 /usr/lib/systemd/system-sleep/fix-wifi.sh

RossoErcole, (edited )
@RossoErcole@kbin.social avatar

It doesn't work, should it look like this the script?

#!/bin/sh
[ "$1" = "post" ] ## exec /usr/sbin/modprobe Intel Corporation Wireless-AC 9260
[ "$1" = "pre" ] ## exec /usr/sbin/modprobe -r Intel Corporation Wireless-AC 9260
exit 0

EDIT: should the name be something like wlp62s0 ??? I'm going to try it

Frederic,

you have to replace the ## with &&

the name should be iwlwifi

RossoErcole,
@RossoErcole@kbin.social avatar

how do I check the name? because iwlwifi doesn't work

Frederic,

well, are you sure the script is executed? I don’t know systemd enough :-(

First, do a test in command line modprobe -r iwlwifi

then suspend your laptop, resume it after a few seconds then do

modprobe iwlwifi

and see if wifi is working

RossoErcole,
@RossoErcole@kbin.social avatar

Yeah, thanks for the help even if you don't know much. I get stuck on the first command where I get this error:

rmmod: ERROR: ../libkmod/libkmod-module.c:799 kmod_module_remove_module() could not remove 'iwlmvm': Operation not permitted
rmmod: ERROR: could not remove module iwlmvm: Operation not permitted
rmmod: ERROR: Module iwlwifi is in use by: iwlmvm
modprobe: FATAL: Error running remove command for iwlwifi


Frederic,

yes of course

sudo modprobe -r iwlwifi

RossoErcole,
@RossoErcole@kbin.social avatar

I've tried. After suspension but before modprobe the wifi is not available, after modprobe it is there, but is disabled and cannot be enabled.

Vinegar, in Is Ubuntu deserving the hate?
@Vinegar@kbin.social avatar

I avoid Ubuntu because Canonical has a history of going their own way alone rather than collaborating on universal standards. For instance, when the X devs decided the successor to X11 needed to be a complete redesign from scratch companies like RedHat, Collabora, Intel, Google, Samsung, and more collaborated to build Wayland. However, Canonical announced Mir, and they went their own way alone.

When Gnome3 came out it was very controversial and this spawned alternatives such as Cinnamin, MATE, and Ubuntu's Unity desktop. Unity was the only Linux desktop, before or since, to include sponsored bloatware apps installed by default, and it also sold user search history to advertisers.

Then, there's snap. While Flatpak matured and becoame the defacto standard distro-agnostic package system, Canonical once again went their own way alone by creating snap.

I'm not an expert on Ubuntu or the Linux community, I've just been around long enough to see Canonical stir up controversy over and over by going left when everyone else goes right, failing after a few years, and wasting thousands of worker hours in the process.

actionjbone,

You’re not wrong, but there’s also value in exploring different ways to do similar things. That’s what’s great about Linux.

Some of Canonical’s efforts may lead to failure, but that doesn’t mean they are a waste.

nossaquesapao,

One thing is to explore different ways to do things, like many projects do, but ubuntu goes further and FORCES people to use their experiments, as if they’re some sort of testing ground, not as if they’re the most used family of linux distros and the one a lot of people rely on.

Edit: Sorry if my tone was excessive, I think I’m getting grumpy with age.

actionjbone,

Haha, I get it. No offense taken.

I don’t disagree. But for better or worse, most people don’t think that much about their software.

Folks like us who do? We can make informed decisions.

Folks who don’t? Canonical’s experiments are probably still better than dealing with Windows 11 or macOS.

jherazob,
@jherazob@beehaw.org avatar

Pretty much this, they don’t deserve hate but i won’t recommend them either

electric_nan, in Is Ubuntu deserving the hate?

I’m quite happy with Linux Mint Debian Edition. I think it is the future of Mint. It’s on a very recent kernel, and more and more software I use nowadays is in Flatpaks anyways. I don’t feel like I’m missing out on much new stuff, but maybe I’m just not aware.

dan,
@dan@upvote.au avatar

How different is it from regular Debian? Like if I’m very experienced with Debian, does that equate to being able to easily use Mint Debian Edition too?

electric_nan,

I found normal Debian to be a little unpolished for my liking. Even using the Cinnamon DE, it was lacking some niceties that Mint brings. I don’t think you’ll have any trouble using Mint.

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