Questions tagged [gnome]
For questions about code that uses any of the GNOME libraries.
gnome
1,433
questions
0
votes
0
answers
5
views
Is there a way to force gnome-initial-setup to adduser with --encrypt-home
I'm building a custom live/persistent Ubuntu iso.
With ecryptfs-utils package already installed, I'm able to create new users with encrypted home directories using adduser --encrypt-home username1.
On ...
-1
votes
1
answer
40
views
How to get Ubuntu 24 to use specific GPU for Gnome RDP [closed]
I have a Ubuntu 24 box with an onboard AMD GPU and a Nvidia GPU that I will use for some Machine Learning.
achilles@dev-ubuntu24:/var/log$ lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i ...
0
votes
1
answer
13
views
Call a Function from Another Class (another file) in Gnome Extension
I am using GNOME Shell 43.9.
my extensions.js looks like:
const Me = ExtensionUtils.getCurrentExtension();
const windowFunctions = Me.imports.windowFunctions;
const markedWindowFunctions = Me.imports....
0
votes
1
answer
38
views
How to change border color of focused window
I am working on a gnome extension. I am trying to put border around windows.
_add_orange_border_to_window = function (win) {
if (!win) return;
let actor = win.get_compositor_private()....
-1
votes
0
answers
42
views
How do you create a .desktop file to run an .sh script?
Problem:
I want to open Windows's .url files in linux
Attempted Solution:
I set application/x-mswinurl's default program to run a script that parses the .url file as text then opens the URL in my ...
0
votes
1
answer
23
views
Electron dialog.showOpenDialog doesn't respect filters on Linux
I want to filter when choose a file with showOpenDialog on Electron.
I would like to make user able to choose Markdown (md) only.
But it is not respected.
So now User can select a file of all type.
...
0
votes
0
answers
35
views
Trying to modify Cinnamon menu
I made some changes to [email protected] applet to add drag and drop functionality:
I added this to class ApplicationButton extends GenericApplicationButton { ...
handleDragOver (source, actor, x, ...
0
votes
0
answers
28
views
Desktop-app only opens terminal but not script
I tried to write a Desktop-App so i could start my pythonscript via the applications-tab. The Desktop-App exists but doesnt do anything somehow.
So i made my python-script executable (works perfectly ...
0
votes
1
answer
30
views
Write to a file from gnome extension
In order to write to a file from the gnome extension, I use replace_contents_bytes_async, as in the example here https://gjs.guide/guides/gio/file-operations.html
extension.js:
import { Extension } ...
0
votes
0
answers
9
views
Maximized XTerm window: 79 lines on one system and 87 lines on another on the same 4K monitor. Why?
I have two systems, one personal and other work. Both connected to the same monitor via KVM switch.
Personal system: Fedora 39, GNome 4.
Work system: Ubuntu 22.04, XFCE
Display resolution set to ...
0
votes
0
answers
28
views
Remove popup and sound when taking a screenshot in gnome extension
When a screenshot is taken in the gnome extension via the captureScreenshot function, a window pops up and the typical sound of taking a photo is played.
extension.js:
import {Extension} from '...
0
votes
1
answer
31
views
"Expected type string for argument 'domain' but got type undefined" error in gnome shell extension
I'm trying to run a gnome extension using the code from this guide https://gjs.guide/extensions/upgrading/legacy-documentation.html#extension
Ubuntu 22.04, GNOME 42.9, wayland
contents of extension.js ...
1
vote
0
answers
75
views
Getting screenshots and title/application name of a window in ubuntu 22.04 wayland
There is a Linux application that collects activities in the current GUI session: once every time it takes a screenshot of the screen and writes down the name (title) of the window that is in focus ...
1
vote
0
answers
53
views
Get result from Eval gnome dbus API method
I'm using the Eval method from the gnome dbus API to get the name of the window that is currently in focus. https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/data/dbus-interfaces/org.gnome.Shell....
0
votes
0
answers
48
views
Fedora 40: ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process
I have an issue with running the `Insightfull.io` Workpuls app on my Fedora 40.
I've installed it as an executable file so all I did :
./Workpuls.AppImage
The application launched successfully but I ...