Skip to main content

Questions tagged [gnome]

For questions about code that uses any of the GNOME libraries.

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 ...
Tarek Eldeeb's user avatar
-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 ...
othnin's user avatar
  • 91
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....
Ahmad Ismail's user avatar
  • 13.1k
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()....
Ahmad Ismail's user avatar
  • 13.1k
-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 ...
ArchieV's user avatar
  • 11
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. ...
KiYugadgeter's user avatar
  • 3,804
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, ...
tomm81's user avatar
  • 1
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 ...
maxdu's user avatar
  • 33
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 } ...
ibse's user avatar
  • 563
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 ...
Raman Krishnan's user avatar
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 '...
ibse's user avatar
  • 563
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 ...
ibse's user avatar
  • 563
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 ...
ibse's user avatar
  • 563
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....
ibse's user avatar
  • 563
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 ...
Mo R's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
96