ademir

joined 1 year ago
[–] [email protected] 3 points 1 day ago (1 children)

eu usei a outra sintaxe pq ele tá no mastodon.

[–] [email protected] 1 points 3 days ago (2 children)

mas não será a mesma conta nas duas plataformas. Ele vai gerar uma conta local na instancia pixelfed.

[–] [email protected] 2 points 3 days ago (3 children)

Pois é, eu acho que o pixelfed implementou um tipo de sso usando o mastodon, então dá sim. @[email protected]

[–] [email protected] 2 points 3 days ago (3 children)

A comunidade brasileira do fediverso fica no @[email protected] a do lemmy.world é em ingles.

[–] [email protected] 3 points 3 days ago

I will talk to him. Thanks!

[–] [email protected] 1 points 6 days ago

lol hahahahaha

[–] [email protected] 5 points 1 week ago (1 children)

The only issue that makes this interoperation unusable really is that Mastodon groups representing Lemmy communities just “retoot” every single comment, obliterating the TL of anyone who dares to follow those groups. Which as far as I know only happens because Mastodon refuses to be cooperative and properly follow the standards.

Pleroma/Akkoma deal better with this, The groups there only retoot the main topic, and the answers you only see If you open the main topic, then you see all the threads.

[–] [email protected] 2 points 1 week ago

but they are pretty much the same people, aren't they? I don't know much tbh.

[–] [email protected] 3 points 1 week ago

wow! that's cool. Good job!

[–] [email protected] 2 points 1 week ago (2 children)

there is lemmynsfw

1
G-Man: Real-Life Confirmed! (packaged-media.redd.it)
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
27
G-Man: Real-Life Confirmed! (packaged-media.redd.it)
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
52
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

Come the next major release of Red Hat Enterprise Linux, Red Hat is officially dropping the Xorg package, whilst it'll still be available in RHEL 9 until 2032 the countdown has begun, Xorg is on the way out. Are you and your software going to be ready in time.

New video by: @[email protected]

279
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

OpenSSH's ssh-keygen command just got a great upgrade.

New video from @[email protected]


Edit:

She has a peertube channel: [email protected] and it federatess as a Lemmy Community

The Peertube video in Lemmy.ml: https://lemmy.ml/post/8842820

Link to the video in your instance.

53
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

cross-posted from: [email protected] | https://lemmy.eco.br/post/1969330

I've been using Gnome for about 10 months and it always bothered me that my city (with more than a million inhabitants) was not found in the Weather program.

I looked for solutions several times and never found them, until I found this thread yesterday. That the user Julian made a script that solves this problem. you just have to run and enter the name of your city and then confirm.

script

#!/bin/bash

if [[ ! -z "$(which gnome-weather)" ]]; then
	system=1
fi

if [[ ! -z "$(flatpak list | grep org.gnome.Weather)" ]]; then
	flatpak=1
fi

if [[ ! $system == 1 && ! $flatpak == 1 ]]; then
	echo "GNOME Weather isn't installed"
	exit
fi

if [[ ! -z "$*" ]]; then
	query="$*"
else
	read -p "Type the name of the location you want to add to GNOME Weather: " query
fi

query="$(echo $query | sed 's/ /+/g')"

request=$(curl "https://nominatim.openstreetmap.org/search?q=$query&format=json&limit=1" -s)

if [[ $request == "[]" ]]; then
	echo "No locations found, consider removing some search terms"
	exit
fi

read -p "If this is not the location you wanted, consider adding search terms
Are you sure you want to add $(echo $request | sed 's/.*"display_name":"//' | sed 's/".*//')? [y/n] : " answer

if [[ ! $answer == "y" ]]; then
	echo "Not adding location"
	exit
else
	echo "Adding location"
fi

id=$(echo $request | sed 's/.*"place_id"://' | sed 's/,.*//')

name=$(curl "https://nominatim.openstreetmap.org/details.php?place_id=$id&format=json" -s | sed 's/.*"name": "//' | sed 's/".*//')

lat=$(echo $request | sed 's/.*"lat":"//' | sed 's/".*//')
lat=$(echo "$lat / (180 / 3.141592654)" | bc -l)

lon=$(echo $request | sed 's/.*"lon":"//' | sed 's/".*//')
lon=$(echo "$lon / (180 / 3.141592654)" | bc -l)

if [[ $system == 1 ]]; then
	locations=$(gsettings get org.gnome.Weather locations)
fi

if [[ $flatpak == 1 ]]; then
	locations=$(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations)
fi

location="<(uint32 2, <('$name', '', false, [($lat, $lon)], @a(dd) [])>)>"

if [[ $system == 1 ]]; then
	if [[ ! $(gsettings get org.gnome.Weather locations) == "@av []" ]]; then
		gsettings set org.gnome.Weather locations "$(echo $locations | sed "s|>]|>, $location]|")"
	else
		gsettings set org.gnome.Weather locations "[$location]"
	fi
fi

if [[ $flatpak == 1 ]]; then
	if [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == "@av []" ]]; then
		flatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations "$(echo $locations | sed "s|>]|>, $location]|")"
	else
		flatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations "[$location]"
	fi
fi


It occurred to me that some people might not know how to run scripts, so here's a brief tutorial:

How to run scripts in Linux

  1. Save the script to a text file and save with the .sh extension
  2. Provide execute permission: chmod u+x script.sh
  3. run the script by double clicking or ./script.sh
16
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Gnome terminal takes ages to load, I am convict this is not supposed to happen lol.

Anybody experienced something similar?

Edit: the same behavior with gedit and firefox too. take about 30 seconds to launch.
I have no idea what might be.


Thanks @[email protected]

Maybe it’s this bug: https://bbs.archlinux.org/viewtopic.php?id=285590

 
view more: next ›