1,425 questions
0
votes
0
answers
139
views
Why is VS Code using a custom $PATH and how to configure it?
When I run VS Code from Ubuntu graphical interface, and do echo $PATH, I see something like
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:...
8
votes
3
answers
10k
views
Anaconda Navigator Cannot initalize GLX
I use Fedora Nobara. I made an update to Nobara 40. Before that anaconda navigator was working perfectly and now it gives me this error
> conda activate TheWorld
> anaconda-navigator ...
10
votes
2
answers
2k
views
How to change the appearance of the VS Code context menu in Windows/Ubuntu?
I have an issue with the VS Code context menu after a recent update. The context menu looks different from what I’m used to—it appears extremely ugly. Additionally, it only displays 5 items at a time ...
0
votes
0
answers
31
views
Freeze after logging in on specific user gnome 48.0 on fedora
After logging in system freezes (nothing works, only reboot helps).
In dmesg I found that:
[ 6761.970234] gnome-shell[8652]: segfault at 0 ip 00007fa0b4e93e24 sp 00007ffdfeb10a90 error 4 in libgio-2.0....
0
votes
1
answer
141
views
Adwaitia preferences dialog that pops over the application window, rather than poping up within it
I have a GTK4 Adwaita application built with GJS. I'm trying to add a PreferencesDialog that pops up over the ApplicationWindow but blocks interaction with the window, similar to a lot of other ...
4
votes
1
answer
39k
views
How to configure XRDP to work with Gnome on Ubuntu? [closed]
I want to connect to my Ubuntu 22.04 computer with a remote desktop app just like how I connect to my Windows PC. Now XRDP promises to do that, and it is easy to install. However, configuring it so ...
3
votes
3
answers
12k
views
DaVinci Resolve 19.0b1 will not start on Ubuntu 24.04 [closed]
After installing DaVinci Resolve 19.0b1 on Ubuntu 24.04, nothing happens when you try to run the desktop app.
Attempting to run the application in a terminal gives the following error message and then ...
0
votes
1
answer
75
views
Gio.Settings behaviour changing with environment
I have a CMake project where I want to execute a Python script as part of the install target to automatically set a global keyboard shortcut for the target that gets installed.
The script itself works ...
10
votes
4
answers
13k
views
Detect dark application style/theme of currently used desktop in Qt
In our Qt-based C++ application, I'm trying to automatically switch application styles based on whether the user has configured dark or bright theme.
I have figured out the notification of when a ...
119
votes
14
answers
242k
views
How do you find out which version of GTK+ is installed on Ubuntu?
I need to determine which version of GTK+ is installed on Ubuntu
Man does not seem to help
0
votes
0
answers
66
views
SMPlayer can't find and apply papirus theme/style
I am using archlinux, gnome version 48.1. My smplayer can't find and apply papirus theme/style. How can I sovle it :(
Some works I have tried:
I have installed smplayer-themes smplayer-skins via ...
15
votes
2
answers
53k
views
How to remove the Title Bar of Gnome applications [closed]
Problem
I have one Ubuntu20 Desktop(Gnome) and I want it to be fully black and ideal. As reference, I have taken one Ubuntu20 Server and Installed openbox on it.
I hided the title bar of all the ...
0
votes
1
answer
423
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()....
64
votes
8
answers
129k
views
Start Script when Gnome Starts Up
I have a script that I need to start up after the user logs in via a nx client. From what I understand, Gnome starts up after a user logs in (correct me if I am wrong here). Where would I put my ...
0
votes
1
answer
106
views
How do I check if a listed Gio schema is good? GLib-GIO-ERROR attempting to create schema ... without a path
I would like to list the schemas for the purpose of making a setting search tool.
However, some schemas make Gio.Settings.new cause a core dump.
This script requires linux and the "python3-gi&...
1
vote
0
answers
54
views
how to show, maximize and focus a window that is minimized to notification area in Gnome/x11/ubuntu24.04
I have this code to find a window by title,and bring it to focus:
winid=$(wmctrl -l | grep $1 | cut -f1 -d' ')
xdotool windowactivate $winid
it works for windows that are hidden by others etc. But if ...
60
votes
10
answers
68k
views
How can I copy the selection to the clipboard automatically in the GNOME terminal?
I want to make the GNOME terminal behave in such a way that when the end user selects a region on the terminal (with a mouse or mouse key), it gets automatically copied into the clipboard. Is it
...
3
votes
1
answer
5k
views
How to stop gnome-remote-desktop from command line?
The 'gnome-remote-desktop' takes up about 0.5G GPU memory, so I want it to be stopped.enter image description here
I hope it is just being temporarily stopped, not uninstalled, in case if sometime I ...
1
vote
0
answers
289
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
1
answer
140
views
Getting display/workspace dimensions in a GNOME Shell extension
I'm on Ubuntu 22.04 LTS using GNOME Shell 42.9. I've writen an extension that will position and resize a window based on its title, but I want to position the window in the horizontal center of the ...
1
vote
1
answer
131
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 } ...
3
votes
0
answers
2k
views
How to set GTK4 to use system theme?
I compiled and launched simplest GTK4 demo from official GTK documentation using libgtk-4-dev with
#include <gtk/gtk.h>
Somehow, it's considered by my GNOME environment as "legacy" and ...
4
votes
2
answers
14k
views
In gnome-boxes, how do you increase the box size?
The panel of my computer has a resolution of 3840 x 2160 pixels. If I open a gnome-boxes session, the code of the virtual machine occupies a space little bigger than a postage stamp. GNOME-Boxes ...
0
votes
1
answer
58
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
280
views
Do Qt based applications run better on KDE Plasma than on Gnome with Qt installed as a dependency?
As KDE Plasma Linux Desktop Environment is built on Qt and therefore Qt baked into the system. Are there any extra overheads and extra complexities by running a Qt application on Gnome with Qt ...