GET https://kbin.spritesserver.nl/u/@linuxPIPEpower@discuss.tchncs.de/threads/top/%E2%88%9E/articles

Components

18 Twig Components
44 Render Count
66 ms Render Time
16.0 MiB Memory Usage

Components

Name Metadata Render Count Render Time
settings_row_switch
"App\Twig\Components\SettingsRowSwitchComponent"
components/_settings_row_switch.html.twig
15 13.36ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 0.82ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
3 0.55ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
2 36.40ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
2 0.40ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
2 0.32ms
magazine_inline
"App\Twig\Components\MagazineInlineComponent"
components/magazine_inline.html.twig
2 0.36ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
2 3.75ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
2 2.05ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.41ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 0.66ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 1.77ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 0.24ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 1.60ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 1.48ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 3.49ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 2.51ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 3.19ms

Render calls

entry App\Twig\Components\EntryComponent 16.0 MiB 30.02 ms
Input props
[
  "entry" => App\Entity\Entry {#1560
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "Use-YAD-Zenity-dialogues-to-populated-variables-in-a-bash-script"
    +title: "Use YAD/Zenity dialogues to populated variables in a bash script?"
    +url: null
    +body: """
      I am learning some bash scripting.\n
      \n
      I am interested to learn about getting input for my scripts via a GUI interface. It seems that `yad` (forked from `zenity`) is the most robust tool for this. (But if there is a better choice I would like to hear about it too.)\n
      \n
      Is it possible to obtain *2 or more* named variables using `yad`? *Not* just getting the values based on their positions (`$1`, `$2`, etc), with `awk`. See “What doesn’t work” spoiler for those.\n
      \n
      What doesn't workI find how to obtain *one* named variable, for [example](https://askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity): `sh inputStr=$(zenity --entry --title=“My Title” --text=“My Text:”) `I also find solutions relying on opening single-variable dialogues sequentially but that’s a terrible interface. Everything else relies on chopping up the output with `awk` or based on the positions, `$1`, `$2`, `$3` etc. In [this script](https://askubuntu.com/a/1251429) `$jpgfile` is obtained: `sh jpgfile=$(echo $OUTPUT | awk ‘BEGIN {FS=“,” } { print $1 }’) `This seems unmanageable because adding a new field or failing to provide input for a field will both change the output order of every subsequent value. It’s way too fragile.\n
      \n
      For a simple example, I want to ask the user for a file name and some content. Creating the dialogue is like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">yad --title </span><span style="color:#183691;">"Create a file"</span><span style="color:#323232;"> --form --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"File name"</span><span style="color:#323232;"> --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"Content"\n
      </span>\n
      ```\n
      \n
      If you fill both fields the output in the terminal is `file|this is some text|`. How do I get them into variables like `$filename` and `$filecontent`? So then I can finish the script like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">touch </span><span style="color:#183691;">"$</span><span style="color:#323232;">filename</span><span style="color:#183691;">"\n
      </span><span style="color:#62a35c;">echo </span><span style="color:#183691;">"$</span><span style="color:#323232;">filecontent</span><span style="color:#183691;">" </span><span style="font-weight:bold;color:#a71d5d;">> </span><span style="color:#323232;">$filename\n
      </span>\n
      ```\n
      \n
      Is this possible??? I do not find it anywhere. I looked though all kinds of websites like [YAD Guide](https://yad-guide.ingk.se/), [yad man page](https://www.mankier.com/1/yad), [smokey01](https://smokey01.com/yad/). Maybe I missed something. On [yaddemo](https://github.com/cjungmann/yaddemo/) I read about bash arrays and it seemed to come close but I couldn’t quite piece it together.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729147158 {#1587
      date: 2024-10-17 08:39:18.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1687 …}
    +votes: Doctrine\ORM\PersistentCollection {#1689 …}
    +reports: Doctrine\ORM\PersistentCollection {#1692 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1714 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1729 …}
    +badges: Doctrine\ORM\PersistentCollection {#2411 …}
    +children: []
    -id: 33597
    -titleTs: "'bash':9 'dialogu':3 'popul':5 'script':10 'use':1 'variabl':6 'yad/zenity':2"
    -bodyTs: "'/),':293 '/1/yad),':299 '/a/1251429)':153 '/cjungmann/yaddemo/)':312 '/questions/489497/store-the-return-string-to-a-variable-from-zenity):':100 '/yad/).':303 '1':72,144,165 '2':56,73,145 '3':146 'ad':170 'also':112 'anywher':280 'array':317 'ask':204 'askubuntu.com':99,152 'askubuntu.com/a/1251429)':151 'askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity):':98 'awk':76,138,161 'base':68,140 'bash':5,316 'begin':162 'better':41 'chang':184 'choic':42 'chop':133 'close':323 'come':322 'content':213,230 'couldn':326 'creat':214,222 'dialogu':121,216 'doesn':79,86 'echo':159,269 'els':130 'entri':104 'etc':74,147 'everi':189 'everyth':129 'exampl':97,200 'fail':175 'field':173,181,226,229,235 'file':209,224,227,242 'filecont':257,270 'filenam':255,268,271 'fill':233 'find':89,113,278 'finish':262 'fork':26 'form':225 'fragil':196 'fs':163 'get':13,65,250 'github.com':311 'github.com/cjungmann/yaddemo/)':310 'gui':20 'guid':290 'hear':47 'input':14,178 'inputstr':102 'interest':9 'interfac':21,128 'jpgfile':154,158 'kind':285 'learn':3,11 'like':45,218,254,265,288 'look':282 'man':295 'mayb':304 'miss':306 'name':59,94,210,228 'new':172 'obtain':55,92,156 'one':93 'open':117 'order':187 'output':136,160,186,237 'page':296 'piec':329 'posit':71,143 'possibl':53,274 'print':164 'provid':177 'quit':328 'read':314 'reli':115,131 'robust':32 'script':6,17,150,264 'see':77 'seem':23,167,320 'sequenti':122 'sh':101,157 'simpl':199 'singl':119 'single-vari':118 'smokey01':300 'smokey01.com':302 'smokey01.com/yad/).':301 'solut':114 'someth':307 'spoiler':82 'subsequ':190 'termin':240 'terribl':127 'text':108,110,246 'though':283 'titl':105,107,221 'togeth':331 'tool':33 'touch':267 'unmanag':168 'use':61 'user':206 'valu':67,191 'variabl':60,95,120,253 'via':18 'want':202 'way':194 'websit':287 'work':81 'worki':88 'would':44 'www.mankier.com':298 'www.mankier.com/1/yad),':297 'yad':25,62,220,289,294 'yad-guide.ingk.se':292 'yad-guide.ingk.se/),':291 'yaddemo':309 'zeniti':28,103"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706482025
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9987356"
    +editedAt: DateTimeImmutable @1729128865 {#1449
      date: 2024-10-17 03:34:25.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706436525 {#1585
      date: 2024-01-28 11:08:45.0 +01:00
    }
  }
  "showMagazineName" => true
]
Attributes
[]
Component
App\Twig\Components\EntryComponent {#2053
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2058 …}
  -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 {#1560
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "Use-YAD-Zenity-dialogues-to-populated-variables-in-a-bash-script"
    +title: "Use YAD/Zenity dialogues to populated variables in a bash script?"
    +url: null
    +body: """
      I am learning some bash scripting.\n
      \n
      I am interested to learn about getting input for my scripts via a GUI interface. It seems that `yad` (forked from `zenity`) is the most robust tool for this. (But if there is a better choice I would like to hear about it too.)\n
      \n
      Is it possible to obtain *2 or more* named variables using `yad`? *Not* just getting the values based on their positions (`$1`, `$2`, etc), with `awk`. See “What doesn’t work” spoiler for those.\n
      \n
      What doesn't workI find how to obtain *one* named variable, for [example](https://askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity): `sh inputStr=$(zenity --entry --title=“My Title” --text=“My Text:”) `I also find solutions relying on opening single-variable dialogues sequentially but that’s a terrible interface. Everything else relies on chopping up the output with `awk` or based on the positions, `$1`, `$2`, `$3` etc. In [this script](https://askubuntu.com/a/1251429) `$jpgfile` is obtained: `sh jpgfile=$(echo $OUTPUT | awk ‘BEGIN {FS=“,” } { print $1 }’) `This seems unmanageable because adding a new field or failing to provide input for a field will both change the output order of every subsequent value. It’s way too fragile.\n
      \n
      For a simple example, I want to ask the user for a file name and some content. Creating the dialogue is like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">yad --title </span><span style="color:#183691;">"Create a file"</span><span style="color:#323232;"> --form --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"File name"</span><span style="color:#323232;"> --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"Content"\n
      </span>\n
      ```\n
      \n
      If you fill both fields the output in the terminal is `file|this is some text|`. How do I get them into variables like `$filename` and `$filecontent`? So then I can finish the script like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">touch </span><span style="color:#183691;">"$</span><span style="color:#323232;">filename</span><span style="color:#183691;">"\n
      </span><span style="color:#62a35c;">echo </span><span style="color:#183691;">"$</span><span style="color:#323232;">filecontent</span><span style="color:#183691;">" </span><span style="font-weight:bold;color:#a71d5d;">> </span><span style="color:#323232;">$filename\n
      </span>\n
      ```\n
      \n
      Is this possible??? I do not find it anywhere. I looked though all kinds of websites like [YAD Guide](https://yad-guide.ingk.se/), [yad man page](https://www.mankier.com/1/yad), [smokey01](https://smokey01.com/yad/). Maybe I missed something. On [yaddemo](https://github.com/cjungmann/yaddemo/) I read about bash arrays and it seemed to come close but I couldn’t quite piece it together.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729147158 {#1587
      date: 2024-10-17 08:39:18.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1687 …}
    +votes: Doctrine\ORM\PersistentCollection {#1689 …}
    +reports: Doctrine\ORM\PersistentCollection {#1692 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1714 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1729 …}
    +badges: Doctrine\ORM\PersistentCollection {#2411 …}
    +children: []
    -id: 33597
    -titleTs: "'bash':9 'dialogu':3 'popul':5 'script':10 'use':1 'variabl':6 'yad/zenity':2"
    -bodyTs: "'/),':293 '/1/yad),':299 '/a/1251429)':153 '/cjungmann/yaddemo/)':312 '/questions/489497/store-the-return-string-to-a-variable-from-zenity):':100 '/yad/).':303 '1':72,144,165 '2':56,73,145 '3':146 'ad':170 'also':112 'anywher':280 'array':317 'ask':204 'askubuntu.com':99,152 'askubuntu.com/a/1251429)':151 'askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity):':98 'awk':76,138,161 'base':68,140 'bash':5,316 'begin':162 'better':41 'chang':184 'choic':42 'chop':133 'close':323 'come':322 'content':213,230 'couldn':326 'creat':214,222 'dialogu':121,216 'doesn':79,86 'echo':159,269 'els':130 'entri':104 'etc':74,147 'everi':189 'everyth':129 'exampl':97,200 'fail':175 'field':173,181,226,229,235 'file':209,224,227,242 'filecont':257,270 'filenam':255,268,271 'fill':233 'find':89,113,278 'finish':262 'fork':26 'form':225 'fragil':196 'fs':163 'get':13,65,250 'github.com':311 'github.com/cjungmann/yaddemo/)':310 'gui':20 'guid':290 'hear':47 'input':14,178 'inputstr':102 'interest':9 'interfac':21,128 'jpgfile':154,158 'kind':285 'learn':3,11 'like':45,218,254,265,288 'look':282 'man':295 'mayb':304 'miss':306 'name':59,94,210,228 'new':172 'obtain':55,92,156 'one':93 'open':117 'order':187 'output':136,160,186,237 'page':296 'piec':329 'posit':71,143 'possibl':53,274 'print':164 'provid':177 'quit':328 'read':314 'reli':115,131 'robust':32 'script':6,17,150,264 'see':77 'seem':23,167,320 'sequenti':122 'sh':101,157 'simpl':199 'singl':119 'single-vari':118 'smokey01':300 'smokey01.com':302 'smokey01.com/yad/).':301 'solut':114 'someth':307 'spoiler':82 'subsequ':190 'termin':240 'terribl':127 'text':108,110,246 'though':283 'titl':105,107,221 'togeth':331 'tool':33 'touch':267 'unmanag':168 'use':61 'user':206 'valu':67,191 'variabl':60,95,120,253 'via':18 'want':202 'way':194 'websit':287 'work':81 'worki':88 'would':44 'www.mankier.com':298 'www.mankier.com/1/yad),':297 'yad':25,62,220,289,294 'yad-guide.ingk.se':292 'yad-guide.ingk.se/),':291 'yaddemo':309 'zeniti':28,103"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706482025
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9987356"
    +editedAt: DateTimeImmutable @1729128865 {#1449
      date: 2024-10-17 03:34:25.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706436525 {#1585
      date: 2024-01-28 11:08:45.0 +01:00
    }
  }
  +isSingle: false
  +showShortSentence: true
  +showBody: false
  +showMagazineName: true
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.26 ms
Input props
[
  "user" => App\Entity\User {#263
    +avatar: null
    +cover: null
    +email: "linuxPIPEpower@discuss.tchncs.de"
    +username: "@linuxPIPEpower@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729147158 {#271
      date: 2024-10-17 08:39: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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
    +entries: Doctrine\ORM\PersistentCollection {#194 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
    +posts: Doctrine\ORM\PersistentCollection {#82 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
    +follows: Doctrine\ORM\PersistentCollection {#1770 …}
    +followers: Doctrine\ORM\PersistentCollection {#1873 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
    +reports: Doctrine\ORM\PersistentCollection {#2396 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
    +violations: Doctrine\ORM\PersistentCollection {#1803 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
    +awards: Doctrine\ORM\PersistentCollection {#1947 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
    +categories: Doctrine\ORM\PersistentCollection {#1877 …}
    -id: 86105
    -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
    +apId: "linuxPIPEpower@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "linuxPIPEpower"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728132845 {#272
      date: 2024-10-05 14:54:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1705651727 {#266
      date: 2024-01-19 09:08:47.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#2566
  +user: App\Entity\User {#263
    +avatar: null
    +cover: null
    +email: "linuxPIPEpower@discuss.tchncs.de"
    +username: "@linuxPIPEpower@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729147158 {#271
      date: 2024-10-17 08:39: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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
    +entries: Doctrine\ORM\PersistentCollection {#194 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
    +posts: Doctrine\ORM\PersistentCollection {#82 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
    +follows: Doctrine\ORM\PersistentCollection {#1770 …}
    +followers: Doctrine\ORM\PersistentCollection {#1873 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
    +reports: Doctrine\ORM\PersistentCollection {#2396 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
    +violations: Doctrine\ORM\PersistentCollection {#1803 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
    +awards: Doctrine\ORM\PersistentCollection {#1947 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
    +categories: Doctrine\ORM\PersistentCollection {#1877 …}
    -id: 86105
    -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
    +apId: "linuxPIPEpower@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "linuxPIPEpower"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728132845 {#272
      date: 2024-10-05 14:54:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1705651727 {#266
      date: 2024-01-19 09:08:47.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.24 ms
Input props
[
  "date" => DateTimeImmutable @1706436525 {#1585
    date: 2024-01-28 11:08:45.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#2633
  +date: DateTimeImmutable @1706436525 {#1585
    date: 2024-01-28 11:08:45.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.23 ms
Input props
[
  "createdAt" => DateTimeImmutable @1706436525 {#1585
    date: 2024-01-28 11:08:45.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1729128865 {#1449
    date: 2024-10-17 03:34:25.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#2697
  +createdAt: DateTimeImmutable @1706436525 {#1585
    date: 2024-01-28 11:08:45.0 +01:00
  }
  +editedAt: DateTimeImmutable @1729128865 {#1449
    date: 2024-10-17 03:34:25.0 +02:00
  }
}
magazine_inline App\Twig\Components\MagazineInlineComponent 16.0 MiB 0.22 ms
Input props
[
  "magazine" => Proxies\__CG__\App\Entity\Magazine {#1722
    +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
    +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 {#2317
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
    +entries: Doctrine\ORM\PersistentCollection {#2217 …}
    +posts: Doctrine\ORM\PersistentCollection {#2194 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
    +bans: Doctrine\ORM\PersistentCollection {#2210 …}
    +reports: Doctrine\ORM\PersistentCollection {#2211 …}
    +badges: Doctrine\ORM\PersistentCollection {#2262 …}
    +logs: Doctrine\ORM\PersistentCollection {#2234 …}
    +awards: Doctrine\ORM\PersistentCollection {#2267 …}
    +categories: Doctrine\ORM\PersistentCollection {#2260 …}
    -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 {#2318
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#2313
      date: 2023-11-02 13:51:08.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\MagazineInlineComponent {#2762
  +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
    +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
    +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 {#2317
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
    +entries: Doctrine\ORM\PersistentCollection {#2217 …}
    +posts: Doctrine\ORM\PersistentCollection {#2194 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
    +bans: Doctrine\ORM\PersistentCollection {#2210 …}
    +reports: Doctrine\ORM\PersistentCollection {#2211 …}
    +badges: Doctrine\ORM\PersistentCollection {#2262 …}
    +logs: Doctrine\ORM\PersistentCollection {#2234 …}
    +awards: Doctrine\ORM\PersistentCollection {#2267 …}
    +categories: Doctrine\ORM\PersistentCollection {#2260 …}
    -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 {#2318
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#2313
      date: 2023-11-02 13:51:08.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  +showTitle: true
  +fullName: false
  +stretchedLink: false
  +showAvatar: false
}
vote App\Twig\Components\VoteComponent 16.0 MiB 3.36 ms
Input props
[
  "subject" => App\Entity\Entry {#1560
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "Use-YAD-Zenity-dialogues-to-populated-variables-in-a-bash-script"
    +title: "Use YAD/Zenity dialogues to populated variables in a bash script?"
    +url: null
    +body: """
      I am learning some bash scripting.\n
      \n
      I am interested to learn about getting input for my scripts via a GUI interface. It seems that `yad` (forked from `zenity`) is the most robust tool for this. (But if there is a better choice I would like to hear about it too.)\n
      \n
      Is it possible to obtain *2 or more* named variables using `yad`? *Not* just getting the values based on their positions (`$1`, `$2`, etc), with `awk`. See “What doesn’t work” spoiler for those.\n
      \n
      What doesn't workI find how to obtain *one* named variable, for [example](https://askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity): `sh inputStr=$(zenity --entry --title=“My Title” --text=“My Text:”) `I also find solutions relying on opening single-variable dialogues sequentially but that’s a terrible interface. Everything else relies on chopping up the output with `awk` or based on the positions, `$1`, `$2`, `$3` etc. In [this script](https://askubuntu.com/a/1251429) `$jpgfile` is obtained: `sh jpgfile=$(echo $OUTPUT | awk ‘BEGIN {FS=“,” } { print $1 }’) `This seems unmanageable because adding a new field or failing to provide input for a field will both change the output order of every subsequent value. It’s way too fragile.\n
      \n
      For a simple example, I want to ask the user for a file name and some content. Creating the dialogue is like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">yad --title </span><span style="color:#183691;">"Create a file"</span><span style="color:#323232;"> --form --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"File name"</span><span style="color:#323232;"> --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"Content"\n
      </span>\n
      ```\n
      \n
      If you fill both fields the output in the terminal is `file|this is some text|`. How do I get them into variables like `$filename` and `$filecontent`? So then I can finish the script like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">touch </span><span style="color:#183691;">"$</span><span style="color:#323232;">filename</span><span style="color:#183691;">"\n
      </span><span style="color:#62a35c;">echo </span><span style="color:#183691;">"$</span><span style="color:#323232;">filecontent</span><span style="color:#183691;">" </span><span style="font-weight:bold;color:#a71d5d;">> </span><span style="color:#323232;">$filename\n
      </span>\n
      ```\n
      \n
      Is this possible??? I do not find it anywhere. I looked though all kinds of websites like [YAD Guide](https://yad-guide.ingk.se/), [yad man page](https://www.mankier.com/1/yad), [smokey01](https://smokey01.com/yad/). Maybe I missed something. On [yaddemo](https://github.com/cjungmann/yaddemo/) I read about bash arrays and it seemed to come close but I couldn’t quite piece it together.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729147158 {#1587
      date: 2024-10-17 08:39:18.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1687 …}
    +votes: Doctrine\ORM\PersistentCollection {#1689 …}
    +reports: Doctrine\ORM\PersistentCollection {#1692 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1714 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1729 …}
    +badges: Doctrine\ORM\PersistentCollection {#2411 …}
    +children: []
    -id: 33597
    -titleTs: "'bash':9 'dialogu':3 'popul':5 'script':10 'use':1 'variabl':6 'yad/zenity':2"
    -bodyTs: "'/),':293 '/1/yad),':299 '/a/1251429)':153 '/cjungmann/yaddemo/)':312 '/questions/489497/store-the-return-string-to-a-variable-from-zenity):':100 '/yad/).':303 '1':72,144,165 '2':56,73,145 '3':146 'ad':170 'also':112 'anywher':280 'array':317 'ask':204 'askubuntu.com':99,152 'askubuntu.com/a/1251429)':151 'askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity):':98 'awk':76,138,161 'base':68,140 'bash':5,316 'begin':162 'better':41 'chang':184 'choic':42 'chop':133 'close':323 'come':322 'content':213,230 'couldn':326 'creat':214,222 'dialogu':121,216 'doesn':79,86 'echo':159,269 'els':130 'entri':104 'etc':74,147 'everi':189 'everyth':129 'exampl':97,200 'fail':175 'field':173,181,226,229,235 'file':209,224,227,242 'filecont':257,270 'filenam':255,268,271 'fill':233 'find':89,113,278 'finish':262 'fork':26 'form':225 'fragil':196 'fs':163 'get':13,65,250 'github.com':311 'github.com/cjungmann/yaddemo/)':310 'gui':20 'guid':290 'hear':47 'input':14,178 'inputstr':102 'interest':9 'interfac':21,128 'jpgfile':154,158 'kind':285 'learn':3,11 'like':45,218,254,265,288 'look':282 'man':295 'mayb':304 'miss':306 'name':59,94,210,228 'new':172 'obtain':55,92,156 'one':93 'open':117 'order':187 'output':136,160,186,237 'page':296 'piec':329 'posit':71,143 'possibl':53,274 'print':164 'provid':177 'quit':328 'read':314 'reli':115,131 'robust':32 'script':6,17,150,264 'see':77 'seem':23,167,320 'sequenti':122 'sh':101,157 'simpl':199 'singl':119 'single-vari':118 'smokey01':300 'smokey01.com':302 'smokey01.com/yad/).':301 'solut':114 'someth':307 'spoiler':82 'subsequ':190 'termin':240 'terribl':127 'text':108,110,246 'though':283 'titl':105,107,221 'togeth':331 'tool':33 'touch':267 'unmanag':168 'use':61 'user':206 'valu':67,191 'variabl':60,95,120,253 'via':18 'want':202 'way':194 'websit':287 'work':81 'worki':88 'would':44 'www.mankier.com':298 'www.mankier.com/1/yad),':297 'yad':25,62,220,289,294 'yad-guide.ingk.se':292 'yad-guide.ingk.se/),':291 'yaddemo':309 'zeniti':28,103"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706482025
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9987356"
    +editedAt: DateTimeImmutable @1729128865 {#1449
      date: 2024-10-17 03:34:25.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706436525 {#1585
      date: 2024-01-28 11:08:45.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#2828
  +subject: App\Entity\Entry {#1560
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "Use-YAD-Zenity-dialogues-to-populated-variables-in-a-bash-script"
    +title: "Use YAD/Zenity dialogues to populated variables in a bash script?"
    +url: null
    +body: """
      I am learning some bash scripting.\n
      \n
      I am interested to learn about getting input for my scripts via a GUI interface. It seems that `yad` (forked from `zenity`) is the most robust tool for this. (But if there is a better choice I would like to hear about it too.)\n
      \n
      Is it possible to obtain *2 or more* named variables using `yad`? *Not* just getting the values based on their positions (`$1`, `$2`, etc), with `awk`. See “What doesn’t work” spoiler for those.\n
      \n
      What doesn't workI find how to obtain *one* named variable, for [example](https://askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity): `sh inputStr=$(zenity --entry --title=“My Title” --text=“My Text:”) `I also find solutions relying on opening single-variable dialogues sequentially but that’s a terrible interface. Everything else relies on chopping up the output with `awk` or based on the positions, `$1`, `$2`, `$3` etc. In [this script](https://askubuntu.com/a/1251429) `$jpgfile` is obtained: `sh jpgfile=$(echo $OUTPUT | awk ‘BEGIN {FS=“,” } { print $1 }’) `This seems unmanageable because adding a new field or failing to provide input for a field will both change the output order of every subsequent value. It’s way too fragile.\n
      \n
      For a simple example, I want to ask the user for a file name and some content. Creating the dialogue is like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">yad --title </span><span style="color:#183691;">"Create a file"</span><span style="color:#323232;"> --form --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"File name"</span><span style="color:#323232;"> --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"Content"\n
      </span>\n
      ```\n
      \n
      If you fill both fields the output in the terminal is `file|this is some text|`. How do I get them into variables like `$filename` and `$filecontent`? So then I can finish the script like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">touch </span><span style="color:#183691;">"$</span><span style="color:#323232;">filename</span><span style="color:#183691;">"\n
      </span><span style="color:#62a35c;">echo </span><span style="color:#183691;">"$</span><span style="color:#323232;">filecontent</span><span style="color:#183691;">" </span><span style="font-weight:bold;color:#a71d5d;">> </span><span style="color:#323232;">$filename\n
      </span>\n
      ```\n
      \n
      Is this possible??? I do not find it anywhere. I looked though all kinds of websites like [YAD Guide](https://yad-guide.ingk.se/), [yad man page](https://www.mankier.com/1/yad), [smokey01](https://smokey01.com/yad/). Maybe I missed something. On [yaddemo](https://github.com/cjungmann/yaddemo/) I read about bash arrays and it seemed to come close but I couldn’t quite piece it together.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729147158 {#1587
      date: 2024-10-17 08:39:18.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1687 …}
    +votes: Doctrine\ORM\PersistentCollection {#1689 …}
    +reports: Doctrine\ORM\PersistentCollection {#1692 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1714 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1729 …}
    +badges: Doctrine\ORM\PersistentCollection {#2411 …}
    +children: []
    -id: 33597
    -titleTs: "'bash':9 'dialogu':3 'popul':5 'script':10 'use':1 'variabl':6 'yad/zenity':2"
    -bodyTs: "'/),':293 '/1/yad),':299 '/a/1251429)':153 '/cjungmann/yaddemo/)':312 '/questions/489497/store-the-return-string-to-a-variable-from-zenity):':100 '/yad/).':303 '1':72,144,165 '2':56,73,145 '3':146 'ad':170 'also':112 'anywher':280 'array':317 'ask':204 'askubuntu.com':99,152 'askubuntu.com/a/1251429)':151 'askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity):':98 'awk':76,138,161 'base':68,140 'bash':5,316 'begin':162 'better':41 'chang':184 'choic':42 'chop':133 'close':323 'come':322 'content':213,230 'couldn':326 'creat':214,222 'dialogu':121,216 'doesn':79,86 'echo':159,269 'els':130 'entri':104 'etc':74,147 'everi':189 'everyth':129 'exampl':97,200 'fail':175 'field':173,181,226,229,235 'file':209,224,227,242 'filecont':257,270 'filenam':255,268,271 'fill':233 'find':89,113,278 'finish':262 'fork':26 'form':225 'fragil':196 'fs':163 'get':13,65,250 'github.com':311 'github.com/cjungmann/yaddemo/)':310 'gui':20 'guid':290 'hear':47 'input':14,178 'inputstr':102 'interest':9 'interfac':21,128 'jpgfile':154,158 'kind':285 'learn':3,11 'like':45,218,254,265,288 'look':282 'man':295 'mayb':304 'miss':306 'name':59,94,210,228 'new':172 'obtain':55,92,156 'one':93 'open':117 'order':187 'output':136,160,186,237 'page':296 'piec':329 'posit':71,143 'possibl':53,274 'print':164 'provid':177 'quit':328 'read':314 'reli':115,131 'robust':32 'script':6,17,150,264 'see':77 'seem':23,167,320 'sequenti':122 'sh':101,157 'simpl':199 'singl':119 'single-vari':118 'smokey01':300 'smokey01.com':302 'smokey01.com/yad/).':301 'solut':114 'someth':307 'spoiler':82 'subsequ':190 'termin':240 'terribl':127 'text':108,110,246 'though':283 'titl':105,107,221 'togeth':331 'tool':33 'touch':267 'unmanag':168 'use':61 'user':206 'valu':67,191 'variabl':60,95,120,253 'via':18 'want':202 'way':194 'websit':287 'work':81 'worki':88 'would':44 'www.mankier.com':298 'www.mankier.com/1/yad),':297 'yad':25,62,220,289,294 'yad-guide.ingk.se':292 'yad-guide.ingk.se/),':291 'yaddemo':309 'zeniti':28,103"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706482025
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9987356"
    +editedAt: DateTimeImmutable @1729128865 {#1449
      date: 2024-10-17 03:34:25.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706436525 {#1585
      date: 2024-01-28 11:08:45.0 +01:00
    }
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 1.34 ms
Input props
[
  "subject" => App\Entity\Entry {#1560
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "Use-YAD-Zenity-dialogues-to-populated-variables-in-a-bash-script"
    +title: "Use YAD/Zenity dialogues to populated variables in a bash script?"
    +url: null
    +body: """
      I am learning some bash scripting.\n
      \n
      I am interested to learn about getting input for my scripts via a GUI interface. It seems that `yad` (forked from `zenity`) is the most robust tool for this. (But if there is a better choice I would like to hear about it too.)\n
      \n
      Is it possible to obtain *2 or more* named variables using `yad`? *Not* just getting the values based on their positions (`$1`, `$2`, etc), with `awk`. See “What doesn’t work” spoiler for those.\n
      \n
      What doesn't workI find how to obtain *one* named variable, for [example](https://askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity): `sh inputStr=$(zenity --entry --title=“My Title” --text=“My Text:”) `I also find solutions relying on opening single-variable dialogues sequentially but that’s a terrible interface. Everything else relies on chopping up the output with `awk` or based on the positions, `$1`, `$2`, `$3` etc. In [this script](https://askubuntu.com/a/1251429) `$jpgfile` is obtained: `sh jpgfile=$(echo $OUTPUT | awk ‘BEGIN {FS=“,” } { print $1 }’) `This seems unmanageable because adding a new field or failing to provide input for a field will both change the output order of every subsequent value. It’s way too fragile.\n
      \n
      For a simple example, I want to ask the user for a file name and some content. Creating the dialogue is like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">yad --title </span><span style="color:#183691;">"Create a file"</span><span style="color:#323232;"> --form --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"File name"</span><span style="color:#323232;"> --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"Content"\n
      </span>\n
      ```\n
      \n
      If you fill both fields the output in the terminal is `file|this is some text|`. How do I get them into variables like `$filename` and `$filecontent`? So then I can finish the script like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">touch </span><span style="color:#183691;">"$</span><span style="color:#323232;">filename</span><span style="color:#183691;">"\n
      </span><span style="color:#62a35c;">echo </span><span style="color:#183691;">"$</span><span style="color:#323232;">filecontent</span><span style="color:#183691;">" </span><span style="font-weight:bold;color:#a71d5d;">> </span><span style="color:#323232;">$filename\n
      </span>\n
      ```\n
      \n
      Is this possible??? I do not find it anywhere. I looked though all kinds of websites like [YAD Guide](https://yad-guide.ingk.se/), [yad man page](https://www.mankier.com/1/yad), [smokey01](https://smokey01.com/yad/). Maybe I missed something. On [yaddemo](https://github.com/cjungmann/yaddemo/) I read about bash arrays and it seemed to come close but I couldn’t quite piece it together.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729147158 {#1587
      date: 2024-10-17 08:39:18.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1687 …}
    +votes: Doctrine\ORM\PersistentCollection {#1689 …}
    +reports: Doctrine\ORM\PersistentCollection {#1692 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1714 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1729 …}
    +badges: Doctrine\ORM\PersistentCollection {#2411 …}
    +children: []
    -id: 33597
    -titleTs: "'bash':9 'dialogu':3 'popul':5 'script':10 'use':1 'variabl':6 'yad/zenity':2"
    -bodyTs: "'/),':293 '/1/yad),':299 '/a/1251429)':153 '/cjungmann/yaddemo/)':312 '/questions/489497/store-the-return-string-to-a-variable-from-zenity):':100 '/yad/).':303 '1':72,144,165 '2':56,73,145 '3':146 'ad':170 'also':112 'anywher':280 'array':317 'ask':204 'askubuntu.com':99,152 'askubuntu.com/a/1251429)':151 'askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity):':98 'awk':76,138,161 'base':68,140 'bash':5,316 'begin':162 'better':41 'chang':184 'choic':42 'chop':133 'close':323 'come':322 'content':213,230 'couldn':326 'creat':214,222 'dialogu':121,216 'doesn':79,86 'echo':159,269 'els':130 'entri':104 'etc':74,147 'everi':189 'everyth':129 'exampl':97,200 'fail':175 'field':173,181,226,229,235 'file':209,224,227,242 'filecont':257,270 'filenam':255,268,271 'fill':233 'find':89,113,278 'finish':262 'fork':26 'form':225 'fragil':196 'fs':163 'get':13,65,250 'github.com':311 'github.com/cjungmann/yaddemo/)':310 'gui':20 'guid':290 'hear':47 'input':14,178 'inputstr':102 'interest':9 'interfac':21,128 'jpgfile':154,158 'kind':285 'learn':3,11 'like':45,218,254,265,288 'look':282 'man':295 'mayb':304 'miss':306 'name':59,94,210,228 'new':172 'obtain':55,92,156 'one':93 'open':117 'order':187 'output':136,160,186,237 'page':296 'piec':329 'posit':71,143 'possibl':53,274 'print':164 'provid':177 'quit':328 'read':314 'reli':115,131 'robust':32 'script':6,17,150,264 'see':77 'seem':23,167,320 'sequenti':122 'sh':101,157 'simpl':199 'singl':119 'single-vari':118 'smokey01':300 'smokey01.com':302 'smokey01.com/yad/).':301 'solut':114 'someth':307 'spoiler':82 'subsequ':190 'termin':240 'terribl':127 'text':108,110,246 'though':283 'titl':105,107,221 'togeth':331 'tool':33 'touch':267 'unmanag':168 'use':61 'user':206 'valu':67,191 'variabl':60,95,120,253 'via':18 'want':202 'way':194 'websit':287 'work':81 'worki':88 'would':44 'www.mankier.com':298 'www.mankier.com/1/yad),':297 'yad':25,62,220,289,294 'yad-guide.ingk.se':292 'yad-guide.ingk.se/),':291 'yaddemo':309 'zeniti':28,103"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706482025
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9987356"
    +editedAt: DateTimeImmutable @1729128865 {#1449
      date: 2024-10-17 03:34:25.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706436525 {#1585
      date: 2024-01-28 11:08:45.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#2895
  +formDest: "entry"
  +subject: App\Entity\Entry {#1560
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "Use-YAD-Zenity-dialogues-to-populated-variables-in-a-bash-script"
    +title: "Use YAD/Zenity dialogues to populated variables in a bash script?"
    +url: null
    +body: """
      I am learning some bash scripting.\n
      \n
      I am interested to learn about getting input for my scripts via a GUI interface. It seems that `yad` (forked from `zenity`) is the most robust tool for this. (But if there is a better choice I would like to hear about it too.)\n
      \n
      Is it possible to obtain *2 or more* named variables using `yad`? *Not* just getting the values based on their positions (`$1`, `$2`, etc), with `awk`. See “What doesn’t work” spoiler for those.\n
      \n
      What doesn't workI find how to obtain *one* named variable, for [example](https://askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity): `sh inputStr=$(zenity --entry --title=“My Title” --text=“My Text:”) `I also find solutions relying on opening single-variable dialogues sequentially but that’s a terrible interface. Everything else relies on chopping up the output with `awk` or based on the positions, `$1`, `$2`, `$3` etc. In [this script](https://askubuntu.com/a/1251429) `$jpgfile` is obtained: `sh jpgfile=$(echo $OUTPUT | awk ‘BEGIN {FS=“,” } { print $1 }’) `This seems unmanageable because adding a new field or failing to provide input for a field will both change the output order of every subsequent value. It’s way too fragile.\n
      \n
      For a simple example, I want to ask the user for a file name and some content. Creating the dialogue is like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">yad --title </span><span style="color:#183691;">"Create a file"</span><span style="color:#323232;"> --form --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"File name"</span><span style="color:#323232;"> --field</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"Content"\n
      </span>\n
      ```\n
      \n
      If you fill both fields the output in the terminal is `file|this is some text|`. How do I get them into variables like `$filename` and `$filecontent`? So then I can finish the script like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">touch </span><span style="color:#183691;">"$</span><span style="color:#323232;">filename</span><span style="color:#183691;">"\n
      </span><span style="color:#62a35c;">echo </span><span style="color:#183691;">"$</span><span style="color:#323232;">filecontent</span><span style="color:#183691;">" </span><span style="font-weight:bold;color:#a71d5d;">> </span><span style="color:#323232;">$filename\n
      </span>\n
      ```\n
      \n
      Is this possible??? I do not find it anywhere. I looked though all kinds of websites like [YAD Guide](https://yad-guide.ingk.se/), [yad man page](https://www.mankier.com/1/yad), [smokey01](https://smokey01.com/yad/). Maybe I missed something. On [yaddemo](https://github.com/cjungmann/yaddemo/) I read about bash arrays and it seemed to come close but I couldn’t quite piece it together.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1729147158 {#1587
      date: 2024-10-17 08:39:18.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1687 …}
    +votes: Doctrine\ORM\PersistentCollection {#1689 …}
    +reports: Doctrine\ORM\PersistentCollection {#1692 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1714 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1729 …}
    +badges: Doctrine\ORM\PersistentCollection {#2411 …}
    +children: []
    -id: 33597
    -titleTs: "'bash':9 'dialogu':3 'popul':5 'script':10 'use':1 'variabl':6 'yad/zenity':2"
    -bodyTs: "'/),':293 '/1/yad),':299 '/a/1251429)':153 '/cjungmann/yaddemo/)':312 '/questions/489497/store-the-return-string-to-a-variable-from-zenity):':100 '/yad/).':303 '1':72,144,165 '2':56,73,145 '3':146 'ad':170 'also':112 'anywher':280 'array':317 'ask':204 'askubuntu.com':99,152 'askubuntu.com/a/1251429)':151 'askubuntu.com/questions/489497/store-the-return-string-to-a-variable-from-zenity):':98 'awk':76,138,161 'base':68,140 'bash':5,316 'begin':162 'better':41 'chang':184 'choic':42 'chop':133 'close':323 'come':322 'content':213,230 'couldn':326 'creat':214,222 'dialogu':121,216 'doesn':79,86 'echo':159,269 'els':130 'entri':104 'etc':74,147 'everi':189 'everyth':129 'exampl':97,200 'fail':175 'field':173,181,226,229,235 'file':209,224,227,242 'filecont':257,270 'filenam':255,268,271 'fill':233 'find':89,113,278 'finish':262 'fork':26 'form':225 'fragil':196 'fs':163 'get':13,65,250 'github.com':311 'github.com/cjungmann/yaddemo/)':310 'gui':20 'guid':290 'hear':47 'input':14,178 'inputstr':102 'interest':9 'interfac':21,128 'jpgfile':154,158 'kind':285 'learn':3,11 'like':45,218,254,265,288 'look':282 'man':295 'mayb':304 'miss':306 'name':59,94,210,228 'new':172 'obtain':55,92,156 'one':93 'open':117 'order':187 'output':136,160,186,237 'page':296 'piec':329 'posit':71,143 'possibl':53,274 'print':164 'provid':177 'quit':328 'read':314 'reli':115,131 'robust':32 'script':6,17,150,264 'see':77 'seem':23,167,320 'sequenti':122 'sh':101,157 'simpl':199 'singl':119 'single-vari':118 'smokey01':300 'smokey01.com':302 'smokey01.com/yad/).':301 'solut':114 'someth':307 'spoiler':82 'subsequ':190 'termin':240 'terribl':127 'text':108,110,246 'though':283 'titl':105,107,221 'togeth':331 'tool':33 'touch':267 'unmanag':168 'use':61 'user':206 'valu':67,191 'variabl':60,95,120,253 'via':18 'want':202 'way':194 'websit':287 'work':81 'worki':88 'would':44 'www.mankier.com':298 'www.mankier.com/1/yad),':297 'yad':25,62,220,289,294 'yad-guide.ingk.se':292 'yad-guide.ingk.se/),':291 'yaddemo':309 'zeniti':28,103"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1706482025
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9987356"
    +editedAt: DateTimeImmutable @1729128865 {#1449
      date: 2024-10-17 03:34:25.0 +02:00
    }
    +createdAt: DateTimeImmutable @1706436525 {#1585
      date: 2024-01-28 11:08:45.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry App\Twig\Components\EntryComponent 16.0 MiB 6.38 ms
Input props
[
  "entry" => App\Entity\Entry {#2456
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "saving-and-restoring-arbitrary-sessions-including-terminal-and-GUI-impossible"
    +title: "saving and restoring arbitrary sessions including terminal and GUI --- impossible?"
    +url: null
    +body: """
      cross-posted from: [discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)\n
      \n
      > My dream: I want a way to arbitrarily close and later open groups of applications including their states such as open files, window arrangement, scrollback, even undo histories etc. So working on a specific project I can close everything neatly and return to it later.\n
      > \n
      > In my research/experiments here is what I come up with, do you agree?:\n
      > \n
      > 1. in the terminal-only environment this would be tmux or another multiplexer\n
      > 2. But when you start including GUI applications (which I must), then it is something else that doesn’t exactly exist\n
      > 3. Applications store their current states in a variety of places and some of them don’t really *do* restoring in any way so it would be hard to force.\n
      > 4. the best option for this is something like [xpra](https://github.com/Xpra-org/xpra/) where you can have multiple sessions. If you had a machine that stayed powered-on all the time it might be possible to create sessions, log in remotely and use them that way.\n
      > 5. Using xpra or similar the sessions are never really actually closed. You would only close the connection from the local machine. If the machine faces a power off then too bad. As far as I can se there is basically no way to accomplish this goal where power-offs are accommodated.\n
      > \n
      > I have tried some remote-login options but they are too slow for normal use. I tend to have pretty low-end hardware running (because so far it works for most things) so maybe if I upgraded it would improve.\n
      > \n
      > 1. is it plausible?\n
      > 2. how to estimate hardware/performance needs of host, client and LAN? anything else to consider?\n
      > \n
      > I typically use manjaro + XFCE but would be willing to try something different to accomplish the goal. I only want to do this locally on LAN not remotely.\n
      > \n
      > re XFCE session managerXFCE has session management but the majority of programs don’t totally work with. Like maybe the application will re-open when the session is restored but no files will be open even if they were when session was saved. Or distribution through workspaces, window size etc will not be restored.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 21
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727246437 {#2464
      date: 2024-09-25 08:40:37.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#2453 …}
    +votes: Doctrine\ORM\PersistentCollection {#2422 …}
    +reports: Doctrine\ORM\PersistentCollection {#2462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2459 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2470 …}
    +badges: Doctrine\ORM\PersistentCollection {#2467 …}
    +children: []
    -id: 32002
    -titleTs: "'arbitrari':4 'gui':9 'imposs':10 'includ':6 'restor':3 'save':1 'session':5 'termin':7"
    -bodyTs: "'/post/9585677](https://discuss.tchncs.de/post/9585677)':7 '/xpra-org/xpra/)':143 '1':66,273 '2':80,277 '3':101 '4':131 '5':178 'accommod':230 'accomplish':222,306 'actual':188 'agre':65 'anoth':78 'anyth':288 'applic':22,87,102,340 'arbitrarili':15 'arrang':31 'bad':209 'basic':218 'best':133 'client':285 'close':16,45,189,193 'come':60 'connect':195 'consid':291 'creat':168 'cross':2 'cross-post':1 'current':105 'differ':304 'discuss.tchncs.de':6 'discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)':5 'distribut':365 'doesn':97 'dream':9 'els':95,289 'end':254 'environ':72 'estim':280 'etc':36,370 'even':33,356 'everyth':46 'exact':99 'exist':100 'face':203 'far':211,259 'file':29,352 'forc':130 'github.com':142 'github.com/xpra-org/xpra/)':141 'goal':224,308 'group':20 'gui':86 'hard':128 'hardwar':255 'hardware/performance':281 'histori':35 'host':284 'improv':272 'includ':23,85 'lan':287,317 'later':18,52 'like':139,337 'local':198,315 'log':170 'login':237 'low':253 'low-end':252 'machin':154,199,202 'major':329 'manag':326 'managerxfc':323 'manjaro':295 'mayb':266,338 'might':164 'multipl':148 'multiplex':79 'must':90 'neat':47 'need':282 'never':186 'normal':245 'off':228 'open':19,28,344,355 'option':134,238 'place':111 'plausibl':276 'possibl':166 'post':3 'power':158,205,227 'power-off':226 'powered-on':157 'pretti':251 'program':331 'project':42 're':320,343 're-open':342 'realli':118,187 'remot':172,236,319 'remote-login':235 'research/experiments':55 'restor':120,349,374 'return':49 'run':256 'save':363 'scrollback':32 'se':215 'session':149,169,184,322,325,347,361 'similar':182 'size':369 'slow':243 'someth':94,138,303 'specif':41 'start':84 'state':25,106 'stay':156 'store':103 'tend':248 'termin':70 'terminal-on':69 'thing':264 'time':162 'tmux':76 'total':334 'tri':233,302 'typic':293 'undo':34 'upgrad':269 'use':174,179,246,294 'varieti':109 'want':11,311 'way':13,123,177,220 'will':300 'window':30,368 'work':38,261,335 'workspac':367 'would':74,126,191,271,298 'xfce':296,321 'xpra':140,180"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705869374
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9588351"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705785374 {#1740
      date: 2024-01-20 22:16:14.0 +01:00
    }
  }
  "showMagazineName" => true
]
Attributes
[]
Component
App\Twig\Components\EntryComponent {#3207
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2058 …}
  -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 {#2456
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "saving-and-restoring-arbitrary-sessions-including-terminal-and-GUI-impossible"
    +title: "saving and restoring arbitrary sessions including terminal and GUI --- impossible?"
    +url: null
    +body: """
      cross-posted from: [discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)\n
      \n
      > My dream: I want a way to arbitrarily close and later open groups of applications including their states such as open files, window arrangement, scrollback, even undo histories etc. So working on a specific project I can close everything neatly and return to it later.\n
      > \n
      > In my research/experiments here is what I come up with, do you agree?:\n
      > \n
      > 1. in the terminal-only environment this would be tmux or another multiplexer\n
      > 2. But when you start including GUI applications (which I must), then it is something else that doesn’t exactly exist\n
      > 3. Applications store their current states in a variety of places and some of them don’t really *do* restoring in any way so it would be hard to force.\n
      > 4. the best option for this is something like [xpra](https://github.com/Xpra-org/xpra/) where you can have multiple sessions. If you had a machine that stayed powered-on all the time it might be possible to create sessions, log in remotely and use them that way.\n
      > 5. Using xpra or similar the sessions are never really actually closed. You would only close the connection from the local machine. If the machine faces a power off then too bad. As far as I can se there is basically no way to accomplish this goal where power-offs are accommodated.\n
      > \n
      > I have tried some remote-login options but they are too slow for normal use. I tend to have pretty low-end hardware running (because so far it works for most things) so maybe if I upgraded it would improve.\n
      > \n
      > 1. is it plausible?\n
      > 2. how to estimate hardware/performance needs of host, client and LAN? anything else to consider?\n
      > \n
      > I typically use manjaro + XFCE but would be willing to try something different to accomplish the goal. I only want to do this locally on LAN not remotely.\n
      > \n
      > re XFCE session managerXFCE has session management but the majority of programs don’t totally work with. Like maybe the application will re-open when the session is restored but no files will be open even if they were when session was saved. Or distribution through workspaces, window size etc will not be restored.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 21
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727246437 {#2464
      date: 2024-09-25 08:40:37.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#2453 …}
    +votes: Doctrine\ORM\PersistentCollection {#2422 …}
    +reports: Doctrine\ORM\PersistentCollection {#2462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2459 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2470 …}
    +badges: Doctrine\ORM\PersistentCollection {#2467 …}
    +children: []
    -id: 32002
    -titleTs: "'arbitrari':4 'gui':9 'imposs':10 'includ':6 'restor':3 'save':1 'session':5 'termin':7"
    -bodyTs: "'/post/9585677](https://discuss.tchncs.de/post/9585677)':7 '/xpra-org/xpra/)':143 '1':66,273 '2':80,277 '3':101 '4':131 '5':178 'accommod':230 'accomplish':222,306 'actual':188 'agre':65 'anoth':78 'anyth':288 'applic':22,87,102,340 'arbitrarili':15 'arrang':31 'bad':209 'basic':218 'best':133 'client':285 'close':16,45,189,193 'come':60 'connect':195 'consid':291 'creat':168 'cross':2 'cross-post':1 'current':105 'differ':304 'discuss.tchncs.de':6 'discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)':5 'distribut':365 'doesn':97 'dream':9 'els':95,289 'end':254 'environ':72 'estim':280 'etc':36,370 'even':33,356 'everyth':46 'exact':99 'exist':100 'face':203 'far':211,259 'file':29,352 'forc':130 'github.com':142 'github.com/xpra-org/xpra/)':141 'goal':224,308 'group':20 'gui':86 'hard':128 'hardwar':255 'hardware/performance':281 'histori':35 'host':284 'improv':272 'includ':23,85 'lan':287,317 'later':18,52 'like':139,337 'local':198,315 'log':170 'login':237 'low':253 'low-end':252 'machin':154,199,202 'major':329 'manag':326 'managerxfc':323 'manjaro':295 'mayb':266,338 'might':164 'multipl':148 'multiplex':79 'must':90 'neat':47 'need':282 'never':186 'normal':245 'off':228 'open':19,28,344,355 'option':134,238 'place':111 'plausibl':276 'possibl':166 'post':3 'power':158,205,227 'power-off':226 'powered-on':157 'pretti':251 'program':331 'project':42 're':320,343 're-open':342 'realli':118,187 'remot':172,236,319 'remote-login':235 'research/experiments':55 'restor':120,349,374 'return':49 'run':256 'save':363 'scrollback':32 'se':215 'session':149,169,184,322,325,347,361 'similar':182 'size':369 'slow':243 'someth':94,138,303 'specif':41 'start':84 'state':25,106 'stay':156 'store':103 'tend':248 'termin':70 'terminal-on':69 'thing':264 'time':162 'tmux':76 'total':334 'tri':233,302 'typic':293 'undo':34 'upgrad':269 'use':174,179,246,294 'varieti':109 'want':11,311 'way':13,123,177,220 'will':300 'window':30,368 'work':38,261,335 'workspac':367 'would':74,126,191,271,298 'xfce':296,321 'xpra':140,180"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705869374
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9588351"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705785374 {#1740
      date: 2024-01-20 22:16:14.0 +01:00
    }
  }
  +isSingle: false
  +showShortSentence: true
  +showBody: false
  +showMagazineName: true
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#263
    +avatar: null
    +cover: null
    +email: "linuxPIPEpower@discuss.tchncs.de"
    +username: "@linuxPIPEpower@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729147158 {#271
      date: 2024-10-17 08:39: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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
    +entries: Doctrine\ORM\PersistentCollection {#194 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
    +posts: Doctrine\ORM\PersistentCollection {#82 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
    +follows: Doctrine\ORM\PersistentCollection {#1770 …}
    +followers: Doctrine\ORM\PersistentCollection {#1873 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
    +reports: Doctrine\ORM\PersistentCollection {#2396 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
    +violations: Doctrine\ORM\PersistentCollection {#1803 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
    +awards: Doctrine\ORM\PersistentCollection {#1947 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
    +categories: Doctrine\ORM\PersistentCollection {#1877 …}
    -id: 86105
    -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
    +apId: "linuxPIPEpower@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "linuxPIPEpower"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728132845 {#272
      date: 2024-10-05 14:54:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1705651727 {#266
      date: 2024-01-19 09:08:47.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3361
  +user: App\Entity\User {#263
    +avatar: null
    +cover: null
    +email: "linuxPIPEpower@discuss.tchncs.de"
    +username: "@linuxPIPEpower@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729147158 {#271
      date: 2024-10-17 08:39: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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
    +entries: Doctrine\ORM\PersistentCollection {#194 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
    +posts: Doctrine\ORM\PersistentCollection {#82 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
    +follows: Doctrine\ORM\PersistentCollection {#1770 …}
    +followers: Doctrine\ORM\PersistentCollection {#1873 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
    +reports: Doctrine\ORM\PersistentCollection {#2396 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
    +violations: Doctrine\ORM\PersistentCollection {#1803 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
    +awards: Doctrine\ORM\PersistentCollection {#1947 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
    +categories: Doctrine\ORM\PersistentCollection {#1877 …}
    -id: 86105
    -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
    +apId: "linuxPIPEpower@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "linuxPIPEpower"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728132845 {#272
      date: 2024-10-05 14:54:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1705651727 {#266
      date: 2024-01-19 09:08:47.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1705785374 {#1740
    date: 2024-01-20 22:16:14.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3416
  +date: DateTimeImmutable @1705785374 {#1740
    date: 2024-01-20 22:16:14.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1705785374 {#1740
    date: 2024-01-20 22:16:14.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3470
  +createdAt: DateTimeImmutable @1705785374 {#1740
    date: 2024-01-20 22:16:14.0 +01:00
  }
  +editedAt: null
}
magazine_inline App\Twig\Components\MagazineInlineComponent 16.0 MiB 0.13 ms
Input props
[
  "magazine" => Proxies\__CG__\App\Entity\Magazine {#1722
    +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
    +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 {#2317
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
    +entries: Doctrine\ORM\PersistentCollection {#2217 …}
    +posts: Doctrine\ORM\PersistentCollection {#2194 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
    +bans: Doctrine\ORM\PersistentCollection {#2210 …}
    +reports: Doctrine\ORM\PersistentCollection {#2211 …}
    +badges: Doctrine\ORM\PersistentCollection {#2262 …}
    +logs: Doctrine\ORM\PersistentCollection {#2234 …}
    +awards: Doctrine\ORM\PersistentCollection {#2267 …}
    +categories: Doctrine\ORM\PersistentCollection {#2260 …}
    -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 {#2318
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#2313
      date: 2023-11-02 13:51:08.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\MagazineInlineComponent {#3524
  +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
    +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
    +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 {#2317
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
    +entries: Doctrine\ORM\PersistentCollection {#2217 …}
    +posts: Doctrine\ORM\PersistentCollection {#2194 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
    +bans: Doctrine\ORM\PersistentCollection {#2210 …}
    +reports: Doctrine\ORM\PersistentCollection {#2211 …}
    +badges: Doctrine\ORM\PersistentCollection {#2262 …}
    +logs: Doctrine\ORM\PersistentCollection {#2234 …}
    +awards: Doctrine\ORM\PersistentCollection {#2267 …}
    +categories: Doctrine\ORM\PersistentCollection {#2260 …}
    -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 {#2318
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#2313
      date: 2023-11-02 13:51:08.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  +showTitle: true
  +fullName: false
  +stretchedLink: false
  +showAvatar: false
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.39 ms
Input props
[
  "subject" => App\Entity\Entry {#2456
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "saving-and-restoring-arbitrary-sessions-including-terminal-and-GUI-impossible"
    +title: "saving and restoring arbitrary sessions including terminal and GUI --- impossible?"
    +url: null
    +body: """
      cross-posted from: [discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)\n
      \n
      > My dream: I want a way to arbitrarily close and later open groups of applications including their states such as open files, window arrangement, scrollback, even undo histories etc. So working on a specific project I can close everything neatly and return to it later.\n
      > \n
      > In my research/experiments here is what I come up with, do you agree?:\n
      > \n
      > 1. in the terminal-only environment this would be tmux or another multiplexer\n
      > 2. But when you start including GUI applications (which I must), then it is something else that doesn’t exactly exist\n
      > 3. Applications store their current states in a variety of places and some of them don’t really *do* restoring in any way so it would be hard to force.\n
      > 4. the best option for this is something like [xpra](https://github.com/Xpra-org/xpra/) where you can have multiple sessions. If you had a machine that stayed powered-on all the time it might be possible to create sessions, log in remotely and use them that way.\n
      > 5. Using xpra or similar the sessions are never really actually closed. You would only close the connection from the local machine. If the machine faces a power off then too bad. As far as I can se there is basically no way to accomplish this goal where power-offs are accommodated.\n
      > \n
      > I have tried some remote-login options but they are too slow for normal use. I tend to have pretty low-end hardware running (because so far it works for most things) so maybe if I upgraded it would improve.\n
      > \n
      > 1. is it plausible?\n
      > 2. how to estimate hardware/performance needs of host, client and LAN? anything else to consider?\n
      > \n
      > I typically use manjaro + XFCE but would be willing to try something different to accomplish the goal. I only want to do this locally on LAN not remotely.\n
      > \n
      > re XFCE session managerXFCE has session management but the majority of programs don’t totally work with. Like maybe the application will re-open when the session is restored but no files will be open even if they were when session was saved. Or distribution through workspaces, window size etc will not be restored.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 21
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727246437 {#2464
      date: 2024-09-25 08:40:37.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#2453 …}
    +votes: Doctrine\ORM\PersistentCollection {#2422 …}
    +reports: Doctrine\ORM\PersistentCollection {#2462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2459 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2470 …}
    +badges: Doctrine\ORM\PersistentCollection {#2467 …}
    +children: []
    -id: 32002
    -titleTs: "'arbitrari':4 'gui':9 'imposs':10 'includ':6 'restor':3 'save':1 'session':5 'termin':7"
    -bodyTs: "'/post/9585677](https://discuss.tchncs.de/post/9585677)':7 '/xpra-org/xpra/)':143 '1':66,273 '2':80,277 '3':101 '4':131 '5':178 'accommod':230 'accomplish':222,306 'actual':188 'agre':65 'anoth':78 'anyth':288 'applic':22,87,102,340 'arbitrarili':15 'arrang':31 'bad':209 'basic':218 'best':133 'client':285 'close':16,45,189,193 'come':60 'connect':195 'consid':291 'creat':168 'cross':2 'cross-post':1 'current':105 'differ':304 'discuss.tchncs.de':6 'discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)':5 'distribut':365 'doesn':97 'dream':9 'els':95,289 'end':254 'environ':72 'estim':280 'etc':36,370 'even':33,356 'everyth':46 'exact':99 'exist':100 'face':203 'far':211,259 'file':29,352 'forc':130 'github.com':142 'github.com/xpra-org/xpra/)':141 'goal':224,308 'group':20 'gui':86 'hard':128 'hardwar':255 'hardware/performance':281 'histori':35 'host':284 'improv':272 'includ':23,85 'lan':287,317 'later':18,52 'like':139,337 'local':198,315 'log':170 'login':237 'low':253 'low-end':252 'machin':154,199,202 'major':329 'manag':326 'managerxfc':323 'manjaro':295 'mayb':266,338 'might':164 'multipl':148 'multiplex':79 'must':90 'neat':47 'need':282 'never':186 'normal':245 'off':228 'open':19,28,344,355 'option':134,238 'place':111 'plausibl':276 'possibl':166 'post':3 'power':158,205,227 'power-off':226 'powered-on':157 'pretti':251 'program':331 'project':42 're':320,343 're-open':342 'realli':118,187 'remot':172,236,319 'remote-login':235 'research/experiments':55 'restor':120,349,374 'return':49 'run':256 'save':363 'scrollback':32 'se':215 'session':149,169,184,322,325,347,361 'similar':182 'size':369 'slow':243 'someth':94,138,303 'specif':41 'start':84 'state':25,106 'stay':156 'store':103 'tend':248 'termin':70 'terminal-on':69 'thing':264 'time':162 'tmux':76 'total':334 'tri':233,302 'typic':293 'undo':34 'upgrad':269 'use':174,179,246,294 'varieti':109 'want':11,311 'way':13,123,177,220 'will':300 'window':30,368 'work':38,261,335 'workspac':367 'would':74,126,191,271,298 'xfce':296,321 'xpra':140,180"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705869374
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9588351"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705785374 {#1740
      date: 2024-01-20 22:16:14.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3580
  +subject: App\Entity\Entry {#2456
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "saving-and-restoring-arbitrary-sessions-including-terminal-and-GUI-impossible"
    +title: "saving and restoring arbitrary sessions including terminal and GUI --- impossible?"
    +url: null
    +body: """
      cross-posted from: [discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)\n
      \n
      > My dream: I want a way to arbitrarily close and later open groups of applications including their states such as open files, window arrangement, scrollback, even undo histories etc. So working on a specific project I can close everything neatly and return to it later.\n
      > \n
      > In my research/experiments here is what I come up with, do you agree?:\n
      > \n
      > 1. in the terminal-only environment this would be tmux or another multiplexer\n
      > 2. But when you start including GUI applications (which I must), then it is something else that doesn’t exactly exist\n
      > 3. Applications store their current states in a variety of places and some of them don’t really *do* restoring in any way so it would be hard to force.\n
      > 4. the best option for this is something like [xpra](https://github.com/Xpra-org/xpra/) where you can have multiple sessions. If you had a machine that stayed powered-on all the time it might be possible to create sessions, log in remotely and use them that way.\n
      > 5. Using xpra or similar the sessions are never really actually closed. You would only close the connection from the local machine. If the machine faces a power off then too bad. As far as I can se there is basically no way to accomplish this goal where power-offs are accommodated.\n
      > \n
      > I have tried some remote-login options but they are too slow for normal use. I tend to have pretty low-end hardware running (because so far it works for most things) so maybe if I upgraded it would improve.\n
      > \n
      > 1. is it plausible?\n
      > 2. how to estimate hardware/performance needs of host, client and LAN? anything else to consider?\n
      > \n
      > I typically use manjaro + XFCE but would be willing to try something different to accomplish the goal. I only want to do this locally on LAN not remotely.\n
      > \n
      > re XFCE session managerXFCE has session management but the majority of programs don’t totally work with. Like maybe the application will re-open when the session is restored but no files will be open even if they were when session was saved. Or distribution through workspaces, window size etc will not be restored.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 21
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727246437 {#2464
      date: 2024-09-25 08:40:37.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#2453 …}
    +votes: Doctrine\ORM\PersistentCollection {#2422 …}
    +reports: Doctrine\ORM\PersistentCollection {#2462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2459 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2470 …}
    +badges: Doctrine\ORM\PersistentCollection {#2467 …}
    +children: []
    -id: 32002
    -titleTs: "'arbitrari':4 'gui':9 'imposs':10 'includ':6 'restor':3 'save':1 'session':5 'termin':7"
    -bodyTs: "'/post/9585677](https://discuss.tchncs.de/post/9585677)':7 '/xpra-org/xpra/)':143 '1':66,273 '2':80,277 '3':101 '4':131 '5':178 'accommod':230 'accomplish':222,306 'actual':188 'agre':65 'anoth':78 'anyth':288 'applic':22,87,102,340 'arbitrarili':15 'arrang':31 'bad':209 'basic':218 'best':133 'client':285 'close':16,45,189,193 'come':60 'connect':195 'consid':291 'creat':168 'cross':2 'cross-post':1 'current':105 'differ':304 'discuss.tchncs.de':6 'discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)':5 'distribut':365 'doesn':97 'dream':9 'els':95,289 'end':254 'environ':72 'estim':280 'etc':36,370 'even':33,356 'everyth':46 'exact':99 'exist':100 'face':203 'far':211,259 'file':29,352 'forc':130 'github.com':142 'github.com/xpra-org/xpra/)':141 'goal':224,308 'group':20 'gui':86 'hard':128 'hardwar':255 'hardware/performance':281 'histori':35 'host':284 'improv':272 'includ':23,85 'lan':287,317 'later':18,52 'like':139,337 'local':198,315 'log':170 'login':237 'low':253 'low-end':252 'machin':154,199,202 'major':329 'manag':326 'managerxfc':323 'manjaro':295 'mayb':266,338 'might':164 'multipl':148 'multiplex':79 'must':90 'neat':47 'need':282 'never':186 'normal':245 'off':228 'open':19,28,344,355 'option':134,238 'place':111 'plausibl':276 'possibl':166 'post':3 'power':158,205,227 'power-off':226 'powered-on':157 'pretti':251 'program':331 'project':42 're':320,343 're-open':342 'realli':118,187 'remot':172,236,319 'remote-login':235 'research/experiments':55 'restor':120,349,374 'return':49 'run':256 'save':363 'scrollback':32 'se':215 'session':149,169,184,322,325,347,361 'similar':182 'size':369 'slow':243 'someth':94,138,303 'specif':41 'start':84 'state':25,106 'stay':156 'store':103 'tend':248 'termin':70 'terminal-on':69 'thing':264 'time':162 'tmux':76 'total':334 'tri':233,302 'typic':293 'undo':34 'upgrad':269 'use':174,179,246,294 'varieti':109 'want':11,311 'way':13,123,177,220 'will':300 'window':30,368 'work':38,261,335 'workspac':367 'would':74,126,191,271,298 'xfce':296,321 'xpra':140,180"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705869374
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9588351"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705785374 {#1740
      date: 2024-01-20 22:16:14.0 +01:00
    }
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.72 ms
Input props
[
  "subject" => App\Entity\Entry {#2456
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "saving-and-restoring-arbitrary-sessions-including-terminal-and-GUI-impossible"
    +title: "saving and restoring arbitrary sessions including terminal and GUI --- impossible?"
    +url: null
    +body: """
      cross-posted from: [discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)\n
      \n
      > My dream: I want a way to arbitrarily close and later open groups of applications including their states such as open files, window arrangement, scrollback, even undo histories etc. So working on a specific project I can close everything neatly and return to it later.\n
      > \n
      > In my research/experiments here is what I come up with, do you agree?:\n
      > \n
      > 1. in the terminal-only environment this would be tmux or another multiplexer\n
      > 2. But when you start including GUI applications (which I must), then it is something else that doesn’t exactly exist\n
      > 3. Applications store their current states in a variety of places and some of them don’t really *do* restoring in any way so it would be hard to force.\n
      > 4. the best option for this is something like [xpra](https://github.com/Xpra-org/xpra/) where you can have multiple sessions. If you had a machine that stayed powered-on all the time it might be possible to create sessions, log in remotely and use them that way.\n
      > 5. Using xpra or similar the sessions are never really actually closed. You would only close the connection from the local machine. If the machine faces a power off then too bad. As far as I can se there is basically no way to accomplish this goal where power-offs are accommodated.\n
      > \n
      > I have tried some remote-login options but they are too slow for normal use. I tend to have pretty low-end hardware running (because so far it works for most things) so maybe if I upgraded it would improve.\n
      > \n
      > 1. is it plausible?\n
      > 2. how to estimate hardware/performance needs of host, client and LAN? anything else to consider?\n
      > \n
      > I typically use manjaro + XFCE but would be willing to try something different to accomplish the goal. I only want to do this locally on LAN not remotely.\n
      > \n
      > re XFCE session managerXFCE has session management but the majority of programs don’t totally work with. Like maybe the application will re-open when the session is restored but no files will be open even if they were when session was saved. Or distribution through workspaces, window size etc will not be restored.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 21
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727246437 {#2464
      date: 2024-09-25 08:40:37.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#2453 …}
    +votes: Doctrine\ORM\PersistentCollection {#2422 …}
    +reports: Doctrine\ORM\PersistentCollection {#2462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2459 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2470 …}
    +badges: Doctrine\ORM\PersistentCollection {#2467 …}
    +children: []
    -id: 32002
    -titleTs: "'arbitrari':4 'gui':9 'imposs':10 'includ':6 'restor':3 'save':1 'session':5 'termin':7"
    -bodyTs: "'/post/9585677](https://discuss.tchncs.de/post/9585677)':7 '/xpra-org/xpra/)':143 '1':66,273 '2':80,277 '3':101 '4':131 '5':178 'accommod':230 'accomplish':222,306 'actual':188 'agre':65 'anoth':78 'anyth':288 'applic':22,87,102,340 'arbitrarili':15 'arrang':31 'bad':209 'basic':218 'best':133 'client':285 'close':16,45,189,193 'come':60 'connect':195 'consid':291 'creat':168 'cross':2 'cross-post':1 'current':105 'differ':304 'discuss.tchncs.de':6 'discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)':5 'distribut':365 'doesn':97 'dream':9 'els':95,289 'end':254 'environ':72 'estim':280 'etc':36,370 'even':33,356 'everyth':46 'exact':99 'exist':100 'face':203 'far':211,259 'file':29,352 'forc':130 'github.com':142 'github.com/xpra-org/xpra/)':141 'goal':224,308 'group':20 'gui':86 'hard':128 'hardwar':255 'hardware/performance':281 'histori':35 'host':284 'improv':272 'includ':23,85 'lan':287,317 'later':18,52 'like':139,337 'local':198,315 'log':170 'login':237 'low':253 'low-end':252 'machin':154,199,202 'major':329 'manag':326 'managerxfc':323 'manjaro':295 'mayb':266,338 'might':164 'multipl':148 'multiplex':79 'must':90 'neat':47 'need':282 'never':186 'normal':245 'off':228 'open':19,28,344,355 'option':134,238 'place':111 'plausibl':276 'possibl':166 'post':3 'power':158,205,227 'power-off':226 'powered-on':157 'pretti':251 'program':331 'project':42 're':320,343 're-open':342 'realli':118,187 'remot':172,236,319 'remote-login':235 'research/experiments':55 'restor':120,349,374 'return':49 'run':256 'save':363 'scrollback':32 'se':215 'session':149,169,184,322,325,347,361 'similar':182 'size':369 'slow':243 'someth':94,138,303 'specif':41 'start':84 'state':25,106 'stay':156 'store':103 'tend':248 'termin':70 'terminal-on':69 'thing':264 'time':162 'tmux':76 'total':334 'tri':233,302 'typic':293 'undo':34 'upgrad':269 'use':174,179,246,294 'varieti':109 'want':11,311 'way':13,123,177,220 'will':300 'window':30,368 'work':38,261,335 'workspac':367 'would':74,126,191,271,298 'xfce':296,321 'xpra':140,180"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705869374
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9588351"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705785374 {#1740
      date: 2024-01-20 22:16:14.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3637
  +formDest: "entry"
  +subject: App\Entity\Entry {#2456
    +user: App\Entity\User {#263
      +avatar: null
      +cover: null
      +email: "linuxPIPEpower@discuss.tchncs.de"
      +username: "@linuxPIPEpower@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729147158 {#271
        date: 2024-10-17 08:39: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: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
      +entries: Doctrine\ORM\PersistentCollection {#194 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
      +posts: Doctrine\ORM\PersistentCollection {#82 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
      +follows: Doctrine\ORM\PersistentCollection {#1770 …}
      +followers: Doctrine\ORM\PersistentCollection {#1873 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
      +reports: Doctrine\ORM\PersistentCollection {#2396 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
      +violations: Doctrine\ORM\PersistentCollection {#1803 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
      +awards: Doctrine\ORM\PersistentCollection {#1947 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
      +categories: Doctrine\ORM\PersistentCollection {#1877 …}
      -id: 86105
      -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
      +apId: "linuxPIPEpower@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "linuxPIPEpower"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728132845 {#272
        date: 2024-10-05 14:54:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1705651727 {#266
        date: 2024-01-19 09:08:47.0 +01:00
      }
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1722
      +icon: Proxies\__CG__\App\Entity\Image {#2222 …}
      +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 {#2317
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2218 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2261 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2219 …}
      +entries: Doctrine\ORM\PersistentCollection {#2217 …}
      +posts: Doctrine\ORM\PersistentCollection {#2194 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2193 …}
      +bans: Doctrine\ORM\PersistentCollection {#2210 …}
      +reports: Doctrine\ORM\PersistentCollection {#2211 …}
      +badges: Doctrine\ORM\PersistentCollection {#2262 …}
      +logs: Doctrine\ORM\PersistentCollection {#2234 …}
      +awards: Doctrine\ORM\PersistentCollection {#2267 …}
      +categories: Doctrine\ORM\PersistentCollection {#2260 …}
      -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 {#2318
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2313
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1683 …}
    +slug: "saving-and-restoring-arbitrary-sessions-including-terminal-and-GUI-impossible"
    +title: "saving and restoring arbitrary sessions including terminal and GUI --- impossible?"
    +url: null
    +body: """
      cross-posted from: [discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)\n
      \n
      > My dream: I want a way to arbitrarily close and later open groups of applications including their states such as open files, window arrangement, scrollback, even undo histories etc. So working on a specific project I can close everything neatly and return to it later.\n
      > \n
      > In my research/experiments here is what I come up with, do you agree?:\n
      > \n
      > 1. in the terminal-only environment this would be tmux or another multiplexer\n
      > 2. But when you start including GUI applications (which I must), then it is something else that doesn’t exactly exist\n
      > 3. Applications store their current states in a variety of places and some of them don’t really *do* restoring in any way so it would be hard to force.\n
      > 4. the best option for this is something like [xpra](https://github.com/Xpra-org/xpra/) where you can have multiple sessions. If you had a machine that stayed powered-on all the time it might be possible to create sessions, log in remotely and use them that way.\n
      > 5. Using xpra or similar the sessions are never really actually closed. You would only close the connection from the local machine. If the machine faces a power off then too bad. As far as I can se there is basically no way to accomplish this goal where power-offs are accommodated.\n
      > \n
      > I have tried some remote-login options but they are too slow for normal use. I tend to have pretty low-end hardware running (because so far it works for most things) so maybe if I upgraded it would improve.\n
      > \n
      > 1. is it plausible?\n
      > 2. how to estimate hardware/performance needs of host, client and LAN? anything else to consider?\n
      > \n
      > I typically use manjaro + XFCE but would be willing to try something different to accomplish the goal. I only want to do this locally on LAN not remotely.\n
      > \n
      > re XFCE session managerXFCE has session management but the majority of programs don’t totally work with. Like maybe the application will re-open when the session is restored but no files will be open even if they were when session was saved. Or distribution through workspaces, window size etc will not be restored.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 21
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727246437 {#2464
      date: 2024-09-25 08:40:37.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#2453 …}
    +votes: Doctrine\ORM\PersistentCollection {#2422 …}
    +reports: Doctrine\ORM\PersistentCollection {#2462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2459 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2470 …}
    +badges: Doctrine\ORM\PersistentCollection {#2467 …}
    +children: []
    -id: 32002
    -titleTs: "'arbitrari':4 'gui':9 'imposs':10 'includ':6 'restor':3 'save':1 'session':5 'termin':7"
    -bodyTs: "'/post/9585677](https://discuss.tchncs.de/post/9585677)':7 '/xpra-org/xpra/)':143 '1':66,273 '2':80,277 '3':101 '4':131 '5':178 'accommod':230 'accomplish':222,306 'actual':188 'agre':65 'anoth':78 'anyth':288 'applic':22,87,102,340 'arbitrarili':15 'arrang':31 'bad':209 'basic':218 'best':133 'client':285 'close':16,45,189,193 'come':60 'connect':195 'consid':291 'creat':168 'cross':2 'cross-post':1 'current':105 'differ':304 'discuss.tchncs.de':6 'discuss.tchncs.de/post/9585677](https://discuss.tchncs.de/post/9585677)':5 'distribut':365 'doesn':97 'dream':9 'els':95,289 'end':254 'environ':72 'estim':280 'etc':36,370 'even':33,356 'everyth':46 'exact':99 'exist':100 'face':203 'far':211,259 'file':29,352 'forc':130 'github.com':142 'github.com/xpra-org/xpra/)':141 'goal':224,308 'group':20 'gui':86 'hard':128 'hardwar':255 'hardware/performance':281 'histori':35 'host':284 'improv':272 'includ':23,85 'lan':287,317 'later':18,52 'like':139,337 'local':198,315 'log':170 'login':237 'low':253 'low-end':252 'machin':154,199,202 'major':329 'manag':326 'managerxfc':323 'manjaro':295 'mayb':266,338 'might':164 'multipl':148 'multiplex':79 'must':90 'neat':47 'need':282 'never':186 'normal':245 'off':228 'open':19,28,344,355 'option':134,238 'place':111 'plausibl':276 'possibl':166 'post':3 'power':158,205,227 'power-off':226 'powered-on':157 'pretti':251 'program':331 'project':42 're':320,343 're-open':342 'realli':118,187 'remot':172,236,319 'remote-login':235 'research/experiments':55 'restor':120,349,374 'return':49 'run':256 'save':363 'scrollback':32 'se':215 'session':149,169,184,322,325,347,361 'similar':182 'size':369 'slow':243 'someth':94,138,303 'specif':41 'start':84 'state':25,106 'stay':156 'store':103 'tend':248 'termin':70 'terminal-on':69 'thing':264 'time':162 'tmux':76 'total':334 'tri':233,302 'typic':293 'undo':34 'upgrad':269 'use':174,179,246,294 'varieti':109 'want':11,311 'way':13,123,177,220 'will':300 'window':30,368 'work':38,261,335 'workspac':367 'would':74,126,191,271,298 'xfce':296,321 'xpra':140,180"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705869374
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/9588351"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705785374 {#1740
      date: 2024-01-20 22:16:14.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 16.0 MiB 0.25 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 {#3942
  +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 16.0 MiB 0.20 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4000
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.14 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4062
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.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 {#4118
  +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 16.0 MiB 0.13 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 {#4177
  +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 16.0 MiB 0.13 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4233
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4289
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.27 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#4347
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 11.27 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4410
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.19 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#4468
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.17 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#4524
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.19 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#4580
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.14 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4636
  +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 16.0 MiB 0.14 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4692
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4748
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4804
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.21 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4860
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.18 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4916
  +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 16.0 MiB 0.16 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4972
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 16.0 MiB 0.16 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 {#5028
  +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 16.0 MiB 0.13 ms
Input props
[
  "label" => "Show Comment Avatars"
  "help" => "Display/hide user avatars when viewing comments on a single thread or post."
  "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5086
  +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 16.0 MiB 0.66 ms
Input props
[
  "user" => App\Entity\User {#263
    +avatar: null
    +cover: null
    +email: "linuxPIPEpower@discuss.tchncs.de"
    +username: "@linuxPIPEpower@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729147158 {#271
      date: 2024-10-17 08:39: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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
    +entries: Doctrine\ORM\PersistentCollection {#194 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
    +posts: Doctrine\ORM\PersistentCollection {#82 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
    +follows: Doctrine\ORM\PersistentCollection {#1770 …}
    +followers: Doctrine\ORM\PersistentCollection {#1873 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
    +reports: Doctrine\ORM\PersistentCollection {#2396 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
    +violations: Doctrine\ORM\PersistentCollection {#1803 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
    +awards: Doctrine\ORM\PersistentCollection {#1947 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
    +categories: Doctrine\ORM\PersistentCollection {#1877 …}
    -id: 86105
    -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
    +apId: "linuxPIPEpower@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "linuxPIPEpower"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728132845 {#272
      date: 2024-10-05 14:54:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1705651727 {#266
      date: 2024-01-19 09:08:47.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#5162
  +user: App\Entity\User {#263
    +avatar: null
    +cover: null
    +email: "linuxPIPEpower@discuss.tchncs.de"
    +username: "@linuxPIPEpower@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729147158 {#271
      date: 2024-10-17 08:39: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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#251 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#247 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#236 …}
    +entries: Doctrine\ORM\PersistentCollection {#194 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#166 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#139 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#109 …}
    +posts: Doctrine\ORM\PersistentCollection {#82 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#97 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1804 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1600 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1847 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1872 …}
    +follows: Doctrine\ORM\PersistentCollection {#1770 …}
    +followers: Doctrine\ORM\PersistentCollection {#1873 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1819 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1832 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1861 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#2486 …}
    +reports: Doctrine\ORM\PersistentCollection {#2396 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2441 …}
    +violations: Doctrine\ORM\PersistentCollection {#1803 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1918 …}
    +awards: Doctrine\ORM\PersistentCollection {#1947 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1881 …}
    +categories: Doctrine\ORM\PersistentCollection {#1877 …}
    -id: 86105
    -password: "$2y$13$Rgi337EWK73XZmjZrR9p5eWoelRzbPfN6Qy5guBKm000AhQiYu7w."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1895 …}
    +apId: "linuxPIPEpower@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apPublicUrl: "https://discuss.tchncs.de/u/linuxPIPEpower"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "linuxPIPEpower"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728132845 {#272
      date: 2024-10-05 14:54:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1705651727 {#266
      date: 2024-01-19 09:08:47.0 +01:00
    }
  }
}
date App\Twig\Components\DateComponent 16.0 MiB 0.17 ms
Input props
[
  "date" => DateTimeImmutable @1705651727 {#266
    date: 2024-01-19 09:08:47.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5223
  +date: DateTimeImmutable @1705651727 {#266
    date: 2024-01-19 09:08:47.0 +01:00
  }
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 16.0 MiB 1.77 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#5310
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +title: "random_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#1375 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 16.0 MiB 0.24 ms
Input props
[
  "magazine" => null
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#5375
  +magazine: null
  -userRepository: App\Repository\UserRepository {#603 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_categories App\Twig\Components\RelatedCategoriesComponent 16.0 MiB 1.60 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#5434
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +title: "random_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#5435 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 16.0 MiB 1.48 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#5505
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +post: null
  +title: "random_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#5504 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#1505 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 16.0 MiB 3.49 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#5574
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +entry: null
  +title: "random_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#1712 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#1505 …}
}
support_us_block App\Twig\Components\SupportUsBlock 16.0 MiB 2.51 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#5643
  +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 {#5644 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 16.0 MiB 3.19 ms
Input props
[
  "magazine" => null
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#5736
  +magazine: null
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#1375 …}
}