GET https://kbin.spritesserver.nl/m/linux@lemmy.ml/t/18263/Add-YOUR-city-to-the-Gnome-weather-app-Solved

Components

24 Twig Components
130 Render Count
428 ms Render Time
14.0 MiB Memory Usage

Components

Name Metadata Render Count Render Time
user_avatar
"App\Twig\Components\UserAvatarComponent"
components/user_avatar.html.twig
22 9.89ms
settings_row_switch
"App\Twig\Components\SettingsRowSwitchComponent"
components/_settings_row_switch.html.twig
15 2.37ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
13 2.14ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
12 6.54ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
11 1.28ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
10 230.70ms
entry_comments_nested
"App\Twig\Components\EntryCommentsNestedComponent"
components/_cached.html.twig
10 145.22ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
9 4.10ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
9 19.60ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 0.88ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.46ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 25.32ms
entries_cross
"App\Twig\Components\EntriesCrossComponent"
components/_cached.html.twig
1 26.56ms
editor_toolbar
"App\Twig\Components\EditorToolbarComponent"
components/editor_toolbar.html.twig
1 0.34ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 0.47ms
magazine_box
"App\Twig\Components\MagazineBoxComponent"
components/magazine_box.html.twig
1 8.86ms
magazine_sub
"App\Twig\Components\MagazineSubComponent"
components/magazine_sub.html.twig
1 0.49ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 6.51ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 256.23ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 2.92ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 1.73ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 1.91ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 0.24ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 0.62ms

Render calls

entry App\Twig\Components\EntryComponent 12.0 MiB 25.32 ms
Input props
[
  "entry" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
    +title: "Add YOUR city to the Gnome weather app [Solved]"
    +url: null
    +body: """
      cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
      \n
      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](https://apps.gnome.org/Weather/) program.\n
      \n
      I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
      \n
      script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
      \n
      ---\n
      \n
      It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
      \n
      How to run scripts in Linux1. 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`
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 8
    +favouriteCount: 52
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701364533 {#2410
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@a"
      "@av"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 18263
    -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
    -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701367347
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/post/1973179"
    +editedAt: DateTimeImmutable @1702191218 {#1850
      date: 2023-12-10 07:53:38.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701280947 {#2420
      date: 2023-11-29 19:02:27.0 +01:00
    }
  }
  "isSingle" => true
  "showShortSentence" => false
  "showBody" => true
]
Attributes
[
  "class" => "entry--single section--top"
]
Component
App\Twig\Components\EntryComponent {#2956
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2957 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
    +title: "Add YOUR city to the Gnome weather app [Solved]"
    +url: null
    +body: """
      cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
      \n
      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](https://apps.gnome.org/Weather/) program.\n
      \n
      I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
      \n
      script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
      \n
      ---\n
      \n
      It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
      \n
      How to run scripts in Linux1. 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`
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 8
    +favouriteCount: 52
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701364533 {#2410
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@a"
      "@av"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 18263
    -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
    -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701367347
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/post/1973179"
    +editedAt: DateTimeImmutable @1702191218 {#1850
      date: 2023-12-10 07:53:38.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701280947 {#2420
      date: 2023-11-29 19:02:27.0 +01:00
    }
  }
  +isSingle: true
  +showShortSentence: false
  +showBody: true
  +showMagazineName: false
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.30 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: null
    +email: "ademir@lemmy.eco.br"
    +username: "@ademir@lemmy.eco.br"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
    +lastActive: DateTime @1728806437 {#1536
      date: 2024-10-13 10:00:37.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
    +entries: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
    +posts: Doctrine\ORM\PersistentCollection {#1745 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
    +follows: Doctrine\ORM\PersistentCollection {#1409 …}
    +followers: Doctrine\ORM\PersistentCollection {#1624 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
    +reports: Doctrine\ORM\PersistentCollection {#1416 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
    +violations: Doctrine\ORM\PersistentCollection {#1694 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
    +awards: Doctrine\ORM\PersistentCollection {#1434 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
    +categories: Doctrine\ORM\PersistentCollection {#1640 …}
    -id: 41649
    -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
    +apId: "ademir@lemmy.eco.br"
    +apProfileId: "https://lemmy.eco.br/u/ademir"
    +apPublicUrl: "https://lemmy.eco.br/u/ademir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.eco.br/inbox"
    +apDomain: "lemmy.eco.br"
    +apPreferredUsername: "ademir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728744384 {#1515
      date: 2024-10-12 16:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692553876 {#1516
      date: 2023-08-20 19:51:16.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3177
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: null
    +email: "ademir@lemmy.eco.br"
    +username: "@ademir@lemmy.eco.br"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
    +lastActive: DateTime @1728806437 {#1536
      date: 2024-10-13 10:00:37.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
    +entries: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
    +posts: Doctrine\ORM\PersistentCollection {#1745 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
    +follows: Doctrine\ORM\PersistentCollection {#1409 …}
    +followers: Doctrine\ORM\PersistentCollection {#1624 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
    +reports: Doctrine\ORM\PersistentCollection {#1416 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
    +violations: Doctrine\ORM\PersistentCollection {#1694 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
    +awards: Doctrine\ORM\PersistentCollection {#1434 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
    +categories: Doctrine\ORM\PersistentCollection {#1640 …}
    -id: 41649
    -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
    +apId: "ademir@lemmy.eco.br"
    +apProfileId: "https://lemmy.eco.br/u/ademir"
    +apPublicUrl: "https://lemmy.eco.br/u/ademir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.eco.br/inbox"
    +apDomain: "lemmy.eco.br"
    +apPreferredUsername: "ademir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728744384 {#1515
      date: 2024-10-12 16:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692553876 {#1516
      date: 2023-08-20 19:51:16.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.35 ms
Input props
[
  "date" => DateTimeImmutable @1701280947 {#2420
    date: 2023-11-29 19:02:27.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3247
  +date: DateTimeImmutable @1701280947 {#2420
    date: 2023-11-29 19:02:27.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.17 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701280947 {#2420
    date: 2023-11-29 19:02:27.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1702191218 {#1850
    date: 2023-12-10 07:53:38.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3311
  +createdAt: DateTimeImmutable @1701280947 {#2420
    date: 2023-11-29 19:02:27.0 +01:00
  }
  +editedAt: DateTimeImmutable @1702191218 {#1850
    date: 2023-12-10 07:53:38.0 +01:00
  }
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.41 ms
Input props
[
  "subject" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
    +title: "Add YOUR city to the Gnome weather app [Solved]"
    +url: null
    +body: """
      cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
      \n
      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](https://apps.gnome.org/Weather/) program.\n
      \n
      I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
      \n
      script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
      \n
      ---\n
      \n
      It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
      \n
      How to run scripts in Linux1. 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`
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 8
    +favouriteCount: 52
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701364533 {#2410
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@a"
      "@av"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 18263
    -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
    -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701367347
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/post/1973179"
    +editedAt: DateTimeImmutable @1702191218 {#1850
      date: 2023-12-10 07:53:38.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701280947 {#2420
      date: 2023-11-29 19:02:27.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3376
  +subject: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
    +title: "Add YOUR city to the Gnome weather app [Solved]"
    +url: null
    +body: """
      cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
      \n
      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](https://apps.gnome.org/Weather/) program.\n
      \n
      I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
      \n
      script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
      \n
      ---\n
      \n
      It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
      \n
      How to run scripts in Linux1. 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`
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 8
    +favouriteCount: 52
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701364533 {#2410
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@a"
      "@av"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 18263
    -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
    -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701367347
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/post/1973179"
    +editedAt: DateTimeImmutable @1702191218 {#1850
      date: 2023-12-10 07:53:38.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701280947 {#2420
      date: 2023-11-29 19:02:27.0 +01:00
    }
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 13.95 ms
Input props
[
  "subject" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
    +title: "Add YOUR city to the Gnome weather app [Solved]"
    +url: null
    +body: """
      cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
      \n
      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](https://apps.gnome.org/Weather/) program.\n
      \n
      I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
      \n
      script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
      \n
      ---\n
      \n
      It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
      \n
      How to run scripts in Linux1. 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`
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 8
    +favouriteCount: 52
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701364533 {#2410
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@a"
      "@av"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 18263
    -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
    -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701367347
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/post/1973179"
    +editedAt: DateTimeImmutable @1702191218 {#1850
      date: 2023-12-10 07:53:38.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701280947 {#2420
      date: 2023-11-29 19:02:27.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3442
  +formDest: "entry"
  +subject: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
    +title: "Add YOUR city to the Gnome weather app [Solved]"
    +url: null
    +body: """
      cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
      \n
      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](https://apps.gnome.org/Weather/) program.\n
      \n
      I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
      \n
      script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
      \n
      ---\n
      \n
      It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
      \n
      How to run scripts in Linux1. 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`
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 8
    +favouriteCount: 52
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701364533 {#2410
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@a"
      "@av"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 18263
    -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
    -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701367347
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/post/1973179"
    +editedAt: DateTimeImmutable @1702191218 {#1850
      date: 2023-12-10 07:53:38.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701280947 {#2420
      date: 2023-11-29 19:02:27.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entries_cross App\Twig\Components\EntriesCrossComponent 12.0 MiB 26.56 ms
Input props
[
  "entry" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
    +title: "Add YOUR city to the Gnome weather app [Solved]"
    +url: null
    +body: """
      cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
      \n
      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](https://apps.gnome.org/Weather/) program.\n
      \n
      I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
      \n
      script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
      \n
      ---\n
      \n
      It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
      \n
      How to run scripts in Linux1. 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`
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 8
    +favouriteCount: 52
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701364533 {#2410
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@a"
      "@av"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 18263
    -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
    -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701367347
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/post/1973179"
    +editedAt: DateTimeImmutable @1702191218 {#1850
      date: 2023-12-10 07:53:38.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701280947 {#2420
      date: 2023-11-29 19:02:27.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\EntriesCrossComponent {#3756
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
    +title: "Add YOUR city to the Gnome weather app [Solved]"
    +url: null
    +body: """
      cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
      \n
      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](https://apps.gnome.org/Weather/) program.\n
      \n
      I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
      \n
      script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
      \n
      ---\n
      \n
      It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
      \n
      How to run scripts in Linux1. 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`
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 8
    +favouriteCount: 52
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701364533 {#2410
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@a"
      "@av"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 18263
    -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
    -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701367347
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/post/1973179"
    +editedAt: DateTimeImmutable @1702191218 {#1850
      date: 2023-12-10 07:53:38.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701280947 {#2420
      date: 2023-11-29 19:02:27.0 +01:00
    }
  }
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
}
editor_toolbar App\Twig\Components\EditorToolbarComponent 12.0 MiB 0.34 ms
Input props
[
  "id" => "entry_comment_67b82a075f1038.76278589_body"
]
Attributes
[]
Component
App\Twig\Components\EditorToolbarComponent {#3881
  +id: "entry_comment_67b82a075f1038.76278589_body"
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 21.10 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4081
    +user: App\Entity\User {#4029
      +avatar: null
      +cover: null
      +email: "GravitySpoiled@lemmy.ml"
      +username: "@GravitySpoiled@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729515058 {#4089
        date: 2024-10-21 14:50:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
      +entries: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
      +posts: Doctrine\ORM\PersistentCollection {#4013 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
      +follows: Doctrine\ORM\PersistentCollection {#4145 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
      +reports: Doctrine\ORM\PersistentCollection {#4144 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
      +violations: Doctrine\ORM\PersistentCollection {#4134 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
      +awards: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
      +categories: Doctrine\ORM\PersistentCollection {#4132 …}
      -id: 69862
      -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
      +apId: "GravitySpoiled@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
      +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "GravitySpoiled"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729496910 {#4085
        date: 2024-10-21 09:48:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698930124 {#4083
        date: 2023-11-02 14:02:04.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Afaik the problem is solved within the code. I remember having compiled the app myself. It’s just a matter of time that it’s solved.\n
      \n
      BUT it’s weird that this is so low priority to all gnome devs. It seems like noone cares about the correct weather. The source of weather is also not really perfect.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702780126 {#4090
      date: 2023-12-17 03:28:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4079 …}
    +nested: Doctrine\ORM\PersistentCollection {#4077 …}
    +votes: Doctrine\ORM\PersistentCollection {#4075 …}
    +reports: Doctrine\ORM\PersistentCollection {#4073 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4041 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4045 …}
    -id: 183695
    -bodyTs: "'afaik':1 'also':55 'app':14 'care':45 'code':8 'compil':12 'correct':48 'dev':40 'gnome':39 'like':43 'low':35 'matter':20 'noon':44 'perfect':58 'prioriti':36 'problem':3 'realli':57 'rememb':10 'seem':42 'solv':5,26 'sourc':51 'time':22 'weather':49,53 'weird':30 'within':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6253837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701351933 {#4026
      date: 2023-11-30 14:45:33.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#4396
  +comment: App\Entity\EntryComment {#4081
    +user: App\Entity\User {#4029
      +avatar: null
      +cover: null
      +email: "GravitySpoiled@lemmy.ml"
      +username: "@GravitySpoiled@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729515058 {#4089
        date: 2024-10-21 14:50:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
      +entries: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
      +posts: Doctrine\ORM\PersistentCollection {#4013 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
      +follows: Doctrine\ORM\PersistentCollection {#4145 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
      +reports: Doctrine\ORM\PersistentCollection {#4144 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
      +violations: Doctrine\ORM\PersistentCollection {#4134 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
      +awards: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
      +categories: Doctrine\ORM\PersistentCollection {#4132 …}
      -id: 69862
      -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
      +apId: "GravitySpoiled@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
      +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "GravitySpoiled"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729496910 {#4085
        date: 2024-10-21 09:48:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698930124 {#4083
        date: 2023-11-02 14:02:04.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Afaik the problem is solved within the code. I remember having compiled the app myself. It’s just a matter of time that it’s solved.\n
      \n
      BUT it’s weird that this is so low priority to all gnome devs. It seems like noone cares about the correct weather. The source of weather is also not really perfect.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702780126 {#4090
      date: 2023-12-17 03:28:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4079 …}
    +nested: Doctrine\ORM\PersistentCollection {#4077 …}
    +votes: Doctrine\ORM\PersistentCollection {#4075 …}
    +reports: Doctrine\ORM\PersistentCollection {#4073 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4041 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4045 …}
    -id: 183695
    -bodyTs: "'afaik':1 'also':55 'app':14 'care':45 'code':8 'compil':12 'correct':48 'dev':40 'gnome':39 'like':43 'low':35 'matter':20 'noon':44 'perfect':58 'prioriti':36 'problem':3 'realli':57 'rememb':10 'seem':42 'solv':5,26 'sourc':51 'time':22 'weather':49,53 'weird':30 'within':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6253837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701351933 {#4026
      date: 2023-11-30 14:45:33.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4029
    +avatar: null
    +cover: null
    +email: "GravitySpoiled@lemmy.ml"
    +username: "@GravitySpoiled@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729515058 {#4089
      date: 2024-10-21 14:50:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
    +entries: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
    +posts: Doctrine\ORM\PersistentCollection {#4013 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
    +follows: Doctrine\ORM\PersistentCollection {#4145 …}
    +followers: Doctrine\ORM\PersistentCollection {#4141 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
    +reports: Doctrine\ORM\PersistentCollection {#4144 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
    +violations: Doctrine\ORM\PersistentCollection {#4134 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
    +awards: Doctrine\ORM\PersistentCollection {#4135 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
    +categories: Doctrine\ORM\PersistentCollection {#4132 …}
    -id: 69862
    -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
    +apId: "GravitySpoiled@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
    +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "GravitySpoiled"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729496910 {#4085
      date: 2024-10-21 09:48:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698930124 {#4083
      date: 2023-11-02 14:02:04.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#4526
  +user: App\Entity\User {#4029
    +avatar: null
    +cover: null
    +email: "GravitySpoiled@lemmy.ml"
    +username: "@GravitySpoiled@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729515058 {#4089
      date: 2024-10-21 14:50:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
    +entries: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
    +posts: Doctrine\ORM\PersistentCollection {#4013 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
    +follows: Doctrine\ORM\PersistentCollection {#4145 …}
    +followers: Doctrine\ORM\PersistentCollection {#4141 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
    +reports: Doctrine\ORM\PersistentCollection {#4144 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
    +violations: Doctrine\ORM\PersistentCollection {#4134 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
    +awards: Doctrine\ORM\PersistentCollection {#4135 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
    +categories: Doctrine\ORM\PersistentCollection {#4132 …}
    -id: 69862
    -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
    +apId: "GravitySpoiled@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
    +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "GravitySpoiled"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729496910 {#4085
      date: 2024-10-21 09:48:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698930124 {#4083
      date: 2023-11-02 14:02:04.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1701351933 {#4026
    date: 2023-11-30 14:45:33.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#4581
  +date: DateTimeImmutable @1701351933 {#4026
    date: 2023-11-30 14:45:33.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.08 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701351933 {#4026
    date: 2023-11-30 14:45:33.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#4635
  +createdAt: DateTimeImmutable @1701351933 {#4026
    date: 2023-11-30 14:45:33.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.22 ms
Input props
[
  "user" => App\Entity\User {#4029
    +avatar: null
    +cover: null
    +email: "GravitySpoiled@lemmy.ml"
    +username: "@GravitySpoiled@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729515058 {#4089
      date: 2024-10-21 14:50:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
    +entries: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
    +posts: Doctrine\ORM\PersistentCollection {#4013 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
    +follows: Doctrine\ORM\PersistentCollection {#4145 …}
    +followers: Doctrine\ORM\PersistentCollection {#4141 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
    +reports: Doctrine\ORM\PersistentCollection {#4144 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
    +violations: Doctrine\ORM\PersistentCollection {#4134 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
    +awards: Doctrine\ORM\PersistentCollection {#4135 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
    +categories: Doctrine\ORM\PersistentCollection {#4132 …}
    -id: 69862
    -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
    +apId: "GravitySpoiled@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
    +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "GravitySpoiled"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729496910 {#4085
      date: 2024-10-21 09:48:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698930124 {#4083
      date: 2023-11-02 14:02:04.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#4691
  +width: 40
  +height: 40
  +user: App\Entity\User {#4029
    +avatar: null
    +cover: null
    +email: "GravitySpoiled@lemmy.ml"
    +username: "@GravitySpoiled@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729515058 {#4089
      date: 2024-10-21 14:50:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
    +entries: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
    +posts: Doctrine\ORM\PersistentCollection {#4013 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
    +follows: Doctrine\ORM\PersistentCollection {#4145 …}
    +followers: Doctrine\ORM\PersistentCollection {#4141 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
    +reports: Doctrine\ORM\PersistentCollection {#4144 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
    +violations: Doctrine\ORM\PersistentCollection {#4134 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
    +awards: Doctrine\ORM\PersistentCollection {#4135 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
    +categories: Doctrine\ORM\PersistentCollection {#4132 …}
    -id: 69862
    -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
    +apId: "GravitySpoiled@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
    +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "GravitySpoiled"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729496910 {#4085
      date: 2024-10-21 09:48:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698930124 {#4083
      date: 2023-11-02 14:02:04.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.40 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4081
    +user: App\Entity\User {#4029
      +avatar: null
      +cover: null
      +email: "GravitySpoiled@lemmy.ml"
      +username: "@GravitySpoiled@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729515058 {#4089
        date: 2024-10-21 14:50:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
      +entries: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
      +posts: Doctrine\ORM\PersistentCollection {#4013 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
      +follows: Doctrine\ORM\PersistentCollection {#4145 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
      +reports: Doctrine\ORM\PersistentCollection {#4144 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
      +violations: Doctrine\ORM\PersistentCollection {#4134 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
      +awards: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
      +categories: Doctrine\ORM\PersistentCollection {#4132 …}
      -id: 69862
      -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
      +apId: "GravitySpoiled@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
      +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "GravitySpoiled"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729496910 {#4085
        date: 2024-10-21 09:48:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698930124 {#4083
        date: 2023-11-02 14:02:04.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Afaik the problem is solved within the code. I remember having compiled the app myself. It’s just a matter of time that it’s solved.\n
      \n
      BUT it’s weird that this is so low priority to all gnome devs. It seems like noone cares about the correct weather. The source of weather is also not really perfect.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702780126 {#4090
      date: 2023-12-17 03:28:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4079 …}
    +nested: Doctrine\ORM\PersistentCollection {#4077 …}
    +votes: Doctrine\ORM\PersistentCollection {#4075 …}
    +reports: Doctrine\ORM\PersistentCollection {#4073 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4041 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4045 …}
    -id: 183695
    -bodyTs: "'afaik':1 'also':55 'app':14 'care':45 'code':8 'compil':12 'correct':48 'dev':40 'gnome':39 'like':43 'low':35 'matter':20 'noon':44 'perfect':58 'prioriti':36 'problem':3 'realli':57 'rememb':10 'seem':42 'solv':5,26 'sourc':51 'time':22 'weather':49,53 'weird':30 'within':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6253837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701351933 {#4026
      date: 2023-11-30 14:45:33.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#4926
  +subject: App\Entity\EntryComment {#4081
    +user: App\Entity\User {#4029
      +avatar: null
      +cover: null
      +email: "GravitySpoiled@lemmy.ml"
      +username: "@GravitySpoiled@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729515058 {#4089
        date: 2024-10-21 14:50:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
      +entries: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
      +posts: Doctrine\ORM\PersistentCollection {#4013 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
      +follows: Doctrine\ORM\PersistentCollection {#4145 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
      +reports: Doctrine\ORM\PersistentCollection {#4144 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
      +violations: Doctrine\ORM\PersistentCollection {#4134 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
      +awards: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
      +categories: Doctrine\ORM\PersistentCollection {#4132 …}
      -id: 69862
      -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
      +apId: "GravitySpoiled@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
      +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "GravitySpoiled"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729496910 {#4085
        date: 2024-10-21 09:48:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698930124 {#4083
        date: 2023-11-02 14:02:04.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Afaik the problem is solved within the code. I remember having compiled the app myself. It’s just a matter of time that it’s solved.\n
      \n
      BUT it’s weird that this is so low priority to all gnome devs. It seems like noone cares about the correct weather. The source of weather is also not really perfect.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702780126 {#4090
      date: 2023-12-17 03:28:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4079 …}
    +nested: Doctrine\ORM\PersistentCollection {#4077 …}
    +votes: Doctrine\ORM\PersistentCollection {#4075 …}
    +reports: Doctrine\ORM\PersistentCollection {#4073 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4041 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4045 …}
    -id: 183695
    -bodyTs: "'afaik':1 'also':55 'app':14 'care':45 'code':8 'compil':12 'correct':48 'dev':40 'gnome':39 'like':43 'low':35 'matter':20 'noon':44 'perfect':58 'prioriti':36 'problem':3 'realli':57 'rememb':10 'seem':42 'solv':5,26 'sourc':51 'time':22 'weather':49,53 'weird':30 'within':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6253837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701351933 {#4026
      date: 2023-11-30 14:45:33.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 0.61 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4081
    +user: App\Entity\User {#4029
      +avatar: null
      +cover: null
      +email: "GravitySpoiled@lemmy.ml"
      +username: "@GravitySpoiled@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729515058 {#4089
        date: 2024-10-21 14:50:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
      +entries: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
      +posts: Doctrine\ORM\PersistentCollection {#4013 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
      +follows: Doctrine\ORM\PersistentCollection {#4145 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
      +reports: Doctrine\ORM\PersistentCollection {#4144 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
      +violations: Doctrine\ORM\PersistentCollection {#4134 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
      +awards: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
      +categories: Doctrine\ORM\PersistentCollection {#4132 …}
      -id: 69862
      -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
      +apId: "GravitySpoiled@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
      +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "GravitySpoiled"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729496910 {#4085
        date: 2024-10-21 09:48:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698930124 {#4083
        date: 2023-11-02 14:02:04.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Afaik the problem is solved within the code. I remember having compiled the app myself. It’s just a matter of time that it’s solved.\n
      \n
      BUT it’s weird that this is so low priority to all gnome devs. It seems like noone cares about the correct weather. The source of weather is also not really perfect.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702780126 {#4090
      date: 2023-12-17 03:28:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4079 …}
    +nested: Doctrine\ORM\PersistentCollection {#4077 …}
    +votes: Doctrine\ORM\PersistentCollection {#4075 …}
    +reports: Doctrine\ORM\PersistentCollection {#4073 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4041 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4045 …}
    -id: 183695
    -bodyTs: "'afaik':1 'also':55 'app':14 'care':45 'code':8 'compil':12 'correct':48 'dev':40 'gnome':39 'like':43 'low':35 'matter':20 'noon':44 'perfect':58 'prioriti':36 'problem':3 'realli':57 'rememb':10 'seem':42 'solv':5,26 'sourc':51 'time':22 'weather':49,53 'weird':30 'within':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6253837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701351933 {#4026
      date: 2023-11-30 14:45:33.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#4983
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4081
    +user: App\Entity\User {#4029
      +avatar: null
      +cover: null
      +email: "GravitySpoiled@lemmy.ml"
      +username: "@GravitySpoiled@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729515058 {#4089
        date: 2024-10-21 14:50:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
      +entries: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
      +posts: Doctrine\ORM\PersistentCollection {#4013 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
      +follows: Doctrine\ORM\PersistentCollection {#4145 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
      +reports: Doctrine\ORM\PersistentCollection {#4144 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
      +violations: Doctrine\ORM\PersistentCollection {#4134 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
      +awards: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
      +categories: Doctrine\ORM\PersistentCollection {#4132 …}
      -id: 69862
      -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
      +apId: "GravitySpoiled@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
      +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "GravitySpoiled"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729496910 {#4085
        date: 2024-10-21 09:48:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698930124 {#4083
        date: 2023-11-02 14:02:04.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Afaik the problem is solved within the code. I remember having compiled the app myself. It’s just a matter of time that it’s solved.\n
      \n
      BUT it’s weird that this is so low priority to all gnome devs. It seems like noone cares about the correct weather. The source of weather is also not really perfect.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702780126 {#4090
      date: 2023-12-17 03:28:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4079 …}
    +nested: Doctrine\ORM\PersistentCollection {#4077 …}
    +votes: Doctrine\ORM\PersistentCollection {#4075 …}
    +reports: Doctrine\ORM\PersistentCollection {#4073 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4041 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4045 …}
    -id: 183695
    -bodyTs: "'afaik':1 'also':55 'app':14 'care':45 'code':8 'compil':12 'correct':48 'dev':40 'gnome':39 'like':43 'low':35 'matter':20 'noon':44 'perfect':58 'prioriti':36 'problem':3 'realli':57 'rememb':10 'seem':42 'solv':5,26 'sourc':51 'time':22 'weather':49,53 'weird':30 'within':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6253837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701351933 {#4026
      date: 2023-11-30 14:45:33.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 1.35 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4081
    +user: App\Entity\User {#4029
      +avatar: null
      +cover: null
      +email: "GravitySpoiled@lemmy.ml"
      +username: "@GravitySpoiled@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729515058 {#4089
        date: 2024-10-21 14:50:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
      +entries: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
      +posts: Doctrine\ORM\PersistentCollection {#4013 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
      +follows: Doctrine\ORM\PersistentCollection {#4145 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
      +reports: Doctrine\ORM\PersistentCollection {#4144 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
      +violations: Doctrine\ORM\PersistentCollection {#4134 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
      +awards: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
      +categories: Doctrine\ORM\PersistentCollection {#4132 …}
      -id: 69862
      -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
      +apId: "GravitySpoiled@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
      +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "GravitySpoiled"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729496910 {#4085
        date: 2024-10-21 09:48:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698930124 {#4083
        date: 2023-11-02 14:02:04.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Afaik the problem is solved within the code. I remember having compiled the app myself. It’s just a matter of time that it’s solved.\n
      \n
      BUT it’s weird that this is so low priority to all gnome devs. It seems like noone cares about the correct weather. The source of weather is also not really perfect.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702780126 {#4090
      date: 2023-12-17 03:28:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4079 …}
    +nested: Doctrine\ORM\PersistentCollection {#4077 …}
    +votes: Doctrine\ORM\PersistentCollection {#4075 …}
    +reports: Doctrine\ORM\PersistentCollection {#4073 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4041 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4045 …}
    -id: 183695
    -bodyTs: "'afaik':1 'also':55 'app':14 'care':45 'code':8 'compil':12 'correct':48 'dev':40 'gnome':39 'like':43 'low':35 'matter':20 'noon':44 'perfect':58 'prioriti':36 'problem':3 'realli':57 'rememb':10 'seem':42 'solv':5,26 'sourc':51 'time':22 'weather':49,53 'weird':30 'within':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6253837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701351933 {#4026
      date: 2023-11-30 14:45:33.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5230
  +comment: App\Entity\EntryComment {#4081
    +user: App\Entity\User {#4029
      +avatar: null
      +cover: null
      +email: "GravitySpoiled@lemmy.ml"
      +username: "@GravitySpoiled@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729515058 {#4089
        date: 2024-10-21 14:50:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4025 …}
      +entries: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4018 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4016 …}
      +posts: Doctrine\ORM\PersistentCollection {#4013 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4011 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4009 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4006 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4004 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4002 …}
      +follows: Doctrine\ORM\PersistentCollection {#4145 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4130 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4121 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4110 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4147 …}
      +reports: Doctrine\ORM\PersistentCollection {#4144 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4107 …}
      +violations: Doctrine\ORM\PersistentCollection {#4134 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4137 …}
      +awards: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4133 …}
      +categories: Doctrine\ORM\PersistentCollection {#4132 …}
      -id: 69862
      -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4125 …}
      +apId: "GravitySpoiled@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/GravitySpoiled"
      +apPublicUrl: "https://lemmy.ml/u/GravitySpoiled"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "GravitySpoiled"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729496910 {#4085
        date: 2024-10-21 09:48:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698930124 {#4083
        date: 2023-11-02 14:02:04.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Afaik the problem is solved within the code. I remember having compiled the app myself. It’s just a matter of time that it’s solved.\n
      \n
      BUT it’s weird that this is so low priority to all gnome devs. It seems like noone cares about the correct weather. The source of weather is also not really perfect.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702780126 {#4090
      date: 2023-12-17 03:28:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4079 …}
    +nested: Doctrine\ORM\PersistentCollection {#4077 …}
    +votes: Doctrine\ORM\PersistentCollection {#4075 …}
    +reports: Doctrine\ORM\PersistentCollection {#4073 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4041 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4045 …}
    -id: 183695
    -bodyTs: "'afaik':1 'also':55 'app':14 'care':45 'code':8 'compil':12 'correct':48 'dev':40 'gnome':39 'like':43 'low':35 'matter':20 'noon':44 'perfect':58 'prioriti':36 'problem':3 'realli':57 'rememb':10 'seem':42 'solv':5,26 'sourc':51 'time':22 'weather':49,53 'weird':30 'within':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6253837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701351933 {#4026
      date: 2023-11-30 14:45:33.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 7.28 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4113
    +user: App\Entity\User {#4102
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4122
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
      +entries: Doctrine\ORM\PersistentCollection {#4095 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +posts: Doctrine\ORM\PersistentCollection {#4153 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4123
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4120
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Damn, how very user friendly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 22
    +score: 0
    +lastActive: DateTime @1701313938 {#4119
      date: 2023-11-30 04:12:18.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4118 …}
    +nested: Doctrine\ORM\PersistentCollection {#4117 …}
    +votes: Doctrine\ORM\PersistentCollection {#4108 …}
    +reports: Doctrine\ORM\PersistentCollection {#4111 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4106 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4104 …}
    -id: 179514
    -bodyTs: "'damn':1 'friend':5 'user':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5272091"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701313938 {#4124
      date: 2023-11-30 04:12:18.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5314
  +comment: App\Entity\EntryComment {#4113
    +user: App\Entity\User {#4102
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4122
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
      +entries: Doctrine\ORM\PersistentCollection {#4095 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +posts: Doctrine\ORM\PersistentCollection {#4153 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4123
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4120
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Damn, how very user friendly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 22
    +score: 0
    +lastActive: DateTime @1701313938 {#4119
      date: 2023-11-30 04:12:18.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4118 …}
    +nested: Doctrine\ORM\PersistentCollection {#4117 …}
    +votes: Doctrine\ORM\PersistentCollection {#4108 …}
    +reports: Doctrine\ORM\PersistentCollection {#4111 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4106 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4104 …}
    -id: 179514
    -bodyTs: "'damn':1 'friend':5 'user':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5272091"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701313938 {#4124
      date: 2023-11-30 04:12:18.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.16 ms
Input props
[
  "user" => App\Entity\User {#4102
    +avatar: null
    +cover: null
    +email: "Holzkohlen@feddit.de"
    +username: "@Holzkohlen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721494384 {#4122
      date: 2024-07-20 18:53:04.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
    +entries: Doctrine\ORM\PersistentCollection {#4095 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
    +posts: Doctrine\ORM\PersistentCollection {#4153 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 33084
    -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "Holzkohlen@feddit.de"
    +apProfileId: "https://feddit.de/u/Holzkohlen"
    +apPublicUrl: "https://feddit.de/u/Holzkohlen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Holzkohlen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721129919 {#4123
      date: 2024-07-16 13:38:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690003025 {#4120
      date: 2023-07-22 07:17:05.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5359
  +user: App\Entity\User {#4102
    +avatar: null
    +cover: null
    +email: "Holzkohlen@feddit.de"
    +username: "@Holzkohlen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721494384 {#4122
      date: 2024-07-20 18:53:04.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
    +entries: Doctrine\ORM\PersistentCollection {#4095 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
    +posts: Doctrine\ORM\PersistentCollection {#4153 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 33084
    -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "Holzkohlen@feddit.de"
    +apProfileId: "https://feddit.de/u/Holzkohlen"
    +apPublicUrl: "https://feddit.de/u/Holzkohlen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Holzkohlen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721129919 {#4123
      date: 2024-07-16 13:38:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690003025 {#4120
      date: 2023-07-22 07:17:05.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1701313938 {#4124
    date: 2023-11-30 04:12:18.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5414
  +date: DateTimeImmutable @1701313938 {#4124
    date: 2023-11-30 04:12:18.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701313938 {#4124
    date: 2023-11-30 04:12:18.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5468
  +createdAt: DateTimeImmutable @1701313938 {#4124
    date: 2023-11-30 04:12:18.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4102
    +avatar: null
    +cover: null
    +email: "Holzkohlen@feddit.de"
    +username: "@Holzkohlen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721494384 {#4122
      date: 2024-07-20 18:53:04.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
    +entries: Doctrine\ORM\PersistentCollection {#4095 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
    +posts: Doctrine\ORM\PersistentCollection {#4153 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 33084
    -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "Holzkohlen@feddit.de"
    +apProfileId: "https://feddit.de/u/Holzkohlen"
    +apPublicUrl: "https://feddit.de/u/Holzkohlen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Holzkohlen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721129919 {#4123
      date: 2024-07-16 13:38:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690003025 {#4120
      date: 2023-07-22 07:17:05.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5522
  +width: 40
  +height: 40
  +user: App\Entity\User {#4102
    +avatar: null
    +cover: null
    +email: "Holzkohlen@feddit.de"
    +username: "@Holzkohlen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721494384 {#4122
      date: 2024-07-20 18:53:04.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
    +entries: Doctrine\ORM\PersistentCollection {#4095 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
    +posts: Doctrine\ORM\PersistentCollection {#4153 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 33084
    -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "Holzkohlen@feddit.de"
    +apProfileId: "https://feddit.de/u/Holzkohlen"
    +apPublicUrl: "https://feddit.de/u/Holzkohlen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Holzkohlen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721129919 {#4123
      date: 2024-07-16 13:38:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690003025 {#4120
      date: 2023-07-22 07:17:05.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.39 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4113
    +user: App\Entity\User {#4102
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4122
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
      +entries: Doctrine\ORM\PersistentCollection {#4095 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +posts: Doctrine\ORM\PersistentCollection {#4153 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4123
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4120
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Damn, how very user friendly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 22
    +score: 0
    +lastActive: DateTime @1701313938 {#4119
      date: 2023-11-30 04:12:18.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4118 …}
    +nested: Doctrine\ORM\PersistentCollection {#4117 …}
    +votes: Doctrine\ORM\PersistentCollection {#4108 …}
    +reports: Doctrine\ORM\PersistentCollection {#4111 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4106 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4104 …}
    -id: 179514
    -bodyTs: "'damn':1 'friend':5 'user':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5272091"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701313938 {#4124
      date: 2023-11-30 04:12:18.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5591
  +subject: App\Entity\EntryComment {#4113
    +user: App\Entity\User {#4102
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4122
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
      +entries: Doctrine\ORM\PersistentCollection {#4095 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +posts: Doctrine\ORM\PersistentCollection {#4153 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4123
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4120
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Damn, how very user friendly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 22
    +score: 0
    +lastActive: DateTime @1701313938 {#4119
      date: 2023-11-30 04:12:18.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4118 …}
    +nested: Doctrine\ORM\PersistentCollection {#4117 …}
    +votes: Doctrine\ORM\PersistentCollection {#4108 …}
    +reports: Doctrine\ORM\PersistentCollection {#4111 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4106 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4104 …}
    -id: 179514
    -bodyTs: "'damn':1 'friend':5 'user':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5272091"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701313938 {#4124
      date: 2023-11-30 04:12:18.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 0.63 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4113
    +user: App\Entity\User {#4102
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4122
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
      +entries: Doctrine\ORM\PersistentCollection {#4095 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +posts: Doctrine\ORM\PersistentCollection {#4153 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4123
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4120
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Damn, how very user friendly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 22
    +score: 0
    +lastActive: DateTime @1701313938 {#4119
      date: 2023-11-30 04:12:18.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4118 …}
    +nested: Doctrine\ORM\PersistentCollection {#4117 …}
    +votes: Doctrine\ORM\PersistentCollection {#4108 …}
    +reports: Doctrine\ORM\PersistentCollection {#4111 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4106 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4104 …}
    -id: 179514
    -bodyTs: "'damn':1 'friend':5 'user':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5272091"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701313938 {#4124
      date: 2023-11-30 04:12:18.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5648
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4113
    +user: App\Entity\User {#4102
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4122
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
      +entries: Doctrine\ORM\PersistentCollection {#4095 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +posts: Doctrine\ORM\PersistentCollection {#4153 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4123
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4120
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Damn, how very user friendly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 22
    +score: 0
    +lastActive: DateTime @1701313938 {#4119
      date: 2023-11-30 04:12:18.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4118 …}
    +nested: Doctrine\ORM\PersistentCollection {#4117 …}
    +votes: Doctrine\ORM\PersistentCollection {#4108 …}
    +reports: Doctrine\ORM\PersistentCollection {#4111 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4106 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4104 …}
    -id: 179514
    -bodyTs: "'damn':1 'friend':5 'user':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5272091"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701313938 {#4124
      date: 2023-11-30 04:12:18.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 0.71 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4113
    +user: App\Entity\User {#4102
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4122
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
      +entries: Doctrine\ORM\PersistentCollection {#4095 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +posts: Doctrine\ORM\PersistentCollection {#4153 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4123
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4120
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Damn, how very user friendly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 22
    +score: 0
    +lastActive: DateTime @1701313938 {#4119
      date: 2023-11-30 04:12:18.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4118 …}
    +nested: Doctrine\ORM\PersistentCollection {#4117 …}
    +votes: Doctrine\ORM\PersistentCollection {#4108 …}
    +reports: Doctrine\ORM\PersistentCollection {#4111 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4106 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4104 …}
    -id: 179514
    -bodyTs: "'damn':1 'friend':5 'user':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5272091"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701313938 {#4124
      date: 2023-11-30 04:12:18.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5888
  +comment: App\Entity\EntryComment {#4113
    +user: App\Entity\User {#4102
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4122
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4101 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4099 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4097 …}
      +entries: Doctrine\ORM\PersistentCollection {#4095 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4093 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4091 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +posts: Doctrine\ORM\PersistentCollection {#4153 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4155 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4123
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4120
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Damn, how very user friendly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 22
    +score: 0
    +lastActive: DateTime @1701313938 {#4119
      date: 2023-11-30 04:12:18.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4118 …}
    +nested: Doctrine\ORM\PersistentCollection {#4117 …}
    +votes: Doctrine\ORM\PersistentCollection {#4108 …}
    +reports: Doctrine\ORM\PersistentCollection {#4111 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4106 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4104 …}
    -id: 179514
    -bodyTs: "'damn':1 'friend':5 'user':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5272091"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701313938 {#4124
      date: 2023-11-30 04:12:18.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 12.22 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
      +cover: null
      +email: "DangerousInternet@lemmy.world"
      +username: "@DangerousInternet@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710465993 {#4195
        date: 2024-03-15 02:26:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
      +entries: Doctrine\ORM\PersistentCollection {#4219 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +posts: Doctrine\ORM\PersistentCollection {#4227 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
      +follows: Doctrine\ORM\PersistentCollection {#4239 …}
      +followers: Doctrine\ORM\PersistentCollection {#4241 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +violations: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      +awards: Doctrine\ORM\PersistentCollection {#4259 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
      +categories: Doctrine\ORM\PersistentCollection {#4263 …}
      -id: 81735
      -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
      +apId: "DangerousInternet@lemmy.world"
      +apProfileId: "https://lemmy.world/u/DangerousInternet"
      +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "DangerousInternet"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1710036108 {#4196
        date: 2024-03-10 03:01:48.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1702243219 {#4197
        date: 2023-12-10 22:20:19.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702291791 {#4193
      date: 2023-12-11 11:49:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 179000
    -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "soft_deleted        "
    +apId: "https://lemmy.world/comment/5683255"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701302442 {#4194
      date: 2023-11-30 01:00:42.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5958
  +comment: App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
      +cover: null
      +email: "DangerousInternet@lemmy.world"
      +username: "@DangerousInternet@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710465993 {#4195
        date: 2024-03-15 02:26:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
      +entries: Doctrine\ORM\PersistentCollection {#4219 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +posts: Doctrine\ORM\PersistentCollection {#4227 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
      +follows: Doctrine\ORM\PersistentCollection {#4239 …}
      +followers: Doctrine\ORM\PersistentCollection {#4241 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +violations: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      +awards: Doctrine\ORM\PersistentCollection {#4259 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
      +categories: Doctrine\ORM\PersistentCollection {#4263 …}
      -id: 81735
      -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
      +apId: "DangerousInternet@lemmy.world"
      +apProfileId: "https://lemmy.world/u/DangerousInternet"
      +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "DangerousInternet"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1710036108 {#4196
        date: 2024-03-10 03:01:48.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1702243219 {#4197
        date: 2023-12-10 22:20:19.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702291791 {#4193
      date: 2023-12-11 11:49:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 179000
    -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "soft_deleted        "
    +apId: "https://lemmy.world/comment/5683255"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701302442 {#4194
      date: 2023-11-30 01:00:42.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.16 ms
Input props
[
  "user" => App\Entity\User {#4211
    +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
    +cover: null
    +email: "DangerousInternet@lemmy.world"
    +username: "@DangerousInternet@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710465993 {#4195
      date: 2024-03-15 02:26:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
    +entries: Doctrine\ORM\PersistentCollection {#4219 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +posts: Doctrine\ORM\PersistentCollection {#4227 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
    +follows: Doctrine\ORM\PersistentCollection {#4239 …}
    +followers: Doctrine\ORM\PersistentCollection {#4241 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +violations: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    +awards: Doctrine\ORM\PersistentCollection {#4259 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
    +categories: Doctrine\ORM\PersistentCollection {#4263 …}
    -id: 81735
    -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
    +apId: "DangerousInternet@lemmy.world"
    +apProfileId: "https://lemmy.world/u/DangerousInternet"
    +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "DangerousInternet"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1710036108 {#4196
      date: 2024-03-10 03:01:48.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1702243219 {#4197
      date: 2023-12-10 22:20:19.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6003
  +user: App\Entity\User {#4211
    +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
    +cover: null
    +email: "DangerousInternet@lemmy.world"
    +username: "@DangerousInternet@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710465993 {#4195
      date: 2024-03-15 02:26:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
    +entries: Doctrine\ORM\PersistentCollection {#4219 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +posts: Doctrine\ORM\PersistentCollection {#4227 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
    +follows: Doctrine\ORM\PersistentCollection {#4239 …}
    +followers: Doctrine\ORM\PersistentCollection {#4241 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +violations: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    +awards: Doctrine\ORM\PersistentCollection {#4259 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
    +categories: Doctrine\ORM\PersistentCollection {#4263 …}
    -id: 81735
    -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
    +apId: "DangerousInternet@lemmy.world"
    +apProfileId: "https://lemmy.world/u/DangerousInternet"
    +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "DangerousInternet"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1710036108 {#4196
      date: 2024-03-10 03:01:48.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1702243219 {#4197
      date: 2023-12-10 22:20:19.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.15 ms
Input props
[
  "date" => DateTimeImmutable @1701302442 {#4194
    date: 2023-11-30 01:00:42.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6058
  +date: DateTimeImmutable @1701302442 {#4194
    date: 2023-11-30 01:00:42.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701302442 {#4194
    date: 2023-11-30 01:00:42.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6112
  +createdAt: DateTimeImmutable @1701302442 {#4194
    date: 2023-11-30 01:00:42.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.43 ms
Input props
[
  "user" => App\Entity\User {#4211
    +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
    +cover: null
    +email: "DangerousInternet@lemmy.world"
    +username: "@DangerousInternet@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710465993 {#4195
      date: 2024-03-15 02:26:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
    +entries: Doctrine\ORM\PersistentCollection {#4219 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +posts: Doctrine\ORM\PersistentCollection {#4227 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
    +follows: Doctrine\ORM\PersistentCollection {#4239 …}
    +followers: Doctrine\ORM\PersistentCollection {#4241 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +violations: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    +awards: Doctrine\ORM\PersistentCollection {#4259 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
    +categories: Doctrine\ORM\PersistentCollection {#4263 …}
    -id: 81735
    -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
    +apId: "DangerousInternet@lemmy.world"
    +apProfileId: "https://lemmy.world/u/DangerousInternet"
    +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "DangerousInternet"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1710036108 {#4196
      date: 2024-03-10 03:01:48.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1702243219 {#4197
      date: 2023-12-10 22:20:19.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6166
  +width: 40
  +height: 40
  +user: App\Entity\User {#4211
    +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
    +cover: null
    +email: "DangerousInternet@lemmy.world"
    +username: "@DangerousInternet@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710465993 {#4195
      date: 2024-03-15 02:26:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
    +entries: Doctrine\ORM\PersistentCollection {#4219 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +posts: Doctrine\ORM\PersistentCollection {#4227 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
    +follows: Doctrine\ORM\PersistentCollection {#4239 …}
    +followers: Doctrine\ORM\PersistentCollection {#4241 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +violations: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    +awards: Doctrine\ORM\PersistentCollection {#4259 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
    +categories: Doctrine\ORM\PersistentCollection {#4263 …}
    -id: 81735
    -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
    +apId: "DangerousInternet@lemmy.world"
    +apProfileId: "https://lemmy.world/u/DangerousInternet"
    +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "DangerousInternet"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1710036108 {#4196
      date: 2024-03-10 03:01:48.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1702243219 {#4197
      date: 2023-12-10 22:20:19.0 +01:00
    }
  }
  +asLink: true
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 6.85 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
      +cover: null
      +email: "DangerousInternet@lemmy.world"
      +username: "@DangerousInternet@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710465993 {#4195
        date: 2024-03-15 02:26:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
      +entries: Doctrine\ORM\PersistentCollection {#4219 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +posts: Doctrine\ORM\PersistentCollection {#4227 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
      +follows: Doctrine\ORM\PersistentCollection {#4239 …}
      +followers: Doctrine\ORM\PersistentCollection {#4241 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +violations: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      +awards: Doctrine\ORM\PersistentCollection {#4259 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
      +categories: Doctrine\ORM\PersistentCollection {#4263 …}
      -id: 81735
      -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
      +apId: "DangerousInternet@lemmy.world"
      +apProfileId: "https://lemmy.world/u/DangerousInternet"
      +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "DangerousInternet"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1710036108 {#4196
        date: 2024-03-10 03:01:48.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1702243219 {#4197
        date: 2023-12-10 22:20:19.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702291791 {#4193
      date: 2023-12-11 11:49:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 179000
    -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "soft_deleted        "
    +apId: "https://lemmy.world/comment/5683255"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701302442 {#4194
      date: 2023-11-30 01:00:42.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6223
  +comment: App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
      +cover: null
      +email: "DangerousInternet@lemmy.world"
      +username: "@DangerousInternet@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710465993 {#4195
        date: 2024-03-15 02:26:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
      +entries: Doctrine\ORM\PersistentCollection {#4219 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +posts: Doctrine\ORM\PersistentCollection {#4227 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
      +follows: Doctrine\ORM\PersistentCollection {#4239 …}
      +followers: Doctrine\ORM\PersistentCollection {#4241 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +violations: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      +awards: Doctrine\ORM\PersistentCollection {#4259 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
      +categories: Doctrine\ORM\PersistentCollection {#4263 …}
      -id: 81735
      -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
      +apId: "DangerousInternet@lemmy.world"
      +apProfileId: "https://lemmy.world/u/DangerousInternet"
      +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "DangerousInternet"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1710036108 {#4196
        date: 2024-03-10 03:01:48.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1702243219 {#4197
        date: 2023-12-10 22:20:19.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702291791 {#4193
      date: 2023-12-11 11:49:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 179000
    -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "soft_deleted        "
    +apId: "https://lemmy.world/comment/5683255"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701302442 {#4194
      date: 2023-11-30 01:00:42.0 +01:00
    }
  }
  +nestedComments: [
    179117 => App\Entity\EntryComment {#4372
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4198}
      +root: App\Entity\EntryComment {#4198}
      +body: """
        For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?\n
        \n
        I have checked my temp. Against the source (norway service) and it was right.\n
        \n
        I am on my phone now but i can print the page later.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701304657 {#4370
        date: 2023-11-30 01:37:37.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@DangerousInternet@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4373 …}
      +nested: Doctrine\ORM\PersistentCollection {#4375 …}
      +votes: Doctrine\ORM\PersistentCollection {#4377 …}
      +reports: Doctrine\ORM\PersistentCollection {#4379 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4381 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4383 …}
      -id: 179117
      -bodyTs: "'adjust':9 'check':21 'creator':6 'later':45 'mayb':11 'norway':27 'page':44 'phone':37 'print':42 'right':32 'said':7 'servic':28 'sourc':26 'still':17 'temp':23 'tri':13 'wrong':18"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/comment/3909679"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701304657 {#4371
        date: 2023-11-30 01:37:37.0 +01:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 5.98 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4372
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702291791 {#4193
        date: 2023-12-11 11:49:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 179000
      -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5683255"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701302442 {#4194
        date: 2023-11-30 01:00:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?\n
      \n
      I have checked my temp. Against the source (norway service) and it was right.\n
      \n
      I am on my phone now but i can print the page later.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701304657 {#4370
      date: 2023-11-30 01:37:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4373 …}
    +nested: Doctrine\ORM\PersistentCollection {#4375 …}
    +votes: Doctrine\ORM\PersistentCollection {#4377 …}
    +reports: Doctrine\ORM\PersistentCollection {#4379 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4381 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4383 …}
    -id: 179117
    -bodyTs: "'adjust':9 'check':21 'creator':6 'later':45 'mayb':11 'norway':27 'page':44 'phone':37 'print':42 'right':32 'said':7 'servic':28 'sourc':26 'still':17 'temp':23 'tri':13 'wrong':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/comment/3909679"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701304657 {#4371
      date: 2023-11-30 01:37:37.0 +01:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6283
  +comment: App\Entity\EntryComment {#4372
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702291791 {#4193
        date: 2023-12-11 11:49:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 179000
      -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5683255"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701302442 {#4194
        date: 2023-11-30 01:00:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?\n
      \n
      I have checked my temp. Against the source (norway service) and it was right.\n
      \n
      I am on my phone now but i can print the page later.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701304657 {#4370
      date: 2023-11-30 01:37:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4373 …}
    +nested: Doctrine\ORM\PersistentCollection {#4375 …}
    +votes: Doctrine\ORM\PersistentCollection {#4377 …}
    +reports: Doctrine\ORM\PersistentCollection {#4379 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4381 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4383 …}
    -id: 179117
    -bodyTs: "'adjust':9 'check':21 'creator':6 'later':45 'mayb':11 'norway':27 'page':44 'phone':37 'print':42 'right':32 'said':7 'servic':28 'sourc':26 'still':17 'temp':23 'tri':13 'wrong':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/comment/3909679"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701304657 {#4371
      date: 2023-11-30 01:37:37.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.12 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: null
    +email: "ademir@lemmy.eco.br"
    +username: "@ademir@lemmy.eco.br"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
    +lastActive: DateTime @1728806437 {#1536
      date: 2024-10-13 10:00:37.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
    +entries: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
    +posts: Doctrine\ORM\PersistentCollection {#1745 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
    +follows: Doctrine\ORM\PersistentCollection {#1409 …}
    +followers: Doctrine\ORM\PersistentCollection {#1624 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
    +reports: Doctrine\ORM\PersistentCollection {#1416 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
    +violations: Doctrine\ORM\PersistentCollection {#1694 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
    +awards: Doctrine\ORM\PersistentCollection {#1434 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
    +categories: Doctrine\ORM\PersistentCollection {#1640 …}
    -id: 41649
    -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
    +apId: "ademir@lemmy.eco.br"
    +apProfileId: "https://lemmy.eco.br/u/ademir"
    +apPublicUrl: "https://lemmy.eco.br/u/ademir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.eco.br/inbox"
    +apDomain: "lemmy.eco.br"
    +apPreferredUsername: "ademir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728744384 {#1515
      date: 2024-10-12 16:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692553876 {#1516
      date: 2023-08-20 19:51:16.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6330
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: null
    +email: "ademir@lemmy.eco.br"
    +username: "@ademir@lemmy.eco.br"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
    +lastActive: DateTime @1728806437 {#1536
      date: 2024-10-13 10:00:37.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
    +entries: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
    +posts: Doctrine\ORM\PersistentCollection {#1745 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
    +follows: Doctrine\ORM\PersistentCollection {#1409 …}
    +followers: Doctrine\ORM\PersistentCollection {#1624 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
    +reports: Doctrine\ORM\PersistentCollection {#1416 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
    +violations: Doctrine\ORM\PersistentCollection {#1694 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
    +awards: Doctrine\ORM\PersistentCollection {#1434 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
    +categories: Doctrine\ORM\PersistentCollection {#1640 …}
    -id: 41649
    -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
    +apId: "ademir@lemmy.eco.br"
    +apProfileId: "https://lemmy.eco.br/u/ademir"
    +apPublicUrl: "https://lemmy.eco.br/u/ademir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.eco.br/inbox"
    +apDomain: "lemmy.eco.br"
    +apPreferredUsername: "ademir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728744384 {#1515
      date: 2024-10-12 16:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692553876 {#1516
      date: 2023-08-20 19:51:16.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.12 ms
Input props
[
  "date" => DateTimeImmutable @1701304657 {#4371
    date: 2023-11-30 01:37:37.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6385
  +date: DateTimeImmutable @1701304657 {#4371
    date: 2023-11-30 01:37:37.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.13 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701304657 {#4371
    date: 2023-11-30 01:37:37.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6439
  +createdAt: DateTimeImmutable @1701304657 {#4371
    date: 2023-11-30 01:37:37.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.31 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: null
    +email: "ademir@lemmy.eco.br"
    +username: "@ademir@lemmy.eco.br"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
    +lastActive: DateTime @1728806437 {#1536
      date: 2024-10-13 10:00:37.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
    +entries: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
    +posts: Doctrine\ORM\PersistentCollection {#1745 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
    +follows: Doctrine\ORM\PersistentCollection {#1409 …}
    +followers: Doctrine\ORM\PersistentCollection {#1624 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
    +reports: Doctrine\ORM\PersistentCollection {#1416 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
    +violations: Doctrine\ORM\PersistentCollection {#1694 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
    +awards: Doctrine\ORM\PersistentCollection {#1434 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
    +categories: Doctrine\ORM\PersistentCollection {#1640 …}
    -id: 41649
    -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
    +apId: "ademir@lemmy.eco.br"
    +apProfileId: "https://lemmy.eco.br/u/ademir"
    +apPublicUrl: "https://lemmy.eco.br/u/ademir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.eco.br/inbox"
    +apDomain: "lemmy.eco.br"
    +apPreferredUsername: "ademir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728744384 {#1515
      date: 2024-10-12 16:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692553876 {#1516
      date: 2023-08-20 19:51:16.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6493
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: null
    +email: "ademir@lemmy.eco.br"
    +username: "@ademir@lemmy.eco.br"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
    +lastActive: DateTime @1728806437 {#1536
      date: 2024-10-13 10:00:37.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
    +entries: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
    +posts: Doctrine\ORM\PersistentCollection {#1745 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
    +follows: Doctrine\ORM\PersistentCollection {#1409 …}
    +followers: Doctrine\ORM\PersistentCollection {#1624 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
    +reports: Doctrine\ORM\PersistentCollection {#1416 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
    +violations: Doctrine\ORM\PersistentCollection {#1694 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
    +awards: Doctrine\ORM\PersistentCollection {#1434 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
    +categories: Doctrine\ORM\PersistentCollection {#1640 …}
    -id: 41649
    -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
    +apId: "ademir@lemmy.eco.br"
    +apProfileId: "https://lemmy.eco.br/u/ademir"
    +apPublicUrl: "https://lemmy.eco.br/u/ademir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.eco.br/inbox"
    +apDomain: "lemmy.eco.br"
    +apPreferredUsername: "ademir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728744384 {#1515
      date: 2024-10-12 16:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692553876 {#1516
      date: 2023-08-20 19:51:16.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.39 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4372
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702291791 {#4193
        date: 2023-12-11 11:49:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 179000
      -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5683255"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701302442 {#4194
        date: 2023-11-30 01:00:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?\n
      \n
      I have checked my temp. Against the source (norway service) and it was right.\n
      \n
      I am on my phone now but i can print the page later.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701304657 {#4370
      date: 2023-11-30 01:37:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4373 …}
    +nested: Doctrine\ORM\PersistentCollection {#4375 …}
    +votes: Doctrine\ORM\PersistentCollection {#4377 …}
    +reports: Doctrine\ORM\PersistentCollection {#4379 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4381 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4383 …}
    -id: 179117
    -bodyTs: "'adjust':9 'check':21 'creator':6 'later':45 'mayb':11 'norway':27 'page':44 'phone':37 'print':42 'right':32 'said':7 'servic':28 'sourc':26 'still':17 'temp':23 'tri':13 'wrong':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/comment/3909679"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701304657 {#4371
      date: 2023-11-30 01:37:37.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6572
  +subject: App\Entity\EntryComment {#4372
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702291791 {#4193
        date: 2023-12-11 11:49:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 179000
      -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5683255"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701302442 {#4194
        date: 2023-11-30 01:00:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?\n
      \n
      I have checked my temp. Against the source (norway service) and it was right.\n
      \n
      I am on my phone now but i can print the page later.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701304657 {#4370
      date: 2023-11-30 01:37:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4373 …}
    +nested: Doctrine\ORM\PersistentCollection {#4375 …}
    +votes: Doctrine\ORM\PersistentCollection {#4377 …}
    +reports: Doctrine\ORM\PersistentCollection {#4379 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4381 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4383 …}
    -id: 179117
    -bodyTs: "'adjust':9 'check':21 'creator':6 'later':45 'mayb':11 'norway':27 'page':44 'phone':37 'print':42 'right':32 'said':7 'servic':28 'sourc':26 'still':17 'temp':23 'tri':13 'wrong':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/comment/3909679"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701304657 {#4371
      date: 2023-11-30 01:37:37.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 0.72 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4372
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702291791 {#4193
        date: 2023-12-11 11:49:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 179000
      -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5683255"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701302442 {#4194
        date: 2023-11-30 01:00:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?\n
      \n
      I have checked my temp. Against the source (norway service) and it was right.\n
      \n
      I am on my phone now but i can print the page later.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701304657 {#4370
      date: 2023-11-30 01:37:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4373 …}
    +nested: Doctrine\ORM\PersistentCollection {#4375 …}
    +votes: Doctrine\ORM\PersistentCollection {#4377 …}
    +reports: Doctrine\ORM\PersistentCollection {#4379 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4381 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4383 …}
    -id: 179117
    -bodyTs: "'adjust':9 'check':21 'creator':6 'later':45 'mayb':11 'norway':27 'page':44 'phone':37 'print':42 'right':32 'said':7 'servic':28 'sourc':26 'still':17 'temp':23 'tri':13 'wrong':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/comment/3909679"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701304657 {#4371
      date: 2023-11-30 01:37:37.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6629
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4372
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702291791 {#4193
        date: 2023-12-11 11:49:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 179000
      -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5683255"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701302442 {#4194
        date: 2023-11-30 01:00:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?\n
      \n
      I have checked my temp. Against the source (norway service) and it was right.\n
      \n
      I am on my phone now but i can print the page later.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701304657 {#4370
      date: 2023-11-30 01:37:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4373 …}
    +nested: Doctrine\ORM\PersistentCollection {#4375 …}
    +votes: Doctrine\ORM\PersistentCollection {#4377 …}
    +reports: Doctrine\ORM\PersistentCollection {#4379 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4381 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4383 …}
    -id: 179117
    -bodyTs: "'adjust':9 'check':21 'creator':6 'later':45 'mayb':11 'norway':27 'page':44 'phone':37 'print':42 'right':32 'said':7 'servic':28 'sourc':26 'still':17 'temp':23 'tri':13 'wrong':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/comment/3909679"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701304657 {#4371
      date: 2023-11-30 01:37:37.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 0.28 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4372
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702291791 {#4193
        date: 2023-12-11 11:49:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 179000
      -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5683255"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701302442 {#4194
        date: 2023-11-30 01:00:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?\n
      \n
      I have checked my temp. Against the source (norway service) and it was right.\n
      \n
      I am on my phone now but i can print the page later.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701304657 {#4370
      date: 2023-11-30 01:37:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4373 …}
    +nested: Doctrine\ORM\PersistentCollection {#4375 …}
    +votes: Doctrine\ORM\PersistentCollection {#4377 …}
    +reports: Doctrine\ORM\PersistentCollection {#4379 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4381 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4383 …}
    -id: 179117
    -bodyTs: "'adjust':9 'check':21 'creator':6 'later':45 'mayb':11 'norway':27 'page':44 'phone':37 'print':42 'right':32 'said':7 'servic':28 'sourc':26 'still':17 'temp':23 'tri':13 'wrong':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/comment/3909679"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701304657 {#4371
      date: 2023-11-30 01:37:37.0 +01:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6869
  +comment: App\Entity\EntryComment {#4372
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: null
      +email: "ademir@lemmy.eco.br"
      +username: "@ademir@lemmy.eco.br"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
      +lastActive: DateTime @1728806437 {#1536
        date: 2024-10-13 10:00:37.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
      +entries: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
      +posts: Doctrine\ORM\PersistentCollection {#1745 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
      +follows: Doctrine\ORM\PersistentCollection {#1409 …}
      +followers: Doctrine\ORM\PersistentCollection {#1624 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
      +reports: Doctrine\ORM\PersistentCollection {#1416 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
      +violations: Doctrine\ORM\PersistentCollection {#1694 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
      +awards: Doctrine\ORM\PersistentCollection {#1434 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
      +categories: Doctrine\ORM\PersistentCollection {#1640 …}
      -id: 41649
      -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
      +apId: "ademir@lemmy.eco.br"
      +apProfileId: "https://lemmy.eco.br/u/ademir"
      +apPublicUrl: "https://lemmy.eco.br/u/ademir"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.eco.br/inbox"
      +apDomain: "lemmy.eco.br"
      +apPreferredUsername: "ademir"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728744384 {#1515
        date: 2024-10-12 16:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1692553876 {#1516
        date: 2023-08-20 19:51:16.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I tried this script before and while it adds city, the weather itself was wrong. Does it shows you correct temperature?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702291791 {#4193
        date: 2023-12-11 11:49:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 179000
      -bodyTs: "'add':9 'citi':10 'correct':20 'script':4 'show':18 'temperatur':21 'tri':2 'weather':12 'wrong':15"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5683255"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701302442 {#4194
        date: 2023-11-30 01:00:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?\n
      \n
      I have checked my temp. Against the source (norway service) and it was right.\n
      \n
      I am on my phone now but i can print the page later.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701304657 {#4370
      date: 2023-11-30 01:37:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4373 …}
    +nested: Doctrine\ORM\PersistentCollection {#4375 …}
    +votes: Doctrine\ORM\PersistentCollection {#4377 …}
    +reports: Doctrine\ORM\PersistentCollection {#4379 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4381 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4383 …}
    -id: 179117
    -bodyTs: "'adjust':9 'check':21 'creator':6 'later':45 'mayb':11 'norway':27 'page':44 'phone':37 'print':42 'right':32 'said':7 'servic':28 'sourc':26 'still':17 'temp':23 'tri':13 'wrong':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.eco.br/comment/3909679"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701304657 {#4371
      date: 2023-11-30 01:37:37.0 +01:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 52.36 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4273
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 11
    +score: 0
    +lastActive: DateTime @1702481761 {#4267
      date: 2023-12-13 16:36:01.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4274 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4280 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
    -id: 178454
    -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3833698"
    +editedAt: DateTimeImmutable @1702222871 {#4268
      date: 2023-12-10 16:41:11.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701294191 {#4269
      date: 2023-11-29 22:43:11.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6945
  +comment: App\Entity\EntryComment {#4273
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 11
    +score: 0
    +lastActive: DateTime @1702481761 {#4267
      date: 2023-12-13 16:36:01.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4274 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4280 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
    -id: 178454
    -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3833698"
    +editedAt: DateTimeImmutable @1702222871 {#4268
      date: 2023-12-10 16:41:11.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701294191 {#4269
      date: 2023-11-29 22:43:11.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6990
  +user: App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.17 ms
Input props
[
  "date" => DateTimeImmutable @1701294191 {#4269
    date: 2023-11-29 22:43:11.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7045
  +date: DateTimeImmutable @1701294191 {#4269
    date: 2023-11-29 22:43:11.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.13 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701294191 {#4269
    date: 2023-11-29 22:43:11.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1702222871 {#4268
    date: 2023-12-10 16:41:11.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7099
  +createdAt: DateTimeImmutable @1701294191 {#4269
    date: 2023-11-29 22:43:11.0 +01:00
  }
  +editedAt: DateTimeImmutable @1702222871 {#4268
    date: 2023-12-10 16:41:11.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7153
  +width: 40
  +height: 40
  +user: App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.37 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4273
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 11
    +score: 0
    +lastActive: DateTime @1702481761 {#4267
      date: 2023-12-13 16:36:01.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4274 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4280 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
    -id: 178454
    -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3833698"
    +editedAt: DateTimeImmutable @1702222871 {#4268
      date: 2023-12-10 16:41:11.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701294191 {#4269
      date: 2023-11-29 22:43:11.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7222
  +subject: App\Entity\EntryComment {#4273
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 11
    +score: 0
    +lastActive: DateTime @1702481761 {#4267
      date: 2023-12-13 16:36:01.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4274 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4280 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
    -id: 178454
    -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3833698"
    +editedAt: DateTimeImmutable @1702222871 {#4268
      date: 2023-12-10 16:41:11.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701294191 {#4269
      date: 2023-11-29 22:43:11.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 0.61 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4273
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 11
    +score: 0
    +lastActive: DateTime @1702481761 {#4267
      date: 2023-12-13 16:36:01.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4274 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4280 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
    -id: 178454
    -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3833698"
    +editedAt: DateTimeImmutable @1702222871 {#4268
      date: 2023-12-10 16:41:11.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701294191 {#4269
      date: 2023-11-29 22:43:11.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7279
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4273
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 11
    +score: 0
    +lastActive: DateTime @1702481761 {#4267
      date: 2023-12-13 16:36:01.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4274 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4280 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
    -id: 178454
    -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3833698"
    +editedAt: DateTimeImmutable @1702222871 {#4268
      date: 2023-12-10 16:41:11.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701294191 {#4269
      date: 2023-11-29 22:43:11.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 43.81 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4273
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 11
    +score: 0
    +lastActive: DateTime @1702481761 {#4267
      date: 2023-12-13 16:36:01.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4274 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4280 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
    -id: 178454
    -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3833698"
    +editedAt: DateTimeImmutable @1702222871 {#4268
      date: 2023-12-10 16:41:11.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701294191 {#4269
      date: 2023-11-29 22:43:11.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#3864
  +comment: App\Entity\EntryComment {#4273
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 11
    +score: 0
    +lastActive: DateTime @1702481761 {#4267
      date: 2023-12-13 16:36:01.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4274 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4280 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
    -id: 178454
    -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3833698"
    +editedAt: DateTimeImmutable @1702222871 {#4268
      date: 2023-12-10 16:41:11.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701294191 {#4269
      date: 2023-11-29 22:43:11.0 +01:00
    }
  }
  +nestedComments: [
    183887 => App\Entity\EntryComment {#4467
      +user: Proxies\__CG__\App\Entity\User {#4459
        +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
        +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
        +email: "semperverus@lemmy.world"
        +username: "@semperverus@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "`while(true){💩};`"
        +lastActive: DateTime @1728421496 {#9656
          date: 2024-10-08 23:04:56.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
        +entries: Doctrine\ORM\PersistentCollection {#9670 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
        +posts: Doctrine\ORM\PersistentCollection {#9678 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
        +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
        +follows: Doctrine\ORM\PersistentCollection {#9690 …}
        +followers: Doctrine\ORM\PersistentCollection {#9692 …}
        +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
        +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
        +reports: Doctrine\ORM\PersistentCollection {#9702 …}
        +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
        +violations: Doctrine\ORM\PersistentCollection {#9706 …}
        +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
        +awards: Doctrine\ORM\PersistentCollection {#9710 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
        +categories: Doctrine\ORM\PersistentCollection {#9714 …}
        -id: 32957
        -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
        +apId: "semperverus@lemmy.world"
        +apProfileId: "https://lemmy.world/u/semperverus"
        +apPublicUrl: "https://lemmy.world/u/semperverus"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "semperverus"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729530949 {#9653
          date: 2024-10-21 19:15:49.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689984852 {#9655
          date: 2023-07-22 02:14:12.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4445
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4423
          +user: App\Entity\User {#4211
            +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
            +cover: null
            +email: "DangerousInternet@lemmy.world"
            +username: "@DangerousInternet@lemmy.world"
            +roles: []
            +followersCount: 0
            +homepage: "front"
            +about: null
            +lastActive: DateTime @1710465993 {#4195
              date: 2024-03-15 02:26:33.0 +01:00
            }
            +markedForDeletionAt: null
            +fields: null
            +oauthGithubId: null
            +oauthGoogleId: null
            +oauthFacebookId: null
            +oauthKeycloakId: null
            +hideAdult: true
            +showSubscribedUsers: true
            +showSubscribedMagazines: true
            +showSubscribedDomains: true
            +preferredLanguages: []
            +featuredMagazines: null
            +showProfileSubscriptions: false
            +showProfileFollowings: true
            +markNewComments: false
            +notifyOnNewEntry: false
            +notifyOnNewEntryReply: true
            +notifyOnNewEntryCommentReply: true
            +notifyOnNewPost: false
            +notifyOnNewPostReply: true
            +notifyOnNewPostCommentReply: true
            +addMentionsEntries: false
            +addMentionsPosts: true
            +isBanned: false
            +isVerified: false
            +isDeleted: false
            +isBot: false
            +spamProtection: true
            +customCss: null
            +ignoreMagazinesCustomCss: false
            +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
            +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
            +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
            +entries: Doctrine\ORM\PersistentCollection {#4219 …}
            +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
            +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
            +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
            +posts: Doctrine\ORM\PersistentCollection {#4227 …}
            +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
            +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
            +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
            +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
            +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
            +follows: Doctrine\ORM\PersistentCollection {#4239 …}
            +followers: Doctrine\ORM\PersistentCollection {#4241 …}
            +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
            +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
            +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
            +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
            +reports: Doctrine\ORM\PersistentCollection {#4251 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
            +violations: Doctrine\ORM\PersistentCollection {#4255 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
            +awards: Doctrine\ORM\PersistentCollection {#4259 …}
            +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
            +categories: Doctrine\ORM\PersistentCollection {#4263 …}
            -id: 81735
            -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
            -totpSecret: null
            -totpBackupCodes: []
            -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
            +apId: "DangerousInternet@lemmy.world"
            +apProfileId: "https://lemmy.world/u/DangerousInternet"
            +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
            +apFollowersUrl: null
            +apInboxUrl: "https://lemmy.world/inbox"
            +apDomain: "lemmy.world"
            +apPreferredUsername: "DangerousInternet"
            +apDiscoverable: true
            +apManuallyApprovesFollowers: false
            +privateKey: null
            +publicKey: null
            +apFetchedAt: DateTime @1710036108 {#4196
              date: 2024-03-10 03:01:48.0 +01:00
            }
            +apDeletedAt: null
            +apTimeoutAt: null
            +visibility: "visible             "
            +createdAt: DateTimeImmutable @1702243219 {#4197
              date: 2023-12-10 22:20:19.0 +01:00
            }
          }
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4394
            +user: App\Entity\User {#4286}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4353
              +user: Proxies\__CG__\App\Entity\User {#4356
                +avatar: null
                +cover: null
                +email: "turbowafflz@lemmy.world"
                +username: "@turbowafflz@lemmy.world"
                +roles: []
                +followersCount: 0
                +homepage: "front"
                +about: null
                +lastActive: DateTime @1729399119 {#7373
                  date: 2024-10-20 06:38:39.0 +02:00
                }
                +markedForDeletionAt: null
                +fields: null
                +oauthGithubId: null
                +oauthGoogleId: null
                +oauthFacebookId: null
                +oauthKeycloakId: null
                +hideAdult: true
                +showSubscribedUsers: true
                +showSubscribedMagazines: true
                +showSubscribedDomains: true
                +preferredLanguages: []
                +featuredMagazines: null
                +showProfileSubscriptions: false
                +showProfileFollowings: true
                +markNewComments: false
                +notifyOnNewEntry: false
                +notifyOnNewEntryReply: true
                +notifyOnNewEntryCommentReply: true
                +notifyOnNewPost: false
                +notifyOnNewPostReply: true
                +notifyOnNewPostCommentReply: true
                +addMentionsEntries: false
                +addMentionsPosts: true
                +isBanned: false
                +isVerified: false
                +isDeleted: false
                +isBot: false
                +spamProtection: true
                +customCss: null
                +ignoreMagazinesCustomCss: false
                +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
                +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
                +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
                +entries: Doctrine\ORM\PersistentCollection {#7393 …}
                +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
                +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
                +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
                +posts: Doctrine\ORM\PersistentCollection {#7401 …}
                +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
                +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
                +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
                +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
                +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
                +follows: Doctrine\ORM\PersistentCollection {#7413 …}
                +followers: Doctrine\ORM\PersistentCollection {#7415 …}
                +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
                +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
                +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
                +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
                +reports: Doctrine\ORM\PersistentCollection {#7425 …}
                +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
                +violations: Doctrine\ORM\PersistentCollection {#7429 …}
                +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
                +awards: Doctrine\ORM\PersistentCollection {#7433 …}
                +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
                +categories: Doctrine\ORM\PersistentCollection {#7437 …}
                -id: 51764
                -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
                -totpSecret: null
                -totpBackupCodes: []
                -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
                +apId: "turbowafflz@lemmy.world"
                +apProfileId: "https://lemmy.world/u/turbowafflz"
                +apPublicUrl: "https://lemmy.world/u/turbowafflz"
                +apFollowersUrl: null
                +apInboxUrl: "https://lemmy.world/inbox"
                +apDomain: "lemmy.world"
                +apPreferredUsername: "turbowafflz"
                +apDiscoverable: true
                +apManuallyApprovesFollowers: false
                +privateKey: null
                +publicKey: null
                +apFetchedAt: DateTime @1728612822 {#7257
                  date: 2024-10-11 04:13:42.0 +02:00
                }
                +apDeletedAt: null
                +apTimeoutAt: null
                +visibility: "visible             "
                +createdAt: DateTimeImmutable @1696598050 {#7313
                  date: 2023-10-06 15:14:10.0 +02:00
                }
                +__isInitialized__: true
                 …2
              }
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: App\Entity\EntryComment {#4273}
              +root: App\Entity\EntryComment {#4273}
              +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
              +lang: "en"
              +isAdult: false
              +favouriteCount: 23
              +score: 0
              +lastActive: DateTime @1701298859 {#4352
                date: 2023-11-30 00:00:59.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@a"
                "@av"
                "@ademir@lemmy.eco.br"
                "@stepanzak@iusearchlinux.fyi"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4360 …}
              +nested: Doctrine\ORM\PersistentCollection {#4362 …}
              +votes: Doctrine\ORM\PersistentCollection {#4358 …}
              +reports: Doctrine\ORM\PersistentCollection {#4364 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
              -id: 178812
              -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.world/comment/5682084"
              +editedAt: null
              +createdAt: DateTimeImmutable @1701298859 {#4349
                date: 2023-11-30 00:00:59.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4273}
            +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 8
            +score: 0
            +lastActive: DateTime @1701334724 {#4391
              date: 2023-11-30 09:58:44.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
              "@stepanzak@iusearchlinux.fyi"
              "@turbowafflz@lemmy.world"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4397 …}
            +nested: Doctrine\ORM\PersistentCollection {#4399 …}
            +votes: Doctrine\ORM\PersistentCollection {#4395 …}
            +reports: Doctrine\ORM\PersistentCollection {#4402 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
            -id: 180150
            -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://iusearchlinux.fyi/comment/3843159"
            +editedAt: DateTimeImmutable @1702321773 {#4388
              date: 2023-12-11 20:09:33.0 +01:00
            }
            +createdAt: DateTimeImmutable @1701334724 {#4386
              date: 2023-11-30 09:58:44.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 2
          +score: 0
          +lastActive: DateTime @1701343008 {#4418
            date: 2023-11-30 12:16:48.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
            "@turbowafflz@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4415 …}
          +nested: Doctrine\ORM\PersistentCollection {#4412 …}
          +votes: Doctrine\ORM\PersistentCollection {#4410 …}
          +reports: Doctrine\ORM\PersistentCollection {#4424 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
          -id: 180440
          -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "soft_deleted        "
          +apId: "https://lemmy.world/comment/5693007"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701343008 {#4421
            date: 2023-11-30 12:16:48.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "My happiness is ruined :("
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1701347225 {#4440
          date: 2023-11-30 13:27:05.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
          "@DangerousInternet@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4437 …}
        +nested: Doctrine\ORM\PersistentCollection {#4434 …}
        +votes: Doctrine\ORM\PersistentCollection {#4432 …}
        +reports: Doctrine\ORM\PersistentCollection {#4446 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
        -id: 180602
        -bodyTs: "'happi':2 'ruin':4"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3845175"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701347225 {#4443
          date: 2023-11-30 13:27:05.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: """
        KDE is very receptive to community help! I can only think of one specific example in KDE history where a developer dragged their feet in the mud about a change the community wanted/submitted pull requests for, and thats the vertical HTML indicator bar in kmail.\n
        \n
        Gnome on the other hand…
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701364533 {#4462
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
        "@DangerousInternet@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4457 …}
      +nested: Doctrine\ORM\PersistentCollection {#4455 …}
      +votes: Doctrine\ORM\PersistentCollection {#4453 …}
      +reports: Doctrine\ORM\PersistentCollection {#4469 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4471 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
      -id: 183887
      -bodyTs: "'bar':43 'chang':30 'communiti':6,32 'develop':21 'drag':22 'exampl':15 'feet':24 'gnome':46 'hand':50 'help':7 'histori':18 'html':41 'indic':42 'kde':1,17 'kmail':45 'mud':27 'one':13 'pull':34 'recept':4 'request':35 'specif':14 'that':38 'think':11 'vertic':40 'wanted/submitted':33"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5699628"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701364533 {#4465
        date: 2023-11-30 18:15:33.0 +01:00
      }
    }
    178812 => App\Entity\EntryComment {#4353}
    180150 => App\Entity\EntryComment {#4394}
    180440 => App\Entity\EntryComment {#4423}
    180602 => App\Entity\EntryComment {#4445}
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 42.75 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4353
    +user: Proxies\__CG__\App\Entity\User {#4356
      +avatar: null
      +cover: null
      +email: "turbowafflz@lemmy.world"
      +username: "@turbowafflz@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729399119 {#7373
        date: 2024-10-20 06:38:39.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
      +entries: Doctrine\ORM\PersistentCollection {#7393 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
      +posts: Doctrine\ORM\PersistentCollection {#7401 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
      +follows: Doctrine\ORM\PersistentCollection {#7413 …}
      +followers: Doctrine\ORM\PersistentCollection {#7415 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
      +reports: Doctrine\ORM\PersistentCollection {#7425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
      +violations: Doctrine\ORM\PersistentCollection {#7429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
      +awards: Doctrine\ORM\PersistentCollection {#7433 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
      +categories: Doctrine\ORM\PersistentCollection {#7437 …}
      -id: 51764
      -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
      +apId: "turbowafflz@lemmy.world"
      +apProfileId: "https://lemmy.world/u/turbowafflz"
      +apPublicUrl: "https://lemmy.world/u/turbowafflz"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "turbowafflz"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728612822 {#7257
        date: 2024-10-11 04:13:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696598050 {#7313
        date: 2023-10-06 15:14:10.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4273
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 11
      +score: 0
      +lastActive: DateTime @1702481761 {#4267
        date: 2023-12-13 16:36:01.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4274 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4280 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
      -id: 178454
      -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3833698"
      +editedAt: DateTimeImmutable @1702222871 {#4268
        date: 2023-12-10 16:41:11.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701294191 {#4269
        date: 2023-11-29 22:43:11.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 23
    +score: 0
    +lastActive: DateTime @1701298859 {#4352
      date: 2023-11-30 00:00:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4362 …}
    +votes: Doctrine\ORM\PersistentCollection {#4358 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 178812
    -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5682084"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701298859 {#4349
      date: 2023-11-30 00:00:59.0 +01:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#4835
  +comment: App\Entity\EntryComment {#4353
    +user: Proxies\__CG__\App\Entity\User {#4356
      +avatar: null
      +cover: null
      +email: "turbowafflz@lemmy.world"
      +username: "@turbowafflz@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729399119 {#7373
        date: 2024-10-20 06:38:39.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
      +entries: Doctrine\ORM\PersistentCollection {#7393 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
      +posts: Doctrine\ORM\PersistentCollection {#7401 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
      +follows: Doctrine\ORM\PersistentCollection {#7413 …}
      +followers: Doctrine\ORM\PersistentCollection {#7415 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
      +reports: Doctrine\ORM\PersistentCollection {#7425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
      +violations: Doctrine\ORM\PersistentCollection {#7429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
      +awards: Doctrine\ORM\PersistentCollection {#7433 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
      +categories: Doctrine\ORM\PersistentCollection {#7437 …}
      -id: 51764
      -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
      +apId: "turbowafflz@lemmy.world"
      +apProfileId: "https://lemmy.world/u/turbowafflz"
      +apPublicUrl: "https://lemmy.world/u/turbowafflz"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "turbowafflz"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728612822 {#7257
        date: 2024-10-11 04:13:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696598050 {#7313
        date: 2023-10-06 15:14:10.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4273
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 11
      +score: 0
      +lastActive: DateTime @1702481761 {#4267
        date: 2023-12-13 16:36:01.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4274 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4280 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
      -id: 178454
      -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3833698"
      +editedAt: DateTimeImmutable @1702222871 {#4268
        date: 2023-12-10 16:41:11.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701294191 {#4269
        date: 2023-11-29 22:43:11.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 23
    +score: 0
    +lastActive: DateTime @1701298859 {#4352
      date: 2023-11-30 00:00:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4362 …}
    +votes: Doctrine\ORM\PersistentCollection {#4358 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 178812
    -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5682084"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701298859 {#4349
      date: 2023-11-30 00:00:59.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 2.31 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#4356
    +avatar: null
    +cover: null
    +email: "turbowafflz@lemmy.world"
    +username: "@turbowafflz@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729399119 {#7373
      date: 2024-10-20 06:38:39.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
    +entries: Doctrine\ORM\PersistentCollection {#7393 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
    +posts: Doctrine\ORM\PersistentCollection {#7401 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
    +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
    +follows: Doctrine\ORM\PersistentCollection {#7413 …}
    +followers: Doctrine\ORM\PersistentCollection {#7415 …}
    +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
    +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
    +reports: Doctrine\ORM\PersistentCollection {#7425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
    +violations: Doctrine\ORM\PersistentCollection {#7429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
    +awards: Doctrine\ORM\PersistentCollection {#7433 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
    +categories: Doctrine\ORM\PersistentCollection {#7437 …}
    -id: 51764
    -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
    +apId: "turbowafflz@lemmy.world"
    +apProfileId: "https://lemmy.world/u/turbowafflz"
    +apPublicUrl: "https://lemmy.world/u/turbowafflz"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "turbowafflz"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728612822 {#7257
      date: 2024-10-11 04:13:42.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696598050 {#7313
      date: 2023-10-06 15:14:10.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5393
  +user: Proxies\__CG__\App\Entity\User {#4356
    +avatar: null
    +cover: null
    +email: "turbowafflz@lemmy.world"
    +username: "@turbowafflz@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729399119 {#7373
      date: 2024-10-20 06:38:39.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
    +entries: Doctrine\ORM\PersistentCollection {#7393 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
    +posts: Doctrine\ORM\PersistentCollection {#7401 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
    +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
    +follows: Doctrine\ORM\PersistentCollection {#7413 …}
    +followers: Doctrine\ORM\PersistentCollection {#7415 …}
    +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
    +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
    +reports: Doctrine\ORM\PersistentCollection {#7425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
    +violations: Doctrine\ORM\PersistentCollection {#7429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
    +awards: Doctrine\ORM\PersistentCollection {#7433 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
    +categories: Doctrine\ORM\PersistentCollection {#7437 …}
    -id: 51764
    -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
    +apId: "turbowafflz@lemmy.world"
    +apProfileId: "https://lemmy.world/u/turbowafflz"
    +apPublicUrl: "https://lemmy.world/u/turbowafflz"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "turbowafflz"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728612822 {#7257
      date: 2024-10-11 04:13:42.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696598050 {#7313
      date: 2023-10-06 15:14:10.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.15 ms
Input props
[
  "date" => DateTimeImmutable @1701298859 {#4349
    date: 2023-11-30 00:00:59.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7459
  +date: DateTimeImmutable @1701298859 {#4349
    date: 2023-11-30 00:00:59.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701298859 {#4349
    date: 2023-11-30 00:00:59.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7513
  +createdAt: DateTimeImmutable @1701298859 {#4349
    date: 2023-11-30 00:00:59.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.13 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#4356
    +avatar: null
    +cover: null
    +email: "turbowafflz@lemmy.world"
    +username: "@turbowafflz@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729399119 {#7373
      date: 2024-10-20 06:38:39.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
    +entries: Doctrine\ORM\PersistentCollection {#7393 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
    +posts: Doctrine\ORM\PersistentCollection {#7401 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
    +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
    +follows: Doctrine\ORM\PersistentCollection {#7413 …}
    +followers: Doctrine\ORM\PersistentCollection {#7415 …}
    +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
    +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
    +reports: Doctrine\ORM\PersistentCollection {#7425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
    +violations: Doctrine\ORM\PersistentCollection {#7429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
    +awards: Doctrine\ORM\PersistentCollection {#7433 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
    +categories: Doctrine\ORM\PersistentCollection {#7437 …}
    -id: 51764
    -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
    +apId: "turbowafflz@lemmy.world"
    +apProfileId: "https://lemmy.world/u/turbowafflz"
    +apPublicUrl: "https://lemmy.world/u/turbowafflz"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "turbowafflz"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728612822 {#7257
      date: 2024-10-11 04:13:42.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696598050 {#7313
      date: 2023-10-06 15:14:10.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7567
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#4356
    +avatar: null
    +cover: null
    +email: "turbowafflz@lemmy.world"
    +username: "@turbowafflz@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729399119 {#7373
      date: 2024-10-20 06:38:39.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
    +entries: Doctrine\ORM\PersistentCollection {#7393 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
    +posts: Doctrine\ORM\PersistentCollection {#7401 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
    +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
    +follows: Doctrine\ORM\PersistentCollection {#7413 …}
    +followers: Doctrine\ORM\PersistentCollection {#7415 …}
    +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
    +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
    +reports: Doctrine\ORM\PersistentCollection {#7425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
    +violations: Doctrine\ORM\PersistentCollection {#7429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
    +awards: Doctrine\ORM\PersistentCollection {#7433 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
    +categories: Doctrine\ORM\PersistentCollection {#7437 …}
    -id: 51764
    -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
    +apId: "turbowafflz@lemmy.world"
    +apProfileId: "https://lemmy.world/u/turbowafflz"
    +apPublicUrl: "https://lemmy.world/u/turbowafflz"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "turbowafflz"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728612822 {#7257
      date: 2024-10-11 04:13:42.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696598050 {#7313
      date: 2023-10-06 15:14:10.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.41 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4353
    +user: Proxies\__CG__\App\Entity\User {#4356
      +avatar: null
      +cover: null
      +email: "turbowafflz@lemmy.world"
      +username: "@turbowafflz@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729399119 {#7373
        date: 2024-10-20 06:38:39.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
      +entries: Doctrine\ORM\PersistentCollection {#7393 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
      +posts: Doctrine\ORM\PersistentCollection {#7401 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
      +follows: Doctrine\ORM\PersistentCollection {#7413 …}
      +followers: Doctrine\ORM\PersistentCollection {#7415 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
      +reports: Doctrine\ORM\PersistentCollection {#7425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
      +violations: Doctrine\ORM\PersistentCollection {#7429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
      +awards: Doctrine\ORM\PersistentCollection {#7433 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
      +categories: Doctrine\ORM\PersistentCollection {#7437 …}
      -id: 51764
      -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
      +apId: "turbowafflz@lemmy.world"
      +apProfileId: "https://lemmy.world/u/turbowafflz"
      +apPublicUrl: "https://lemmy.world/u/turbowafflz"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "turbowafflz"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728612822 {#7257
        date: 2024-10-11 04:13:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696598050 {#7313
        date: 2023-10-06 15:14:10.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4273
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 11
      +score: 0
      +lastActive: DateTime @1702481761 {#4267
        date: 2023-12-13 16:36:01.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4274 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4280 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
      -id: 178454
      -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3833698"
      +editedAt: DateTimeImmutable @1702222871 {#4268
        date: 2023-12-10 16:41:11.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701294191 {#4269
        date: 2023-11-29 22:43:11.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 23
    +score: 0
    +lastActive: DateTime @1701298859 {#4352
      date: 2023-11-30 00:00:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4362 …}
    +votes: Doctrine\ORM\PersistentCollection {#4358 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 178812
    -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5682084"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701298859 {#4349
      date: 2023-11-30 00:00:59.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7636
  +subject: App\Entity\EntryComment {#4353
    +user: Proxies\__CG__\App\Entity\User {#4356
      +avatar: null
      +cover: null
      +email: "turbowafflz@lemmy.world"
      +username: "@turbowafflz@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729399119 {#7373
        date: 2024-10-20 06:38:39.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
      +entries: Doctrine\ORM\PersistentCollection {#7393 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
      +posts: Doctrine\ORM\PersistentCollection {#7401 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
      +follows: Doctrine\ORM\PersistentCollection {#7413 …}
      +followers: Doctrine\ORM\PersistentCollection {#7415 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
      +reports: Doctrine\ORM\PersistentCollection {#7425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
      +violations: Doctrine\ORM\PersistentCollection {#7429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
      +awards: Doctrine\ORM\PersistentCollection {#7433 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
      +categories: Doctrine\ORM\PersistentCollection {#7437 …}
      -id: 51764
      -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
      +apId: "turbowafflz@lemmy.world"
      +apProfileId: "https://lemmy.world/u/turbowafflz"
      +apPublicUrl: "https://lemmy.world/u/turbowafflz"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "turbowafflz"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728612822 {#7257
        date: 2024-10-11 04:13:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696598050 {#7313
        date: 2023-10-06 15:14:10.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4273
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 11
      +score: 0
      +lastActive: DateTime @1702481761 {#4267
        date: 2023-12-13 16:36:01.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4274 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4280 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
      -id: 178454
      -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3833698"
      +editedAt: DateTimeImmutable @1702222871 {#4268
        date: 2023-12-10 16:41:11.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701294191 {#4269
        date: 2023-11-29 22:43:11.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 23
    +score: 0
    +lastActive: DateTime @1701298859 {#4352
      date: 2023-11-30 00:00:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4362 …}
    +votes: Doctrine\ORM\PersistentCollection {#4358 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 178812
    -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5682084"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701298859 {#4349
      date: 2023-11-30 00:00:59.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 0.65 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4353
    +user: Proxies\__CG__\App\Entity\User {#4356
      +avatar: null
      +cover: null
      +email: "turbowafflz@lemmy.world"
      +username: "@turbowafflz@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729399119 {#7373
        date: 2024-10-20 06:38:39.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
      +entries: Doctrine\ORM\PersistentCollection {#7393 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
      +posts: Doctrine\ORM\PersistentCollection {#7401 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
      +follows: Doctrine\ORM\PersistentCollection {#7413 …}
      +followers: Doctrine\ORM\PersistentCollection {#7415 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
      +reports: Doctrine\ORM\PersistentCollection {#7425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
      +violations: Doctrine\ORM\PersistentCollection {#7429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
      +awards: Doctrine\ORM\PersistentCollection {#7433 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
      +categories: Doctrine\ORM\PersistentCollection {#7437 …}
      -id: 51764
      -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
      +apId: "turbowafflz@lemmy.world"
      +apProfileId: "https://lemmy.world/u/turbowafflz"
      +apPublicUrl: "https://lemmy.world/u/turbowafflz"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "turbowafflz"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728612822 {#7257
        date: 2024-10-11 04:13:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696598050 {#7313
        date: 2023-10-06 15:14:10.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4273
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 11
      +score: 0
      +lastActive: DateTime @1702481761 {#4267
        date: 2023-12-13 16:36:01.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4274 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4280 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
      -id: 178454
      -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3833698"
      +editedAt: DateTimeImmutable @1702222871 {#4268
        date: 2023-12-10 16:41:11.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701294191 {#4269
        date: 2023-11-29 22:43:11.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 23
    +score: 0
    +lastActive: DateTime @1701298859 {#4352
      date: 2023-11-30 00:00:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4362 …}
    +votes: Doctrine\ORM\PersistentCollection {#4358 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 178812
    -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5682084"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701298859 {#4349
      date: 2023-11-30 00:00:59.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7693
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4353
    +user: Proxies\__CG__\App\Entity\User {#4356
      +avatar: null
      +cover: null
      +email: "turbowafflz@lemmy.world"
      +username: "@turbowafflz@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729399119 {#7373
        date: 2024-10-20 06:38:39.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
      +entries: Doctrine\ORM\PersistentCollection {#7393 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
      +posts: Doctrine\ORM\PersistentCollection {#7401 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
      +follows: Doctrine\ORM\PersistentCollection {#7413 …}
      +followers: Doctrine\ORM\PersistentCollection {#7415 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
      +reports: Doctrine\ORM\PersistentCollection {#7425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
      +violations: Doctrine\ORM\PersistentCollection {#7429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
      +awards: Doctrine\ORM\PersistentCollection {#7433 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
      +categories: Doctrine\ORM\PersistentCollection {#7437 …}
      -id: 51764
      -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
      +apId: "turbowafflz@lemmy.world"
      +apProfileId: "https://lemmy.world/u/turbowafflz"
      +apPublicUrl: "https://lemmy.world/u/turbowafflz"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "turbowafflz"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728612822 {#7257
        date: 2024-10-11 04:13:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696598050 {#7313
        date: 2023-10-06 15:14:10.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4273
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 11
      +score: 0
      +lastActive: DateTime @1702481761 {#4267
        date: 2023-12-13 16:36:01.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4274 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4280 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
      -id: 178454
      -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3833698"
      +editedAt: DateTimeImmutable @1702222871 {#4268
        date: 2023-12-10 16:41:11.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701294191 {#4269
        date: 2023-11-29 22:43:11.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 23
    +score: 0
    +lastActive: DateTime @1701298859 {#4352
      date: 2023-11-30 00:00:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4362 …}
    +votes: Doctrine\ORM\PersistentCollection {#4358 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 178812
    -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5682084"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701298859 {#4349
      date: 2023-11-30 00:00:59.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 35.04 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4353
    +user: Proxies\__CG__\App\Entity\User {#4356
      +avatar: null
      +cover: null
      +email: "turbowafflz@lemmy.world"
      +username: "@turbowafflz@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729399119 {#7373
        date: 2024-10-20 06:38:39.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
      +entries: Doctrine\ORM\PersistentCollection {#7393 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
      +posts: Doctrine\ORM\PersistentCollection {#7401 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
      +follows: Doctrine\ORM\PersistentCollection {#7413 …}
      +followers: Doctrine\ORM\PersistentCollection {#7415 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
      +reports: Doctrine\ORM\PersistentCollection {#7425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
      +violations: Doctrine\ORM\PersistentCollection {#7429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
      +awards: Doctrine\ORM\PersistentCollection {#7433 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
      +categories: Doctrine\ORM\PersistentCollection {#7437 …}
      -id: 51764
      -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
      +apId: "turbowafflz@lemmy.world"
      +apProfileId: "https://lemmy.world/u/turbowafflz"
      +apPublicUrl: "https://lemmy.world/u/turbowafflz"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "turbowafflz"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728612822 {#7257
        date: 2024-10-11 04:13:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696598050 {#7313
        date: 2023-10-06 15:14:10.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4273
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 11
      +score: 0
      +lastActive: DateTime @1702481761 {#4267
        date: 2023-12-13 16:36:01.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4274 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4280 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
      -id: 178454
      -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3833698"
      +editedAt: DateTimeImmutable @1702222871 {#4268
        date: 2023-12-10 16:41:11.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701294191 {#4269
        date: 2023-11-29 22:43:11.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 23
    +score: 0
    +lastActive: DateTime @1701298859 {#4352
      date: 2023-11-30 00:00:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4362 …}
    +votes: Doctrine\ORM\PersistentCollection {#4358 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 178812
    -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5682084"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701298859 {#4349
      date: 2023-11-30 00:00:59.0 +01:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7933
  +comment: App\Entity\EntryComment {#4353
    +user: Proxies\__CG__\App\Entity\User {#4356
      +avatar: null
      +cover: null
      +email: "turbowafflz@lemmy.world"
      +username: "@turbowafflz@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729399119 {#7373
        date: 2024-10-20 06:38:39.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
      +entries: Doctrine\ORM\PersistentCollection {#7393 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
      +posts: Doctrine\ORM\PersistentCollection {#7401 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
      +follows: Doctrine\ORM\PersistentCollection {#7413 …}
      +followers: Doctrine\ORM\PersistentCollection {#7415 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
      +reports: Doctrine\ORM\PersistentCollection {#7425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
      +violations: Doctrine\ORM\PersistentCollection {#7429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
      +awards: Doctrine\ORM\PersistentCollection {#7433 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
      +categories: Doctrine\ORM\PersistentCollection {#7437 …}
      -id: 51764
      -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
      +apId: "turbowafflz@lemmy.world"
      +apProfileId: "https://lemmy.world/u/turbowafflz"
      +apPublicUrl: "https://lemmy.world/u/turbowafflz"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "turbowafflz"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728612822 {#7257
        date: 2024-10-11 04:13:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696598050 {#7313
        date: 2023-10-06 15:14:10.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4273
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 11
      +score: 0
      +lastActive: DateTime @1702481761 {#4267
        date: 2023-12-13 16:36:01.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4274 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4280 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
      -id: 178454
      -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3833698"
      +editedAt: DateTimeImmutable @1702222871 {#4268
        date: 2023-12-10 16:41:11.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701294191 {#4269
        date: 2023-11-29 22:43:11.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 23
    +score: 0
    +lastActive: DateTime @1701298859 {#4352
      date: 2023-11-30 00:00:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4362 …}
    +votes: Doctrine\ORM\PersistentCollection {#4358 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 178812
    -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5682084"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701298859 {#4349
      date: 2023-11-30 00:00:59.0 +01:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 34.41 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4394
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4353
      +user: Proxies\__CG__\App\Entity\User {#4356
        +avatar: null
        +cover: null
        +email: "turbowafflz@lemmy.world"
        +username: "@turbowafflz@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729399119 {#7373
          date: 2024-10-20 06:38:39.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
        +entries: Doctrine\ORM\PersistentCollection {#7393 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
        +posts: Doctrine\ORM\PersistentCollection {#7401 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
        +follows: Doctrine\ORM\PersistentCollection {#7413 …}
        +followers: Doctrine\ORM\PersistentCollection {#7415 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
        +reports: Doctrine\ORM\PersistentCollection {#7425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
        +violations: Doctrine\ORM\PersistentCollection {#7429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
        +awards: Doctrine\ORM\PersistentCollection {#7433 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
        +categories: Doctrine\ORM\PersistentCollection {#7437 …}
        -id: 51764
        -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
        +apId: "turbowafflz@lemmy.world"
        +apProfileId: "https://lemmy.world/u/turbowafflz"
        +apPublicUrl: "https://lemmy.world/u/turbowafflz"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "turbowafflz"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728612822 {#7257
          date: 2024-10-11 04:13:42.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696598050 {#7313
          date: 2023-10-06 15:14:10.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4273
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 11
        +score: 0
        +lastActive: DateTime @1702481761 {#4267
          date: 2023-12-13 16:36:01.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4274 …}
        +nested: Doctrine\ORM\PersistentCollection {#4276 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4280 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
        -id: 178454
        -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3833698"
        +editedAt: DateTimeImmutable @1702222871 {#4268
          date: 2023-12-10 16:41:11.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701294191 {#4269
          date: 2023-11-29 22:43:11.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 23
      +score: 0
      +lastActive: DateTime @1701298859 {#4352
        date: 2023-11-30 00:00:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4360 …}
      +nested: Doctrine\ORM\PersistentCollection {#4362 …}
      +votes: Doctrine\ORM\PersistentCollection {#4358 …}
      +reports: Doctrine\ORM\PersistentCollection {#4364 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
      -id: 178812
      -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5682084"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701298859 {#4349
        date: 2023-11-30 00:00:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1701334724 {#4391
      date: 2023-11-30 09:58:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4397 …}
    +nested: Doctrine\ORM\PersistentCollection {#4399 …}
    +votes: Doctrine\ORM\PersistentCollection {#4395 …}
    +reports: Doctrine\ORM\PersistentCollection {#4402 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
    -id: 180150
    -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3843159"
    +editedAt: DateTimeImmutable @1702321773 {#4388
      date: 2023-12-11 20:09:33.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701334724 {#4386
      date: 2023-11-30 09:58:44.0 +01:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7988
  +comment: App\Entity\EntryComment {#4394
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4353
      +user: Proxies\__CG__\App\Entity\User {#4356
        +avatar: null
        +cover: null
        +email: "turbowafflz@lemmy.world"
        +username: "@turbowafflz@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729399119 {#7373
          date: 2024-10-20 06:38:39.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
        +entries: Doctrine\ORM\PersistentCollection {#7393 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
        +posts: Doctrine\ORM\PersistentCollection {#7401 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
        +follows: Doctrine\ORM\PersistentCollection {#7413 …}
        +followers: Doctrine\ORM\PersistentCollection {#7415 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
        +reports: Doctrine\ORM\PersistentCollection {#7425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
        +violations: Doctrine\ORM\PersistentCollection {#7429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
        +awards: Doctrine\ORM\PersistentCollection {#7433 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
        +categories: Doctrine\ORM\PersistentCollection {#7437 …}
        -id: 51764
        -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
        +apId: "turbowafflz@lemmy.world"
        +apProfileId: "https://lemmy.world/u/turbowafflz"
        +apPublicUrl: "https://lemmy.world/u/turbowafflz"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "turbowafflz"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728612822 {#7257
          date: 2024-10-11 04:13:42.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696598050 {#7313
          date: 2023-10-06 15:14:10.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4273
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 11
        +score: 0
        +lastActive: DateTime @1702481761 {#4267
          date: 2023-12-13 16:36:01.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4274 …}
        +nested: Doctrine\ORM\PersistentCollection {#4276 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4280 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
        -id: 178454
        -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3833698"
        +editedAt: DateTimeImmutable @1702222871 {#4268
          date: 2023-12-10 16:41:11.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701294191 {#4269
          date: 2023-11-29 22:43:11.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 23
      +score: 0
      +lastActive: DateTime @1701298859 {#4352
        date: 2023-11-30 00:00:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4360 …}
      +nested: Doctrine\ORM\PersistentCollection {#4362 …}
      +votes: Doctrine\ORM\PersistentCollection {#4358 …}
      +reports: Doctrine\ORM\PersistentCollection {#4364 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
      -id: 178812
      -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5682084"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701298859 {#4349
        date: 2023-11-30 00:00:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1701334724 {#4391
      date: 2023-11-30 09:58:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4397 …}
    +nested: Doctrine\ORM\PersistentCollection {#4399 …}
    +votes: Doctrine\ORM\PersistentCollection {#4395 …}
    +reports: Doctrine\ORM\PersistentCollection {#4402 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
    -id: 180150
    -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3843159"
    +editedAt: DateTimeImmutable @1702321773 {#4388
      date: 2023-12-11 20:09:33.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701334724 {#4386
      date: 2023-11-30 09:58:44.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 3
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8033
  +user: App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.12 ms
Input props
[
  "date" => DateTimeImmutable @1701334724 {#4386
    date: 2023-11-30 09:58:44.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8088
  +date: DateTimeImmutable @1701334724 {#4386
    date: 2023-11-30 09:58:44.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.16 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701334724 {#4386
    date: 2023-11-30 09:58:44.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1702321773 {#4388
    date: 2023-12-11 20:09:33.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8142
  +createdAt: DateTimeImmutable @1701334724 {#4386
    date: 2023-11-30 09:58:44.0 +01:00
  }
  +editedAt: DateTimeImmutable @1702321773 {#4388
    date: 2023-12-11 20:09:33.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8196
  +width: 40
  +height: 40
  +user: App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.62 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4394
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4353
      +user: Proxies\__CG__\App\Entity\User {#4356
        +avatar: null
        +cover: null
        +email: "turbowafflz@lemmy.world"
        +username: "@turbowafflz@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729399119 {#7373
          date: 2024-10-20 06:38:39.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
        +entries: Doctrine\ORM\PersistentCollection {#7393 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
        +posts: Doctrine\ORM\PersistentCollection {#7401 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
        +follows: Doctrine\ORM\PersistentCollection {#7413 …}
        +followers: Doctrine\ORM\PersistentCollection {#7415 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
        +reports: Doctrine\ORM\PersistentCollection {#7425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
        +violations: Doctrine\ORM\PersistentCollection {#7429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
        +awards: Doctrine\ORM\PersistentCollection {#7433 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
        +categories: Doctrine\ORM\PersistentCollection {#7437 …}
        -id: 51764
        -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
        +apId: "turbowafflz@lemmy.world"
        +apProfileId: "https://lemmy.world/u/turbowafflz"
        +apPublicUrl: "https://lemmy.world/u/turbowafflz"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "turbowafflz"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728612822 {#7257
          date: 2024-10-11 04:13:42.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696598050 {#7313
          date: 2023-10-06 15:14:10.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4273
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 11
        +score: 0
        +lastActive: DateTime @1702481761 {#4267
          date: 2023-12-13 16:36:01.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4274 …}
        +nested: Doctrine\ORM\PersistentCollection {#4276 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4280 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
        -id: 178454
        -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3833698"
        +editedAt: DateTimeImmutable @1702222871 {#4268
          date: 2023-12-10 16:41:11.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701294191 {#4269
          date: 2023-11-29 22:43:11.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 23
      +score: 0
      +lastActive: DateTime @1701298859 {#4352
        date: 2023-11-30 00:00:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4360 …}
      +nested: Doctrine\ORM\PersistentCollection {#4362 …}
      +votes: Doctrine\ORM\PersistentCollection {#4358 …}
      +reports: Doctrine\ORM\PersistentCollection {#4364 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
      -id: 178812
      -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5682084"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701298859 {#4349
        date: 2023-11-30 00:00:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1701334724 {#4391
      date: 2023-11-30 09:58:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4397 …}
    +nested: Doctrine\ORM\PersistentCollection {#4399 …}
    +votes: Doctrine\ORM\PersistentCollection {#4395 …}
    +reports: Doctrine\ORM\PersistentCollection {#4402 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
    -id: 180150
    -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3843159"
    +editedAt: DateTimeImmutable @1702321773 {#4388
      date: 2023-12-11 20:09:33.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701334724 {#4386
      date: 2023-11-30 09:58:44.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#8271
  +subject: App\Entity\EntryComment {#4394
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4353
      +user: Proxies\__CG__\App\Entity\User {#4356
        +avatar: null
        +cover: null
        +email: "turbowafflz@lemmy.world"
        +username: "@turbowafflz@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729399119 {#7373
          date: 2024-10-20 06:38:39.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
        +entries: Doctrine\ORM\PersistentCollection {#7393 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
        +posts: Doctrine\ORM\PersistentCollection {#7401 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
        +follows: Doctrine\ORM\PersistentCollection {#7413 …}
        +followers: Doctrine\ORM\PersistentCollection {#7415 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
        +reports: Doctrine\ORM\PersistentCollection {#7425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
        +violations: Doctrine\ORM\PersistentCollection {#7429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
        +awards: Doctrine\ORM\PersistentCollection {#7433 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
        +categories: Doctrine\ORM\PersistentCollection {#7437 …}
        -id: 51764
        -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
        +apId: "turbowafflz@lemmy.world"
        +apProfileId: "https://lemmy.world/u/turbowafflz"
        +apPublicUrl: "https://lemmy.world/u/turbowafflz"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "turbowafflz"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728612822 {#7257
          date: 2024-10-11 04:13:42.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696598050 {#7313
          date: 2023-10-06 15:14:10.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4273
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 11
        +score: 0
        +lastActive: DateTime @1702481761 {#4267
          date: 2023-12-13 16:36:01.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4274 …}
        +nested: Doctrine\ORM\PersistentCollection {#4276 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4280 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
        -id: 178454
        -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3833698"
        +editedAt: DateTimeImmutable @1702222871 {#4268
          date: 2023-12-10 16:41:11.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701294191 {#4269
          date: 2023-11-29 22:43:11.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 23
      +score: 0
      +lastActive: DateTime @1701298859 {#4352
        date: 2023-11-30 00:00:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4360 …}
      +nested: Doctrine\ORM\PersistentCollection {#4362 …}
      +votes: Doctrine\ORM\PersistentCollection {#4358 …}
      +reports: Doctrine\ORM\PersistentCollection {#4364 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
      -id: 178812
      -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5682084"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701298859 {#4349
        date: 2023-11-30 00:00:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1701334724 {#4391
      date: 2023-11-30 09:58:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4397 …}
    +nested: Doctrine\ORM\PersistentCollection {#4399 …}
    +votes: Doctrine\ORM\PersistentCollection {#4395 …}
    +reports: Doctrine\ORM\PersistentCollection {#4402 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
    -id: 180150
    -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3843159"
    +editedAt: DateTimeImmutable @1702321773 {#4388
      date: 2023-12-11 20:09:33.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701334724 {#4386
      date: 2023-11-30 09:58:44.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 0.99 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4394
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4353
      +user: Proxies\__CG__\App\Entity\User {#4356
        +avatar: null
        +cover: null
        +email: "turbowafflz@lemmy.world"
        +username: "@turbowafflz@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729399119 {#7373
          date: 2024-10-20 06:38:39.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
        +entries: Doctrine\ORM\PersistentCollection {#7393 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
        +posts: Doctrine\ORM\PersistentCollection {#7401 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
        +follows: Doctrine\ORM\PersistentCollection {#7413 …}
        +followers: Doctrine\ORM\PersistentCollection {#7415 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
        +reports: Doctrine\ORM\PersistentCollection {#7425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
        +violations: Doctrine\ORM\PersistentCollection {#7429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
        +awards: Doctrine\ORM\PersistentCollection {#7433 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
        +categories: Doctrine\ORM\PersistentCollection {#7437 …}
        -id: 51764
        -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
        +apId: "turbowafflz@lemmy.world"
        +apProfileId: "https://lemmy.world/u/turbowafflz"
        +apPublicUrl: "https://lemmy.world/u/turbowafflz"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "turbowafflz"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728612822 {#7257
          date: 2024-10-11 04:13:42.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696598050 {#7313
          date: 2023-10-06 15:14:10.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4273
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 11
        +score: 0
        +lastActive: DateTime @1702481761 {#4267
          date: 2023-12-13 16:36:01.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4274 …}
        +nested: Doctrine\ORM\PersistentCollection {#4276 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4280 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
        -id: 178454
        -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3833698"
        +editedAt: DateTimeImmutable @1702222871 {#4268
          date: 2023-12-10 16:41:11.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701294191 {#4269
          date: 2023-11-29 22:43:11.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 23
      +score: 0
      +lastActive: DateTime @1701298859 {#4352
        date: 2023-11-30 00:00:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4360 …}
      +nested: Doctrine\ORM\PersistentCollection {#4362 …}
      +votes: Doctrine\ORM\PersistentCollection {#4358 …}
      +reports: Doctrine\ORM\PersistentCollection {#4364 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
      -id: 178812
      -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5682084"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701298859 {#4349
        date: 2023-11-30 00:00:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1701334724 {#4391
      date: 2023-11-30 09:58:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4397 …}
    +nested: Doctrine\ORM\PersistentCollection {#4399 …}
    +votes: Doctrine\ORM\PersistentCollection {#4395 …}
    +reports: Doctrine\ORM\PersistentCollection {#4402 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
    -id: 180150
    -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3843159"
    +editedAt: DateTimeImmutable @1702321773 {#4388
      date: 2023-12-11 20:09:33.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701334724 {#4386
      date: 2023-11-30 09:58:44.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#8328
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4394
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4353
      +user: Proxies\__CG__\App\Entity\User {#4356
        +avatar: null
        +cover: null
        +email: "turbowafflz@lemmy.world"
        +username: "@turbowafflz@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729399119 {#7373
          date: 2024-10-20 06:38:39.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
        +entries: Doctrine\ORM\PersistentCollection {#7393 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
        +posts: Doctrine\ORM\PersistentCollection {#7401 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
        +follows: Doctrine\ORM\PersistentCollection {#7413 …}
        +followers: Doctrine\ORM\PersistentCollection {#7415 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
        +reports: Doctrine\ORM\PersistentCollection {#7425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
        +violations: Doctrine\ORM\PersistentCollection {#7429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
        +awards: Doctrine\ORM\PersistentCollection {#7433 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
        +categories: Doctrine\ORM\PersistentCollection {#7437 …}
        -id: 51764
        -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
        +apId: "turbowafflz@lemmy.world"
        +apProfileId: "https://lemmy.world/u/turbowafflz"
        +apPublicUrl: "https://lemmy.world/u/turbowafflz"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "turbowafflz"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728612822 {#7257
          date: 2024-10-11 04:13:42.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696598050 {#7313
          date: 2023-10-06 15:14:10.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4273
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 11
        +score: 0
        +lastActive: DateTime @1702481761 {#4267
          date: 2023-12-13 16:36:01.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4274 …}
        +nested: Doctrine\ORM\PersistentCollection {#4276 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4280 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
        -id: 178454
        -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3833698"
        +editedAt: DateTimeImmutable @1702222871 {#4268
          date: 2023-12-10 16:41:11.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701294191 {#4269
          date: 2023-11-29 22:43:11.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 23
      +score: 0
      +lastActive: DateTime @1701298859 {#4352
        date: 2023-11-30 00:00:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4360 …}
      +nested: Doctrine\ORM\PersistentCollection {#4362 …}
      +votes: Doctrine\ORM\PersistentCollection {#4358 …}
      +reports: Doctrine\ORM\PersistentCollection {#4364 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
      -id: 178812
      -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5682084"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701298859 {#4349
        date: 2023-11-30 00:00:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1701334724 {#4391
      date: 2023-11-30 09:58:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4397 …}
    +nested: Doctrine\ORM\PersistentCollection {#4399 …}
    +votes: Doctrine\ORM\PersistentCollection {#4395 …}
    +reports: Doctrine\ORM\PersistentCollection {#4402 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
    -id: 180150
    -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3843159"
    +editedAt: DateTimeImmutable @1702321773 {#4388
      date: 2023-12-11 20:09:33.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701334724 {#4386
      date: 2023-11-30 09:58:44.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 24.31 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4394
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4353
      +user: Proxies\__CG__\App\Entity\User {#4356
        +avatar: null
        +cover: null
        +email: "turbowafflz@lemmy.world"
        +username: "@turbowafflz@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729399119 {#7373
          date: 2024-10-20 06:38:39.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
        +entries: Doctrine\ORM\PersistentCollection {#7393 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
        +posts: Doctrine\ORM\PersistentCollection {#7401 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
        +follows: Doctrine\ORM\PersistentCollection {#7413 …}
        +followers: Doctrine\ORM\PersistentCollection {#7415 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
        +reports: Doctrine\ORM\PersistentCollection {#7425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
        +violations: Doctrine\ORM\PersistentCollection {#7429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
        +awards: Doctrine\ORM\PersistentCollection {#7433 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
        +categories: Doctrine\ORM\PersistentCollection {#7437 …}
        -id: 51764
        -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
        +apId: "turbowafflz@lemmy.world"
        +apProfileId: "https://lemmy.world/u/turbowafflz"
        +apPublicUrl: "https://lemmy.world/u/turbowafflz"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "turbowafflz"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728612822 {#7257
          date: 2024-10-11 04:13:42.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696598050 {#7313
          date: 2023-10-06 15:14:10.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4273
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 11
        +score: 0
        +lastActive: DateTime @1702481761 {#4267
          date: 2023-12-13 16:36:01.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4274 …}
        +nested: Doctrine\ORM\PersistentCollection {#4276 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4280 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
        -id: 178454
        -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3833698"
        +editedAt: DateTimeImmutable @1702222871 {#4268
          date: 2023-12-10 16:41:11.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701294191 {#4269
          date: 2023-11-29 22:43:11.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 23
      +score: 0
      +lastActive: DateTime @1701298859 {#4352
        date: 2023-11-30 00:00:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4360 …}
      +nested: Doctrine\ORM\PersistentCollection {#4362 …}
      +votes: Doctrine\ORM\PersistentCollection {#4358 …}
      +reports: Doctrine\ORM\PersistentCollection {#4364 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
      -id: 178812
      -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5682084"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701298859 {#4349
        date: 2023-11-30 00:00:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1701334724 {#4391
      date: 2023-11-30 09:58:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4397 …}
    +nested: Doctrine\ORM\PersistentCollection {#4399 …}
    +votes: Doctrine\ORM\PersistentCollection {#4395 …}
    +reports: Doctrine\ORM\PersistentCollection {#4402 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
    -id: 180150
    -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3843159"
    +editedAt: DateTimeImmutable @1702321773 {#4388
      date: 2023-12-11 20:09:33.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701334724 {#4386
      date: 2023-11-30 09:58:44.0 +01:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8568
  +comment: App\Entity\EntryComment {#4394
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4353
      +user: Proxies\__CG__\App\Entity\User {#4356
        +avatar: null
        +cover: null
        +email: "turbowafflz@lemmy.world"
        +username: "@turbowafflz@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1729399119 {#7373
          date: 2024-10-20 06:38:39.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
        +entries: Doctrine\ORM\PersistentCollection {#7393 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
        +posts: Doctrine\ORM\PersistentCollection {#7401 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
        +follows: Doctrine\ORM\PersistentCollection {#7413 …}
        +followers: Doctrine\ORM\PersistentCollection {#7415 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
        +reports: Doctrine\ORM\PersistentCollection {#7425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
        +violations: Doctrine\ORM\PersistentCollection {#7429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
        +awards: Doctrine\ORM\PersistentCollection {#7433 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
        +categories: Doctrine\ORM\PersistentCollection {#7437 …}
        -id: 51764
        -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
        +apId: "turbowafflz@lemmy.world"
        +apProfileId: "https://lemmy.world/u/turbowafflz"
        +apPublicUrl: "https://lemmy.world/u/turbowafflz"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "turbowafflz"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728612822 {#7257
          date: 2024-10-11 04:13:42.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696598050 {#7313
          date: 2023-10-06 15:14:10.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4273
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 11
        +score: 0
        +lastActive: DateTime @1702481761 {#4267
          date: 2023-12-13 16:36:01.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4274 …}
        +nested: Doctrine\ORM\PersistentCollection {#4276 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4280 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
        -id: 178454
        -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3833698"
        +editedAt: DateTimeImmutable @1702222871 {#4268
          date: 2023-12-10 16:41:11.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701294191 {#4269
          date: 2023-11-29 22:43:11.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 23
      +score: 0
      +lastActive: DateTime @1701298859 {#4352
        date: 2023-11-30 00:00:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4360 …}
      +nested: Doctrine\ORM\PersistentCollection {#4362 …}
      +votes: Doctrine\ORM\PersistentCollection {#4358 …}
      +reports: Doctrine\ORM\PersistentCollection {#4364 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
      -id: 178812
      -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5682084"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701298859 {#4349
        date: 2023-11-30 00:00:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1701334724 {#4391
      date: 2023-11-30 09:58:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4397 …}
    +nested: Doctrine\ORM\PersistentCollection {#4399 …}
    +votes: Doctrine\ORM\PersistentCollection {#4395 …}
    +reports: Doctrine\ORM\PersistentCollection {#4402 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
    -id: 180150
    -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3843159"
    +editedAt: DateTimeImmutable @1702321773 {#4388
      date: 2023-12-11 20:09:33.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701334724 {#4386
      date: 2023-11-30 09:58:44.0 +01:00
    }
  }
  +nestedComments: []
  +level: 3
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 23.53 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4423
    +user: App\Entity\User {#4211
      +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
      +cover: null
      +email: "DangerousInternet@lemmy.world"
      +username: "@DangerousInternet@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710465993 {#4195
        date: 2024-03-15 02:26:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
      +entries: Doctrine\ORM\PersistentCollection {#4219 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +posts: Doctrine\ORM\PersistentCollection {#4227 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
      +follows: Doctrine\ORM\PersistentCollection {#4239 …}
      +followers: Doctrine\ORM\PersistentCollection {#4241 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +violations: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      +awards: Doctrine\ORM\PersistentCollection {#4259 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
      +categories: Doctrine\ORM\PersistentCollection {#4263 …}
      -id: 81735
      -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
      +apId: "DangerousInternet@lemmy.world"
      +apProfileId: "https://lemmy.world/u/DangerousInternet"
      +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "DangerousInternet"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1710036108 {#4196
        date: 2024-03-10 03:01:48.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1702243219 {#4197
        date: 2023-12-10 22:20:19.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4394
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4353
        +user: Proxies\__CG__\App\Entity\User {#4356
          +avatar: null
          +cover: null
          +email: "turbowafflz@lemmy.world"
          +username: "@turbowafflz@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1729399119 {#7373
            date: 2024-10-20 06:38:39.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
          +entries: Doctrine\ORM\PersistentCollection {#7393 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
          +posts: Doctrine\ORM\PersistentCollection {#7401 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
          +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
          +follows: Doctrine\ORM\PersistentCollection {#7413 …}
          +followers: Doctrine\ORM\PersistentCollection {#7415 …}
          +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
          +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
          +reports: Doctrine\ORM\PersistentCollection {#7425 …}
          +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
          +violations: Doctrine\ORM\PersistentCollection {#7429 …}
          +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
          +awards: Doctrine\ORM\PersistentCollection {#7433 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
          +categories: Doctrine\ORM\PersistentCollection {#7437 …}
          -id: 51764
          -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
          +apId: "turbowafflz@lemmy.world"
          +apProfileId: "https://lemmy.world/u/turbowafflz"
          +apPublicUrl: "https://lemmy.world/u/turbowafflz"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "turbowafflz"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1728612822 {#7257
            date: 2024-10-11 04:13:42.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1696598050 {#7313
            date: 2023-10-06 15:14:10.0 +02:00
          }
          +__isInitialized__: true
           …2
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4273
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 11
          +score: 0
          +lastActive: DateTime @1702481761 {#4267
            date: 2023-12-13 16:36:01.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4274 …}
          +nested: Doctrine\ORM\PersistentCollection {#4276 …}
          +votes: Doctrine\ORM\PersistentCollection {#4278 …}
          +reports: Doctrine\ORM\PersistentCollection {#4280 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
          -id: 178454
          -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3833698"
          +editedAt: DateTimeImmutable @1702222871 {#4268
            date: 2023-12-10 16:41:11.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701294191 {#4269
            date: 2023-11-29 22:43:11.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 23
        +score: 0
        +lastActive: DateTime @1701298859 {#4352
          date: 2023-11-30 00:00:59.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4360 …}
        +nested: Doctrine\ORM\PersistentCollection {#4362 …}
        +votes: Doctrine\ORM\PersistentCollection {#4358 …}
        +reports: Doctrine\ORM\PersistentCollection {#4364 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
        -id: 178812
        -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/5682084"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701298859 {#4349
          date: 2023-11-30 00:00:59.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 8
      +score: 0
      +lastActive: DateTime @1701334724 {#4391
        date: 2023-11-30 09:58:44.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4397 …}
      +nested: Doctrine\ORM\PersistentCollection {#4399 …}
      +votes: Doctrine\ORM\PersistentCollection {#4395 …}
      +reports: Doctrine\ORM\PersistentCollection {#4402 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
      -id: 180150
      -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3843159"
      +editedAt: DateTimeImmutable @1702321773 {#4388
        date: 2023-12-11 20:09:33.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701334724 {#4386
        date: 2023-11-30 09:58:44.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701343008 {#4418
      date: 2023-11-30 12:16:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4415 …}
    +nested: Doctrine\ORM\PersistentCollection {#4412 …}
    +votes: Doctrine\ORM\PersistentCollection {#4410 …}
    +reports: Doctrine\ORM\PersistentCollection {#4424 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
    -id: 180440
    -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "soft_deleted        "
    +apId: "https://lemmy.world/comment/5693007"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701343008 {#4421
      date: 2023-11-30 12:16:48.0 +01:00
    }
  }
  "showNested" => true
  "level" => 4
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8623
  +comment: App\Entity\EntryComment {#4423
    +user: App\Entity\User {#4211
      +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
      +cover: null
      +email: "DangerousInternet@lemmy.world"
      +username: "@DangerousInternet@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710465993 {#4195
        date: 2024-03-15 02:26:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
      +entries: Doctrine\ORM\PersistentCollection {#4219 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +posts: Doctrine\ORM\PersistentCollection {#4227 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
      +follows: Doctrine\ORM\PersistentCollection {#4239 …}
      +followers: Doctrine\ORM\PersistentCollection {#4241 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +violations: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      +awards: Doctrine\ORM\PersistentCollection {#4259 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
      +categories: Doctrine\ORM\PersistentCollection {#4263 …}
      -id: 81735
      -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
      +apId: "DangerousInternet@lemmy.world"
      +apProfileId: "https://lemmy.world/u/DangerousInternet"
      +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "DangerousInternet"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1710036108 {#4196
        date: 2024-03-10 03:01:48.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1702243219 {#4197
        date: 2023-12-10 22:20:19.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4394
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4353
        +user: Proxies\__CG__\App\Entity\User {#4356
          +avatar: null
          +cover: null
          +email: "turbowafflz@lemmy.world"
          +username: "@turbowafflz@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1729399119 {#7373
            date: 2024-10-20 06:38:39.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
          +entries: Doctrine\ORM\PersistentCollection {#7393 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
          +posts: Doctrine\ORM\PersistentCollection {#7401 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
          +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
          +follows: Doctrine\ORM\PersistentCollection {#7413 …}
          +followers: Doctrine\ORM\PersistentCollection {#7415 …}
          +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
          +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
          +reports: Doctrine\ORM\PersistentCollection {#7425 …}
          +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
          +violations: Doctrine\ORM\PersistentCollection {#7429 …}
          +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
          +awards: Doctrine\ORM\PersistentCollection {#7433 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
          +categories: Doctrine\ORM\PersistentCollection {#7437 …}
          -id: 51764
          -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
          +apId: "turbowafflz@lemmy.world"
          +apProfileId: "https://lemmy.world/u/turbowafflz"
          +apPublicUrl: "https://lemmy.world/u/turbowafflz"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "turbowafflz"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1728612822 {#7257
            date: 2024-10-11 04:13:42.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1696598050 {#7313
            date: 2023-10-06 15:14:10.0 +02:00
          }
          +__isInitialized__: true
           …2
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4273
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 11
          +score: 0
          +lastActive: DateTime @1702481761 {#4267
            date: 2023-12-13 16:36:01.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4274 …}
          +nested: Doctrine\ORM\PersistentCollection {#4276 …}
          +votes: Doctrine\ORM\PersistentCollection {#4278 …}
          +reports: Doctrine\ORM\PersistentCollection {#4280 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
          -id: 178454
          -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3833698"
          +editedAt: DateTimeImmutable @1702222871 {#4268
            date: 2023-12-10 16:41:11.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701294191 {#4269
            date: 2023-11-29 22:43:11.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 23
        +score: 0
        +lastActive: DateTime @1701298859 {#4352
          date: 2023-11-30 00:00:59.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4360 …}
        +nested: Doctrine\ORM\PersistentCollection {#4362 …}
        +votes: Doctrine\ORM\PersistentCollection {#4358 …}
        +reports: Doctrine\ORM\PersistentCollection {#4364 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
        -id: 178812
        -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/5682084"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701298859 {#4349
          date: 2023-11-30 00:00:59.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 8
      +score: 0
      +lastActive: DateTime @1701334724 {#4391
        date: 2023-11-30 09:58:44.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4397 …}
      +nested: Doctrine\ORM\PersistentCollection {#4399 …}
      +votes: Doctrine\ORM\PersistentCollection {#4395 …}
      +reports: Doctrine\ORM\PersistentCollection {#4402 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
      -id: 180150
      -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3843159"
      +editedAt: DateTimeImmutable @1702321773 {#4388
        date: 2023-12-11 20:09:33.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701334724 {#4386
        date: 2023-11-30 09:58:44.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701343008 {#4418
      date: 2023-11-30 12:16:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4415 …}
    +nested: Doctrine\ORM\PersistentCollection {#4412 …}
    +votes: Doctrine\ORM\PersistentCollection {#4410 …}
    +reports: Doctrine\ORM\PersistentCollection {#4424 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
    -id: 180440
    -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "soft_deleted        "
    +apId: "https://lemmy.world/comment/5693007"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701343008 {#4421
      date: 2023-11-30 12:16:48.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 4
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.17 ms
Input props
[
  "user" => App\Entity\User {#4211
    +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
    +cover: null
    +email: "DangerousInternet@lemmy.world"
    +username: "@DangerousInternet@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710465993 {#4195
      date: 2024-03-15 02:26:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
    +entries: Doctrine\ORM\PersistentCollection {#4219 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +posts: Doctrine\ORM\PersistentCollection {#4227 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
    +follows: Doctrine\ORM\PersistentCollection {#4239 …}
    +followers: Doctrine\ORM\PersistentCollection {#4241 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +violations: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    +awards: Doctrine\ORM\PersistentCollection {#4259 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
    +categories: Doctrine\ORM\PersistentCollection {#4263 …}
    -id: 81735
    -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
    +apId: "DangerousInternet@lemmy.world"
    +apProfileId: "https://lemmy.world/u/DangerousInternet"
    +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "DangerousInternet"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1710036108 {#4196
      date: 2024-03-10 03:01:48.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1702243219 {#4197
      date: 2023-12-10 22:20:19.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8668
  +user: App\Entity\User {#4211
    +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
    +cover: null
    +email: "DangerousInternet@lemmy.world"
    +username: "@DangerousInternet@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710465993 {#4195
      date: 2024-03-15 02:26:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
    +entries: Doctrine\ORM\PersistentCollection {#4219 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +posts: Doctrine\ORM\PersistentCollection {#4227 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
    +follows: Doctrine\ORM\PersistentCollection {#4239 …}
    +followers: Doctrine\ORM\PersistentCollection {#4241 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +violations: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    +awards: Doctrine\ORM\PersistentCollection {#4259 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
    +categories: Doctrine\ORM\PersistentCollection {#4263 …}
    -id: 81735
    -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
    +apId: "DangerousInternet@lemmy.world"
    +apProfileId: "https://lemmy.world/u/DangerousInternet"
    +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "DangerousInternet"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1710036108 {#4196
      date: 2024-03-10 03:01:48.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1702243219 {#4197
      date: 2023-12-10 22:20:19.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.17 ms
Input props
[
  "date" => DateTimeImmutable @1701343008 {#4421
    date: 2023-11-30 12:16:48.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8723
  +date: DateTimeImmutable @1701343008 {#4421
    date: 2023-11-30 12:16:48.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.13 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701343008 {#4421
    date: 2023-11-30 12:16:48.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8777
  +createdAt: DateTimeImmutable @1701343008 {#4421
    date: 2023-11-30 12:16:48.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.28 ms
Input props
[
  "user" => App\Entity\User {#4211
    +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
    +cover: null
    +email: "DangerousInternet@lemmy.world"
    +username: "@DangerousInternet@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710465993 {#4195
      date: 2024-03-15 02:26:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
    +entries: Doctrine\ORM\PersistentCollection {#4219 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +posts: Doctrine\ORM\PersistentCollection {#4227 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
    +follows: Doctrine\ORM\PersistentCollection {#4239 …}
    +followers: Doctrine\ORM\PersistentCollection {#4241 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +violations: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    +awards: Doctrine\ORM\PersistentCollection {#4259 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
    +categories: Doctrine\ORM\PersistentCollection {#4263 …}
    -id: 81735
    -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
    +apId: "DangerousInternet@lemmy.world"
    +apProfileId: "https://lemmy.world/u/DangerousInternet"
    +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "DangerousInternet"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1710036108 {#4196
      date: 2024-03-10 03:01:48.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1702243219 {#4197
      date: 2023-12-10 22:20:19.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8831
  +width: 40
  +height: 40
  +user: App\Entity\User {#4211
    +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
    +cover: null
    +email: "DangerousInternet@lemmy.world"
    +username: "@DangerousInternet@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1710465993 {#4195
      date: 2024-03-15 02:26:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
    +entries: Doctrine\ORM\PersistentCollection {#4219 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +posts: Doctrine\ORM\PersistentCollection {#4227 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
    +follows: Doctrine\ORM\PersistentCollection {#4239 …}
    +followers: Doctrine\ORM\PersistentCollection {#4241 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +violations: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    +awards: Doctrine\ORM\PersistentCollection {#4259 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
    +categories: Doctrine\ORM\PersistentCollection {#4263 …}
    -id: 81735
    -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
    +apId: "DangerousInternet@lemmy.world"
    +apProfileId: "https://lemmy.world/u/DangerousInternet"
    +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "DangerousInternet"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1710036108 {#4196
      date: 2024-03-10 03:01:48.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1702243219 {#4197
      date: 2023-12-10 22:20:19.0 +01:00
    }
  }
  +asLink: true
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 20.54 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4423
    +user: App\Entity\User {#4211
      +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
      +cover: null
      +email: "DangerousInternet@lemmy.world"
      +username: "@DangerousInternet@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710465993 {#4195
        date: 2024-03-15 02:26:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
      +entries: Doctrine\ORM\PersistentCollection {#4219 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +posts: Doctrine\ORM\PersistentCollection {#4227 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
      +follows: Doctrine\ORM\PersistentCollection {#4239 …}
      +followers: Doctrine\ORM\PersistentCollection {#4241 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +violations: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      +awards: Doctrine\ORM\PersistentCollection {#4259 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
      +categories: Doctrine\ORM\PersistentCollection {#4263 …}
      -id: 81735
      -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
      +apId: "DangerousInternet@lemmy.world"
      +apProfileId: "https://lemmy.world/u/DangerousInternet"
      +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "DangerousInternet"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1710036108 {#4196
        date: 2024-03-10 03:01:48.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1702243219 {#4197
        date: 2023-12-10 22:20:19.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4394
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4353
        +user: Proxies\__CG__\App\Entity\User {#4356
          +avatar: null
          +cover: null
          +email: "turbowafflz@lemmy.world"
          +username: "@turbowafflz@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1729399119 {#7373
            date: 2024-10-20 06:38:39.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
          +entries: Doctrine\ORM\PersistentCollection {#7393 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
          +posts: Doctrine\ORM\PersistentCollection {#7401 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
          +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
          +follows: Doctrine\ORM\PersistentCollection {#7413 …}
          +followers: Doctrine\ORM\PersistentCollection {#7415 …}
          +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
          +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
          +reports: Doctrine\ORM\PersistentCollection {#7425 …}
          +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
          +violations: Doctrine\ORM\PersistentCollection {#7429 …}
          +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
          +awards: Doctrine\ORM\PersistentCollection {#7433 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
          +categories: Doctrine\ORM\PersistentCollection {#7437 …}
          -id: 51764
          -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
          +apId: "turbowafflz@lemmy.world"
          +apProfileId: "https://lemmy.world/u/turbowafflz"
          +apPublicUrl: "https://lemmy.world/u/turbowafflz"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "turbowafflz"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1728612822 {#7257
            date: 2024-10-11 04:13:42.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1696598050 {#7313
            date: 2023-10-06 15:14:10.0 +02:00
          }
          +__isInitialized__: true
           …2
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4273
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 11
          +score: 0
          +lastActive: DateTime @1702481761 {#4267
            date: 2023-12-13 16:36:01.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4274 …}
          +nested: Doctrine\ORM\PersistentCollection {#4276 …}
          +votes: Doctrine\ORM\PersistentCollection {#4278 …}
          +reports: Doctrine\ORM\PersistentCollection {#4280 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
          -id: 178454
          -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3833698"
          +editedAt: DateTimeImmutable @1702222871 {#4268
            date: 2023-12-10 16:41:11.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701294191 {#4269
            date: 2023-11-29 22:43:11.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 23
        +score: 0
        +lastActive: DateTime @1701298859 {#4352
          date: 2023-11-30 00:00:59.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4360 …}
        +nested: Doctrine\ORM\PersistentCollection {#4362 …}
        +votes: Doctrine\ORM\PersistentCollection {#4358 …}
        +reports: Doctrine\ORM\PersistentCollection {#4364 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
        -id: 178812
        -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/5682084"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701298859 {#4349
          date: 2023-11-30 00:00:59.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 8
      +score: 0
      +lastActive: DateTime @1701334724 {#4391
        date: 2023-11-30 09:58:44.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4397 …}
      +nested: Doctrine\ORM\PersistentCollection {#4399 …}
      +votes: Doctrine\ORM\PersistentCollection {#4395 …}
      +reports: Doctrine\ORM\PersistentCollection {#4402 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
      -id: 180150
      -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3843159"
      +editedAt: DateTimeImmutable @1702321773 {#4388
        date: 2023-12-11 20:09:33.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701334724 {#4386
        date: 2023-11-30 09:58:44.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701343008 {#4418
      date: 2023-11-30 12:16:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4415 …}
    +nested: Doctrine\ORM\PersistentCollection {#4412 …}
    +votes: Doctrine\ORM\PersistentCollection {#4410 …}
    +reports: Doctrine\ORM\PersistentCollection {#4424 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
    -id: 180440
    -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "soft_deleted        "
    +apId: "https://lemmy.world/comment/5693007"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701343008 {#4421
      date: 2023-11-30 12:16:48.0 +01:00
    }
  }
  "level" => 4
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8887
  +comment: App\Entity\EntryComment {#4423
    +user: App\Entity\User {#4211
      +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
      +cover: null
      +email: "DangerousInternet@lemmy.world"
      +username: "@DangerousInternet@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1710465993 {#4195
        date: 2024-03-15 02:26:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
      +entries: Doctrine\ORM\PersistentCollection {#4219 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +posts: Doctrine\ORM\PersistentCollection {#4227 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
      +follows: Doctrine\ORM\PersistentCollection {#4239 …}
      +followers: Doctrine\ORM\PersistentCollection {#4241 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +violations: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      +awards: Doctrine\ORM\PersistentCollection {#4259 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
      +categories: Doctrine\ORM\PersistentCollection {#4263 …}
      -id: 81735
      -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
      +apId: "DangerousInternet@lemmy.world"
      +apProfileId: "https://lemmy.world/u/DangerousInternet"
      +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "DangerousInternet"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1710036108 {#4196
        date: 2024-03-10 03:01:48.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1702243219 {#4197
        date: 2023-12-10 22:20:19.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4394
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4353
        +user: Proxies\__CG__\App\Entity\User {#4356
          +avatar: null
          +cover: null
          +email: "turbowafflz@lemmy.world"
          +username: "@turbowafflz@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1729399119 {#7373
            date: 2024-10-20 06:38:39.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
          +entries: Doctrine\ORM\PersistentCollection {#7393 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
          +posts: Doctrine\ORM\PersistentCollection {#7401 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
          +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
          +follows: Doctrine\ORM\PersistentCollection {#7413 …}
          +followers: Doctrine\ORM\PersistentCollection {#7415 …}
          +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
          +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
          +reports: Doctrine\ORM\PersistentCollection {#7425 …}
          +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
          +violations: Doctrine\ORM\PersistentCollection {#7429 …}
          +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
          +awards: Doctrine\ORM\PersistentCollection {#7433 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
          +categories: Doctrine\ORM\PersistentCollection {#7437 …}
          -id: 51764
          -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
          +apId: "turbowafflz@lemmy.world"
          +apProfileId: "https://lemmy.world/u/turbowafflz"
          +apPublicUrl: "https://lemmy.world/u/turbowafflz"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "turbowafflz"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1728612822 {#7257
            date: 2024-10-11 04:13:42.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1696598050 {#7313
            date: 2023-10-06 15:14:10.0 +02:00
          }
          +__isInitialized__: true
           …2
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4273
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 11
          +score: 0
          +lastActive: DateTime @1702481761 {#4267
            date: 2023-12-13 16:36:01.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4274 …}
          +nested: Doctrine\ORM\PersistentCollection {#4276 …}
          +votes: Doctrine\ORM\PersistentCollection {#4278 …}
          +reports: Doctrine\ORM\PersistentCollection {#4280 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
          -id: 178454
          -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3833698"
          +editedAt: DateTimeImmutable @1702222871 {#4268
            date: 2023-12-10 16:41:11.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701294191 {#4269
            date: 2023-11-29 22:43:11.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 23
        +score: 0
        +lastActive: DateTime @1701298859 {#4352
          date: 2023-11-30 00:00:59.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4360 …}
        +nested: Doctrine\ORM\PersistentCollection {#4362 …}
        +votes: Doctrine\ORM\PersistentCollection {#4358 …}
        +reports: Doctrine\ORM\PersistentCollection {#4364 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
        -id: 178812
        -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/5682084"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701298859 {#4349
          date: 2023-11-30 00:00:59.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 8
      +score: 0
      +lastActive: DateTime @1701334724 {#4391
        date: 2023-11-30 09:58:44.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4397 …}
      +nested: Doctrine\ORM\PersistentCollection {#4399 …}
      +votes: Doctrine\ORM\PersistentCollection {#4395 …}
      +reports: Doctrine\ORM\PersistentCollection {#4402 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
      -id: 180150
      -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3843159"
      +editedAt: DateTimeImmutable @1702321773 {#4388
        date: 2023-12-11 20:09:33.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701334724 {#4386
        date: 2023-11-30 09:58:44.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701343008 {#4418
      date: 2023-11-30 12:16:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4415 …}
    +nested: Doctrine\ORM\PersistentCollection {#4412 …}
    +votes: Doctrine\ORM\PersistentCollection {#4410 …}
    +reports: Doctrine\ORM\PersistentCollection {#4424 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
    -id: 180440
    -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "soft_deleted        "
    +apId: "https://lemmy.world/comment/5693007"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701343008 {#4421
      date: 2023-11-30 12:16:48.0 +01:00
    }
  }
  +nestedComments: []
  +level: 4
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 19.79 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4445
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4394
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4353
          +user: Proxies\__CG__\App\Entity\User {#4356
            +avatar: null
            +cover: null
            +email: "turbowafflz@lemmy.world"
            +username: "@turbowafflz@lemmy.world"
            +roles: []
            +followersCount: 0
            +homepage: "front"
            +about: null
            +lastActive: DateTime @1729399119 {#7373
              date: 2024-10-20 06:38:39.0 +02:00
            }
            +markedForDeletionAt: null
            +fields: null
            +oauthGithubId: null
            +oauthGoogleId: null
            +oauthFacebookId: null
            +oauthKeycloakId: null
            +hideAdult: true
            +showSubscribedUsers: true
            +showSubscribedMagazines: true
            +showSubscribedDomains: true
            +preferredLanguages: []
            +featuredMagazines: null
            +showProfileSubscriptions: false
            +showProfileFollowings: true
            +markNewComments: false
            +notifyOnNewEntry: false
            +notifyOnNewEntryReply: true
            +notifyOnNewEntryCommentReply: true
            +notifyOnNewPost: false
            +notifyOnNewPostReply: true
            +notifyOnNewPostCommentReply: true
            +addMentionsEntries: false
            +addMentionsPosts: true
            +isBanned: false
            +isVerified: false
            +isDeleted: false
            +isBot: false
            +spamProtection: true
            +customCss: null
            +ignoreMagazinesCustomCss: false
            +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
            +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
            +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
            +entries: Doctrine\ORM\PersistentCollection {#7393 …}
            +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
            +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
            +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
            +posts: Doctrine\ORM\PersistentCollection {#7401 …}
            +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
            +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
            +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
            +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
            +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
            +follows: Doctrine\ORM\PersistentCollection {#7413 …}
            +followers: Doctrine\ORM\PersistentCollection {#7415 …}
            +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
            +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
            +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
            +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
            +reports: Doctrine\ORM\PersistentCollection {#7425 …}
            +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
            +violations: Doctrine\ORM\PersistentCollection {#7429 …}
            +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
            +awards: Doctrine\ORM\PersistentCollection {#7433 …}
            +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
            +categories: Doctrine\ORM\PersistentCollection {#7437 …}
            -id: 51764
            -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
            -totpSecret: null
            -totpBackupCodes: []
            -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
            +apId: "turbowafflz@lemmy.world"
            +apProfileId: "https://lemmy.world/u/turbowafflz"
            +apPublicUrl: "https://lemmy.world/u/turbowafflz"
            +apFollowersUrl: null
            +apInboxUrl: "https://lemmy.world/inbox"
            +apDomain: "lemmy.world"
            +apPreferredUsername: "turbowafflz"
            +apDiscoverable: true
            +apManuallyApprovesFollowers: false
            +privateKey: null
            +publicKey: null
            +apFetchedAt: DateTime @1728612822 {#7257
              date: 2024-10-11 04:13:42.0 +02:00
            }
            +apDeletedAt: null
            +apTimeoutAt: null
            +visibility: "visible             "
            +createdAt: DateTimeImmutable @1696598050 {#7313
              date: 2023-10-06 15:14:10.0 +02:00
            }
            +__isInitialized__: true
             …2
          }
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4273
            +user: App\Entity\User {#4286}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 11
            +score: 0
            +lastActive: DateTime @1702481761 {#4267
              date: 2023-12-13 16:36:01.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4274 …}
            +nested: Doctrine\ORM\PersistentCollection {#4276 …}
            +votes: Doctrine\ORM\PersistentCollection {#4278 …}
            +reports: Doctrine\ORM\PersistentCollection {#4280 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
            -id: 178454
            -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://iusearchlinux.fyi/comment/3833698"
            +editedAt: DateTimeImmutable @1702222871 {#4268
              date: 2023-12-10 16:41:11.0 +01:00
            }
            +createdAt: DateTimeImmutable @1701294191 {#4269
              date: 2023-11-29 22:43:11.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 23
          +score: 0
          +lastActive: DateTime @1701298859 {#4352
            date: 2023-11-30 00:00:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4360 …}
          +nested: Doctrine\ORM\PersistentCollection {#4362 …}
          +votes: Doctrine\ORM\PersistentCollection {#4358 …}
          +reports: Doctrine\ORM\PersistentCollection {#4364 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
          -id: 178812
          -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/5682084"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701298859 {#4349
            date: 2023-11-30 00:00:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1701334724 {#4391
          date: 2023-11-30 09:58:44.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4397 …}
        +nested: Doctrine\ORM\PersistentCollection {#4399 …}
        +votes: Doctrine\ORM\PersistentCollection {#4395 …}
        +reports: Doctrine\ORM\PersistentCollection {#4402 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
        -id: 180150
        -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3843159"
        +editedAt: DateTimeImmutable @1702321773 {#4388
          date: 2023-12-11 20:09:33.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701334724 {#4386
          date: 2023-11-30 09:58:44.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701343008 {#4418
        date: 2023-11-30 12:16:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4415 …}
      +nested: Doctrine\ORM\PersistentCollection {#4412 …}
      +votes: Doctrine\ORM\PersistentCollection {#4410 …}
      +reports: Doctrine\ORM\PersistentCollection {#4424 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
      -id: 180440
      -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5693007"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701343008 {#4421
        date: 2023-11-30 12:16:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "My happiness is ruined :("
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701347225 {#4440
      date: 2023-11-30 13:27:05.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4437 …}
    +nested: Doctrine\ORM\PersistentCollection {#4434 …}
    +votes: Doctrine\ORM\PersistentCollection {#4432 …}
    +reports: Doctrine\ORM\PersistentCollection {#4446 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
    -id: 180602
    -bodyTs: "'happi':2 'ruin':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3845175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701347225 {#4443
      date: 2023-11-30 13:27:05.0 +01:00
    }
  }
  "showNested" => true
  "level" => 5
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8942
  +comment: App\Entity\EntryComment {#4445
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4394
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4353
          +user: Proxies\__CG__\App\Entity\User {#4356
            +avatar: null
            +cover: null
            +email: "turbowafflz@lemmy.world"
            +username: "@turbowafflz@lemmy.world"
            +roles: []
            +followersCount: 0
            +homepage: "front"
            +about: null
            +lastActive: DateTime @1729399119 {#7373
              date: 2024-10-20 06:38:39.0 +02:00
            }
            +markedForDeletionAt: null
            +fields: null
            +oauthGithubId: null
            +oauthGoogleId: null
            +oauthFacebookId: null
            +oauthKeycloakId: null
            +hideAdult: true
            +showSubscribedUsers: true
            +showSubscribedMagazines: true
            +showSubscribedDomains: true
            +preferredLanguages: []
            +featuredMagazines: null
            +showProfileSubscriptions: false
            +showProfileFollowings: true
            +markNewComments: false
            +notifyOnNewEntry: false
            +notifyOnNewEntryReply: true
            +notifyOnNewEntryCommentReply: true
            +notifyOnNewPost: false
            +notifyOnNewPostReply: true
            +notifyOnNewPostCommentReply: true
            +addMentionsEntries: false
            +addMentionsPosts: true
            +isBanned: false
            +isVerified: false
            +isDeleted: false
            +isBot: false
            +spamProtection: true
            +customCss: null
            +ignoreMagazinesCustomCss: false
            +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
            +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
            +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
            +entries: Doctrine\ORM\PersistentCollection {#7393 …}
            +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
            +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
            +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
            +posts: Doctrine\ORM\PersistentCollection {#7401 …}
            +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
            +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
            +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
            +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
            +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
            +follows: Doctrine\ORM\PersistentCollection {#7413 …}
            +followers: Doctrine\ORM\PersistentCollection {#7415 …}
            +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
            +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
            +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
            +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
            +reports: Doctrine\ORM\PersistentCollection {#7425 …}
            +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
            +violations: Doctrine\ORM\PersistentCollection {#7429 …}
            +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
            +awards: Doctrine\ORM\PersistentCollection {#7433 …}
            +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
            +categories: Doctrine\ORM\PersistentCollection {#7437 …}
            -id: 51764
            -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
            -totpSecret: null
            -totpBackupCodes: []
            -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
            +apId: "turbowafflz@lemmy.world"
            +apProfileId: "https://lemmy.world/u/turbowafflz"
            +apPublicUrl: "https://lemmy.world/u/turbowafflz"
            +apFollowersUrl: null
            +apInboxUrl: "https://lemmy.world/inbox"
            +apDomain: "lemmy.world"
            +apPreferredUsername: "turbowafflz"
            +apDiscoverable: true
            +apManuallyApprovesFollowers: false
            +privateKey: null
            +publicKey: null
            +apFetchedAt: DateTime @1728612822 {#7257
              date: 2024-10-11 04:13:42.0 +02:00
            }
            +apDeletedAt: null
            +apTimeoutAt: null
            +visibility: "visible             "
            +createdAt: DateTimeImmutable @1696598050 {#7313
              date: 2023-10-06 15:14:10.0 +02:00
            }
            +__isInitialized__: true
             …2
          }
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4273
            +user: App\Entity\User {#4286}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 11
            +score: 0
            +lastActive: DateTime @1702481761 {#4267
              date: 2023-12-13 16:36:01.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4274 …}
            +nested: Doctrine\ORM\PersistentCollection {#4276 …}
            +votes: Doctrine\ORM\PersistentCollection {#4278 …}
            +reports: Doctrine\ORM\PersistentCollection {#4280 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
            -id: 178454
            -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://iusearchlinux.fyi/comment/3833698"
            +editedAt: DateTimeImmutable @1702222871 {#4268
              date: 2023-12-10 16:41:11.0 +01:00
            }
            +createdAt: DateTimeImmutable @1701294191 {#4269
              date: 2023-11-29 22:43:11.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 23
          +score: 0
          +lastActive: DateTime @1701298859 {#4352
            date: 2023-11-30 00:00:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4360 …}
          +nested: Doctrine\ORM\PersistentCollection {#4362 …}
          +votes: Doctrine\ORM\PersistentCollection {#4358 …}
          +reports: Doctrine\ORM\PersistentCollection {#4364 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
          -id: 178812
          -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/5682084"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701298859 {#4349
            date: 2023-11-30 00:00:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1701334724 {#4391
          date: 2023-11-30 09:58:44.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4397 …}
        +nested: Doctrine\ORM\PersistentCollection {#4399 …}
        +votes: Doctrine\ORM\PersistentCollection {#4395 …}
        +reports: Doctrine\ORM\PersistentCollection {#4402 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
        -id: 180150
        -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3843159"
        +editedAt: DateTimeImmutable @1702321773 {#4388
          date: 2023-12-11 20:09:33.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701334724 {#4386
          date: 2023-11-30 09:58:44.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701343008 {#4418
        date: 2023-11-30 12:16:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4415 …}
      +nested: Doctrine\ORM\PersistentCollection {#4412 …}
      +votes: Doctrine\ORM\PersistentCollection {#4410 …}
      +reports: Doctrine\ORM\PersistentCollection {#4424 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
      -id: 180440
      -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5693007"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701343008 {#4421
        date: 2023-11-30 12:16:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "My happiness is ruined :("
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701347225 {#4440
      date: 2023-11-30 13:27:05.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4437 …}
    +nested: Doctrine\ORM\PersistentCollection {#4434 …}
    +votes: Doctrine\ORM\PersistentCollection {#4432 …}
    +reports: Doctrine\ORM\PersistentCollection {#4446 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
    -id: 180602
    -bodyTs: "'happi':2 'ruin':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3845175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701347225 {#4443
      date: 2023-11-30 13:27:05.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 5
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8987
  +user: App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1701347225 {#4443
    date: 2023-11-30 13:27:05.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#9042
  +date: DateTimeImmutable @1701347225 {#4443
    date: 2023-11-30 13:27:05.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.12 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701347225 {#4443
    date: 2023-11-30 13:27:05.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#9096
  +createdAt: DateTimeImmutable @1701347225 {#4443
    date: 2023-11-30 13:27:05.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#9150
  +width: 40
  +height: 40
  +user: App\Entity\User {#4286
    +avatar: null
    +cover: null
    +email: "stepanzak@iusearchlinux.fyi"
    +username: "@stepanzak@iusearchlinux.fyi"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711994921 {#4270
      date: 2024-04-01 20:08:41.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
    +entries: Doctrine\ORM\PersistentCollection {#4293 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
    +posts: Doctrine\ORM\PersistentCollection {#4301 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
    +follows: Doctrine\ORM\PersistentCollection {#4313 …}
    +followers: Doctrine\ORM\PersistentCollection {#4315 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +violations: Doctrine\ORM\PersistentCollection {#4329 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
    +awards: Doctrine\ORM\PersistentCollection {#4333 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
    +categories: Doctrine\ORM\PersistentCollection {#4337 …}
    -id: 46742
    -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
    +apId: "stepanzak@iusearchlinux.fyi"
    +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
    +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
    +apFollowersUrl: null
    +apInboxUrl: "https://iusearchlinux.fyi/inbox"
    +apDomain: "iusearchlinux.fyi"
    +apPreferredUsername: "stepanzak"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1711684967 {#4271
      date: 2024-03-29 05:02:47.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695400250 {#4272
      date: 2023-09-22 18:30:50.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.51 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4445
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4394
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4353
          +user: Proxies\__CG__\App\Entity\User {#4356
            +avatar: null
            +cover: null
            +email: "turbowafflz@lemmy.world"
            +username: "@turbowafflz@lemmy.world"
            +roles: []
            +followersCount: 0
            +homepage: "front"
            +about: null
            +lastActive: DateTime @1729399119 {#7373
              date: 2024-10-20 06:38:39.0 +02:00
            }
            +markedForDeletionAt: null
            +fields: null
            +oauthGithubId: null
            +oauthGoogleId: null
            +oauthFacebookId: null
            +oauthKeycloakId: null
            +hideAdult: true
            +showSubscribedUsers: true
            +showSubscribedMagazines: true
            +showSubscribedDomains: true
            +preferredLanguages: []
            +featuredMagazines: null
            +showProfileSubscriptions: false
            +showProfileFollowings: true
            +markNewComments: false
            +notifyOnNewEntry: false
            +notifyOnNewEntryReply: true
            +notifyOnNewEntryCommentReply: true
            +notifyOnNewPost: false
            +notifyOnNewPostReply: true
            +notifyOnNewPostCommentReply: true
            +addMentionsEntries: false
            +addMentionsPosts: true
            +isBanned: false
            +isVerified: false
            +isDeleted: false
            +isBot: false
            +spamProtection: true
            +customCss: null
            +ignoreMagazinesCustomCss: false
            +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
            +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
            +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
            +entries: Doctrine\ORM\PersistentCollection {#7393 …}
            +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
            +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
            +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
            +posts: Doctrine\ORM\PersistentCollection {#7401 …}
            +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
            +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
            +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
            +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
            +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
            +follows: Doctrine\ORM\PersistentCollection {#7413 …}
            +followers: Doctrine\ORM\PersistentCollection {#7415 …}
            +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
            +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
            +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
            +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
            +reports: Doctrine\ORM\PersistentCollection {#7425 …}
            +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
            +violations: Doctrine\ORM\PersistentCollection {#7429 …}
            +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
            +awards: Doctrine\ORM\PersistentCollection {#7433 …}
            +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
            +categories: Doctrine\ORM\PersistentCollection {#7437 …}
            -id: 51764
            -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
            -totpSecret: null
            -totpBackupCodes: []
            -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
            +apId: "turbowafflz@lemmy.world"
            +apProfileId: "https://lemmy.world/u/turbowafflz"
            +apPublicUrl: "https://lemmy.world/u/turbowafflz"
            +apFollowersUrl: null
            +apInboxUrl: "https://lemmy.world/inbox"
            +apDomain: "lemmy.world"
            +apPreferredUsername: "turbowafflz"
            +apDiscoverable: true
            +apManuallyApprovesFollowers: false
            +privateKey: null
            +publicKey: null
            +apFetchedAt: DateTime @1728612822 {#7257
              date: 2024-10-11 04:13:42.0 +02:00
            }
            +apDeletedAt: null
            +apTimeoutAt: null
            +visibility: "visible             "
            +createdAt: DateTimeImmutable @1696598050 {#7313
              date: 2023-10-06 15:14:10.0 +02:00
            }
            +__isInitialized__: true
             …2
          }
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4273
            +user: App\Entity\User {#4286}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 11
            +score: 0
            +lastActive: DateTime @1702481761 {#4267
              date: 2023-12-13 16:36:01.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4274 …}
            +nested: Doctrine\ORM\PersistentCollection {#4276 …}
            +votes: Doctrine\ORM\PersistentCollection {#4278 …}
            +reports: Doctrine\ORM\PersistentCollection {#4280 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
            -id: 178454
            -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://iusearchlinux.fyi/comment/3833698"
            +editedAt: DateTimeImmutable @1702222871 {#4268
              date: 2023-12-10 16:41:11.0 +01:00
            }
            +createdAt: DateTimeImmutable @1701294191 {#4269
              date: 2023-11-29 22:43:11.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 23
          +score: 0
          +lastActive: DateTime @1701298859 {#4352
            date: 2023-11-30 00:00:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4360 …}
          +nested: Doctrine\ORM\PersistentCollection {#4362 …}
          +votes: Doctrine\ORM\PersistentCollection {#4358 …}
          +reports: Doctrine\ORM\PersistentCollection {#4364 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
          -id: 178812
          -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/5682084"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701298859 {#4349
            date: 2023-11-30 00:00:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1701334724 {#4391
          date: 2023-11-30 09:58:44.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4397 …}
        +nested: Doctrine\ORM\PersistentCollection {#4399 …}
        +votes: Doctrine\ORM\PersistentCollection {#4395 …}
        +reports: Doctrine\ORM\PersistentCollection {#4402 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
        -id: 180150
        -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3843159"
        +editedAt: DateTimeImmutable @1702321773 {#4388
          date: 2023-12-11 20:09:33.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701334724 {#4386
          date: 2023-11-30 09:58:44.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701343008 {#4418
        date: 2023-11-30 12:16:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4415 …}
      +nested: Doctrine\ORM\PersistentCollection {#4412 …}
      +votes: Doctrine\ORM\PersistentCollection {#4410 …}
      +reports: Doctrine\ORM\PersistentCollection {#4424 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
      -id: 180440
      -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5693007"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701343008 {#4421
        date: 2023-11-30 12:16:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "My happiness is ruined :("
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701347225 {#4440
      date: 2023-11-30 13:27:05.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4437 …}
    +nested: Doctrine\ORM\PersistentCollection {#4434 …}
    +votes: Doctrine\ORM\PersistentCollection {#4432 …}
    +reports: Doctrine\ORM\PersistentCollection {#4446 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
    -id: 180602
    -bodyTs: "'happi':2 'ruin':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3845175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701347225 {#4443
      date: 2023-11-30 13:27:05.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9219
  +subject: App\Entity\EntryComment {#4445
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4394
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4353
          +user: Proxies\__CG__\App\Entity\User {#4356
            +avatar: null
            +cover: null
            +email: "turbowafflz@lemmy.world"
            +username: "@turbowafflz@lemmy.world"
            +roles: []
            +followersCount: 0
            +homepage: "front"
            +about: null
            +lastActive: DateTime @1729399119 {#7373
              date: 2024-10-20 06:38:39.0 +02:00
            }
            +markedForDeletionAt: null
            +fields: null
            +oauthGithubId: null
            +oauthGoogleId: null
            +oauthFacebookId: null
            +oauthKeycloakId: null
            +hideAdult: true
            +showSubscribedUsers: true
            +showSubscribedMagazines: true
            +showSubscribedDomains: true
            +preferredLanguages: []
            +featuredMagazines: null
            +showProfileSubscriptions: false
            +showProfileFollowings: true
            +markNewComments: false
            +notifyOnNewEntry: false
            +notifyOnNewEntryReply: true
            +notifyOnNewEntryCommentReply: true
            +notifyOnNewPost: false
            +notifyOnNewPostReply: true
            +notifyOnNewPostCommentReply: true
            +addMentionsEntries: false
            +addMentionsPosts: true
            +isBanned: false
            +isVerified: false
            +isDeleted: false
            +isBot: false
            +spamProtection: true
            +customCss: null
            +ignoreMagazinesCustomCss: false
            +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
            +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
            +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
            +entries: Doctrine\ORM\PersistentCollection {#7393 …}
            +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
            +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
            +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
            +posts: Doctrine\ORM\PersistentCollection {#7401 …}
            +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
            +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
            +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
            +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
            +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
            +follows: Doctrine\ORM\PersistentCollection {#7413 …}
            +followers: Doctrine\ORM\PersistentCollection {#7415 …}
            +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
            +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
            +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
            +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
            +reports: Doctrine\ORM\PersistentCollection {#7425 …}
            +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
            +violations: Doctrine\ORM\PersistentCollection {#7429 …}
            +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
            +awards: Doctrine\ORM\PersistentCollection {#7433 …}
            +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
            +categories: Doctrine\ORM\PersistentCollection {#7437 …}
            -id: 51764
            -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
            -totpSecret: null
            -totpBackupCodes: []
            -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
            +apId: "turbowafflz@lemmy.world"
            +apProfileId: "https://lemmy.world/u/turbowafflz"
            +apPublicUrl: "https://lemmy.world/u/turbowafflz"
            +apFollowersUrl: null
            +apInboxUrl: "https://lemmy.world/inbox"
            +apDomain: "lemmy.world"
            +apPreferredUsername: "turbowafflz"
            +apDiscoverable: true
            +apManuallyApprovesFollowers: false
            +privateKey: null
            +publicKey: null
            +apFetchedAt: DateTime @1728612822 {#7257
              date: 2024-10-11 04:13:42.0 +02:00
            }
            +apDeletedAt: null
            +apTimeoutAt: null
            +visibility: "visible             "
            +createdAt: DateTimeImmutable @1696598050 {#7313
              date: 2023-10-06 15:14:10.0 +02:00
            }
            +__isInitialized__: true
             …2
          }
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4273
            +user: App\Entity\User {#4286}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 11
            +score: 0
            +lastActive: DateTime @1702481761 {#4267
              date: 2023-12-13 16:36:01.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4274 …}
            +nested: Doctrine\ORM\PersistentCollection {#4276 …}
            +votes: Doctrine\ORM\PersistentCollection {#4278 …}
            +reports: Doctrine\ORM\PersistentCollection {#4280 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
            -id: 178454
            -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://iusearchlinux.fyi/comment/3833698"
            +editedAt: DateTimeImmutable @1702222871 {#4268
              date: 2023-12-10 16:41:11.0 +01:00
            }
            +createdAt: DateTimeImmutable @1701294191 {#4269
              date: 2023-11-29 22:43:11.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 23
          +score: 0
          +lastActive: DateTime @1701298859 {#4352
            date: 2023-11-30 00:00:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4360 …}
          +nested: Doctrine\ORM\PersistentCollection {#4362 …}
          +votes: Doctrine\ORM\PersistentCollection {#4358 …}
          +reports: Doctrine\ORM\PersistentCollection {#4364 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
          -id: 178812
          -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/5682084"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701298859 {#4349
            date: 2023-11-30 00:00:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1701334724 {#4391
          date: 2023-11-30 09:58:44.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4397 …}
        +nested: Doctrine\ORM\PersistentCollection {#4399 …}
        +votes: Doctrine\ORM\PersistentCollection {#4395 …}
        +reports: Doctrine\ORM\PersistentCollection {#4402 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
        -id: 180150
        -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3843159"
        +editedAt: DateTimeImmutable @1702321773 {#4388
          date: 2023-12-11 20:09:33.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701334724 {#4386
          date: 2023-11-30 09:58:44.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701343008 {#4418
        date: 2023-11-30 12:16:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4415 …}
      +nested: Doctrine\ORM\PersistentCollection {#4412 …}
      +votes: Doctrine\ORM\PersistentCollection {#4410 …}
      +reports: Doctrine\ORM\PersistentCollection {#4424 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
      -id: 180440
      -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5693007"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701343008 {#4421
        date: 2023-11-30 12:16:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "My happiness is ruined :("
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701347225 {#4440
      date: 2023-11-30 13:27:05.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4437 …}
    +nested: Doctrine\ORM\PersistentCollection {#4434 …}
    +votes: Doctrine\ORM\PersistentCollection {#4432 …}
    +reports: Doctrine\ORM\PersistentCollection {#4446 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
    -id: 180602
    -bodyTs: "'happi':2 'ruin':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3845175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701347225 {#4443
      date: 2023-11-30 13:27:05.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 0.70 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4445
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4394
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4353
          +user: Proxies\__CG__\App\Entity\User {#4356
            +avatar: null
            +cover: null
            +email: "turbowafflz@lemmy.world"
            +username: "@turbowafflz@lemmy.world"
            +roles: []
            +followersCount: 0
            +homepage: "front"
            +about: null
            +lastActive: DateTime @1729399119 {#7373
              date: 2024-10-20 06:38:39.0 +02:00
            }
            +markedForDeletionAt: null
            +fields: null
            +oauthGithubId: null
            +oauthGoogleId: null
            +oauthFacebookId: null
            +oauthKeycloakId: null
            +hideAdult: true
            +showSubscribedUsers: true
            +showSubscribedMagazines: true
            +showSubscribedDomains: true
            +preferredLanguages: []
            +featuredMagazines: null
            +showProfileSubscriptions: false
            +showProfileFollowings: true
            +markNewComments: false
            +notifyOnNewEntry: false
            +notifyOnNewEntryReply: true
            +notifyOnNewEntryCommentReply: true
            +notifyOnNewPost: false
            +notifyOnNewPostReply: true
            +notifyOnNewPostCommentReply: true
            +addMentionsEntries: false
            +addMentionsPosts: true
            +isBanned: false
            +isVerified: false
            +isDeleted: false
            +isBot: false
            +spamProtection: true
            +customCss: null
            +ignoreMagazinesCustomCss: false
            +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
            +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
            +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
            +entries: Doctrine\ORM\PersistentCollection {#7393 …}
            +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
            +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
            +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
            +posts: Doctrine\ORM\PersistentCollection {#7401 …}
            +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
            +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
            +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
            +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
            +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
            +follows: Doctrine\ORM\PersistentCollection {#7413 …}
            +followers: Doctrine\ORM\PersistentCollection {#7415 …}
            +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
            +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
            +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
            +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
            +reports: Doctrine\ORM\PersistentCollection {#7425 …}
            +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
            +violations: Doctrine\ORM\PersistentCollection {#7429 …}
            +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
            +awards: Doctrine\ORM\PersistentCollection {#7433 …}
            +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
            +categories: Doctrine\ORM\PersistentCollection {#7437 …}
            -id: 51764
            -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
            -totpSecret: null
            -totpBackupCodes: []
            -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
            +apId: "turbowafflz@lemmy.world"
            +apProfileId: "https://lemmy.world/u/turbowafflz"
            +apPublicUrl: "https://lemmy.world/u/turbowafflz"
            +apFollowersUrl: null
            +apInboxUrl: "https://lemmy.world/inbox"
            +apDomain: "lemmy.world"
            +apPreferredUsername: "turbowafflz"
            +apDiscoverable: true
            +apManuallyApprovesFollowers: false
            +privateKey: null
            +publicKey: null
            +apFetchedAt: DateTime @1728612822 {#7257
              date: 2024-10-11 04:13:42.0 +02:00
            }
            +apDeletedAt: null
            +apTimeoutAt: null
            +visibility: "visible             "
            +createdAt: DateTimeImmutable @1696598050 {#7313
              date: 2023-10-06 15:14:10.0 +02:00
            }
            +__isInitialized__: true
             …2
          }
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4273
            +user: App\Entity\User {#4286}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 11
            +score: 0
            +lastActive: DateTime @1702481761 {#4267
              date: 2023-12-13 16:36:01.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4274 …}
            +nested: Doctrine\ORM\PersistentCollection {#4276 …}
            +votes: Doctrine\ORM\PersistentCollection {#4278 …}
            +reports: Doctrine\ORM\PersistentCollection {#4280 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
            -id: 178454
            -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://iusearchlinux.fyi/comment/3833698"
            +editedAt: DateTimeImmutable @1702222871 {#4268
              date: 2023-12-10 16:41:11.0 +01:00
            }
            +createdAt: DateTimeImmutable @1701294191 {#4269
              date: 2023-11-29 22:43:11.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 23
          +score: 0
          +lastActive: DateTime @1701298859 {#4352
            date: 2023-11-30 00:00:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4360 …}
          +nested: Doctrine\ORM\PersistentCollection {#4362 …}
          +votes: Doctrine\ORM\PersistentCollection {#4358 …}
          +reports: Doctrine\ORM\PersistentCollection {#4364 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
          -id: 178812
          -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/5682084"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701298859 {#4349
            date: 2023-11-30 00:00:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1701334724 {#4391
          date: 2023-11-30 09:58:44.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4397 …}
        +nested: Doctrine\ORM\PersistentCollection {#4399 …}
        +votes: Doctrine\ORM\PersistentCollection {#4395 …}
        +reports: Doctrine\ORM\PersistentCollection {#4402 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
        -id: 180150
        -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3843159"
        +editedAt: DateTimeImmutable @1702321773 {#4388
          date: 2023-12-11 20:09:33.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701334724 {#4386
          date: 2023-11-30 09:58:44.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701343008 {#4418
        date: 2023-11-30 12:16:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4415 …}
      +nested: Doctrine\ORM\PersistentCollection {#4412 …}
      +votes: Doctrine\ORM\PersistentCollection {#4410 …}
      +reports: Doctrine\ORM\PersistentCollection {#4424 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
      -id: 180440
      -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5693007"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701343008 {#4421
        date: 2023-11-30 12:16:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "My happiness is ruined :("
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701347225 {#4440
      date: 2023-11-30 13:27:05.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4437 …}
    +nested: Doctrine\ORM\PersistentCollection {#4434 …}
    +votes: Doctrine\ORM\PersistentCollection {#4432 …}
    +reports: Doctrine\ORM\PersistentCollection {#4446 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
    -id: 180602
    -bodyTs: "'happi':2 'ruin':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3845175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701347225 {#4443
      date: 2023-11-30 13:27:05.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9276
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4445
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4394
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4353
          +user: Proxies\__CG__\App\Entity\User {#4356
            +avatar: null
            +cover: null
            +email: "turbowafflz@lemmy.world"
            +username: "@turbowafflz@lemmy.world"
            +roles: []
            +followersCount: 0
            +homepage: "front"
            +about: null
            +lastActive: DateTime @1729399119 {#7373
              date: 2024-10-20 06:38:39.0 +02:00
            }
            +markedForDeletionAt: null
            +fields: null
            +oauthGithubId: null
            +oauthGoogleId: null
            +oauthFacebookId: null
            +oauthKeycloakId: null
            +hideAdult: true
            +showSubscribedUsers: true
            +showSubscribedMagazines: true
            +showSubscribedDomains: true
            +preferredLanguages: []
            +featuredMagazines: null
            +showProfileSubscriptions: false
            +showProfileFollowings: true
            +markNewComments: false
            +notifyOnNewEntry: false
            +notifyOnNewEntryReply: true
            +notifyOnNewEntryCommentReply: true
            +notifyOnNewPost: false
            +notifyOnNewPostReply: true
            +notifyOnNewPostCommentReply: true
            +addMentionsEntries: false
            +addMentionsPosts: true
            +isBanned: false
            +isVerified: false
            +isDeleted: false
            +isBot: false
            +spamProtection: true
            +customCss: null
            +ignoreMagazinesCustomCss: false
            +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
            +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
            +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
            +entries: Doctrine\ORM\PersistentCollection {#7393 …}
            +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
            +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
            +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
            +posts: Doctrine\ORM\PersistentCollection {#7401 …}
            +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
            +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
            +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
            +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
            +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
            +follows: Doctrine\ORM\PersistentCollection {#7413 …}
            +followers: Doctrine\ORM\PersistentCollection {#7415 …}
            +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
            +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
            +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
            +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
            +reports: Doctrine\ORM\PersistentCollection {#7425 …}
            +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
            +violations: Doctrine\ORM\PersistentCollection {#7429 …}
            +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
            +awards: Doctrine\ORM\PersistentCollection {#7433 …}
            +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
            +categories: Doctrine\ORM\PersistentCollection {#7437 …}
            -id: 51764
            -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
            -totpSecret: null
            -totpBackupCodes: []
            -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
            +apId: "turbowafflz@lemmy.world"
            +apProfileId: "https://lemmy.world/u/turbowafflz"
            +apPublicUrl: "https://lemmy.world/u/turbowafflz"
            +apFollowersUrl: null
            +apInboxUrl: "https://lemmy.world/inbox"
            +apDomain: "lemmy.world"
            +apPreferredUsername: "turbowafflz"
            +apDiscoverable: true
            +apManuallyApprovesFollowers: false
            +privateKey: null
            +publicKey: null
            +apFetchedAt: DateTime @1728612822 {#7257
              date: 2024-10-11 04:13:42.0 +02:00
            }
            +apDeletedAt: null
            +apTimeoutAt: null
            +visibility: "visible             "
            +createdAt: DateTimeImmutable @1696598050 {#7313
              date: 2023-10-06 15:14:10.0 +02:00
            }
            +__isInitialized__: true
             …2
          }
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4273
            +user: App\Entity\User {#4286}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 11
            +score: 0
            +lastActive: DateTime @1702481761 {#4267
              date: 2023-12-13 16:36:01.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4274 …}
            +nested: Doctrine\ORM\PersistentCollection {#4276 …}
            +votes: Doctrine\ORM\PersistentCollection {#4278 …}
            +reports: Doctrine\ORM\PersistentCollection {#4280 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
            -id: 178454
            -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://iusearchlinux.fyi/comment/3833698"
            +editedAt: DateTimeImmutable @1702222871 {#4268
              date: 2023-12-10 16:41:11.0 +01:00
            }
            +createdAt: DateTimeImmutable @1701294191 {#4269
              date: 2023-11-29 22:43:11.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 23
          +score: 0
          +lastActive: DateTime @1701298859 {#4352
            date: 2023-11-30 00:00:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4360 …}
          +nested: Doctrine\ORM\PersistentCollection {#4362 …}
          +votes: Doctrine\ORM\PersistentCollection {#4358 …}
          +reports: Doctrine\ORM\PersistentCollection {#4364 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
          -id: 178812
          -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/5682084"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701298859 {#4349
            date: 2023-11-30 00:00:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1701334724 {#4391
          date: 2023-11-30 09:58:44.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4397 …}
        +nested: Doctrine\ORM\PersistentCollection {#4399 …}
        +votes: Doctrine\ORM\PersistentCollection {#4395 …}
        +reports: Doctrine\ORM\PersistentCollection {#4402 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
        -id: 180150
        -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3843159"
        +editedAt: DateTimeImmutable @1702321773 {#4388
          date: 2023-12-11 20:09:33.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701334724 {#4386
          date: 2023-11-30 09:58:44.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701343008 {#4418
        date: 2023-11-30 12:16:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4415 …}
      +nested: Doctrine\ORM\PersistentCollection {#4412 …}
      +votes: Doctrine\ORM\PersistentCollection {#4410 …}
      +reports: Doctrine\ORM\PersistentCollection {#4424 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
      -id: 180440
      -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5693007"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701343008 {#4421
        date: 2023-11-30 12:16:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "My happiness is ruined :("
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701347225 {#4440
      date: 2023-11-30 13:27:05.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4437 …}
    +nested: Doctrine\ORM\PersistentCollection {#4434 …}
    +votes: Doctrine\ORM\PersistentCollection {#4432 …}
    +reports: Doctrine\ORM\PersistentCollection {#4446 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
    -id: 180602
    -bodyTs: "'happi':2 'ruin':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3845175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701347225 {#4443
      date: 2023-11-30 13:27:05.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 12.01 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4445
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4394
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4353
          +user: Proxies\__CG__\App\Entity\User {#4356
            +avatar: null
            +cover: null
            +email: "turbowafflz@lemmy.world"
            +username: "@turbowafflz@lemmy.world"
            +roles: []
            +followersCount: 0
            +homepage: "front"
            +about: null
            +lastActive: DateTime @1729399119 {#7373
              date: 2024-10-20 06:38:39.0 +02:00
            }
            +markedForDeletionAt: null
            +fields: null
            +oauthGithubId: null
            +oauthGoogleId: null
            +oauthFacebookId: null
            +oauthKeycloakId: null
            +hideAdult: true
            +showSubscribedUsers: true
            +showSubscribedMagazines: true
            +showSubscribedDomains: true
            +preferredLanguages: []
            +featuredMagazines: null
            +showProfileSubscriptions: false
            +showProfileFollowings: true
            +markNewComments: false
            +notifyOnNewEntry: false
            +notifyOnNewEntryReply: true
            +notifyOnNewEntryCommentReply: true
            +notifyOnNewPost: false
            +notifyOnNewPostReply: true
            +notifyOnNewPostCommentReply: true
            +addMentionsEntries: false
            +addMentionsPosts: true
            +isBanned: false
            +isVerified: false
            +isDeleted: false
            +isBot: false
            +spamProtection: true
            +customCss: null
            +ignoreMagazinesCustomCss: false
            +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
            +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
            +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
            +entries: Doctrine\ORM\PersistentCollection {#7393 …}
            +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
            +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
            +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
            +posts: Doctrine\ORM\PersistentCollection {#7401 …}
            +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
            +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
            +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
            +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
            +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
            +follows: Doctrine\ORM\PersistentCollection {#7413 …}
            +followers: Doctrine\ORM\PersistentCollection {#7415 …}
            +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
            +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
            +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
            +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
            +reports: Doctrine\ORM\PersistentCollection {#7425 …}
            +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
            +violations: Doctrine\ORM\PersistentCollection {#7429 …}
            +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
            +awards: Doctrine\ORM\PersistentCollection {#7433 …}
            +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
            +categories: Doctrine\ORM\PersistentCollection {#7437 …}
            -id: 51764
            -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
            -totpSecret: null
            -totpBackupCodes: []
            -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
            +apId: "turbowafflz@lemmy.world"
            +apProfileId: "https://lemmy.world/u/turbowafflz"
            +apPublicUrl: "https://lemmy.world/u/turbowafflz"
            +apFollowersUrl: null
            +apInboxUrl: "https://lemmy.world/inbox"
            +apDomain: "lemmy.world"
            +apPreferredUsername: "turbowafflz"
            +apDiscoverable: true
            +apManuallyApprovesFollowers: false
            +privateKey: null
            +publicKey: null
            +apFetchedAt: DateTime @1728612822 {#7257
              date: 2024-10-11 04:13:42.0 +02:00
            }
            +apDeletedAt: null
            +apTimeoutAt: null
            +visibility: "visible             "
            +createdAt: DateTimeImmutable @1696598050 {#7313
              date: 2023-10-06 15:14:10.0 +02:00
            }
            +__isInitialized__: true
             …2
          }
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4273
            +user: App\Entity\User {#4286}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 11
            +score: 0
            +lastActive: DateTime @1702481761 {#4267
              date: 2023-12-13 16:36:01.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4274 …}
            +nested: Doctrine\ORM\PersistentCollection {#4276 …}
            +votes: Doctrine\ORM\PersistentCollection {#4278 …}
            +reports: Doctrine\ORM\PersistentCollection {#4280 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
            -id: 178454
            -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://iusearchlinux.fyi/comment/3833698"
            +editedAt: DateTimeImmutable @1702222871 {#4268
              date: 2023-12-10 16:41:11.0 +01:00
            }
            +createdAt: DateTimeImmutable @1701294191 {#4269
              date: 2023-11-29 22:43:11.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 23
          +score: 0
          +lastActive: DateTime @1701298859 {#4352
            date: 2023-11-30 00:00:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4360 …}
          +nested: Doctrine\ORM\PersistentCollection {#4362 …}
          +votes: Doctrine\ORM\PersistentCollection {#4358 …}
          +reports: Doctrine\ORM\PersistentCollection {#4364 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
          -id: 178812
          -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/5682084"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701298859 {#4349
            date: 2023-11-30 00:00:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1701334724 {#4391
          date: 2023-11-30 09:58:44.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4397 …}
        +nested: Doctrine\ORM\PersistentCollection {#4399 …}
        +votes: Doctrine\ORM\PersistentCollection {#4395 …}
        +reports: Doctrine\ORM\PersistentCollection {#4402 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
        -id: 180150
        -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3843159"
        +editedAt: DateTimeImmutable @1702321773 {#4388
          date: 2023-12-11 20:09:33.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701334724 {#4386
          date: 2023-11-30 09:58:44.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701343008 {#4418
        date: 2023-11-30 12:16:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4415 …}
      +nested: Doctrine\ORM\PersistentCollection {#4412 …}
      +votes: Doctrine\ORM\PersistentCollection {#4410 …}
      +reports: Doctrine\ORM\PersistentCollection {#4424 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
      -id: 180440
      -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5693007"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701343008 {#4421
        date: 2023-11-30 12:16:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "My happiness is ruined :("
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701347225 {#4440
      date: 2023-11-30 13:27:05.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4437 …}
    +nested: Doctrine\ORM\PersistentCollection {#4434 …}
    +votes: Doctrine\ORM\PersistentCollection {#4432 …}
    +reports: Doctrine\ORM\PersistentCollection {#4446 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
    -id: 180602
    -bodyTs: "'happi':2 'ruin':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3845175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701347225 {#4443
      date: 2023-11-30 13:27:05.0 +01:00
    }
  }
  "level" => 5
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#9516
  +comment: App\Entity\EntryComment {#4445
    +user: App\Entity\User {#4286
      +avatar: null
      +cover: null
      +email: "stepanzak@iusearchlinux.fyi"
      +username: "@stepanzak@iusearchlinux.fyi"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711994921 {#4270
        date: 2024-04-01 20:08:41.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
      +entries: Doctrine\ORM\PersistentCollection {#4293 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
      +posts: Doctrine\ORM\PersistentCollection {#4301 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
      +follows: Doctrine\ORM\PersistentCollection {#4313 …}
      +followers: Doctrine\ORM\PersistentCollection {#4315 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +violations: Doctrine\ORM\PersistentCollection {#4329 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
      +awards: Doctrine\ORM\PersistentCollection {#4333 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
      +categories: Doctrine\ORM\PersistentCollection {#4337 …}
      -id: 46742
      -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
      +apId: "stepanzak@iusearchlinux.fyi"
      +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
      +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
      +apFollowersUrl: null
      +apInboxUrl: "https://iusearchlinux.fyi/inbox"
      +apDomain: "iusearchlinux.fyi"
      +apPreferredUsername: "stepanzak"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1711684967 {#4271
        date: 2024-03-29 05:02:47.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695400250 {#4272
        date: 2023-09-22 18:30:50.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: App\Entity\User {#4211
        +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
        +cover: null
        +email: "DangerousInternet@lemmy.world"
        +username: "@DangerousInternet@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1710465993 {#4195
          date: 2024-03-15 02:26:33.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
        +entries: Doctrine\ORM\PersistentCollection {#4219 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +posts: Doctrine\ORM\PersistentCollection {#4227 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
        +follows: Doctrine\ORM\PersistentCollection {#4239 …}
        +followers: Doctrine\ORM\PersistentCollection {#4241 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +violations: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        +awards: Doctrine\ORM\PersistentCollection {#4259 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
        +categories: Doctrine\ORM\PersistentCollection {#4263 …}
        -id: 81735
        -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
        +apId: "DangerousInternet@lemmy.world"
        +apProfileId: "https://lemmy.world/u/DangerousInternet"
        +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "DangerousInternet"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1710036108 {#4196
          date: 2024-03-10 03:01:48.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1702243219 {#4197
          date: 2023-12-10 22:20:19.0 +01:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4394
        +user: App\Entity\User {#4286}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4353
          +user: Proxies\__CG__\App\Entity\User {#4356
            +avatar: null
            +cover: null
            +email: "turbowafflz@lemmy.world"
            +username: "@turbowafflz@lemmy.world"
            +roles: []
            +followersCount: 0
            +homepage: "front"
            +about: null
            +lastActive: DateTime @1729399119 {#7373
              date: 2024-10-20 06:38:39.0 +02:00
            }
            +markedForDeletionAt: null
            +fields: null
            +oauthGithubId: null
            +oauthGoogleId: null
            +oauthFacebookId: null
            +oauthKeycloakId: null
            +hideAdult: true
            +showSubscribedUsers: true
            +showSubscribedMagazines: true
            +showSubscribedDomains: true
            +preferredLanguages: []
            +featuredMagazines: null
            +showProfileSubscriptions: false
            +showProfileFollowings: true
            +markNewComments: false
            +notifyOnNewEntry: false
            +notifyOnNewEntryReply: true
            +notifyOnNewEntryCommentReply: true
            +notifyOnNewPost: false
            +notifyOnNewPostReply: true
            +notifyOnNewPostCommentReply: true
            +addMentionsEntries: false
            +addMentionsPosts: true
            +isBanned: false
            +isVerified: false
            +isDeleted: false
            +isBot: false
            +spamProtection: true
            +customCss: null
            +ignoreMagazinesCustomCss: false
            +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
            +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
            +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
            +entries: Doctrine\ORM\PersistentCollection {#7393 …}
            +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
            +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
            +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
            +posts: Doctrine\ORM\PersistentCollection {#7401 …}
            +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
            +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
            +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
            +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
            +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
            +follows: Doctrine\ORM\PersistentCollection {#7413 …}
            +followers: Doctrine\ORM\PersistentCollection {#7415 …}
            +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
            +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
            +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
            +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
            +reports: Doctrine\ORM\PersistentCollection {#7425 …}
            +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
            +violations: Doctrine\ORM\PersistentCollection {#7429 …}
            +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
            +awards: Doctrine\ORM\PersistentCollection {#7433 …}
            +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
            +categories: Doctrine\ORM\PersistentCollection {#7437 …}
            -id: 51764
            -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
            -totpSecret: null
            -totpBackupCodes: []
            -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
            +apId: "turbowafflz@lemmy.world"
            +apProfileId: "https://lemmy.world/u/turbowafflz"
            +apPublicUrl: "https://lemmy.world/u/turbowafflz"
            +apFollowersUrl: null
            +apInboxUrl: "https://lemmy.world/inbox"
            +apDomain: "lemmy.world"
            +apPreferredUsername: "turbowafflz"
            +apDiscoverable: true
            +apManuallyApprovesFollowers: false
            +privateKey: null
            +publicKey: null
            +apFetchedAt: DateTime @1728612822 {#7257
              date: 2024-10-11 04:13:42.0 +02:00
            }
            +apDeletedAt: null
            +apTimeoutAt: null
            +visibility: "visible             "
            +createdAt: DateTimeImmutable @1696598050 {#7313
              date: 2023-10-06 15:14:10.0 +02:00
            }
            +__isInitialized__: true
             …2
          }
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4273
            +user: App\Entity\User {#4286}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 11
            +score: 0
            +lastActive: DateTime @1702481761 {#4267
              date: 2023-12-13 16:36:01.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4274 …}
            +nested: Doctrine\ORM\PersistentCollection {#4276 …}
            +votes: Doctrine\ORM\PersistentCollection {#4278 …}
            +reports: Doctrine\ORM\PersistentCollection {#4280 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
            -id: 178454
            -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://iusearchlinux.fyi/comment/3833698"
            +editedAt: DateTimeImmutable @1702222871 {#4268
              date: 2023-12-10 16:41:11.0 +01:00
            }
            +createdAt: DateTimeImmutable @1701294191 {#4269
              date: 2023-11-29 22:43:11.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 23
          +score: 0
          +lastActive: DateTime @1701298859 {#4352
            date: 2023-11-30 00:00:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4360 …}
          +nested: Doctrine\ORM\PersistentCollection {#4362 …}
          +votes: Doctrine\ORM\PersistentCollection {#4358 …}
          +reports: Doctrine\ORM\PersistentCollection {#4364 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
          -id: 178812
          -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/5682084"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701298859 {#4349
            date: 2023-11-30 00:00:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1701334724 {#4391
          date: 2023-11-30 09:58:44.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4397 …}
        +nested: Doctrine\ORM\PersistentCollection {#4399 …}
        +votes: Doctrine\ORM\PersistentCollection {#4395 …}
        +reports: Doctrine\ORM\PersistentCollection {#4402 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
        -id: 180150
        -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://iusearchlinux.fyi/comment/3843159"
        +editedAt: DateTimeImmutable @1702321773 {#4388
          date: 2023-12-11 20:09:33.0 +01:00
        }
        +createdAt: DateTimeImmutable @1701334724 {#4386
          date: 2023-11-30 09:58:44.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1701343008 {#4418
        date: 2023-11-30 12:16:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4415 …}
      +nested: Doctrine\ORM\PersistentCollection {#4412 …}
      +votes: Doctrine\ORM\PersistentCollection {#4410 …}
      +reports: Doctrine\ORM\PersistentCollection {#4424 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
      -id: 180440
      -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "soft_deleted        "
      +apId: "https://lemmy.world/comment/5693007"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701343008 {#4421
        date: 2023-11-30 12:16:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: "My happiness is ruined :("
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701347225 {#4440
      date: 2023-11-30 13:27:05.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4437 …}
    +nested: Doctrine\ORM\PersistentCollection {#4434 …}
    +votes: Doctrine\ORM\PersistentCollection {#4432 …}
    +reports: Doctrine\ORM\PersistentCollection {#4446 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
    -id: 180602
    -bodyTs: "'happi':2 'ruin':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://iusearchlinux.fyi/comment/3845175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701347225 {#4443
      date: 2023-11-30 13:27:05.0 +01:00
    }
  }
  +nestedComments: []
  +level: 5
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 11.28 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4467
    +user: Proxies\__CG__\App\Entity\User {#4459
      +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
      +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
      +email: "semperverus@lemmy.world"
      +username: "@semperverus@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "`while(true){💩};`"
      +lastActive: DateTime @1728421496 {#9656
        date: 2024-10-08 23:04:56.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
      +entries: Doctrine\ORM\PersistentCollection {#9670 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
      +posts: Doctrine\ORM\PersistentCollection {#9678 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
      +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
      +follows: Doctrine\ORM\PersistentCollection {#9690 …}
      +followers: Doctrine\ORM\PersistentCollection {#9692 …}
      +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
      +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
      +reports: Doctrine\ORM\PersistentCollection {#9702 …}
      +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
      +violations: Doctrine\ORM\PersistentCollection {#9706 …}
      +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
      +awards: Doctrine\ORM\PersistentCollection {#9710 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
      +categories: Doctrine\ORM\PersistentCollection {#9714 …}
      -id: 32957
      -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
      +apId: "semperverus@lemmy.world"
      +apProfileId: "https://lemmy.world/u/semperverus"
      +apPublicUrl: "https://lemmy.world/u/semperverus"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "semperverus"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729530949 {#9653
        date: 2024-10-21 19:15:49.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689984852 {#9655
        date: 2023-07-22 02:14:12.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4445
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4423
        +user: App\Entity\User {#4211
          +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
          +cover: null
          +email: "DangerousInternet@lemmy.world"
          +username: "@DangerousInternet@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1710465993 {#4195
            date: 2024-03-15 02:26:33.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
          +entries: Doctrine\ORM\PersistentCollection {#4219 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
          +posts: Doctrine\ORM\PersistentCollection {#4227 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
          +follows: Doctrine\ORM\PersistentCollection {#4239 …}
          +followers: Doctrine\ORM\PersistentCollection {#4241 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +violations: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          +awards: Doctrine\ORM\PersistentCollection {#4259 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
          +categories: Doctrine\ORM\PersistentCollection {#4263 …}
          -id: 81735
          -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
          +apId: "DangerousInternet@lemmy.world"
          +apProfileId: "https://lemmy.world/u/DangerousInternet"
          +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "DangerousInternet"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1710036108 {#4196
            date: 2024-03-10 03:01:48.0 +01:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1702243219 {#4197
            date: 2023-12-10 22:20:19.0 +01:00
          }
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4394
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4353
            +user: Proxies\__CG__\App\Entity\User {#4356
              +avatar: null
              +cover: null
              +email: "turbowafflz@lemmy.world"
              +username: "@turbowafflz@lemmy.world"
              +roles: []
              +followersCount: 0
              +homepage: "front"
              +about: null
              +lastActive: DateTime @1729399119 {#7373
                date: 2024-10-20 06:38:39.0 +02:00
              }
              +markedForDeletionAt: null
              +fields: null
              +oauthGithubId: null
              +oauthGoogleId: null
              +oauthFacebookId: null
              +oauthKeycloakId: null
              +hideAdult: true
              +showSubscribedUsers: true
              +showSubscribedMagazines: true
              +showSubscribedDomains: true
              +preferredLanguages: []
              +featuredMagazines: null
              +showProfileSubscriptions: false
              +showProfileFollowings: true
              +markNewComments: false
              +notifyOnNewEntry: false
              +notifyOnNewEntryReply: true
              +notifyOnNewEntryCommentReply: true
              +notifyOnNewPost: false
              +notifyOnNewPostReply: true
              +notifyOnNewPostCommentReply: true
              +addMentionsEntries: false
              +addMentionsPosts: true
              +isBanned: false
              +isVerified: false
              +isDeleted: false
              +isBot: false
              +spamProtection: true
              +customCss: null
              +ignoreMagazinesCustomCss: false
              +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
              +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
              +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
              +entries: Doctrine\ORM\PersistentCollection {#7393 …}
              +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
              +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
              +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
              +posts: Doctrine\ORM\PersistentCollection {#7401 …}
              +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
              +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
              +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
              +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
              +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
              +follows: Doctrine\ORM\PersistentCollection {#7413 …}
              +followers: Doctrine\ORM\PersistentCollection {#7415 …}
              +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
              +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
              +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
              +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
              +reports: Doctrine\ORM\PersistentCollection {#7425 …}
              +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
              +violations: Doctrine\ORM\PersistentCollection {#7429 …}
              +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
              +awards: Doctrine\ORM\PersistentCollection {#7433 …}
              +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
              +categories: Doctrine\ORM\PersistentCollection {#7437 …}
              -id: 51764
              -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
              -totpSecret: null
              -totpBackupCodes: []
              -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
              +apId: "turbowafflz@lemmy.world"
              +apProfileId: "https://lemmy.world/u/turbowafflz"
              +apPublicUrl: "https://lemmy.world/u/turbowafflz"
              +apFollowersUrl: null
              +apInboxUrl: "https://lemmy.world/inbox"
              +apDomain: "lemmy.world"
              +apPreferredUsername: "turbowafflz"
              +apDiscoverable: true
              +apManuallyApprovesFollowers: false
              +privateKey: null
              +publicKey: null
              +apFetchedAt: DateTime @1728612822 {#7257
                date: 2024-10-11 04:13:42.0 +02:00
              }
              +apDeletedAt: null
              +apTimeoutAt: null
              +visibility: "visible             "
              +createdAt: DateTimeImmutable @1696598050 {#7313
                date: 2023-10-06 15:14:10.0 +02:00
              }
              +__isInitialized__: true
               …2
            }
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4273
              +user: App\Entity\User {#4286}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 11
              +score: 0
              +lastActive: DateTime @1702481761 {#4267
                date: 2023-12-13 16:36:01.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@a"
                "@av"
                "@ademir@lemmy.eco.br"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4274 …}
              +nested: Doctrine\ORM\PersistentCollection {#4276 …}
              +votes: Doctrine\ORM\PersistentCollection {#4278 …}
              +reports: Doctrine\ORM\PersistentCollection {#4280 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
              -id: 178454
              -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://iusearchlinux.fyi/comment/3833698"
              +editedAt: DateTimeImmutable @1702222871 {#4268
                date: 2023-12-10 16:41:11.0 +01:00
              }
              +createdAt: DateTimeImmutable @1701294191 {#4269
                date: 2023-11-29 22:43:11.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4273}
            +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 23
            +score: 0
            +lastActive: DateTime @1701298859 {#4352
              date: 2023-11-30 00:00:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
              "@stepanzak@iusearchlinux.fyi"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4360 …}
            +nested: Doctrine\ORM\PersistentCollection {#4362 …}
            +votes: Doctrine\ORM\PersistentCollection {#4358 …}
            +reports: Doctrine\ORM\PersistentCollection {#4364 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
            -id: 178812
            -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/5682084"
            +editedAt: null
            +createdAt: DateTimeImmutable @1701298859 {#4349
              date: 2023-11-30 00:00:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 8
          +score: 0
          +lastActive: DateTime @1701334724 {#4391
            date: 2023-11-30 09:58:44.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
            "@turbowafflz@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4397 …}
          +nested: Doctrine\ORM\PersistentCollection {#4399 …}
          +votes: Doctrine\ORM\PersistentCollection {#4395 …}
          +reports: Doctrine\ORM\PersistentCollection {#4402 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
          -id: 180150
          -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3843159"
          +editedAt: DateTimeImmutable @1702321773 {#4388
            date: 2023-12-11 20:09:33.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701334724 {#4386
            date: 2023-11-30 09:58:44.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1701343008 {#4418
          date: 2023-11-30 12:16:48.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4415 …}
        +nested: Doctrine\ORM\PersistentCollection {#4412 …}
        +votes: Doctrine\ORM\PersistentCollection {#4410 …}
        +reports: Doctrine\ORM\PersistentCollection {#4424 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
        -id: 180440
        -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "soft_deleted        "
        +apId: "https://lemmy.world/comment/5693007"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701343008 {#4421
          date: 2023-11-30 12:16:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "My happiness is ruined :("
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1701347225 {#4440
        date: 2023-11-30 13:27:05.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
        "@DangerousInternet@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4437 …}
      +nested: Doctrine\ORM\PersistentCollection {#4434 …}
      +votes: Doctrine\ORM\PersistentCollection {#4432 …}
      +reports: Doctrine\ORM\PersistentCollection {#4446 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
      -id: 180602
      -bodyTs: "'happi':2 'ruin':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3845175"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701347225 {#4443
        date: 2023-11-30 13:27:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: """
      KDE is very receptive to community help! I can only think of one specific example in KDE history where a developer dragged their feet in the mud about a change the community wanted/submitted pull requests for, and thats the vertical HTML indicator bar in kmail.\n
      \n
      Gnome on the other hand…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701364533 {#4462
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4457 …}
    +nested: Doctrine\ORM\PersistentCollection {#4455 …}
    +votes: Doctrine\ORM\PersistentCollection {#4453 …}
    +reports: Doctrine\ORM\PersistentCollection {#4469 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    -id: 183887
    -bodyTs: "'bar':43 'chang':30 'communiti':6,32 'develop':21 'drag':22 'exampl':15 'feet':24 'gnome':46 'hand':50 'help':7 'histori':18 'html':41 'indic':42 'kde':1,17 'kmail':45 'mud':27 'one':13 'pull':34 'recept':4 'request':35 'specif':14 'that':38 'think':11 'vertic':40 'wanted/submitted':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5699628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701364533 {#4465
      date: 2023-11-30 18:15:33.0 +01:00
    }
  }
  "showNested" => true
  "level" => 6
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#9571
  +comment: App\Entity\EntryComment {#4467
    +user: Proxies\__CG__\App\Entity\User {#4459
      +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
      +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
      +email: "semperverus@lemmy.world"
      +username: "@semperverus@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "`while(true){💩};`"
      +lastActive: DateTime @1728421496 {#9656
        date: 2024-10-08 23:04:56.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
      +entries: Doctrine\ORM\PersistentCollection {#9670 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
      +posts: Doctrine\ORM\PersistentCollection {#9678 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
      +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
      +follows: Doctrine\ORM\PersistentCollection {#9690 …}
      +followers: Doctrine\ORM\PersistentCollection {#9692 …}
      +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
      +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
      +reports: Doctrine\ORM\PersistentCollection {#9702 …}
      +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
      +violations: Doctrine\ORM\PersistentCollection {#9706 …}
      +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
      +awards: Doctrine\ORM\PersistentCollection {#9710 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
      +categories: Doctrine\ORM\PersistentCollection {#9714 …}
      -id: 32957
      -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
      +apId: "semperverus@lemmy.world"
      +apProfileId: "https://lemmy.world/u/semperverus"
      +apPublicUrl: "https://lemmy.world/u/semperverus"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "semperverus"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729530949 {#9653
        date: 2024-10-21 19:15:49.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689984852 {#9655
        date: 2023-07-22 02:14:12.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4445
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4423
        +user: App\Entity\User {#4211
          +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
          +cover: null
          +email: "DangerousInternet@lemmy.world"
          +username: "@DangerousInternet@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1710465993 {#4195
            date: 2024-03-15 02:26:33.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
          +entries: Doctrine\ORM\PersistentCollection {#4219 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
          +posts: Doctrine\ORM\PersistentCollection {#4227 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
          +follows: Doctrine\ORM\PersistentCollection {#4239 …}
          +followers: Doctrine\ORM\PersistentCollection {#4241 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +violations: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          +awards: Doctrine\ORM\PersistentCollection {#4259 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
          +categories: Doctrine\ORM\PersistentCollection {#4263 …}
          -id: 81735
          -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
          +apId: "DangerousInternet@lemmy.world"
          +apProfileId: "https://lemmy.world/u/DangerousInternet"
          +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "DangerousInternet"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1710036108 {#4196
            date: 2024-03-10 03:01:48.0 +01:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1702243219 {#4197
            date: 2023-12-10 22:20:19.0 +01:00
          }
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4394
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4353
            +user: Proxies\__CG__\App\Entity\User {#4356
              +avatar: null
              +cover: null
              +email: "turbowafflz@lemmy.world"
              +username: "@turbowafflz@lemmy.world"
              +roles: []
              +followersCount: 0
              +homepage: "front"
              +about: null
              +lastActive: DateTime @1729399119 {#7373
                date: 2024-10-20 06:38:39.0 +02:00
              }
              +markedForDeletionAt: null
              +fields: null
              +oauthGithubId: null
              +oauthGoogleId: null
              +oauthFacebookId: null
              +oauthKeycloakId: null
              +hideAdult: true
              +showSubscribedUsers: true
              +showSubscribedMagazines: true
              +showSubscribedDomains: true
              +preferredLanguages: []
              +featuredMagazines: null
              +showProfileSubscriptions: false
              +showProfileFollowings: true
              +markNewComments: false
              +notifyOnNewEntry: false
              +notifyOnNewEntryReply: true
              +notifyOnNewEntryCommentReply: true
              +notifyOnNewPost: false
              +notifyOnNewPostReply: true
              +notifyOnNewPostCommentReply: true
              +addMentionsEntries: false
              +addMentionsPosts: true
              +isBanned: false
              +isVerified: false
              +isDeleted: false
              +isBot: false
              +spamProtection: true
              +customCss: null
              +ignoreMagazinesCustomCss: false
              +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
              +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
              +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
              +entries: Doctrine\ORM\PersistentCollection {#7393 …}
              +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
              +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
              +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
              +posts: Doctrine\ORM\PersistentCollection {#7401 …}
              +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
              +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
              +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
              +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
              +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
              +follows: Doctrine\ORM\PersistentCollection {#7413 …}
              +followers: Doctrine\ORM\PersistentCollection {#7415 …}
              +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
              +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
              +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
              +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
              +reports: Doctrine\ORM\PersistentCollection {#7425 …}
              +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
              +violations: Doctrine\ORM\PersistentCollection {#7429 …}
              +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
              +awards: Doctrine\ORM\PersistentCollection {#7433 …}
              +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
              +categories: Doctrine\ORM\PersistentCollection {#7437 …}
              -id: 51764
              -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
              -totpSecret: null
              -totpBackupCodes: []
              -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
              +apId: "turbowafflz@lemmy.world"
              +apProfileId: "https://lemmy.world/u/turbowafflz"
              +apPublicUrl: "https://lemmy.world/u/turbowafflz"
              +apFollowersUrl: null
              +apInboxUrl: "https://lemmy.world/inbox"
              +apDomain: "lemmy.world"
              +apPreferredUsername: "turbowafflz"
              +apDiscoverable: true
              +apManuallyApprovesFollowers: false
              +privateKey: null
              +publicKey: null
              +apFetchedAt: DateTime @1728612822 {#7257
                date: 2024-10-11 04:13:42.0 +02:00
              }
              +apDeletedAt: null
              +apTimeoutAt: null
              +visibility: "visible             "
              +createdAt: DateTimeImmutable @1696598050 {#7313
                date: 2023-10-06 15:14:10.0 +02:00
              }
              +__isInitialized__: true
               …2
            }
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4273
              +user: App\Entity\User {#4286}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 11
              +score: 0
              +lastActive: DateTime @1702481761 {#4267
                date: 2023-12-13 16:36:01.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@a"
                "@av"
                "@ademir@lemmy.eco.br"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4274 …}
              +nested: Doctrine\ORM\PersistentCollection {#4276 …}
              +votes: Doctrine\ORM\PersistentCollection {#4278 …}
              +reports: Doctrine\ORM\PersistentCollection {#4280 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
              -id: 178454
              -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://iusearchlinux.fyi/comment/3833698"
              +editedAt: DateTimeImmutable @1702222871 {#4268
                date: 2023-12-10 16:41:11.0 +01:00
              }
              +createdAt: DateTimeImmutable @1701294191 {#4269
                date: 2023-11-29 22:43:11.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4273}
            +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 23
            +score: 0
            +lastActive: DateTime @1701298859 {#4352
              date: 2023-11-30 00:00:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
              "@stepanzak@iusearchlinux.fyi"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4360 …}
            +nested: Doctrine\ORM\PersistentCollection {#4362 …}
            +votes: Doctrine\ORM\PersistentCollection {#4358 …}
            +reports: Doctrine\ORM\PersistentCollection {#4364 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
            -id: 178812
            -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/5682084"
            +editedAt: null
            +createdAt: DateTimeImmutable @1701298859 {#4349
              date: 2023-11-30 00:00:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 8
          +score: 0
          +lastActive: DateTime @1701334724 {#4391
            date: 2023-11-30 09:58:44.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
            "@turbowafflz@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4397 …}
          +nested: Doctrine\ORM\PersistentCollection {#4399 …}
          +votes: Doctrine\ORM\PersistentCollection {#4395 …}
          +reports: Doctrine\ORM\PersistentCollection {#4402 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
          -id: 180150
          -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3843159"
          +editedAt: DateTimeImmutable @1702321773 {#4388
            date: 2023-12-11 20:09:33.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701334724 {#4386
            date: 2023-11-30 09:58:44.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1701343008 {#4418
          date: 2023-11-30 12:16:48.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4415 …}
        +nested: Doctrine\ORM\PersistentCollection {#4412 …}
        +votes: Doctrine\ORM\PersistentCollection {#4410 …}
        +reports: Doctrine\ORM\PersistentCollection {#4424 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
        -id: 180440
        -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "soft_deleted        "
        +apId: "https://lemmy.world/comment/5693007"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701343008 {#4421
          date: 2023-11-30 12:16:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "My happiness is ruined :("
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1701347225 {#4440
        date: 2023-11-30 13:27:05.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
        "@DangerousInternet@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4437 …}
      +nested: Doctrine\ORM\PersistentCollection {#4434 …}
      +votes: Doctrine\ORM\PersistentCollection {#4432 …}
      +reports: Doctrine\ORM\PersistentCollection {#4446 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
      -id: 180602
      -bodyTs: "'happi':2 'ruin':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3845175"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701347225 {#4443
        date: 2023-11-30 13:27:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: """
      KDE is very receptive to community help! I can only think of one specific example in KDE history where a developer dragged their feet in the mud about a change the community wanted/submitted pull requests for, and thats the vertical HTML indicator bar in kmail.\n
      \n
      Gnome on the other hand…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701364533 {#4462
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4457 …}
    +nested: Doctrine\ORM\PersistentCollection {#4455 …}
    +votes: Doctrine\ORM\PersistentCollection {#4453 …}
    +reports: Doctrine\ORM\PersistentCollection {#4469 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    -id: 183887
    -bodyTs: "'bar':43 'chang':30 'communiti':6,32 'develop':21 'drag':22 'exampl':15 'feet':24 'gnome':46 'hand':50 'help':7 'histori':18 'html':41 'indic':42 'kde':1,17 'kmail':45 'mud':27 'one':13 'pull':34 'recept':4 'request':35 'specif':14 'that':38 'think':11 'vertic':40 'wanted/submitted':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5699628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701364533 {#4465
      date: 2023-11-30 18:15:33.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 6
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 2.27 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#4459
    +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
    +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
    +email: "semperverus@lemmy.world"
    +username: "@semperverus@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "`while(true){💩};`"
    +lastActive: DateTime @1728421496 {#9656
      date: 2024-10-08 23:04:56.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
    +entries: Doctrine\ORM\PersistentCollection {#9670 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
    +posts: Doctrine\ORM\PersistentCollection {#9678 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
    +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
    +follows: Doctrine\ORM\PersistentCollection {#9690 …}
    +followers: Doctrine\ORM\PersistentCollection {#9692 …}
    +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
    +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
    +reports: Doctrine\ORM\PersistentCollection {#9702 …}
    +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
    +violations: Doctrine\ORM\PersistentCollection {#9706 …}
    +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
    +awards: Doctrine\ORM\PersistentCollection {#9710 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
    +categories: Doctrine\ORM\PersistentCollection {#9714 …}
    -id: 32957
    -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
    +apId: "semperverus@lemmy.world"
    +apProfileId: "https://lemmy.world/u/semperverus"
    +apPublicUrl: "https://lemmy.world/u/semperverus"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "semperverus"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729530949 {#9653
      date: 2024-10-21 19:15:49.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689984852 {#9655
      date: 2023-07-22 02:14:12.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#9616
  +user: Proxies\__CG__\App\Entity\User {#4459
    +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
    +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
    +email: "semperverus@lemmy.world"
    +username: "@semperverus@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "`while(true){💩};`"
    +lastActive: DateTime @1728421496 {#9656
      date: 2024-10-08 23:04:56.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
    +entries: Doctrine\ORM\PersistentCollection {#9670 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
    +posts: Doctrine\ORM\PersistentCollection {#9678 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
    +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
    +follows: Doctrine\ORM\PersistentCollection {#9690 …}
    +followers: Doctrine\ORM\PersistentCollection {#9692 …}
    +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
    +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
    +reports: Doctrine\ORM\PersistentCollection {#9702 …}
    +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
    +violations: Doctrine\ORM\PersistentCollection {#9706 …}
    +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
    +awards: Doctrine\ORM\PersistentCollection {#9710 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
    +categories: Doctrine\ORM\PersistentCollection {#9714 …}
    -id: 32957
    -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
    +apId: "semperverus@lemmy.world"
    +apProfileId: "https://lemmy.world/u/semperverus"
    +apPublicUrl: "https://lemmy.world/u/semperverus"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "semperverus"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729530949 {#9653
      date: 2024-10-21 19:15:49.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689984852 {#9655
      date: 2023-07-22 02:14:12.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.17 ms
Input props
[
  "date" => DateTimeImmutable @1701364533 {#4465
    date: 2023-11-30 18:15:33.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#9736
  +date: DateTimeImmutable @1701364533 {#4465
    date: 2023-11-30 18:15:33.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1701364533 {#4465
    date: 2023-11-30 18:15:33.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#9790
  +createdAt: DateTimeImmutable @1701364533 {#4465
    date: 2023-11-30 18:15:33.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 2.07 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#4459
    +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
    +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
    +email: "semperverus@lemmy.world"
    +username: "@semperverus@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "`while(true){💩};`"
    +lastActive: DateTime @1728421496 {#9656
      date: 2024-10-08 23:04:56.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
    +entries: Doctrine\ORM\PersistentCollection {#9670 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
    +posts: Doctrine\ORM\PersistentCollection {#9678 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
    +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
    +follows: Doctrine\ORM\PersistentCollection {#9690 …}
    +followers: Doctrine\ORM\PersistentCollection {#9692 …}
    +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
    +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
    +reports: Doctrine\ORM\PersistentCollection {#9702 …}
    +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
    +violations: Doctrine\ORM\PersistentCollection {#9706 …}
    +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
    +awards: Doctrine\ORM\PersistentCollection {#9710 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
    +categories: Doctrine\ORM\PersistentCollection {#9714 …}
    -id: 32957
    -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
    +apId: "semperverus@lemmy.world"
    +apProfileId: "https://lemmy.world/u/semperverus"
    +apPublicUrl: "https://lemmy.world/u/semperverus"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "semperverus"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729530949 {#9653
      date: 2024-10-21 19:15:49.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689984852 {#9655
      date: 2023-07-22 02:14:12.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#9844
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#4459
    +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
    +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
    +email: "semperverus@lemmy.world"
    +username: "@semperverus@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "`while(true){💩};`"
    +lastActive: DateTime @1728421496 {#9656
      date: 2024-10-08 23:04:56.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
    +entries: Doctrine\ORM\PersistentCollection {#9670 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
    +posts: Doctrine\ORM\PersistentCollection {#9678 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
    +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
    +follows: Doctrine\ORM\PersistentCollection {#9690 …}
    +followers: Doctrine\ORM\PersistentCollection {#9692 …}
    +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
    +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
    +reports: Doctrine\ORM\PersistentCollection {#9702 …}
    +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
    +violations: Doctrine\ORM\PersistentCollection {#9706 …}
    +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
    +awards: Doctrine\ORM\PersistentCollection {#9710 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
    +categories: Doctrine\ORM\PersistentCollection {#9714 …}
    -id: 32957
    -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
    +apId: "semperverus@lemmy.world"
    +apProfileId: "https://lemmy.world/u/semperverus"
    +apPublicUrl: "https://lemmy.world/u/semperverus"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "semperverus"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729530949 {#9653
      date: 2024-10-21 19:15:49.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689984852 {#9655
      date: 2023-07-22 02:14:12.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.60 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4467
    +user: Proxies\__CG__\App\Entity\User {#4459
      +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
      +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
      +email: "semperverus@lemmy.world"
      +username: "@semperverus@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "`while(true){💩};`"
      +lastActive: DateTime @1728421496 {#9656
        date: 2024-10-08 23:04:56.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
      +entries: Doctrine\ORM\PersistentCollection {#9670 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
      +posts: Doctrine\ORM\PersistentCollection {#9678 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
      +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
      +follows: Doctrine\ORM\PersistentCollection {#9690 …}
      +followers: Doctrine\ORM\PersistentCollection {#9692 …}
      +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
      +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
      +reports: Doctrine\ORM\PersistentCollection {#9702 …}
      +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
      +violations: Doctrine\ORM\PersistentCollection {#9706 …}
      +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
      +awards: Doctrine\ORM\PersistentCollection {#9710 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
      +categories: Doctrine\ORM\PersistentCollection {#9714 …}
      -id: 32957
      -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
      +apId: "semperverus@lemmy.world"
      +apProfileId: "https://lemmy.world/u/semperverus"
      +apPublicUrl: "https://lemmy.world/u/semperverus"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "semperverus"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729530949 {#9653
        date: 2024-10-21 19:15:49.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689984852 {#9655
        date: 2023-07-22 02:14:12.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4445
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4423
        +user: App\Entity\User {#4211
          +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
          +cover: null
          +email: "DangerousInternet@lemmy.world"
          +username: "@DangerousInternet@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1710465993 {#4195
            date: 2024-03-15 02:26:33.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
          +entries: Doctrine\ORM\PersistentCollection {#4219 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
          +posts: Doctrine\ORM\PersistentCollection {#4227 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
          +follows: Doctrine\ORM\PersistentCollection {#4239 …}
          +followers: Doctrine\ORM\PersistentCollection {#4241 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +violations: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          +awards: Doctrine\ORM\PersistentCollection {#4259 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
          +categories: Doctrine\ORM\PersistentCollection {#4263 …}
          -id: 81735
          -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
          +apId: "DangerousInternet@lemmy.world"
          +apProfileId: "https://lemmy.world/u/DangerousInternet"
          +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "DangerousInternet"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1710036108 {#4196
            date: 2024-03-10 03:01:48.0 +01:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1702243219 {#4197
            date: 2023-12-10 22:20:19.0 +01:00
          }
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4394
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4353
            +user: Proxies\__CG__\App\Entity\User {#4356
              +avatar: null
              +cover: null
              +email: "turbowafflz@lemmy.world"
              +username: "@turbowafflz@lemmy.world"
              +roles: []
              +followersCount: 0
              +homepage: "front"
              +about: null
              +lastActive: DateTime @1729399119 {#7373
                date: 2024-10-20 06:38:39.0 +02:00
              }
              +markedForDeletionAt: null
              +fields: null
              +oauthGithubId: null
              +oauthGoogleId: null
              +oauthFacebookId: null
              +oauthKeycloakId: null
              +hideAdult: true
              +showSubscribedUsers: true
              +showSubscribedMagazines: true
              +showSubscribedDomains: true
              +preferredLanguages: []
              +featuredMagazines: null
              +showProfileSubscriptions: false
              +showProfileFollowings: true
              +markNewComments: false
              +notifyOnNewEntry: false
              +notifyOnNewEntryReply: true
              +notifyOnNewEntryCommentReply: true
              +notifyOnNewPost: false
              +notifyOnNewPostReply: true
              +notifyOnNewPostCommentReply: true
              +addMentionsEntries: false
              +addMentionsPosts: true
              +isBanned: false
              +isVerified: false
              +isDeleted: false
              +isBot: false
              +spamProtection: true
              +customCss: null
              +ignoreMagazinesCustomCss: false
              +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
              +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
              +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
              +entries: Doctrine\ORM\PersistentCollection {#7393 …}
              +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
              +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
              +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
              +posts: Doctrine\ORM\PersistentCollection {#7401 …}
              +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
              +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
              +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
              +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
              +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
              +follows: Doctrine\ORM\PersistentCollection {#7413 …}
              +followers: Doctrine\ORM\PersistentCollection {#7415 …}
              +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
              +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
              +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
              +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
              +reports: Doctrine\ORM\PersistentCollection {#7425 …}
              +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
              +violations: Doctrine\ORM\PersistentCollection {#7429 …}
              +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
              +awards: Doctrine\ORM\PersistentCollection {#7433 …}
              +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
              +categories: Doctrine\ORM\PersistentCollection {#7437 …}
              -id: 51764
              -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
              -totpSecret: null
              -totpBackupCodes: []
              -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
              +apId: "turbowafflz@lemmy.world"
              +apProfileId: "https://lemmy.world/u/turbowafflz"
              +apPublicUrl: "https://lemmy.world/u/turbowafflz"
              +apFollowersUrl: null
              +apInboxUrl: "https://lemmy.world/inbox"
              +apDomain: "lemmy.world"
              +apPreferredUsername: "turbowafflz"
              +apDiscoverable: true
              +apManuallyApprovesFollowers: false
              +privateKey: null
              +publicKey: null
              +apFetchedAt: DateTime @1728612822 {#7257
                date: 2024-10-11 04:13:42.0 +02:00
              }
              +apDeletedAt: null
              +apTimeoutAt: null
              +visibility: "visible             "
              +createdAt: DateTimeImmutable @1696598050 {#7313
                date: 2023-10-06 15:14:10.0 +02:00
              }
              +__isInitialized__: true
               …2
            }
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4273
              +user: App\Entity\User {#4286}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 11
              +score: 0
              +lastActive: DateTime @1702481761 {#4267
                date: 2023-12-13 16:36:01.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@a"
                "@av"
                "@ademir@lemmy.eco.br"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4274 …}
              +nested: Doctrine\ORM\PersistentCollection {#4276 …}
              +votes: Doctrine\ORM\PersistentCollection {#4278 …}
              +reports: Doctrine\ORM\PersistentCollection {#4280 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
              -id: 178454
              -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://iusearchlinux.fyi/comment/3833698"
              +editedAt: DateTimeImmutable @1702222871 {#4268
                date: 2023-12-10 16:41:11.0 +01:00
              }
              +createdAt: DateTimeImmutable @1701294191 {#4269
                date: 2023-11-29 22:43:11.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4273}
            +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 23
            +score: 0
            +lastActive: DateTime @1701298859 {#4352
              date: 2023-11-30 00:00:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
              "@stepanzak@iusearchlinux.fyi"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4360 …}
            +nested: Doctrine\ORM\PersistentCollection {#4362 …}
            +votes: Doctrine\ORM\PersistentCollection {#4358 …}
            +reports: Doctrine\ORM\PersistentCollection {#4364 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
            -id: 178812
            -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/5682084"
            +editedAt: null
            +createdAt: DateTimeImmutable @1701298859 {#4349
              date: 2023-11-30 00:00:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 8
          +score: 0
          +lastActive: DateTime @1701334724 {#4391
            date: 2023-11-30 09:58:44.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
            "@turbowafflz@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4397 …}
          +nested: Doctrine\ORM\PersistentCollection {#4399 …}
          +votes: Doctrine\ORM\PersistentCollection {#4395 …}
          +reports: Doctrine\ORM\PersistentCollection {#4402 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
          -id: 180150
          -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3843159"
          +editedAt: DateTimeImmutable @1702321773 {#4388
            date: 2023-12-11 20:09:33.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701334724 {#4386
            date: 2023-11-30 09:58:44.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1701343008 {#4418
          date: 2023-11-30 12:16:48.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4415 …}
        +nested: Doctrine\ORM\PersistentCollection {#4412 …}
        +votes: Doctrine\ORM\PersistentCollection {#4410 …}
        +reports: Doctrine\ORM\PersistentCollection {#4424 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
        -id: 180440
        -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "soft_deleted        "
        +apId: "https://lemmy.world/comment/5693007"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701343008 {#4421
          date: 2023-11-30 12:16:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "My happiness is ruined :("
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1701347225 {#4440
        date: 2023-11-30 13:27:05.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
        "@DangerousInternet@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4437 …}
      +nested: Doctrine\ORM\PersistentCollection {#4434 …}
      +votes: Doctrine\ORM\PersistentCollection {#4432 …}
      +reports: Doctrine\ORM\PersistentCollection {#4446 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
      -id: 180602
      -bodyTs: "'happi':2 'ruin':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3845175"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701347225 {#4443
        date: 2023-11-30 13:27:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: """
      KDE is very receptive to community help! I can only think of one specific example in KDE history where a developer dragged their feet in the mud about a change the community wanted/submitted pull requests for, and thats the vertical HTML indicator bar in kmail.\n
      \n
      Gnome on the other hand…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701364533 {#4462
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4457 …}
    +nested: Doctrine\ORM\PersistentCollection {#4455 …}
    +votes: Doctrine\ORM\PersistentCollection {#4453 …}
    +reports: Doctrine\ORM\PersistentCollection {#4469 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    -id: 183887
    -bodyTs: "'bar':43 'chang':30 'communiti':6,32 'develop':21 'drag':22 'exampl':15 'feet':24 'gnome':46 'hand':50 'help':7 'histori':18 'html':41 'indic':42 'kde':1,17 'kmail':45 'mud':27 'one':13 'pull':34 'recept':4 'request':35 'specif':14 'that':38 'think':11 'vertic':40 'wanted/submitted':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5699628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701364533 {#4465
      date: 2023-11-30 18:15:33.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9925
  +subject: App\Entity\EntryComment {#4467
    +user: Proxies\__CG__\App\Entity\User {#4459
      +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
      +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
      +email: "semperverus@lemmy.world"
      +username: "@semperverus@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "`while(true){💩};`"
      +lastActive: DateTime @1728421496 {#9656
        date: 2024-10-08 23:04:56.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
      +entries: Doctrine\ORM\PersistentCollection {#9670 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
      +posts: Doctrine\ORM\PersistentCollection {#9678 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
      +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
      +follows: Doctrine\ORM\PersistentCollection {#9690 …}
      +followers: Doctrine\ORM\PersistentCollection {#9692 …}
      +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
      +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
      +reports: Doctrine\ORM\PersistentCollection {#9702 …}
      +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
      +violations: Doctrine\ORM\PersistentCollection {#9706 …}
      +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
      +awards: Doctrine\ORM\PersistentCollection {#9710 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
      +categories: Doctrine\ORM\PersistentCollection {#9714 …}
      -id: 32957
      -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
      +apId: "semperverus@lemmy.world"
      +apProfileId: "https://lemmy.world/u/semperverus"
      +apPublicUrl: "https://lemmy.world/u/semperverus"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "semperverus"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729530949 {#9653
        date: 2024-10-21 19:15:49.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689984852 {#9655
        date: 2023-07-22 02:14:12.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4445
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4423
        +user: App\Entity\User {#4211
          +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
          +cover: null
          +email: "DangerousInternet@lemmy.world"
          +username: "@DangerousInternet@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1710465993 {#4195
            date: 2024-03-15 02:26:33.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
          +entries: Doctrine\ORM\PersistentCollection {#4219 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
          +posts: Doctrine\ORM\PersistentCollection {#4227 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
          +follows: Doctrine\ORM\PersistentCollection {#4239 …}
          +followers: Doctrine\ORM\PersistentCollection {#4241 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +violations: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          +awards: Doctrine\ORM\PersistentCollection {#4259 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
          +categories: Doctrine\ORM\PersistentCollection {#4263 …}
          -id: 81735
          -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
          +apId: "DangerousInternet@lemmy.world"
          +apProfileId: "https://lemmy.world/u/DangerousInternet"
          +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "DangerousInternet"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1710036108 {#4196
            date: 2024-03-10 03:01:48.0 +01:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1702243219 {#4197
            date: 2023-12-10 22:20:19.0 +01:00
          }
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4394
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4353
            +user: Proxies\__CG__\App\Entity\User {#4356
              +avatar: null
              +cover: null
              +email: "turbowafflz@lemmy.world"
              +username: "@turbowafflz@lemmy.world"
              +roles: []
              +followersCount: 0
              +homepage: "front"
              +about: null
              +lastActive: DateTime @1729399119 {#7373
                date: 2024-10-20 06:38:39.0 +02:00
              }
              +markedForDeletionAt: null
              +fields: null
              +oauthGithubId: null
              +oauthGoogleId: null
              +oauthFacebookId: null
              +oauthKeycloakId: null
              +hideAdult: true
              +showSubscribedUsers: true
              +showSubscribedMagazines: true
              +showSubscribedDomains: true
              +preferredLanguages: []
              +featuredMagazines: null
              +showProfileSubscriptions: false
              +showProfileFollowings: true
              +markNewComments: false
              +notifyOnNewEntry: false
              +notifyOnNewEntryReply: true
              +notifyOnNewEntryCommentReply: true
              +notifyOnNewPost: false
              +notifyOnNewPostReply: true
              +notifyOnNewPostCommentReply: true
              +addMentionsEntries: false
              +addMentionsPosts: true
              +isBanned: false
              +isVerified: false
              +isDeleted: false
              +isBot: false
              +spamProtection: true
              +customCss: null
              +ignoreMagazinesCustomCss: false
              +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
              +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
              +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
              +entries: Doctrine\ORM\PersistentCollection {#7393 …}
              +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
              +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
              +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
              +posts: Doctrine\ORM\PersistentCollection {#7401 …}
              +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
              +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
              +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
              +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
              +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
              +follows: Doctrine\ORM\PersistentCollection {#7413 …}
              +followers: Doctrine\ORM\PersistentCollection {#7415 …}
              +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
              +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
              +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
              +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
              +reports: Doctrine\ORM\PersistentCollection {#7425 …}
              +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
              +violations: Doctrine\ORM\PersistentCollection {#7429 …}
              +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
              +awards: Doctrine\ORM\PersistentCollection {#7433 …}
              +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
              +categories: Doctrine\ORM\PersistentCollection {#7437 …}
              -id: 51764
              -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
              -totpSecret: null
              -totpBackupCodes: []
              -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
              +apId: "turbowafflz@lemmy.world"
              +apProfileId: "https://lemmy.world/u/turbowafflz"
              +apPublicUrl: "https://lemmy.world/u/turbowafflz"
              +apFollowersUrl: null
              +apInboxUrl: "https://lemmy.world/inbox"
              +apDomain: "lemmy.world"
              +apPreferredUsername: "turbowafflz"
              +apDiscoverable: true
              +apManuallyApprovesFollowers: false
              +privateKey: null
              +publicKey: null
              +apFetchedAt: DateTime @1728612822 {#7257
                date: 2024-10-11 04:13:42.0 +02:00
              }
              +apDeletedAt: null
              +apTimeoutAt: null
              +visibility: "visible             "
              +createdAt: DateTimeImmutable @1696598050 {#7313
                date: 2023-10-06 15:14:10.0 +02:00
              }
              +__isInitialized__: true
               …2
            }
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4273
              +user: App\Entity\User {#4286}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 11
              +score: 0
              +lastActive: DateTime @1702481761 {#4267
                date: 2023-12-13 16:36:01.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@a"
                "@av"
                "@ademir@lemmy.eco.br"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4274 …}
              +nested: Doctrine\ORM\PersistentCollection {#4276 …}
              +votes: Doctrine\ORM\PersistentCollection {#4278 …}
              +reports: Doctrine\ORM\PersistentCollection {#4280 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
              -id: 178454
              -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://iusearchlinux.fyi/comment/3833698"
              +editedAt: DateTimeImmutable @1702222871 {#4268
                date: 2023-12-10 16:41:11.0 +01:00
              }
              +createdAt: DateTimeImmutable @1701294191 {#4269
                date: 2023-11-29 22:43:11.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4273}
            +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 23
            +score: 0
            +lastActive: DateTime @1701298859 {#4352
              date: 2023-11-30 00:00:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
              "@stepanzak@iusearchlinux.fyi"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4360 …}
            +nested: Doctrine\ORM\PersistentCollection {#4362 …}
            +votes: Doctrine\ORM\PersistentCollection {#4358 …}
            +reports: Doctrine\ORM\PersistentCollection {#4364 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
            -id: 178812
            -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/5682084"
            +editedAt: null
            +createdAt: DateTimeImmutable @1701298859 {#4349
              date: 2023-11-30 00:00:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 8
          +score: 0
          +lastActive: DateTime @1701334724 {#4391
            date: 2023-11-30 09:58:44.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
            "@turbowafflz@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4397 …}
          +nested: Doctrine\ORM\PersistentCollection {#4399 …}
          +votes: Doctrine\ORM\PersistentCollection {#4395 …}
          +reports: Doctrine\ORM\PersistentCollection {#4402 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
          -id: 180150
          -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3843159"
          +editedAt: DateTimeImmutable @1702321773 {#4388
            date: 2023-12-11 20:09:33.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701334724 {#4386
            date: 2023-11-30 09:58:44.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1701343008 {#4418
          date: 2023-11-30 12:16:48.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4415 …}
        +nested: Doctrine\ORM\PersistentCollection {#4412 …}
        +votes: Doctrine\ORM\PersistentCollection {#4410 …}
        +reports: Doctrine\ORM\PersistentCollection {#4424 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
        -id: 180440
        -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "soft_deleted        "
        +apId: "https://lemmy.world/comment/5693007"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701343008 {#4421
          date: 2023-11-30 12:16:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "My happiness is ruined :("
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1701347225 {#4440
        date: 2023-11-30 13:27:05.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
        "@DangerousInternet@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4437 …}
      +nested: Doctrine\ORM\PersistentCollection {#4434 …}
      +votes: Doctrine\ORM\PersistentCollection {#4432 …}
      +reports: Doctrine\ORM\PersistentCollection {#4446 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
      -id: 180602
      -bodyTs: "'happi':2 'ruin':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3845175"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701347225 {#4443
        date: 2023-11-30 13:27:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: """
      KDE is very receptive to community help! I can only think of one specific example in KDE history where a developer dragged their feet in the mud about a change the community wanted/submitted pull requests for, and thats the vertical HTML indicator bar in kmail.\n
      \n
      Gnome on the other hand…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701364533 {#4462
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4457 …}
    +nested: Doctrine\ORM\PersistentCollection {#4455 …}
    +votes: Doctrine\ORM\PersistentCollection {#4453 …}
    +reports: Doctrine\ORM\PersistentCollection {#4469 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    -id: 183887
    -bodyTs: "'bar':43 'chang':30 'communiti':6,32 'develop':21 'drag':22 'exampl':15 'feet':24 'gnome':46 'hand':50 'help':7 'histori':18 'html':41 'indic':42 'kde':1,17 'kmail':45 'mud':27 'one':13 'pull':34 'recept':4 'request':35 'specif':14 'that':38 'think':11 'vertic':40 'wanted/submitted':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5699628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701364533 {#4465
      date: 2023-11-30 18:15:33.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 0.74 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4467
    +user: Proxies\__CG__\App\Entity\User {#4459
      +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
      +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
      +email: "semperverus@lemmy.world"
      +username: "@semperverus@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "`while(true){💩};`"
      +lastActive: DateTime @1728421496 {#9656
        date: 2024-10-08 23:04:56.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
      +entries: Doctrine\ORM\PersistentCollection {#9670 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
      +posts: Doctrine\ORM\PersistentCollection {#9678 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
      +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
      +follows: Doctrine\ORM\PersistentCollection {#9690 …}
      +followers: Doctrine\ORM\PersistentCollection {#9692 …}
      +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
      +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
      +reports: Doctrine\ORM\PersistentCollection {#9702 …}
      +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
      +violations: Doctrine\ORM\PersistentCollection {#9706 …}
      +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
      +awards: Doctrine\ORM\PersistentCollection {#9710 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
      +categories: Doctrine\ORM\PersistentCollection {#9714 …}
      -id: 32957
      -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
      +apId: "semperverus@lemmy.world"
      +apProfileId: "https://lemmy.world/u/semperverus"
      +apPublicUrl: "https://lemmy.world/u/semperverus"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "semperverus"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729530949 {#9653
        date: 2024-10-21 19:15:49.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689984852 {#9655
        date: 2023-07-22 02:14:12.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4445
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4423
        +user: App\Entity\User {#4211
          +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
          +cover: null
          +email: "DangerousInternet@lemmy.world"
          +username: "@DangerousInternet@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1710465993 {#4195
            date: 2024-03-15 02:26:33.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
          +entries: Doctrine\ORM\PersistentCollection {#4219 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
          +posts: Doctrine\ORM\PersistentCollection {#4227 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
          +follows: Doctrine\ORM\PersistentCollection {#4239 …}
          +followers: Doctrine\ORM\PersistentCollection {#4241 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +violations: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          +awards: Doctrine\ORM\PersistentCollection {#4259 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
          +categories: Doctrine\ORM\PersistentCollection {#4263 …}
          -id: 81735
          -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
          +apId: "DangerousInternet@lemmy.world"
          +apProfileId: "https://lemmy.world/u/DangerousInternet"
          +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "DangerousInternet"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1710036108 {#4196
            date: 2024-03-10 03:01:48.0 +01:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1702243219 {#4197
            date: 2023-12-10 22:20:19.0 +01:00
          }
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4394
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4353
            +user: Proxies\__CG__\App\Entity\User {#4356
              +avatar: null
              +cover: null
              +email: "turbowafflz@lemmy.world"
              +username: "@turbowafflz@lemmy.world"
              +roles: []
              +followersCount: 0
              +homepage: "front"
              +about: null
              +lastActive: DateTime @1729399119 {#7373
                date: 2024-10-20 06:38:39.0 +02:00
              }
              +markedForDeletionAt: null
              +fields: null
              +oauthGithubId: null
              +oauthGoogleId: null
              +oauthFacebookId: null
              +oauthKeycloakId: null
              +hideAdult: true
              +showSubscribedUsers: true
              +showSubscribedMagazines: true
              +showSubscribedDomains: true
              +preferredLanguages: []
              +featuredMagazines: null
              +showProfileSubscriptions: false
              +showProfileFollowings: true
              +markNewComments: false
              +notifyOnNewEntry: false
              +notifyOnNewEntryReply: true
              +notifyOnNewEntryCommentReply: true
              +notifyOnNewPost: false
              +notifyOnNewPostReply: true
              +notifyOnNewPostCommentReply: true
              +addMentionsEntries: false
              +addMentionsPosts: true
              +isBanned: false
              +isVerified: false
              +isDeleted: false
              +isBot: false
              +spamProtection: true
              +customCss: null
              +ignoreMagazinesCustomCss: false
              +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
              +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
              +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
              +entries: Doctrine\ORM\PersistentCollection {#7393 …}
              +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
              +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
              +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
              +posts: Doctrine\ORM\PersistentCollection {#7401 …}
              +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
              +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
              +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
              +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
              +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
              +follows: Doctrine\ORM\PersistentCollection {#7413 …}
              +followers: Doctrine\ORM\PersistentCollection {#7415 …}
              +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
              +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
              +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
              +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
              +reports: Doctrine\ORM\PersistentCollection {#7425 …}
              +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
              +violations: Doctrine\ORM\PersistentCollection {#7429 …}
              +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
              +awards: Doctrine\ORM\PersistentCollection {#7433 …}
              +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
              +categories: Doctrine\ORM\PersistentCollection {#7437 …}
              -id: 51764
              -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
              -totpSecret: null
              -totpBackupCodes: []
              -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
              +apId: "turbowafflz@lemmy.world"
              +apProfileId: "https://lemmy.world/u/turbowafflz"
              +apPublicUrl: "https://lemmy.world/u/turbowafflz"
              +apFollowersUrl: null
              +apInboxUrl: "https://lemmy.world/inbox"
              +apDomain: "lemmy.world"
              +apPreferredUsername: "turbowafflz"
              +apDiscoverable: true
              +apManuallyApprovesFollowers: false
              +privateKey: null
              +publicKey: null
              +apFetchedAt: DateTime @1728612822 {#7257
                date: 2024-10-11 04:13:42.0 +02:00
              }
              +apDeletedAt: null
              +apTimeoutAt: null
              +visibility: "visible             "
              +createdAt: DateTimeImmutable @1696598050 {#7313
                date: 2023-10-06 15:14:10.0 +02:00
              }
              +__isInitialized__: true
               …2
            }
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4273
              +user: App\Entity\User {#4286}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 11
              +score: 0
              +lastActive: DateTime @1702481761 {#4267
                date: 2023-12-13 16:36:01.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@a"
                "@av"
                "@ademir@lemmy.eco.br"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4274 …}
              +nested: Doctrine\ORM\PersistentCollection {#4276 …}
              +votes: Doctrine\ORM\PersistentCollection {#4278 …}
              +reports: Doctrine\ORM\PersistentCollection {#4280 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
              -id: 178454
              -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://iusearchlinux.fyi/comment/3833698"
              +editedAt: DateTimeImmutable @1702222871 {#4268
                date: 2023-12-10 16:41:11.0 +01:00
              }
              +createdAt: DateTimeImmutable @1701294191 {#4269
                date: 2023-11-29 22:43:11.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4273}
            +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 23
            +score: 0
            +lastActive: DateTime @1701298859 {#4352
              date: 2023-11-30 00:00:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
              "@stepanzak@iusearchlinux.fyi"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4360 …}
            +nested: Doctrine\ORM\PersistentCollection {#4362 …}
            +votes: Doctrine\ORM\PersistentCollection {#4358 …}
            +reports: Doctrine\ORM\PersistentCollection {#4364 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
            -id: 178812
            -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/5682084"
            +editedAt: null
            +createdAt: DateTimeImmutable @1701298859 {#4349
              date: 2023-11-30 00:00:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 8
          +score: 0
          +lastActive: DateTime @1701334724 {#4391
            date: 2023-11-30 09:58:44.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
            "@turbowafflz@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4397 …}
          +nested: Doctrine\ORM\PersistentCollection {#4399 …}
          +votes: Doctrine\ORM\PersistentCollection {#4395 …}
          +reports: Doctrine\ORM\PersistentCollection {#4402 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
          -id: 180150
          -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3843159"
          +editedAt: DateTimeImmutable @1702321773 {#4388
            date: 2023-12-11 20:09:33.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701334724 {#4386
            date: 2023-11-30 09:58:44.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1701343008 {#4418
          date: 2023-11-30 12:16:48.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4415 …}
        +nested: Doctrine\ORM\PersistentCollection {#4412 …}
        +votes: Doctrine\ORM\PersistentCollection {#4410 …}
        +reports: Doctrine\ORM\PersistentCollection {#4424 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
        -id: 180440
        -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "soft_deleted        "
        +apId: "https://lemmy.world/comment/5693007"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701343008 {#4421
          date: 2023-11-30 12:16:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "My happiness is ruined :("
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1701347225 {#4440
        date: 2023-11-30 13:27:05.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
        "@DangerousInternet@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4437 …}
      +nested: Doctrine\ORM\PersistentCollection {#4434 …}
      +votes: Doctrine\ORM\PersistentCollection {#4432 …}
      +reports: Doctrine\ORM\PersistentCollection {#4446 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
      -id: 180602
      -bodyTs: "'happi':2 'ruin':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3845175"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701347225 {#4443
        date: 2023-11-30 13:27:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: """
      KDE is very receptive to community help! I can only think of one specific example in KDE history where a developer dragged their feet in the mud about a change the community wanted/submitted pull requests for, and thats the vertical HTML indicator bar in kmail.\n
      \n
      Gnome on the other hand…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701364533 {#4462
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4457 …}
    +nested: Doctrine\ORM\PersistentCollection {#4455 …}
    +votes: Doctrine\ORM\PersistentCollection {#4453 …}
    +reports: Doctrine\ORM\PersistentCollection {#4469 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    -id: 183887
    -bodyTs: "'bar':43 'chang':30 'communiti':6,32 'develop':21 'drag':22 'exampl':15 'feet':24 'gnome':46 'hand':50 'help':7 'histori':18 'html':41 'indic':42 'kde':1,17 'kmail':45 'mud':27 'one':13 'pull':34 'recept':4 'request':35 'specif':14 'that':38 'think':11 'vertic':40 'wanted/submitted':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5699628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701364533 {#4465
      date: 2023-11-30 18:15:33.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9982
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4467
    +user: Proxies\__CG__\App\Entity\User {#4459
      +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
      +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
      +email: "semperverus@lemmy.world"
      +username: "@semperverus@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "`while(true){💩};`"
      +lastActive: DateTime @1728421496 {#9656
        date: 2024-10-08 23:04:56.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
      +entries: Doctrine\ORM\PersistentCollection {#9670 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
      +posts: Doctrine\ORM\PersistentCollection {#9678 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
      +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
      +follows: Doctrine\ORM\PersistentCollection {#9690 …}
      +followers: Doctrine\ORM\PersistentCollection {#9692 …}
      +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
      +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
      +reports: Doctrine\ORM\PersistentCollection {#9702 …}
      +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
      +violations: Doctrine\ORM\PersistentCollection {#9706 …}
      +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
      +awards: Doctrine\ORM\PersistentCollection {#9710 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
      +categories: Doctrine\ORM\PersistentCollection {#9714 …}
      -id: 32957
      -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
      +apId: "semperverus@lemmy.world"
      +apProfileId: "https://lemmy.world/u/semperverus"
      +apPublicUrl: "https://lemmy.world/u/semperverus"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "semperverus"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729530949 {#9653
        date: 2024-10-21 19:15:49.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689984852 {#9655
        date: 2023-07-22 02:14:12.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4445
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4423
        +user: App\Entity\User {#4211
          +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
          +cover: null
          +email: "DangerousInternet@lemmy.world"
          +username: "@DangerousInternet@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1710465993 {#4195
            date: 2024-03-15 02:26:33.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
          +entries: Doctrine\ORM\PersistentCollection {#4219 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
          +posts: Doctrine\ORM\PersistentCollection {#4227 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
          +follows: Doctrine\ORM\PersistentCollection {#4239 …}
          +followers: Doctrine\ORM\PersistentCollection {#4241 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +violations: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          +awards: Doctrine\ORM\PersistentCollection {#4259 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
          +categories: Doctrine\ORM\PersistentCollection {#4263 …}
          -id: 81735
          -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
          +apId: "DangerousInternet@lemmy.world"
          +apProfileId: "https://lemmy.world/u/DangerousInternet"
          +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "DangerousInternet"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1710036108 {#4196
            date: 2024-03-10 03:01:48.0 +01:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1702243219 {#4197
            date: 2023-12-10 22:20:19.0 +01:00
          }
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4394
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4353
            +user: Proxies\__CG__\App\Entity\User {#4356
              +avatar: null
              +cover: null
              +email: "turbowafflz@lemmy.world"
              +username: "@turbowafflz@lemmy.world"
              +roles: []
              +followersCount: 0
              +homepage: "front"
              +about: null
              +lastActive: DateTime @1729399119 {#7373
                date: 2024-10-20 06:38:39.0 +02:00
              }
              +markedForDeletionAt: null
              +fields: null
              +oauthGithubId: null
              +oauthGoogleId: null
              +oauthFacebookId: null
              +oauthKeycloakId: null
              +hideAdult: true
              +showSubscribedUsers: true
              +showSubscribedMagazines: true
              +showSubscribedDomains: true
              +preferredLanguages: []
              +featuredMagazines: null
              +showProfileSubscriptions: false
              +showProfileFollowings: true
              +markNewComments: false
              +notifyOnNewEntry: false
              +notifyOnNewEntryReply: true
              +notifyOnNewEntryCommentReply: true
              +notifyOnNewPost: false
              +notifyOnNewPostReply: true
              +notifyOnNewPostCommentReply: true
              +addMentionsEntries: false
              +addMentionsPosts: true
              +isBanned: false
              +isVerified: false
              +isDeleted: false
              +isBot: false
              +spamProtection: true
              +customCss: null
              +ignoreMagazinesCustomCss: false
              +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
              +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
              +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
              +entries: Doctrine\ORM\PersistentCollection {#7393 …}
              +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
              +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
              +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
              +posts: Doctrine\ORM\PersistentCollection {#7401 …}
              +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
              +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
              +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
              +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
              +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
              +follows: Doctrine\ORM\PersistentCollection {#7413 …}
              +followers: Doctrine\ORM\PersistentCollection {#7415 …}
              +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
              +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
              +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
              +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
              +reports: Doctrine\ORM\PersistentCollection {#7425 …}
              +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
              +violations: Doctrine\ORM\PersistentCollection {#7429 …}
              +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
              +awards: Doctrine\ORM\PersistentCollection {#7433 …}
              +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
              +categories: Doctrine\ORM\PersistentCollection {#7437 …}
              -id: 51764
              -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
              -totpSecret: null
              -totpBackupCodes: []
              -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
              +apId: "turbowafflz@lemmy.world"
              +apProfileId: "https://lemmy.world/u/turbowafflz"
              +apPublicUrl: "https://lemmy.world/u/turbowafflz"
              +apFollowersUrl: null
              +apInboxUrl: "https://lemmy.world/inbox"
              +apDomain: "lemmy.world"
              +apPreferredUsername: "turbowafflz"
              +apDiscoverable: true
              +apManuallyApprovesFollowers: false
              +privateKey: null
              +publicKey: null
              +apFetchedAt: DateTime @1728612822 {#7257
                date: 2024-10-11 04:13:42.0 +02:00
              }
              +apDeletedAt: null
              +apTimeoutAt: null
              +visibility: "visible             "
              +createdAt: DateTimeImmutable @1696598050 {#7313
                date: 2023-10-06 15:14:10.0 +02:00
              }
              +__isInitialized__: true
               …2
            }
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4273
              +user: App\Entity\User {#4286}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 11
              +score: 0
              +lastActive: DateTime @1702481761 {#4267
                date: 2023-12-13 16:36:01.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@a"
                "@av"
                "@ademir@lemmy.eco.br"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4274 …}
              +nested: Doctrine\ORM\PersistentCollection {#4276 …}
              +votes: Doctrine\ORM\PersistentCollection {#4278 …}
              +reports: Doctrine\ORM\PersistentCollection {#4280 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
              -id: 178454
              -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://iusearchlinux.fyi/comment/3833698"
              +editedAt: DateTimeImmutable @1702222871 {#4268
                date: 2023-12-10 16:41:11.0 +01:00
              }
              +createdAt: DateTimeImmutable @1701294191 {#4269
                date: 2023-11-29 22:43:11.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4273}
            +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 23
            +score: 0
            +lastActive: DateTime @1701298859 {#4352
              date: 2023-11-30 00:00:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
              "@stepanzak@iusearchlinux.fyi"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4360 …}
            +nested: Doctrine\ORM\PersistentCollection {#4362 …}
            +votes: Doctrine\ORM\PersistentCollection {#4358 …}
            +reports: Doctrine\ORM\PersistentCollection {#4364 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
            -id: 178812
            -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/5682084"
            +editedAt: null
            +createdAt: DateTimeImmutable @1701298859 {#4349
              date: 2023-11-30 00:00:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 8
          +score: 0
          +lastActive: DateTime @1701334724 {#4391
            date: 2023-11-30 09:58:44.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
            "@turbowafflz@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4397 …}
          +nested: Doctrine\ORM\PersistentCollection {#4399 …}
          +votes: Doctrine\ORM\PersistentCollection {#4395 …}
          +reports: Doctrine\ORM\PersistentCollection {#4402 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
          -id: 180150
          -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3843159"
          +editedAt: DateTimeImmutable @1702321773 {#4388
            date: 2023-12-11 20:09:33.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701334724 {#4386
            date: 2023-11-30 09:58:44.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1701343008 {#4418
          date: 2023-11-30 12:16:48.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4415 …}
        +nested: Doctrine\ORM\PersistentCollection {#4412 …}
        +votes: Doctrine\ORM\PersistentCollection {#4410 …}
        +reports: Doctrine\ORM\PersistentCollection {#4424 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
        -id: 180440
        -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "soft_deleted        "
        +apId: "https://lemmy.world/comment/5693007"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701343008 {#4421
          date: 2023-11-30 12:16:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "My happiness is ruined :("
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1701347225 {#4440
        date: 2023-11-30 13:27:05.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
        "@DangerousInternet@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4437 …}
      +nested: Doctrine\ORM\PersistentCollection {#4434 …}
      +votes: Doctrine\ORM\PersistentCollection {#4432 …}
      +reports: Doctrine\ORM\PersistentCollection {#4446 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
      -id: 180602
      -bodyTs: "'happi':2 'ruin':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3845175"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701347225 {#4443
        date: 2023-11-30 13:27:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: """
      KDE is very receptive to community help! I can only think of one specific example in KDE history where a developer dragged their feet in the mud about a change the community wanted/submitted pull requests for, and thats the vertical HTML indicator bar in kmail.\n
      \n
      Gnome on the other hand…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701364533 {#4462
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4457 …}
    +nested: Doctrine\ORM\PersistentCollection {#4455 …}
    +votes: Doctrine\ORM\PersistentCollection {#4453 …}
    +reports: Doctrine\ORM\PersistentCollection {#4469 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    -id: 183887
    -bodyTs: "'bar':43 'chang':30 'communiti':6,32 'develop':21 'drag':22 'exampl':15 'feet':24 'gnome':46 'hand':50 'help':7 'histori':18 'html':41 'indic':42 'kde':1,17 'kmail':45 'mud':27 'one':13 'pull':34 'recept':4 'request':35 'specif':14 'that':38 'think':11 'vertic':40 'wanted/submitted':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5699628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701364533 {#4465
      date: 2023-11-30 18:15:33.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 0.33 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4467
    +user: Proxies\__CG__\App\Entity\User {#4459
      +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
      +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
      +email: "semperverus@lemmy.world"
      +username: "@semperverus@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "`while(true){💩};`"
      +lastActive: DateTime @1728421496 {#9656
        date: 2024-10-08 23:04:56.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
      +entries: Doctrine\ORM\PersistentCollection {#9670 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
      +posts: Doctrine\ORM\PersistentCollection {#9678 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
      +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
      +follows: Doctrine\ORM\PersistentCollection {#9690 …}
      +followers: Doctrine\ORM\PersistentCollection {#9692 …}
      +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
      +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
      +reports: Doctrine\ORM\PersistentCollection {#9702 …}
      +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
      +violations: Doctrine\ORM\PersistentCollection {#9706 …}
      +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
      +awards: Doctrine\ORM\PersistentCollection {#9710 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
      +categories: Doctrine\ORM\PersistentCollection {#9714 …}
      -id: 32957
      -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
      +apId: "semperverus@lemmy.world"
      +apProfileId: "https://lemmy.world/u/semperverus"
      +apPublicUrl: "https://lemmy.world/u/semperverus"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "semperverus"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729530949 {#9653
        date: 2024-10-21 19:15:49.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689984852 {#9655
        date: 2023-07-22 02:14:12.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4445
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4423
        +user: App\Entity\User {#4211
          +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
          +cover: null
          +email: "DangerousInternet@lemmy.world"
          +username: "@DangerousInternet@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1710465993 {#4195
            date: 2024-03-15 02:26:33.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
          +entries: Doctrine\ORM\PersistentCollection {#4219 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
          +posts: Doctrine\ORM\PersistentCollection {#4227 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
          +follows: Doctrine\ORM\PersistentCollection {#4239 …}
          +followers: Doctrine\ORM\PersistentCollection {#4241 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +violations: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          +awards: Doctrine\ORM\PersistentCollection {#4259 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
          +categories: Doctrine\ORM\PersistentCollection {#4263 …}
          -id: 81735
          -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
          +apId: "DangerousInternet@lemmy.world"
          +apProfileId: "https://lemmy.world/u/DangerousInternet"
          +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "DangerousInternet"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1710036108 {#4196
            date: 2024-03-10 03:01:48.0 +01:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1702243219 {#4197
            date: 2023-12-10 22:20:19.0 +01:00
          }
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4394
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4353
            +user: Proxies\__CG__\App\Entity\User {#4356
              +avatar: null
              +cover: null
              +email: "turbowafflz@lemmy.world"
              +username: "@turbowafflz@lemmy.world"
              +roles: []
              +followersCount: 0
              +homepage: "front"
              +about: null
              +lastActive: DateTime @1729399119 {#7373
                date: 2024-10-20 06:38:39.0 +02:00
              }
              +markedForDeletionAt: null
              +fields: null
              +oauthGithubId: null
              +oauthGoogleId: null
              +oauthFacebookId: null
              +oauthKeycloakId: null
              +hideAdult: true
              +showSubscribedUsers: true
              +showSubscribedMagazines: true
              +showSubscribedDomains: true
              +preferredLanguages: []
              +featuredMagazines: null
              +showProfileSubscriptions: false
              +showProfileFollowings: true
              +markNewComments: false
              +notifyOnNewEntry: false
              +notifyOnNewEntryReply: true
              +notifyOnNewEntryCommentReply: true
              +notifyOnNewPost: false
              +notifyOnNewPostReply: true
              +notifyOnNewPostCommentReply: true
              +addMentionsEntries: false
              +addMentionsPosts: true
              +isBanned: false
              +isVerified: false
              +isDeleted: false
              +isBot: false
              +spamProtection: true
              +customCss: null
              +ignoreMagazinesCustomCss: false
              +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
              +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
              +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
              +entries: Doctrine\ORM\PersistentCollection {#7393 …}
              +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
              +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
              +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
              +posts: Doctrine\ORM\PersistentCollection {#7401 …}
              +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
              +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
              +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
              +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
              +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
              +follows: Doctrine\ORM\PersistentCollection {#7413 …}
              +followers: Doctrine\ORM\PersistentCollection {#7415 …}
              +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
              +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
              +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
              +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
              +reports: Doctrine\ORM\PersistentCollection {#7425 …}
              +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
              +violations: Doctrine\ORM\PersistentCollection {#7429 …}
              +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
              +awards: Doctrine\ORM\PersistentCollection {#7433 …}
              +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
              +categories: Doctrine\ORM\PersistentCollection {#7437 …}
              -id: 51764
              -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
              -totpSecret: null
              -totpBackupCodes: []
              -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
              +apId: "turbowafflz@lemmy.world"
              +apProfileId: "https://lemmy.world/u/turbowafflz"
              +apPublicUrl: "https://lemmy.world/u/turbowafflz"
              +apFollowersUrl: null
              +apInboxUrl: "https://lemmy.world/inbox"
              +apDomain: "lemmy.world"
              +apPreferredUsername: "turbowafflz"
              +apDiscoverable: true
              +apManuallyApprovesFollowers: false
              +privateKey: null
              +publicKey: null
              +apFetchedAt: DateTime @1728612822 {#7257
                date: 2024-10-11 04:13:42.0 +02:00
              }
              +apDeletedAt: null
              +apTimeoutAt: null
              +visibility: "visible             "
              +createdAt: DateTimeImmutable @1696598050 {#7313
                date: 2023-10-06 15:14:10.0 +02:00
              }
              +__isInitialized__: true
               …2
            }
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4273
              +user: App\Entity\User {#4286}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 11
              +score: 0
              +lastActive: DateTime @1702481761 {#4267
                date: 2023-12-13 16:36:01.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@a"
                "@av"
                "@ademir@lemmy.eco.br"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4274 …}
              +nested: Doctrine\ORM\PersistentCollection {#4276 …}
              +votes: Doctrine\ORM\PersistentCollection {#4278 …}
              +reports: Doctrine\ORM\PersistentCollection {#4280 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
              -id: 178454
              -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://iusearchlinux.fyi/comment/3833698"
              +editedAt: DateTimeImmutable @1702222871 {#4268
                date: 2023-12-10 16:41:11.0 +01:00
              }
              +createdAt: DateTimeImmutable @1701294191 {#4269
                date: 2023-11-29 22:43:11.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4273}
            +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 23
            +score: 0
            +lastActive: DateTime @1701298859 {#4352
              date: 2023-11-30 00:00:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
              "@stepanzak@iusearchlinux.fyi"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4360 …}
            +nested: Doctrine\ORM\PersistentCollection {#4362 …}
            +votes: Doctrine\ORM\PersistentCollection {#4358 …}
            +reports: Doctrine\ORM\PersistentCollection {#4364 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
            -id: 178812
            -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/5682084"
            +editedAt: null
            +createdAt: DateTimeImmutable @1701298859 {#4349
              date: 2023-11-30 00:00:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 8
          +score: 0
          +lastActive: DateTime @1701334724 {#4391
            date: 2023-11-30 09:58:44.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
            "@turbowafflz@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4397 …}
          +nested: Doctrine\ORM\PersistentCollection {#4399 …}
          +votes: Doctrine\ORM\PersistentCollection {#4395 …}
          +reports: Doctrine\ORM\PersistentCollection {#4402 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
          -id: 180150
          -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3843159"
          +editedAt: DateTimeImmutable @1702321773 {#4388
            date: 2023-12-11 20:09:33.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701334724 {#4386
            date: 2023-11-30 09:58:44.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1701343008 {#4418
          date: 2023-11-30 12:16:48.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4415 …}
        +nested: Doctrine\ORM\PersistentCollection {#4412 …}
        +votes: Doctrine\ORM\PersistentCollection {#4410 …}
        +reports: Doctrine\ORM\PersistentCollection {#4424 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
        -id: 180440
        -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "soft_deleted        "
        +apId: "https://lemmy.world/comment/5693007"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701343008 {#4421
          date: 2023-11-30 12:16:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "My happiness is ruined :("
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1701347225 {#4440
        date: 2023-11-30 13:27:05.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
        "@DangerousInternet@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4437 …}
      +nested: Doctrine\ORM\PersistentCollection {#4434 …}
      +votes: Doctrine\ORM\PersistentCollection {#4432 …}
      +reports: Doctrine\ORM\PersistentCollection {#4446 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
      -id: 180602
      -bodyTs: "'happi':2 'ruin':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3845175"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701347225 {#4443
        date: 2023-11-30 13:27:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: """
      KDE is very receptive to community help! I can only think of one specific example in KDE history where a developer dragged their feet in the mud about a change the community wanted/submitted pull requests for, and thats the vertical HTML indicator bar in kmail.\n
      \n
      Gnome on the other hand…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701364533 {#4462
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4457 …}
    +nested: Doctrine\ORM\PersistentCollection {#4455 …}
    +votes: Doctrine\ORM\PersistentCollection {#4453 …}
    +reports: Doctrine\ORM\PersistentCollection {#4469 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    -id: 183887
    -bodyTs: "'bar':43 'chang':30 'communiti':6,32 'develop':21 'drag':22 'exampl':15 'feet':24 'gnome':46 'hand':50 'help':7 'histori':18 'html':41 'indic':42 'kde':1,17 'kmail':45 'mud':27 'one':13 'pull':34 'recept':4 'request':35 'specif':14 'that':38 'think':11 'vertic':40 'wanted/submitted':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5699628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701364533 {#4465
      date: 2023-11-30 18:15:33.0 +01:00
    }
  }
  "level" => 6
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#10222
  +comment: App\Entity\EntryComment {#4467
    +user: Proxies\__CG__\App\Entity\User {#4459
      +avatar: Proxies\__CG__\App\Entity\Image {#9661 …}
      +cover: Proxies\__CG__\App\Entity\Image {#9663 …}
      +email: "semperverus@lemmy.world"
      +username: "@semperverus@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "`while(true){💩};`"
      +lastActive: DateTime @1728421496 {#9656
        date: 2024-10-08 23:04:56.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#9664 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9666 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#9668 …}
      +entries: Doctrine\ORM\PersistentCollection {#9670 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#9672 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#9674 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9676 …}
      +posts: Doctrine\ORM\PersistentCollection {#9678 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#9680 …}
      +postComments: Doctrine\ORM\PersistentCollection {#9682 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#9684 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#9686 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#9688 …}
      +follows: Doctrine\ORM\PersistentCollection {#9690 …}
      +followers: Doctrine\ORM\PersistentCollection {#9692 …}
      +blocks: Doctrine\ORM\PersistentCollection {#9694 …}
      +blockers: Doctrine\ORM\PersistentCollection {#9696 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#9698 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#9700 …}
      +reports: Doctrine\ORM\PersistentCollection {#9702 …}
      +favourites: Doctrine\ORM\PersistentCollection {#9704 …}
      +violations: Doctrine\ORM\PersistentCollection {#9706 …}
      +notifications: Doctrine\ORM\PersistentCollection {#9708 …}
      +awards: Doctrine\ORM\PersistentCollection {#9710 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#9712 …}
      +categories: Doctrine\ORM\PersistentCollection {#9714 …}
      -id: 32957
      -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9716 …}
      +apId: "semperverus@lemmy.world"
      +apProfileId: "https://lemmy.world/u/semperverus"
      +apPublicUrl: "https://lemmy.world/u/semperverus"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "semperverus"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729530949 {#9653
        date: 2024-10-21 19:15:49.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689984852 {#9655
        date: 2023-07-22 02:14:12.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: null
        +email: "ademir@lemmy.eco.br"
        +username: "@ademir@lemmy.eco.br"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
        +lastActive: DateTime @1728806437 {#1536
          date: 2024-10-13 10:00:37.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
        +entries: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
        +posts: Doctrine\ORM\PersistentCollection {#1745 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
        +follows: Doctrine\ORM\PersistentCollection {#1409 …}
        +followers: Doctrine\ORM\PersistentCollection {#1624 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
        +reports: Doctrine\ORM\PersistentCollection {#1416 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
        +violations: Doctrine\ORM\PersistentCollection {#1694 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
        +awards: Doctrine\ORM\PersistentCollection {#1434 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
        +categories: Doctrine\ORM\PersistentCollection {#1640 …}
        -id: 41649
        -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
        +apId: "ademir@lemmy.eco.br"
        +apProfileId: "https://lemmy.eco.br/u/ademir"
        +apPublicUrl: "https://lemmy.eco.br/u/ademir"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.eco.br/inbox"
        +apDomain: "lemmy.eco.br"
        +apPreferredUsername: "ademir"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1728744384 {#1515
          date: 2024-10-12 16:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1692553876 {#1516
          date: 2023-08-20 19:51:16.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Add-YOUR-city-to-the-Gnome-weather-app-Solved"
      +title: "Add YOUR city to the Gnome weather app [Solved]"
      +url: null
      +body: """
        cross-posted from: [!linux@lemmy.eco.br](/c/linux@lemmy.eco.br) | [lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)\n
        \n
        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](https://apps.gnome.org/Weather/) program.\n
        \n
        I looked for solutions several times and never found them, until I found [this thread](https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885) yesterday. That the user [Julian](https://gitlab.gnome.org/julianfairfax) made a [script that solves this problem](https://gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads). you just have to run and enter the name of your city and then confirm.\n
        \n
        script`bash #!/bin/bash  if [[ ! -z “$(which gnome-weather)” ]]; then \tsystem=1 fi  if [[ ! -z “$(flatpak list | grep org.gnome.Weather)” ]]; then \tflatpak=1 fi  if [[ ! $system == 1 && ! $flatpak == 1 ]]; then \techo “GNOME Weather isn’t installed” \texit fi  if [[ ! -z “$*” ]]; then \tquery=“$*” else \tread -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 \techo “No locations found, consider removing some search terms” \texit 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 \techo “Not adding location” \texit else \techo “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 \tlocations=$(gsettings get org.gnome.Weather locations) fi  if [[ $flatpak == 1 ]]; then \tlocations=$(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 \tif [[ ! $(gsettings get org.gnome.Weather locations) == “@av []” ]]; then \t\tgsettings set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tgsettings set org.gnome.Weather locations “[$location]” \tfi fi  if [[ $flatpak == 1 ]]; then \tif [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == “@av []” ]]; then \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “$(echo $locations | sed “s|>]|>, $location]|”)” \telse \t\tflatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations “[$location]” \tfi fi  `\n
        \n
        ---\n
        \n
        It occurred to me that some people might not know how to run scripts, so here’s a brief tutorial:\n
        \n
        How to run scripts in Linux1. 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`
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 8
      +favouriteCount: 52
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1701364533 {#2410
        date: 2023-11-30 18:15:33.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: [
        "@a"
        "@av"
      ]
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 18263
      -titleTs: "'add':1 'app':8 'citi':3 'gnome':6 'solv':9 'weather':7"
      -bodyTs: "'/bin/bash':97 '/c/linux':6 '/details.php?place_id=$id&format=json':238 '/g':159 '/gnome/gnome-weather/-/issues/247#note_1819885)':61 '/julianfairfax)':69 '/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':79 '/post/1969330](https://lemmy.eco.br/post/1969330)':10 '/script.sh':431 '/search?q=$query&format=json&limit=1':164 '/weather/)':42 '1':106,116,120,122,277,287,310,338 '10':18 '180':256,271 '2':301,415 '3':423 '3.141592654':257,272 'ad':191,217,222 'add':148,200 'alway':22 'answer':210,212 'apps.gnome.org':41 'apps.gnome.org/weather/)':40 'av':317,349 'bash':96 'bc':258,273 'bother':23 'brief':394 'chmod':419 'citi':27,91 'click':429 'command':292,343,353,367 'confirm':94 'consid':173,190 'cross':2 'cross-post':1 'curl':161,235 'dd':307 'display':205 'doubl':428 'echo':124,155,169,201,215,221,226,246,254,261,269,323,359 'els':136,220,328,364 'enter':86 'execut':417 'exit':130,178,219 'extens':414 'fals':303 'fi':107,117,131,153,179,224,284,298,334,335,374,375 'file':408 'flatpak':110,115,121,286,290,337,341,351,365 'found':36,52,56,172 'get':281,295,314,346 'gitlab.com':78 'gitlab.com/julianfairfax/scripts/-/blob/main/add-location-to-gnome-weather.sh?ref_type=heads).':77 'gitlab.gnome.org':60,68 'gitlab.gnome.org/gnome/gnome-weather/-/issues/247#note_1819885)':59 'gitlab.gnome.org/julianfairfax)':67 'gnome':15,102,125,150 'gnome-weath':101 'grep':112 'gset':280,293,313,319,329,344,354,368 'id':225,231 'inhabit':33 'instal':129 'isn':127 'julian':66 'know':385 'l':259,274 'lat':245,250,253,255,304 'lemmy.eco.br':7,9 'lemmy.eco.br/post/1969330](https://lemmy.eco.br/post/1969330)':8 'linux1':401 'linux@lemmy.eco.br':5 'list':111 'locat':144,171,187,218,223,279,283,289,297,299,316,322,324,327,332,333,348,358,360,363,372,373 'lon':260,265,268,270,305 'look':45 'made':70 'might':383 'million':32 'month':19 'name':88,141,206,234,242,302 'never':51 'nominatim.openstreetmap.org':163,237 'nominatim.openstreetmap.org/details.php?place_id=$id&format=json':236 'nominatim.openstreetmap.org/search?q=$query&format=json&limit=1':162 'occur':377 'org.gnome.weather':113,282,294,296,315,321,331,345,347,355,357,369,371 'p':138,181 'peopl':382 'permiss':418 'place':230 'post':3 'problem':76 'program':43 'provid':416 'queri':135,152,154,156 'read':137,180 'remov':174 'request':160,167,202,227,247,262 'run':84,291,342,352,366,388,398,424 'save':402,410 'script':72,95,389,399,404,426 'script.sh':422 'search':176,192 'sed':157,203,207,228,232,240,243,248,251,263,266,325,361 'set':320,330,356,370 'sever':48 'sh':413 'solut':47 'solv':74 'sure':196 'system':105,119,276,309 'term':177,193 'text':407 'thread':58 'time':49 'tutori':395 'type':139 'u':420 'uint32':300 'use':14 'user':65 've':12 'want':146,189,198 'weather':39,103,126,151 'x':421 'y':213 'y/n':209 'yesterday':62 'z':99,109,133"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1701367347
      +visibility: "visible             "
      +apId: "https://lemmy.eco.br/post/1973179"
      +editedAt: DateTimeImmutable @1702191218 {#1850
        date: 2023-12-10 07:53:38.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701280947 {#2420
        date: 2023-11-29 19:02:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4445
      +user: App\Entity\User {#4286
        +avatar: null
        +cover: null
        +email: "stepanzak@iusearchlinux.fyi"
        +username: "@stepanzak@iusearchlinux.fyi"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1711994921 {#4270
          date: 2024-04-01 20:08:41.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4287 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4289 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4291 …}
        +entries: Doctrine\ORM\PersistentCollection {#4293 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4295 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4297 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4299 …}
        +posts: Doctrine\ORM\PersistentCollection {#4301 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4303 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4305 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4307 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4309 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4311 …}
        +follows: Doctrine\ORM\PersistentCollection {#4313 …}
        +followers: Doctrine\ORM\PersistentCollection {#4315 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4317 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4319 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4321 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4323 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +violations: Doctrine\ORM\PersistentCollection {#4329 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4331 …}
        +awards: Doctrine\ORM\PersistentCollection {#4333 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4335 …}
        +categories: Doctrine\ORM\PersistentCollection {#4337 …}
        -id: 46742
        -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …}
        +apId: "stepanzak@iusearchlinux.fyi"
        +apProfileId: "https://iusearchlinux.fyi/u/stepanzak"
        +apPublicUrl: "https://iusearchlinux.fyi/u/stepanzak"
        +apFollowersUrl: null
        +apInboxUrl: "https://iusearchlinux.fyi/inbox"
        +apDomain: "iusearchlinux.fyi"
        +apPreferredUsername: "stepanzak"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1711684967 {#4271
          date: 2024-03-29 05:02:47.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1695400250 {#4272
          date: 2023-09-22 18:30:50.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4423
        +user: App\Entity\User {#4211
          +avatar: Proxies\__CG__\App\Entity\Image {#4212 …}
          +cover: null
          +email: "DangerousInternet@lemmy.world"
          +username: "@DangerousInternet@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1710465993 {#4195
            date: 2024-03-15 02:26:33.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4213 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4215 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4217 …}
          +entries: Doctrine\ORM\PersistentCollection {#4219 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4221 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4223 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4225 …}
          +posts: Doctrine\ORM\PersistentCollection {#4227 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4229 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4231 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4233 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4235 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4237 …}
          +follows: Doctrine\ORM\PersistentCollection {#4239 …}
          +followers: Doctrine\ORM\PersistentCollection {#4241 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4243 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4245 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4247 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +violations: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          +awards: Doctrine\ORM\PersistentCollection {#4259 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4261 …}
          +categories: Doctrine\ORM\PersistentCollection {#4263 …}
          -id: 81735
          -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4265 …}
          +apId: "DangerousInternet@lemmy.world"
          +apProfileId: "https://lemmy.world/u/DangerousInternet"
          +apPublicUrl: "https://lemmy.world/u/DangerousInternet"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "DangerousInternet"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1710036108 {#4196
            date: 2024-03-10 03:01:48.0 +01:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1702243219 {#4197
            date: 2023-12-10 22:20:19.0 +01:00
          }
        }
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4394
          +user: App\Entity\User {#4286}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4353
            +user: Proxies\__CG__\App\Entity\User {#4356
              +avatar: null
              +cover: null
              +email: "turbowafflz@lemmy.world"
              +username: "@turbowafflz@lemmy.world"
              +roles: []
              +followersCount: 0
              +homepage: "front"
              +about: null
              +lastActive: DateTime @1729399119 {#7373
                date: 2024-10-20 06:38:39.0 +02:00
              }
              +markedForDeletionAt: null
              +fields: null
              +oauthGithubId: null
              +oauthGoogleId: null
              +oauthFacebookId: null
              +oauthKeycloakId: null
              +hideAdult: true
              +showSubscribedUsers: true
              +showSubscribedMagazines: true
              +showSubscribedDomains: true
              +preferredLanguages: []
              +featuredMagazines: null
              +showProfileSubscriptions: false
              +showProfileFollowings: true
              +markNewComments: false
              +notifyOnNewEntry: false
              +notifyOnNewEntryReply: true
              +notifyOnNewEntryCommentReply: true
              +notifyOnNewPost: false
              +notifyOnNewPostReply: true
              +notifyOnNewPostCommentReply: true
              +addMentionsEntries: false
              +addMentionsPosts: true
              +isBanned: false
              +isVerified: false
              +isDeleted: false
              +isBot: false
              +spamProtection: true
              +customCss: null
              +ignoreMagazinesCustomCss: false
              +moderatorTokens: Doctrine\ORM\PersistentCollection {#7386 …}
              +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7389 …}
              +moderatorRequests: Doctrine\ORM\PersistentCollection {#7391 …}
              +entries: Doctrine\ORM\PersistentCollection {#7393 …}
              +entryVotes: Doctrine\ORM\PersistentCollection {#7395 …}
              +entryComments: Doctrine\ORM\PersistentCollection {#7397 …}
              +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7399 …}
              +posts: Doctrine\ORM\PersistentCollection {#7401 …}
              +postVotes: Doctrine\ORM\PersistentCollection {#7403 …}
              +postComments: Doctrine\ORM\PersistentCollection {#7405 …}
              +postCommentVotes: Doctrine\ORM\PersistentCollection {#7407 …}
              +subscriptions: Doctrine\ORM\PersistentCollection {#7409 …}
              +subscribedDomains: Doctrine\ORM\PersistentCollection {#7411 …}
              +follows: Doctrine\ORM\PersistentCollection {#7413 …}
              +followers: Doctrine\ORM\PersistentCollection {#7415 …}
              +blocks: Doctrine\ORM\PersistentCollection {#7417 …}
              +blockers: Doctrine\ORM\PersistentCollection {#7419 …}
              +blockedMagazines: Doctrine\ORM\PersistentCollection {#7421 …}
              +blockedDomains: Doctrine\ORM\PersistentCollection {#7423 …}
              +reports: Doctrine\ORM\PersistentCollection {#7425 …}
              +favourites: Doctrine\ORM\PersistentCollection {#7427 …}
              +violations: Doctrine\ORM\PersistentCollection {#7429 …}
              +notifications: Doctrine\ORM\PersistentCollection {#7431 …}
              +awards: Doctrine\ORM\PersistentCollection {#7433 …}
              +subscribedCategories: Doctrine\ORM\PersistentCollection {#7435 …}
              +categories: Doctrine\ORM\PersistentCollection {#7437 …}
              -id: 51764
              -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu"
              -totpSecret: null
              -totpBackupCodes: []
              -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7439 …}
              +apId: "turbowafflz@lemmy.world"
              +apProfileId: "https://lemmy.world/u/turbowafflz"
              +apPublicUrl: "https://lemmy.world/u/turbowafflz"
              +apFollowersUrl: null
              +apInboxUrl: "https://lemmy.world/inbox"
              +apDomain: "lemmy.world"
              +apPreferredUsername: "turbowafflz"
              +apDiscoverable: true
              +apManuallyApprovesFollowers: false
              +privateKey: null
              +publicKey: null
              +apFetchedAt: DateTime @1728612822 {#7257
                date: 2024-10-11 04:13:42.0 +02:00
              }
              +apDeletedAt: null
              +apTimeoutAt: null
              +visibility: "visible             "
              +createdAt: DateTimeImmutable @1696598050 {#7313
                date: 2023-10-06 15:14:10.0 +02:00
              }
              +__isInitialized__: true
               …2
            }
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4273
              +user: App\Entity\User {#4286}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "This is amazing! I’m not using Gnome, but moments like this are the reason why I love Linux so much."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 11
              +score: 0
              +lastActive: DateTime @1702481761 {#4267
                date: 2023-12-13 16:36:01.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@a"
                "@av"
                "@ademir@lemmy.eco.br"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4274 …}
              +nested: Doctrine\ORM\PersistentCollection {#4276 …}
              +votes: Doctrine\ORM\PersistentCollection {#4278 …}
              +reports: Doctrine\ORM\PersistentCollection {#4280 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4282 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4284 …}
              -id: 178454
              -bodyTs: "'amaz':3 'gnome':8 'like':11 'linux':19 'love':18 'm':5 'moment':10 'much':21 'reason':15 'use':7"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://iusearchlinux.fyi/comment/3833698"
              +editedAt: DateTimeImmutable @1702222871 {#4268
                date: 2023-12-10 16:41:11.0 +01:00
              }
              +createdAt: DateTimeImmutable @1701294191 {#4269
                date: 2023-11-29 22:43:11.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4273}
            +body: "As a gnome user and huge Linux enthusiast, this should not have to exist. Gnome weather is just badly designed"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 23
            +score: 0
            +lastActive: DateTime @1701298859 {#4352
              date: 2023-11-30 00:00:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@a"
              "@av"
              "@ademir@lemmy.eco.br"
              "@stepanzak@iusearchlinux.fyi"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4360 …}
            +nested: Doctrine\ORM\PersistentCollection {#4362 …}
            +votes: Doctrine\ORM\PersistentCollection {#4358 …}
            +reports: Doctrine\ORM\PersistentCollection {#4364 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
            -id: 178812
            -bodyTs: "'bad':19 'design':20 'enthusiast':8 'exist':14 'gnome':3,15 'huge':6 'linux':7 'user':4 'weather':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/5682084"
            +editedAt: null
            +createdAt: DateTimeImmutable @1701298859 {#4349
              date: 2023-11-30 00:00:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4273}
          +body: "Yeah, it’s a terrible thing that you have to do this to get your city into the weather app, but I simply love the fact that you **can** do that, whereas on some proprietary system, you might wait months for the fix."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 8
          +score: 0
          +lastActive: DateTime @1701334724 {#4391
            date: 2023-11-30 09:58:44.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@a"
            "@av"
            "@ademir@lemmy.eco.br"
            "@stepanzak@iusearchlinux.fyi"
            "@turbowafflz@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4397 …}
          +nested: Doctrine\ORM\PersistentCollection {#4399 …}
          +votes: Doctrine\ORM\PersistentCollection {#4395 …}
          +reports: Doctrine\ORM\PersistentCollection {#4402 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4404 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4406 …}
          -id: 180150
          -bodyTs: "'app':20 'citi':16 'fact':26 'fix':43 'get':14 'love':24 'might':38 'month':40 'proprietari':35 'simpli':23 'system':36 'terribl':5 'thing':6 'wait':39 'weather':19 'wherea':32 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://iusearchlinux.fyi/comment/3843159"
          +editedAt: DateTimeImmutable @1702321773 {#4388
            date: 2023-12-11 20:09:33.0 +01:00
          }
          +createdAt: DateTimeImmutable @1701334724 {#4386
            date: 2023-11-30 09:58:44.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4273}
        +body: "Actually GNOME devs can not fix it for several years! Now they say our app is good and the problem is some library is bad (why use it than?) and people do not contribute submitting their cities either (they added some cities years ago, and than just ignored all submitted cities further). Open software is about ‘make a commit to fix it yourself!’… Yep that’s how it is."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1701343008 {#4418
          date: 2023-11-30 12:16:48.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@a"
          "@av"
          "@ademir@lemmy.eco.br"
          "@stepanzak@iusearchlinux.fyi"
          "@turbowafflz@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4415 …}
        +nested: Doctrine\ORM\PersistentCollection {#4412 …}
        +votes: Doctrine\ORM\PersistentCollection {#4410 …}
        +reports: Doctrine\ORM\PersistentCollection {#4424 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4426 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4428 …}
        -id: 180440
        -bodyTs: "'actual':1 'ad':40 'ago':44 'app':15 'bad':25 'citi':37,42,51 'commit':59 'contribut':34 'dev':3 'either':38 'fix':6,61 'gnome':2 'good':17 'ignor':48 'librari':23 'make':57 'open':53 'peopl':31 'problem':20 'say':13 'sever':9 'softwar':54 'submit':35,50 'use':27 'year':10,43 'yep':64"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "soft_deleted        "
        +apId: "https://lemmy.world/comment/5693007"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701343008 {#4421
          date: 2023-11-30 12:16:48.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4273}
      +body: "My happiness is ruined :("
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1701347225 {#4440
        date: 2023-11-30 13:27:05.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@a"
        "@av"
        "@ademir@lemmy.eco.br"
        "@stepanzak@iusearchlinux.fyi"
        "@turbowafflz@lemmy.world"
        "@DangerousInternet@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4437 …}
      +nested: Doctrine\ORM\PersistentCollection {#4434 …}
      +votes: Doctrine\ORM\PersistentCollection {#4432 …}
      +reports: Doctrine\ORM\PersistentCollection {#4446 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
      -id: 180602
      -bodyTs: "'happi':2 'ruin':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://iusearchlinux.fyi/comment/3845175"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701347225 {#4443
        date: 2023-11-30 13:27:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4273}
    +body: """
      KDE is very receptive to community help! I can only think of one specific example in KDE history where a developer dragged their feet in the mud about a change the community wanted/submitted pull requests for, and thats the vertical HTML indicator bar in kmail.\n
      \n
      Gnome on the other hand…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701364533 {#4462
      date: 2023-11-30 18:15:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@a"
      "@av"
      "@ademir@lemmy.eco.br"
      "@stepanzak@iusearchlinux.fyi"
      "@turbowafflz@lemmy.world"
      "@DangerousInternet@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4457 …}
    +nested: Doctrine\ORM\PersistentCollection {#4455 …}
    +votes: Doctrine\ORM\PersistentCollection {#4453 …}
    +reports: Doctrine\ORM\PersistentCollection {#4469 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    -id: 183887
    -bodyTs: "'bar':43 'chang':30 'communiti':6,32 'develop':21 'drag':22 'exampl':15 'feet':24 'gnome':46 'hand':50 'help':7 'histori':18 'html':41 'indic':42 'kde':1,17 'kmail':45 'mud':27 'one':13 'pull':34 'recept':4 'request':35 'specif':14 'that':38 'think':11 'vertic':40 'wanted/submitted':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5699628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701364533 {#4465
      date: 2023-11-30 18:15:33.0 +01:00
    }
  }
  +nestedComments: []
  +level: 6
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 0.31 ms
Input props
[
  "label" => "Sidebar position"
  "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION"
  "values" => [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  "defaultValue" => "RIGHT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#10397
  +label: "Sidebar position"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION"
  +values: [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  +defaultValue: "RIGHT"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.25 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#10461
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.20 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#10526
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.17 ms
Input props
[
  "label" => "Infinite scrolling"
  "help" => "Automatically load more content when you reach the bottom of the page."
  "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#10582
  +label: "Infinite scrolling"
  +help: "Automatically load more content when you reach the bottom of the page."
  +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.17 ms
Input props
[
  "label" => "Sticky navbar"
  "help" => "The navbar will stick to the top of the page when you scroll down."
  "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#10641
  +label: "Sticky navbar"
  +help: "The navbar will stick to the top of the page when you scroll down."
  +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#10697
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.17 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#10753
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.31 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#10811
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.18 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#10874
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.23 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#10932
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.20 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#10988
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.13 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#11044
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.21 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11100
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11156
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.16 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11212
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11268
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.13 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11324
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11380
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_POSTS_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11436
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 0.15 ms
Input props
[
  "label" => "Comment reply position"
  "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION"
  "values" => [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  "defaultValue" => "TOP"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#11492
  +label: "Comment reply position"
  +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  +settingsKey: "KBIN_COMMENTS_REPLY_POSITION"
  +values: [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  +defaultValue: "TOP"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.13 ms
Input props
[
  "label" => "Show Comment Avatars"
  "help" => "Display/hide user avatars when viewing comments on a single thread or post."
  "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11550
  +label: "Show Comment Avatars"
  +help: "Display/hide user avatars when viewing comments on a single thread or post."
  +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR"
  +defaultValue: true
  +reloadRequired: true
}
user_actions App\Twig\Components\UserActionsComponent 12.0 MiB 0.47 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: null
    +email: "ademir@lemmy.eco.br"
    +username: "@ademir@lemmy.eco.br"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
    +lastActive: DateTime @1728806437 {#1536
      date: 2024-10-13 10:00:37.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
    +entries: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
    +posts: Doctrine\ORM\PersistentCollection {#1745 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
    +follows: Doctrine\ORM\PersistentCollection {#1409 …}
    +followers: Doctrine\ORM\PersistentCollection {#1624 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
    +reports: Doctrine\ORM\PersistentCollection {#1416 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
    +violations: Doctrine\ORM\PersistentCollection {#1694 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
    +awards: Doctrine\ORM\PersistentCollection {#1434 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
    +categories: Doctrine\ORM\PersistentCollection {#1640 …}
    -id: 41649
    -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
    +apId: "ademir@lemmy.eco.br"
    +apProfileId: "https://lemmy.eco.br/u/ademir"
    +apPublicUrl: "https://lemmy.eco.br/u/ademir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.eco.br/inbox"
    +apDomain: "lemmy.eco.br"
    +apPreferredUsername: "ademir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728744384 {#1515
      date: 2024-10-12 16:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692553876 {#1516
      date: 2023-08-20 19:51:16.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#11628
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: null
    +email: "ademir@lemmy.eco.br"
    +username: "@ademir@lemmy.eco.br"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![Tux](https://emoji.redditmedia.com/7dvxk57pqpr11_t5_2qh1a/linux "tux")"
    +lastActive: DateTime @1728806437 {#1536
      date: 2024-10-13 10:00:37.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1519 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1623 …}
    +entries: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1474 …}
    +posts: Doctrine\ORM\PersistentCollection {#1745 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1485 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1759 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1637 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1475 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1636 …}
    +follows: Doctrine\ORM\PersistentCollection {#1409 …}
    +followers: Doctrine\ORM\PersistentCollection {#1624 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1441 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1460 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1439 …}
    +reports: Doctrine\ORM\PersistentCollection {#1416 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1430 …}
    +violations: Doctrine\ORM\PersistentCollection {#1694 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1700 …}
    +awards: Doctrine\ORM\PersistentCollection {#1434 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1610 …}
    +categories: Doctrine\ORM\PersistentCollection {#1640 …}
    -id: 41649
    -password: "$2y$13$m2eeeY9v28rX6L.PVA37.eOwnQa.a.wWvEm8IJ6LhMru1YvPIqq7S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1669 …}
    +apId: "ademir@lemmy.eco.br"
    +apProfileId: "https://lemmy.eco.br/u/ademir"
    +apPublicUrl: "https://lemmy.eco.br/u/ademir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.eco.br/inbox"
    +apDomain: "lemmy.eco.br"
    +apPreferredUsername: "ademir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728744384 {#1515
      date: 2024-10-12 16:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692553876 {#1516
      date: 2023-08-20 19:51:16.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
}
date App\Twig\Components\DateComponent 12.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1701280947 {#2420
    date: 2023-11-29 19:02:27.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#11689
  +date: DateTimeImmutable @1701280947 {#2420
    date: 2023-11-29 19:02:27.0 +01:00
  }
}
magazine_box App\Twig\Components\MagazineBoxComponent 12.0 MiB 8.86 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  "showSectionTitle" => true
]
Attributes
[]
Component
App\Twig\Components\MagazineBoxComponent {#11745
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +showCover: true
  +showDescription: true
  +showRules: true
  +showSubscribeButton: true
  +showInfo: true
  +showMeta: true
  +showSectionTitle: true
  +stretchedLink: true
}
magazine_sub App\Twig\Components\MagazineSubComponent 12.0 MiB 0.49 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineSubComponent {#11803
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
}
date App\Twig\Components\DateComponent 12.0 MiB 0.21 ms
Input props
[
  "date" => DateTimeImmutable @1698929468 {#272
    date: 2023-11-02 13:51:08.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#11977
  +date: DateTimeImmutable @1698929468 {#272
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.54 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#12036
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#12083
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#12085 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12087 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#12089 …}
    +entries: Doctrine\ORM\PersistentCollection {#12091 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#12093 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#12095 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12097 …}
    +posts: Doctrine\ORM\PersistentCollection {#12099 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#12101 …}
    +postComments: Doctrine\ORM\PersistentCollection {#12103 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#12105 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#12107 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#12109 …}
    +follows: Doctrine\ORM\PersistentCollection {#12111 …}
    +followers: Doctrine\ORM\PersistentCollection {#12113 …}
    +blocks: Doctrine\ORM\PersistentCollection {#12115 …}
    +blockers: Doctrine\ORM\PersistentCollection {#12117 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#12119 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#12121 …}
    +reports: Doctrine\ORM\PersistentCollection {#12123 …}
    +favourites: Doctrine\ORM\PersistentCollection {#12125 …}
    +violations: Doctrine\ORM\PersistentCollection {#12127 …}
    +notifications: Doctrine\ORM\PersistentCollection {#12129 …}
    +awards: Doctrine\ORM\PersistentCollection {#12131 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#12133 …}
    +categories: Doctrine\ORM\PersistentCollection {#12135 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12137 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#12084
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#12054
  +user: Proxies\__CG__\App\Entity\User {#12036
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#12083
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#12085 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12087 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#12089 …}
    +entries: Doctrine\ORM\PersistentCollection {#12091 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#12093 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#12095 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12097 …}
    +posts: Doctrine\ORM\PersistentCollection {#12099 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#12101 …}
    +postComments: Doctrine\ORM\PersistentCollection {#12103 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#12105 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#12107 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#12109 …}
    +follows: Doctrine\ORM\PersistentCollection {#12111 …}
    +followers: Doctrine\ORM\PersistentCollection {#12113 …}
    +blocks: Doctrine\ORM\PersistentCollection {#12115 …}
    +blockers: Doctrine\ORM\PersistentCollection {#12117 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#12119 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#12121 …}
    +reports: Doctrine\ORM\PersistentCollection {#12123 …}
    +favourites: Doctrine\ORM\PersistentCollection {#12125 …}
    +violations: Doctrine\ORM\PersistentCollection {#12127 …}
    +notifications: Doctrine\ORM\PersistentCollection {#12129 …}
    +awards: Doctrine\ORM\PersistentCollection {#12131 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#12133 …}
    +categories: Doctrine\ORM\PersistentCollection {#12135 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12137 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#12084
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: true
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 14.0 MiB 6.51 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#12245
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +title: "related_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#334 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 14.0 MiB 256.23 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#12371
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  -userRepository: App\Repository\UserRepository {#603 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.63 ms
Input props
[
  "user" => App\Entity\User {#13666
    +avatar: Proxies\__CG__\App\Entity\Image {#13667 …}
    +cover: null
    +email: "JRepin@lemmy.ml"
    +username: "@JRepin@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Digital and software freedom/rights advocate from Slovenia, Europe. Also a member of the Pirate party. You can find me on Mastodon: [@JRepin@mstdn.io](https://mstdn.io/users/JRepin)"
    +lastActive: DateTime @1712118057 {#13663
      date: 2024-04-03 06:20:57.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13668 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13670 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13672 …}
    +entries: Doctrine\ORM\PersistentCollection {#13674 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13676 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13678 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13680 …}
    +posts: Doctrine\ORM\PersistentCollection {#13682 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13684 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13686 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13688 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13690 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13692 …}
    +follows: Doctrine\ORM\PersistentCollection {#13694 …}
    +followers: Doctrine\ORM\PersistentCollection {#13696 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13698 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13700 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13702 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13704 …}
    +reports: Doctrine\ORM\PersistentCollection {#13706 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13708 …}
    +violations: Doctrine\ORM\PersistentCollection {#13710 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13712 …}
    +awards: Doctrine\ORM\PersistentCollection {#13714 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13716 …}
    +categories: Doctrine\ORM\PersistentCollection {#13718 …}
    -id: 8432
    -password: "$2y$13$NkQPCf6y3ReJWEtJdwrqBOPCnmZ/MEweAXw5TwVva5EXpWpF3hwEG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13720 …}
    +apId: "JRepin@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/JRepin"
    +apPublicUrl: "https://lemmy.ml/u/JRepin"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "JRepin"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700420973 {#13664
      date: 2023-11-19 20:09:33.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687499209 {#13665
      date: 2023-06-23 07:46:49.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#12427
  +width: 65
  +height: 65
  +user: App\Entity\User {#13666
    +avatar: Proxies\__CG__\App\Entity\Image {#13667 …}
    +cover: null
    +email: "JRepin@lemmy.ml"
    +username: "@JRepin@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Digital and software freedom/rights advocate from Slovenia, Europe. Also a member of the Pirate party. You can find me on Mastodon: [@JRepin@mstdn.io](https://mstdn.io/users/JRepin)"
    +lastActive: DateTime @1712118057 {#13663
      date: 2024-04-03 06:20:57.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13668 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13670 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13672 …}
    +entries: Doctrine\ORM\PersistentCollection {#13674 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13676 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13678 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13680 …}
    +posts: Doctrine\ORM\PersistentCollection {#13682 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13684 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13686 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13688 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13690 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13692 …}
    +follows: Doctrine\ORM\PersistentCollection {#13694 …}
    +followers: Doctrine\ORM\PersistentCollection {#13696 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13698 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13700 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13702 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13704 …}
    +reports: Doctrine\ORM\PersistentCollection {#13706 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13708 …}
    +violations: Doctrine\ORM\PersistentCollection {#13710 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13712 …}
    +awards: Doctrine\ORM\PersistentCollection {#13714 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13716 …}
    +categories: Doctrine\ORM\PersistentCollection {#13718 …}
    -id: 8432
    -password: "$2y$13$NkQPCf6y3ReJWEtJdwrqBOPCnmZ/MEweAXw5TwVva5EXpWpF3hwEG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13720 …}
    +apId: "JRepin@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/JRepin"
    +apPublicUrl: "https://lemmy.ml/u/JRepin"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "JRepin"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700420973 {#13664
      date: 2023-11-19 20:09:33.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687499209 {#13665
      date: 2023-06-23 07:46:49.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.37 ms
Input props
[
  "user" => App\Entity\User {#12726
    +avatar: Proxies\__CG__\App\Entity\Image {#12725 …}
    +cover: null
    +email: "learnbyexample@programming.dev"
    +username: "@learnbyexample@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Interests: Regular Expressions, Linux CLI one-liners, Scripting Languages and Vim\n
      \n
      GitHub: [github.com/learnbyexample](https://github.com/learnbyexample)
      """
    +lastActive: DateTime @1722615549 {#12731
      date: 2024-08-02 18:19:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#12724 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12721 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13019 …}
    +entries: Doctrine\ORM\PersistentCollection {#13021 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13023 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13025 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13027 …}
    +posts: Doctrine\ORM\PersistentCollection {#13029 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13031 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13033 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13035 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13037 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13039 …}
    +follows: Doctrine\ORM\PersistentCollection {#13041 …}
    +followers: Doctrine\ORM\PersistentCollection {#13043 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13045 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13047 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13049 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13051 …}
    +reports: Doctrine\ORM\PersistentCollection {#13053 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13055 …}
    +violations: Doctrine\ORM\PersistentCollection {#13057 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13059 …}
    +awards: Doctrine\ORM\PersistentCollection {#13061 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13063 …}
    +categories: Doctrine\ORM\PersistentCollection {#13065 …}
    -id: 70667
    -password: "$2y$13$EFZjDVjmDtDatU64GaeF0ug3JHYN4QRqxGK/8n0dK86KON7nG/qfm"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13067 …}
    +apId: "learnbyexample@programming.dev"
    +apProfileId: "https://programming.dev/u/learnbyexample"
    +apPublicUrl: "https://programming.dev/u/learnbyexample"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "learnbyexample"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709834846 {#12732
      date: 2024-03-07 19:07:26.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699023828 {#12729
      date: 2023-11-03 16:03:48.0 +01:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7789
  +width: 65
  +height: 65
  +user: App\Entity\User {#12726
    +avatar: Proxies\__CG__\App\Entity\Image {#12725 …}
    +cover: null
    +email: "learnbyexample@programming.dev"
    +username: "@learnbyexample@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Interests: Regular Expressions, Linux CLI one-liners, Scripting Languages and Vim\n
      \n
      GitHub: [github.com/learnbyexample](https://github.com/learnbyexample)
      """
    +lastActive: DateTime @1722615549 {#12731
      date: 2024-08-02 18:19:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#12724 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12721 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13019 …}
    +entries: Doctrine\ORM\PersistentCollection {#13021 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13023 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13025 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13027 …}
    +posts: Doctrine\ORM\PersistentCollection {#13029 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13031 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13033 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13035 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13037 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13039 …}
    +follows: Doctrine\ORM\PersistentCollection {#13041 …}
    +followers: Doctrine\ORM\PersistentCollection {#13043 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13045 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13047 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13049 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13051 …}
    +reports: Doctrine\ORM\PersistentCollection {#13053 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13055 …}
    +violations: Doctrine\ORM\PersistentCollection {#13057 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13059 …}
    +awards: Doctrine\ORM\PersistentCollection {#13061 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13063 …}
    +categories: Doctrine\ORM\PersistentCollection {#13065 …}
    -id: 70667
    -password: "$2y$13$EFZjDVjmDtDatU64GaeF0ug3JHYN4QRqxGK/8n0dK86KON7nG/qfm"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13067 …}
    +apId: "learnbyexample@programming.dev"
    +apProfileId: "https://programming.dev/u/learnbyexample"
    +apPublicUrl: "https://programming.dev/u/learnbyexample"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "learnbyexample"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709834846 {#12732
      date: 2024-03-07 19:07:26.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699023828 {#12729
      date: 2023-11-03 16:03:48.0 +01:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.34 ms
Input props
[
  "user" => App\Entity\User {#13429
    +avatar: Proxies\__CG__\App\Entity\Image {#13430 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13431 …}
    +email: "shreddy_scientist@lemmy.ml"
    +username: "@shreddy_scientist@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "“I would rather have questions that can’t be answered than answers that can’t be questioned.” - Rich Feynman"
    +lastActive: DateTime @1729505448 {#13426
      date: 2024-10-21 12:10:48.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13432 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13434 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13436 …}
    +entries: Doctrine\ORM\PersistentCollection {#13438 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13440 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13442 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13444 …}
    +posts: Doctrine\ORM\PersistentCollection {#13446 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13448 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13450 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13452 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13454 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13456 …}
    +follows: Doctrine\ORM\PersistentCollection {#13458 …}
    +followers: Doctrine\ORM\PersistentCollection {#13460 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13464 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13466 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13468 …}
    +reports: Doctrine\ORM\PersistentCollection {#13470 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13472 …}
    +violations: Doctrine\ORM\PersistentCollection {#13474 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13476 …}
    +awards: Doctrine\ORM\PersistentCollection {#13478 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13480 …}
    +categories: Doctrine\ORM\PersistentCollection {#13482 …}
    -id: 6983
    -password: "$2y$13$4PRdzJWI4Ja4yR66YlROtOMz0ivb/GJ4BPgdGUMtiFfQU8YD2KzBa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13484 …}
    +apId: "shreddy_scientist@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/shreddy_scientist"
    +apPublicUrl: "https://lemmy.ml/u/shreddy_scientist"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "shreddy_scientist"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729582725 {#13427
      date: 2024-10-22 09:38:45.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687450530 {#13428
      date: 2023-06-22 18:15:30.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#10339
  +width: 65
  +height: 65
  +user: App\Entity\User {#13429
    +avatar: Proxies\__CG__\App\Entity\Image {#13430 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13431 …}
    +email: "shreddy_scientist@lemmy.ml"
    +username: "@shreddy_scientist@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "“I would rather have questions that can’t be answered than answers that can’t be questioned.” - Rich Feynman"
    +lastActive: DateTime @1729505448 {#13426
      date: 2024-10-21 12:10:48.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13432 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13434 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13436 …}
    +entries: Doctrine\ORM\PersistentCollection {#13438 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13440 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13442 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13444 …}
    +posts: Doctrine\ORM\PersistentCollection {#13446 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13448 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13450 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13452 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13454 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13456 …}
    +follows: Doctrine\ORM\PersistentCollection {#13458 …}
    +followers: Doctrine\ORM\PersistentCollection {#13460 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13464 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13466 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13468 …}
    +reports: Doctrine\ORM\PersistentCollection {#13470 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13472 …}
    +violations: Doctrine\ORM\PersistentCollection {#13474 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13476 …}
    +awards: Doctrine\ORM\PersistentCollection {#13478 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13480 …}
    +categories: Doctrine\ORM\PersistentCollection {#13482 …}
    -id: 6983
    -password: "$2y$13$4PRdzJWI4Ja4yR66YlROtOMz0ivb/GJ4BPgdGUMtiFfQU8YD2KzBa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13484 …}
    +apId: "shreddy_scientist@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/shreddy_scientist"
    +apPublicUrl: "https://lemmy.ml/u/shreddy_scientist"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "shreddy_scientist"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729582725 {#13427
      date: 2024-10-22 09:38:45.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687450530 {#13428
      date: 2023-06-22 18:15:30.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.34 ms
Input props
[
  "user" => App\Entity\User {#13965
    +avatar: Proxies\__CG__\App\Entity\Image {#13966 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13967 …}
    +email: "voxel@infosec.exchange"
    +username: "@voxel@infosec.exchange"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      A [#privacy](https://infosec.exchange/tags/privacy) 🕶️ and [#cybersecurity](https://infosec.exchange/tags/cybersecurity) 🛡️ focused Voxel :p You can find here all kinds of posts related to these topics 👀 You will sometimes also find post about my opinions, thoughs or other tech related stuff. :D\n
      \n
      If you wanna get in contact with me, just ask, I'm open for meeting new people 🤍\n
      \n
      ⚠️ No enter for threads.net users! ⚠️
      """
    +lastActive: DateTime @1726427025 {#13962
      date: 2024-09-15 21:03:45.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13968 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13970 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13972 …}
    +entries: Doctrine\ORM\PersistentCollection {#13974 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13976 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13978 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13980 …}
    +posts: Doctrine\ORM\PersistentCollection {#13982 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13984 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13986 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13988 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13990 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13992 …}
    +follows: Doctrine\ORM\PersistentCollection {#13994 …}
    +followers: Doctrine\ORM\PersistentCollection {#13996 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13998 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14000 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14002 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14004 …}
    +reports: Doctrine\ORM\PersistentCollection {#14006 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14008 …}
    +violations: Doctrine\ORM\PersistentCollection {#14010 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14012 …}
    +awards: Doctrine\ORM\PersistentCollection {#14014 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14016 …}
    +categories: Doctrine\ORM\PersistentCollection {#14018 …}
    -id: 53000
    -password: "$2y$13$pd7Up6WjCEl8oqexMRyMpOiVLvCy/dNuZRfIrsmSYPg42bruvRe9W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14020 …}
    +apId: "voxel@infosec.exchange"
    +apProfileId: "https://infosec.exchange/users/voxel"
    +apPublicUrl: "https://infosec.exchange/@voxel"
    +apFollowersUrl: "https://infosec.exchange/users/voxel/followers"
    +apInboxUrl: "https://infosec.exchange/inbox"
    +apDomain: "infosec.exchange"
    +apPreferredUsername: "voxel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1704403416 {#13963
      date: 2024-01-04 22:23:36.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696709863 {#13964
      date: 2023-10-07 22:17:43.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11843
  +width: 65
  +height: 65
  +user: App\Entity\User {#13965
    +avatar: Proxies\__CG__\App\Entity\Image {#13966 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13967 …}
    +email: "voxel@infosec.exchange"
    +username: "@voxel@infosec.exchange"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      A [#privacy](https://infosec.exchange/tags/privacy) 🕶️ and [#cybersecurity](https://infosec.exchange/tags/cybersecurity) 🛡️ focused Voxel :p You can find here all kinds of posts related to these topics 👀 You will sometimes also find post about my opinions, thoughs or other tech related stuff. :D\n
      \n
      If you wanna get in contact with me, just ask, I'm open for meeting new people 🤍\n
      \n
      ⚠️ No enter for threads.net users! ⚠️
      """
    +lastActive: DateTime @1726427025 {#13962
      date: 2024-09-15 21:03:45.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13968 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13970 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13972 …}
    +entries: Doctrine\ORM\PersistentCollection {#13974 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13976 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13978 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13980 …}
    +posts: Doctrine\ORM\PersistentCollection {#13982 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13984 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13986 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13988 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13990 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13992 …}
    +follows: Doctrine\ORM\PersistentCollection {#13994 …}
    +followers: Doctrine\ORM\PersistentCollection {#13996 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13998 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14000 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14002 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14004 …}
    +reports: Doctrine\ORM\PersistentCollection {#14006 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14008 …}
    +violations: Doctrine\ORM\PersistentCollection {#14010 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14012 …}
    +awards: Doctrine\ORM\PersistentCollection {#14014 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14016 …}
    +categories: Doctrine\ORM\PersistentCollection {#14018 …}
    -id: 53000
    -password: "$2y$13$pd7Up6WjCEl8oqexMRyMpOiVLvCy/dNuZRfIrsmSYPg42bruvRe9W"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14020 …}
    +apId: "voxel@infosec.exchange"
    +apProfileId: "https://infosec.exchange/users/voxel"
    +apPublicUrl: "https://infosec.exchange/@voxel"
    +apFollowersUrl: "https://infosec.exchange/users/voxel/followers"
    +apInboxUrl: "https://infosec.exchange/inbox"
    +apDomain: "infosec.exchange"
    +apPreferredUsername: "voxel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1704403416 {#13963
      date: 2024-01-04 22:23:36.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696709863 {#13964
      date: 2023-10-07 22:17:43.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 2.18 ms
Input props
[
  "user" => App\Entity\User {#14144
    +avatar: Proxies\__CG__\App\Entity\Image {#14145 …}
    +cover: Proxies\__CG__\App\Entity\Image {#14146 …}
    +email: "Corb_The_Lesser@mastodon.social"
    +username: "@Corb_The_Lesser@mastodon.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "So then I said, "Yes, Chicago is a great city for shopping, but, I'm sorry, I can't help you get a visa.""
    +lastActive: DateTime @1726425116 {#14141
      date: 2024-09-15 20:31:56.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14147 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14149 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14151 …}
    +entries: Doctrine\ORM\PersistentCollection {#14153 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14155 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14157 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14159 …}
    +posts: Doctrine\ORM\PersistentCollection {#14161 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14163 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14165 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14167 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14169 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14171 …}
    +follows: Doctrine\ORM\PersistentCollection {#14173 …}
    +followers: Doctrine\ORM\PersistentCollection {#14175 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14177 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14179 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14181 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14183 …}
    +reports: Doctrine\ORM\PersistentCollection {#14185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14187 …}
    +violations: Doctrine\ORM\PersistentCollection {#14189 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14191 …}
    +awards: Doctrine\ORM\PersistentCollection {#14193 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14195 …}
    +categories: Doctrine\ORM\PersistentCollection {#14197 …}
    -id: 92308
    -password: "$2y$13$AZBGI.sdFvoja2rrIGxGy.iccSYoSrb53Tt2OQybZPjOrqZXW63P."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14199 …}
    +apId: "Corb_The_Lesser@mastodon.social"
    +apProfileId: "https://mastodon.social/users/Corb_The_Lesser"
    +apPublicUrl: "https://mastodon.social/@Corb_The_Lesser"
    +apFollowersUrl: "https://mastodon.social/users/Corb_The_Lesser/followers"
    +apInboxUrl: "https://mastodon.social/inbox"
    +apDomain: "mastodon.social"
    +apPreferredUsername: "Corb_The_Lesser"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726414899 {#14142
      date: 2024-09-15 17:41:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1726414898 {#14143
      date: 2024-09-15 17:41:38.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#14393
  +width: 65
  +height: 65
  +user: App\Entity\User {#14144
    +avatar: Proxies\__CG__\App\Entity\Image {#14145 …}
    +cover: Proxies\__CG__\App\Entity\Image {#14146 …}
    +email: "Corb_The_Lesser@mastodon.social"
    +username: "@Corb_The_Lesser@mastodon.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "So then I said, "Yes, Chicago is a great city for shopping, but, I'm sorry, I can't help you get a visa.""
    +lastActive: DateTime @1726425116 {#14141
      date: 2024-09-15 20:31:56.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14147 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14149 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14151 …}
    +entries: Doctrine\ORM\PersistentCollection {#14153 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14155 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14157 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14159 …}
    +posts: Doctrine\ORM\PersistentCollection {#14161 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14163 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14165 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14167 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14169 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14171 …}
    +follows: Doctrine\ORM\PersistentCollection {#14173 …}
    +followers: Doctrine\ORM\PersistentCollection {#14175 …}
    +blocks: Doctrine\ORM\PersistentCollection {#14177 …}
    +blockers: Doctrine\ORM\PersistentCollection {#14179 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#14181 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#14183 …}
    +reports: Doctrine\ORM\PersistentCollection {#14185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#14187 …}
    +violations: Doctrine\ORM\PersistentCollection {#14189 …}
    +notifications: Doctrine\ORM\PersistentCollection {#14191 …}
    +awards: Doctrine\ORM\PersistentCollection {#14193 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#14195 …}
    +categories: Doctrine\ORM\PersistentCollection {#14197 …}
    -id: 92308
    -password: "$2y$13$AZBGI.sdFvoja2rrIGxGy.iccSYoSrb53Tt2OQybZPjOrqZXW63P."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#14199 …}
    +apId: "Corb_The_Lesser@mastodon.social"
    +apProfileId: "https://mastodon.social/users/Corb_The_Lesser"
    +apPublicUrl: "https://mastodon.social/@Corb_The_Lesser"
    +apFollowersUrl: "https://mastodon.social/users/Corb_The_Lesser/followers"
    +apInboxUrl: "https://mastodon.social/inbox"
    +apDomain: "mastodon.social"
    +apPreferredUsername: "Corb_The_Lesser"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726414899 {#14142
      date: 2024-09-15 17:41:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1726414898 {#14143
      date: 2024-09-15 17:41:38.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.30 ms
Input props
[
  "user" => App\Entity\User {#13905
    +avatar: Proxies\__CG__\App\Entity\Image {#13906 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13907 …}
    +email: "skullgiver@popplesburger.hilciferous.nl"
    +username: "@skullgiver@popplesburger.hilciferous.nl"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Giver of skulls\n
      \n
      ![Verified icon](https://popplesburger.hilciferous.nl/poc.png)
      """
    +lastActive: DateTime @1729447830 {#13902
      date: 2024-10-20 20:10:30.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13908 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13910 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13912 …}
    +entries: Doctrine\ORM\PersistentCollection {#13914 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13916 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13918 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13920 …}
    +posts: Doctrine\ORM\PersistentCollection {#13922 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13924 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13926 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13928 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13930 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13932 …}
    +follows: Doctrine\ORM\PersistentCollection {#13934 …}
    +followers: Doctrine\ORM\PersistentCollection {#13936 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13938 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13940 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13942 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13944 …}
    +reports: Doctrine\ORM\PersistentCollection {#13946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13948 …}
    +violations: Doctrine\ORM\PersistentCollection {#13950 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13952 …}
    +awards: Doctrine\ORM\PersistentCollection {#13954 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13956 …}
    +categories: Doctrine\ORM\PersistentCollection {#13958 …}
    -id: 141
    -password: "$2y$13$WNx1Bxmow68.X6L50T9Ex.e5g9dz3jvgk4/OA1Q5m2NxPCnyI.Q0C"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13960 …}
    +apId: "skullgiver@popplesburger.hilciferous.nl"
    +apProfileId: "https://popplesburger.hilciferous.nl/u/skullgiver"
    +apPublicUrl: "https://popplesburger.hilciferous.nl/u/skullgiver"
    +apFollowersUrl: null
    +apInboxUrl: "https://popplesburger.hilciferous.nl/inbox"
    +apDomain: "popplesburger.hilciferous.nl"
    +apPreferredUsername: "skullgiver"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729236319 {#13903
      date: 2024-10-18 09:25:19.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686730951 {#13904
      date: 2023-06-14 10:22:31.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#14456
  +width: 65
  +height: 65
  +user: App\Entity\User {#13905
    +avatar: Proxies\__CG__\App\Entity\Image {#13906 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13907 …}
    +email: "skullgiver@popplesburger.hilciferous.nl"
    +username: "@skullgiver@popplesburger.hilciferous.nl"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Giver of skulls\n
      \n
      ![Verified icon](https://popplesburger.hilciferous.nl/poc.png)
      """
    +lastActive: DateTime @1729447830 {#13902
      date: 2024-10-20 20:10:30.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13908 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13910 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13912 …}
    +entries: Doctrine\ORM\PersistentCollection {#13914 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13916 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13918 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13920 …}
    +posts: Doctrine\ORM\PersistentCollection {#13922 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13924 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13926 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13928 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13930 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13932 …}
    +follows: Doctrine\ORM\PersistentCollection {#13934 …}
    +followers: Doctrine\ORM\PersistentCollection {#13936 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13938 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13940 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13942 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13944 …}
    +reports: Doctrine\ORM\PersistentCollection {#13946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13948 …}
    +violations: Doctrine\ORM\PersistentCollection {#13950 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13952 …}
    +awards: Doctrine\ORM\PersistentCollection {#13954 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13956 …}
    +categories: Doctrine\ORM\PersistentCollection {#13958 …}
    -id: 141
    -password: "$2y$13$WNx1Bxmow68.X6L50T9Ex.e5g9dz3jvgk4/OA1Q5m2NxPCnyI.Q0C"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13960 …}
    +apId: "skullgiver@popplesburger.hilciferous.nl"
    +apProfileId: "https://popplesburger.hilciferous.nl/u/skullgiver"
    +apPublicUrl: "https://popplesburger.hilciferous.nl/u/skullgiver"
    +apFollowersUrl: null
    +apInboxUrl: "https://popplesburger.hilciferous.nl/inbox"
    +apDomain: "popplesburger.hilciferous.nl"
    +apPreferredUsername: "skullgiver"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729236319 {#13903
      date: 2024-10-18 09:25:19.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686730951 {#13904
      date: 2023-06-14 10:22:31.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.28 ms
Input props
[
  "user" => App\Entity\User {#13725
    +avatar: Proxies\__CG__\App\Entity\Image {#13726 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13727 …}
    +email: "spiritedpause@fosstodon.org"
    +username: "@spiritedpause@fosstodon.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      ☦️💻⚽🏥📷📈💪🏄☕️🇺🇸🇪🇬\n
      \n
      Software Engineer by day, aspiring beet farmer by night.\n
      \n
      Things I like:   \n
      - [#P2P](https://fosstodon.org/tags/P2P)/#opensource  \n
      - [#History](https://fosstodon.org/tags/History) (esp Rome/Greece/Egypt)   \n
      - [#Transit](https://fosstodon.org/tags/Transit) oriented city design   \n
      - [#electricvehicles](https://fosstodon.org/tags/electricvehicles) / [#SolarPower](https://fosstodon.org/tags/SolarPower)   \n
      - [#Space](https://fosstodon.org/tags/Space) exploration   \n
      - [#VideoGames](https://fosstodon.org/tags/VideoGames) (especially [#GTA](https://fosstodon.org/tags/GTA))\n
      \n
      Things I've Built:   \n
      - Agora: Follow your favorite topics across multiple protocols =&gt; <https://agorasocial.app>   \n
      - Primus News: Actionable news, directly from the source =&gt; <https://primus.news>
      """
    +lastActive: DateTime @1729137337 {#13722
      date: 2024-10-17 05:55:37.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13728 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13730 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13732 …}
    +entries: Doctrine\ORM\PersistentCollection {#13734 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13736 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13738 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13740 …}
    +posts: Doctrine\ORM\PersistentCollection {#13742 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13744 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13746 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13748 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13750 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13752 …}
    +follows: Doctrine\ORM\PersistentCollection {#13754 …}
    +followers: Doctrine\ORM\PersistentCollection {#13756 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13758 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13760 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13762 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13764 …}
    +reports: Doctrine\ORM\PersistentCollection {#13766 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13768 …}
    +violations: Doctrine\ORM\PersistentCollection {#13770 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13772 …}
    +awards: Doctrine\ORM\PersistentCollection {#13774 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13776 …}
    +categories: Doctrine\ORM\PersistentCollection {#13778 …}
    -id: 83179
    -password: "$2y$13$VKpAx5QhOiz5gxPokzwjJ.4U8LhCYmfcwWZZRmfnedKvSGHAZo.SK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13780 …}
    +apId: "spiritedpause@fosstodon.org"
    +apProfileId: "https://fosstodon.org/users/spiritedpause"
    +apPublicUrl: "https://fosstodon.org/@spiritedpause"
    +apFollowersUrl: "https://fosstodon.org/users/spiritedpause/followers"
    +apInboxUrl: "https://fosstodon.org/inbox"
    +apDomain: "fosstodon.org"
    +apPreferredUsername: "spiritedpause"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: true
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1702967865 {#13723
      date: 2023-12-19 07:37:45.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1702967864 {#13724
      date: 2023-12-19 07:37:44.0 +01:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#14513
  +width: 65
  +height: 65
  +user: App\Entity\User {#13725
    +avatar: Proxies\__CG__\App\Entity\Image {#13726 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13727 …}
    +email: "spiritedpause@fosstodon.org"
    +username: "@spiritedpause@fosstodon.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      ☦️💻⚽🏥📷📈💪🏄☕️🇺🇸🇪🇬\n
      \n
      Software Engineer by day, aspiring beet farmer by night.\n
      \n
      Things I like:   \n
      - [#P2P](https://fosstodon.org/tags/P2P)/#opensource  \n
      - [#History](https://fosstodon.org/tags/History) (esp Rome/Greece/Egypt)   \n
      - [#Transit](https://fosstodon.org/tags/Transit) oriented city design   \n
      - [#electricvehicles](https://fosstodon.org/tags/electricvehicles) / [#SolarPower](https://fosstodon.org/tags/SolarPower)   \n
      - [#Space](https://fosstodon.org/tags/Space) exploration   \n
      - [#VideoGames](https://fosstodon.org/tags/VideoGames) (especially [#GTA](https://fosstodon.org/tags/GTA))\n
      \n
      Things I've Built:   \n
      - Agora: Follow your favorite topics across multiple protocols =&gt; <https://agorasocial.app>   \n
      - Primus News: Actionable news, directly from the source =&gt; <https://primus.news>
      """
    +lastActive: DateTime @1729137337 {#13722
      date: 2024-10-17 05:55:37.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13728 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13730 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13732 …}
    +entries: Doctrine\ORM\PersistentCollection {#13734 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13736 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13738 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13740 …}
    +posts: Doctrine\ORM\PersistentCollection {#13742 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13744 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13746 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13748 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13750 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13752 …}
    +follows: Doctrine\ORM\PersistentCollection {#13754 …}
    +followers: Doctrine\ORM\PersistentCollection {#13756 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13758 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13760 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13762 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13764 …}
    +reports: Doctrine\ORM\PersistentCollection {#13766 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13768 …}
    +violations: Doctrine\ORM\PersistentCollection {#13770 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13772 …}
    +awards: Doctrine\ORM\PersistentCollection {#13774 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13776 …}
    +categories: Doctrine\ORM\PersistentCollection {#13778 …}
    -id: 83179
    -password: "$2y$13$VKpAx5QhOiz5gxPokzwjJ.4U8LhCYmfcwWZZRmfnedKvSGHAZo.SK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13780 …}
    +apId: "spiritedpause@fosstodon.org"
    +apProfileId: "https://fosstodon.org/users/spiritedpause"
    +apPublicUrl: "https://fosstodon.org/@spiritedpause"
    +apFollowersUrl: "https://fosstodon.org/users/spiritedpause/followers"
    +apInboxUrl: "https://fosstodon.org/inbox"
    +apDomain: "fosstodon.org"
    +apPreferredUsername: "spiritedpause"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: true
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1702967865 {#13723
      date: 2023-12-19 07:37:45.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1702967864 {#13724
      date: 2023-12-19 07:37:44.0 +01:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.29 ms
Input props
[
  "user" => App\Entity\User {#14324
    +avatar: Proxies\__CG__\App\Entity\Image {#14325 …}
    +cover: null
    +email: "leo@lemmy.linuxuserspace.show"
    +username: "@leo@lemmy.linuxuserspace.show"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "One half of the dudes that do the [**Linux User Space**](https://linuxuserspace.show) audio/video podcast."
    +lastActive: DateTime @1726917179 {#14321
      date: 2024-09-21 13:12:59.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14326 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14328 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14330 …}
    +entries: Doctrine\ORM\PersistentCollection {#14332 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14334 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14336 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14338 …}
    +posts: Doctrine\ORM\PersistentCollection {#14340 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14342 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14344 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14346 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14348 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14350 …}
    +follows: Doctrine\ORM\PersistentCollection {#7624 …}
    +followers: Doctrine\ORM\PersistentCollection {#7627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#8257 …}
    +blockers: Doctrine\ORM\PersistentCollection {#8262 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#8256 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#8259 …}
    +reports: Doctrine\ORM\PersistentCollection {#8253 …}
    +favourites: Doctrine\ORM\PersistentCollection {#9207 …}
    +violations: Doctrine\ORM\PersistentCollection {#9210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#9909 …}
    +awards: Doctrine\ORM\PersistentCollection {#9916 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#9911 …}
    +categories: Doctrine\ORM\PersistentCollection {#9914 …}
    -id: 72648
    -password: "$2y$13$W8YhyvvVNVHZSh6lOqmhieygIfQY8gVPc2loboqaiA49bZDhTgM0e"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11867 …}
    +apId: "leo@lemmy.linuxuserspace.show"
    +apProfileId: "https://lemmy.linuxuserspace.show/u/leo"
    +apPublicUrl: "https://lemmy.linuxuserspace.show/u/leo"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.linuxuserspace.show/inbox"
    +apDomain: "lemmy.linuxuserspace.show"
    +apPreferredUsername: "leo"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728021691 {#14322
      date: 2024-10-04 08:01:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699347479 {#14323
      date: 2023-11-07 09:57:59.0 +01:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#14570
  +width: 65
  +height: 65
  +user: App\Entity\User {#14324
    +avatar: Proxies\__CG__\App\Entity\Image {#14325 …}
    +cover: null
    +email: "leo@lemmy.linuxuserspace.show"
    +username: "@leo@lemmy.linuxuserspace.show"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "One half of the dudes that do the [**Linux User Space**](https://linuxuserspace.show) audio/video podcast."
    +lastActive: DateTime @1726917179 {#14321
      date: 2024-09-21 13:12:59.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#14326 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#14328 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#14330 …}
    +entries: Doctrine\ORM\PersistentCollection {#14332 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#14334 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#14336 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#14338 …}
    +posts: Doctrine\ORM\PersistentCollection {#14340 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#14342 …}
    +postComments: Doctrine\ORM\PersistentCollection {#14344 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#14346 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#14348 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#14350 …}
    +follows: Doctrine\ORM\PersistentCollection {#7624 …}
    +followers: Doctrine\ORM\PersistentCollection {#7627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#8257 …}
    +blockers: Doctrine\ORM\PersistentCollection {#8262 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#8256 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#8259 …}
    +reports: Doctrine\ORM\PersistentCollection {#8253 …}
    +favourites: Doctrine\ORM\PersistentCollection {#9207 …}
    +violations: Doctrine\ORM\PersistentCollection {#9210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#9909 …}
    +awards: Doctrine\ORM\PersistentCollection {#9916 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#9911 …}
    +categories: Doctrine\ORM\PersistentCollection {#9914 …}
    -id: 72648
    -password: "$2y$13$W8YhyvvVNVHZSh6lOqmhieygIfQY8gVPc2loboqaiA49bZDhTgM0e"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11867 …}
    +apId: "leo@lemmy.linuxuserspace.show"
    +apProfileId: "https://lemmy.linuxuserspace.show/u/leo"
    +apPublicUrl: "https://lemmy.linuxuserspace.show/u/leo"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.linuxuserspace.show/inbox"
    +apDomain: "lemmy.linuxuserspace.show"
    +apPreferredUsername: "leo"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728021691 {#14322
      date: 2024-10-04 08:01:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699347479 {#14323
      date: 2023-11-07 09:57:59.0 +01:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.28 ms
Input props
[
  "user" => App\Entity\User {#12652
    +avatar: Proxies\__CG__\App\Entity\Image {#12651 …}
    +cover: Proxies\__CG__\App\Entity\Image {#12650 …}
    +email: "TCB13@lemmy.world"
    +username: "@TCB13@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1729518803 {#12655
      date: 2024-10-21 15:53:23.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#12649 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12647 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#12645 …}
    +entries: Doctrine\ORM\PersistentCollection {#12643 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#12641 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#12639 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12637 …}
    +posts: Doctrine\ORM\PersistentCollection {#12635 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#12633 …}
    +postComments: Doctrine\ORM\PersistentCollection {#12631 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#12629 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#12627 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#12625 …}
    +follows: Doctrine\ORM\PersistentCollection {#12623 …}
    +followers: Doctrine\ORM\PersistentCollection {#12621 …}
    +blocks: Doctrine\ORM\PersistentCollection {#12619 …}
    +blockers: Doctrine\ORM\PersistentCollection {#12617 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#12615 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#12613 …}
    +reports: Doctrine\ORM\PersistentCollection {#12611 …}
    +favourites: Doctrine\ORM\PersistentCollection {#12609 …}
    +violations: Doctrine\ORM\PersistentCollection {#12607 …}
    +notifications: Doctrine\ORM\PersistentCollection {#12605 …}
    +awards: Doctrine\ORM\PersistentCollection {#12603 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#12601 …}
    +categories: Doctrine\ORM\PersistentCollection {#12599 …}
    -id: 43677
    -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12597 …}
    +apId: "TCB13@lemmy.world"
    +apProfileId: "https://lemmy.world/u/TCB13"
    +apPublicUrl: "https://lemmy.world/u/TCB13"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "TCB13"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729566764 {#12654
      date: 2024-10-22 05:12:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1693492241 {#12653
      date: 2023-08-31 16:30:41.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#14627
  +width: 65
  +height: 65
  +user: App\Entity\User {#12652
    +avatar: Proxies\__CG__\App\Entity\Image {#12651 …}
    +cover: Proxies\__CG__\App\Entity\Image {#12650 …}
    +email: "TCB13@lemmy.world"
    +username: "@TCB13@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1729518803 {#12655
      date: 2024-10-21 15:53:23.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#12649 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12647 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#12645 …}
    +entries: Doctrine\ORM\PersistentCollection {#12643 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#12641 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#12639 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12637 …}
    +posts: Doctrine\ORM\PersistentCollection {#12635 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#12633 …}
    +postComments: Doctrine\ORM\PersistentCollection {#12631 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#12629 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#12627 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#12625 …}
    +follows: Doctrine\ORM\PersistentCollection {#12623 …}
    +followers: Doctrine\ORM\PersistentCollection {#12621 …}
    +blocks: Doctrine\ORM\PersistentCollection {#12619 …}
    +blockers: Doctrine\ORM\PersistentCollection {#12617 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#12615 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#12613 …}
    +reports: Doctrine\ORM\PersistentCollection {#12611 …}
    +favourites: Doctrine\ORM\PersistentCollection {#12609 …}
    +violations: Doctrine\ORM\PersistentCollection {#12607 …}
    +notifications: Doctrine\ORM\PersistentCollection {#12605 …}
    +awards: Doctrine\ORM\PersistentCollection {#12603 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#12601 …}
    +categories: Doctrine\ORM\PersistentCollection {#12599 …}
    -id: 43677
    -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12597 …}
    +apId: "TCB13@lemmy.world"
    +apProfileId: "https://lemmy.world/u/TCB13"
    +apPublicUrl: "https://lemmy.world/u/TCB13"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "TCB13"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729566764 {#12654
      date: 2024-10-22 05:12:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1693492241 {#12653
      date: 2023-08-31 16:30:41.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.31 ms
Input props
[
  "user" => App\Entity\User {#13785
    +avatar: Proxies\__CG__\App\Entity\Image {#13786 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13787 …}
    +email: "mr_MADAFAKA@lemmy.ml"
    +username: "@mr_MADAFAKA@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![tux gif](https://i.imgur.com/aBYLNRo.gif)"
    +lastActive: DateTime @1728820284 {#13782
      date: 2024-10-13 13:51:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13788 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13790 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13792 …}
    +entries: Doctrine\ORM\PersistentCollection {#13794 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13796 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13798 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13800 …}
    +posts: Doctrine\ORM\PersistentCollection {#13802 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13804 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13806 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13808 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13810 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13812 …}
    +follows: Doctrine\ORM\PersistentCollection {#13814 …}
    +followers: Doctrine\ORM\PersistentCollection {#13816 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13818 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13820 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13822 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13824 …}
    +reports: Doctrine\ORM\PersistentCollection {#13826 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13828 …}
    +violations: Doctrine\ORM\PersistentCollection {#13830 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13832 …}
    +awards: Doctrine\ORM\PersistentCollection {#13834 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13836 …}
    +categories: Doctrine\ORM\PersistentCollection {#13838 …}
    -id: 51553
    -password: "$2y$13$41.KpmYo8uPKCWyw9SDmuO4OoMVCCTDv9B45PYBFu0F.DkOHtmfPi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13840 …}
    +apId: "mr_MADAFAKA@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/mr_MADAFAKA"
    +apPublicUrl: "https://lemmy.ml/u/mr_MADAFAKA"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "mr_MADAFAKA"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719925473 {#13783
      date: 2024-07-02 15:04:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696574389 {#13784
      date: 2023-10-06 08:39:49.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#14684
  +width: 65
  +height: 65
  +user: App\Entity\User {#13785
    +avatar: Proxies\__CG__\App\Entity\Image {#13786 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13787 …}
    +email: "mr_MADAFAKA@lemmy.ml"
    +username: "@mr_MADAFAKA@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "![tux gif](https://i.imgur.com/aBYLNRo.gif)"
    +lastActive: DateTime @1728820284 {#13782
      date: 2024-10-13 13:51:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13788 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13790 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13792 …}
    +entries: Doctrine\ORM\PersistentCollection {#13794 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13796 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13798 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13800 …}
    +posts: Doctrine\ORM\PersistentCollection {#13802 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13804 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13806 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13808 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13810 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13812 …}
    +follows: Doctrine\ORM\PersistentCollection {#13814 …}
    +followers: Doctrine\ORM\PersistentCollection {#13816 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13818 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13820 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13822 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13824 …}
    +reports: Doctrine\ORM\PersistentCollection {#13826 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13828 …}
    +violations: Doctrine\ORM\PersistentCollection {#13830 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13832 …}
    +awards: Doctrine\ORM\PersistentCollection {#13834 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13836 …}
    +categories: Doctrine\ORM\PersistentCollection {#13838 …}
    -id: 51553
    -password: "$2y$13$41.KpmYo8uPKCWyw9SDmuO4OoMVCCTDv9B45PYBFu0F.DkOHtmfPi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13840 …}
    +apId: "mr_MADAFAKA@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/mr_MADAFAKA"
    +apPublicUrl: "https://lemmy.ml/u/mr_MADAFAKA"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "mr_MADAFAKA"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719925473 {#13783
      date: 2024-07-02 15:04:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696574389 {#13784
      date: 2023-10-06 08:39:49.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.32 ms
Input props
[
  "user" => App\Entity\User {#13489
    +avatar: Proxies\__CG__\App\Entity\Image {#13490 …}
    +cover: null
    +email: "blakeus12@hexbear.net"
    +username: "@blakeus12@hexbear.net"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Marxist-Leninist trapped in the U.S. Empire. From the river to the sea!\n
      \n
      Mastodon: blakeus12@toots.matapacos.dog
      """
    +lastActive: DateTime @1728021211 {#13486
      date: 2024-10-04 07:53:31.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13491 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13493 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13495 …}
    +entries: Doctrine\ORM\PersistentCollection {#13497 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13499 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13501 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13503 …}
    +posts: Doctrine\ORM\PersistentCollection {#13505 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13507 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13509 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13511 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13513 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13515 …}
    +follows: Doctrine\ORM\PersistentCollection {#13517 …}
    +followers: Doctrine\ORM\PersistentCollection {#13519 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13521 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13523 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13525 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13527 …}
    +reports: Doctrine\ORM\PersistentCollection {#13529 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13531 …}
    +violations: Doctrine\ORM\PersistentCollection {#13533 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13535 …}
    +awards: Doctrine\ORM\PersistentCollection {#13537 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13539 …}
    +categories: Doctrine\ORM\PersistentCollection {#13541 …}
    -id: 64911
    -password: "$2y$13$QdCbTCGXsFLPo35xoqNxXON2GHe00Nuo7BpVlPG6HMLbqE20swWvi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13543 …}
    +apId: "blakeus12@hexbear.net"
    +apProfileId: "https://hexbear.net/u/blakeus12"
    +apPublicUrl: "https://hexbear.net/u/blakeus12"
    +apFollowersUrl: null
    +apInboxUrl: "https://hexbear.net/inbox"
    +apDomain: "hexbear.net"
    +apPreferredUsername: "blakeus12"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1720047044 {#13487
      date: 2024-07-04 00:50:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698010857 {#13488
      date: 2023-10-22 23:40:57.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#14741
  +width: 65
  +height: 65
  +user: App\Entity\User {#13489
    +avatar: Proxies\__CG__\App\Entity\Image {#13490 …}
    +cover: null
    +email: "blakeus12@hexbear.net"
    +username: "@blakeus12@hexbear.net"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Marxist-Leninist trapped in the U.S. Empire. From the river to the sea!\n
      \n
      Mastodon: blakeus12@toots.matapacos.dog
      """
    +lastActive: DateTime @1728021211 {#13486
      date: 2024-10-04 07:53:31.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13491 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13493 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13495 …}
    +entries: Doctrine\ORM\PersistentCollection {#13497 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13499 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13501 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13503 …}
    +posts: Doctrine\ORM\PersistentCollection {#13505 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13507 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13509 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13511 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13513 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13515 …}
    +follows: Doctrine\ORM\PersistentCollection {#13517 …}
    +followers: Doctrine\ORM\PersistentCollection {#13519 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13521 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13523 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13525 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13527 …}
    +reports: Doctrine\ORM\PersistentCollection {#13529 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13531 …}
    +violations: Doctrine\ORM\PersistentCollection {#13533 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13535 …}
    +awards: Doctrine\ORM\PersistentCollection {#13537 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13539 …}
    +categories: Doctrine\ORM\PersistentCollection {#13541 …}
    -id: 64911
    -password: "$2y$13$QdCbTCGXsFLPo35xoqNxXON2GHe00Nuo7BpVlPG6HMLbqE20swWvi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13543 …}
    +apId: "blakeus12@hexbear.net"
    +apProfileId: "https://hexbear.net/u/blakeus12"
    +apPublicUrl: "https://hexbear.net/u/blakeus12"
    +apFollowersUrl: null
    +apInboxUrl: "https://hexbear.net/inbox"
    +apDomain: "hexbear.net"
    +apPreferredUsername: "blakeus12"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1720047044 {#13487
      date: 2024-07-04 00:50:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698010857 {#13488
      date: 2023-10-22 23:40:57.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.28 ms
Input props
[
  "user" => App\Entity\User {#13369
    +avatar: Proxies\__CG__\App\Entity\Image {#13370 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13371 …}
    +email: "Rustmilian@lemmy.world"
    +username: "@Rustmilian@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Dyslexic [Privacy](/c/privacy@lemmy.ml) &amp; [Foss](/c/foss@lemmy.world) advocate, and [Linux](/c/Linux@lemmy.ml) user.   \n
      ![](https://i.postimg.cc/BbbYLqbm/b7f.jpg)   \n
      Ace 🖤🩶🤍💜\n
      \n
      [~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en)
      """
    +lastActive: DateTime @1729266600 {#13366
      date: 2024-10-18 17:50:00.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13372 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13374 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13376 …}
    +entries: Doctrine\ORM\PersistentCollection {#13378 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13380 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13382 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13384 …}
    +posts: Doctrine\ORM\PersistentCollection {#13386 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13388 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13390 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13392 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13394 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13396 …}
    +follows: Doctrine\ORM\PersistentCollection {#13398 …}
    +followers: Doctrine\ORM\PersistentCollection {#13400 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13402 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13404 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13406 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13408 …}
    +reports: Doctrine\ORM\PersistentCollection {#13410 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13412 …}
    +violations: Doctrine\ORM\PersistentCollection {#13414 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13416 …}
    +awards: Doctrine\ORM\PersistentCollection {#13418 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13420 …}
    +categories: Doctrine\ORM\PersistentCollection {#13422 …}
    -id: 49449
    -password: "$2y$13$4Jzy1Ci4G3kZwOVlOI2yNe0zT/RQdD2nPaBErp9ymyRaMLSjJEI8."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13424 …}
    +apId: "Rustmilian@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Rustmilian"
    +apPublicUrl: "https://lemmy.world/u/Rustmilian"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Rustmilian"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729552448 {#13367
      date: 2024-10-22 01:14:08.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696458048 {#13368
      date: 2023-10-05 00:20:48.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#14798
  +width: 65
  +height: 65
  +user: App\Entity\User {#13369
    +avatar: Proxies\__CG__\App\Entity\Image {#13370 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13371 …}
    +email: "Rustmilian@lemmy.world"
    +username: "@Rustmilian@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Dyslexic [Privacy](/c/privacy@lemmy.ml) &amp; [Foss](/c/foss@lemmy.world) advocate, and [Linux](/c/Linux@lemmy.ml) user.   \n
      ![](https://i.postimg.cc/BbbYLqbm/b7f.jpg)   \n
      Ace 🖤🩶🤍💜\n
      \n
      [~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en)
      """
    +lastActive: DateTime @1729266600 {#13366
      date: 2024-10-18 17:50:00.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13372 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13374 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13376 …}
    +entries: Doctrine\ORM\PersistentCollection {#13378 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13380 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13382 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13384 …}
    +posts: Doctrine\ORM\PersistentCollection {#13386 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13388 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13390 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13392 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13394 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13396 …}
    +follows: Doctrine\ORM\PersistentCollection {#13398 …}
    +followers: Doctrine\ORM\PersistentCollection {#13400 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13402 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13404 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13406 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13408 …}
    +reports: Doctrine\ORM\PersistentCollection {#13410 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13412 …}
    +violations: Doctrine\ORM\PersistentCollection {#13414 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13416 …}
    +awards: Doctrine\ORM\PersistentCollection {#13418 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13420 …}
    +categories: Doctrine\ORM\PersistentCollection {#13422 …}
    -id: 49449
    -password: "$2y$13$4Jzy1Ci4G3kZwOVlOI2yNe0zT/RQdD2nPaBErp9ymyRaMLSjJEI8."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13424 …}
    +apId: "Rustmilian@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Rustmilian"
    +apPublicUrl: "https://lemmy.world/u/Rustmilian"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Rustmilian"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729552448 {#13367
      date: 2024-10-22 01:14:08.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696458048 {#13368
      date: 2023-10-05 00:20:48.0 +02:00
    }
  }
  +asLink: true
}
related_categories App\Twig\Components\RelatedCategoriesComponent 14.0 MiB 2.92 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#14860
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "related"
  +title: "related_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#14861 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 14.0 MiB 1.73 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#14937
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +post: null
  +title: "related_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#14938 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 14.0 MiB 1.91 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#15010
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +entry: null
  +title: "related_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
support_us_block App\Twig\Components\SupportUsBlock 14.0 MiB 0.24 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#15079
  +subject: ? App\Entity\Contracts\VotableInterface
  +url: ? string
  -twig: Twig\Environment {#1252 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -partnerBlockRepository: App\Repository\PartnerBlockRepository {#15080 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 14.0 MiB 0.62 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#15168
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#334 …}
}