![Community banner](https://lemmy.ml/pictrs/image/589a43f9-13cf-4202-821c-b76a635e3604.png)
![gnomeunofficial](https://lemmy.ml/pictrs/image/d92dac22-cacd-4cf8-b752-1bdfb90712bb.png?format=webp&thumbnail=48)
The (unofficial) GNOME Community on Lemmy
- Introducing GNOME 46, “Kathmandu”release.gnome.org GNOME Release Notes
Discover what's new in GNOME, the distraction-free computing platform.
- Wayland really breaks things… Just for now?
Note: I'm not the author
This post is in part a response to an aspect of Nate’s post “Does Wayland really break everything?“, but also my reflection on discussing Wayland protocol additions, a unique pleasure that I have been involved with for the past months1.
- Add YOUR city to the Gnome weather app [Solved]
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
```bash #!/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
- Save the script to a text file and save with the
.sh
extension - Provide execute permission:
chmod u+x script.sh
- run the script by double clicking or
./script.sh
- Save the script to a text file and save with the
- File Roller double click action
I Gnome 44, when I double click a archive, the archive is extracted in a subdir of the current directory. Is it possible to change that behavior, so that a window opens with the contents of the clicked archive?
- Tactile - tiling window placement extension
My usual workflow involves quite a good deal of side-by-side windows:
For each "thing" I'm working on, viewing, doing, I use a separate desktop w/ all the required windows in there. For example when coding, for each project I usually have got an Emacs window, a Firefox window, often a Nautiuls window and occasionally an Alacirtty window open.
Managing that kind of window placement has always been a hassle for me. The default snap-to-edge in Gnome works quite well but is limited.
---
That's until I found out about Tactile a few days ago: it's a Gnome Shell extension that helps you place windows in a configurable tile set.
I've been using it for a couple of days now and it has really upped my workflow substantially. Here's a shout out to the developer 👏
- Practical and smart idea
- Stable implementation
- Easy to use - gets out of your way
- Reasonably configurable
Definitely worth trying out ✅
- Add .tar.zst to Nautilus Compression Dropdown
I saw the issue open here regarding a configurable Zstandard compression level for Nautilus Compressor, but I'm not sure how to reveal Zstandard compression in Nautilus as a compressor option in the first place. Is this possible? If so, how can I do it? I'm already aware nautilus-scripts is a thing, but I'm looking for a solution specifically in this dropdown menu. Thanks!
- gnome shell ram usage breakdown
cross-posted from: https://lemmy.world/post/2837412
> How can I see how much memory each extension is using?
- LibAdwaita window decorations for Qt applicationsgithub.com GitHub - urFate/QAdwaitaPlatform: QPlatformTheme for a better Qt application inclusion in GNOME
QPlatformTheme for a better Qt application inclusion in GNOME - GitHub - urFate/QAdwaitaPlatform: QPlatformTheme for a better Qt application inclusion in GNOME
This is a fork of QGnomePlatform updated to the new LibAdwaita look
There's no flatpak version yet (which is why it doesn't work in flatpak applications) but the developer said on Reddit that he's gonna make one
- Nautilus Bulk Renaming - Is it Possible to Delete Everything After the Underscore?
I recently purchased, ripped, and almost finished transcoding the entire series of Friends. I’m currently in the process of converting subtitles with Subtitle Edit. I’d like to save myself a bit of work by taking the last 13-14 characters off the ends of the file names.
For example, I’d like to take track13[spa] off of the following filename: 03x10 - The One Where Rachel Quits_track13_[spa].sup
Or is this not possible with Nautilus?
- Introducing GNOME 44, “Kuala Lumpur”release.gnome.org GNOME Release Notes
Discover what's new in GNOME, the distraction-free computing platform.