Search
How to do a factory reset on LineageOS?
I used to know how to do this, but forgot (been a long time since I've used Lineage).
Don't know if "factory reset" is even the correct term here, but I'd like to wipe everything on the phone, files, apps that don't come bundled with the OS, everything except Lineage itself. I think you have to go into TWRP (???), and then . . . ? Anyway, would be much obliged for any help with this.
Launching Helix with default theme in tmux causes unexpected change in colors
Hi,
I'm new to both using Helix and terminal multiplexers in general, so I'd appreciate some help with this. When I launch Helix without tmux
, I see the default theme with a purple background, which I like:
But when I launch it using tmux
, even with the -2
flag, Helix does not display the same color scheme:
I have tried making a config.toml file with an [editor]
section and set true-color
to true
, but that didn't appear to help. How can I use the default theme with tmux
? I'm using GNOME 47 with wayland on Fedora, in case that matters.
Any post I've seen involving Helix, tmux & colors seem to be with custom themes, so I don't know which threads are relevant to this, if any.___
Do you know about the upcoming February 5th event ?
is it well known and do people talk about it ... like in the mainstream media ?
[solved] in the media :
https://www.newsweek.com/50-states-anti-trump-protest-nationwide-february-5-details-2025300
( thanks to irelephant )
What To Know
The movement has a website at 50501movement.carrd.co and is active on Instagram, Reddit, Bluesky, Discord and Signal.
:::spoiler [caution]
https://bsky.app/profile/ecmclaughlin.bsky.social
(see comment below by @Lennnny@lemmy.world )
Listen,
for folks who don’t know, I was a part of a small organizing team that led to a mass mobilization in 813 cities worldwide in 2019.I am not talking out of my ass.
You should be VERY VERY VERY careful in this environment about sharing flyers for events that identify NO organizer :::
See also :
GeneralStrikeUS.com
proposed by : @TexMexBazooka@lemm.ee
[solved] by : @Ser
how to get local posts and posts from subscribed communities? (lemmy fetch api)
question is solved! answer: add type_
parameter at /post/list endpoint.
\
example: https://lemmy.world/api/v3/post/list?type_=Local
for local posts
What is the maximum username length for a Lemmy account?
Solution
The Lemmy server appears to have a database limit of 255 characters [2]; however, individual instances appear to put their own limits on username length [3][4.1][4.2].
Original Post
If you know, please also provide relevant documentation.
UPDATE (2025-02-02T06:06Z): I did some brute-force testing, and, at least for sh.itjust.works, it seems that the maximum username length is 50, and the maximum password length is 60 [1].
::: spoiler References
- "Sign Up". sh.itjust.works. Lemmy. Accessed: 2025-02-02T08:49Z. https://sh.itjust.works/signup.
- When creating an account on sh.itjust.works, the sign-up form will throw this error if the provided password is greater than 60 characters in length.
- @TootSweet@lemmy.world To: ["[SOLVED] What is the maximum username length for a Lemmy account?". "Kalcifer" @Kalcifer@sh.
Implications of removing make dependencies after install with yay
undefined
:: Remove make dependencies after install? [y/N] y
If I didn't remove make dependencies, would yay/pacman be smart enough to know the thing I am installing does not actually depend on them? It's a very nice feature of package managers that they track dependencies and can do things like remove "dangling" dependencies and I don't want to mess that up with some random dependencies needed only for a build. But I also don't want to install something every time I need to build lol.
So does yay and/or pacman know that the things I am installing don't actually depend on the make dependencies?
Solution: Keeping the make dependencies after install will not fool pacman and/or yay into thinking the make dependencies are "real" dependencies of whatever you're building from AUR. They both correctly recognize them as orphans (unless of course something else actually depends on them). So feel free to not remove them during install without worrying about dependency graphs gettin
systemd: BindReadOnlyPaths
alternative allowing user to read it
I've inherited a systemd service and it uses BindReadOnlyPaths
to make certain paths available to the service (doc)
A bind mount makes a particular file or directory available at an additional place in the unit's view of the file system. Any bind mounts created with this option are specific to the unit, and are not visible in the host's mount table.
The service is running using a specific user and I would like the user to access those read-only paths outside of the service. Is there an possibility within systemd that would allow me to do that?
Edit: solved it with a systemd bind mount
Is Lemmy.world getting slow or is just my connection? [Update] Is better now
Stop Lemmy from mirroring link images
By default Lemmy seems to be mirroring every link's preview image. Even when that link was originally posted on an external Lemmy instance. That can put quite a strain on small servers. Is there a way to disable this? Ideally I would have pict-rs just be used to host the images my users upload and nothing else.
Solved:
Add
undefined
pictrs: { image_mode: "None" }
to lemmy.hjson.
Why does my iPhone give a privacy warning on my wifi's 5G band only?
I have two SSIDs on my home wifi, one for the 2.4GHz band and one for the 5G band. I noticed that my phone is giving me a Privacy Warning ("This network is blocking encrypted DNS traffic"), but only when connected to the 5G network. I use Mullvad's DoH profile on my phone and my router also points to Mullvad as the DNS provider. As far as I can tell, both networks are configured the same, except for the 2.5GHz network having an extra 20/40 MHz Coexistence setting (that is enabled). And even then, I don't understand how my network is blocking encrypted DNS traffic, let alone only on one band. Anyone have an idea what's going on?
EDIT: Never mind, I rebooted my phone and it went away. We had an ISP outage and my phone just connected to my network after it was restored, so I guess there was some random bug.
Suggestions for my next distro
cross-posted from: https://lemmy.ca/post/38277245
I am looking to switch to a different Linux distribution (or BSD). I currently use openSUSE Tumbleweed, which is quite nice, but I'm having issues with my USB ports and it takes a hot second to boot up.
However, the reason I'm asking here instead of going straight to DistroWatch is that my laptop has a problem. When I turn it on, it bootloops unless it's connected to power when I press the button. As such, this distribution would need to be able to handle running for weeks on end without a reboot.
I could get this repaired or replaced, but I have neither the time nor the money to spare.
So, does anyone have any suggestions? Or should I just slap Fedora Kinoite on it and call it a day?
EDIT: I went for
DebianFreeBSD, as well as runningfwupd
, and it's all working now. Thanks!
Suggestions for my next distro
I am looking to switch to a different Linux distribution (or BSD). I currently use openSUSE Tumbleweed, which is quite nice, but I'm having issues with my USB ports and it takes a hot second to boot up.
However, the reason I'm asking here instead of going straight to DistroWatch is that my laptop has a problem. When I turn it on, it bootloops unless it's connected to power when I press the button. As such, this distribution would need to be able to handle running for weeks on end without a reboot.
I could get this repaired or replaced, but I have neither the time nor the money to spare.
So, does anyone have any suggestions? Or should I just slap Fedora Kinoite on it and call it a day?
EDIT: I went for Debian FreeBSD, as well as running fwupd
, and it's all working now. Thanks!
My posts are getting unlisted, why?
I made an account on gram.social where I want to share stuff from my band to divert some traffic off of Instagram.
Everytime when I try to post a picture through the pixelfed app ot shows up as "unlisted" and not "public" even if I flag it correctly in the posting menu.
Does my new account have to get verified or is there a setting I'm missing? The account is public and you can find stuff by searching, though I think my forst lost doesn't show up in feeds or hashtags or anything else.
Cheers and have a good one!
Edit: So I opened Pixelfed on PC and got a notification that the first post needs to be approved by an human to appear as public from then on. The topic can be considered solved but I'll leave the post up for anyone being as confused as I was.
Convert commonmark links to Headings with spaces to GitHub flavored markdown.
Edit
My question was very badly written but the new title reflect the actual question. Thanks to 3 very friendly and dedicated users (@harsh3466 @tuna @learnbyexample) I was able to find a solution for my files, so thank you guys !!!
For those who will randomly come across this post here are 3 possible ways to achieve the desired results.
Solution 1 (https://lemmy.ml/post/25346014/16383487)
undefined
#! /bin/bash files="/home/USER/projects/test.md" mdlinks="$(grep -Po ']\((?!https).*\)' "$files")" mdlinks2="$(grep -Po '#.*' <<<$mdlinks)" while IFS= read -r line; do #Converts 1.2 to 1-2 (For a third level heading needs to add a supplementary [0-9]) dashlink="$(echo "$line" | sed -r 's|(.+[0-9]+)\.([0-9]+.+\))|\1-\2|')" sed -i "s/$line/${dashlink}/" "$files" #Puts everything to lowercase after a hashtag lowercaselink="
Minecraft on an i5 with 8gb of memory?
[Solved Empirically] I have loaded this up on my machine and I seem to be getting good frame rates, but I am working under Fluxbox, a really light weight window manager. I would like to run KDE instead. It's a little heavier. Will that make a difference to Minecraft? Will minecraft work better if I am running with a server on another machine? (logic would say that with some portion of the work happening on that other machine the client should not need as much processing power)
Or is it just useless to worry about all this?
--Update Ok, I have re-installed the machine on KDE and tried it both against a server and a local game and both seem to run just fine, just an occasional double place but not a big deal.
Best way to switch a headless server from WiFi to ethernet?
I have a server running Debian that has been connected to WiFi for a long time, but I have since moved it and given it a wired connection. It still seems to be using WiFi though, and in my router settings it shows up as connected through WiFi and not through ethernet.
Now I want to make sure that I can switch over from WiFi to ethernet directly from an ssh-connection so I won't have to connect a screen to get direct access.
What is my best bet here? A lot of the tools I find used for different network operations are not pre-installed, and I don't want to be installing just everything being suggested. Can I solve this by installing network-manager and using nmcli?
EDIT: I also want to disable the wireless card.
EDIT2: No eth-interface shows up when running ip link show
, EDIT3: but r8169 0000:02:00.0 enp2s0: renamed from eth0
shows up in dmesg
and enp2s0
shows up in ip link show
, so I guess it is recongized then.
[SOLVED] EDIT4: I made the modifications manually in `etc
Nextcloud can't see config.php in new install directory
Update: Turned out I had like 3 versions of php and 2 versions of postgres all installed in different places and fighting like animals. Cleaned up the mess, fresh install of php and postgres, restored postgres data to the database and bobs your uncle. What a mess.
Thanks to everyone who commented. Your input is always so helpful.
Original Post
Hey everyone, it's me again. I'm now on NGINX, surprisingly simple, not here with a webserver issue today though, rather a nextcloud specific issue. I removed my last post about migrating from Apache to Caddy after multiple users pointed out security issues with what I was sharing, as well as suggesting caddy would be unable to meet my complex hosting needs. Thank you, if that was you.
During the NGINX setup which has gone shockingly smoothly I moved all of my site root directories from /usr/local/apache2/secure to /var/www/
Everything so far has moved over nicely... that is until nextcloud.
swap partition problems
Hello everybody! here's the problem:
In my EndeavourOS laptop I had a /swapfile
, but couldn't take snapshots with snapper because of it (if I understood correctly). So, I created a 16Gb swap partition using GParted from a live USB. Then, I edited /etc/fstab
to remove the line about the swapfile and to add the newly created swap partition:
undefined
UUID=506d48e6-1cc0-4136-ba55-6f2f187bcdb1 swap swap defaults 0 0 # /swapfile none swap sw 0 0
I took the UUID from
sh
$ sudo blkid /dev/nvme0n1p3: LABEL="swap" UUID="506d48e6-1cc0-4136-ba55-6f2f187bcdb1" TYPE="swap" PARTLABEL="SWAP" PARTUUID="b4543e4e-4623-4317-99aa-086b0e62836e" ...
if I run sudo swapon -a
it gets enabled correctly and it all works fine. The problem however is that when I reboot the machine, it gets stuck in the systemd screen saying "a job is running for /dev/disk/etc..." forever, and the only way I have to log in is to boot from a live
Can't renew cert on a self-hosted lemmy instance D:
EDIT: Thanks everyone for your time and responses. To break as little as possible attempting to fix this I've opted to go with ZeroSSL's DNS process to acquire a new cert. I wish I could use this process for all of my certs as it was very quick and easy. Now I just have to figure out the error message lemmy is throwing about not being able to run scripts.
Thank you all for your time sincerely. I understand a lot more than I did last night.
Original Post
As the title says I'm unable to renew a cert on a self-hosted lemmy instance. A friend of mine just passed away and he had his hands all up in this and had it working like magic. I'm not an idiot and have done a ton of the legwork to get our server running and working - but lemmy specifically required a bit of fadanglin' to get working correctly. Unfortunately he's not here to ask for help, so I'm turning to you guys. I haven't had a problem with any of my other software such as nextcloud or pixelfed but for some re
Fixing wrongly set environment variable in Flatseal (when Flatseal won't run)?
SOLVED: BananaTrifleViolin's post contains the solution.
Flatseal won't start by itself anymore, which is a known issue. I got it running by running
undefined
GSK_RENDERER=gl com.github.tchx84.Flatseal
and inspired by a response in the above linked issue, I wanted to add GSK_RENDERER=gl
as a variable in Flatseal so I could open it without having to manually run this in the terminal.
However, I seem to have screwed that up, and written GSK_RENDERER=ng
instead, because the application still won't run, and now I get the following output anytime I try to open it by the method above:
undefined
(com.github.tchx84.Flatseal:2): Gsk-WARNING **: 22:09:54.997: Unrecognized renderer "ng". Try GSK_RENDERER=help MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:782: FINISHME: support YUV colorspace with DRM format modifiers MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:814: FINISHME: support more multi-planar formats with DRM modifiers