linux

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

tkk13909, in creating an alias of a command with plenty special characters

Try using ‘apostrophes’ for the outer set of quotes and see if that works

JDubbleu, (edited ) in creating an alias of a command with plenty special characters

Not at my computer so I can’t double check, but I believe you can replace the outer double quotes with single quotes. I’d also remove the spaces before and after the equal sign for the alias. I don’t know about fish but I know bash doesn’t like when you add spaces there.

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,
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.

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

AI_toothbrush,

Sorry i had a brain poop moment

caseyweederman,

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

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.

cerement, (edited ) 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)
linuxPIPEpower,

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

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.

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

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, (edited )
@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 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?

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, (edited )

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.

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, (edited )

you have to replace the ## with &&

the name should be iwlwifi

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

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

Frederic, (edited )

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, (edited )
@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.

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.

ImADifferentBird, in Reddit API blew up and now I run Linux?
@ImADifferentBird@lemmy.blahaj.zone avatar

ONE OF US

ONE OF US

Kawi, in Reddit API blew up and now I run Linux?

It happened to me too.

Affair4377, in Reddit API blew up and now I run Linux?

One of us! One of us

Tehhund, in What's your favourite RSS reader for Linux?

miniflux.app - web based so you can read it locally or remotely.

brenno, (edited ) in What's your favourite RSS reader for Linux?

FluentReader not only looks pretty good, but also is capable of fetching the text from linked articles, avoiding needing to open a web browser (and also stripping all ads in the process)

PropaGandalf, (edited ) in what's your opinion on typst?

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!!!

oh_gosh_its_osh, (edited ) in What's your favourite RSS reader for Linux?
@oh_gosh_its_osh@lemmy.ml avatar

Did use tt-rss in the past but switched over to miniflux, as I just wanted something more resource friendly.

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