[-] ademir@lemmy.eco.br 3 points 3 days ago

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

[-] ademir@lemmy.eco.br 1 points 5 days ago

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

[-] ademir@lemmy.eco.br 2 points 5 days ago

Pois é, eu acho que o pixelfed implementou um tipo de sso usando o mastodon, então dá sim. @pbaesse@ursal.zone

[-] ademir@lemmy.eco.br 2 points 5 days ago

A comunidade brasileira do fediverso fica no @fediverse@bolha.forum a do lemmy.world é em ingles.

[-] ademir@lemmy.eco.br 3 points 5 days ago

I will talk to him. Thanks!

[-] ademir@lemmy.eco.br 49 points 1 month ago

This was a thing for a short time, most people on lemmy didn't like it.

[-] ademir@lemmy.eco.br 50 points 7 months ago* (last edited 7 months ago)

What could be done to improve interoperability between federated platforms?
mainly talking about Mastodon since it is the biggest one.

I have seen the Peertube dev is quite nice and approachable. And willing to improve the experience cross-platform.

Have you tried to approach @Gargron@mastodon.social? Is he willing to contribute? How could we get Mastodon to improve the user experience with federated content, eg. communities and article posts?

What about @dansup@lemmy.ml / @dansup@mastodon.social and Pixelfed?

33
Spoiler tag support (lemmy.eco.br)

spoilerTest

60
submitted 8 months ago by ademir@lemmy.eco.br to c/fediverse@lemmy.world
[-] ademir@lemmy.eco.br 145 points 9 months ago

Six Six Six, The kernel of the beast.
Hell and fire was spawned to be released

Boards blazed and reviewed codes were praised
As they start to try, hands held to the sky
In the night, the coffee is burning hot
The commit has begun, Linus work is done

53
G-Man: Real-Life Confirmed! (packaged-media.redd.it)
submitted 9 months ago* (last edited 9 months ago) by ademir@lemmy.eco.br to c/linux_gaming@lemmy.world
26
G-Man: Real-Life Confirmed! (packaged-media.redd.it)
submitted 9 months ago* (last edited 9 months ago) by ademir@lemmy.eco.br to c/gaming@lemmy.ml
51
submitted 9 months ago* (last edited 9 months ago) by ademir@lemmy.eco.br to c/linux@lemmy.ml

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: @BrodieOnLinux@linuxrocks.online

279
submitted 9 months ago* (last edited 9 months ago) by ademir@lemmy.eco.br to c/linux@lemmy.ml

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

New video from @vkc@mspsocial.net


Edit:

She has a peertube channel: !veronicaexplains@tinkerbetter.tube 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.

[-] ademir@lemmy.eco.br 39 points 9 months ago

There were many like that, lol!

82
submitted 9 months ago by ademir@lemmy.eco.br to c/snoocalypse@lemmy.ml
1259
submitted 9 months ago by ademir@lemmy.eco.br to c/reddit@lemmy.world
11
submitted 9 months ago* (last edited 9 months ago) by ademir@lemmy.eco.br to c/gnome@discuss.tchncs.de

cross-posted from: !linux@lemmy.eco.br | 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
53
submitted 9 months ago* (last edited 9 months ago) by ademir@lemmy.eco.br to c/linux@lemmy.ml

cross-posted from: !linux@lemmy.eco.br | 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
10
submitted 10 months ago by ademir@lemmy.eco.br to c/noticias@lemmy.eco.br

Olha as ideia.

18
submitted 10 months ago by ademir@lemmy.eco.br to c/noticias@lemmy.eco.br
[-] ademir@lemmy.eco.br 56 points 11 months ago
view more: next ›

ademir

joined 1 year ago
MODERATOR OF