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 …}
}
1.10 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 {#1978 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +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 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -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 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
  +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
  +title: "[Question] Some questions about BSPWM tiling manager"
  +url: null
  +body: """
    1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
    2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 3
  +favouriteCount: 27
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1708552354 {#2418
    date: 2024-02-21 22:52:34.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1688 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1965 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 25065
  -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
  -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1703691267
  +visibility: "visible             "
  +apId: "https://lemmy.ml/post/9777079"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703618267 {#1858
    date: 2023-12-26 20:17:47.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 {#1978 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +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 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -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 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
  +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
  +title: "[Question] Some questions about BSPWM tiling manager"
  +url: null
  +body: """
    1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
    2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 3
  +favouriteCount: 27
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1708552354 {#2418
    date: 2024-02-21 22:52:34.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1688 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1965 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 25065
  -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
  -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1703691267
  +visibility: "visible             "
  +apId: "https://lemmy.ml/post/9777079"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703618267 {#1858
    date: 2023-12-26 20:17:47.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 {#1978 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +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 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -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 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
  +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
  +title: "[Question] Some questions about BSPWM tiling manager"
  +url: null
  +body: """
    1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
    2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 3
  +favouriteCount: 27
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1708552354 {#2418
    date: 2024-02-21 22:52:34.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1688 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1965 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 25065
  -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
  -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1703691267
  +visibility: "visible             "
  +apId: "https://lemmy.ml/post/9777079"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703618267 {#1858
    date: 2023-12-26 20:17:47.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 {#4033
  +user: App\Entity\User {#3981 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +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 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -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 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
    +title: "[Question] Some questions about BSPWM tiling manager"
    +url: null
    +body: """
      1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
      2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 3
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1708552354 {#2418
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 25065
    -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
    -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1703691267
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9777079"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703618267 {#1858
      date: 2023-12-26 20:17:47.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    The behavior you are requesting of bspwm is counter-intuitive to this rule you specifically wrote. Nonetheless, if VS Code popup windows have a different instance name, you could have a script running in the background which checks instance name of any new window and execute the command `bspc desktop -f last` when a VS Code popup appears.  \n
    If the instance name is the same for VS Code main app and its popup windows, you may listen to the state of VS Code windows (using bspc subscribe; see the [manpage](https://man.archlinux.org/man/bspwm.1.en)) and execute the previous command on VS Code floating windows (because popups will be floating).  \n
    For example, apply this to all VS Code windows:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">while bspc subscribe -c 1 node_focus node_state > /dev/null; do\n
    </span><span style="color:#323232;">    bspc query -N -n "focused.floating" | while read -r wid; do\n
    </span><span style="color:#323232;">    bspc desktop -n $wid -f last\n
    </span><span style="color:#323232;">done\n
    </span>\n
    ```\n
    \n
    For your second question, if I understand correctly you’re trying to have a given workspace moving to your external monitor when available and returning to your primary monitor if no other monitor is connected. You can look at [the archwiki](https://wiki.archlinux.org/title/Bspwm#Note_for_multi-monitor_setups) to learn how to setup bspwm for multi monitors. Using the same if conditions as explained in this wiki you could also have for example a rule `bspc rule -a Code follow=on desktop=‘^4’` when only one monitor is connected, and `bspc rule -a Code follow=on desktop=‘^7’` when an external monitor is connected (and workspace 7 will be defined to be shown on your external monitor).
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1708552354 {#4042
    date: 2024-02-21 22:52:34.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@questionAsker@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4031 …}
  +nested: Doctrine\ORM\PersistentCollection {#4029 …}
  +votes: Doctrine\ORM\PersistentCollection {#4027 …}
  +reports: Doctrine\ORM\PersistentCollection {#4025 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3993 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3997 …}
  -id: 255604
  -bodyTs: "'/dev/null':128 '/man/bspwm.1.en))':94 '/title/bspwm#note_for_multi-monitor_setups)':190 '1':123 '4':225 '7':240,249 'also':212 'app':71 'appear':59 'appli':112 'archwiki':187 'avail':169 'background':37 'behavior':2 'bspc':50,87,120,130,140,218,233 'bspwm':7,196 'c':122 'check':39 'code':21,57,69,84,102,117,221,236 'command':49,99 'condit':204 'connect':181,231,246 'correct':154 'could':30,211 'counter':10 'counter-intuit':9 'defin':252 'desktop':51,141,224,239 'differ':26 'done':146 'exampl':111,215 'execut':47,96 'explain':206 'extern':166,243,258 'f':52,144 'float':103,109 'focus':125 'focused.floating':134 'follow':222,237 'given':161 'instanc':27,40,62 'intuit':11 'last':53,145 'learn':192 'listen':78 'look':184 'main':70 'man.archlinux.org':93 'man.archlinux.org/man/bspwm.1.en))':92 'manpag':91 'may':77 'monitor':167,175,179,199,229,244,259 'move':163 'multi':198 'n':132,133,142 'name':28,41,63 'new':44 'node':124,126 'nonetheless':18 'one':228 'popup':22,58,74,106 'previous':98 'primari':174 'queri':131 'question':150 'r':137 're':156 'read':136 'request':5 'return':171 'rule':14,217,219,234 'run':34 'script':33 'second':149 'see':89 'setup':195 'shown':255 'specif':16 'state':81,127 'subscrib':88,121 'tri':157 'understand':153 'use':86,200 'vs':20,56,68,83,101,116 'wid':138,143 'wiki':209 'wiki.archlinux.org':189 'wiki.archlinux.org/title/bspwm#note_for_multi-monitor_setups)':188 'window':23,45,75,85,104,118 'workspac':162,248 'wrote':17"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6899728"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703650809 {#3978
    date: 2023-12-27 05:20:09.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 {#4033
  +user: App\Entity\User {#3981 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +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 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -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 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
    +title: "[Question] Some questions about BSPWM tiling manager"
    +url: null
    +body: """
      1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
      2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 3
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1708552354 {#2418
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 25065
    -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
    -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1703691267
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9777079"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703618267 {#1858
      date: 2023-12-26 20:17:47.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    The behavior you are requesting of bspwm is counter-intuitive to this rule you specifically wrote. Nonetheless, if VS Code popup windows have a different instance name, you could have a script running in the background which checks instance name of any new window and execute the command `bspc desktop -f last` when a VS Code popup appears.  \n
    If the instance name is the same for VS Code main app and its popup windows, you may listen to the state of VS Code windows (using bspc subscribe; see the [manpage](https://man.archlinux.org/man/bspwm.1.en)) and execute the previous command on VS Code floating windows (because popups will be floating).  \n
    For example, apply this to all VS Code windows:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">while bspc subscribe -c 1 node_focus node_state > /dev/null; do\n
    </span><span style="color:#323232;">    bspc query -N -n "focused.floating" | while read -r wid; do\n
    </span><span style="color:#323232;">    bspc desktop -n $wid -f last\n
    </span><span style="color:#323232;">done\n
    </span>\n
    ```\n
    \n
    For your second question, if I understand correctly you’re trying to have a given workspace moving to your external monitor when available and returning to your primary monitor if no other monitor is connected. You can look at [the archwiki](https://wiki.archlinux.org/title/Bspwm#Note_for_multi-monitor_setups) to learn how to setup bspwm for multi monitors. Using the same if conditions as explained in this wiki you could also have for example a rule `bspc rule -a Code follow=on desktop=‘^4’` when only one monitor is connected, and `bspc rule -a Code follow=on desktop=‘^7’` when an external monitor is connected (and workspace 7 will be defined to be shown on your external monitor).
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1708552354 {#4042
    date: 2024-02-21 22:52:34.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@questionAsker@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4031 …}
  +nested: Doctrine\ORM\PersistentCollection {#4029 …}
  +votes: Doctrine\ORM\PersistentCollection {#4027 …}
  +reports: Doctrine\ORM\PersistentCollection {#4025 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3993 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3997 …}
  -id: 255604
  -bodyTs: "'/dev/null':128 '/man/bspwm.1.en))':94 '/title/bspwm#note_for_multi-monitor_setups)':190 '1':123 '4':225 '7':240,249 'also':212 'app':71 'appear':59 'appli':112 'archwiki':187 'avail':169 'background':37 'behavior':2 'bspc':50,87,120,130,140,218,233 'bspwm':7,196 'c':122 'check':39 'code':21,57,69,84,102,117,221,236 'command':49,99 'condit':204 'connect':181,231,246 'correct':154 'could':30,211 'counter':10 'counter-intuit':9 'defin':252 'desktop':51,141,224,239 'differ':26 'done':146 'exampl':111,215 'execut':47,96 'explain':206 'extern':166,243,258 'f':52,144 'float':103,109 'focus':125 'focused.floating':134 'follow':222,237 'given':161 'instanc':27,40,62 'intuit':11 'last':53,145 'learn':192 'listen':78 'look':184 'main':70 'man.archlinux.org':93 'man.archlinux.org/man/bspwm.1.en))':92 'manpag':91 'may':77 'monitor':167,175,179,199,229,244,259 'move':163 'multi':198 'n':132,133,142 'name':28,41,63 'new':44 'node':124,126 'nonetheless':18 'one':228 'popup':22,58,74,106 'previous':98 'primari':174 'queri':131 'question':150 'r':137 're':156 'read':136 'request':5 'return':171 'rule':14,217,219,234 'run':34 'script':33 'second':149 'see':89 'setup':195 'shown':255 'specif':16 'state':81,127 'subscrib':88,121 'tri':157 'understand':153 'use':86,200 'vs':20,56,68,83,101,116 'wid':138,143 'wiki':209 'wiki.archlinux.org':189 'wiki.archlinux.org/title/bspwm#note_for_multi-monitor_setups)':188 'window':23,45,75,85,104,118 'workspac':162,248 'wrote':17"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6899728"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703650809 {#3978
    date: 2023-12-27 05:20:09.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 {#4033
  +user: App\Entity\User {#3981 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +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 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -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 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
    +title: "[Question] Some questions about BSPWM tiling manager"
    +url: null
    +body: """
      1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
      2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 3
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1708552354 {#2418
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 25065
    -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
    -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1703691267
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9777079"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703618267 {#1858
      date: 2023-12-26 20:17:47.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    The behavior you are requesting of bspwm is counter-intuitive to this rule you specifically wrote. Nonetheless, if VS Code popup windows have a different instance name, you could have a script running in the background which checks instance name of any new window and execute the command `bspc desktop -f last` when a VS Code popup appears.  \n
    If the instance name is the same for VS Code main app and its popup windows, you may listen to the state of VS Code windows (using bspc subscribe; see the [manpage](https://man.archlinux.org/man/bspwm.1.en)) and execute the previous command on VS Code floating windows (because popups will be floating).  \n
    For example, apply this to all VS Code windows:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">while bspc subscribe -c 1 node_focus node_state > /dev/null; do\n
    </span><span style="color:#323232;">    bspc query -N -n "focused.floating" | while read -r wid; do\n
    </span><span style="color:#323232;">    bspc desktop -n $wid -f last\n
    </span><span style="color:#323232;">done\n
    </span>\n
    ```\n
    \n
    For your second question, if I understand correctly you’re trying to have a given workspace moving to your external monitor when available and returning to your primary monitor if no other monitor is connected. You can look at [the archwiki](https://wiki.archlinux.org/title/Bspwm#Note_for_multi-monitor_setups) to learn how to setup bspwm for multi monitors. Using the same if conditions as explained in this wiki you could also have for example a rule `bspc rule -a Code follow=on desktop=‘^4’` when only one monitor is connected, and `bspc rule -a Code follow=on desktop=‘^7’` when an external monitor is connected (and workspace 7 will be defined to be shown on your external monitor).
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1708552354 {#4042
    date: 2024-02-21 22:52:34.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@questionAsker@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4031 …}
  +nested: Doctrine\ORM\PersistentCollection {#4029 …}
  +votes: Doctrine\ORM\PersistentCollection {#4027 …}
  +reports: Doctrine\ORM\PersistentCollection {#4025 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3993 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3997 …}
  -id: 255604
  -bodyTs: "'/dev/null':128 '/man/bspwm.1.en))':94 '/title/bspwm#note_for_multi-monitor_setups)':190 '1':123 '4':225 '7':240,249 'also':212 'app':71 'appear':59 'appli':112 'archwiki':187 'avail':169 'background':37 'behavior':2 'bspc':50,87,120,130,140,218,233 'bspwm':7,196 'c':122 'check':39 'code':21,57,69,84,102,117,221,236 'command':49,99 'condit':204 'connect':181,231,246 'correct':154 'could':30,211 'counter':10 'counter-intuit':9 'defin':252 'desktop':51,141,224,239 'differ':26 'done':146 'exampl':111,215 'execut':47,96 'explain':206 'extern':166,243,258 'f':52,144 'float':103,109 'focus':125 'focused.floating':134 'follow':222,237 'given':161 'instanc':27,40,62 'intuit':11 'last':53,145 'learn':192 'listen':78 'look':184 'main':70 'man.archlinux.org':93 'man.archlinux.org/man/bspwm.1.en))':92 'manpag':91 'may':77 'monitor':167,175,179,199,229,244,259 'move':163 'multi':198 'n':132,133,142 'name':28,41,63 'new':44 'node':124,126 'nonetheless':18 'one':228 'popup':22,58,74,106 'previous':98 'primari':174 'queri':131 'question':150 'r':137 're':156 'read':136 'request':5 'return':171 'rule':14,217,219,234 'run':34 'script':33 'second':149 'see':89 'setup':195 'shown':255 'specif':16 'state':81,127 'subscrib':88,121 'tri':157 'understand':153 'use':86,200 'vs':20,56,68,83,101,116 'wid':138,143 'wiki':209 'wiki.archlinux.org':189 'wiki.archlinux.org/title/bspwm#note_for_multi-monitor_setups)':188 'window':23,45,75,85,104,118 'workspac':162,248 'wrote':17"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6899728"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703650809 {#3978
    date: 2023-12-27 05:20:09.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 {#4049
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +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 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -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 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
    +title: "[Question] Some questions about BSPWM tiling manager"
    +url: null
    +body: """
      1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
      2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 3
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1708552354 {#2418
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 25065
    -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
    -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1703691267
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9777079"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703618267 {#1858
      date: 2023-12-26 20:17:47.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4033
    +user: App\Entity\User {#3981 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      The behavior you are requesting of bspwm is counter-intuitive to this rule you specifically wrote. Nonetheless, if VS Code popup windows have a different instance name, you could have a script running in the background which checks instance name of any new window and execute the command `bspc desktop -f last` when a VS Code popup appears.  \n
      If the instance name is the same for VS Code main app and its popup windows, you may listen to the state of VS Code windows (using bspc subscribe; see the [manpage](https://man.archlinux.org/man/bspwm.1.en)) and execute the previous command on VS Code floating windows (because popups will be floating).  \n
      For example, apply this to all VS Code windows:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">while bspc subscribe -c 1 node_focus node_state > /dev/null; do\n
      </span><span style="color:#323232;">    bspc query -N -n "focused.floating" | while read -r wid; do\n
      </span><span style="color:#323232;">    bspc desktop -n $wid -f last\n
      </span><span style="color:#323232;">done\n
      </span>\n
      ```\n
      \n
      For your second question, if I understand correctly you’re trying to have a given workspace moving to your external monitor when available and returning to your primary monitor if no other monitor is connected. You can look at [the archwiki](https://wiki.archlinux.org/title/Bspwm#Note_for_multi-monitor_setups) to learn how to setup bspwm for multi monitors. Using the same if conditions as explained in this wiki you could also have for example a rule `bspc rule -a Code follow=on desktop=‘^4’` when only one monitor is connected, and `bspc rule -a Code follow=on desktop=‘^7’` when an external monitor is connected (and workspace 7 will be defined to be shown on your external monitor).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1708552354 {#4042
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@questionAsker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4031 …}
    +nested: Doctrine\ORM\PersistentCollection {#4029 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4025 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3993 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3997 …}
    -id: 255604
    -bodyTs: "'/dev/null':128 '/man/bspwm.1.en))':94 '/title/bspwm#note_for_multi-monitor_setups)':190 '1':123 '4':225 '7':240,249 'also':212 'app':71 'appear':59 'appli':112 'archwiki':187 'avail':169 'background':37 'behavior':2 'bspc':50,87,120,130,140,218,233 'bspwm':7,196 'c':122 'check':39 'code':21,57,69,84,102,117,221,236 'command':49,99 'condit':204 'connect':181,231,246 'correct':154 'could':30,211 'counter':10 'counter-intuit':9 'defin':252 'desktop':51,141,224,239 'differ':26 'done':146 'exampl':111,215 'execut':47,96 'explain':206 'extern':166,243,258 'f':52,144 'float':103,109 'focus':125 'focused.floating':134 'follow':222,237 'given':161 'instanc':27,40,62 'intuit':11 'last':53,145 'learn':192 'listen':78 'look':184 'main':70 'man.archlinux.org':93 'man.archlinux.org/man/bspwm.1.en))':92 'manpag':91 'may':77 'monitor':167,175,179,199,229,244,259 'move':163 'multi':198 'n':132,133,142 'name':28,41,63 'new':44 'node':124,126 'nonetheless':18 'one':228 'popup':22,58,74,106 'previous':98 'primari':174 'queri':131 'question':150 'r':137 're':156 'read':136 'request':5 'return':171 'rule':14,217,219,234 'run':34 'script':33 'second':149 'see':89 'setup':195 'shown':255 'specif':16 'state':81,127 'subscrib':88,121 'tri':157 'understand':153 'use':86,200 'vs':20,56,68,83,101,116 'wid':138,143 'wiki':209 'wiki.archlinux.org':189 'wiki.archlinux.org/title/bspwm#note_for_multi-monitor_setups)':188 'window':23,45,75,85,104,118 'workspac':162,248 'wrote':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6899728"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703650809 {#3978
      date: 2023-12-27 05:20:09.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4033}
  +body: "Sadly, popup window name is same as for vscode itself. I will have a look on that script, that’s something to begin with. I use only one monitor at time, I don’t use “extended mode”. And what I really want - to transfer already opened applications to workspaces from different monitor: I have vscode opened on 4th workspace on laptop, after I plug in external monitor and setup xrandr for it, than I turn it off and want to continue working with vscode on 4th workspace on latop. Right now this is not possible from the box."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1703705655 {#4054
    date: 2023-12-27 20:34:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@questionAsker@lemmy.ml"
    "@wwwgem@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4057 …}
  +nested: Doctrine\ORM\PersistentCollection {#4063 …}
  +votes: Doctrine\ORM\PersistentCollection {#4060 …}
  +reports: Doctrine\ORM\PersistentCollection {#4048 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
  -id: 257318
  -bodyTs: "'4th':58,86 'alreadi':45 'applic':47 'begin':23 'box':98 'continu':81 'differ':51 'extend':36 'extern':66 'laptop':61 'latop':89 'look':15 'mode':37 'monitor':29,52,67 'name':4 'one':28 'open':46,56 'plug':64 'popup':2 'possibl':95 'realli':41 'right':90 'sad':1 'script':18 'setup':69 'someth':21 'time':31 'transfer':44 'turn':75 'use':26,35 'vscode':9,55,84 'want':42,79 'window':3 'work':82 'workspac':49,59,87 'xrandr':70"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6909675"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703705655 {#4051
    date: 2023-12-27 20:34:15.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 {#4049
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +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 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -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 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
    +title: "[Question] Some questions about BSPWM tiling manager"
    +url: null
    +body: """
      1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
      2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 3
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1708552354 {#2418
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 25065
    -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
    -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1703691267
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9777079"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703618267 {#1858
      date: 2023-12-26 20:17:47.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4033
    +user: App\Entity\User {#3981 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      The behavior you are requesting of bspwm is counter-intuitive to this rule you specifically wrote. Nonetheless, if VS Code popup windows have a different instance name, you could have a script running in the background which checks instance name of any new window and execute the command `bspc desktop -f last` when a VS Code popup appears.  \n
      If the instance name is the same for VS Code main app and its popup windows, you may listen to the state of VS Code windows (using bspc subscribe; see the [manpage](https://man.archlinux.org/man/bspwm.1.en)) and execute the previous command on VS Code floating windows (because popups will be floating).  \n
      For example, apply this to all VS Code windows:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">while bspc subscribe -c 1 node_focus node_state > /dev/null; do\n
      </span><span style="color:#323232;">    bspc query -N -n "focused.floating" | while read -r wid; do\n
      </span><span style="color:#323232;">    bspc desktop -n $wid -f last\n
      </span><span style="color:#323232;">done\n
      </span>\n
      ```\n
      \n
      For your second question, if I understand correctly you’re trying to have a given workspace moving to your external monitor when available and returning to your primary monitor if no other monitor is connected. You can look at [the archwiki](https://wiki.archlinux.org/title/Bspwm#Note_for_multi-monitor_setups) to learn how to setup bspwm for multi monitors. Using the same if conditions as explained in this wiki you could also have for example a rule `bspc rule -a Code follow=on desktop=‘^4’` when only one monitor is connected, and `bspc rule -a Code follow=on desktop=‘^7’` when an external monitor is connected (and workspace 7 will be defined to be shown on your external monitor).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1708552354 {#4042
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@questionAsker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4031 …}
    +nested: Doctrine\ORM\PersistentCollection {#4029 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4025 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3993 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3997 …}
    -id: 255604
    -bodyTs: "'/dev/null':128 '/man/bspwm.1.en))':94 '/title/bspwm#note_for_multi-monitor_setups)':190 '1':123 '4':225 '7':240,249 'also':212 'app':71 'appear':59 'appli':112 'archwiki':187 'avail':169 'background':37 'behavior':2 'bspc':50,87,120,130,140,218,233 'bspwm':7,196 'c':122 'check':39 'code':21,57,69,84,102,117,221,236 'command':49,99 'condit':204 'connect':181,231,246 'correct':154 'could':30,211 'counter':10 'counter-intuit':9 'defin':252 'desktop':51,141,224,239 'differ':26 'done':146 'exampl':111,215 'execut':47,96 'explain':206 'extern':166,243,258 'f':52,144 'float':103,109 'focus':125 'focused.floating':134 'follow':222,237 'given':161 'instanc':27,40,62 'intuit':11 'last':53,145 'learn':192 'listen':78 'look':184 'main':70 'man.archlinux.org':93 'man.archlinux.org/man/bspwm.1.en))':92 'manpag':91 'may':77 'monitor':167,175,179,199,229,244,259 'move':163 'multi':198 'n':132,133,142 'name':28,41,63 'new':44 'node':124,126 'nonetheless':18 'one':228 'popup':22,58,74,106 'previous':98 'primari':174 'queri':131 'question':150 'r':137 're':156 'read':136 'request':5 'return':171 'rule':14,217,219,234 'run':34 'script':33 'second':149 'see':89 'setup':195 'shown':255 'specif':16 'state':81,127 'subscrib':88,121 'tri':157 'understand':153 'use':86,200 'vs':20,56,68,83,101,116 'wid':138,143 'wiki':209 'wiki.archlinux.org':189 'wiki.archlinux.org/title/bspwm#note_for_multi-monitor_setups)':188 'window':23,45,75,85,104,118 'workspac':162,248 'wrote':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6899728"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703650809 {#3978
      date: 2023-12-27 05:20:09.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4033}
  +body: "Sadly, popup window name is same as for vscode itself. I will have a look on that script, that’s something to begin with. I use only one monitor at time, I don’t use “extended mode”. And what I really want - to transfer already opened applications to workspaces from different monitor: I have vscode opened on 4th workspace on laptop, after I plug in external monitor and setup xrandr for it, than I turn it off and want to continue working with vscode on 4th workspace on latop. Right now this is not possible from the box."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1703705655 {#4054
    date: 2023-12-27 20:34:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@questionAsker@lemmy.ml"
    "@wwwgem@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4057 …}
  +nested: Doctrine\ORM\PersistentCollection {#4063 …}
  +votes: Doctrine\ORM\PersistentCollection {#4060 …}
  +reports: Doctrine\ORM\PersistentCollection {#4048 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
  -id: 257318
  -bodyTs: "'4th':58,86 'alreadi':45 'applic':47 'begin':23 'box':98 'continu':81 'differ':51 'extend':36 'extern':66 'laptop':61 'latop':89 'look':15 'mode':37 'monitor':29,52,67 'name':4 'one':28 'open':46,56 'plug':64 'popup':2 'possibl':95 'realli':41 'right':90 'sad':1 'script':18 'setup':69 'someth':21 'time':31 'transfer':44 'turn':75 'use':26,35 'vscode':9,55,84 'want':42,79 'window':3 'work':82 'workspac':49,59,87 'xrandr':70"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6909675"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703705655 {#4051
    date: 2023-12-27 20:34:15.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 {#4049
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +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 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -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 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
    +title: "[Question] Some questions about BSPWM tiling manager"
    +url: null
    +body: """
      1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
      2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 3
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1708552354 {#2418
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 25065
    -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
    -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1703691267
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9777079"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703618267 {#1858
      date: 2023-12-26 20:17:47.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4033
    +user: App\Entity\User {#3981 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      The behavior you are requesting of bspwm is counter-intuitive to this rule you specifically wrote. Nonetheless, if VS Code popup windows have a different instance name, you could have a script running in the background which checks instance name of any new window and execute the command `bspc desktop -f last` when a VS Code popup appears.  \n
      If the instance name is the same for VS Code main app and its popup windows, you may listen to the state of VS Code windows (using bspc subscribe; see the [manpage](https://man.archlinux.org/man/bspwm.1.en)) and execute the previous command on VS Code floating windows (because popups will be floating).  \n
      For example, apply this to all VS Code windows:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">while bspc subscribe -c 1 node_focus node_state > /dev/null; do\n
      </span><span style="color:#323232;">    bspc query -N -n "focused.floating" | while read -r wid; do\n
      </span><span style="color:#323232;">    bspc desktop -n $wid -f last\n
      </span><span style="color:#323232;">done\n
      </span>\n
      ```\n
      \n
      For your second question, if I understand correctly you’re trying to have a given workspace moving to your external monitor when available and returning to your primary monitor if no other monitor is connected. You can look at [the archwiki](https://wiki.archlinux.org/title/Bspwm#Note_for_multi-monitor_setups) to learn how to setup bspwm for multi monitors. Using the same if conditions as explained in this wiki you could also have for example a rule `bspc rule -a Code follow=on desktop=‘^4’` when only one monitor is connected, and `bspc rule -a Code follow=on desktop=‘^7’` when an external monitor is connected (and workspace 7 will be defined to be shown on your external monitor).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1708552354 {#4042
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@questionAsker@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4031 …}
    +nested: Doctrine\ORM\PersistentCollection {#4029 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4025 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3993 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3997 …}
    -id: 255604
    -bodyTs: "'/dev/null':128 '/man/bspwm.1.en))':94 '/title/bspwm#note_for_multi-monitor_setups)':190 '1':123 '4':225 '7':240,249 'also':212 'app':71 'appear':59 'appli':112 'archwiki':187 'avail':169 'background':37 'behavior':2 'bspc':50,87,120,130,140,218,233 'bspwm':7,196 'c':122 'check':39 'code':21,57,69,84,102,117,221,236 'command':49,99 'condit':204 'connect':181,231,246 'correct':154 'could':30,211 'counter':10 'counter-intuit':9 'defin':252 'desktop':51,141,224,239 'differ':26 'done':146 'exampl':111,215 'execut':47,96 'explain':206 'extern':166,243,258 'f':52,144 'float':103,109 'focus':125 'focused.floating':134 'follow':222,237 'given':161 'instanc':27,40,62 'intuit':11 'last':53,145 'learn':192 'listen':78 'look':184 'main':70 'man.archlinux.org':93 'man.archlinux.org/man/bspwm.1.en))':92 'manpag':91 'may':77 'monitor':167,175,179,199,229,244,259 'move':163 'multi':198 'n':132,133,142 'name':28,41,63 'new':44 'node':124,126 'nonetheless':18 'one':228 'popup':22,58,74,106 'previous':98 'primari':174 'queri':131 'question':150 'r':137 're':156 'read':136 'request':5 'return':171 'rule':14,217,219,234 'run':34 'script':33 'second':149 'see':89 'setup':195 'shown':255 'specif':16 'state':81,127 'subscrib':88,121 'tri':157 'understand':153 'use':86,200 'vs':20,56,68,83,101,116 'wid':138,143 'wiki':209 'wiki.archlinux.org':189 'wiki.archlinux.org/title/bspwm#note_for_multi-monitor_setups)':188 'window':23,45,75,85,104,118 'workspac':162,248 'wrote':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6899728"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703650809 {#3978
      date: 2023-12-27 05:20:09.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4033}
  +body: "Sadly, popup window name is same as for vscode itself. I will have a look on that script, that’s something to begin with. I use only one monitor at time, I don’t use “extended mode”. And what I really want - to transfer already opened applications to workspaces from different monitor: I have vscode opened on 4th workspace on laptop, after I plug in external monitor and setup xrandr for it, than I turn it off and want to continue working with vscode on 4th workspace on latop. Right now this is not possible from the box."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1703705655 {#4054
    date: 2023-12-27 20:34:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@questionAsker@lemmy.ml"
    "@wwwgem@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4057 …}
  +nested: Doctrine\ORM\PersistentCollection {#4063 …}
  +votes: Doctrine\ORM\PersistentCollection {#4060 …}
  +reports: Doctrine\ORM\PersistentCollection {#4048 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
  -id: 257318
  -bodyTs: "'4th':58,86 'alreadi':45 'applic':47 'begin':23 'box':98 'continu':81 'differ':51 'extend':36 'extern':66 'laptop':61 'latop':89 'look':15 'mode':37 'monitor':29,52,67 'name':4 'one':28 'open':46,56 'plug':64 'popup':2 'possibl':95 'realli':41 'right':90 'sad':1 'script':18 'setup':69 'someth':21 'time':31 'transfer':44 'turn':75 'use':26,35 'vscode':9,55,84 'want':42,79 'window':3 'work':82 'workspac':49,59,87 'xrandr':70"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6909675"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703705655 {#4051
    date: 2023-12-27 20:34:15.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 {#4117
  +user: App\Entity\User {#3981 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +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 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -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 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
    +title: "[Question] Some questions about BSPWM tiling manager"
    +url: null
    +body: """
      1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
      2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 3
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1708552354 {#2418
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 25065
    -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
    -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1703691267
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9777079"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703618267 {#1858
      date: 2023-12-26 20:17:47.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4049
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4033
      +user: App\Entity\User {#3981 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: """
        The behavior you are requesting of bspwm is counter-intuitive to this rule you specifically wrote. Nonetheless, if VS Code popup windows have a different instance name, you could have a script running in the background which checks instance name of any new window and execute the command `bspc desktop -f last` when a VS Code popup appears.  \n
        If the instance name is the same for VS Code main app and its popup windows, you may listen to the state of VS Code windows (using bspc subscribe; see the [manpage](https://man.archlinux.org/man/bspwm.1.en)) and execute the previous command on VS Code floating windows (because popups will be floating).  \n
        For example, apply this to all VS Code windows:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">while bspc subscribe -c 1 node_focus node_state > /dev/null; do\n
        </span><span style="color:#323232;">    bspc query -N -n "focused.floating" | while read -r wid; do\n
        </span><span style="color:#323232;">    bspc desktop -n $wid -f last\n
        </span><span style="color:#323232;">done\n
        </span>\n
        ```\n
        \n
        For your second question, if I understand correctly you’re trying to have a given workspace moving to your external monitor when available and returning to your primary monitor if no other monitor is connected. You can look at [the archwiki](https://wiki.archlinux.org/title/Bspwm#Note_for_multi-monitor_setups) to learn how to setup bspwm for multi monitors. Using the same if conditions as explained in this wiki you could also have for example a rule `bspc rule -a Code follow=on desktop=‘^4’` when only one monitor is connected, and `bspc rule -a Code follow=on desktop=‘^7’` when an external monitor is connected (and workspace 7 will be defined to be shown on your external monitor).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1708552354 {#4042
        date: 2024-02-21 22:52:34.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@questionAsker@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4031 …}
      +nested: Doctrine\ORM\PersistentCollection {#4029 …}
      +votes: Doctrine\ORM\PersistentCollection {#4027 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3993 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3997 …}
      -id: 255604
      -bodyTs: "'/dev/null':128 '/man/bspwm.1.en))':94 '/title/bspwm#note_for_multi-monitor_setups)':190 '1':123 '4':225 '7':240,249 'also':212 'app':71 'appear':59 'appli':112 'archwiki':187 'avail':169 'background':37 'behavior':2 'bspc':50,87,120,130,140,218,233 'bspwm':7,196 'c':122 'check':39 'code':21,57,69,84,102,117,221,236 'command':49,99 'condit':204 'connect':181,231,246 'correct':154 'could':30,211 'counter':10 'counter-intuit':9 'defin':252 'desktop':51,141,224,239 'differ':26 'done':146 'exampl':111,215 'execut':47,96 'explain':206 'extern':166,243,258 'f':52,144 'float':103,109 'focus':125 'focused.floating':134 'follow':222,237 'given':161 'instanc':27,40,62 'intuit':11 'last':53,145 'learn':192 'listen':78 'look':184 'main':70 'man.archlinux.org':93 'man.archlinux.org/man/bspwm.1.en))':92 'manpag':91 'may':77 'monitor':167,175,179,199,229,244,259 'move':163 'multi':198 'n':132,133,142 'name':28,41,63 'new':44 'node':124,126 'nonetheless':18 'one':228 'popup':22,58,74,106 'previous':98 'primari':174 'queri':131 'question':150 'r':137 're':156 'read':136 'request':5 'return':171 'rule':14,217,219,234 'run':34 'script':33 'second':149 'see':89 'setup':195 'shown':255 'specif':16 'state':81,127 'subscrib':88,121 'tri':157 'understand':153 'use':86,200 'vs':20,56,68,83,101,116 'wid':138,143 'wiki':209 'wiki.archlinux.org':189 'wiki.archlinux.org/title/bspwm#note_for_multi-monitor_setups)':188 'window':23,45,75,85,104,118 'workspac':162,248 'wrote':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6899728"
      +editedAt: null
      +createdAt: DateTimeImmutable @1703650809 {#3978
        date: 2023-12-27 05:20:09.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4033}
    +body: "Sadly, popup window name is same as for vscode itself. I will have a look on that script, that’s something to begin with. I use only one monitor at time, I don’t use “extended mode”. And what I really want - to transfer already opened applications to workspaces from different monitor: I have vscode opened on 4th workspace on laptop, after I plug in external monitor and setup xrandr for it, than I turn it off and want to continue working with vscode on 4th workspace on latop. Right now this is not possible from the box."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1703705655 {#4054
      date: 2023-12-27 20:34:15.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@questionAsker@lemmy.ml"
      "@wwwgem@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4057 …}
    +nested: Doctrine\ORM\PersistentCollection {#4063 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4048 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
    -id: 257318
    -bodyTs: "'4th':58,86 'alreadi':45 'applic':47 'begin':23 'box':98 'continu':81 'differ':51 'extend':36 'extern':66 'laptop':61 'latop':89 'look':15 'mode':37 'monitor':29,52,67 'name':4 'one':28 'open':46,56 'plug':64 'popup':2 'possibl':95 'realli':41 'right':90 'sad':1 'script':18 'setup':69 'someth':21 'time':31 'transfer':44 'turn':75 'use':26,35 'vscode':9,55,84 'want':42,79 'window':3 'work':82 'workspac':49,59,87 'xrandr':70"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6909675"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703705655 {#4051
      date: 2023-12-27 20:34:15.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4033}
  +body: """
    If you’re using only one monitor, simply duplicate and scale your laptop screen instead of using the extended approach.  \n
    To give you a rough idea, this will look to something like this:  \n
    `xrandr --output eDP1 --mode 1366x768 --scale 1x1 --output HDMI1 --same-as eDP1 --mode 1920x1080 --scale 0.711x0.711`  \n
    Use xrandr to find the monitors names and resolution. The scale option is simply the ratio between your 2 resolutions.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1703719891 {#4112
    date: 2023-12-28 00:31:31.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@questionAsker@lemmy.ml"
    "@wwwgem@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4109 …}
  +nested: Doctrine\ORM\PersistentCollection {#4106 …}
  +votes: Doctrine\ORM\PersistentCollection {#4104 …}
  +reports: Doctrine\ORM\PersistentCollection {#4118 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
  -id: 257903
  -bodyTs: "'0.711':50 '1366x768':38 '1920x1080':48 '1x1':40 '2':70 'approach':20 'duplic':9 'edp1':36,46 'extend':19 'find':55 'give':22 'hdmi1':42 'idea':26 'instead':15 'laptop':13 'like':32 'look':29 'mode':37,47 'monitor':7,57 'name':58 'one':6 'option':63 'output':35,41 'ratio':67 're':3 'resolut':60,71 'rough':25 'same-a':43 'scale':11,39,49,62 'screen':14 'simpli':8,65 'someth':31 'use':4,17,52 'x0.711':51 'xrandr':34,53"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6913087"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703719891 {#4115
    date: 2023-12-28 00:31:31.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 {#4117
  +user: App\Entity\User {#3981 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +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 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -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 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
    +title: "[Question] Some questions about BSPWM tiling manager"
    +url: null
    +body: """
      1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
      2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 3
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1708552354 {#2418
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 25065
    -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
    -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1703691267
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9777079"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703618267 {#1858
      date: 2023-12-26 20:17:47.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4049
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4033
      +user: App\Entity\User {#3981 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: """
        The behavior you are requesting of bspwm is counter-intuitive to this rule you specifically wrote. Nonetheless, if VS Code popup windows have a different instance name, you could have a script running in the background which checks instance name of any new window and execute the command `bspc desktop -f last` when a VS Code popup appears.  \n
        If the instance name is the same for VS Code main app and its popup windows, you may listen to the state of VS Code windows (using bspc subscribe; see the [manpage](https://man.archlinux.org/man/bspwm.1.en)) and execute the previous command on VS Code floating windows (because popups will be floating).  \n
        For example, apply this to all VS Code windows:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">while bspc subscribe -c 1 node_focus node_state > /dev/null; do\n
        </span><span style="color:#323232;">    bspc query -N -n "focused.floating" | while read -r wid; do\n
        </span><span style="color:#323232;">    bspc desktop -n $wid -f last\n
        </span><span style="color:#323232;">done\n
        </span>\n
        ```\n
        \n
        For your second question, if I understand correctly you’re trying to have a given workspace moving to your external monitor when available and returning to your primary monitor if no other monitor is connected. You can look at [the archwiki](https://wiki.archlinux.org/title/Bspwm#Note_for_multi-monitor_setups) to learn how to setup bspwm for multi monitors. Using the same if conditions as explained in this wiki you could also have for example a rule `bspc rule -a Code follow=on desktop=‘^4’` when only one monitor is connected, and `bspc rule -a Code follow=on desktop=‘^7’` when an external monitor is connected (and workspace 7 will be defined to be shown on your external monitor).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1708552354 {#4042
        date: 2024-02-21 22:52:34.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@questionAsker@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4031 …}
      +nested: Doctrine\ORM\PersistentCollection {#4029 …}
      +votes: Doctrine\ORM\PersistentCollection {#4027 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3993 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3997 …}
      -id: 255604
      -bodyTs: "'/dev/null':128 '/man/bspwm.1.en))':94 '/title/bspwm#note_for_multi-monitor_setups)':190 '1':123 '4':225 '7':240,249 'also':212 'app':71 'appear':59 'appli':112 'archwiki':187 'avail':169 'background':37 'behavior':2 'bspc':50,87,120,130,140,218,233 'bspwm':7,196 'c':122 'check':39 'code':21,57,69,84,102,117,221,236 'command':49,99 'condit':204 'connect':181,231,246 'correct':154 'could':30,211 'counter':10 'counter-intuit':9 'defin':252 'desktop':51,141,224,239 'differ':26 'done':146 'exampl':111,215 'execut':47,96 'explain':206 'extern':166,243,258 'f':52,144 'float':103,109 'focus':125 'focused.floating':134 'follow':222,237 'given':161 'instanc':27,40,62 'intuit':11 'last':53,145 'learn':192 'listen':78 'look':184 'main':70 'man.archlinux.org':93 'man.archlinux.org/man/bspwm.1.en))':92 'manpag':91 'may':77 'monitor':167,175,179,199,229,244,259 'move':163 'multi':198 'n':132,133,142 'name':28,41,63 'new':44 'node':124,126 'nonetheless':18 'one':228 'popup':22,58,74,106 'previous':98 'primari':174 'queri':131 'question':150 'r':137 're':156 'read':136 'request':5 'return':171 'rule':14,217,219,234 'run':34 'script':33 'second':149 'see':89 'setup':195 'shown':255 'specif':16 'state':81,127 'subscrib':88,121 'tri':157 'understand':153 'use':86,200 'vs':20,56,68,83,101,116 'wid':138,143 'wiki':209 'wiki.archlinux.org':189 'wiki.archlinux.org/title/bspwm#note_for_multi-monitor_setups)':188 'window':23,45,75,85,104,118 'workspac':162,248 'wrote':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6899728"
      +editedAt: null
      +createdAt: DateTimeImmutable @1703650809 {#3978
        date: 2023-12-27 05:20:09.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4033}
    +body: "Sadly, popup window name is same as for vscode itself. I will have a look on that script, that’s something to begin with. I use only one monitor at time, I don’t use “extended mode”. And what I really want - to transfer already opened applications to workspaces from different monitor: I have vscode opened on 4th workspace on laptop, after I plug in external monitor and setup xrandr for it, than I turn it off and want to continue working with vscode on 4th workspace on latop. Right now this is not possible from the box."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1703705655 {#4054
      date: 2023-12-27 20:34:15.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@questionAsker@lemmy.ml"
      "@wwwgem@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4057 …}
    +nested: Doctrine\ORM\PersistentCollection {#4063 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4048 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
    -id: 257318
    -bodyTs: "'4th':58,86 'alreadi':45 'applic':47 'begin':23 'box':98 'continu':81 'differ':51 'extend':36 'extern':66 'laptop':61 'latop':89 'look':15 'mode':37 'monitor':29,52,67 'name':4 'one':28 'open':46,56 'plug':64 'popup':2 'possibl':95 'realli':41 'right':90 'sad':1 'script':18 'setup':69 'someth':21 'time':31 'transfer':44 'turn':75 'use':26,35 'vscode':9,55,84 'want':42,79 'window':3 'work':82 'workspac':49,59,87 'xrandr':70"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6909675"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703705655 {#4051
      date: 2023-12-27 20:34:15.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4033}
  +body: """
    If you’re using only one monitor, simply duplicate and scale your laptop screen instead of using the extended approach.  \n
    To give you a rough idea, this will look to something like this:  \n
    `xrandr --output eDP1 --mode 1366x768 --scale 1x1 --output HDMI1 --same-as eDP1 --mode 1920x1080 --scale 0.711x0.711`  \n
    Use xrandr to find the monitors names and resolution. The scale option is simply the ratio between your 2 resolutions.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1703719891 {#4112
    date: 2023-12-28 00:31:31.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@questionAsker@lemmy.ml"
    "@wwwgem@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4109 …}
  +nested: Doctrine\ORM\PersistentCollection {#4106 …}
  +votes: Doctrine\ORM\PersistentCollection {#4104 …}
  +reports: Doctrine\ORM\PersistentCollection {#4118 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
  -id: 257903
  -bodyTs: "'0.711':50 '1366x768':38 '1920x1080':48 '1x1':40 '2':70 'approach':20 'duplic':9 'edp1':36,46 'extend':19 'find':55 'give':22 'hdmi1':42 'idea':26 'instead':15 'laptop':13 'like':32 'look':29 'mode':37,47 'monitor':7,57 'name':58 'one':6 'option':63 'output':35,41 'ratio':67 're':3 'resolut':60,71 'rough':25 'same-a':43 'scale':11,39,49,62 'screen':14 'simpli':8,65 'someth':31 'use':4,17,52 'x0.711':51 'xrandr':34,53"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6913087"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703719891 {#4115
    date: 2023-12-28 00:31:31.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 {#4117
  +user: App\Entity\User {#3981 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +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 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -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 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Question-Some-questions-about-BSPWM-tiling-manager"
    +title: "[Question] Some questions about BSPWM tiling manager"
    +url: null
    +body: """
      1. I have a rule for vscode: `bspc rule -a Code follow=on desktop=‘^4’`. If I manually move one vscode instance to another workspace, work in that and than drag’n’drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?\n
      2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 3
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1708552354 {#2418
      date: 2024-02-21 22:52:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 25065
    -titleTs: "'bspwm':5 'manag':7 'question':1,3 'tile':6"
    -bodyTs: "'1':1 '2':57 '4':15 '4th':46 'action':38 'anoth':24 'appear':44 'applic':62 'bspc':8 'code':11 'correct':65 'current':51 'desktop':14 'dialog':42 'drag':31 'drop':33 'easiest':68 'extern':73 'fix':55 'follow':12 'initi':39 'instanc':22 'manual':18 'menu':41 'monitor':74 'move':19 'n':32 'one':20,52 'popup':40 'rather':48 'return':76 'rule':5,9 'smth':34 'switch':71 'transfer':60 'vscode':7,21 'way':69 'work':26 'workspac':25,47,61"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1703691267
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9777079"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703618267 {#1858
      date: 2023-12-26 20:17:47.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4049
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4033
      +user: App\Entity\User {#3981 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: """
        The behavior you are requesting of bspwm is counter-intuitive to this rule you specifically wrote. Nonetheless, if VS Code popup windows have a different instance name, you could have a script running in the background which checks instance name of any new window and execute the command `bspc desktop -f last` when a VS Code popup appears.  \n
        If the instance name is the same for VS Code main app and its popup windows, you may listen to the state of VS Code windows (using bspc subscribe; see the [manpage](https://man.archlinux.org/man/bspwm.1.en)) and execute the previous command on VS Code floating windows (because popups will be floating).  \n
        For example, apply this to all VS Code windows:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">while bspc subscribe -c 1 node_focus node_state > /dev/null; do\n
        </span><span style="color:#323232;">    bspc query -N -n "focused.floating" | while read -r wid; do\n
        </span><span style="color:#323232;">    bspc desktop -n $wid -f last\n
        </span><span style="color:#323232;">done\n
        </span>\n
        ```\n
        \n
        For your second question, if I understand correctly you’re trying to have a given workspace moving to your external monitor when available and returning to your primary monitor if no other monitor is connected. You can look at [the archwiki](https://wiki.archlinux.org/title/Bspwm#Note_for_multi-monitor_setups) to learn how to setup bspwm for multi monitors. Using the same if conditions as explained in this wiki you could also have for example a rule `bspc rule -a Code follow=on desktop=‘^4’` when only one monitor is connected, and `bspc rule -a Code follow=on desktop=‘^7’` when an external monitor is connected (and workspace 7 will be defined to be shown on your external monitor).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1708552354 {#4042
        date: 2024-02-21 22:52:34.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@questionAsker@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4031 …}
      +nested: Doctrine\ORM\PersistentCollection {#4029 …}
      +votes: Doctrine\ORM\PersistentCollection {#4027 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3993 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3997 …}
      -id: 255604
      -bodyTs: "'/dev/null':128 '/man/bspwm.1.en))':94 '/title/bspwm#note_for_multi-monitor_setups)':190 '1':123 '4':225 '7':240,249 'also':212 'app':71 'appear':59 'appli':112 'archwiki':187 'avail':169 'background':37 'behavior':2 'bspc':50,87,120,130,140,218,233 'bspwm':7,196 'c':122 'check':39 'code':21,57,69,84,102,117,221,236 'command':49,99 'condit':204 'connect':181,231,246 'correct':154 'could':30,211 'counter':10 'counter-intuit':9 'defin':252 'desktop':51,141,224,239 'differ':26 'done':146 'exampl':111,215 'execut':47,96 'explain':206 'extern':166,243,258 'f':52,144 'float':103,109 'focus':125 'focused.floating':134 'follow':222,237 'given':161 'instanc':27,40,62 'intuit':11 'last':53,145 'learn':192 'listen':78 'look':184 'main':70 'man.archlinux.org':93 'man.archlinux.org/man/bspwm.1.en))':92 'manpag':91 'may':77 'monitor':167,175,179,199,229,244,259 'move':163 'multi':198 'n':132,133,142 'name':28,41,63 'new':44 'node':124,126 'nonetheless':18 'one':228 'popup':22,58,74,106 'previous':98 'primari':174 'queri':131 'question':150 'r':137 're':156 'read':136 'request':5 'return':171 'rule':14,217,219,234 'run':34 'script':33 'second':149 'see':89 'setup':195 'shown':255 'specif':16 'state':81,127 'subscrib':88,121 'tri':157 'understand':153 'use':86,200 'vs':20,56,68,83,101,116 'wid':138,143 'wiki':209 'wiki.archlinux.org':189 'wiki.archlinux.org/title/bspwm#note_for_multi-monitor_setups)':188 'window':23,45,75,85,104,118 'workspac':162,248 'wrote':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6899728"
      +editedAt: null
      +createdAt: DateTimeImmutable @1703650809 {#3978
        date: 2023-12-27 05:20:09.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4033}
    +body: "Sadly, popup window name is same as for vscode itself. I will have a look on that script, that’s something to begin with. I use only one monitor at time, I don’t use “extended mode”. And what I really want - to transfer already opened applications to workspaces from different monitor: I have vscode opened on 4th workspace on laptop, after I plug in external monitor and setup xrandr for it, than I turn it off and want to continue working with vscode on 4th workspace on latop. Right now this is not possible from the box."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1703705655 {#4054
      date: 2023-12-27 20:34:15.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@questionAsker@lemmy.ml"
      "@wwwgem@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4057 …}
    +nested: Doctrine\ORM\PersistentCollection {#4063 …}
    +votes: Doctrine\ORM\PersistentCollection {#4060 …}
    +reports: Doctrine\ORM\PersistentCollection {#4048 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4046 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4044 …}
    -id: 257318
    -bodyTs: "'4th':58,86 'alreadi':45 'applic':47 'begin':23 'box':98 'continu':81 'differ':51 'extend':36 'extern':66 'laptop':61 'latop':89 'look':15 'mode':37 'monitor':29,52,67 'name':4 'one':28 'open':46,56 'plug':64 'popup':2 'possibl':95 'realli':41 'right':90 'sad':1 'script':18 'setup':69 'someth':21 'time':31 'transfer':44 'turn':75 'use':26,35 'vscode':9,55,84 'want':42,79 'window':3 'work':82 'workspac':49,59,87 'xrandr':70"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6909675"
    +editedAt: null
    +createdAt: DateTimeImmutable @1703705655 {#4051
      date: 2023-12-27 20:34:15.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4033}
  +body: """
    If you’re using only one monitor, simply duplicate and scale your laptop screen instead of using the extended approach.  \n
    To give you a rough idea, this will look to something like this:  \n
    `xrandr --output eDP1 --mode 1366x768 --scale 1x1 --output HDMI1 --same-as eDP1 --mode 1920x1080 --scale 0.711x0.711`  \n
    Use xrandr to find the monitors names and resolution. The scale option is simply the ratio between your 2 resolutions.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1703719891 {#4112
    date: 2023-12-28 00:31:31.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@questionAsker@lemmy.ml"
    "@wwwgem@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4109 …}
  +nested: Doctrine\ORM\PersistentCollection {#4106 …}
  +votes: Doctrine\ORM\PersistentCollection {#4104 …}
  +reports: Doctrine\ORM\PersistentCollection {#4118 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
  -id: 257903
  -bodyTs: "'0.711':50 '1366x768':38 '1920x1080':48 '1x1':40 '2':70 'approach':20 'duplic':9 'edp1':36,46 'extend':19 'find':55 'give':22 'hdmi1':42 'idea':26 'instead':15 'laptop':13 'like':32 'look':29 'mode':37,47 'monitor':7,57 'name':58 'one':6 'option':63 'output':35,41 'ratio':67 're':3 'resolut':60,71 'rough':25 'same-a':43 'scale':11,39,49,62 'screen':14 'simpli':8,65 'someth':31 'use':4,17,52 'x0.711':51 'xrandr':34,53"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/6913087"
  +editedAt: null
  +createdAt: DateTimeImmutable @1703719891 {#4115
    date: 2023-12-28 00:31:31.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 edit
App\Entity\Magazine {#264
  +icon: Proxies\__CG__\App\Entity\Image {#245 …}
  +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 {#274
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#236 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
  +entries: Doctrine\ORM\PersistentCollection {#179 …}
  +posts: Doctrine\ORM\PersistentCollection {#137 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
  +bans: Doctrine\ORM\PersistentCollection {#116 …}
  +reports: Doctrine\ORM\PersistentCollection {#102 …}
  +badges: Doctrine\ORM\PersistentCollection {#80 …}
  +logs: Doctrine\ORM\PersistentCollection {#70 …}
  +awards: Doctrine\ORM\PersistentCollection {#1360 …}
  +categories: Doctrine\ORM\PersistentCollection {#1792 …}
  -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 {#268
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#270
    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