1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4214
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.\n
\n
Thanks for the tips regarding manual installation! I did not know about `-devel` packages or about the `dnf provides` command. They will probably prove to be very useful!
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298871 {#4219
date: 2023-11-30 00:01:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4222 …}
+nested: Doctrine\ORM\PersistentCollection {#4226 …}
+votes: Doctrine\ORM\PersistentCollection {#4228 …}
+reports: Doctrine\ORM\PersistentCollection {#4229 …}
+favourites: Doctrine\ORM\PersistentCollection {#4231 …}
+notifications: Doctrine\ORM\PersistentCollection {#4233 …}
-id: 178814
-bodyTs: "'aur/yay':17 'avail':19 'awar':6 'best':43 'break':52 'command':76 'deal':56 'devel':69 'dnf':74 'far':2,23 'fedora':21 'flatpak':28 'game':48 'gsr':12,51 'huge':55 'instal':11,40,63 'issu':33 'know':67 'm':5 'manual':39,62 'option':9,44 'packag':15,70 'permiss':32 'probabl':79 'prove':80 'provid':75 'regard':61 'resolv':31 'system':49 'thank':57 'think':37 'tip':60 'unabl':29 'understand':26 'use':84"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682092"
+editedAt: null
+createdAt: DateTimeImmutable @1701298871 {#4216
date: 2023-11-30 00:01:11.0 +01:00
}
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
App\Entity\EntryComment {#4214
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.\n
\n
Thanks for the tips regarding manual installation! I did not know about `-devel` packages or about the `dnf provides` command. They will probably prove to be very useful!
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298871 {#4219
date: 2023-11-30 00:01:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4222 …}
+nested: Doctrine\ORM\PersistentCollection {#4226 …}
+votes: Doctrine\ORM\PersistentCollection {#4228 …}
+reports: Doctrine\ORM\PersistentCollection {#4229 …}
+favourites: Doctrine\ORM\PersistentCollection {#4231 …}
+notifications: Doctrine\ORM\PersistentCollection {#4233 …}
-id: 178814
-bodyTs: "'aur/yay':17 'avail':19 'awar':6 'best':43 'break':52 'command':76 'deal':56 'devel':69 'dnf':74 'far':2,23 'fedora':21 'flatpak':28 'game':48 'gsr':12,51 'huge':55 'instal':11,40,63 'issu':33 'know':67 'm':5 'manual':39,62 'option':9,44 'packag':15,70 'permiss':32 'probabl':79 'prove':80 'provid':75 'regard':61 'resolv':31 'system':49 'thank':57 'think':37 'tip':60 'unabl':29 'understand':26 'use':84"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682092"
+editedAt: null
+createdAt: DateTimeImmutable @1701298871 {#4216
date: 2023-11-30 00:01:11.0 +01:00
}
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4214
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.\n
\n
Thanks for the tips regarding manual installation! I did not know about `-devel` packages or about the `dnf provides` command. They will probably prove to be very useful!
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298871 {#4219
date: 2023-11-30 00:01:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4222 …}
+nested: Doctrine\ORM\PersistentCollection {#4226 …}
+votes: Doctrine\ORM\PersistentCollection {#4228 …}
+reports: Doctrine\ORM\PersistentCollection {#4229 …}
+favourites: Doctrine\ORM\PersistentCollection {#4231 …}
+notifications: Doctrine\ORM\PersistentCollection {#4233 …}
-id: 178814
-bodyTs: "'aur/yay':17 'avail':19 'awar':6 'best':43 'break':52 'command':76 'deal':56 'devel':69 'dnf':74 'far':2,23 'fedora':21 'flatpak':28 'game':48 'gsr':12,51 'huge':55 'instal':11,40,63 'issu':33 'know':67 'm':5 'manual':39,62 'option':9,44 'packag':15,70 'permiss':32 'probabl':79 'prove':80 'provid':75 'regard':61 'resolv':31 'system':49 'thank':57 'think':37 'tip':60 'unabl':29 'understand':26 'use':84"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682092"
+editedAt: null
+createdAt: DateTimeImmutable @1701298871 {#4216
date: 2023-11-30 00:01:11.0 +01:00
}
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4260
+user: Proxies\__CG__\App\Entity\User {#4263 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4214
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.\n
\n
Thanks for the tips regarding manual installation! I did not know about `-devel` packages or about the `dnf provides` command. They will probably prove to be very useful!
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298871 {#4219
date: 2023-11-30 00:01:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4222 …}
+nested: Doctrine\ORM\PersistentCollection {#4226 …}
+votes: Doctrine\ORM\PersistentCollection {#4228 …}
+reports: Doctrine\ORM\PersistentCollection {#4229 …}
+favourites: Doctrine\ORM\PersistentCollection {#4231 …}
+notifications: Doctrine\ORM\PersistentCollection {#4233 …}
-id: 178814
-bodyTs: "'aur/yay':17 'avail':19 'awar':6 'best':43 'break':52 'command':76 'deal':56 'devel':69 'dnf':74 'far':2,23 'fedora':21 'flatpak':28 'game':48 'gsr':12,51 'huge':55 'instal':11,40,63 'issu':33 'know':67 'm':5 'manual':39,62 'option':9,44 'packag':15,70 'permiss':32 'probabl':79 'prove':80 'provid':75 'regard':61 'resolv':31 'system':49 'thank':57 'think':37 'tip':60 'unabl':29 'understand':26 'use':84"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682092"
+editedAt: null
+createdAt: DateTimeImmutable @1701298871 {#4216
date: 2023-11-30 00:01:11.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
If you’re going to install from source at least change the compile config options so the prefix defaults to /opt/program-name.\n
\n
You can further integrate with the system by adding the /opt/program/bin/ and sbin/ dirs to the PATH variable, and add lib/ to /etc/ld.so.conf but it should not be needed normally — only if other programs need to compile against this one.\n
\n
You can also simplify integration by making common dirs for example /opt/.bin and /opt/.lib, adding only those to PATH and ld, and symlinking binaries and libraries from all /opt programs to them.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701330705 {#4257
date: 2023-11-30 08:51:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4264 …}
+nested: Doctrine\ORM\PersistentCollection {#4266 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4269 …}
+favourites: Doctrine\ORM\PersistentCollection {#4271 …}
+notifications: Doctrine\ORM\PersistentCollection {#4273 …}
-id: 180047
-bodyTs: "'/etc/ld.so.conf':44 '/opt':90 '/opt/.bin':73 '/opt/.lib':75 '/opt/program-name':21 '/opt/program/bin':32 'ad':30,76 'add':41 'also':64 'binari':85 'chang':11 'common':69 'compil':13,58 'config':14 'default':19 'dir':35,70 'exampl':72 'go':4 'instal':6 'integr':25,66 'ld':82 'least':10 'lib':42 'librari':87 'make':68 'need':50,56 'normal':51 'one':61 'option':15 'path':38,80 'prefix':18 'program':55,91 're':3 'sbin':34 'simplifi':65 'sourc':8 'symlink':84 'system':28 'variabl':39"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4983445"
+editedAt: DateTimeImmutable @1702298221 {#4254
date: 2023-12-11 13:37:01.0 +01:00
}
+createdAt: DateTimeImmutable @1701330705 {#4252
date: 2023-11-30 08:51:45.0 +01:00
}
} |
|
Show voter details
|
15 |
DENIED
|
edit
|
App\Entity\EntryComment {#4260
+user: Proxies\__CG__\App\Entity\User {#4263 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4214
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.\n
\n
Thanks for the tips regarding manual installation! I did not know about `-devel` packages or about the `dnf provides` command. They will probably prove to be very useful!
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298871 {#4219
date: 2023-11-30 00:01:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4222 …}
+nested: Doctrine\ORM\PersistentCollection {#4226 …}
+votes: Doctrine\ORM\PersistentCollection {#4228 …}
+reports: Doctrine\ORM\PersistentCollection {#4229 …}
+favourites: Doctrine\ORM\PersistentCollection {#4231 …}
+notifications: Doctrine\ORM\PersistentCollection {#4233 …}
-id: 178814
-bodyTs: "'aur/yay':17 'avail':19 'awar':6 'best':43 'break':52 'command':76 'deal':56 'devel':69 'dnf':74 'far':2,23 'fedora':21 'flatpak':28 'game':48 'gsr':12,51 'huge':55 'instal':11,40,63 'issu':33 'know':67 'm':5 'manual':39,62 'option':9,44 'packag':15,70 'permiss':32 'probabl':79 'prove':80 'provid':75 'regard':61 'resolv':31 'system':49 'thank':57 'think':37 'tip':60 'unabl':29 'understand':26 'use':84"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682092"
+editedAt: null
+createdAt: DateTimeImmutable @1701298871 {#4216
date: 2023-11-30 00:01:11.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
If you’re going to install from source at least change the compile config options so the prefix defaults to /opt/program-name.\n
\n
You can further integrate with the system by adding the /opt/program/bin/ and sbin/ dirs to the PATH variable, and add lib/ to /etc/ld.so.conf but it should not be needed normally — only if other programs need to compile against this one.\n
\n
You can also simplify integration by making common dirs for example /opt/.bin and /opt/.lib, adding only those to PATH and ld, and symlinking binaries and libraries from all /opt programs to them.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701330705 {#4257
date: 2023-11-30 08:51:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4264 …}
+nested: Doctrine\ORM\PersistentCollection {#4266 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4269 …}
+favourites: Doctrine\ORM\PersistentCollection {#4271 …}
+notifications: Doctrine\ORM\PersistentCollection {#4273 …}
-id: 180047
-bodyTs: "'/etc/ld.so.conf':44 '/opt':90 '/opt/.bin':73 '/opt/.lib':75 '/opt/program-name':21 '/opt/program/bin':32 'ad':30,76 'add':41 'also':64 'binari':85 'chang':11 'common':69 'compil':13,58 'config':14 'default':19 'dir':35,70 'exampl':72 'go':4 'instal':6 'integr':25,66 'ld':82 'least':10 'lib':42 'librari':87 'make':68 'need':50,56 'normal':51 'one':61 'option':15 'path':38,80 'prefix':18 'program':55,91 're':3 'sbin':34 'simplifi':65 'sourc':8 'symlink':84 'system':28 'variabl':39"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4983445"
+editedAt: DateTimeImmutable @1702298221 {#4254
date: 2023-12-11 13:37:01.0 +01:00
}
+createdAt: DateTimeImmutable @1701330705 {#4252
date: 2023-11-30 08:51:45.0 +01:00
}
} |
|
Show voter details
|
16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4260
+user: Proxies\__CG__\App\Entity\User {#4263 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4214
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.\n
\n
Thanks for the tips regarding manual installation! I did not know about `-devel` packages or about the `dnf provides` command. They will probably prove to be very useful!
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298871 {#4219
date: 2023-11-30 00:01:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4222 …}
+nested: Doctrine\ORM\PersistentCollection {#4226 …}
+votes: Doctrine\ORM\PersistentCollection {#4228 …}
+reports: Doctrine\ORM\PersistentCollection {#4229 …}
+favourites: Doctrine\ORM\PersistentCollection {#4231 …}
+notifications: Doctrine\ORM\PersistentCollection {#4233 …}
-id: 178814
-bodyTs: "'aur/yay':17 'avail':19 'awar':6 'best':43 'break':52 'command':76 'deal':56 'devel':69 'dnf':74 'far':2,23 'fedora':21 'flatpak':28 'game':48 'gsr':12,51 'huge':55 'instal':11,40,63 'issu':33 'know':67 'm':5 'manual':39,62 'option':9,44 'packag':15,70 'permiss':32 'probabl':79 'prove':80 'provid':75 'regard':61 'resolv':31 'system':49 'thank':57 'think':37 'tip':60 'unabl':29 'understand':26 'use':84"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682092"
+editedAt: null
+createdAt: DateTimeImmutable @1701298871 {#4216
date: 2023-11-30 00:01:11.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
If you’re going to install from source at least change the compile config options so the prefix defaults to /opt/program-name.\n
\n
You can further integrate with the system by adding the /opt/program/bin/ and sbin/ dirs to the PATH variable, and add lib/ to /etc/ld.so.conf but it should not be needed normally — only if other programs need to compile against this one.\n
\n
You can also simplify integration by making common dirs for example /opt/.bin and /opt/.lib, adding only those to PATH and ld, and symlinking binaries and libraries from all /opt programs to them.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701330705 {#4257
date: 2023-11-30 08:51:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4264 …}
+nested: Doctrine\ORM\PersistentCollection {#4266 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4269 …}
+favourites: Doctrine\ORM\PersistentCollection {#4271 …}
+notifications: Doctrine\ORM\PersistentCollection {#4273 …}
-id: 180047
-bodyTs: "'/etc/ld.so.conf':44 '/opt':90 '/opt/.bin':73 '/opt/.lib':75 '/opt/program-name':21 '/opt/program/bin':32 'ad':30,76 'add':41 'also':64 'binari':85 'chang':11 'common':69 'compil':13,58 'config':14 'default':19 'dir':35,70 'exampl':72 'go':4 'instal':6 'integr':25,66 'ld':82 'least':10 'lib':42 'librari':87 'make':68 'need':50,56 'normal':51 'one':61 'option':15 'path':38,80 'prefix':18 'program':55,91 're':3 'sbin':34 'simplifi':65 'sourc':8 'symlink':84 'system':28 'variabl':39"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4983445"
+editedAt: DateTimeImmutable @1702298221 {#4254
date: 2023-12-11 13:37:01.0 +01:00
}
+createdAt: DateTimeImmutable @1701330705 {#4252
date: 2023-11-30 08:51:45.0 +01:00
}
} |
|
Show voter details
|
17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4290
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4260
+user: Proxies\__CG__\App\Entity\User {#4263 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4214
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.\n
\n
Thanks for the tips regarding manual installation! I did not know about `-devel` packages or about the `dnf provides` command. They will probably prove to be very useful!
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298871 {#4219
date: 2023-11-30 00:01:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4222 …}
+nested: Doctrine\ORM\PersistentCollection {#4226 …}
+votes: Doctrine\ORM\PersistentCollection {#4228 …}
+reports: Doctrine\ORM\PersistentCollection {#4229 …}
+favourites: Doctrine\ORM\PersistentCollection {#4231 …}
+notifications: Doctrine\ORM\PersistentCollection {#4233 …}
-id: 178814
-bodyTs: "'aur/yay':17 'avail':19 'awar':6 'best':43 'break':52 'command':76 'deal':56 'devel':69 'dnf':74 'far':2,23 'fedora':21 'flatpak':28 'game':48 'gsr':12,51 'huge':55 'instal':11,40,63 'issu':33 'know':67 'm':5 'manual':39,62 'option':9,44 'packag':15,70 'permiss':32 'probabl':79 'prove':80 'provid':75 'regard':61 'resolv':31 'system':49 'thank':57 'think':37 'tip':60 'unabl':29 'understand':26 'use':84"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682092"
+editedAt: null
+createdAt: DateTimeImmutable @1701298871 {#4216
date: 2023-11-30 00:01:11.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
If you’re going to install from source at least change the compile config options so the prefix defaults to /opt/program-name.\n
\n
You can further integrate with the system by adding the /opt/program/bin/ and sbin/ dirs to the PATH variable, and add lib/ to /etc/ld.so.conf but it should not be needed normally — only if other programs need to compile against this one.\n
\n
You can also simplify integration by making common dirs for example /opt/.bin and /opt/.lib, adding only those to PATH and ld, and symlinking binaries and libraries from all /opt programs to them.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701330705 {#4257
date: 2023-11-30 08:51:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4264 …}
+nested: Doctrine\ORM\PersistentCollection {#4266 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4269 …}
+favourites: Doctrine\ORM\PersistentCollection {#4271 …}
+notifications: Doctrine\ORM\PersistentCollection {#4273 …}
-id: 180047
-bodyTs: "'/etc/ld.so.conf':44 '/opt':90 '/opt/.bin':73 '/opt/.lib':75 '/opt/program-name':21 '/opt/program/bin':32 'ad':30,76 'add':41 'also':64 'binari':85 'chang':11 'common':69 'compil':13,58 'config':14 'default':19 'dir':35,70 'exampl':72 'go':4 'instal':6 'integr':25,66 'ld':82 'least':10 'lib':42 'librari':87 'make':68 'need':50,56 'normal':51 'one':61 'option':15 'path':38,80 'prefix':18 'program':55,91 're':3 'sbin':34 'simplifi':65 'sourc':8 'symlink':84 'system':28 'variabl':39"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4983445"
+editedAt: DateTimeImmutable @1702298221 {#4254
date: 2023-12-11 13:37:01.0 +01:00
}
+createdAt: DateTimeImmutable @1701330705 {#4252
date: 2023-11-30 08:51:45.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: "those are nice tips, thank you!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701354837 {#4285
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
"@lemmyvore@feddit.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4282 …}
+nested: Doctrine\ORM\PersistentCollection {#4279 …}
+votes: Doctrine\ORM\PersistentCollection {#4277 …}
+reports: Doctrine\ORM\PersistentCollection {#4291 …}
+favourites: Doctrine\ORM\PersistentCollection {#4293 …}
+notifications: Doctrine\ORM\PersistentCollection {#4295 …}
-id: 183747
-bodyTs: "'nice':3 'thank':5 'tip':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5696357"
+editedAt: null
+createdAt: DateTimeImmutable @1701354837 {#4288
date: 2023-11-30 15:33:57.0 +01:00
}
} |
|
Show voter details
|
19 |
DENIED
|
edit
|
App\Entity\EntryComment {#4290
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4260
+user: Proxies\__CG__\App\Entity\User {#4263 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4214
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.\n
\n
Thanks for the tips regarding manual installation! I did not know about `-devel` packages or about the `dnf provides` command. They will probably prove to be very useful!
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298871 {#4219
date: 2023-11-30 00:01:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4222 …}
+nested: Doctrine\ORM\PersistentCollection {#4226 …}
+votes: Doctrine\ORM\PersistentCollection {#4228 …}
+reports: Doctrine\ORM\PersistentCollection {#4229 …}
+favourites: Doctrine\ORM\PersistentCollection {#4231 …}
+notifications: Doctrine\ORM\PersistentCollection {#4233 …}
-id: 178814
-bodyTs: "'aur/yay':17 'avail':19 'awar':6 'best':43 'break':52 'command':76 'deal':56 'devel':69 'dnf':74 'far':2,23 'fedora':21 'flatpak':28 'game':48 'gsr':12,51 'huge':55 'instal':11,40,63 'issu':33 'know':67 'm':5 'manual':39,62 'option':9,44 'packag':15,70 'permiss':32 'probabl':79 'prove':80 'provid':75 'regard':61 'resolv':31 'system':49 'thank':57 'think':37 'tip':60 'unabl':29 'understand':26 'use':84"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682092"
+editedAt: null
+createdAt: DateTimeImmutable @1701298871 {#4216
date: 2023-11-30 00:01:11.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
If you’re going to install from source at least change the compile config options so the prefix defaults to /opt/program-name.\n
\n
You can further integrate with the system by adding the /opt/program/bin/ and sbin/ dirs to the PATH variable, and add lib/ to /etc/ld.so.conf but it should not be needed normally — only if other programs need to compile against this one.\n
\n
You can also simplify integration by making common dirs for example /opt/.bin and /opt/.lib, adding only those to PATH and ld, and symlinking binaries and libraries from all /opt programs to them.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701330705 {#4257
date: 2023-11-30 08:51:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4264 …}
+nested: Doctrine\ORM\PersistentCollection {#4266 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4269 …}
+favourites: Doctrine\ORM\PersistentCollection {#4271 …}
+notifications: Doctrine\ORM\PersistentCollection {#4273 …}
-id: 180047
-bodyTs: "'/etc/ld.so.conf':44 '/opt':90 '/opt/.bin':73 '/opt/.lib':75 '/opt/program-name':21 '/opt/program/bin':32 'ad':30,76 'add':41 'also':64 'binari':85 'chang':11 'common':69 'compil':13,58 'config':14 'default':19 'dir':35,70 'exampl':72 'go':4 'instal':6 'integr':25,66 'ld':82 'least':10 'lib':42 'librari':87 'make':68 'need':50,56 'normal':51 'one':61 'option':15 'path':38,80 'prefix':18 'program':55,91 're':3 'sbin':34 'simplifi':65 'sourc':8 'symlink':84 'system':28 'variabl':39"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4983445"
+editedAt: DateTimeImmutable @1702298221 {#4254
date: 2023-12-11 13:37:01.0 +01:00
}
+createdAt: DateTimeImmutable @1701330705 {#4252
date: 2023-11-30 08:51:45.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: "those are nice tips, thank you!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701354837 {#4285
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
"@lemmyvore@feddit.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4282 …}
+nested: Doctrine\ORM\PersistentCollection {#4279 …}
+votes: Doctrine\ORM\PersistentCollection {#4277 …}
+reports: Doctrine\ORM\PersistentCollection {#4291 …}
+favourites: Doctrine\ORM\PersistentCollection {#4293 …}
+notifications: Doctrine\ORM\PersistentCollection {#4295 …}
-id: 183747
-bodyTs: "'nice':3 'thank':5 'tip':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5696357"
+editedAt: null
+createdAt: DateTimeImmutable @1701354837 {#4288
date: 2023-11-30 15:33:57.0 +01:00
}
} |
|
Show voter details
|
20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4290
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4260
+user: Proxies\__CG__\App\Entity\User {#4263 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4214
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4099
+user: App\Entity\User {#4048 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing `install.sh` script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.\n
\n
Then, answering your question: to build against libraries you need to install corresponding `-devel` packages. In Fedora their names can differ from the library name (e. g. not `libglvnd-devel`, but `glvnd-devel`, you need to search them yourself). For `wayland-scanner` you need `wayland-devel` as you can find [here](https://pkgs.org/search/?q=wayland-scanner&on=files) or with command `dnf provides ‘*/wayland-scanner’`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1702478633 {#4108
date: 2023-12-13 15:43:53.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4097 …}
+nested: Doctrine\ORM\PersistentCollection {#4095 …}
+votes: Doctrine\ORM\PersistentCollection {#4093 …}
+reports: Doctrine\ORM\PersistentCollection {#4091 …}
+favourites: Doctrine\ORM\PersistentCollection {#4059 …}
+notifications: Doctrine\ORM\PersistentCollection {#4063 …}
-id: 178734
-bodyTs: "'/search/?q=wayland-scanner&on=files)':123 '/wayland-scanner':129 'answer':67 'bad':6 'base':14 'better':60 'break':18 'broken':55 'build':71 'command':126 'correspond':78 'depend':56 'devel':79,96,100,115 'develop':32 'differ':86 'distro':15 'dnf':127 'e':91 'even':39 'everyth':41 'fedora':82 'find':119 'fine':44 'first':1 'g':92 'general':4 'get':54 'glvnd':99 'glvnd-devel':98 'go':43 'idea':7 'instal':10,52,77 'install.sh':24 'libglvnd':95 'libglvnd-devel':94 'librari':73,89 'manual':9 'mean':30 'name':84,90 'need':75,102,112 'packag':13,65,80 'pkgs.org':122 'pkgs.org/search/?q=wayland-scanner&on=files)':121 'prebuilt':63 'program':50 'provid':23,128 'question':69 'quit':27 'rpm':64 'scanner':110 'script':25 'search':61,104 'softwar':11 'someth':19,35 'stop':58 'system':22,47 'uncommon':28,36 'unexpect':38 'updat':48 'wayland':109,114 'wayland-devel':113 'wayland-scann':108 'work':59"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6236178"
+editedAt: null
+createdAt: DateTimeImmutable @1701297897 {#4040
date: 2023-11-29 23:44:57.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.\n
\n
Thanks for the tips regarding manual installation! I did not know about `-devel` packages or about the `dnf provides` command. They will probably prove to be very useful!
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701298871 {#4219
date: 2023-11-30 00:01:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4222 …}
+nested: Doctrine\ORM\PersistentCollection {#4226 …}
+votes: Doctrine\ORM\PersistentCollection {#4228 …}
+reports: Doctrine\ORM\PersistentCollection {#4229 …}
+favourites: Doctrine\ORM\PersistentCollection {#4231 …}
+notifications: Doctrine\ORM\PersistentCollection {#4233 …}
-id: 178814
-bodyTs: "'aur/yay':17 'avail':19 'awar':6 'best':43 'break':52 'command':76 'deal':56 'devel':69 'dnf':74 'far':2,23 'fedora':21 'flatpak':28 'game':48 'gsr':12,51 'huge':55 'instal':11,40,63 'issu':33 'know':67 'm':5 'manual':39,62 'option':9,44 'packag':15,70 'permiss':32 'probabl':79 'prove':80 'provid':75 'regard':61 'resolv':31 'system':49 'thank':57 'think':37 'tip':60 'unabl':29 'understand':26 'use':84"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5682092"
+editedAt: null
+createdAt: DateTimeImmutable @1701298871 {#4216
date: 2023-11-30 00:01:11.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: """
If you’re going to install from source at least change the compile config options so the prefix defaults to /opt/program-name.\n
\n
You can further integrate with the system by adding the /opt/program/bin/ and sbin/ dirs to the PATH variable, and add lib/ to /etc/ld.so.conf but it should not be needed normally — only if other programs need to compile against this one.\n
\n
You can also simplify integration by making common dirs for example /opt/.bin and /opt/.lib, adding only those to PATH and ld, and symlinking binaries and libraries from all /opt programs to them.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701330705 {#4257
date: 2023-11-30 08:51:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4264 …}
+nested: Doctrine\ORM\PersistentCollection {#4266 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4269 …}
+favourites: Doctrine\ORM\PersistentCollection {#4271 …}
+notifications: Doctrine\ORM\PersistentCollection {#4273 …}
-id: 180047
-bodyTs: "'/etc/ld.so.conf':44 '/opt':90 '/opt/.bin':73 '/opt/.lib':75 '/opt/program-name':21 '/opt/program/bin':32 'ad':30,76 'add':41 'also':64 'binari':85 'chang':11 'common':69 'compil':13,58 'config':14 'default':19 'dir':35,70 'exampl':72 'go':4 'instal':6 'integr':25,66 'ld':82 'least':10 'lib':42 'librari':87 'make':68 'need':50,56 'normal':51 'one':61 'option':15 'path':38,80 'prefix':18 'program':55,91 're':3 'sbin':34 'simplifi':65 'sourc':8 'symlink':84 'system':28 'variabl':39"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.nl/comment/4983445"
+editedAt: DateTimeImmutable @1702298221 {#4254
date: 2023-12-11 13:37:01.0 +01:00
}
+createdAt: DateTimeImmutable @1701330705 {#4252
date: 2023-11-30 08:51:45.0 +01:00
}
}
+root: App\Entity\EntryComment {#4099}
+body: "those are nice tips, thank you!"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701354837 {#4285
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@bizdelnick@lemmy.ml"
"@lemmyvore@feddit.nl"
]
+children: Doctrine\ORM\PersistentCollection {#4282 …}
+nested: Doctrine\ORM\PersistentCollection {#4279 …}
+votes: Doctrine\ORM\PersistentCollection {#4277 …}
+reports: Doctrine\ORM\PersistentCollection {#4291 …}
+favourites: Doctrine\ORM\PersistentCollection {#4293 …}
+notifications: Doctrine\ORM\PersistentCollection {#4295 …}
-id: 183747
-bodyTs: "'nice':3 'thank':5 'tip':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5696357"
+editedAt: null
+createdAt: DateTimeImmutable @1701354837 {#4288
date: 2023-11-30 15:33:57.0 +01:00
}
} |
|
Show voter details
|
21 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
22 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4145
+user: App\Entity\User {#4129 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
> I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
You can just run the same command on the executable installed by flatpak. On my system it can be found in `/var/lib/flatpak/app/{app name}/current/active/files/bin`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702478570 {#4151
date: 2023-12-13 15:42:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4137 …}
+nested: Doctrine\ORM\PersistentCollection {#4140 …}
+votes: Doctrine\ORM\PersistentCollection {#4138 …}
+reports: Doctrine\ORM\PersistentCollection {#4136 …}
+favourites: Doctrine\ORM\PersistentCollection {#4135 …}
+notifications: Doctrine\ORM\PersistentCollection {#4126 …}
-id: 180452
-bodyTs: "'/current/active/files/bin':69 '/var/lib/flatpak/app':66 'admin':12 'app':67 'call':15 'cap':10 'command':51 'ep':13 'execut':18,54 'feel':39 'flatpak':31,57 'found':64 'free':40 'gsr':7,37 'instal':36,55 'install.sh':5 'know':22,44 'let':42 'like':28 'manual':38 'name':68 'notic':2 'replic':26 'run':48 'setcap':9 'simpler':34 'someth':27 'sys':11 'system':60 'way':24"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sopuli.xyz/comment/5020970"
+editedAt: null
+createdAt: DateTimeImmutable @1701343767 {#4149
date: 2023-11-30 12:29:27.0 +01:00
}
} |
|
Show voter details
|
23 |
DENIED
|
edit
|
App\Entity\EntryComment {#4145
+user: App\Entity\User {#4129 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
> I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
You can just run the same command on the executable installed by flatpak. On my system it can be found in `/var/lib/flatpak/app/{app name}/current/active/files/bin`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702478570 {#4151
date: 2023-12-13 15:42:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4137 …}
+nested: Doctrine\ORM\PersistentCollection {#4140 …}
+votes: Doctrine\ORM\PersistentCollection {#4138 …}
+reports: Doctrine\ORM\PersistentCollection {#4136 …}
+favourites: Doctrine\ORM\PersistentCollection {#4135 …}
+notifications: Doctrine\ORM\PersistentCollection {#4126 …}
-id: 180452
-bodyTs: "'/current/active/files/bin':69 '/var/lib/flatpak/app':66 'admin':12 'app':67 'call':15 'cap':10 'command':51 'ep':13 'execut':18,54 'feel':39 'flatpak':31,57 'found':64 'free':40 'gsr':7,37 'instal':36,55 'install.sh':5 'know':22,44 'let':42 'like':28 'manual':38 'name':68 'notic':2 'replic':26 'run':48 'setcap':9 'simpler':34 'someth':27 'sys':11 'system':60 'way':24"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sopuli.xyz/comment/5020970"
+editedAt: null
+createdAt: DateTimeImmutable @1701343767 {#4149
date: 2023-11-30 12:29:27.0 +01:00
}
} |
|
Show voter details
|
24 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4145
+user: App\Entity\User {#4129 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
> I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
You can just run the same command on the executable installed by flatpak. On my system it can be found in `/var/lib/flatpak/app/{app name}/current/active/files/bin`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702478570 {#4151
date: 2023-12-13 15:42:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4137 …}
+nested: Doctrine\ORM\PersistentCollection {#4140 …}
+votes: Doctrine\ORM\PersistentCollection {#4138 …}
+reports: Doctrine\ORM\PersistentCollection {#4136 …}
+favourites: Doctrine\ORM\PersistentCollection {#4135 …}
+notifications: Doctrine\ORM\PersistentCollection {#4126 …}
-id: 180452
-bodyTs: "'/current/active/files/bin':69 '/var/lib/flatpak/app':66 'admin':12 'app':67 'call':15 'cap':10 'command':51 'ep':13 'execut':18,54 'feel':39 'flatpak':31,57 'found':64 'free':40 'gsr':7,37 'instal':36,55 'install.sh':5 'know':22,44 'let':42 'like':28 'manual':38 'name':68 'notic':2 'replic':26 'run':48 'setcap':9 'simpler':34 'someth':27 'sys':11 'system':60 'way':24"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sopuli.xyz/comment/5020970"
+editedAt: null
+createdAt: DateTimeImmutable @1701343767 {#4149
date: 2023-11-30 12:29:27.0 +01:00
}
} |
|
Show voter details
|
25 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
26 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4238
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4145
+user: App\Entity\User {#4129 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
> I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
You can just run the same command on the executable installed by flatpak. On my system it can be found in `/var/lib/flatpak/app/{app name}/current/active/files/bin`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702478570 {#4151
date: 2023-12-13 15:42:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4137 …}
+nested: Doctrine\ORM\PersistentCollection {#4140 …}
+votes: Doctrine\ORM\PersistentCollection {#4138 …}
+reports: Doctrine\ORM\PersistentCollection {#4136 …}
+favourites: Doctrine\ORM\PersistentCollection {#4135 …}
+notifications: Doctrine\ORM\PersistentCollection {#4126 …}
-id: 180452
-bodyTs: "'/current/active/files/bin':69 '/var/lib/flatpak/app':66 'admin':12 'app':67 'call':15 'cap':10 'command':51 'ep':13 'execut':18,54 'feel':39 'flatpak':31,57 'found':64 'free':40 'gsr':7,37 'instal':36,55 'install.sh':5 'know':22,44 'let':42 'like':28 'manual':38 'name':68 'notic':2 'replic':26 'run':48 'setcap':9 'simpler':34 'someth':27 'sys':11 'system':60 'way':24"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sopuli.xyz/comment/5020970"
+editedAt: null
+createdAt: DateTimeImmutable @1701343767 {#4149
date: 2023-11-30 12:29:27.0 +01:00
}
}
+root: App\Entity\EntryComment {#4145}
+body: """
I didn’t consider that an option because whenever I searched for setcap and flatpak, most threads were pretty dismissive and told OP that flatpak is made with security in mind so doing that isn’t supported.\n
\n
Regardless, I tried it just now, but the password prompt (image below) still shows up when launching the autostart .desktop file I created. The .desktop file launches a script I wrote, which in turn actually starts GSR through flatpak, in case that changes anything.\n
\n
\n
\n
Do I assume correctly that this prompt might be gone if I set the capabilities of `/usr/bin/flatpak`? It’s not something I want to do, so I’ll probably keep trying to get the manually built version installed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701354645 {#4235
date: 2023-11-30 15:30:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@mex@sopuli.xyz"
]
+children: Doctrine\ORM\PersistentCollection {#4239 …}
+nested: Doctrine\ORM\PersistentCollection {#4241 …}
+votes: Doctrine\ORM\PersistentCollection {#4243 …}
+reports: Doctrine\ORM\PersistentCollection {#4245 …}
+favourites: Doctrine\ORM\PersistentCollection {#4247 …}
+notifications: Doctrine\ORM\PersistentCollection {#4249 …}
-id: 183743
-bodyTs: "'/pictrs/image/7ff4e639-2f23-4bee-9cd5-ee486aa72ece.png)':86 '/usr/bin/flatpak':103 'actual':72 'anyth':81 'assum':89 'autostart':56 'built':122 'capabl':101 'case':78 'chang':80 'consid':4 'correct':90 'creat':60 'desktop':57,62 'didn':2 'dismiss':20 'file':58,63 'flatpak':15,25,76 'get':119 'gone':96 'gsr':74 'imag':48 'instal':124 'isn':35 'keep':116 'launch':54,64 'lemmy.world':85 'lemmy.world/pictrs/image/7ff4e639-2f23-4bee-9cd5-ee486aa72ece.png)':84 'll':114 'made':27 'manual':121 'might':94 'mind':31 'op':23 'option':7 'password':46,82 'pretti':19 'probabl':115 'prompt':47,83,93 'regardless':38 'script':66 'search':11 'secur':29 'set':99 'setcap':13 'show':51 'someth':107 'start':73 'still':50 'support':37 'thread':17 'told':22 'tri':40,117 'turn':71 'version':123 'want':109 'whenev':9 'wrote':68"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5696292"
+editedAt: DateTimeImmutable @1702478576 {#4236
date: 2023-12-13 15:42:56.0 +01:00
}
+createdAt: DateTimeImmutable @1701354645 {#4237
date: 2023-11-30 15:30:45.0 +01:00
}
} |
|
Show voter details
|
27 |
DENIED
|
edit
|
App\Entity\EntryComment {#4238
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4145
+user: App\Entity\User {#4129 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
> I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
You can just run the same command on the executable installed by flatpak. On my system it can be found in `/var/lib/flatpak/app/{app name}/current/active/files/bin`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702478570 {#4151
date: 2023-12-13 15:42:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4137 …}
+nested: Doctrine\ORM\PersistentCollection {#4140 …}
+votes: Doctrine\ORM\PersistentCollection {#4138 …}
+reports: Doctrine\ORM\PersistentCollection {#4136 …}
+favourites: Doctrine\ORM\PersistentCollection {#4135 …}
+notifications: Doctrine\ORM\PersistentCollection {#4126 …}
-id: 180452
-bodyTs: "'/current/active/files/bin':69 '/var/lib/flatpak/app':66 'admin':12 'app':67 'call':15 'cap':10 'command':51 'ep':13 'execut':18,54 'feel':39 'flatpak':31,57 'found':64 'free':40 'gsr':7,37 'instal':36,55 'install.sh':5 'know':22,44 'let':42 'like':28 'manual':38 'name':68 'notic':2 'replic':26 'run':48 'setcap':9 'simpler':34 'someth':27 'sys':11 'system':60 'way':24"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sopuli.xyz/comment/5020970"
+editedAt: null
+createdAt: DateTimeImmutable @1701343767 {#4149
date: 2023-11-30 12:29:27.0 +01:00
}
}
+root: App\Entity\EntryComment {#4145}
+body: """
I didn’t consider that an option because whenever I searched for setcap and flatpak, most threads were pretty dismissive and told OP that flatpak is made with security in mind so doing that isn’t supported.\n
\n
Regardless, I tried it just now, but the password prompt (image below) still shows up when launching the autostart .desktop file I created. The .desktop file launches a script I wrote, which in turn actually starts GSR through flatpak, in case that changes anything.\n
\n
\n
\n
Do I assume correctly that this prompt might be gone if I set the capabilities of `/usr/bin/flatpak`? It’s not something I want to do, so I’ll probably keep trying to get the manually built version installed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701354645 {#4235
date: 2023-11-30 15:30:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@mex@sopuli.xyz"
]
+children: Doctrine\ORM\PersistentCollection {#4239 …}
+nested: Doctrine\ORM\PersistentCollection {#4241 …}
+votes: Doctrine\ORM\PersistentCollection {#4243 …}
+reports: Doctrine\ORM\PersistentCollection {#4245 …}
+favourites: Doctrine\ORM\PersistentCollection {#4247 …}
+notifications: Doctrine\ORM\PersistentCollection {#4249 …}
-id: 183743
-bodyTs: "'/pictrs/image/7ff4e639-2f23-4bee-9cd5-ee486aa72ece.png)':86 '/usr/bin/flatpak':103 'actual':72 'anyth':81 'assum':89 'autostart':56 'built':122 'capabl':101 'case':78 'chang':80 'consid':4 'correct':90 'creat':60 'desktop':57,62 'didn':2 'dismiss':20 'file':58,63 'flatpak':15,25,76 'get':119 'gone':96 'gsr':74 'imag':48 'instal':124 'isn':35 'keep':116 'launch':54,64 'lemmy.world':85 'lemmy.world/pictrs/image/7ff4e639-2f23-4bee-9cd5-ee486aa72ece.png)':84 'll':114 'made':27 'manual':121 'might':94 'mind':31 'op':23 'option':7 'password':46,82 'pretti':19 'probabl':115 'prompt':47,83,93 'regardless':38 'script':66 'search':11 'secur':29 'set':99 'setcap':13 'show':51 'someth':107 'start':73 'still':50 'support':37 'thread':17 'told':22 'tri':40,117 'turn':71 'version':123 'want':109 'whenev':9 'wrote':68"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5696292"
+editedAt: DateTimeImmutable @1702478576 {#4236
date: 2023-12-13 15:42:56.0 +01:00
}
+createdAt: DateTimeImmutable @1701354645 {#4237
date: 2023-11-30 15:30:45.0 +01:00
}
} |
|
Show voter details
|
28 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4238
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "Checking-dependencies-for-manual-build-and-install-of-software"
+title: "Checking dependencies for manual build and install of software"
+url: null
+body: """
I am pretty new to linux so please excuse any foolish mistakes.\n
\n
I am trying to manually install [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/about/)(GSR) to get rid of an annoying password prompt that I can’t seem to disable in the flatpak version. I know there must be some way to do it because this prompt didn’t show up on Pop!_OS, but maybe it’s just not possible on Nobara KDE/Fedora. I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
I tried checking the dependencies listed, but was unable to figure out how to really make sure they are installed and accessible for GSR.\n
\n
For example: I tried checking for `libglvnd` by running `dnf list libglvnd`. Sure enough, it returns\n
\n
```\n
\n
<span style="color:#323232;">Installed Packages\n
</span><span style="color:#323232;">libglvnd.i686 1:1.6.0-2.fc38 @anaconda\n
</span><span style="color:#323232;">libglvnd.x86_64 1:1.6.0-2.fc38 @anaconda\n
</span>\n
```\n
\n
But then I tried checking for `mesa`, so I ran `dnf list mesa`. But it returned\n
\n
```\n
\n
<span style="color:#323232;">Available Packages\n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos \n
</span><span style="color:#323232;">mesa.src 23.2.1-1.fc38 nobara-baseos-multilib\n
</span>\n
```\n
\n
It says ‘available packages’, so not installed, right?\n
\n
Well, `glxinfo -B` says I am using mesa 23.2.1, so it seems to be installed, I guess?\n
\n
So, just assuming I had everything necessary, I cloned the repo and tried to just run `install.sh`. However, of course I get an error message: `wayland-scanner: command not found`.\n
\n
I am a bit confused because I am running on wayland, and checked using `loginctl show-session 1 -p Type`.\n
\n
How do I properly make sure the dependencies are available?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 6
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701354837 {#2410
date: 2023-11-30 15:33:57.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@anaconda"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 18328
-titleTs: "'build':5 'check':1 'depend':2 'instal':7 'manual':4 'softwar':9"
-bodyTs: "'-1':193,200 '-2':164,170 '/gpu-screen-recorder/about/)(gsr)':25 '1':162,168,280 '1.6.0':163,169 '23.2.1':192,199,222 'access':140 'admin':86 'anaconda':166,172 'annoy':31 'assum':233 'avail':189,208,292 'b':216 'baseo':197,204 'bit':265 'call':89 'cap':84 'check':121,147,177,274 'clone':239 'command':259 'confus':266 'cours':250 'depend':123,290 'didn':58 'disabl':40 'dnf':152,183 'enough':156 'ep':87 'error':254 'everyth':236 'exampl':144 'excus':9 'execut':92 'fc38':165,171,194,201 'feel':113 'figur':129 'flatpak':43,105 'foolish':11 'found':261 'free':114 'get':27,252 'git.dec05eba.com':24 'git.dec05eba.com/gpu-screen-recorder/about/)(gsr)':23 'glxinfo':215 'gpu':20 'gpu-screen-record':19 'gsr':81,111,142 'guess':230 'howev':248 'instal':18,110,138,159,212,228 'install.sh':79,247 'kde/fedora':74 'know':46,96,118 'let':116 'libglvnd':149,154 'libglvnd.i686':161 'libglvnd.x86_64':167 'like':102 'linux':6 'list':124,153,184 'loginctl':276 'make':134,287 'manual':17,112 'mayb':66 'mesa':179,185,221 'mesa.src':191,198 'messag':255 'mistak':12 'multilib':205 'must':48 'necessari':237 'new':4 'nobara':73,196,203 'nobara-baseo':195 'nobara-baseos-multilib':202 'notic':76 'os':64 'p':281 'packag':160,190,209 'password':32 'pleas':8 'pop':63 'possibl':71 'pretti':3 'prompt':33,57 'proper':286 'ran':182 'realli':133 'record':22 'replic':100 'repo':241 'return':158,188 'rid':28 'right':213 'run':151,246,270 'say':207,217 'scanner':258 'screen':21 'seem':38,225 'session':279 'setcap':83 'show':60,278 'show-sess':277 'simpler':108 'someth':101 'sure':135,155,288 'sys':85 'tri':15,120,146,176,243 'type':282 'unabl':127 'use':220,275 'version':44 'way':51,98 'wayland':257,272 'wayland-scann':256 'well':214"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701346938
+visibility: "visible "
+apId: "https://lemmy.world/post/8937445"
+editedAt: DateTimeImmutable @1702226623 {#1850
date: 2023-12-10 17:43:43.0 +01:00
}
+createdAt: DateTimeImmutable @1701295438 {#2420
date: 2023-11-29 23:03:58.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4145
+user: App\Entity\User {#4129 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
> I noticed in the install.sh of GSR, that `setcap cap_sys_admin+ep` is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.\n
\n
You can just run the same command on the executable installed by flatpak. On my system it can be found in `/var/lib/flatpak/app/{app name}/current/active/files/bin`.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1702478570 {#4151
date: 2023-12-13 15:42:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4137 …}
+nested: Doctrine\ORM\PersistentCollection {#4140 …}
+votes: Doctrine\ORM\PersistentCollection {#4138 …}
+reports: Doctrine\ORM\PersistentCollection {#4136 …}
+favourites: Doctrine\ORM\PersistentCollection {#4135 …}
+notifications: Doctrine\ORM\PersistentCollection {#4126 …}
-id: 180452
-bodyTs: "'/current/active/files/bin':69 '/var/lib/flatpak/app':66 'admin':12 'app':67 'call':15 'cap':10 'command':51 'ep':13 'execut':18,54 'feel':39 'flatpak':31,57 'found':64 'free':40 'gsr':7,37 'instal':36,55 'install.sh':5 'know':22,44 'let':42 'like':28 'manual':38 'name':68 'notic':2 'replic':26 'run':48 'setcap':9 'simpler':34 'someth':27 'sys':11 'system':60 'way':24"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://sopuli.xyz/comment/5020970"
+editedAt: null
+createdAt: DateTimeImmutable @1701343767 {#4149
date: 2023-11-30 12:29:27.0 +01:00
}
}
+root: App\Entity\EntryComment {#4145}
+body: """
I didn’t consider that an option because whenever I searched for setcap and flatpak, most threads were pretty dismissive and told OP that flatpak is made with security in mind so doing that isn’t supported.\n
\n
Regardless, I tried it just now, but the password prompt (image below) still shows up when launching the autostart .desktop file I created. The .desktop file launches a script I wrote, which in turn actually starts GSR through flatpak, in case that changes anything.\n
\n
\n
\n
Do I assume correctly that this prompt might be gone if I set the capabilities of `/usr/bin/flatpak`? It’s not something I want to do, so I’ll probably keep trying to get the manually built version installed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701354645 {#4235
date: 2023-11-30 15:30:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@anaconda"
"@meekah@lemmy.world"
"@mex@sopuli.xyz"
]
+children: Doctrine\ORM\PersistentCollection {#4239 …}
+nested: Doctrine\ORM\PersistentCollection {#4241 …}
+votes: Doctrine\ORM\PersistentCollection {#4243 …}
+reports: Doctrine\ORM\PersistentCollection {#4245 …}
+favourites: Doctrine\ORM\PersistentCollection {#4247 …}
+notifications: Doctrine\ORM\PersistentCollection {#4249 …}
-id: 183743
-bodyTs: "'/pictrs/image/7ff4e639-2f23-4bee-9cd5-ee486aa72ece.png)':86 '/usr/bin/flatpak':103 'actual':72 'anyth':81 'assum':89 'autostart':56 'built':122 'capabl':101 'case':78 'chang':80 'consid':4 'correct':90 'creat':60 'desktop':57,62 'didn':2 'dismiss':20 'file':58,63 'flatpak':15,25,76 'get':119 'gone':96 'gsr':74 'imag':48 'instal':124 'isn':35 'keep':116 'launch':54,64 'lemmy.world':85 'lemmy.world/pictrs/image/7ff4e639-2f23-4bee-9cd5-ee486aa72ece.png)':84 'll':114 'made':27 'manual':121 'might':94 'mind':31 'op':23 'option':7 'password':46,82 'pretti':19 'probabl':115 'prompt':47,83,93 'regardless':38 'script':66 'search':11 'secur':29 'set':99 'setcap':13 'show':51 'someth':107 'start':73 'still':50 'support':37 'thread':17 'told':22 'tri':40,117 'turn':71 'version':123 'want':109 'whenev':9 'wrote':68"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5696292"
+editedAt: DateTimeImmutable @1702478576 {#4236
date: 2023-12-13 15:42:56.0 +01:00
}
+createdAt: DateTimeImmutable @1701354645 {#4237
date: 2023-11-30 15:30:45.0 +01:00
}
} |
|
Show voter details
|
29 |
DENIED
|
edit
|
App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
} |
|
Show voter details
|