Components
24
Twig Components
130
Render Count
676
ms
Render Time
14.0
MiB
Memory Usage
Components
Render calls
entry | App\Twig\Components\EntryComponent | 12.0 MiB | 10.98 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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.35 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 2023-08-20 19:51:16.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.44 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#3247 +date: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.24 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } "editedAt" => DateTimeImmutable @1702191218 {#1850 : 2023-12-10 07:53:38.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#3311 +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } +editedAt: DateTimeImmutable @1702191218 {#1850 : 2023-12-10 07:53:38.0 +01:00 } } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.63 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 | 3.76 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 | 37.13 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 | 1.22 ms | |
---|---|---|---|---|
Input props | [ "id" => "entry_comment_67b974a995e187.90151422_body" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EditorToolbarComponent {#3881 +id: "entry_comment_67b974a995e187.90151422_body" } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 181.72 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#4396 +comment: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 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.25 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#4526 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.22 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#4581 +date: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } "editedAt" => DateTimeImmutable @1702222871 {#4026 : 2023-12-10 16:41:11.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#4635 +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } +editedAt: DateTimeImmutable @1702222871 {#4026 : 2023-12-10 16:41:11.0 +01:00 } } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.39 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#4691 +width: 40 +height: 40 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.61 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#4774 +subject: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 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 | 1.01 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#4831 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 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 | 169.66 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#5078 +comment: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 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 {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 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 {#4028} +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4423 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080} +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 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 {#557 …} -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 | 166.77 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } "showNested" => true "level" => 2 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#5152 +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 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.96 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 2023-10-06 15:14:10.0 +02:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#5199 +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 2023-10-06 15:14:10.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701298859 {#4349 : 2023-11-30 00:00:59.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5317 +date: DateTimeImmutable @1701298859 {#4349 : 2023-11-30 00:00:59.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1701298859 {#4349 : 2023-11-30 00:00:59.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#5371 +createdAt: DateTimeImmutable @1701298859 {#4349 : 2023-11-30 00:00:59.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.22 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 2023-10-06 15:14:10.0 +02:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#5425 +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 2023-10-06 15:14:10.0 +02:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.69 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#5494 +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 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 | 1.14 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#5551 +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 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 | 154.18 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } "level" => 2 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#5791 +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4080 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +nestedComments: [] +level: 2 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -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 | 152.90 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4394 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } "showNested" => true "level" => 3 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#5846 +comment: App\Entity\EntryComment {#4394 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 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.22 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#5891 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5946 +date: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } "editedAt" => DateTimeImmutable @1702321773 {#4388 : 2023-12-11 20:09:33.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#6000 +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } +editedAt: DateTimeImmutable @1702321773 {#4388 : 2023-12-11 20:09:33.0 +01:00 } } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#6054 +width: 40 +height: 40 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.42 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4394 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#6129 +subject: App\Entity\EntryComment {#4394 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 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.72 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4394 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#6186 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4394 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 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 | 146.45 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4394 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } "level" => 3 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#6426 +comment: App\Entity\EntryComment {#4394 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +nestedComments: [] +level: 3 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -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 | 145.41 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4423 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } "showNested" => true "level" => 4 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#6481 +comment: App\Entity\EntryComment {#4423 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 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.12 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 2023-12-10 22:20:19.0 +01:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#6526 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 2023-12-10 22:20:19.0 +01:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701343008 {#4421 : 2023-11-30 12:16:48.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#6581 +date: DateTimeImmutable @1701343008 {#4421 : 2023-11-30 12:16:48.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.08 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1701343008 {#4421 : 2023-11-30 12:16:48.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#6635 +createdAt: DateTimeImmutable @1701343008 {#4421 : 2023-11-30 12:16:48.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 3.73 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 2023-12-10 22:20:19.0 +01:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#6689 +width: 40 +height: 40 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 2023-12-10 22:20:19.0 +01:00 } } +asLink: true } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 137.64 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4423 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } "level" => 4 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#6752 +comment: App\Entity\EntryComment {#4423 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +nestedComments: [] +level: 4 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -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 | 134.18 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4445 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } "showNested" => true "level" => 5 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#6807 +comment: App\Entity\EntryComment {#4445 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 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.84 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#6852 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 1.10 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701347225 {#4443 : 2023-11-30 13:27:05.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#6907 +date: DateTimeImmutable @1701347225 {#4443 : 2023-11-30 13:27:05.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.89 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1701347225 {#4443 : 2023-11-30 13:27:05.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#6961 +createdAt: DateTimeImmutable @1701347225 {#4443 : 2023-11-30 13:27:05.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 1.15 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#7015 +width: 40 +height: 40 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 2023-09-22 18:30:50.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 3.45 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4445 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#7084 +subject: App\Entity\EntryComment {#4445 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 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 | 4.22 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4445 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#7141 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4445 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 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 | 93.64 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4445 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } "level" => 5 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#7381 +comment: App\Entity\EntryComment {#4445 +user: App\Entity\User {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } +nestedComments: [] +level: 5 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -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 | 89.03 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4467 +user: Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 18:15:33.0 +01:00 } } "showNested" => true "level" => 6 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#3098 +comment: App\Entity\EntryComment {#4467 +user: Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 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 | 11.62 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 2023-07-22 02:14:12.0 +02:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#3119 +user: Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 2023-07-22 02:14:12.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 1.21 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701364533 {#4465 : 2023-11-30 18:15:33.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#7129 +date: DateTimeImmutable @1701364533 {#4465 : 2023-11-30 18:15:33.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.59 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1701364533 {#4465 : 2023-11-30 18:15:33.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#7462 +createdAt: DateTimeImmutable @1701364533 {#4465 : 2023-11-30 18:15:33.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 28.59 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 2023-07-22 02:14:12.0 +02:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#7516 +width: 40 +height: 40 +user: Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 2023-07-22 02:14:12.0 +02:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 3.68 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4467 +user: Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 18:15:33.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#7597 +subject: App\Entity\EntryComment {#4467 +user: Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 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 | 5.06 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4467 +user: Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 18:15:33.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#7654 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4467 +user: Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 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 | 1.68 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4467 +user: Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 18:15:33.0 +01:00 } } "level" => 6 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#7894 +comment: App\Entity\EntryComment {#4467 +user: Proxies\__CG__\App\Entity\User {#4459 +avatar: Proxies\__CG__\App\Entity\Image {#2932 …} +cover: Proxies\__CG__\App\Entity\Image {#2941 …} +email: "semperverus@lemmy.world" +username: "@semperverus@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "`while(true){💩};`" +lastActive: DateTime @1728421496 {#2929 : 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 {#2944 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3167 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3094 …} +entries: Doctrine\ORM\PersistentCollection {#3416 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3428 …} +entryComments: Doctrine\ORM\PersistentCollection {#3594 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3596 …} +posts: Doctrine\ORM\PersistentCollection {#3843 …} +postVotes: Doctrine\ORM\PersistentCollection {#3851 …} +postComments: Doctrine\ORM\PersistentCollection {#3853 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3815 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4560 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4760 …} +follows: Doctrine\ORM\PersistentCollection {#4767 …} +followers: Doctrine\ORM\PersistentCollection {#4808 …} +blocks: Doctrine\ORM\PersistentCollection {#4819 …} +blockers: Doctrine\ORM\PersistentCollection {#4928 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4930 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5459 …} +reports: Doctrine\ORM\PersistentCollection {#5486 …} +favourites: Doctrine\ORM\PersistentCollection {#5481 …} +violations: Doctrine\ORM\PersistentCollection {#5529 …} +notifications: Doctrine\ORM\PersistentCollection {#5585 …} +awards: Doctrine\ORM\PersistentCollection {#5646 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5925 …} +categories: Doctrine\ORM\PersistentCollection {#6109 …} -id: 32957 -password: "$2y$13$GmwymH5ywYEEYRO3lECB5.bHUy.A/XkuSXMJEV4cH76Rh1wZ.Ehpa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6122 …} +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 {#2925 : 2024-10-21 19:15:49.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689984852 {#2924 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4028 +avatar: null +cover: null +email: "stepanzak@iusearchlinux.fyi" +username: "@stepanzak@iusearchlinux.fyi" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711994921 {#4085 : 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 {#4029 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4024 …} +entries: Doctrine\ORM\PersistentCollection {#4022 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4019 …} +entryComments: Doctrine\ORM\PersistentCollection {#4017 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4015 …} +posts: Doctrine\ORM\PersistentCollection {#4012 …} +postVotes: Doctrine\ORM\PersistentCollection {#4010 …} +postComments: Doctrine\ORM\PersistentCollection {#4008 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4005 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4003 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4001 …} +follows: Doctrine\ORM\PersistentCollection {#4143 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4126 …} +blockers: Doctrine\ORM\PersistentCollection {#4115 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4088 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4146 …} +reports: Doctrine\ORM\PersistentCollection {#4142 …} +favourites: Doctrine\ORM\PersistentCollection {#4140 …} +violations: Doctrine\ORM\PersistentCollection {#4139 …} +notifications: Doctrine\ORM\PersistentCollection {#4138 …} +awards: Doctrine\ORM\PersistentCollection {#4128 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4131 …} +categories: Doctrine\ORM\PersistentCollection {#4129 …} -id: 46742 -password: "$2y$13$MRk.5EmoqthHndDSOe.61eE9vJRCfPA/245H6xtnX1E10a.jh39YC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4127 …} +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 {#4083 : 2024-03-29 05:02:47.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1695400250 {#4082 : 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 {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4028} +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 {#5239 : 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 {#5244 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5247 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#5249 …} +entries: Doctrine\ORM\PersistentCollection {#5251 …} +entryVotes: Doctrine\ORM\PersistentCollection {#5253 …} +entryComments: Doctrine\ORM\PersistentCollection {#5255 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5257 …} +posts: Doctrine\ORM\PersistentCollection {#5259 …} +postVotes: Doctrine\ORM\PersistentCollection {#5261 …} +postComments: Doctrine\ORM\PersistentCollection {#5263 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#5265 …} +subscriptions: Doctrine\ORM\PersistentCollection {#5267 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#5269 …} +follows: Doctrine\ORM\PersistentCollection {#5271 …} +followers: Doctrine\ORM\PersistentCollection {#5273 …} +blocks: Doctrine\ORM\PersistentCollection {#5275 …} +blockers: Doctrine\ORM\PersistentCollection {#5277 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#5279 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#5281 …} +reports: Doctrine\ORM\PersistentCollection {#5283 …} +favourites: Doctrine\ORM\PersistentCollection {#5285 …} +violations: Doctrine\ORM\PersistentCollection {#5287 …} +notifications: Doctrine\ORM\PersistentCollection {#5289 …} +awards: Doctrine\ORM\PersistentCollection {#5291 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#5293 …} +categories: Doctrine\ORM\PersistentCollection {#5295 …} -id: 51764 -password: "$2y$13$3hG3kikQaRACTso6WUXaP.ip899.9T1BvUzv5Z.O9rrGBeLof1VOu" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5297 …} +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 {#5236 : 2024-10-11 04:13:42.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696598050 {#5238 : 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 {#4080 +user: App\Entity\User {#4028} +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 {#4090 : 2023-12-13 16:36:01.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4078 …} +nested: Doctrine\ORM\PersistentCollection {#4076 …} +votes: Doctrine\ORM\PersistentCollection {#4074 …} +reports: Doctrine\ORM\PersistentCollection {#4072 …} +favourites: Doctrine\ORM\PersistentCollection {#4040 …} +notifications: Doctrine\ORM\PersistentCollection {#4044 …} -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 {#4026 : 2023-12-10 16:41:11.0 +01:00 } +createdAt: DateTimeImmutable @1701294191 {#4089 : 2023-11-29 22:43:11.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 00:00:59.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-12-11 20:09:33.0 +01:00 } +createdAt: DateTimeImmutable @1701334724 {#4386 : 2023-11-30 09:58:44.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 12:16:48.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +body: "My happiness is ruined :(" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1701347225 {#4440 : 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 : 2023-11-30 13:27:05.0 +01:00 } } +root: App\Entity\EntryComment {#4080} +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 : 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 : 2023-11-30 18:15:33.0 +01:00 } } +nestedComments: [] +level: 6 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -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 | 57.53 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#8014 +comment: App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 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.71 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 2023-12-10 22:20:19.0 +01:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#8059 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 2023-12-10 22:20:19.0 +01:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.84 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701302442 {#4122 : 2023-11-30 01:00:42.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#8114 +date: DateTimeImmutable @1701302442 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.58 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1701302442 {#4122 : 2023-11-30 01:00:42.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#8168 +createdAt: DateTimeImmutable @1701302442 {#4122 : 2023-11-30 01:00:42.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 1.11 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 2023-12-10 22:20:19.0 +01:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#8222 +width: 40 +height: 40 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 2023-12-10 22:20:19.0 +01:00 } } +asLink: true } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 38.26 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#8278 +comment: App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 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 {#4118} +root: App\Entity\EntryComment {#4118} +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 : 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 : 2023-11-30 01:37:37.0 +01:00 } } ] +level: 1 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -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 | 33.87 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } +root: App\Entity\EntryComment {#4118} +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 : 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 : 2023-11-30 01:37:37.0 +01:00 } } "showNested" => true "level" => 2 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#8338 +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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } +root: App\Entity\EntryComment {#4118} +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 : 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 : 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.81 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 2023-08-20 19:51:16.0 +02:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#8383 +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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 2023-08-20 19:51:16.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 1.21 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701304657 {#4371 : 2023-11-30 01:37:37.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#8438 +date: DateTimeImmutable @1701304657 {#4371 : 2023-11-30 01:37:37.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.73 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1701304657 {#4371 : 2023-11-30 01:37:37.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#8492 +createdAt: DateTimeImmutable @1701304657 {#4371 : 2023-11-30 01:37:37.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 1.86 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 2023-08-20 19:51:16.0 +02:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#8546 +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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 2023-08-20 19:51:16.0 +02:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 1.88 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } +root: App\Entity\EntryComment {#4118} +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 : 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 : 2023-11-30 01:37:37.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#8625 +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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } +root: App\Entity\EntryComment {#4118} +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 : 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 : 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.83 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } +root: App\Entity\EntryComment {#4118} +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 : 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 : 2023-11-30 01:37:37.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#8682 +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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } +root: App\Entity\EntryComment {#4118} +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 : 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 : 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 | 2.08 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } +root: App\Entity\EntryComment {#4118} +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 : 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 : 2023-11-30 01:37:37.0 +01:00 } } "level" => 2 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#8922 +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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4118 +user: App\Entity\User {#4101 +avatar: Proxies\__CG__\App\Entity\Image {#4100 …} +cover: null +email: "DangerousInternet@lemmy.world" +username: "@DangerousInternet@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1710465993 {#4123 : 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 {#4099 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4097 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4095 …} +entries: Doctrine\ORM\PersistentCollection {#4093 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4091 …} +entryComments: Doctrine\ORM\PersistentCollection {#4150 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4153 …} +posts: Doctrine\ORM\PersistentCollection {#4155 …} +postVotes: Doctrine\ORM\PersistentCollection {#4157 …} +postComments: Doctrine\ORM\PersistentCollection {#4159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4165 …} +follows: Doctrine\ORM\PersistentCollection {#4167 …} +followers: Doctrine\ORM\PersistentCollection {#4169 …} +blocks: Doctrine\ORM\PersistentCollection {#4171 …} +blockers: Doctrine\ORM\PersistentCollection {#4173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4177 …} +reports: Doctrine\ORM\PersistentCollection {#4179 …} +favourites: Doctrine\ORM\PersistentCollection {#4181 …} +violations: Doctrine\ORM\PersistentCollection {#4183 …} +notifications: Doctrine\ORM\PersistentCollection {#4185 …} +awards: Doctrine\ORM\PersistentCollection {#4187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4189 …} +categories: Doctrine\ORM\PersistentCollection {#4191 …} -id: 81735 -password: "$2y$13$bgQxfHaBNu6DE1nILJOPSu.SWD5EA1CQX1ptQxLLdGgFev4OjCf6W" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4193 …} +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 {#4120 : 2024-03-10 03:01:48.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1702243219 {#4113 : 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 {#4124 : 2023-12-11 11:49:51.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4116 …} +nested: Doctrine\ORM\PersistentCollection {#4114 …} +votes: Doctrine\ORM\PersistentCollection {#4112 …} +reports: Doctrine\ORM\PersistentCollection {#4109 …} +favourites: Doctrine\ORM\PersistentCollection {#4105 …} +notifications: Doctrine\ORM\PersistentCollection {#4103 …} -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 {#4122 : 2023-11-30 01:00:42.0 +01:00 } } +root: App\Entity\EntryComment {#4118} +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 : 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 : 2023-11-30 01:37:37.0 +01:00 } } +nestedComments: [] +level: 2 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -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 | 38.10 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4200 +user: App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4195 : 2023-11-30 04:12:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4201 …} +nested: Doctrine\ORM\PersistentCollection {#4203 …} +votes: Doctrine\ORM\PersistentCollection {#4205 …} +reports: Doctrine\ORM\PersistentCollection {#4207 …} +favourites: Doctrine\ORM\PersistentCollection {#4209 …} +notifications: Doctrine\ORM\PersistentCollection {#4211 …} -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 {#4196 : 2023-11-30 04:12:18.0 +01:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#8998 +comment: App\Entity\EntryComment {#4200 +user: App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4195 : 2023-11-30 04:12:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4201 …} +nested: Doctrine\ORM\PersistentCollection {#4203 …} +votes: Doctrine\ORM\PersistentCollection {#4205 …} +reports: Doctrine\ORM\PersistentCollection {#4207 …} +favourites: Doctrine\ORM\PersistentCollection {#4209 …} +notifications: Doctrine\ORM\PersistentCollection {#4211 …} -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 {#4196 : 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.14 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 2023-07-22 07:17:05.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#9043 +user: App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 2023-07-22 07:17:05.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701313938 {#4196 : 2023-11-30 04:12:18.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#9098 +date: DateTimeImmutable @1701313938 {#4196 : 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 {#4196 : 2023-11-30 04:12:18.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#9152 +createdAt: DateTimeImmutable @1701313938 {#4196 : 2023-11-30 04:12:18.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 2023-07-22 07:17:05.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#9206 +width: 40 +height: 40 +user: App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 2023-07-22 07:17:05.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 4.68 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4200 +user: App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4195 : 2023-11-30 04:12:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4201 …} +nested: Doctrine\ORM\PersistentCollection {#4203 …} +votes: Doctrine\ORM\PersistentCollection {#4205 …} +reports: Doctrine\ORM\PersistentCollection {#4207 …} +favourites: Doctrine\ORM\PersistentCollection {#4209 …} +notifications: Doctrine\ORM\PersistentCollection {#4211 …} -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 {#4196 : 2023-11-30 04:12:18.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#9275 +subject: App\Entity\EntryComment {#4200 +user: App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4195 : 2023-11-30 04:12:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4201 …} +nested: Doctrine\ORM\PersistentCollection {#4203 …} +votes: Doctrine\ORM\PersistentCollection {#4205 …} +reports: Doctrine\ORM\PersistentCollection {#4207 …} +favourites: Doctrine\ORM\PersistentCollection {#4209 …} +notifications: Doctrine\ORM\PersistentCollection {#4211 …} -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 {#4196 : 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 | 4.22 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4200 +user: App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4195 : 2023-11-30 04:12:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4201 …} +nested: Doctrine\ORM\PersistentCollection {#4203 …} +votes: Doctrine\ORM\PersistentCollection {#4205 …} +reports: Doctrine\ORM\PersistentCollection {#4207 …} +favourites: Doctrine\ORM\PersistentCollection {#4209 …} +notifications: Doctrine\ORM\PersistentCollection {#4211 …} -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 {#4196 : 2023-11-30 04:12:18.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#9332 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4200 +user: App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4195 : 2023-11-30 04:12:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4201 …} +nested: Doctrine\ORM\PersistentCollection {#4203 …} +votes: Doctrine\ORM\PersistentCollection {#4205 …} +reports: Doctrine\ORM\PersistentCollection {#4207 …} +favourites: Doctrine\ORM\PersistentCollection {#4209 …} +notifications: Doctrine\ORM\PersistentCollection {#4211 …} -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 {#4196 : 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 | 7.97 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4200 +user: App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4195 : 2023-11-30 04:12:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4201 …} +nested: Doctrine\ORM\PersistentCollection {#4203 …} +votes: Doctrine\ORM\PersistentCollection {#4205 …} +reports: Doctrine\ORM\PersistentCollection {#4207 …} +favourites: Doctrine\ORM\PersistentCollection {#4209 …} +notifications: Doctrine\ORM\PersistentCollection {#4211 …} -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 {#4196 : 2023-11-30 04:12:18.0 +01:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#9572 +comment: App\Entity\EntryComment {#4200 +user: App\Entity\User {#4213 +avatar: null +cover: null +email: "Holzkohlen@feddit.de" +username: "@Holzkohlen@feddit.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1721494384 {#4197 : 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 {#4214 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4216 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4218 …} +entries: Doctrine\ORM\PersistentCollection {#4220 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4222 …} +entryComments: Doctrine\ORM\PersistentCollection {#4224 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4226 …} +posts: Doctrine\ORM\PersistentCollection {#4228 …} +postVotes: Doctrine\ORM\PersistentCollection {#4230 …} +postComments: Doctrine\ORM\PersistentCollection {#4232 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4234 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4236 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4238 …} +follows: Doctrine\ORM\PersistentCollection {#4240 …} +followers: Doctrine\ORM\PersistentCollection {#4242 …} +blocks: Doctrine\ORM\PersistentCollection {#4244 …} +blockers: Doctrine\ORM\PersistentCollection {#4246 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4248 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4250 …} +reports: Doctrine\ORM\PersistentCollection {#4252 …} +favourites: Doctrine\ORM\PersistentCollection {#4254 …} +violations: Doctrine\ORM\PersistentCollection {#4256 …} +notifications: Doctrine\ORM\PersistentCollection {#4258 …} +awards: Doctrine\ORM\PersistentCollection {#4260 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4262 …} +categories: Doctrine\ORM\PersistentCollection {#4264 …} -id: 33084 -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4266 …} +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 {#4198 : 2024-07-16 13:38:39.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1690003025 {#4199 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4195 : 2023-11-30 04:12:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@a" "@av" "@ademir@lemmy.eco.br" ] +children: Doctrine\ORM\PersistentCollection {#4201 …} +nested: Doctrine\ORM\PersistentCollection {#4203 …} +votes: Doctrine\ORM\PersistentCollection {#4205 …} +reports: Doctrine\ORM\PersistentCollection {#4207 …} +favourites: Doctrine\ORM\PersistentCollection {#4209 …} +notifications: Doctrine\ORM\PersistentCollection {#4211 …} -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 {#4196 : 2023-11-30 04:12:18.0 +01:00 } } +nestedComments: [] +level: 1 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -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 | 40.16 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4273 +user: App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4268 : 2023-12-17 03:28:46.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: 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 {#4269 : 2023-11-30 14:45:33.0 +01:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#9642 +comment: App\Entity\EntryComment {#4273 +user: App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4268 : 2023-12-17 03:28:46.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: 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 {#4269 : 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 | 1.29 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 2023-11-02 14:02:04.0 +01:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#9687 +user: App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 2023-11-02 14:02:04.0 +01:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 1.58 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701351933 {#4269 : 2023-11-30 14:45:33.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#9742 +date: DateTimeImmutable @1701351933 {#4269 : 2023-11-30 14:45:33.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 1.08 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1701351933 {#4269 : 2023-11-30 14:45:33.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#9796 +createdAt: DateTimeImmutable @1701351933 {#4269 : 2023-11-30 14:45:33.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 1.58 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 2023-11-02 14:02:04.0 +01:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#9850 +width: 40 +height: 40 +user: App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 2023-11-02 14:02:04.0 +01:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.55 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4273 +user: App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4268 : 2023-12-17 03:28:46.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: 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 {#4269 : 2023-11-30 14:45:33.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#9923 +subject: App\Entity\EntryComment {#4273 +user: App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4268 : 2023-12-17 03:28:46.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: 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 {#4269 : 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.68 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4273 +user: App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4268 : 2023-12-17 03:28:46.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: 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 {#4269 : 2023-11-30 14:45:33.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#9980 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4273 +user: App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4268 : 2023-12-17 03:28:46.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: 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 {#4269 : 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 | 0.71 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4273 +user: App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4268 : 2023-12-17 03:28:46.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: 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 {#4269 : 2023-11-30 14:45:33.0 +01:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#10220 +comment: App\Entity\EntryComment {#4273 +user: App\Entity\User {#4286 +avatar: null +cover: null +email: "GravitySpoiled@lemmy.ml" +username: "@GravitySpoiled@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729515058 {#4270 : 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 {#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: 69862 -password: "$2y$13$uCSf1y9rUmPeqEh85kM4m.T76ik5JJfBgR3sl78qj0TZ.l0bsiGPy" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4339 …} +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 {#4271 : 2024-10-21 09:48:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698930124 {#4272 : 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 : 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 : 2023-12-10 07:53:38.0 +01:00 } +createdAt: DateTimeImmutable @1701280947 {#2420 : 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 {#4268 : 2023-12-17 03:28:46.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: 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 {#4269 : 2023-11-30 14:45:33.0 +01:00 } } +nestedComments: [] +level: 1 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -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.22 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 {#10345 +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.47 ms | |
---|---|---|---|---|
Input props | [ "label" => "Dynamic lists" "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#10409 +label: "Dynamic lists" +help: "" +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Rounded edges" "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#10474 +label: "Rounded edges" +help: "" +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 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 {#10530 +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.15 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 {#10589 +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.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show top bar" "settingsKey" => "KBIN_GENERAL_TOPBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#10645 +label: "Show top bar" +help: "" +settingsKey: "KBIN_GENERAL_TOPBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "label" => "Turbo mode (experimental)" "settingsKey" => "KBIN_GENERAL_TURBO" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#10701 +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 {#10759 +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.15 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show "Support Us" block" "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#10822 +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.17 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed users" "settingsKey" => "KBIN_SUB_CHANNEL_USERS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#10880 +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.16 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed magazines" "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#10936 +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.16 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed domains" "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#10992 +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.15 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#11048 +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.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Compact view" "settingsKey" => "KBIN_ENTRIES_COMPACT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#11104 +label: "Compact view" +help: "" +settingsKey: "KBIN_ENTRIES_COMPACT" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.19 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#11160 +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.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show magazines’ icons" "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#11216 +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.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show thumbnails" "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#11272 +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 {#11328 +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.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#11384 +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.22 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 {#11440 +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.14 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 {#11498 +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.74 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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 2023-08-20 19:51:16.0 +02:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserActionsComponent {#11576 +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: "" +lastActive: DateTime @1728806437 {#1536 : 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 : 2024-10-12 16:46:24.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692553876 {#1516 : 2023-08-20 19:51:16.0 +02:00 } +__isInitialized__: true …2 } } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#11637 +date: DateTimeImmutable @1701280947 {#2420 : 2023-11-29 19:02:27.0 +01:00 } } |
magazine_box | App\Twig\Components\MagazineBoxComponent | 12.0 MiB | 8.94 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 2023-11-02 13:51:08.0 +01:00 } } "showSectionTitle" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineBoxComponent {#11693 +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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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.47 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 2023-11-02 13:51:08.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineSubComponent {#11751 +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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 2023-11-02 13:51:08.0 +01:00 } } } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1698929468 {#272 : 2023-11-02 13:51:08.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#11925 +date: DateTimeImmutable @1698929468 {#272 : 2023-11-02 13:51:08.0 +01:00 } } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.63 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#11984 +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 {#12031 : 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 {#12033 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12035 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#12037 …} +entries: Doctrine\ORM\PersistentCollection {#12039 …} +entryVotes: Doctrine\ORM\PersistentCollection {#12041 …} +entryComments: Doctrine\ORM\PersistentCollection {#12043 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12045 …} +posts: Doctrine\ORM\PersistentCollection {#12047 …} +postVotes: Doctrine\ORM\PersistentCollection {#12049 …} +postComments: Doctrine\ORM\PersistentCollection {#12051 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#12053 …} +subscriptions: Doctrine\ORM\PersistentCollection {#12055 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#12057 …} +follows: Doctrine\ORM\PersistentCollection {#12059 …} +followers: Doctrine\ORM\PersistentCollection {#12061 …} +blocks: Doctrine\ORM\PersistentCollection {#12063 …} +blockers: Doctrine\ORM\PersistentCollection {#12065 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#12067 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#12069 …} +reports: Doctrine\ORM\PersistentCollection {#12071 …} +favourites: Doctrine\ORM\PersistentCollection {#12073 …} +violations: Doctrine\ORM\PersistentCollection {#12075 …} +notifications: Doctrine\ORM\PersistentCollection {#12077 …} +awards: Doctrine\ORM\PersistentCollection {#12079 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#12081 …} +categories: Doctrine\ORM\PersistentCollection {#12083 …} -id: 1 -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12085 …} +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 {#12032 : 2023-06-12 11:00:40.0 +02:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#12002 +user: Proxies\__CG__\App\Entity\User {#11984 +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 {#12031 : 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 {#12033 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12035 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#12037 …} +entries: Doctrine\ORM\PersistentCollection {#12039 …} +entryVotes: Doctrine\ORM\PersistentCollection {#12041 …} +entryComments: Doctrine\ORM\PersistentCollection {#12043 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12045 …} +posts: Doctrine\ORM\PersistentCollection {#12047 …} +postVotes: Doctrine\ORM\PersistentCollection {#12049 …} +postComments: Doctrine\ORM\PersistentCollection {#12051 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#12053 …} +subscriptions: Doctrine\ORM\PersistentCollection {#12055 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#12057 …} +follows: Doctrine\ORM\PersistentCollection {#12059 …} +followers: Doctrine\ORM\PersistentCollection {#12061 …} +blocks: Doctrine\ORM\PersistentCollection {#12063 …} +blockers: Doctrine\ORM\PersistentCollection {#12065 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#12067 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#12069 …} +reports: Doctrine\ORM\PersistentCollection {#12071 …} +favourites: Doctrine\ORM\PersistentCollection {#12073 …} +violations: Doctrine\ORM\PersistentCollection {#12075 …} +notifications: Doctrine\ORM\PersistentCollection {#12077 …} +awards: Doctrine\ORM\PersistentCollection {#12079 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#12081 …} +categories: Doctrine\ORM\PersistentCollection {#12083 …} -id: 1 -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12085 …} +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 {#12032 : 2023-06-12 11:00:40.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: true } |
related_magazines | App\Twig\Components\RelatedMagazinesComponent | 12.0 MiB | 7.03 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "linux@lemmy.ml" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedMagazinesComponent {#12193 +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 | 280.36 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 2023-11-02 13:51:08.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\ActiveUsersComponent {#12319 +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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 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 | 6.86 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#13437 +avatar: Proxies\__CG__\App\Entity\Image {#13438 …} +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 {#13434 : 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 {#13439 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13441 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13443 …} +entries: Doctrine\ORM\PersistentCollection {#13445 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13447 …} +entryComments: Doctrine\ORM\PersistentCollection {#13449 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13451 …} +posts: Doctrine\ORM\PersistentCollection {#13453 …} +postVotes: Doctrine\ORM\PersistentCollection {#13455 …} +postComments: Doctrine\ORM\PersistentCollection {#13457 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13459 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13461 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13463 …} +follows: Doctrine\ORM\PersistentCollection {#13465 …} +followers: Doctrine\ORM\PersistentCollection {#13467 …} +blocks: Doctrine\ORM\PersistentCollection {#13469 …} +blockers: Doctrine\ORM\PersistentCollection {#13471 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13473 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13475 …} +reports: Doctrine\ORM\PersistentCollection {#13477 …} +favourites: Doctrine\ORM\PersistentCollection {#13479 …} +violations: Doctrine\ORM\PersistentCollection {#13481 …} +notifications: Doctrine\ORM\PersistentCollection {#13483 …} +awards: Doctrine\ORM\PersistentCollection {#13485 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13487 …} +categories: Doctrine\ORM\PersistentCollection {#13489 …} -id: 64911 -password: "$2y$13$QdCbTCGXsFLPo35xoqNxXON2GHe00Nuo7BpVlPG6HMLbqE20swWvi" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13491 …} +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 {#13435 : 2024-07-04 00:50:44.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698010857 {#13436 : 2023-10-22 23:40:57.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#12375 +width: 65 +height: 65 +user: App\Entity\User {#13437 +avatar: Proxies\__CG__\App\Entity\Image {#13438 …} +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 {#13434 : 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 {#13439 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13441 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13443 …} +entries: Doctrine\ORM\PersistentCollection {#13445 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13447 …} +entryComments: Doctrine\ORM\PersistentCollection {#13449 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13451 …} +posts: Doctrine\ORM\PersistentCollection {#13453 …} +postVotes: Doctrine\ORM\PersistentCollection {#13455 …} +postComments: Doctrine\ORM\PersistentCollection {#13457 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13459 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13461 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13463 …} +follows: Doctrine\ORM\PersistentCollection {#13465 …} +followers: Doctrine\ORM\PersistentCollection {#13467 …} +blocks: Doctrine\ORM\PersistentCollection {#13469 …} +blockers: Doctrine\ORM\PersistentCollection {#13471 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13473 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13475 …} +reports: Doctrine\ORM\PersistentCollection {#13477 …} +favourites: Doctrine\ORM\PersistentCollection {#13479 …} +violations: Doctrine\ORM\PersistentCollection {#13481 …} +notifications: Doctrine\ORM\PersistentCollection {#13483 …} +awards: Doctrine\ORM\PersistentCollection {#13485 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13487 …} +categories: Doctrine\ORM\PersistentCollection {#13489 …} -id: 64911 -password: "$2y$13$QdCbTCGXsFLPo35xoqNxXON2GHe00Nuo7BpVlPG6HMLbqE20swWvi" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13491 …} +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 {#13435 : 2024-07-04 00:50:44.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698010857 {#13436 : 2023-10-22 23:40:57.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.39 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#13793 +avatar: Proxies\__CG__\App\Entity\Image {#13794 …} +cover: Proxies\__CG__\App\Entity\Image {#13795 …} +email: "CatLikeLemming@lemmy.blahaj.zone" +username: "@CatLikeLemming@lemmy.blahaj.zone" +roles: [] +followersCount: 0 +homepage: "front" +about: """ **she/they**\n \n Bit of a mess, kinda depressed, and going through a gender identity crisis :3\n \n (Ongoing issues, brain pls fix) """ +lastActive: DateTime @1726927914 {#13790 : 2024-09-21 16:11:54.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 {#13796 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13798 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13800 …} +entries: Doctrine\ORM\PersistentCollection {#13802 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13804 …} +entryComments: Doctrine\ORM\PersistentCollection {#13806 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13808 …} +posts: Doctrine\ORM\PersistentCollection {#13810 …} +postVotes: Doctrine\ORM\PersistentCollection {#13812 …} +postComments: Doctrine\ORM\PersistentCollection {#13814 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13816 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13818 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13820 …} +follows: Doctrine\ORM\PersistentCollection {#13822 …} +followers: Doctrine\ORM\PersistentCollection {#13824 …} +blocks: Doctrine\ORM\PersistentCollection {#13826 …} +blockers: Doctrine\ORM\PersistentCollection {#13828 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13830 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13832 …} +reports: Doctrine\ORM\PersistentCollection {#13834 …} +favourites: Doctrine\ORM\PersistentCollection {#13836 …} +violations: Doctrine\ORM\PersistentCollection {#13838 …} +notifications: Doctrine\ORM\PersistentCollection {#13840 …} +awards: Doctrine\ORM\PersistentCollection {#13842 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13844 …} +categories: Doctrine\ORM\PersistentCollection {#13846 …} -id: 64621 -password: "$2y$13$9mwKnPSwcuI6RJR0N1/zaOb.5REPJsVBU2IReGa8Zybu1HMPOOOdq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13848 …} +apId: "CatLikeLemming@lemmy.blahaj.zone" +apProfileId: "https://lemmy.blahaj.zone/u/CatLikeLemming" +apPublicUrl: "https://lemmy.blahaj.zone/u/CatLikeLemming" +apFollowersUrl: null +apInboxUrl: "https://lemmy.blahaj.zone/inbox" +apDomain: "lemmy.blahaj.zone" +apPreferredUsername: "CatLikeLemming" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1720687811 {#13791 : 2024-07-11 10:50:11.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1697986072 {#13792 : 2023-10-22 16:47:52.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#11865 +width: 65 +height: 65 +user: App\Entity\User {#13793 +avatar: Proxies\__CG__\App\Entity\Image {#13794 …} +cover: Proxies\__CG__\App\Entity\Image {#13795 …} +email: "CatLikeLemming@lemmy.blahaj.zone" +username: "@CatLikeLemming@lemmy.blahaj.zone" +roles: [] +followersCount: 0 +homepage: "front" +about: """ **she/they**\n \n Bit of a mess, kinda depressed, and going through a gender identity crisis :3\n \n (Ongoing issues, brain pls fix) """ +lastActive: DateTime @1726927914 {#13790 : 2024-09-21 16:11:54.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 {#13796 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13798 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13800 …} +entries: Doctrine\ORM\PersistentCollection {#13802 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13804 …} +entryComments: Doctrine\ORM\PersistentCollection {#13806 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13808 …} +posts: Doctrine\ORM\PersistentCollection {#13810 …} +postVotes: Doctrine\ORM\PersistentCollection {#13812 …} +postComments: Doctrine\ORM\PersistentCollection {#13814 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13816 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13818 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13820 …} +follows: Doctrine\ORM\PersistentCollection {#13822 …} +followers: Doctrine\ORM\PersistentCollection {#13824 …} +blocks: Doctrine\ORM\PersistentCollection {#13826 …} +blockers: Doctrine\ORM\PersistentCollection {#13828 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13830 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13832 …} +reports: Doctrine\ORM\PersistentCollection {#13834 …} +favourites: Doctrine\ORM\PersistentCollection {#13836 …} +violations: Doctrine\ORM\PersistentCollection {#13838 …} +notifications: Doctrine\ORM\PersistentCollection {#13840 …} +awards: Doctrine\ORM\PersistentCollection {#13842 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13844 …} +categories: Doctrine\ORM\PersistentCollection {#13846 …} -id: 64621 -password: "$2y$13$9mwKnPSwcuI6RJR0N1/zaOb.5REPJsVBU2IReGa8Zybu1HMPOOOdq" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13848 …} +apId: "CatLikeLemming@lemmy.blahaj.zone" +apProfileId: "https://lemmy.blahaj.zone/u/CatLikeLemming" +apPublicUrl: "https://lemmy.blahaj.zone/u/CatLikeLemming" +apFollowersUrl: null +apInboxUrl: "https://lemmy.blahaj.zone/inbox" +apDomain: "lemmy.blahaj.zone" +apPreferredUsername: "CatLikeLemming" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1720687811 {#13791 : 2024-07-11 10:50:11.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1697986072 {#13792 : 2023-10-22 16:47:52.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.30 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#12540 +avatar: Proxies\__CG__\App\Entity\Image {#12539 …} +cover: null +email: "tsonfeir@lemm.ee" +username: "@tsonfeir@lemm.ee" +roles: [] +followersCount: 0 +homepage: "front" +about: "I woke up in the morning at 11:47, and I can’t believe I have to face the horror of another fucking day." +lastActive: DateTime @1712696669 {#12543 : 2024-04-09 23:04:29.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 {#12538 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12536 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#12534 …} +entries: Doctrine\ORM\PersistentCollection {#12532 …} +entryVotes: Doctrine\ORM\PersistentCollection {#12530 …} +entryComments: Doctrine\ORM\PersistentCollection {#12528 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12526 …} +posts: Doctrine\ORM\PersistentCollection {#12524 …} +postVotes: Doctrine\ORM\PersistentCollection {#12522 …} +postComments: Doctrine\ORM\PersistentCollection {#12520 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#12518 …} +subscriptions: Doctrine\ORM\PersistentCollection {#12516 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#12514 …} +follows: Doctrine\ORM\PersistentCollection {#12512 …} +followers: Doctrine\ORM\PersistentCollection {#12510 …} +blocks: Doctrine\ORM\PersistentCollection {#12508 …} +blockers: Doctrine\ORM\PersistentCollection {#12506 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#12504 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#12502 …} +reports: Doctrine\ORM\PersistentCollection {#12500 …} +favourites: Doctrine\ORM\PersistentCollection {#12498 …} +violations: Doctrine\ORM\PersistentCollection {#12496 …} +notifications: Doctrine\ORM\PersistentCollection {#12494 …} +awards: Doctrine\ORM\PersistentCollection {#12492 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#12490 …} +categories: Doctrine\ORM\PersistentCollection {#12488 …} -id: 28864 -password: "$2y$13$17oScd/vU6XtPBQW4IhhSuhvmW5nqvCcVmroa2TDrml94enazXM6e" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12486 …} +apId: "tsonfeir@lemm.ee" +apProfileId: "https://lemm.ee/u/tsonfeir" +apPublicUrl: "https://lemm.ee/u/tsonfeir" +apFollowersUrl: null +apInboxUrl: "https://lemm.ee/inbox" +apDomain: "lemm.ee" +apPreferredUsername: "tsonfeir" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709487684 {#12542 : 2024-03-03 18:41:24.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689443284 {#12541 : 2023-07-15 19:48:04.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#8417 +width: 65 +height: 65 +user: App\Entity\User {#12540 +avatar: Proxies\__CG__\App\Entity\Image {#12539 …} +cover: null +email: "tsonfeir@lemm.ee" +username: "@tsonfeir@lemm.ee" +roles: [] +followersCount: 0 +homepage: "front" +about: "I woke up in the morning at 11:47, and I can’t believe I have to face the horror of another fucking day." +lastActive: DateTime @1712696669 {#12543 : 2024-04-09 23:04:29.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 {#12538 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12536 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#12534 …} +entries: Doctrine\ORM\PersistentCollection {#12532 …} +entryVotes: Doctrine\ORM\PersistentCollection {#12530 …} +entryComments: Doctrine\ORM\PersistentCollection {#12528 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12526 …} +posts: Doctrine\ORM\PersistentCollection {#12524 …} +postVotes: Doctrine\ORM\PersistentCollection {#12522 …} +postComments: Doctrine\ORM\PersistentCollection {#12520 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#12518 …} +subscriptions: Doctrine\ORM\PersistentCollection {#12516 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#12514 …} +follows: Doctrine\ORM\PersistentCollection {#12512 …} +followers: Doctrine\ORM\PersistentCollection {#12510 …} +blocks: Doctrine\ORM\PersistentCollection {#12508 …} +blockers: Doctrine\ORM\PersistentCollection {#12506 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#12504 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#12502 …} +reports: Doctrine\ORM\PersistentCollection {#12500 …} +favourites: Doctrine\ORM\PersistentCollection {#12498 …} +violations: Doctrine\ORM\PersistentCollection {#12496 …} +notifications: Doctrine\ORM\PersistentCollection {#12494 …} +awards: Doctrine\ORM\PersistentCollection {#12492 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#12490 …} +categories: Doctrine\ORM\PersistentCollection {#12488 …} -id: 28864 -password: "$2y$13$17oScd/vU6XtPBQW4IhhSuhvmW5nqvCcVmroa2TDrml94enazXM6e" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12486 …} +apId: "tsonfeir@lemm.ee" +apProfileId: "https://lemm.ee/u/tsonfeir" +apPublicUrl: "https://lemm.ee/u/tsonfeir" +apFollowersUrl: null +apInboxUrl: "https://lemm.ee/inbox" +apDomain: "lemm.ee" +apPreferredUsername: "tsonfeir" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709487684 {#12542 : 2024-03-03 18:41:24.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689443284 {#12541 : 2023-07-15 19:48:04.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.31 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#13139 +avatar: Proxies\__CG__\App\Entity\Image {#13140 …} +cover: null +email: "morrowind@lemmy.ml" +username: "@morrowind@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: """ If you’re here, there’s still hope for the internet\n \n Don’t let it fall """ +lastActive: DateTime @1729484238 {#13136 : 2024-10-21 06:17:18.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 {#13141 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13143 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13145 …} +entries: Doctrine\ORM\PersistentCollection {#13147 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13149 …} +entryComments: Doctrine\ORM\PersistentCollection {#13151 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13153 …} +posts: Doctrine\ORM\PersistentCollection {#13155 …} +postVotes: Doctrine\ORM\PersistentCollection {#13157 …} +postComments: Doctrine\ORM\PersistentCollection {#13159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13165 …} +follows: Doctrine\ORM\PersistentCollection {#13167 …} +followers: Doctrine\ORM\PersistentCollection {#13169 …} +blocks: Doctrine\ORM\PersistentCollection {#13171 …} +blockers: Doctrine\ORM\PersistentCollection {#13173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13177 …} +reports: Doctrine\ORM\PersistentCollection {#13179 …} +favourites: Doctrine\ORM\PersistentCollection {#13181 …} +violations: Doctrine\ORM\PersistentCollection {#13183 …} +notifications: Doctrine\ORM\PersistentCollection {#13185 …} +awards: Doctrine\ORM\PersistentCollection {#13187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13189 …} +categories: Doctrine\ORM\PersistentCollection {#13191 …} -id: 10079 -password: "$2y$13$.3aRC68M5ht.sH.0tcZGBugJVGvv8bC5BWMnX4UrZpRpgHPvfnFCS" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13193 …} +apId: "morrowind@lemmy.ml" +apProfileId: "https://lemmy.ml/u/morrowind" +apPublicUrl: "https://lemmy.ml/u/morrowind" +apFollowersUrl: null +apInboxUrl: "https://lemmy.ml/inbox" +apDomain: "lemmy.ml" +apPreferredUsername: "morrowind" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729383871 {#13137 : 2024-10-20 02:24:31.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687576087 {#13138 : 2023-06-24 05:08:07.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10508 +width: 65 +height: 65 +user: App\Entity\User {#13139 +avatar: Proxies\__CG__\App\Entity\Image {#13140 …} +cover: null +email: "morrowind@lemmy.ml" +username: "@morrowind@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: """ If you’re here, there’s still hope for the internet\n \n Don’t let it fall """ +lastActive: DateTime @1729484238 {#13136 : 2024-10-21 06:17:18.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 {#13141 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13143 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13145 …} +entries: Doctrine\ORM\PersistentCollection {#13147 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13149 …} +entryComments: Doctrine\ORM\PersistentCollection {#13151 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13153 …} +posts: Doctrine\ORM\PersistentCollection {#13155 …} +postVotes: Doctrine\ORM\PersistentCollection {#13157 …} +postComments: Doctrine\ORM\PersistentCollection {#13159 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13161 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13163 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13165 …} +follows: Doctrine\ORM\PersistentCollection {#13167 …} +followers: Doctrine\ORM\PersistentCollection {#13169 …} +blocks: Doctrine\ORM\PersistentCollection {#13171 …} +blockers: Doctrine\ORM\PersistentCollection {#13173 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13175 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13177 …} +reports: Doctrine\ORM\PersistentCollection {#13179 …} +favourites: Doctrine\ORM\PersistentCollection {#13181 …} +violations: Doctrine\ORM\PersistentCollection {#13183 …} +notifications: Doctrine\ORM\PersistentCollection {#13185 …} +awards: Doctrine\ORM\PersistentCollection {#13187 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13189 …} +categories: Doctrine\ORM\PersistentCollection {#13191 …} -id: 10079 -password: "$2y$13$.3aRC68M5ht.sH.0tcZGBugJVGvv8bC5BWMnX4UrZpRpgHPvfnFCS" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13193 …} +apId: "morrowind@lemmy.ml" +apProfileId: "https://lemmy.ml/u/morrowind" +apPublicUrl: "https://lemmy.ml/u/morrowind" +apFollowersUrl: null +apInboxUrl: "https://lemmy.ml/inbox" +apDomain: "lemmy.ml" +apPreferredUsername: "morrowind" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729383871 {#13137 : 2024-10-20 02:24:31.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687576087 {#13138 : 2023-06-24 05:08:07.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.28 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#13020 +avatar: Proxies\__CG__\App\Entity\Image {#13021 …} +cover: Proxies\__CG__\App\Entity\Image {#13022 …} +email: "krolden@lemmy.ml" +username: "@krolden@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: "Anyone that claims to speak on behalf of the universe is either a liar or a fool" +lastActive: DateTime @1728630272 {#13017 : 2024-10-11 09:04:32.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 {#13023 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13025 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13027 …} +entries: Doctrine\ORM\PersistentCollection {#13029 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13031 …} +entryComments: Doctrine\ORM\PersistentCollection {#13033 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13035 …} +posts: Doctrine\ORM\PersistentCollection {#13037 …} +postVotes: Doctrine\ORM\PersistentCollection {#13039 …} +postComments: Doctrine\ORM\PersistentCollection {#13041 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13043 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13045 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13047 …} +follows: Doctrine\ORM\PersistentCollection {#13049 …} +followers: Doctrine\ORM\PersistentCollection {#13051 …} +blocks: Doctrine\ORM\PersistentCollection {#13053 …} +blockers: Doctrine\ORM\PersistentCollection {#13055 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13057 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13059 …} +reports: Doctrine\ORM\PersistentCollection {#13061 …} +favourites: Doctrine\ORM\PersistentCollection {#13063 …} +violations: Doctrine\ORM\PersistentCollection {#13065 …} +notifications: Doctrine\ORM\PersistentCollection {#13067 …} +awards: Doctrine\ORM\PersistentCollection {#13069 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13071 …} +categories: Doctrine\ORM\PersistentCollection {#13073 …} -id: 2199 -password: "$2y$13$yB9zT3vQcs44fjXUm3hfc.GkQzpHH30ETjG2cY6bfj2ZtE/I444o." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13075 …} +apId: "krolden@lemmy.ml" +apProfileId: "https://lemmy.ml/u/krolden" +apPublicUrl: "https://lemmy.ml/u/krolden" +apFollowersUrl: null +apInboxUrl: "https://lemmy.ml/inbox" +apDomain: "lemmy.ml" +apPreferredUsername: "krolden" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728257841 {#13018 : 2024-10-07 01:37:21.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687018867 {#13019 : 2023-06-17 18:21:07.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#11918 +width: 65 +height: 65 +user: App\Entity\User {#13020 +avatar: Proxies\__CG__\App\Entity\Image {#13021 …} +cover: Proxies\__CG__\App\Entity\Image {#13022 …} +email: "krolden@lemmy.ml" +username: "@krolden@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: "Anyone that claims to speak on behalf of the universe is either a liar or a fool" +lastActive: DateTime @1728630272 {#13017 : 2024-10-11 09:04:32.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 {#13023 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13025 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13027 …} +entries: Doctrine\ORM\PersistentCollection {#13029 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13031 …} +entryComments: Doctrine\ORM\PersistentCollection {#13033 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13035 …} +posts: Doctrine\ORM\PersistentCollection {#13037 …} +postVotes: Doctrine\ORM\PersistentCollection {#13039 …} +postComments: Doctrine\ORM\PersistentCollection {#13041 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13043 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13045 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13047 …} +follows: Doctrine\ORM\PersistentCollection {#13049 …} +followers: Doctrine\ORM\PersistentCollection {#13051 …} +blocks: Doctrine\ORM\PersistentCollection {#13053 …} +blockers: Doctrine\ORM\PersistentCollection {#13055 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13057 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13059 …} +reports: Doctrine\ORM\PersistentCollection {#13061 …} +favourites: Doctrine\ORM\PersistentCollection {#13063 …} +violations: Doctrine\ORM\PersistentCollection {#13065 …} +notifications: Doctrine\ORM\PersistentCollection {#13067 …} +awards: Doctrine\ORM\PersistentCollection {#13069 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13071 …} +categories: Doctrine\ORM\PersistentCollection {#13073 …} -id: 2199 -password: "$2y$13$yB9zT3vQcs44fjXUm3hfc.GkQzpHH30ETjG2cY6bfj2ZtE/I444o." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13075 …} +apId: "krolden@lemmy.ml" +apProfileId: "https://lemmy.ml/u/krolden" +apPublicUrl: "https://lemmy.ml/u/krolden" +apFollowersUrl: null +apInboxUrl: "https://lemmy.ml/inbox" +apDomain: "lemmy.ml" +apPreferredUsername: "krolden" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728257841 {#13018 : 2024-10-07 01:37:21.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687018867 {#13019 : 2023-06-17 18:21:07.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.30 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#13198 +avatar: Proxies\__CG__\App\Entity\Image {#13199 …} +cover: Proxies\__CG__\App\Entity\Image {#13200 …} +email: "GustavoM@lemmy.world" +username: "@GustavoM@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "Definitely Not GustavoM. :^)" +lastActive: DateTime @1719679748 {#13195 : 2024-06-29 18:49:08.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 {#13201 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13203 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13205 …} +entries: Doctrine\ORM\PersistentCollection {#13207 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13209 …} +entryComments: Doctrine\ORM\PersistentCollection {#13211 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13213 …} +posts: Doctrine\ORM\PersistentCollection {#13215 …} +postVotes: Doctrine\ORM\PersistentCollection {#13217 …} +postComments: Doctrine\ORM\PersistentCollection {#13219 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13221 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13223 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13225 …} +follows: Doctrine\ORM\PersistentCollection {#13227 …} +followers: Doctrine\ORM\PersistentCollection {#13229 …} +blocks: Doctrine\ORM\PersistentCollection {#13231 …} +blockers: Doctrine\ORM\PersistentCollection {#13233 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13235 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13237 …} +reports: Doctrine\ORM\PersistentCollection {#13239 …} +favourites: Doctrine\ORM\PersistentCollection {#13241 …} +violations: Doctrine\ORM\PersistentCollection {#13243 …} +notifications: Doctrine\ORM\PersistentCollection {#13245 …} +awards: Doctrine\ORM\PersistentCollection {#13247 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13249 …} +categories: Doctrine\ORM\PersistentCollection {#13251 …} -id: 55594 -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13253 …} +apId: "GustavoM@lemmy.world" +apProfileId: "https://lemmy.world/u/GustavoM" +apPublicUrl: "https://lemmy.world/u/GustavoM" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "GustavoM" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727835761 {#13196 : 2024-10-02 04:22:41.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696981499 {#13197 : 2023-10-11 01:44:59.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#14391 +width: 65 +height: 65 +user: App\Entity\User {#13198 +avatar: Proxies\__CG__\App\Entity\Image {#13199 …} +cover: Proxies\__CG__\App\Entity\Image {#13200 …} +email: "GustavoM@lemmy.world" +username: "@GustavoM@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "Definitely Not GustavoM. :^)" +lastActive: DateTime @1719679748 {#13195 : 2024-06-29 18:49:08.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 {#13201 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13203 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13205 …} +entries: Doctrine\ORM\PersistentCollection {#13207 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13209 …} +entryComments: Doctrine\ORM\PersistentCollection {#13211 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13213 …} +posts: Doctrine\ORM\PersistentCollection {#13215 …} +postVotes: Doctrine\ORM\PersistentCollection {#13217 …} +postComments: Doctrine\ORM\PersistentCollection {#13219 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13221 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13223 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13225 …} +follows: Doctrine\ORM\PersistentCollection {#13227 …} +followers: Doctrine\ORM\PersistentCollection {#13229 …} +blocks: Doctrine\ORM\PersistentCollection {#13231 …} +blockers: Doctrine\ORM\PersistentCollection {#13233 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13235 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13237 …} +reports: Doctrine\ORM\PersistentCollection {#13239 …} +favourites: Doctrine\ORM\PersistentCollection {#13241 …} +violations: Doctrine\ORM\PersistentCollection {#13243 …} +notifications: Doctrine\ORM\PersistentCollection {#13245 …} +awards: Doctrine\ORM\PersistentCollection {#13247 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13249 …} +categories: Doctrine\ORM\PersistentCollection {#13251 …} -id: 55594 -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13253 …} +apId: "GustavoM@lemmy.world" +apProfileId: "https://lemmy.world/u/GustavoM" +apPublicUrl: "https://lemmy.world/u/GustavoM" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "GustavoM" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727835761 {#13196 : 2024-10-02 04:22:41.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696981499 {#13197 : 2023-10-11 01:44:59.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.39 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#12481 +avatar: Proxies\__CG__\App\Entity\Image {#12480 …} +cover: null +email: "ugjka@lemmy.world" +username: "@ugjka@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "[ugjka.net](https://ugjka.net)" +lastActive: DateTime @1727066920 {#12484 : 2024-09-23 06:48:40.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 {#12479 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12477 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#12475 …} +entries: Doctrine\ORM\PersistentCollection {#12473 …} +entryVotes: Doctrine\ORM\PersistentCollection {#12471 …} +entryComments: Doctrine\ORM\PersistentCollection {#12469 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12467 …} +posts: Doctrine\ORM\PersistentCollection {#12465 …} +postVotes: Doctrine\ORM\PersistentCollection {#12463 …} +postComments: Doctrine\ORM\PersistentCollection {#12461 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#12459 …} +subscriptions: Doctrine\ORM\PersistentCollection {#12457 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#12455 …} +follows: Doctrine\ORM\PersistentCollection {#12453 …} +followers: Doctrine\ORM\PersistentCollection {#12451 …} +blocks: Doctrine\ORM\PersistentCollection {#12449 …} +blockers: Doctrine\ORM\PersistentCollection {#12447 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#12445 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#12443 …} +reports: Doctrine\ORM\PersistentCollection {#12441 …} +favourites: Doctrine\ORM\PersistentCollection {#12439 …} +violations: Doctrine\ORM\PersistentCollection {#12437 …} +notifications: Doctrine\ORM\PersistentCollection {#12435 …} +awards: Doctrine\ORM\PersistentCollection {#12433 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#12431 …} +categories: Doctrine\ORM\PersistentCollection {#12429 …} -id: 74308 -password: "$2y$13$cb2BJmGMcYq7Lt.blp1Qf.h.37J2bnqmlgOeEVkBEcjYku6jXxonW" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12427 …} +apId: "ugjka@lemmy.world" +apProfileId: "https://lemmy.world/u/ugjka" +apPublicUrl: "https://lemmy.world/u/ugjka" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "ugjka" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705448316 {#12483 : 2024-01-17 00:38:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699716147 {#12482 : 2023-11-11 16:22:27.0 +01:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#14448 +width: 65 +height: 65 +user: App\Entity\User {#12481 +avatar: Proxies\__CG__\App\Entity\Image {#12480 …} +cover: null +email: "ugjka@lemmy.world" +username: "@ugjka@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "[ugjka.net](https://ugjka.net)" +lastActive: DateTime @1727066920 {#12484 : 2024-09-23 06:48:40.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 {#12479 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12477 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#12475 …} +entries: Doctrine\ORM\PersistentCollection {#12473 …} +entryVotes: Doctrine\ORM\PersistentCollection {#12471 …} +entryComments: Doctrine\ORM\PersistentCollection {#12469 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12467 …} +posts: Doctrine\ORM\PersistentCollection {#12465 …} +postVotes: Doctrine\ORM\PersistentCollection {#12463 …} +postComments: Doctrine\ORM\PersistentCollection {#12461 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#12459 …} +subscriptions: Doctrine\ORM\PersistentCollection {#12457 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#12455 …} +follows: Doctrine\ORM\PersistentCollection {#12453 …} +followers: Doctrine\ORM\PersistentCollection {#12451 …} +blocks: Doctrine\ORM\PersistentCollection {#12449 …} +blockers: Doctrine\ORM\PersistentCollection {#12447 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#12445 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#12443 …} +reports: Doctrine\ORM\PersistentCollection {#12441 …} +favourites: Doctrine\ORM\PersistentCollection {#12439 …} +violations: Doctrine\ORM\PersistentCollection {#12437 …} +notifications: Doctrine\ORM\PersistentCollection {#12435 …} +awards: Doctrine\ORM\PersistentCollection {#12433 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#12431 …} +categories: Doctrine\ORM\PersistentCollection {#12429 …} -id: 74308 -password: "$2y$13$cb2BJmGMcYq7Lt.blp1Qf.h.37J2bnqmlgOeEVkBEcjYku6jXxonW" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12427 …} +apId: "ugjka@lemmy.world" +apProfileId: "https://lemmy.world/u/ugjka" +apPublicUrl: "https://lemmy.world/u/ugjka" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "ugjka" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705448316 {#12483 : 2024-01-17 00:38:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699716147 {#12482 : 2023-11-11 16:22:27.0 +01:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.31 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#13733 +avatar: Proxies\__CG__\App\Entity\Image {#13734 …} +cover: Proxies\__CG__\App\Entity\Image {#13735 …} +email: "mr_MADAFAKA@lemmy.ml" +username: "@mr_MADAFAKA@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: "" +lastActive: DateTime @1728820284 {#13730 : 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 {#13736 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13738 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13740 …} +entries: Doctrine\ORM\PersistentCollection {#13742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13744 …} +entryComments: Doctrine\ORM\PersistentCollection {#13746 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13748 …} +posts: Doctrine\ORM\PersistentCollection {#13750 …} +postVotes: Doctrine\ORM\PersistentCollection {#13752 …} +postComments: Doctrine\ORM\PersistentCollection {#13754 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13756 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13758 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13760 …} +follows: Doctrine\ORM\PersistentCollection {#13762 …} +followers: Doctrine\ORM\PersistentCollection {#13764 …} +blocks: Doctrine\ORM\PersistentCollection {#13766 …} +blockers: Doctrine\ORM\PersistentCollection {#13768 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13770 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13772 …} +reports: Doctrine\ORM\PersistentCollection {#13774 …} +favourites: Doctrine\ORM\PersistentCollection {#13776 …} +violations: Doctrine\ORM\PersistentCollection {#13778 …} +notifications: Doctrine\ORM\PersistentCollection {#13780 …} +awards: Doctrine\ORM\PersistentCollection {#13782 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13784 …} +categories: Doctrine\ORM\PersistentCollection {#13786 …} -id: 51553 -password: "$2y$13$41.KpmYo8uPKCWyw9SDmuO4OoMVCCTDv9B45PYBFu0F.DkOHtmfPi" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13788 …} +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 {#13731 : 2024-07-02 15:04:33.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696574389 {#13732 : 2023-10-06 08:39:49.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#14505 +width: 65 +height: 65 +user: App\Entity\User {#13733 +avatar: Proxies\__CG__\App\Entity\Image {#13734 …} +cover: Proxies\__CG__\App\Entity\Image {#13735 …} +email: "mr_MADAFAKA@lemmy.ml" +username: "@mr_MADAFAKA@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: "" +lastActive: DateTime @1728820284 {#13730 : 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 {#13736 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13738 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13740 …} +entries: Doctrine\ORM\PersistentCollection {#13742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13744 …} +entryComments: Doctrine\ORM\PersistentCollection {#13746 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13748 …} +posts: Doctrine\ORM\PersistentCollection {#13750 …} +postVotes: Doctrine\ORM\PersistentCollection {#13752 …} +postComments: Doctrine\ORM\PersistentCollection {#13754 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13756 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13758 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13760 …} +follows: Doctrine\ORM\PersistentCollection {#13762 …} +followers: Doctrine\ORM\PersistentCollection {#13764 …} +blocks: Doctrine\ORM\PersistentCollection {#13766 …} +blockers: Doctrine\ORM\PersistentCollection {#13768 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13770 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13772 …} +reports: Doctrine\ORM\PersistentCollection {#13774 …} +favourites: Doctrine\ORM\PersistentCollection {#13776 …} +violations: Doctrine\ORM\PersistentCollection {#13778 …} +notifications: Doctrine\ORM\PersistentCollection {#13780 …} +awards: Doctrine\ORM\PersistentCollection {#13782 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13784 …} +categories: Doctrine\ORM\PersistentCollection {#13786 …} -id: 51553 -password: "$2y$13$41.KpmYo8uPKCWyw9SDmuO4OoMVCCTDv9B45PYBFu0F.DkOHtmfPi" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13788 …} +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 {#13731 : 2024-07-02 15:04:33.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696574389 {#13732 : 2023-10-06 08:39:49.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 6.47 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#12855 +avatar: Proxies\__CG__\App\Entity\Image {#12856 …} +cover: Proxies\__CG__\App\Entity\Image {#12853 …} +email: "Sven_Ademi@mastodon.social" +username: "@Sven_Ademi@mastodon.social" +roles: [] +followersCount: 0 +homepage: "front" +about: "" +lastActive: DateTime @1700505262 {#12860 : 2023-11-20 19:34:22.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 {#12854 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12852 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#12850 …} +entries: Doctrine\ORM\PersistentCollection {#12848 …} +entryVotes: Doctrine\ORM\PersistentCollection {#12846 …} +entryComments: Doctrine\ORM\PersistentCollection {#12844 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12842 …} +posts: Doctrine\ORM\PersistentCollection {#12840 …} +postVotes: Doctrine\ORM\PersistentCollection {#12838 …} +postComments: Doctrine\ORM\PersistentCollection {#12836 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#12834 …} +subscriptions: Doctrine\ORM\PersistentCollection {#12832 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#12830 …} +follows: Doctrine\ORM\PersistentCollection {#12828 …} +followers: Doctrine\ORM\PersistentCollection {#12826 …} +blocks: Doctrine\ORM\PersistentCollection {#12824 …} +blockers: Doctrine\ORM\PersistentCollection {#12822 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#12820 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#12818 …} +reports: Doctrine\ORM\PersistentCollection {#12816 …} +favourites: Doctrine\ORM\PersistentCollection {#12814 …} +violations: Doctrine\ORM\PersistentCollection {#12812 …} +notifications: Doctrine\ORM\PersistentCollection {#12810 …} +awards: Doctrine\ORM\PersistentCollection {#12808 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#12806 …} +categories: Doctrine\ORM\PersistentCollection {#12804 …} -id: 77345 -password: "$2y$13$oW32Mk05Nmbk/oGeEtBsn.6EqG3SUbpgB.iV5uMKCy3wARCepczwK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12802 …} +apId: "Sven_Ademi@mastodon.social" +apProfileId: "https://mastodon.social/users/Sven_Ademi" +apPublicUrl: "https://mastodon.social/@Sven_Ademi" +apFollowersUrl: "https://mastodon.social/users/Sven_Ademi/followers" +apInboxUrl: "https://mastodon.social/inbox" +apDomain: "mastodon.social" +apPreferredUsername: "Sven_Ademi" +apDiscoverable: false +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700505260 {#12857 : 2023-11-20 19:34:20.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1700505259 {#12858 : 2023-11-20 19:34:19.0 +01:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#14562 +width: 65 +height: 65 +user: App\Entity\User {#12855 +avatar: Proxies\__CG__\App\Entity\Image {#12856 …} +cover: Proxies\__CG__\App\Entity\Image {#12853 …} +email: "Sven_Ademi@mastodon.social" +username: "@Sven_Ademi@mastodon.social" +roles: [] +followersCount: 0 +homepage: "front" +about: "" +lastActive: DateTime @1700505262 {#12860 : 2023-11-20 19:34:22.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 {#12854 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12852 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#12850 …} +entries: Doctrine\ORM\PersistentCollection {#12848 …} +entryVotes: Doctrine\ORM\PersistentCollection {#12846 …} +entryComments: Doctrine\ORM\PersistentCollection {#12844 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12842 …} +posts: Doctrine\ORM\PersistentCollection {#12840 …} +postVotes: Doctrine\ORM\PersistentCollection {#12838 …} +postComments: Doctrine\ORM\PersistentCollection {#12836 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#12834 …} +subscriptions: Doctrine\ORM\PersistentCollection {#12832 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#12830 …} +follows: Doctrine\ORM\PersistentCollection {#12828 …} +followers: Doctrine\ORM\PersistentCollection {#12826 …} +blocks: Doctrine\ORM\PersistentCollection {#12824 …} +blockers: Doctrine\ORM\PersistentCollection {#12822 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#12820 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#12818 …} +reports: Doctrine\ORM\PersistentCollection {#12816 …} +favourites: Doctrine\ORM\PersistentCollection {#12814 …} +violations: Doctrine\ORM\PersistentCollection {#12812 …} +notifications: Doctrine\ORM\PersistentCollection {#12810 …} +awards: Doctrine\ORM\PersistentCollection {#12808 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#12806 …} +categories: Doctrine\ORM\PersistentCollection {#12804 …} -id: 77345 -password: "$2y$13$oW32Mk05Nmbk/oGeEtBsn.6EqG3SUbpgB.iV5uMKCy3wARCepczwK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12802 …} +apId: "Sven_Ademi@mastodon.social" +apProfileId: "https://mastodon.social/users/Sven_Ademi" +apPublicUrl: "https://mastodon.social/@Sven_Ademi" +apFollowersUrl: "https://mastodon.social/users/Sven_Ademi/followers" +apInboxUrl: "https://mastodon.social/inbox" +apDomain: "mastodon.social" +apPreferredUsername: "Sven_Ademi" +apDiscoverable: false +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700505260 {#12857 : 2023-11-20 19:34:20.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1700505259 {#12858 : 2023-11-20 19:34:19.0 +01:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.35 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#13496 +avatar: Proxies\__CG__\App\Entity\Image {#13497 …} +cover: null +email: "jackpot@lemmy.ml" +username: "@jackpot@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: "Bill Gates’ money manager [Michael Larson] is accused of racism, inappropriate sexual remarks and bullying. He has not been fired." +lastActive: DateTime @1729471730 {#13493 : 2024-10-21 02:48:50.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 {#13498 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13500 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13502 …} +entries: Doctrine\ORM\PersistentCollection {#13504 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13506 …} +entryComments: Doctrine\ORM\PersistentCollection {#13508 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13510 …} +posts: Doctrine\ORM\PersistentCollection {#13512 …} +postVotes: Doctrine\ORM\PersistentCollection {#13514 …} +postComments: Doctrine\ORM\PersistentCollection {#13516 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13518 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13520 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13522 …} +follows: Doctrine\ORM\PersistentCollection {#13524 …} +followers: Doctrine\ORM\PersistentCollection {#13526 …} +blocks: Doctrine\ORM\PersistentCollection {#13528 …} +blockers: Doctrine\ORM\PersistentCollection {#13530 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13532 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13534 …} +reports: Doctrine\ORM\PersistentCollection {#13536 …} +favourites: Doctrine\ORM\PersistentCollection {#13538 …} +violations: Doctrine\ORM\PersistentCollection {#13540 …} +notifications: Doctrine\ORM\PersistentCollection {#13542 …} +awards: Doctrine\ORM\PersistentCollection {#13544 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13546 …} +categories: Doctrine\ORM\PersistentCollection {#13548 …} -id: 24127 -password: "$2y$13$kXPly9lntBupadiWXLeOOeyrrakoECnxHxZnWbaezQhWg8BEFGx0." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13550 …} +apId: "jackpot@lemmy.ml" +apProfileId: "https://lemmy.ml/u/jackpot" +apPublicUrl: "https://lemmy.ml/u/jackpot" +apFollowersUrl: null +apInboxUrl: "https://lemmy.ml/inbox" +apDomain: "lemmy.ml" +apPreferredUsername: "jackpot" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729577200 {#13494 : 2024-10-22 08:06:40.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689125983 {#13495 : 2023-07-12 03:39:43.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#14625 +width: 65 +height: 65 +user: App\Entity\User {#13496 +avatar: Proxies\__CG__\App\Entity\Image {#13497 …} +cover: null +email: "jackpot@lemmy.ml" +username: "@jackpot@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: "Bill Gates’ money manager [Michael Larson] is accused of racism, inappropriate sexual remarks and bullying. He has not been fired." +lastActive: DateTime @1729471730 {#13493 : 2024-10-21 02:48:50.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 {#13498 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13500 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13502 …} +entries: Doctrine\ORM\PersistentCollection {#13504 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13506 …} +entryComments: Doctrine\ORM\PersistentCollection {#13508 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13510 …} +posts: Doctrine\ORM\PersistentCollection {#13512 …} +postVotes: Doctrine\ORM\PersistentCollection {#13514 …} +postComments: Doctrine\ORM\PersistentCollection {#13516 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13518 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13520 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13522 …} +follows: Doctrine\ORM\PersistentCollection {#13524 …} +followers: Doctrine\ORM\PersistentCollection {#13526 …} +blocks: Doctrine\ORM\PersistentCollection {#13528 …} +blockers: Doctrine\ORM\PersistentCollection {#13530 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13532 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13534 …} +reports: Doctrine\ORM\PersistentCollection {#13536 …} +favourites: Doctrine\ORM\PersistentCollection {#13538 …} +violations: Doctrine\ORM\PersistentCollection {#13540 …} +notifications: Doctrine\ORM\PersistentCollection {#13542 …} +awards: Doctrine\ORM\PersistentCollection {#13544 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13546 …} +categories: Doctrine\ORM\PersistentCollection {#13548 …} -id: 24127 -password: "$2y$13$kXPly9lntBupadiWXLeOOeyrrakoECnxHxZnWbaezQhWg8BEFGx0." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13550 …} +apId: "jackpot@lemmy.ml" +apProfileId: "https://lemmy.ml/u/jackpot" +apPublicUrl: "https://lemmy.ml/u/jackpot" +apFollowersUrl: null +apInboxUrl: "https://lemmy.ml/inbox" +apDomain: "lemmy.ml" +apPreferredUsername: "jackpot" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729577200 {#13494 : 2024-10-22 08:06:40.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689125983 {#13495 : 2023-07-12 03:39:43.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.30 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#13853 +avatar: Proxies\__CG__\App\Entity\Image {#13854 …} +cover: Proxies\__CG__\App\Entity\Image {#13855 …} +email: "skullgiver@popplesburger.hilciferous.nl" +username: "@skullgiver@popplesburger.hilciferous.nl" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Giver of skulls\n \n  """ +lastActive: DateTime @1729447830 {#13850 : 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 {#13856 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13858 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13860 …} +entries: Doctrine\ORM\PersistentCollection {#13862 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13864 …} +entryComments: Doctrine\ORM\PersistentCollection {#13866 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13868 …} +posts: Doctrine\ORM\PersistentCollection {#13870 …} +postVotes: Doctrine\ORM\PersistentCollection {#13872 …} +postComments: Doctrine\ORM\PersistentCollection {#13874 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13876 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13878 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13880 …} +follows: Doctrine\ORM\PersistentCollection {#13882 …} +followers: Doctrine\ORM\PersistentCollection {#13884 …} +blocks: Doctrine\ORM\PersistentCollection {#13886 …} +blockers: Doctrine\ORM\PersistentCollection {#13888 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13890 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13892 …} +reports: Doctrine\ORM\PersistentCollection {#13894 …} +favourites: Doctrine\ORM\PersistentCollection {#13896 …} +violations: Doctrine\ORM\PersistentCollection {#13898 …} +notifications: Doctrine\ORM\PersistentCollection {#13900 …} +awards: Doctrine\ORM\PersistentCollection {#13902 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13904 …} +categories: Doctrine\ORM\PersistentCollection {#13906 …} -id: 141 -password: "$2y$13$WNx1Bxmow68.X6L50T9Ex.e5g9dz3jvgk4/OA1Q5m2NxPCnyI.Q0C" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13908 …} +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 {#13851 : 2024-10-18 09:25:19.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686730951 {#13852 : 2023-06-14 10:22:31.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#14682 +width: 65 +height: 65 +user: App\Entity\User {#13853 +avatar: Proxies\__CG__\App\Entity\Image {#13854 …} +cover: Proxies\__CG__\App\Entity\Image {#13855 …} +email: "skullgiver@popplesburger.hilciferous.nl" +username: "@skullgiver@popplesburger.hilciferous.nl" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Giver of skulls\n \n  """ +lastActive: DateTime @1729447830 {#13850 : 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 {#13856 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13858 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#13860 …} +entries: Doctrine\ORM\PersistentCollection {#13862 …} +entryVotes: Doctrine\ORM\PersistentCollection {#13864 …} +entryComments: Doctrine\ORM\PersistentCollection {#13866 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13868 …} +posts: Doctrine\ORM\PersistentCollection {#13870 …} +postVotes: Doctrine\ORM\PersistentCollection {#13872 …} +postComments: Doctrine\ORM\PersistentCollection {#13874 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#13876 …} +subscriptions: Doctrine\ORM\PersistentCollection {#13878 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#13880 …} +follows: Doctrine\ORM\PersistentCollection {#13882 …} +followers: Doctrine\ORM\PersistentCollection {#13884 …} +blocks: Doctrine\ORM\PersistentCollection {#13886 …} +blockers: Doctrine\ORM\PersistentCollection {#13888 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#13890 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#13892 …} +reports: Doctrine\ORM\PersistentCollection {#13894 …} +favourites: Doctrine\ORM\PersistentCollection {#13896 …} +violations: Doctrine\ORM\PersistentCollection {#13898 …} +notifications: Doctrine\ORM\PersistentCollection {#13900 …} +awards: Doctrine\ORM\PersistentCollection {#13902 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#13904 …} +categories: Doctrine\ORM\PersistentCollection {#13906 …} -id: 141 -password: "$2y$13$WNx1Bxmow68.X6L50T9Ex.e5g9dz3jvgk4/OA1Q5m2NxPCnyI.Q0C" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13908 …} +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 {#13851 : 2024-10-18 09:25:19.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686730951 {#13852 : 2023-06-14 10:22:31.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.29 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#12422 +avatar: Proxies\__CG__\App\Entity\Image {#12421 …} +cover: Proxies\__CG__\App\Entity\Image {#12420 …} +email: "wwwgem@lemmy.ml" +username: "@wwwgem@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: "A space biologist by training and a (Arch)Linux user by passion #ArchLinux #Linux #KISS #FOSS #terminal, #python <https://www-gem.codeberg.page>" +lastActive: DateTime @1729539403 {#12425 : 2024-10-21 21:36:43.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 {#12419 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12417 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#12415 …} +entries: Doctrine\ORM\PersistentCollection {#12413 …} +entryVotes: Doctrine\ORM\PersistentCollection {#12411 …} +entryComments: Doctrine\ORM\PersistentCollection {#12409 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12407 …} +posts: Doctrine\ORM\PersistentCollection {#12405 …} +postVotes: Doctrine\ORM\PersistentCollection {#12403 …} +postComments: Doctrine\ORM\PersistentCollection {#12401 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#12399 …} +subscriptions: Doctrine\ORM\PersistentCollection {#12397 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#12395 …} +follows: Doctrine\ORM\PersistentCollection {#12393 …} +followers: Doctrine\ORM\PersistentCollection {#12391 …} +blocks: Doctrine\ORM\PersistentCollection {#12389 …} +blockers: Doctrine\ORM\PersistentCollection {#12387 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#12337 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#12339 …} +reports: Doctrine\ORM\PersistentCollection {#12346 …} +favourites: Doctrine\ORM\PersistentCollection {#12347 …} +violations: Doctrine\ORM\PersistentCollection {#12349 …} +notifications: Doctrine\ORM\PersistentCollection {#12351 …} +awards: Doctrine\ORM\PersistentCollection {#12348 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#12341 …} +categories: Doctrine\ORM\PersistentCollection {#12359 …} -id: 86842 -password: "$2y$13$vJK6FccW0rsstpFJiKChZOdYgv54PwvBjGGijk0sEi7nJxDIuxzAa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12356 …} +apId: "wwwgem@lemmy.ml" +apProfileId: "https://lemmy.ml/u/wwwgem" +apPublicUrl: "https://lemmy.ml/u/wwwgem" +apFollowersUrl: null +apInboxUrl: "https://lemmy.ml/inbox" +apDomain: "lemmy.ml" +apPreferredUsername: "wwwgem" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1706680745 {#12424 : 2024-01-31 06:59:05.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1706680744 {#12423 : 2024-01-31 06:59:04.0 +01:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#14739 +width: 65 +height: 65 +user: App\Entity\User {#12422 +avatar: Proxies\__CG__\App\Entity\Image {#12421 …} +cover: Proxies\__CG__\App\Entity\Image {#12420 …} +email: "wwwgem@lemmy.ml" +username: "@wwwgem@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: "A space biologist by training and a (Arch)Linux user by passion #ArchLinux #Linux #KISS #FOSS #terminal, #python <https://www-gem.codeberg.page>" +lastActive: DateTime @1729539403 {#12425 : 2024-10-21 21:36:43.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 {#12419 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#12417 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#12415 …} +entries: Doctrine\ORM\PersistentCollection {#12413 …} +entryVotes: Doctrine\ORM\PersistentCollection {#12411 …} +entryComments: Doctrine\ORM\PersistentCollection {#12409 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#12407 …} +posts: Doctrine\ORM\PersistentCollection {#12405 …} +postVotes: Doctrine\ORM\PersistentCollection {#12403 …} +postComments: Doctrine\ORM\PersistentCollection {#12401 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#12399 …} +subscriptions: Doctrine\ORM\PersistentCollection {#12397 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#12395 …} +follows: Doctrine\ORM\PersistentCollection {#12393 …} +followers: Doctrine\ORM\PersistentCollection {#12391 …} +blocks: Doctrine\ORM\PersistentCollection {#12389 …} +blockers: Doctrine\ORM\PersistentCollection {#12387 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#12337 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#12339 …} +reports: Doctrine\ORM\PersistentCollection {#12346 …} +favourites: Doctrine\ORM\PersistentCollection {#12347 …} +violations: Doctrine\ORM\PersistentCollection {#12349 …} +notifications: Doctrine\ORM\PersistentCollection {#12351 …} +awards: Doctrine\ORM\PersistentCollection {#12348 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#12341 …} +categories: Doctrine\ORM\PersistentCollection {#12359 …} -id: 86842 -password: "$2y$13$vJK6FccW0rsstpFJiKChZOdYgv54PwvBjGGijk0sEi7nJxDIuxzAa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#12356 …} +apId: "wwwgem@lemmy.ml" +apProfileId: "https://lemmy.ml/u/wwwgem" +apPublicUrl: "https://lemmy.ml/u/wwwgem" +apFollowersUrl: null +apInboxUrl: "https://lemmy.ml/inbox" +apDomain: "lemmy.ml" +apPreferredUsername: "wwwgem" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1706680745 {#12424 : 2024-01-31 06:59:05.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1706680744 {#12423 : 2024-01-31 06:59:04.0 +01:00 } } +asLink: true } |
related_categories | App\Twig\Components\RelatedCategoriesComponent | 14.0 MiB | 4.18 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "linux@lemmy.ml" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedCategoriesComponent {#14801 +limit: 4 +tag: null +magazine: "linux@lemmy.ml" +type: "related" +title: "related_categories" +refreshedRandom: false -repository: App\Repository\CategoryRepository {#14802 …} -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.62 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "linux@lemmy.ml" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedPostsComponent {#14878 +limit: 4 +tag: null +magazine: "linux@lemmy.ml" +type: "magazine" +post: null +title: "related_posts" +refreshedRandom: false -repository: App\Repository\PostRepository {#14879 …} -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.55 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "linux@lemmy.ml" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedEntriesComponent {#14951 +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 {#15020 +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 {#15021 …} } |
featured_magazines | App\Twig\Components\FeaturedMagazinesComponent | 14.0 MiB | 0.76 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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 2023-11-02 13:51:08.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\FeaturedMagazinesComponent {#15109 +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 : 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 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#272 : 2023-11-02 13:51:08.0 +01:00 } } -twig: Twig\Environment {#1252 …} -repository: App\Repository\MagazineRepository {#334 …} } |