GET https://kbin.spritesserver.nl/m/linux@lemmy.ml/t/21723/How-to-automatically-assign-classes-in-GRUB/oldest

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.16 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.05 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "How-to-automatically-assign-classes-in-GRUB"
  +title: "How to automatically assign classes in GRUB?"
  +url: null
  +body: """
    Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
    \n
    How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
    \n
    I'm on linux mint, 21.2 Cinnamon.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 13
  +favouriteCount: 13
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1702427530 {#2410
    date: 2023-12-13 01:32:10.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 21723
  -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
  -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1702384066
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
  +editedAt: DateTimeImmutable @1703884904 {#1850
    date: 2023-12-29 22:21:44.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702322566 {#2420
    date: 2023-12-11 20:22:46.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "How-to-automatically-assign-classes-in-GRUB"
  +title: "How to automatically assign classes in GRUB?"
  +url: null
  +body: """
    Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
    \n
    How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
    \n
    I'm on linux mint, 21.2 Cinnamon.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 13
  +favouriteCount: 13
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1702427530 {#2410
    date: 2023-12-13 01:32:10.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 21723
  -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
  -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1702384066
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
  +editedAt: DateTimeImmutable @1703884904 {#1850
    date: 2023-12-29 22:21:44.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702322566 {#2420
    date: 2023-12-11 20:22:46.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "How-to-automatically-assign-classes-in-GRUB"
  +title: "How to automatically assign classes in GRUB?"
  +url: null
  +body: """
    Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
    \n
    How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
    \n
    I'm on linux mint, 21.2 Cinnamon.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 13
  +favouriteCount: 13
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1702427530 {#2410
    date: 2023-12-13 01:32:10.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 21723
  -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
  -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1702384066
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
  +editedAt: DateTimeImmutable @1703884904 {#1850
    date: 2023-12-29 22:21:44.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702322566 {#2420
    date: 2023-12-11 20:22:46.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4021
  +user: App\Entity\User {#3969 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Can you post your grub.cfg?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1703898757 {#4030
    date: 2023-12-30 02:12:37.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4019 …}
  +nested: Doctrine\ORM\PersistentCollection {#4017 …}
  +votes: Doctrine\ORM\PersistentCollection {#4015 …}
  +reports: Doctrine\ORM\PersistentCollection {#4013 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3981 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3985 …}
  -id: 217495
  -bodyTs: "'grub.cfg':5 'post':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4368087"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702326342 {#3966
    date: 2023-12-11 21:25:42.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4021
  +user: App\Entity\User {#3969 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Can you post your grub.cfg?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1703898757 {#4030
    date: 2023-12-30 02:12:37.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4019 …}
  +nested: Doctrine\ORM\PersistentCollection {#4017 …}
  +votes: Doctrine\ORM\PersistentCollection {#4015 …}
  +reports: Doctrine\ORM\PersistentCollection {#4013 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3981 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3985 …}
  -id: 217495
  -bodyTs: "'grub.cfg':5 'post':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4368087"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702326342 {#3966
    date: 2023-12-11 21:25:42.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4021
  +user: App\Entity\User {#3969 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Can you post your grub.cfg?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1703898757 {#4030
    date: 2023-12-30 02:12:37.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4019 …}
  +nested: Doctrine\ORM\PersistentCollection {#4017 …}
  +votes: Doctrine\ORM\PersistentCollection {#4015 …}
  +reports: Doctrine\ORM\PersistentCollection {#4013 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3981 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3985 …}
  -id: 217495
  -bodyTs: "'grub.cfg':5 'post':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4368087"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702326342 {#3966
    date: 2023-12-11 21:25:42.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4140
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4021
    +user: App\Entity\User {#3969 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Can you post your grub.cfg?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1703898757 {#4030
      date: 2023-12-30 02:12:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4019 …}
    +nested: Doctrine\ORM\PersistentCollection {#4017 …}
    +votes: Doctrine\ORM\PersistentCollection {#4015 …}
    +reports: Doctrine\ORM\PersistentCollection {#4013 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3981 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3985 …}
    -id: 217495
    -bodyTs: "'grub.cfg':5 'post':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4368087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702326342 {#3966
      date: 2023-12-11 21:25:42.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4021}
  +body: "It seems too long to copy paste here"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1702329740 {#4145
    date: 2023-12-11 22:22:20.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4148 …}
  +nested: Doctrine\ORM\PersistentCollection {#4152 …}
  +votes: Doctrine\ORM\PersistentCollection {#4154 …}
  +reports: Doctrine\ORM\PersistentCollection {#4155 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
  -id: 217524
  -bodyTs: "'copi':6 'long':4 'past':7 'seem':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072016"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702329740 {#4142
    date: 2023-12-11 22:22:20.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4140
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4021
    +user: App\Entity\User {#3969 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Can you post your grub.cfg?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1703898757 {#4030
      date: 2023-12-30 02:12:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4019 …}
    +nested: Doctrine\ORM\PersistentCollection {#4017 …}
    +votes: Doctrine\ORM\PersistentCollection {#4015 …}
    +reports: Doctrine\ORM\PersistentCollection {#4013 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3981 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3985 …}
    -id: 217495
    -bodyTs: "'grub.cfg':5 'post':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4368087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702326342 {#3966
      date: 2023-12-11 21:25:42.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4021}
  +body: "It seems too long to copy paste here"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1702329740 {#4145
    date: 2023-12-11 22:22:20.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4148 …}
  +nested: Doctrine\ORM\PersistentCollection {#4152 …}
  +votes: Doctrine\ORM\PersistentCollection {#4154 …}
  +reports: Doctrine\ORM\PersistentCollection {#4155 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
  -id: 217524
  -bodyTs: "'copi':6 'long':4 'past':7 'seem':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072016"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702329740 {#4142
    date: 2023-12-11 22:22:20.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4140
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4021
    +user: App\Entity\User {#3969 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Can you post your grub.cfg?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1703898757 {#4030
      date: 2023-12-30 02:12:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4019 …}
    +nested: Doctrine\ORM\PersistentCollection {#4017 …}
    +votes: Doctrine\ORM\PersistentCollection {#4015 …}
    +reports: Doctrine\ORM\PersistentCollection {#4013 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3981 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3985 …}
    -id: 217495
    -bodyTs: "'grub.cfg':5 'post':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4368087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702326342 {#3966
      date: 2023-12-11 21:25:42.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4021}
  +body: "It seems too long to copy paste here"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1702329740 {#4145
    date: 2023-12-11 22:22:20.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4148 …}
  +nested: Doctrine\ORM\PersistentCollection {#4152 …}
  +votes: Doctrine\ORM\PersistentCollection {#4154 …}
  +reports: Doctrine\ORM\PersistentCollection {#4155 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
  -id: 217524
  -bodyTs: "'copi':6 'long':4 'past':7 'seem':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072016"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702329740 {#4142
    date: 2023-12-11 22:22:20.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
14 DENIED moderate
App\Entity\EntryComment {#4163
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4021
    +user: App\Entity\User {#3969 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Can you post your grub.cfg?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1703898757 {#4030
      date: 2023-12-30 02:12:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4019 …}
    +nested: Doctrine\ORM\PersistentCollection {#4017 …}
    +votes: Doctrine\ORM\PersistentCollection {#4015 …}
    +reports: Doctrine\ORM\PersistentCollection {#4013 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3981 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3985 …}
    -id: 217495
    -bodyTs: "'grub.cfg':5 'post':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4368087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702326342 {#3966
      date: 2023-12-11 21:25:42.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4021}
  +body: "Here it is: <https://textdoc.co/qNyF4iIgsaTo5cZX>"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1702329835 {#4161
    date: 2023-12-11 22:23:55.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4164 …}
  +nested: Doctrine\ORM\PersistentCollection {#4166 …}
  +votes: Doctrine\ORM\PersistentCollection {#4168 …}
  +reports: Doctrine\ORM\PersistentCollection {#4170 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4172 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4174 …}
  -id: 217525
  -bodyTs: "'/qnyf4iigsato5czx':6 'textdoc.co':5 'textdoc.co/qnyf4iigsato5czx':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072044"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702329835 {#4162
    date: 2023-12-11 22:23:55.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
15 DENIED edit
App\Entity\EntryComment {#4163
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4021
    +user: App\Entity\User {#3969 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Can you post your grub.cfg?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1703898757 {#4030
      date: 2023-12-30 02:12:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4019 …}
    +nested: Doctrine\ORM\PersistentCollection {#4017 …}
    +votes: Doctrine\ORM\PersistentCollection {#4015 …}
    +reports: Doctrine\ORM\PersistentCollection {#4013 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3981 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3985 …}
    -id: 217495
    -bodyTs: "'grub.cfg':5 'post':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4368087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702326342 {#3966
      date: 2023-12-11 21:25:42.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4021}
  +body: "Here it is: <https://textdoc.co/qNyF4iIgsaTo5cZX>"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1702329835 {#4161
    date: 2023-12-11 22:23:55.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4164 …}
  +nested: Doctrine\ORM\PersistentCollection {#4166 …}
  +votes: Doctrine\ORM\PersistentCollection {#4168 …}
  +reports: Doctrine\ORM\PersistentCollection {#4170 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4172 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4174 …}
  -id: 217525
  -bodyTs: "'/qnyf4iigsato5czx':6 'textdoc.co':5 'textdoc.co/qnyf4iigsato5czx':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072044"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702329835 {#4162
    date: 2023-12-11 22:23:55.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
16 DENIED moderate
App\Entity\EntryComment {#4163
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4021
    +user: App\Entity\User {#3969 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Can you post your grub.cfg?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1703898757 {#4030
      date: 2023-12-30 02:12:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4019 …}
    +nested: Doctrine\ORM\PersistentCollection {#4017 …}
    +votes: Doctrine\ORM\PersistentCollection {#4015 …}
    +reports: Doctrine\ORM\PersistentCollection {#4013 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3981 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3985 …}
    -id: 217495
    -bodyTs: "'grub.cfg':5 'post':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4368087"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702326342 {#3966
      date: 2023-12-11 21:25:42.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4021}
  +body: "Here it is: <https://textdoc.co/qNyF4iIgsaTo5cZX>"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1702329835 {#4161
    date: 2023-12-11 22:23:55.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4164 …}
  +nested: Doctrine\ORM\PersistentCollection {#4166 …}
  +votes: Doctrine\ORM\PersistentCollection {#4168 …}
  +reports: Doctrine\ORM\PersistentCollection {#4170 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4172 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4174 …}
  -id: 217525
  -bodyTs: "'/qnyf4iigsato5czx':6 'textdoc.co':5 'textdoc.co/qnyf4iigsato5czx':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072044"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702329835 {#4162
    date: 2023-12-11 22:23:55.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
17 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
18 DENIED moderate
App\Entity\EntryComment {#4053
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704181804 {#4059
    date: 2024-01-02 08:50:04.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4058 …}
  +nested: Doctrine\ORM\PersistentCollection {#4057 …}
  +votes: Doctrine\ORM\PersistentCollection {#4048 …}
  +reports: Doctrine\ORM\PersistentCollection {#4051 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
  -id: 217517
  -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6573558"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702328947 {#4064
    date: 2023-12-11 22:09:07.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4053
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704181804 {#4059
    date: 2024-01-02 08:50:04.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4058 …}
  +nested: Doctrine\ORM\PersistentCollection {#4057 …}
  +votes: Doctrine\ORM\PersistentCollection {#4048 …}
  +reports: Doctrine\ORM\PersistentCollection {#4051 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
  -id: 217517
  -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6573558"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702328947 {#4064
    date: 2023-12-11 22:09:07.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4053
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704181804 {#4059
    date: 2024-01-02 08:50:04.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4058 …}
  +nested: Doctrine\ORM\PersistentCollection {#4057 …}
  +votes: Doctrine\ORM\PersistentCollection {#4048 …}
  +reports: Doctrine\ORM\PersistentCollection {#4051 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
  -id: 217517
  -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6573558"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702328947 {#4064
    date: 2023-12-11 22:09:07.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
21 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
22 DENIED moderate
App\Entity\EntryComment {#4179
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1704181804 {#4059
      date: 2024-01-02 08:50:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4058 …}
    +nested: Doctrine\ORM\PersistentCollection {#4057 …}
    +votes: Doctrine\ORM\PersistentCollection {#4048 …}
    +reports: Doctrine\ORM\PersistentCollection {#4051 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
    -id: 217517
    -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6573558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702328947 {#4064
      date: 2023-12-11 22:09:07.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1702330379 {#4176
    date: 2023-12-11 22:32:59.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4180 …}
  +nested: Doctrine\ORM\PersistentCollection {#4182 …}
  +votes: Doctrine\ORM\PersistentCollection {#4184 …}
  +reports: Doctrine\ORM\PersistentCollection {#4186 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
  -id: 217528
  -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
  +editedAt: DateTimeImmutable @1703899748 {#4177
    date: 2023-12-30 02:29:08.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702330379 {#4178
    date: 2023-12-11 22:32:59.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
23 DENIED edit
App\Entity\EntryComment {#4179
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1704181804 {#4059
      date: 2024-01-02 08:50:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4058 …}
    +nested: Doctrine\ORM\PersistentCollection {#4057 …}
    +votes: Doctrine\ORM\PersistentCollection {#4048 …}
    +reports: Doctrine\ORM\PersistentCollection {#4051 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
    -id: 217517
    -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6573558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702328947 {#4064
      date: 2023-12-11 22:09:07.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1702330379 {#4176
    date: 2023-12-11 22:32:59.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4180 …}
  +nested: Doctrine\ORM\PersistentCollection {#4182 …}
  +votes: Doctrine\ORM\PersistentCollection {#4184 …}
  +reports: Doctrine\ORM\PersistentCollection {#4186 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
  -id: 217528
  -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
  +editedAt: DateTimeImmutable @1703899748 {#4177
    date: 2023-12-30 02:29:08.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702330379 {#4178
    date: 2023-12-11 22:32:59.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
24 DENIED moderate
App\Entity\EntryComment {#4179
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1704181804 {#4059
      date: 2024-01-02 08:50:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4058 …}
    +nested: Doctrine\ORM\PersistentCollection {#4057 …}
    +votes: Doctrine\ORM\PersistentCollection {#4048 …}
    +reports: Doctrine\ORM\PersistentCollection {#4051 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
    -id: 217517
    -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6573558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702328947 {#4064
      date: 2023-12-11 22:09:07.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1702330379 {#4176
    date: 2023-12-11 22:32:59.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4180 …}
  +nested: Doctrine\ORM\PersistentCollection {#4182 …}
  +votes: Doctrine\ORM\PersistentCollection {#4184 …}
  +reports: Doctrine\ORM\PersistentCollection {#4186 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
  -id: 217528
  -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
  +editedAt: DateTimeImmutable @1703899748 {#4177
    date: 2023-12-30 02:29:08.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702330379 {#4178
    date: 2023-12-11 22:32:59.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
25 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
26 DENIED moderate
App\Entity\EntryComment {#4202
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4179
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4042 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1704181804 {#4059
        date: 2024-01-02 08:50:04.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4058 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4048 …}
      +reports: Doctrine\ORM\PersistentCollection {#4051 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
      -id: 217517
      -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6573558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702328947 {#4064
        date: 2023-12-11 22:09:07.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702330379 {#4176
      date: 2023-12-11 22:32:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4180 …}
    +nested: Doctrine\ORM\PersistentCollection {#4182 …}
    +votes: Doctrine\ORM\PersistentCollection {#4184 …}
    +reports: Doctrine\ORM\PersistentCollection {#4186 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
    -id: 217528
    -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
    +editedAt: DateTimeImmutable @1703899748 {#4177
      date: 2023-12-30 02:29:08.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702330379 {#4178
      date: 2023-12-11 22:32:59.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
    \n
    To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1702339358 {#4203
    date: 2023-12-12 01:02:38.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4199 …}
  +nested: Doctrine\ORM\PersistentCollection {#4195 …}
  +votes: Doctrine\ORM\PersistentCollection {#4193 …}
  +reports: Doctrine\ORM\PersistentCollection {#4208 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
  -id: 217596
  -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6578274"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702339358 {#4206
    date: 2023-12-12 01:02:38.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
27 DENIED edit
App\Entity\EntryComment {#4202
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4179
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4042 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1704181804 {#4059
        date: 2024-01-02 08:50:04.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4058 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4048 …}
      +reports: Doctrine\ORM\PersistentCollection {#4051 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
      -id: 217517
      -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6573558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702328947 {#4064
        date: 2023-12-11 22:09:07.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702330379 {#4176
      date: 2023-12-11 22:32:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4180 …}
    +nested: Doctrine\ORM\PersistentCollection {#4182 …}
    +votes: Doctrine\ORM\PersistentCollection {#4184 …}
    +reports: Doctrine\ORM\PersistentCollection {#4186 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
    -id: 217528
    -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
    +editedAt: DateTimeImmutable @1703899748 {#4177
      date: 2023-12-30 02:29:08.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702330379 {#4178
      date: 2023-12-11 22:32:59.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
    \n
    To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1702339358 {#4203
    date: 2023-12-12 01:02:38.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4199 …}
  +nested: Doctrine\ORM\PersistentCollection {#4195 …}
  +votes: Doctrine\ORM\PersistentCollection {#4193 …}
  +reports: Doctrine\ORM\PersistentCollection {#4208 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
  -id: 217596
  -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6578274"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702339358 {#4206
    date: 2023-12-12 01:02:38.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
28 DENIED moderate
App\Entity\EntryComment {#4202
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4179
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4042 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1704181804 {#4059
        date: 2024-01-02 08:50:04.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4058 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4048 …}
      +reports: Doctrine\ORM\PersistentCollection {#4051 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
      -id: 217517
      -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6573558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702328947 {#4064
        date: 2023-12-11 22:09:07.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702330379 {#4176
      date: 2023-12-11 22:32:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4180 …}
    +nested: Doctrine\ORM\PersistentCollection {#4182 …}
    +votes: Doctrine\ORM\PersistentCollection {#4184 …}
    +reports: Doctrine\ORM\PersistentCollection {#4186 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
    -id: 217528
    -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
    +editedAt: DateTimeImmutable @1703899748 {#4177
      date: 2023-12-30 02:29:08.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702330379 {#4178
      date: 2023-12-11 22:32:59.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
    \n
    To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1702339358 {#4203
    date: 2023-12-12 01:02:38.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4199 …}
  +nested: Doctrine\ORM\PersistentCollection {#4195 …}
  +votes: Doctrine\ORM\PersistentCollection {#4193 …}
  +reports: Doctrine\ORM\PersistentCollection {#4208 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
  -id: 217596
  -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6578274"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702339358 {#4206
    date: 2023-12-12 01:02:38.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
29 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
30 DENIED moderate
App\Entity\EntryComment {#4229
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4202
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4179
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704181804 {#4059
          date: 2024-01-02 08:50:04.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4058 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4048 …}
        +reports: Doctrine\ORM\PersistentCollection {#4051 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
        -id: 217517
        -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6573558"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702328947 {#4064
          date: 2023-12-11 22:09:07.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1702330379 {#4176
        date: 2023-12-11 22:32:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4180 …}
      +nested: Doctrine\ORM\PersistentCollection {#4182 …}
      +votes: Doctrine\ORM\PersistentCollection {#4184 …}
      +reports: Doctrine\ORM\PersistentCollection {#4186 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
      -id: 217528
      -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
      +editedAt: DateTimeImmutable @1703899748 {#4177
        date: 2023-12-30 02:29:08.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702330379 {#4178
        date: 2023-12-11 22:32:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
      \n
      To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702339358 {#4203
      date: 2023-12-12 01:02:38.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4195 …}
    +votes: Doctrine\ORM\PersistentCollection {#4193 …}
    +reports: Doctrine\ORM\PersistentCollection {#4208 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
    -id: 217596
    -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6578274"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702339358 {#4206
      date: 2023-12-12 01:02:38.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "daje, grazie! (thanks!)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702345851 {#4224
    date: 2023-12-12 02:50:51.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4221 …}
  +nested: Doctrine\ORM\PersistentCollection {#4218 …}
  +votes: Doctrine\ORM\PersistentCollection {#4216 …}
  +reports: Doctrine\ORM\PersistentCollection {#4230 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4232 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4234 …}
  -id: 217661
  -bodyTs: "'daje':1 'grazi':2 'thank':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076091"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702345851 {#4227
    date: 2023-12-12 02:50:51.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
31 DENIED edit
App\Entity\EntryComment {#4229
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4202
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4179
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704181804 {#4059
          date: 2024-01-02 08:50:04.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4058 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4048 …}
        +reports: Doctrine\ORM\PersistentCollection {#4051 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
        -id: 217517
        -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6573558"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702328947 {#4064
          date: 2023-12-11 22:09:07.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1702330379 {#4176
        date: 2023-12-11 22:32:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4180 …}
      +nested: Doctrine\ORM\PersistentCollection {#4182 …}
      +votes: Doctrine\ORM\PersistentCollection {#4184 …}
      +reports: Doctrine\ORM\PersistentCollection {#4186 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
      -id: 217528
      -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
      +editedAt: DateTimeImmutable @1703899748 {#4177
        date: 2023-12-30 02:29:08.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702330379 {#4178
        date: 2023-12-11 22:32:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
      \n
      To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702339358 {#4203
      date: 2023-12-12 01:02:38.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4195 …}
    +votes: Doctrine\ORM\PersistentCollection {#4193 …}
    +reports: Doctrine\ORM\PersistentCollection {#4208 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
    -id: 217596
    -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6578274"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702339358 {#4206
      date: 2023-12-12 01:02:38.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "daje, grazie! (thanks!)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702345851 {#4224
    date: 2023-12-12 02:50:51.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4221 …}
  +nested: Doctrine\ORM\PersistentCollection {#4218 …}
  +votes: Doctrine\ORM\PersistentCollection {#4216 …}
  +reports: Doctrine\ORM\PersistentCollection {#4230 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4232 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4234 …}
  -id: 217661
  -bodyTs: "'daje':1 'grazi':2 'thank':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076091"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702345851 {#4227
    date: 2023-12-12 02:50:51.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
32 DENIED moderate
App\Entity\EntryComment {#4229
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4202
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4179
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704181804 {#4059
          date: 2024-01-02 08:50:04.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4058 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4048 …}
        +reports: Doctrine\ORM\PersistentCollection {#4051 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
        -id: 217517
        -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6573558"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702328947 {#4064
          date: 2023-12-11 22:09:07.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1702330379 {#4176
        date: 2023-12-11 22:32:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4180 …}
      +nested: Doctrine\ORM\PersistentCollection {#4182 …}
      +votes: Doctrine\ORM\PersistentCollection {#4184 …}
      +reports: Doctrine\ORM\PersistentCollection {#4186 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
      -id: 217528
      -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
      +editedAt: DateTimeImmutable @1703899748 {#4177
        date: 2023-12-30 02:29:08.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702330379 {#4178
        date: 2023-12-11 22:32:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
      \n
      To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702339358 {#4203
      date: 2023-12-12 01:02:38.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4195 …}
    +votes: Doctrine\ORM\PersistentCollection {#4193 …}
    +reports: Doctrine\ORM\PersistentCollection {#4208 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
    -id: 217596
    -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6578274"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702339358 {#4206
      date: 2023-12-12 01:02:38.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "daje, grazie! (thanks!)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702345851 {#4224
    date: 2023-12-12 02:50:51.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4221 …}
  +nested: Doctrine\ORM\PersistentCollection {#4218 …}
  +votes: Doctrine\ORM\PersistentCollection {#4216 …}
  +reports: Doctrine\ORM\PersistentCollection {#4230 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4232 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4234 …}
  -id: 217661
  -bodyTs: "'daje':1 'grazi':2 'thank':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076091"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702345851 {#4227
    date: 2023-12-12 02:50:51.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
33 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
34 DENIED moderate
App\Entity\EntryComment {#4238
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4202
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4179
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704181804 {#4059
          date: 2024-01-02 08:50:04.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4058 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4048 …}
        +reports: Doctrine\ORM\PersistentCollection {#4051 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
        -id: 217517
        -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6573558"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702328947 {#4064
          date: 2023-12-11 22:09:07.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1702330379 {#4176
        date: 2023-12-11 22:32:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4180 …}
      +nested: Doctrine\ORM\PersistentCollection {#4182 …}
      +votes: Doctrine\ORM\PersistentCollection {#4184 …}
      +reports: Doctrine\ORM\PersistentCollection {#4186 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
      -id: 217528
      -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
      +editedAt: DateTimeImmutable @1703899748 {#4177
        date: 2023-12-30 02:29:08.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702330379 {#4178
        date: 2023-12-11 22:32:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
      \n
      To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702339358 {#4203
      date: 2023-12-12 01:02:38.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4195 …}
    +votes: Doctrine\ORM\PersistentCollection {#4193 …}
    +reports: Doctrine\ORM\PersistentCollection {#4208 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
    -id: 217596
    -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6578274"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702339358 {#4206
      date: 2023-12-12 01:02:38.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702346321 {#4236
    date: 2023-12-12 02:58:41.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4239 …}
  +nested: Doctrine\ORM\PersistentCollection {#4241 …}
  +votes: Doctrine\ORM\PersistentCollection {#4243 …}
  +reports: Doctrine\ORM\PersistentCollection {#4245 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
  -id: 217662
  -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702346321 {#4237
    date: 2023-12-12 02:58:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
35 DENIED edit
App\Entity\EntryComment {#4238
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4202
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4179
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704181804 {#4059
          date: 2024-01-02 08:50:04.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4058 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4048 …}
        +reports: Doctrine\ORM\PersistentCollection {#4051 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
        -id: 217517
        -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6573558"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702328947 {#4064
          date: 2023-12-11 22:09:07.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1702330379 {#4176
        date: 2023-12-11 22:32:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4180 …}
      +nested: Doctrine\ORM\PersistentCollection {#4182 …}
      +votes: Doctrine\ORM\PersistentCollection {#4184 …}
      +reports: Doctrine\ORM\PersistentCollection {#4186 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
      -id: 217528
      -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
      +editedAt: DateTimeImmutable @1703899748 {#4177
        date: 2023-12-30 02:29:08.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702330379 {#4178
        date: 2023-12-11 22:32:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
      \n
      To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702339358 {#4203
      date: 2023-12-12 01:02:38.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4195 …}
    +votes: Doctrine\ORM\PersistentCollection {#4193 …}
    +reports: Doctrine\ORM\PersistentCollection {#4208 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
    -id: 217596
    -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6578274"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702339358 {#4206
      date: 2023-12-12 01:02:38.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702346321 {#4236
    date: 2023-12-12 02:58:41.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4239 …}
  +nested: Doctrine\ORM\PersistentCollection {#4241 …}
  +votes: Doctrine\ORM\PersistentCollection {#4243 …}
  +reports: Doctrine\ORM\PersistentCollection {#4245 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
  -id: 217662
  -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702346321 {#4237
    date: 2023-12-12 02:58:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
36 DENIED moderate
App\Entity\EntryComment {#4238
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4202
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4179
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704181804 {#4059
          date: 2024-01-02 08:50:04.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4058 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4048 …}
        +reports: Doctrine\ORM\PersistentCollection {#4051 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
        -id: 217517
        -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6573558"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702328947 {#4064
          date: 2023-12-11 22:09:07.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1702330379 {#4176
        date: 2023-12-11 22:32:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4180 …}
      +nested: Doctrine\ORM\PersistentCollection {#4182 …}
      +votes: Doctrine\ORM\PersistentCollection {#4184 …}
      +reports: Doctrine\ORM\PersistentCollection {#4186 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
      -id: 217528
      -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
      +editedAt: DateTimeImmutable @1703899748 {#4177
        date: 2023-12-30 02:29:08.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702330379 {#4178
        date: 2023-12-11 22:32:59.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
      \n
      To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702339358 {#4203
      date: 2023-12-12 01:02:38.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4195 …}
    +votes: Doctrine\ORM\PersistentCollection {#4193 …}
    +reports: Doctrine\ORM\PersistentCollection {#4208 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
    -id: 217596
    -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6578274"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702339358 {#4206
      date: 2023-12-12 01:02:38.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702346321 {#4236
    date: 2023-12-12 02:58:41.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4239 …}
  +nested: Doctrine\ORM\PersistentCollection {#4241 …}
  +votes: Doctrine\ORM\PersistentCollection {#4243 …}
  +reports: Doctrine\ORM\PersistentCollection {#4245 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
  -id: 217662
  -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702346321 {#4237
    date: 2023-12-12 02:58:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
37 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
38 DENIED moderate
App\Entity\EntryComment {#4252
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4238
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4202
      +user: App\Entity\User {#4042 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4179
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4053
          +user: App\Entity\User {#4042 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1704181804 {#4059
            date: 2024-01-02 08:50:04.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4058 …}
          +nested: Doctrine\ORM\PersistentCollection {#4057 …}
          +votes: Doctrine\ORM\PersistentCollection {#4048 …}
          +reports: Doctrine\ORM\PersistentCollection {#4051 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
          -id: 217517
          -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/6573558"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702328947 {#4064
            date: 2023-12-11 22:09:07.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1702330379 {#4176
          date: 2023-12-11 22:32:59.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4180 …}
        +nested: Doctrine\ORM\PersistentCollection {#4182 …}
        +votes: Doctrine\ORM\PersistentCollection {#4184 …}
        +reports: Doctrine\ORM\PersistentCollection {#4186 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
        -id: 217528
        -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
        +editedAt: DateTimeImmutable @1703899748 {#4177
          date: 2023-12-30 02:29:08.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702330379 {#4178
          date: 2023-12-11 22:32:59.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: """
        These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
        \n
        To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702339358 {#4203
        date: 2023-12-12 01:02:38.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4195 …}
      +votes: Doctrine\ORM\PersistentCollection {#4193 …}
      +reports: Doctrine\ORM\PersistentCollection {#4208 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
      -id: 217596
      -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6578274"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702339358 {#4206
        date: 2023-12-12 01:02:38.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702346321 {#4236
      date: 2023-12-12 02:58:41.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4239 …}
    +nested: Doctrine\ORM\PersistentCollection {#4241 …}
    +votes: Doctrine\ORM\PersistentCollection {#4243 …}
    +reports: Doctrine\ORM\PersistentCollection {#4245 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
    -id: 217662
    -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702346321 {#4237
      date: 2023-12-12 02:58:41.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "See if this entry generated by another script in this directory."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702373981 {#4257
    date: 2023-12-12 10:39:41.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4260 …}
  +nested: Doctrine\ORM\PersistentCollection {#4264 …}
  +votes: Doctrine\ORM\PersistentCollection {#4266 …}
  +reports: Doctrine\ORM\PersistentCollection {#4267 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
  -id: 217876
  -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6586899"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702373981 {#4254
    date: 2023-12-12 10:39:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
39 DENIED edit
App\Entity\EntryComment {#4252
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4238
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4202
      +user: App\Entity\User {#4042 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4179
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4053
          +user: App\Entity\User {#4042 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1704181804 {#4059
            date: 2024-01-02 08:50:04.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4058 …}
          +nested: Doctrine\ORM\PersistentCollection {#4057 …}
          +votes: Doctrine\ORM\PersistentCollection {#4048 …}
          +reports: Doctrine\ORM\PersistentCollection {#4051 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
          -id: 217517
          -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/6573558"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702328947 {#4064
            date: 2023-12-11 22:09:07.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1702330379 {#4176
          date: 2023-12-11 22:32:59.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4180 …}
        +nested: Doctrine\ORM\PersistentCollection {#4182 …}
        +votes: Doctrine\ORM\PersistentCollection {#4184 …}
        +reports: Doctrine\ORM\PersistentCollection {#4186 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
        -id: 217528
        -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
        +editedAt: DateTimeImmutable @1703899748 {#4177
          date: 2023-12-30 02:29:08.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702330379 {#4178
          date: 2023-12-11 22:32:59.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: """
        These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
        \n
        To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702339358 {#4203
        date: 2023-12-12 01:02:38.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4195 …}
      +votes: Doctrine\ORM\PersistentCollection {#4193 …}
      +reports: Doctrine\ORM\PersistentCollection {#4208 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
      -id: 217596
      -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6578274"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702339358 {#4206
        date: 2023-12-12 01:02:38.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702346321 {#4236
      date: 2023-12-12 02:58:41.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4239 …}
    +nested: Doctrine\ORM\PersistentCollection {#4241 …}
    +votes: Doctrine\ORM\PersistentCollection {#4243 …}
    +reports: Doctrine\ORM\PersistentCollection {#4245 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
    -id: 217662
    -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702346321 {#4237
      date: 2023-12-12 02:58:41.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "See if this entry generated by another script in this directory."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702373981 {#4257
    date: 2023-12-12 10:39:41.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4260 …}
  +nested: Doctrine\ORM\PersistentCollection {#4264 …}
  +votes: Doctrine\ORM\PersistentCollection {#4266 …}
  +reports: Doctrine\ORM\PersistentCollection {#4267 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
  -id: 217876
  -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6586899"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702373981 {#4254
    date: 2023-12-12 10:39:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
40 DENIED moderate
App\Entity\EntryComment {#4252
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4238
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4202
      +user: App\Entity\User {#4042 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4179
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4053
          +user: App\Entity\User {#4042 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1704181804 {#4059
            date: 2024-01-02 08:50:04.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4058 …}
          +nested: Doctrine\ORM\PersistentCollection {#4057 …}
          +votes: Doctrine\ORM\PersistentCollection {#4048 …}
          +reports: Doctrine\ORM\PersistentCollection {#4051 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
          -id: 217517
          -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/6573558"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702328947 {#4064
            date: 2023-12-11 22:09:07.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1702330379 {#4176
          date: 2023-12-11 22:32:59.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4180 …}
        +nested: Doctrine\ORM\PersistentCollection {#4182 …}
        +votes: Doctrine\ORM\PersistentCollection {#4184 …}
        +reports: Doctrine\ORM\PersistentCollection {#4186 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
        -id: 217528
        -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
        +editedAt: DateTimeImmutable @1703899748 {#4177
          date: 2023-12-30 02:29:08.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702330379 {#4178
          date: 2023-12-11 22:32:59.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: """
        These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
        \n
        To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702339358 {#4203
        date: 2023-12-12 01:02:38.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4195 …}
      +votes: Doctrine\ORM\PersistentCollection {#4193 …}
      +reports: Doctrine\ORM\PersistentCollection {#4208 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
      -id: 217596
      -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6578274"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702339358 {#4206
        date: 2023-12-12 01:02:38.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702346321 {#4236
      date: 2023-12-12 02:58:41.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4239 …}
    +nested: Doctrine\ORM\PersistentCollection {#4241 …}
    +votes: Doctrine\ORM\PersistentCollection {#4243 …}
    +reports: Doctrine\ORM\PersistentCollection {#4245 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
    -id: 217662
    -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702346321 {#4237
      date: 2023-12-12 02:58:41.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: "See if this entry generated by another script in this directory."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702373981 {#4257
    date: 2023-12-12 10:39:41.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4260 …}
  +nested: Doctrine\ORM\PersistentCollection {#4264 …}
  +votes: Doctrine\ORM\PersistentCollection {#4266 …}
  +reports: Doctrine\ORM\PersistentCollection {#4267 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
  -id: 217876
  -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6586899"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702373981 {#4254
    date: 2023-12-12 10:39:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
41 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
42 DENIED moderate
App\Entity\EntryComment {#4280
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4252
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4238
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4202
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4179
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4053
            +user: App\Entity\User {#4042 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1704181804 {#4059
              date: 2024-01-02 08:50:04.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4058 …}
            +nested: Doctrine\ORM\PersistentCollection {#4057 …}
            +votes: Doctrine\ORM\PersistentCollection {#4048 …}
            +reports: Doctrine\ORM\PersistentCollection {#4051 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
            -id: 217517
            -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/6573558"
            +editedAt: null
            +createdAt: DateTimeImmutable @1702328947 {#4064
              date: 2023-12-11 22:09:07.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 1
          +score: 0
          +lastActive: DateTime @1702330379 {#4176
            date: 2023-12-11 22:32:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4180 …}
          +nested: Doctrine\ORM\PersistentCollection {#4182 …}
          +votes: Doctrine\ORM\PersistentCollection {#4184 …}
          +reports: Doctrine\ORM\PersistentCollection {#4186 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
          -id: 217528
          -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
          +editedAt: DateTimeImmutable @1703899748 {#4177
            date: 2023-12-30 02:29:08.0 +01:00
          }
          +createdAt: DateTimeImmutable @1702330379 {#4178
            date: 2023-12-11 22:32:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: """
          These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
          \n
          To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1702339358 {#4203
          date: 2023-12-12 01:02:38.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4195 …}
        +votes: Doctrine\ORM\PersistentCollection {#4193 …}
        +reports: Doctrine\ORM\PersistentCollection {#4208 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
        -id: 217596
        -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6578274"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702339358 {#4206
          date: 2023-12-12 01:02:38.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702346321 {#4236
        date: 2023-12-12 02:58:41.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4239 …}
      +nested: Doctrine\ORM\PersistentCollection {#4241 …}
      +votes: Doctrine\ORM\PersistentCollection {#4243 …}
      +reports: Doctrine\ORM\PersistentCollection {#4245 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
      -id: 217662
      -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702346321 {#4237
        date: 2023-12-12 02:58:41.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "See if this entry generated by another script in this directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702373981 {#4257
      date: 2023-12-12 10:39:41.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4260 …}
    +nested: Doctrine\ORM\PersistentCollection {#4264 …}
    +votes: Doctrine\ORM\PersistentCollection {#4266 …}
    +reports: Doctrine\ORM\PersistentCollection {#4267 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
    -id: 217876
    -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6586899"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702373981 {#4254
      date: 2023-12-12 10:39:41.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
     There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
    \n
    Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
    \n
    I'm not sure what to do with it
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702395468 {#4283
    date: 2023-12-12 16:37:48.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4278 …}
  +nested: Doctrine\ORM\PersistentCollection {#4276 …}
  +votes: Doctrine\ORM\PersistentCollection {#4274 …}
  +reports: Doctrine\ORM\PersistentCollection {#4290 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
  -id: 218457
  -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
  +editedAt: DateTimeImmutable @1704035622 {#4286
    date: 2023-12-31 16:13:42.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702395468 {#4288
    date: 2023-12-12 16:37:48.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
43 DENIED edit
App\Entity\EntryComment {#4280
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4252
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4238
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4202
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4179
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4053
            +user: App\Entity\User {#4042 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1704181804 {#4059
              date: 2024-01-02 08:50:04.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4058 …}
            +nested: Doctrine\ORM\PersistentCollection {#4057 …}
            +votes: Doctrine\ORM\PersistentCollection {#4048 …}
            +reports: Doctrine\ORM\PersistentCollection {#4051 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
            -id: 217517
            -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/6573558"
            +editedAt: null
            +createdAt: DateTimeImmutable @1702328947 {#4064
              date: 2023-12-11 22:09:07.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 1
          +score: 0
          +lastActive: DateTime @1702330379 {#4176
            date: 2023-12-11 22:32:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4180 …}
          +nested: Doctrine\ORM\PersistentCollection {#4182 …}
          +votes: Doctrine\ORM\PersistentCollection {#4184 …}
          +reports: Doctrine\ORM\PersistentCollection {#4186 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
          -id: 217528
          -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
          +editedAt: DateTimeImmutable @1703899748 {#4177
            date: 2023-12-30 02:29:08.0 +01:00
          }
          +createdAt: DateTimeImmutable @1702330379 {#4178
            date: 2023-12-11 22:32:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: """
          These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
          \n
          To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1702339358 {#4203
          date: 2023-12-12 01:02:38.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4195 …}
        +votes: Doctrine\ORM\PersistentCollection {#4193 …}
        +reports: Doctrine\ORM\PersistentCollection {#4208 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
        -id: 217596
        -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6578274"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702339358 {#4206
          date: 2023-12-12 01:02:38.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702346321 {#4236
        date: 2023-12-12 02:58:41.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4239 …}
      +nested: Doctrine\ORM\PersistentCollection {#4241 …}
      +votes: Doctrine\ORM\PersistentCollection {#4243 …}
      +reports: Doctrine\ORM\PersistentCollection {#4245 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
      -id: 217662
      -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702346321 {#4237
        date: 2023-12-12 02:58:41.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "See if this entry generated by another script in this directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702373981 {#4257
      date: 2023-12-12 10:39:41.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4260 …}
    +nested: Doctrine\ORM\PersistentCollection {#4264 …}
    +votes: Doctrine\ORM\PersistentCollection {#4266 …}
    +reports: Doctrine\ORM\PersistentCollection {#4267 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
    -id: 217876
    -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6586899"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702373981 {#4254
      date: 2023-12-12 10:39:41.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
     There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
    \n
    Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
    \n
    I'm not sure what to do with it
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702395468 {#4283
    date: 2023-12-12 16:37:48.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4278 …}
  +nested: Doctrine\ORM\PersistentCollection {#4276 …}
  +votes: Doctrine\ORM\PersistentCollection {#4274 …}
  +reports: Doctrine\ORM\PersistentCollection {#4290 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
  -id: 218457
  -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
  +editedAt: DateTimeImmutable @1704035622 {#4286
    date: 2023-12-31 16:13:42.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702395468 {#4288
    date: 2023-12-12 16:37:48.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
44 DENIED moderate
App\Entity\EntryComment {#4280
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4252
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4238
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4202
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4179
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4053
            +user: App\Entity\User {#4042 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1704181804 {#4059
              date: 2024-01-02 08:50:04.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4058 …}
            +nested: Doctrine\ORM\PersistentCollection {#4057 …}
            +votes: Doctrine\ORM\PersistentCollection {#4048 …}
            +reports: Doctrine\ORM\PersistentCollection {#4051 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
            -id: 217517
            -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/6573558"
            +editedAt: null
            +createdAt: DateTimeImmutable @1702328947 {#4064
              date: 2023-12-11 22:09:07.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 1
          +score: 0
          +lastActive: DateTime @1702330379 {#4176
            date: 2023-12-11 22:32:59.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4180 …}
          +nested: Doctrine\ORM\PersistentCollection {#4182 …}
          +votes: Doctrine\ORM\PersistentCollection {#4184 …}
          +reports: Doctrine\ORM\PersistentCollection {#4186 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
          -id: 217528
          -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
          +editedAt: DateTimeImmutable @1703899748 {#4177
            date: 2023-12-30 02:29:08.0 +01:00
          }
          +createdAt: DateTimeImmutable @1702330379 {#4178
            date: 2023-12-11 22:32:59.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: """
          These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
          \n
          To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1702339358 {#4203
          date: 2023-12-12 01:02:38.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4195 …}
        +votes: Doctrine\ORM\PersistentCollection {#4193 …}
        +reports: Doctrine\ORM\PersistentCollection {#4208 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
        -id: 217596
        -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6578274"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702339358 {#4206
          date: 2023-12-12 01:02:38.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702346321 {#4236
        date: 2023-12-12 02:58:41.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4239 …}
      +nested: Doctrine\ORM\PersistentCollection {#4241 …}
      +votes: Doctrine\ORM\PersistentCollection {#4243 …}
      +reports: Doctrine\ORM\PersistentCollection {#4245 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
      -id: 217662
      -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702346321 {#4237
        date: 2023-12-12 02:58:41.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "See if this entry generated by another script in this directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702373981 {#4257
      date: 2023-12-12 10:39:41.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4260 …}
    +nested: Doctrine\ORM\PersistentCollection {#4264 …}
    +votes: Doctrine\ORM\PersistentCollection {#4266 …}
    +reports: Doctrine\ORM\PersistentCollection {#4267 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
    -id: 217876
    -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6586899"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702373981 {#4254
      date: 2023-12-12 10:39:41.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
     There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
    \n
    Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
    \n
    I'm not sure what to do with it
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702395468 {#4283
    date: 2023-12-12 16:37:48.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4278 …}
  +nested: Doctrine\ORM\PersistentCollection {#4276 …}
  +votes: Doctrine\ORM\PersistentCollection {#4274 …}
  +reports: Doctrine\ORM\PersistentCollection {#4290 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
  -id: 218457
  -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
  +editedAt: DateTimeImmutable @1704035622 {#4286
    date: 2023-12-31 16:13:42.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702395468 {#4288
    date: 2023-12-12 16:37:48.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
45 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
46 DENIED moderate
App\Entity\EntryComment {#4311
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4252
      +user: App\Entity\User {#4042 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4238
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4202
          +user: App\Entity\User {#4042 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4179
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4053
              +user: App\Entity\User {#4042 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 4
              +score: 0
              +lastActive: DateTime @1704181804 {#4059
                date: 2024-01-02 08:50:04.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@RossoErcole@kbin.social"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4058 …}
              +nested: Doctrine\ORM\PersistentCollection {#4057 …}
              +votes: Doctrine\ORM\PersistentCollection {#4048 …}
              +reports: Doctrine\ORM\PersistentCollection {#4051 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
              -id: 217517
              -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.ml/comment/6573558"
              +editedAt: null
              +createdAt: DateTimeImmutable @1702328947 {#4064
                date: 2023-12-11 22:09:07.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4053}
            +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 1
            +score: 0
            +lastActive: DateTime @1702330379 {#4176
              date: 2023-12-11 22:32:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
              "@bizdelnick@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4180 …}
            +nested: Doctrine\ORM\PersistentCollection {#4182 …}
            +votes: Doctrine\ORM\PersistentCollection {#4184 …}
            +reports: Doctrine\ORM\PersistentCollection {#4186 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
            -id: 217528
            -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
            +editedAt: DateTimeImmutable @1703899748 {#4177
              date: 2023-12-30 02:29:08.0 +01:00
            }
            +createdAt: DateTimeImmutable @1702330379 {#4178
              date: 2023-12-11 22:32:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: """
            These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
            \n
            To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1702339358 {#4203
            date: 2023-12-12 01:02:38.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4199 …}
          +nested: Doctrine\ORM\PersistentCollection {#4195 …}
          +votes: Doctrine\ORM\PersistentCollection {#4193 …}
          +reports: Doctrine\ORM\PersistentCollection {#4208 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
          -id: 217596
          -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/6578274"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702339358 {#4206
            date: 2023-12-12 01:02:38.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1702346321 {#4236
          date: 2023-12-12 02:58:41.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4239 …}
        +nested: Doctrine\ORM\PersistentCollection {#4241 …}
        +votes: Doctrine\ORM\PersistentCollection {#4243 …}
        +reports: Doctrine\ORM\PersistentCollection {#4245 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
        -id: 217662
        -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702346321 {#4237
          date: 2023-12-12 02:58:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "See if this entry generated by another script in this directory."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702373981 {#4257
        date: 2023-12-12 10:39:41.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4260 …}
      +nested: Doctrine\ORM\PersistentCollection {#4264 …}
      +votes: Doctrine\ORM\PersistentCollection {#4266 …}
      +reports: Doctrine\ORM\PersistentCollection {#4267 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
      -id: 217876
      -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6586899"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702373981 {#4254
        date: 2023-12-12 10:39:41.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
       There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
      \n
      Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
      \n
      I'm not sure what to do with it
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702395468 {#4283
      date: 2023-12-12 16:37:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4278 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4274 …}
    +reports: Doctrine\ORM\PersistentCollection {#4290 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
    -id: 218457
    -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
    +editedAt: DateTimeImmutable @1704035622 {#4286
      date: 2023-12-31 16:13:42.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702395468 {#4288
      date: 2023-12-12 16:37:48.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    You need to add class to this line:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
    </span>\n
    ```\n
    \n
    Insert `${CLASS}` before `$menuentry_id_option`:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' ${CLASS} $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702423448 {#4306
    date: 2023-12-13 00:24:08.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4303 …}
  +nested: Doctrine\ORM\PersistentCollection {#4300 …}
  +votes: Doctrine\ORM\PersistentCollection {#4298 …}
  +reports: Doctrine\ORM\PersistentCollection {#4312 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4314 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4316 …}
  -id: 219643
  -bodyTs: "'add':4 'advanc':13,25,39,52 'boot':26,53 'class':5,30,46 'devic':27,54 'echo':9,35 'gettext':11,37 'gnulinux':24,51 'gnulinux-advanc':23,50 'grub':18,44 'id':21,28,33,48,55 'insert':29 'line':8 'menuentri':20,32,47 'need':2 'option':14,22,34,40,49 'os':17,43 'printf':12,38 'quot':19,45 'submenu':10,36"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6603175"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702423448 {#4309
    date: 2023-12-13 00:24:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
47 DENIED edit
App\Entity\EntryComment {#4311
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4252
      +user: App\Entity\User {#4042 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4238
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4202
          +user: App\Entity\User {#4042 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4179
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4053
              +user: App\Entity\User {#4042 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 4
              +score: 0
              +lastActive: DateTime @1704181804 {#4059
                date: 2024-01-02 08:50:04.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@RossoErcole@kbin.social"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4058 …}
              +nested: Doctrine\ORM\PersistentCollection {#4057 …}
              +votes: Doctrine\ORM\PersistentCollection {#4048 …}
              +reports: Doctrine\ORM\PersistentCollection {#4051 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
              -id: 217517
              -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.ml/comment/6573558"
              +editedAt: null
              +createdAt: DateTimeImmutable @1702328947 {#4064
                date: 2023-12-11 22:09:07.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4053}
            +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 1
            +score: 0
            +lastActive: DateTime @1702330379 {#4176
              date: 2023-12-11 22:32:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
              "@bizdelnick@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4180 …}
            +nested: Doctrine\ORM\PersistentCollection {#4182 …}
            +votes: Doctrine\ORM\PersistentCollection {#4184 …}
            +reports: Doctrine\ORM\PersistentCollection {#4186 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
            -id: 217528
            -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
            +editedAt: DateTimeImmutable @1703899748 {#4177
              date: 2023-12-30 02:29:08.0 +01:00
            }
            +createdAt: DateTimeImmutable @1702330379 {#4178
              date: 2023-12-11 22:32:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: """
            These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
            \n
            To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1702339358 {#4203
            date: 2023-12-12 01:02:38.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4199 …}
          +nested: Doctrine\ORM\PersistentCollection {#4195 …}
          +votes: Doctrine\ORM\PersistentCollection {#4193 …}
          +reports: Doctrine\ORM\PersistentCollection {#4208 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
          -id: 217596
          -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/6578274"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702339358 {#4206
            date: 2023-12-12 01:02:38.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1702346321 {#4236
          date: 2023-12-12 02:58:41.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4239 …}
        +nested: Doctrine\ORM\PersistentCollection {#4241 …}
        +votes: Doctrine\ORM\PersistentCollection {#4243 …}
        +reports: Doctrine\ORM\PersistentCollection {#4245 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
        -id: 217662
        -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702346321 {#4237
          date: 2023-12-12 02:58:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "See if this entry generated by another script in this directory."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702373981 {#4257
        date: 2023-12-12 10:39:41.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4260 …}
      +nested: Doctrine\ORM\PersistentCollection {#4264 …}
      +votes: Doctrine\ORM\PersistentCollection {#4266 …}
      +reports: Doctrine\ORM\PersistentCollection {#4267 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
      -id: 217876
      -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6586899"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702373981 {#4254
        date: 2023-12-12 10:39:41.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
       There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
      \n
      Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
      \n
      I'm not sure what to do with it
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702395468 {#4283
      date: 2023-12-12 16:37:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4278 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4274 …}
    +reports: Doctrine\ORM\PersistentCollection {#4290 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
    -id: 218457
    -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
    +editedAt: DateTimeImmutable @1704035622 {#4286
      date: 2023-12-31 16:13:42.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702395468 {#4288
      date: 2023-12-12 16:37:48.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    You need to add class to this line:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
    </span>\n
    ```\n
    \n
    Insert `${CLASS}` before `$menuentry_id_option`:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' ${CLASS} $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702423448 {#4306
    date: 2023-12-13 00:24:08.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4303 …}
  +nested: Doctrine\ORM\PersistentCollection {#4300 …}
  +votes: Doctrine\ORM\PersistentCollection {#4298 …}
  +reports: Doctrine\ORM\PersistentCollection {#4312 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4314 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4316 …}
  -id: 219643
  -bodyTs: "'add':4 'advanc':13,25,39,52 'boot':26,53 'class':5,30,46 'devic':27,54 'echo':9,35 'gettext':11,37 'gnulinux':24,51 'gnulinux-advanc':23,50 'grub':18,44 'id':21,28,33,48,55 'insert':29 'line':8 'menuentri':20,32,47 'need':2 'option':14,22,34,40,49 'os':17,43 'printf':12,38 'quot':19,45 'submenu':10,36"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6603175"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702423448 {#4309
    date: 2023-12-13 00:24:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
48 DENIED moderate
App\Entity\EntryComment {#4311
  +user: App\Entity\User {#4042 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4252
      +user: App\Entity\User {#4042 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4238
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4202
          +user: App\Entity\User {#4042 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4179
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4053
              +user: App\Entity\User {#4042 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: null
              +root: null
              +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 4
              +score: 0
              +lastActive: DateTime @1704181804 {#4059
                date: 2024-01-02 08:50:04.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@RossoErcole@kbin.social"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4058 …}
              +nested: Doctrine\ORM\PersistentCollection {#4057 …}
              +votes: Doctrine\ORM\PersistentCollection {#4048 …}
              +reports: Doctrine\ORM\PersistentCollection {#4051 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
              -id: 217517
              -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.ml/comment/6573558"
              +editedAt: null
              +createdAt: DateTimeImmutable @1702328947 {#4064
                date: 2023-12-11 22:09:07.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4053}
            +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 1
            +score: 0
            +lastActive: DateTime @1702330379 {#4176
              date: 2023-12-11 22:32:59.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
              "@bizdelnick@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4180 …}
            +nested: Doctrine\ORM\PersistentCollection {#4182 …}
            +votes: Doctrine\ORM\PersistentCollection {#4184 …}
            +reports: Doctrine\ORM\PersistentCollection {#4186 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
            -id: 217528
            -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
            +editedAt: DateTimeImmutable @1703899748 {#4177
              date: 2023-12-30 02:29:08.0 +01:00
            }
            +createdAt: DateTimeImmutable @1702330379 {#4178
              date: 2023-12-11 22:32:59.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: """
            These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
            \n
            To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1702339358 {#4203
            date: 2023-12-12 01:02:38.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4199 …}
          +nested: Doctrine\ORM\PersistentCollection {#4195 …}
          +votes: Doctrine\ORM\PersistentCollection {#4193 …}
          +reports: Doctrine\ORM\PersistentCollection {#4208 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
          -id: 217596
          -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/6578274"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702339358 {#4206
            date: 2023-12-12 01:02:38.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1702346321 {#4236
          date: 2023-12-12 02:58:41.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4239 …}
        +nested: Doctrine\ORM\PersistentCollection {#4241 …}
        +votes: Doctrine\ORM\PersistentCollection {#4243 …}
        +reports: Doctrine\ORM\PersistentCollection {#4245 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
        -id: 217662
        -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702346321 {#4237
          date: 2023-12-12 02:58:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "See if this entry generated by another script in this directory."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702373981 {#4257
        date: 2023-12-12 10:39:41.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4260 …}
      +nested: Doctrine\ORM\PersistentCollection {#4264 …}
      +votes: Doctrine\ORM\PersistentCollection {#4266 …}
      +reports: Doctrine\ORM\PersistentCollection {#4267 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
      -id: 217876
      -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6586899"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702373981 {#4254
        date: 2023-12-12 10:39:41.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
       There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
      \n
      Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
      \n
      I'm not sure what to do with it
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702395468 {#4283
      date: 2023-12-12 16:37:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4278 …}
    +nested: Doctrine\ORM\PersistentCollection {#4276 …}
    +votes: Doctrine\ORM\PersistentCollection {#4274 …}
    +reports: Doctrine\ORM\PersistentCollection {#4290 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
    -id: 218457
    -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
    +editedAt: DateTimeImmutable @1704035622 {#4286
      date: 2023-12-31 16:13:42.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702395468 {#4288
      date: 2023-12-12 16:37:48.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    You need to add class to this line:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
    </span>\n
    ```\n
    \n
    Insert `${CLASS}` before `$menuentry_id_option`:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' ${CLASS} $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702423448 {#4306
    date: 2023-12-13 00:24:08.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4303 …}
  +nested: Doctrine\ORM\PersistentCollection {#4300 …}
  +votes: Doctrine\ORM\PersistentCollection {#4298 …}
  +reports: Doctrine\ORM\PersistentCollection {#4312 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4314 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4316 …}
  -id: 219643
  -bodyTs: "'add':4 'advanc':13,25,39,52 'boot':26,53 'class':5,30,46 'devic':27,54 'echo':9,35 'gettext':11,37 'gnulinux':24,51 'gnulinux-advanc':23,50 'grub':18,44 'id':21,28,33,48,55 'insert':29 'line':8 'menuentri':20,32,47 'need':2 'option':14,22,34,40,49 'os':17,43 'printf':12,38 'quot':19,45 'submenu':10,36"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6603175"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702423448 {#4309
    date: 2023-12-13 00:24:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
49 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
50 DENIED moderate
App\Entity\EntryComment {#4325
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4311
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4280
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4252
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4238
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4202
            +user: App\Entity\User {#4042 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4179
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: App\Entity\EntryComment {#4053
                +user: App\Entity\User {#4042 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#266}
                +image: null
                +parent: null
                +root: null
                +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 4
                +score: 0
                +lastActive: DateTime @1704181804 {#4059
                  date: 2024-01-02 08:50:04.0 +01:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@RossoErcole@kbin.social"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4058 …}
                +nested: Doctrine\ORM\PersistentCollection {#4057 …}
                +votes: Doctrine\ORM\PersistentCollection {#4048 …}
                +reports: Doctrine\ORM\PersistentCollection {#4051 …}
                +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
                +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
                -id: 217517
                -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.ml/comment/6573558"
                +editedAt: null
                +createdAt: DateTimeImmutable @1702328947 {#4064
                  date: 2023-12-11 22:09:07.0 +01:00
                }
              }
              +root: App\Entity\EntryComment {#4053}
              +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
              +lang: "en"
              +isAdult: false
              +favouriteCount: 1
              +score: 0
              +lastActive: DateTime @1702330379 {#4176
                date: 2023-12-11 22:32:59.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@RossoErcole@kbin.social"
                "@bizdelnick@lemmy.ml"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4180 …}
              +nested: Doctrine\ORM\PersistentCollection {#4182 …}
              +votes: Doctrine\ORM\PersistentCollection {#4184 …}
              +reports: Doctrine\ORM\PersistentCollection {#4186 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
              -id: 217528
              -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
              +editedAt: DateTimeImmutable @1703899748 {#4177
                date: 2023-12-30 02:29:08.0 +01:00
              }
              +createdAt: DateTimeImmutable @1702330379 {#4178
                date: 2023-12-11 22:32:59.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4053}
            +body: """
              These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
              \n
              To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1702339358 {#4203
              date: 2023-12-12 01:02:38.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
              "@bizdelnick@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4199 …}
            +nested: Doctrine\ORM\PersistentCollection {#4195 …}
            +votes: Doctrine\ORM\PersistentCollection {#4193 …}
            +reports: Doctrine\ORM\PersistentCollection {#4208 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
            -id: 217596
            -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/6578274"
            +editedAt: null
            +createdAt: DateTimeImmutable @1702339358 {#4206
              date: 2023-12-12 01:02:38.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1702346321 {#4236
            date: 2023-12-12 02:58:41.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4239 …}
          +nested: Doctrine\ORM\PersistentCollection {#4241 …}
          +votes: Doctrine\ORM\PersistentCollection {#4243 …}
          +reports: Doctrine\ORM\PersistentCollection {#4245 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
          -id: 217662
          -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702346321 {#4237
            date: 2023-12-12 02:58:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "See if this entry generated by another script in this directory."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1702373981 {#4257
          date: 2023-12-12 10:39:41.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4260 …}
        +nested: Doctrine\ORM\PersistentCollection {#4264 …}
        +votes: Doctrine\ORM\PersistentCollection {#4266 …}
        +reports: Doctrine\ORM\PersistentCollection {#4267 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
        -id: 217876
        -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6586899"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702373981 {#4254
          date: 2023-12-12 10:39:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: """
        there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
         There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
        \n
        Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
        \n
        I'm not sure what to do with it
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702395468 {#4283
        date: 2023-12-12 16:37:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4278 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4274 …}
      +reports: Doctrine\ORM\PersistentCollection {#4290 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
      -id: 218457
      -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
      +editedAt: DateTimeImmutable @1704035622 {#4286
        date: 2023-12-31 16:13:42.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702395468 {#4288
        date: 2023-12-12 16:37:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      You need to add class to this line:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```\n
      \n
      Insert `${CLASS}` before `$menuentry_id_option`:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' ${CLASS} $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702423448 {#4306
      date: 2023-12-13 00:24:08.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4303 …}
    +nested: Doctrine\ORM\PersistentCollection {#4300 …}
    +votes: Doctrine\ORM\PersistentCollection {#4298 …}
    +reports: Doctrine\ORM\PersistentCollection {#4312 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4314 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4316 …}
    -id: 219643
    -bodyTs: "'add':4 'advanc':13,25,39,52 'boot':26,53 'class':5,30,46 'devic':27,54 'echo':9,35 'gettext':11,37 'gnulinux':24,51 'gnulinux-advanc':23,50 'grub':18,44 'id':21,28,33,48,55 'insert':29 'line':8 'menuentri':20,32,47 'need':2 'option':14,22,34,40,49 'os':17,43 'printf':12,38 'quot':19,45 'submenu':10,36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6603175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702423448 {#4309
      date: 2023-12-13 00:24:08.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    What generates is this, so I think it's from the linux proxy 35:\n
    \n
    ```\n
    ### BEGIN /etc/grub.d/35_linux_proxy ###\n
    submenu "Advanced Options"{\n
    menuentry "Ubuntu, with Linux 5.15.0-91-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-91-generic-advanced-9e121508-86c8-407a-803d-9521d13f0be9' {\n
    \t\trecordfail\n
    \tsavedefault\n
    \t\tload_video\n
    \t\tgfxmode $linux_gfx_mode\n
    \t\tinsmod gzio\n
    \t\tif [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi\n
    \t\tinsmod part_gpt\n
    \t\tinsmod ext2\n
    \t\tsearch --no-floppy --fs-uuid --set=root 9e121508-86c8-407a-803d-9521d13f0be9\n
    \t\techo\t'Loading Linux 5.15.0-91-generic ...'\n
    \t\tlinux\t/boot/vmlinuz-5.15.0-91-generic root=UUID=9e121508-86c8-407a-803d-9521d13f0be9 ro  \n
    \t\techo\t'Loading initial ramdisk ...'\n
    \t\tinitrd\t/boot/initrd.img-5.15.0-91-generic\n
    }\n
    \n
    ...more entries here\n
    \n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702427530 {#4328
    date: 2023-12-13 01:32:10.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4323 …}
  +nested: Doctrine\ORM\PersistentCollection {#4321 …}
  +votes: Doctrine\ORM\PersistentCollection {#4319 …}
  +reports: Doctrine\ORM\PersistentCollection {#4335 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4337 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4339 …}
  -id: 219790
  -bodyTs: "'-86':87,104 '-91':25,42,97 '/boot/initrd.img-5.15.0-91-generic':116 '/boot/vmlinuz-5.15.0-91-generic':100 '/etc/grub.d/35_linux_proxy':16 '35':14 '407a':48,90,107 '5.15.0':24,41,96 '803d':49,91,108 '86c8':47 '9521d13f0be9':50,92,109 '9e121508':46,86,103 'advanc':18,45 'begin':15 'c8':89,106 'c8-407a-803d-9521d13f0be9':88,105 'class':27,29,33,35 'echo':93,111 'entri':118 'ext2':76 'fi':71 'floppi':80 'fs':82 'fs-uuid':81 'generat':2 'generic':26,44,98 'generic-advanced-9e121508-86c8-407a-803d-9521d13f0be9':43 'gfx':57 'gfxmode':55 'gnu':31,34 'gnu-linux':30 'gnulinux':40 'gpt':74 'grub':63 'gzio':60 'id':38 'initi':113 'initrd':115 'insmod':59,67,69,72,75 'linux':12,23,32,56,95,99 'load':53,94,112 'lzopio':70 'menuentri':20,37 'mode':58 'no-floppi':78 'option':19,39 'os':36 'part':73 'platform':64 'proxi':13 'ramdisk':114 'recordfail':51 'ro':110 'root':85,101 'savedefault':52 'search':77 'set':84 'submenu':17 'think':7 'ubuntu':21,28 'uuid':83,102 'video':54 'x':62 'xxen':65 'xzio':68"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4094409"
  +editedAt: DateTimeImmutable @1704182051 {#4331
    date: 2024-01-02 08:54:11.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702427530 {#4333
    date: 2023-12-13 01:32:10.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
51 DENIED edit
App\Entity\EntryComment {#4325
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4311
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4280
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4252
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4238
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4202
            +user: App\Entity\User {#4042 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4179
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: App\Entity\EntryComment {#4053
                +user: App\Entity\User {#4042 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#266}
                +image: null
                +parent: null
                +root: null
                +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 4
                +score: 0
                +lastActive: DateTime @1704181804 {#4059
                  date: 2024-01-02 08:50:04.0 +01:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@RossoErcole@kbin.social"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4058 …}
                +nested: Doctrine\ORM\PersistentCollection {#4057 …}
                +votes: Doctrine\ORM\PersistentCollection {#4048 …}
                +reports: Doctrine\ORM\PersistentCollection {#4051 …}
                +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
                +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
                -id: 217517
                -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.ml/comment/6573558"
                +editedAt: null
                +createdAt: DateTimeImmutable @1702328947 {#4064
                  date: 2023-12-11 22:09:07.0 +01:00
                }
              }
              +root: App\Entity\EntryComment {#4053}
              +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
              +lang: "en"
              +isAdult: false
              +favouriteCount: 1
              +score: 0
              +lastActive: DateTime @1702330379 {#4176
                date: 2023-12-11 22:32:59.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@RossoErcole@kbin.social"
                "@bizdelnick@lemmy.ml"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4180 …}
              +nested: Doctrine\ORM\PersistentCollection {#4182 …}
              +votes: Doctrine\ORM\PersistentCollection {#4184 …}
              +reports: Doctrine\ORM\PersistentCollection {#4186 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
              -id: 217528
              -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
              +editedAt: DateTimeImmutable @1703899748 {#4177
                date: 2023-12-30 02:29:08.0 +01:00
              }
              +createdAt: DateTimeImmutable @1702330379 {#4178
                date: 2023-12-11 22:32:59.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4053}
            +body: """
              These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
              \n
              To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1702339358 {#4203
              date: 2023-12-12 01:02:38.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
              "@bizdelnick@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4199 …}
            +nested: Doctrine\ORM\PersistentCollection {#4195 …}
            +votes: Doctrine\ORM\PersistentCollection {#4193 …}
            +reports: Doctrine\ORM\PersistentCollection {#4208 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
            -id: 217596
            -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/6578274"
            +editedAt: null
            +createdAt: DateTimeImmutable @1702339358 {#4206
              date: 2023-12-12 01:02:38.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1702346321 {#4236
            date: 2023-12-12 02:58:41.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4239 …}
          +nested: Doctrine\ORM\PersistentCollection {#4241 …}
          +votes: Doctrine\ORM\PersistentCollection {#4243 …}
          +reports: Doctrine\ORM\PersistentCollection {#4245 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
          -id: 217662
          -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702346321 {#4237
            date: 2023-12-12 02:58:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "See if this entry generated by another script in this directory."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1702373981 {#4257
          date: 2023-12-12 10:39:41.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4260 …}
        +nested: Doctrine\ORM\PersistentCollection {#4264 …}
        +votes: Doctrine\ORM\PersistentCollection {#4266 …}
        +reports: Doctrine\ORM\PersistentCollection {#4267 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
        -id: 217876
        -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6586899"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702373981 {#4254
          date: 2023-12-12 10:39:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: """
        there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
         There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
        \n
        Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
        \n
        I'm not sure what to do with it
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702395468 {#4283
        date: 2023-12-12 16:37:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4278 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4274 …}
      +reports: Doctrine\ORM\PersistentCollection {#4290 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
      -id: 218457
      -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
      +editedAt: DateTimeImmutable @1704035622 {#4286
        date: 2023-12-31 16:13:42.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702395468 {#4288
        date: 2023-12-12 16:37:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      You need to add class to this line:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```\n
      \n
      Insert `${CLASS}` before `$menuentry_id_option`:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' ${CLASS} $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702423448 {#4306
      date: 2023-12-13 00:24:08.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4303 …}
    +nested: Doctrine\ORM\PersistentCollection {#4300 …}
    +votes: Doctrine\ORM\PersistentCollection {#4298 …}
    +reports: Doctrine\ORM\PersistentCollection {#4312 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4314 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4316 …}
    -id: 219643
    -bodyTs: "'add':4 'advanc':13,25,39,52 'boot':26,53 'class':5,30,46 'devic':27,54 'echo':9,35 'gettext':11,37 'gnulinux':24,51 'gnulinux-advanc':23,50 'grub':18,44 'id':21,28,33,48,55 'insert':29 'line':8 'menuentri':20,32,47 'need':2 'option':14,22,34,40,49 'os':17,43 'printf':12,38 'quot':19,45 'submenu':10,36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6603175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702423448 {#4309
      date: 2023-12-13 00:24:08.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    What generates is this, so I think it's from the linux proxy 35:\n
    \n
    ```\n
    ### BEGIN /etc/grub.d/35_linux_proxy ###\n
    submenu "Advanced Options"{\n
    menuentry "Ubuntu, with Linux 5.15.0-91-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-91-generic-advanced-9e121508-86c8-407a-803d-9521d13f0be9' {\n
    \t\trecordfail\n
    \tsavedefault\n
    \t\tload_video\n
    \t\tgfxmode $linux_gfx_mode\n
    \t\tinsmod gzio\n
    \t\tif [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi\n
    \t\tinsmod part_gpt\n
    \t\tinsmod ext2\n
    \t\tsearch --no-floppy --fs-uuid --set=root 9e121508-86c8-407a-803d-9521d13f0be9\n
    \t\techo\t'Loading Linux 5.15.0-91-generic ...'\n
    \t\tlinux\t/boot/vmlinuz-5.15.0-91-generic root=UUID=9e121508-86c8-407a-803d-9521d13f0be9 ro  \n
    \t\techo\t'Loading initial ramdisk ...'\n
    \t\tinitrd\t/boot/initrd.img-5.15.0-91-generic\n
    }\n
    \n
    ...more entries here\n
    \n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702427530 {#4328
    date: 2023-12-13 01:32:10.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4323 …}
  +nested: Doctrine\ORM\PersistentCollection {#4321 …}
  +votes: Doctrine\ORM\PersistentCollection {#4319 …}
  +reports: Doctrine\ORM\PersistentCollection {#4335 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4337 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4339 …}
  -id: 219790
  -bodyTs: "'-86':87,104 '-91':25,42,97 '/boot/initrd.img-5.15.0-91-generic':116 '/boot/vmlinuz-5.15.0-91-generic':100 '/etc/grub.d/35_linux_proxy':16 '35':14 '407a':48,90,107 '5.15.0':24,41,96 '803d':49,91,108 '86c8':47 '9521d13f0be9':50,92,109 '9e121508':46,86,103 'advanc':18,45 'begin':15 'c8':89,106 'c8-407a-803d-9521d13f0be9':88,105 'class':27,29,33,35 'echo':93,111 'entri':118 'ext2':76 'fi':71 'floppi':80 'fs':82 'fs-uuid':81 'generat':2 'generic':26,44,98 'generic-advanced-9e121508-86c8-407a-803d-9521d13f0be9':43 'gfx':57 'gfxmode':55 'gnu':31,34 'gnu-linux':30 'gnulinux':40 'gpt':74 'grub':63 'gzio':60 'id':38 'initi':113 'initrd':115 'insmod':59,67,69,72,75 'linux':12,23,32,56,95,99 'load':53,94,112 'lzopio':70 'menuentri':20,37 'mode':58 'no-floppi':78 'option':19,39 'os':36 'part':73 'platform':64 'proxi':13 'ramdisk':114 'recordfail':51 'ro':110 'root':85,101 'savedefault':52 'search':77 'set':84 'submenu':17 'think':7 'ubuntu':21,28 'uuid':83,102 'video':54 'x':62 'xxen':65 'xzio':68"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4094409"
  +editedAt: DateTimeImmutable @1704182051 {#4331
    date: 2024-01-02 08:54:11.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702427530 {#4333
    date: 2023-12-13 01:32:10.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
52 DENIED moderate
App\Entity\EntryComment {#4325
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4311
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4280
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4252
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4238
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4202
            +user: App\Entity\User {#4042 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4179
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: App\Entity\EntryComment {#4053
                +user: App\Entity\User {#4042 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#266}
                +image: null
                +parent: null
                +root: null
                +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 4
                +score: 0
                +lastActive: DateTime @1704181804 {#4059
                  date: 2024-01-02 08:50:04.0 +01:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@RossoErcole@kbin.social"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4058 …}
                +nested: Doctrine\ORM\PersistentCollection {#4057 …}
                +votes: Doctrine\ORM\PersistentCollection {#4048 …}
                +reports: Doctrine\ORM\PersistentCollection {#4051 …}
                +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
                +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
                -id: 217517
                -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.ml/comment/6573558"
                +editedAt: null
                +createdAt: DateTimeImmutable @1702328947 {#4064
                  date: 2023-12-11 22:09:07.0 +01:00
                }
              }
              +root: App\Entity\EntryComment {#4053}
              +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
              +lang: "en"
              +isAdult: false
              +favouriteCount: 1
              +score: 0
              +lastActive: DateTime @1702330379 {#4176
                date: 2023-12-11 22:32:59.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@RossoErcole@kbin.social"
                "@bizdelnick@lemmy.ml"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4180 …}
              +nested: Doctrine\ORM\PersistentCollection {#4182 …}
              +votes: Doctrine\ORM\PersistentCollection {#4184 …}
              +reports: Doctrine\ORM\PersistentCollection {#4186 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
              -id: 217528
              -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
              +editedAt: DateTimeImmutable @1703899748 {#4177
                date: 2023-12-30 02:29:08.0 +01:00
              }
              +createdAt: DateTimeImmutable @1702330379 {#4178
                date: 2023-12-11 22:32:59.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4053}
            +body: """
              These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
              \n
              To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1702339358 {#4203
              date: 2023-12-12 01:02:38.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
              "@bizdelnick@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4199 …}
            +nested: Doctrine\ORM\PersistentCollection {#4195 …}
            +votes: Doctrine\ORM\PersistentCollection {#4193 …}
            +reports: Doctrine\ORM\PersistentCollection {#4208 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
            -id: 217596
            -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/6578274"
            +editedAt: null
            +createdAt: DateTimeImmutable @1702339358 {#4206
              date: 2023-12-12 01:02:38.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1702346321 {#4236
            date: 2023-12-12 02:58:41.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4239 …}
          +nested: Doctrine\ORM\PersistentCollection {#4241 …}
          +votes: Doctrine\ORM\PersistentCollection {#4243 …}
          +reports: Doctrine\ORM\PersistentCollection {#4245 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
          -id: 217662
          -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702346321 {#4237
            date: 2023-12-12 02:58:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "See if this entry generated by another script in this directory."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1702373981 {#4257
          date: 2023-12-12 10:39:41.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4260 …}
        +nested: Doctrine\ORM\PersistentCollection {#4264 …}
        +votes: Doctrine\ORM\PersistentCollection {#4266 …}
        +reports: Doctrine\ORM\PersistentCollection {#4267 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
        -id: 217876
        -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6586899"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702373981 {#4254
          date: 2023-12-12 10:39:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: """
        there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
         There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
        \n
        Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
        \n
        I'm not sure what to do with it
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702395468 {#4283
        date: 2023-12-12 16:37:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4278 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4274 …}
      +reports: Doctrine\ORM\PersistentCollection {#4290 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
      -id: 218457
      -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
      +editedAt: DateTimeImmutable @1704035622 {#4286
        date: 2023-12-31 16:13:42.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702395468 {#4288
        date: 2023-12-12 16:37:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      You need to add class to this line:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```\n
      \n
      Insert `${CLASS}` before `$menuentry_id_option`:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' ${CLASS} $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702423448 {#4306
      date: 2023-12-13 00:24:08.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4303 …}
    +nested: Doctrine\ORM\PersistentCollection {#4300 …}
    +votes: Doctrine\ORM\PersistentCollection {#4298 …}
    +reports: Doctrine\ORM\PersistentCollection {#4312 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4314 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4316 …}
    -id: 219643
    -bodyTs: "'add':4 'advanc':13,25,39,52 'boot':26,53 'class':5,30,46 'devic':27,54 'echo':9,35 'gettext':11,37 'gnulinux':24,51 'gnulinux-advanc':23,50 'grub':18,44 'id':21,28,33,48,55 'insert':29 'line':8 'menuentri':20,32,47 'need':2 'option':14,22,34,40,49 'os':17,43 'printf':12,38 'quot':19,45 'submenu':10,36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6603175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702423448 {#4309
      date: 2023-12-13 00:24:08.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    What generates is this, so I think it's from the linux proxy 35:\n
    \n
    ```\n
    ### BEGIN /etc/grub.d/35_linux_proxy ###\n
    submenu "Advanced Options"{\n
    menuentry "Ubuntu, with Linux 5.15.0-91-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-91-generic-advanced-9e121508-86c8-407a-803d-9521d13f0be9' {\n
    \t\trecordfail\n
    \tsavedefault\n
    \t\tload_video\n
    \t\tgfxmode $linux_gfx_mode\n
    \t\tinsmod gzio\n
    \t\tif [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi\n
    \t\tinsmod part_gpt\n
    \t\tinsmod ext2\n
    \t\tsearch --no-floppy --fs-uuid --set=root 9e121508-86c8-407a-803d-9521d13f0be9\n
    \t\techo\t'Loading Linux 5.15.0-91-generic ...'\n
    \t\tlinux\t/boot/vmlinuz-5.15.0-91-generic root=UUID=9e121508-86c8-407a-803d-9521d13f0be9 ro  \n
    \t\techo\t'Loading initial ramdisk ...'\n
    \t\tinitrd\t/boot/initrd.img-5.15.0-91-generic\n
    }\n
    \n
    ...more entries here\n
    \n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702427530 {#4328
    date: 2023-12-13 01:32:10.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4323 …}
  +nested: Doctrine\ORM\PersistentCollection {#4321 …}
  +votes: Doctrine\ORM\PersistentCollection {#4319 …}
  +reports: Doctrine\ORM\PersistentCollection {#4335 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4337 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4339 …}
  -id: 219790
  -bodyTs: "'-86':87,104 '-91':25,42,97 '/boot/initrd.img-5.15.0-91-generic':116 '/boot/vmlinuz-5.15.0-91-generic':100 '/etc/grub.d/35_linux_proxy':16 '35':14 '407a':48,90,107 '5.15.0':24,41,96 '803d':49,91,108 '86c8':47 '9521d13f0be9':50,92,109 '9e121508':46,86,103 'advanc':18,45 'begin':15 'c8':89,106 'c8-407a-803d-9521d13f0be9':88,105 'class':27,29,33,35 'echo':93,111 'entri':118 'ext2':76 'fi':71 'floppi':80 'fs':82 'fs-uuid':81 'generat':2 'generic':26,44,98 'generic-advanced-9e121508-86c8-407a-803d-9521d13f0be9':43 'gfx':57 'gfxmode':55 'gnu':31,34 'gnu-linux':30 'gnulinux':40 'gpt':74 'grub':63 'gzio':60 'id':38 'initi':113 'initrd':115 'insmod':59,67,69,72,75 'linux':12,23,32,56,95,99 'load':53,94,112 'lzopio':70 'menuentri':20,37 'mode':58 'no-floppi':78 'option':19,39 'os':36 'part':73 'platform':64 'proxi':13 'ramdisk':114 'recordfail':51 'ro':110 'root':85,101 'savedefault':52 'search':77 'set':84 'submenu':17 'think':7 'ubuntu':21,28 'uuid':83,102 'video':54 'x':62 'xxen':65 'xzio':68"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4094409"
  +editedAt: DateTimeImmutable @1704182051 {#4331
    date: 2024-01-02 08:54:11.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702427530 {#4333
    date: 2023-12-13 01:32:10.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
53 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
54 DENIED moderate
App\Entity\EntryComment {#4344
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4311
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4280
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4252
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4238
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4202
            +user: App\Entity\User {#4042 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4179
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: App\Entity\EntryComment {#4053
                +user: App\Entity\User {#4042 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#266}
                +image: null
                +parent: null
                +root: null
                +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 4
                +score: 0
                +lastActive: DateTime @1704181804 {#4059
                  date: 2024-01-02 08:50:04.0 +01:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@RossoErcole@kbin.social"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4058 …}
                +nested: Doctrine\ORM\PersistentCollection {#4057 …}
                +votes: Doctrine\ORM\PersistentCollection {#4048 …}
                +reports: Doctrine\ORM\PersistentCollection {#4051 …}
                +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
                +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
                -id: 217517
                -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.ml/comment/6573558"
                +editedAt: null
                +createdAt: DateTimeImmutable @1702328947 {#4064
                  date: 2023-12-11 22:09:07.0 +01:00
                }
              }
              +root: App\Entity\EntryComment {#4053}
              +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
              +lang: "en"
              +isAdult: false
              +favouriteCount: 1
              +score: 0
              +lastActive: DateTime @1702330379 {#4176
                date: 2023-12-11 22:32:59.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@RossoErcole@kbin.social"
                "@bizdelnick@lemmy.ml"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4180 …}
              +nested: Doctrine\ORM\PersistentCollection {#4182 …}
              +votes: Doctrine\ORM\PersistentCollection {#4184 …}
              +reports: Doctrine\ORM\PersistentCollection {#4186 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
              -id: 217528
              -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
              +editedAt: DateTimeImmutable @1703899748 {#4177
                date: 2023-12-30 02:29:08.0 +01:00
              }
              +createdAt: DateTimeImmutable @1702330379 {#4178
                date: 2023-12-11 22:32:59.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4053}
            +body: """
              These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
              \n
              To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1702339358 {#4203
              date: 2023-12-12 01:02:38.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
              "@bizdelnick@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4199 …}
            +nested: Doctrine\ORM\PersistentCollection {#4195 …}
            +votes: Doctrine\ORM\PersistentCollection {#4193 …}
            +reports: Doctrine\ORM\PersistentCollection {#4208 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
            -id: 217596
            -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/6578274"
            +editedAt: null
            +createdAt: DateTimeImmutable @1702339358 {#4206
              date: 2023-12-12 01:02:38.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1702346321 {#4236
            date: 2023-12-12 02:58:41.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4239 …}
          +nested: Doctrine\ORM\PersistentCollection {#4241 …}
          +votes: Doctrine\ORM\PersistentCollection {#4243 …}
          +reports: Doctrine\ORM\PersistentCollection {#4245 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
          -id: 217662
          -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702346321 {#4237
            date: 2023-12-12 02:58:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "See if this entry generated by another script in this directory."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1702373981 {#4257
          date: 2023-12-12 10:39:41.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4260 …}
        +nested: Doctrine\ORM\PersistentCollection {#4264 …}
        +votes: Doctrine\ORM\PersistentCollection {#4266 …}
        +reports: Doctrine\ORM\PersistentCollection {#4267 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
        -id: 217876
        -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6586899"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702373981 {#4254
          date: 2023-12-12 10:39:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: """
        there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
         There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
        \n
        Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
        \n
        I'm not sure what to do with it
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702395468 {#4283
        date: 2023-12-12 16:37:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4278 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4274 …}
      +reports: Doctrine\ORM\PersistentCollection {#4290 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
      -id: 218457
      -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
      +editedAt: DateTimeImmutable @1704035622 {#4286
        date: 2023-12-31 16:13:42.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702395468 {#4288
        date: 2023-12-12 16:37:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      You need to add class to this line:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```\n
      \n
      Insert `${CLASS}` before `$menuentry_id_option`:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' ${CLASS} $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702423448 {#4306
      date: 2023-12-13 00:24:08.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4303 …}
    +nested: Doctrine\ORM\PersistentCollection {#4300 …}
    +votes: Doctrine\ORM\PersistentCollection {#4298 …}
    +reports: Doctrine\ORM\PersistentCollection {#4312 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4314 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4316 …}
    -id: 219643
    -bodyTs: "'add':4 'advanc':13,25,39,52 'boot':26,53 'class':5,30,46 'devic':27,54 'echo':9,35 'gettext':11,37 'gnulinux':24,51 'gnulinux-advanc':23,50 'grub':18,44 'id':21,28,33,48,55 'insert':29 'line':8 'menuentri':20,32,47 'need':2 'option':14,22,34,40,49 'os':17,43 'printf':12,38 'quot':19,45 'submenu':10,36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6603175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702423448 {#4309
      date: 2023-12-13 00:24:08.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    it's not working, also I don't know why when I went in that line I have a \ now, that wasn't there before apparently, before $menuentry:\n
    \n
    `echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id'  {"`\n
    \n
    (I've tried adding it also in front of ${CLASS}, leaving it only were it is, and removing it from both)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702427304 {#4341
    date: 2023-12-13 01:28:24.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4345 …}
  +nested: Doctrine\ORM\PersistentCollection {#4347 …}
  +votes: Doctrine\ORM\PersistentCollection {#4349 …}
  +reports: Doctrine\ORM\PersistentCollection {#4351 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4353 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4355 …}
  -id: 219785
  -bodyTs: "'ad':52 'advanc':33,45 'also':5,54 'appar':26 'boot':46 'class':58 'devic':47 'echo':29 'front':56 'gettext':31 'gnulinux':44 'gnulinux-advanc':43 'grub':38 'id':41,48 'know':9 'leav':59 'line':16 'menuentri':28,40 'option':34,42 'os':37 'printf':32 'quot':39 'remov':66 'submenu':30 'tri':51 've':50 'wasn':22 'went':13 'work':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4094362"
  +editedAt: DateTimeImmutable @1704182059 {#4342
    date: 2024-01-02 08:54:19.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702427304 {#4343
    date: 2023-12-13 01:28:24.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
55 DENIED edit
App\Entity\EntryComment {#4344
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4311
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4280
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4252
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4238
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4202
            +user: App\Entity\User {#4042 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4179
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: App\Entity\EntryComment {#4053
                +user: App\Entity\User {#4042 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#266}
                +image: null
                +parent: null
                +root: null
                +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 4
                +score: 0
                +lastActive: DateTime @1704181804 {#4059
                  date: 2024-01-02 08:50:04.0 +01:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@RossoErcole@kbin.social"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4058 …}
                +nested: Doctrine\ORM\PersistentCollection {#4057 …}
                +votes: Doctrine\ORM\PersistentCollection {#4048 …}
                +reports: Doctrine\ORM\PersistentCollection {#4051 …}
                +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
                +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
                -id: 217517
                -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.ml/comment/6573558"
                +editedAt: null
                +createdAt: DateTimeImmutable @1702328947 {#4064
                  date: 2023-12-11 22:09:07.0 +01:00
                }
              }
              +root: App\Entity\EntryComment {#4053}
              +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
              +lang: "en"
              +isAdult: false
              +favouriteCount: 1
              +score: 0
              +lastActive: DateTime @1702330379 {#4176
                date: 2023-12-11 22:32:59.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@RossoErcole@kbin.social"
                "@bizdelnick@lemmy.ml"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4180 …}
              +nested: Doctrine\ORM\PersistentCollection {#4182 …}
              +votes: Doctrine\ORM\PersistentCollection {#4184 …}
              +reports: Doctrine\ORM\PersistentCollection {#4186 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
              -id: 217528
              -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
              +editedAt: DateTimeImmutable @1703899748 {#4177
                date: 2023-12-30 02:29:08.0 +01:00
              }
              +createdAt: DateTimeImmutable @1702330379 {#4178
                date: 2023-12-11 22:32:59.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4053}
            +body: """
              These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
              \n
              To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1702339358 {#4203
              date: 2023-12-12 01:02:38.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
              "@bizdelnick@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4199 …}
            +nested: Doctrine\ORM\PersistentCollection {#4195 …}
            +votes: Doctrine\ORM\PersistentCollection {#4193 …}
            +reports: Doctrine\ORM\PersistentCollection {#4208 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
            -id: 217596
            -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/6578274"
            +editedAt: null
            +createdAt: DateTimeImmutable @1702339358 {#4206
              date: 2023-12-12 01:02:38.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1702346321 {#4236
            date: 2023-12-12 02:58:41.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4239 …}
          +nested: Doctrine\ORM\PersistentCollection {#4241 …}
          +votes: Doctrine\ORM\PersistentCollection {#4243 …}
          +reports: Doctrine\ORM\PersistentCollection {#4245 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
          -id: 217662
          -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702346321 {#4237
            date: 2023-12-12 02:58:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "See if this entry generated by another script in this directory."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1702373981 {#4257
          date: 2023-12-12 10:39:41.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4260 …}
        +nested: Doctrine\ORM\PersistentCollection {#4264 …}
        +votes: Doctrine\ORM\PersistentCollection {#4266 …}
        +reports: Doctrine\ORM\PersistentCollection {#4267 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
        -id: 217876
        -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6586899"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702373981 {#4254
          date: 2023-12-12 10:39:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: """
        there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
         There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
        \n
        Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
        \n
        I'm not sure what to do with it
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702395468 {#4283
        date: 2023-12-12 16:37:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4278 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4274 …}
      +reports: Doctrine\ORM\PersistentCollection {#4290 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
      -id: 218457
      -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
      +editedAt: DateTimeImmutable @1704035622 {#4286
        date: 2023-12-31 16:13:42.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702395468 {#4288
        date: 2023-12-12 16:37:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      You need to add class to this line:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```\n
      \n
      Insert `${CLASS}` before `$menuentry_id_option`:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' ${CLASS} $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702423448 {#4306
      date: 2023-12-13 00:24:08.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4303 …}
    +nested: Doctrine\ORM\PersistentCollection {#4300 …}
    +votes: Doctrine\ORM\PersistentCollection {#4298 …}
    +reports: Doctrine\ORM\PersistentCollection {#4312 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4314 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4316 …}
    -id: 219643
    -bodyTs: "'add':4 'advanc':13,25,39,52 'boot':26,53 'class':5,30,46 'devic':27,54 'echo':9,35 'gettext':11,37 'gnulinux':24,51 'gnulinux-advanc':23,50 'grub':18,44 'id':21,28,33,48,55 'insert':29 'line':8 'menuentri':20,32,47 'need':2 'option':14,22,34,40,49 'os':17,43 'printf':12,38 'quot':19,45 'submenu':10,36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6603175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702423448 {#4309
      date: 2023-12-13 00:24:08.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    it's not working, also I don't know why when I went in that line I have a \ now, that wasn't there before apparently, before $menuentry:\n
    \n
    `echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id'  {"`\n
    \n
    (I've tried adding it also in front of ${CLASS}, leaving it only were it is, and removing it from both)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702427304 {#4341
    date: 2023-12-13 01:28:24.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4345 …}
  +nested: Doctrine\ORM\PersistentCollection {#4347 …}
  +votes: Doctrine\ORM\PersistentCollection {#4349 …}
  +reports: Doctrine\ORM\PersistentCollection {#4351 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4353 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4355 …}
  -id: 219785
  -bodyTs: "'ad':52 'advanc':33,45 'also':5,54 'appar':26 'boot':46 'class':58 'devic':47 'echo':29 'front':56 'gettext':31 'gnulinux':44 'gnulinux-advanc':43 'grub':38 'id':41,48 'know':9 'leav':59 'line':16 'menuentri':28,40 'option':34,42 'os':37 'printf':32 'quot':39 'remov':66 'submenu':30 'tri':51 've':50 'wasn':22 'went':13 'work':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4094362"
  +editedAt: DateTimeImmutable @1704182059 {#4342
    date: 2024-01-02 08:54:19.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702427304 {#4343
    date: 2023-12-13 01:28:24.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
56 DENIED moderate
App\Entity\EntryComment {#4344
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-automatically-assign-classes-in-GRUB"
    +title: "How to automatically assign classes in GRUB?"
    +url: null
    +body: """
      Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).\n
      \n
      How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?\n
      \n
      I'm on linux mint, 21.2 Cinnamon.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 13
    +favouriteCount: 13
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702427530 {#2410
      date: 2023-12-13 01:32:10.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21723
    -titleTs: "'assign':4 'automat':3 'class':5 'grub':7"
    -bodyTs: "'21.2':92 'automat':74 'cfg':81 'cinnamon':93 'class':42,63 'costum':24 'determin':60 'efi':49 'entri':45,54,66 'everytim':82 'expert':7 'generat':48,75 'get':34,39 'grub':29 'grub.cfg':38 'hi':1 'icon':57 'instal':18 'instead':76 'kernel':33,84 'latest':16 'leav':52 'linux':17,90 'look':26 'm':3,88 'make':70 'mess':13 'mint':91 'modif':79 'month':22 'regener':40 'submenu':51 'two':44 'updat':35,86 'user':8 've':11 'whenev':31"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702384066
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574"
    +editedAt: DateTimeImmutable @1703884904 {#1850
      date: 2023-12-29 22:21:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702322566 {#2420
      date: 2023-12-11 20:22:46.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4311
    +user: App\Entity\User {#4042 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4280
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4252
        +user: App\Entity\User {#4042 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4238
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4202
            +user: App\Entity\User {#4042 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: App\Entity\EntryComment {#4179
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#266}
              +image: null
              +parent: App\Entity\EntryComment {#4053
                +user: App\Entity\User {#4042 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#266}
                +image: null
                +parent: null
                +root: null
                +body: "Scripts that generate `grub.cfg` are located in `/etc/grub.d/`. You can edit them to specify classes. In my system (Debian) entries you ask about are added in `/etc/grub.d/10_linux` and `/etc/grub.d/30_uefi-firmware`."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 4
                +score: 0
                +lastActive: DateTime @1704181804 {#4059
                  date: 2024-01-02 08:50:04.0 +01:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@RossoErcole@kbin.social"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4058 …}
                +nested: Doctrine\ORM\PersistentCollection {#4057 …}
                +votes: Doctrine\ORM\PersistentCollection {#4048 …}
                +reports: Doctrine\ORM\PersistentCollection {#4051 …}
                +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
                +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
                -id: 217517
                -bodyTs: "'/etc/grub.d':8 '/etc/grub.d/10_linux':27 '/etc/grub.d/30_uefi-firmware':29 'ad':25 'ask':22 'class':15 'debian':19 'edit':11 'entri':20 'generat':3 'grub.cfg':4 'locat':6 'script':1 'specifi':14 'system':18"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.ml/comment/6573558"
                +editedAt: null
                +createdAt: DateTimeImmutable @1702328947 {#4064
                  date: 2023-12-11 22:09:07.0 +01:00
                }
              }
              +root: App\Entity\EntryComment {#4053}
              +body: "should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?"
              +lang: "en"
              +isAdult: false
              +favouriteCount: 1
              +score: 0
              +lastActive: DateTime @1702330379 {#4176
                date: 2023-12-11 22:32:59.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@RossoErcole@kbin.social"
                "@bizdelnick@lemmy.ml"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4180 …}
              +nested: Doctrine\ORM\PersistentCollection {#4182 …}
              +votes: Doctrine\ORM\PersistentCollection {#4184 …}
              +reports: Doctrine\ORM\PersistentCollection {#4186 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
              -id: 217528
              -bodyTs: "'add':4 'chang':27 'class':6 'even':21 'file':10,20 'paramet':7 'suppos':15 'updat':23 'usual':14 'work':31"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4072190"
              +editedAt: DateTimeImmutable @1703899748 {#4177
                date: 2023-12-30 02:29:08.0 +01:00
              }
              +createdAt: DateTimeImmutable @1702330379 {#4178
                date: 2023-12-11 22:32:59.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4053}
            +body: """
              These files are not changed on updates. `grub.cfg` will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new `grub.cfg`.\n
              \n
              To test that everything works as expected, backup your current `grub.cfg` and run `sudo update-grub`.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1702339358 {#4203
              date: 2023-12-12 01:02:38.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@RossoErcole@kbin.social"
              "@bizdelnick@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4199 …}
            +nested: Doctrine\ORM\PersistentCollection {#4195 …}
            +votes: Doctrine\ORM\PersistentCollection {#4193 …}
            +reports: Doctrine\ORM\PersistentCollection {#4208 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
            -id: 217596
            -bodyTs: "'add':25 'appear':31 'backup':42 'chang':5,11 'class':26 'contain':15 'current':44 'everyth':38 'expect':41 'file':2 'grub':51 'grub.cfg':8,34,45 'new':33 'run':47 'script':18 'sudo':48 'test':36 'updat':7,50 'update-grub':49 'work':39 'write':19"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/6578274"
            +editedAt: null
            +createdAt: DateTimeImmutable @1702339358 {#4206
              date: 2023-12-12 01:02:38.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4053}
          +body: "I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1702346321 {#4236
            date: 2023-12-12 02:58:41.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@RossoErcole@kbin.social"
            "@bizdelnick@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4239 …}
          +nested: Doctrine\ORM\PersistentCollection {#4241 …}
          +votes: Doctrine\ORM\PersistentCollection {#4243 …}
          +reports: Doctrine\ORM\PersistentCollection {#4245 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
          -id: 217662
          -bodyTs: "'efi':17 'entri':13 'get':6 'know':21 'm':2 'manag':4 'one':18 'submenu':12 'work':9"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4076204"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702346321 {#4237
            date: 2023-12-12 02:58:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4053}
        +body: "See if this entry generated by another script in this directory."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1702373981 {#4257
          date: 2023-12-12 10:39:41.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@RossoErcole@kbin.social"
          "@bizdelnick@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4260 …}
        +nested: Doctrine\ORM\PersistentCollection {#4264 …}
        +votes: Doctrine\ORM\PersistentCollection {#4266 …}
        +reports: Doctrine\ORM\PersistentCollection {#4267 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4269 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4271 …}
        -id: 217876
        -bodyTs: "'anoth':7 'directori':11 'entri':4 'generat':5 'script':8 'see':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6586899"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702373981 {#4254
          date: 2023-12-12 10:39:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: """
        there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.  \n
         There is a folder called proxified scripts, and inside it there are two files: linux and os-prober\n
        \n
        Here is the text in the linux file: <https://textdoc.co/V3atnuEvcG4QlPUp>\n
        \n
        I'm not sure what to do with it
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702395468 {#4283
        date: 2023-12-12 16:37:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@RossoErcole@kbin.social"
        "@bizdelnick@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4278 …}
      +nested: Doctrine\ORM\PersistentCollection {#4276 …}
      +votes: Doctrine\ORM\PersistentCollection {#4274 …}
      +reports: Doctrine\ORM\PersistentCollection {#4290 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4292 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4294 …}
      -id: 218457
      -bodyTs: "'/v3atnuevcg4qlpup':46 '10':10 '2':3 '35':14 'call':21 'file':30,43 'folder':20 'insid':25 'linux':11,15,31,42 'm':48 'os':34 'os-prob':33 'prober':35 'proxi':12,16 'proxifi':22 'relat':7 'script':4,23 'seme':6 'sure':50 'text':39 'textdoc.co':45 'textdoc.co/v3atnuevcg4qlpup':44 'two':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4085382"
      +editedAt: DateTimeImmutable @1704035622 {#4286
        date: 2023-12-31 16:13:42.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702395468 {#4288
        date: 2023-12-12 16:37:48.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: """
      You need to add class to this line:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```\n
      \n
      Insert `${CLASS}` before `$menuentry_id_option`:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' ${CLASS} $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702423448 {#4306
      date: 2023-12-13 00:24:08.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@RossoErcole@kbin.social"
      "@bizdelnick@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4303 …}
    +nested: Doctrine\ORM\PersistentCollection {#4300 …}
    +votes: Doctrine\ORM\PersistentCollection {#4298 …}
    +reports: Doctrine\ORM\PersistentCollection {#4312 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4314 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4316 …}
    -id: 219643
    -bodyTs: "'add':4 'advanc':13,25,39,52 'boot':26,53 'class':5,30,46 'devic':27,54 'echo':9,35 'gettext':11,37 'gnulinux':24,51 'gnulinux-advanc':23,50 'grub':18,44 'id':21,28,33,48,55 'insert':29 'line':8 'menuentri':20,32,47 'need':2 'option':14,22,34,40,49 'os':17,43 'printf':12,38 'quot':19,45 'submenu':10,36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6603175"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702423448 {#4309
      date: 2023-12-13 00:24:08.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4053}
  +body: """
    it's not working, also I don't know why when I went in that line I have a \ now, that wasn't there before apparently, before $menuentry:\n
    \n
    `echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id'  {"`\n
    \n
    (I've tried adding it also in front of ${CLASS}, leaving it only were it is, and removing it from both)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702427304 {#4341
    date: 2023-12-13 01:28:24.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@RossoErcole@kbin.social"
    "@bizdelnick@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4345 …}
  +nested: Doctrine\ORM\PersistentCollection {#4347 …}
  +votes: Doctrine\ORM\PersistentCollection {#4349 …}
  +reports: Doctrine\ORM\PersistentCollection {#4351 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4353 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4355 …}
  -id: 219785
  -bodyTs: "'ad':52 'advanc':33,45 'also':5,54 'appar':26 'boot':46 'class':58 'devic':47 'echo':29 'front':56 'gettext':31 'gnulinux':44 'gnulinux-advanc':43 'grub':38 'id':41,48 'know':9 'leav':59 'line':16 'menuentri':28,40 'option':34,42 'os':37 'printf':32 'quot':39 'remov':66 'submenu':30 'tri':51 've':50 'wasn':22 'went':13 'work':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/696574/-/comment/4094362"
  +editedAt: DateTimeImmutable @1704182059 {#4342
    date: 2024-01-02 08:54:19.0 +01:00
  }
  +createdAt: DateTimeImmutable @1702427304 {#4343
    date: 2023-12-13 01:28:24.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
57 DENIED edit
App\Entity\Magazine {#266
  +icon: Proxies\__CG__\App\Entity\Image {#247 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#276
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#238 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
  +entries: Doctrine\ORM\PersistentCollection {#181 …}
  +posts: Doctrine\ORM\PersistentCollection {#139 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
  +bans: Doctrine\ORM\PersistentCollection {#118 …}
  +reports: Doctrine\ORM\PersistentCollection {#104 …}
  +badges: Doctrine\ORM\PersistentCollection {#82 …}
  +logs: Doctrine\ORM\PersistentCollection {#72 …}
  +awards: Doctrine\ORM\PersistentCollection {#61 …}
  +categories: Doctrine\ORM\PersistentCollection {#1820 …}
  -id: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#270
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#272
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details