1,425 questions
0
votes
3
answers
466
views
Copying all .desktop files to ~/.local/share/applications/
I'm trying to write a bash script to copy all .desktop files under /nix/store to ~/.local/share/applications/. I'm not particular good with bash, so I would like assistance. I used the find command to ...
1
vote
1
answer
707
views
Permanently change the color palette in the GTK color picker
When using the color picker widget GTK applications I often use a different color Palette to the one given by default, as shown in the picture below. While the program is running I can change the ...
2
votes
1
answer
864
views
Place a Window behind desktop icons using PyQt on Ubuntu/GNOME
I'm trying to develop a simple cross-platform Wallpaper manager, but I am not able to find any method to place my PyQt Window between the current wallpaper and the desktop icons using XLib (on windows ...
1
vote
1
answer
609
views
How to add a slider to a gnome shell extension?
I am trying to add a slider to my extension's indicator, like they do in the sound chooser for example:
I tried this code:
class Indicator extends PanelMenu.Button {
_init() {
super._init(...
1
vote
2
answers
3k
views
Running IntelliJ in WSL2 - how to make keyboard shortcut ctrl+alt+arrows work
My environment:
Windows 11 22000.493 -> Host OS
WSL 5.10.60.1
Ubuntu: 20.04.3 LTS -> Guest OS
IntelliJ: Build #IC-213.6777.52, built on January 28, 2022 -> Running inside WSL
I am running ...
0
votes
1
answer
3k
views
how to build gnome shell from source?
I want to install gnome shell on my machine from the project's gitlab repository for testing.
I searched their wiki but couldn't find any specific documentation to do this.
I tried with gnome builder ...
1
vote
4
answers
4k
views
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. Pop-Os 21.10 Gnome V40.4.0
There seems to be a lot of similar questions to this. I looked at 5 of them on StackOverflow and a few elsewhere (e.g. https://discuss.pixls.us/t/solved-could-not-load-the-qt-platform-plugin-xcb-in-...
0
votes
1
answer
2k
views
gnome-session-wayland not found in ubuntu 21.10
I am trying to install the wayland session on gnome 40.5 and to do so they say to install the package gnome-session-wayland but as soon as I try to install it on Ubuntu 21.10 I get an error saying ...
0
votes
2
answers
345
views
How to export GTK app for Raspberry pi os with Gnome Builder (my opereting system is ubuntu)
I want to make app for raspberry pi. I chosed gtk for gui library because it has a good looking ui and it is free. But i have 1 problem with it: i don't know how to export simple app that will work on ...
0
votes
1
answer
349
views
The memory information is different between psensors and gnome-system-monitor
I am using Ubuntu to run some calculation, so I'd like to check the memory usage during the calculation. But the information from gnome-system-monitor and psensors is different.
As shown in the ...
0
votes
1
answer
242
views
Segmentation fault while accessing other GTK widgets in a callback
To access other widgets in a callback, I packed them in a structure defined as follows:
typedef struct SettingsModel
{
bool SyncEn;
int DeviceId;
int MeasurementId;
GtkWidget *...
3
votes
1
answer
379
views
Gtk does not save text to the clipboard if I close the app right after
I'm new to Gnome development.
I am trying do create a button which, when pressed, will copy the content of its label to the clipboard and closes the app.
This is my code, where "self" is a ...
0
votes
0
answers
634
views
How to install Gnome specific version on Arch
I am using Arch with GNOME 41.2 and want to use GNOME 3.38.3 how can I install it, I checked everywhere but I am unable to find any installation guide that tells how to install any specific version of ...
2
votes
1
answer
1k
views
Is Desktop#browse supported on Linux platform just for Gnome desktop?
Running my Java application with this code:
if (Desktop.isDesktopSupported())
{
Desktop d = Desktop.getDesktop();
try
{
d.browse(new URI("someurl")); // someurl is just ...
2
votes
0
answers
131
views
How to group application windows launched via 'ssh -X'
When I launch an application locally via its .desktop file, windows are grouped by Gnome.
When I use an identical file, but using ssh -X in the Exec line, to launch the application on a remote machine ...
0
votes
1
answer
2k
views
Firefox in kiosk mode is able to close with touchscreen gesture
I want to run websites on a kiosk setup with only a touchscreen. I’m using Gnome (for the virtual keyboard) and I use the Firefox V92.0 browser. When a website is opened, I can make a gesture from top ...
0
votes
1
answer
205
views
How do i compile multi threading gtkmm programs in gnome builder
I would like to compile gtkmm programs that use mutithreading. I used this example to test multithreading.
Unfortunately I get some linking errors when I compile:
/usr/bin/ld: src/...
0
votes
1
answer
311
views
Gnome shell extension login callback
I've created a custom GJS extension to connect into VPN. Basically it's a wrapper around a shell script, which is controlled from taskbar. There is a one issue, that after PC goes into suspend mode ...
0
votes
1
answer
163
views
How to merge two bash calls into one in linux
I have 2 linux gnome commands that I would like to merge into one.
One is giving me the title:
gdbus call -e -d org.gnome.Shell -o /org/gnome/Shell -m org.gnome.Shell.Eval global.get_window_actors\(\)[...
4
votes
0
answers
281
views
gnome_keyring_unlock_sync equivalent in libsecret, to unlock a gnome keyring?
I was using gnome_keyring_unlock_sync to unlock a keyring. However, libgnome-keyring-dev is going outdated, and I would like to move to libsecret.
GnomeKeyringResult gnome_keyring_unlock_sync (const ...
1
vote
1
answer
558
views
GNOME application startup latency - reasons
When starting applications under Debian and GNOME I get big startup latencies. Even a simple calculator or a tiny text editor need around 1 second until they show a window. What happens during this ...
0
votes
0
answers
248
views
Terminal Tab Disappears when Opened using Bash Script (Gnome on Ubuntu)
Using a simple Bash script in Ubuntu 20.04, I am trying to let it create a new Gnome terminal tab, then run an interactive Python script inside a LXC container my_lxc.
#!/bin/bash
cmd="python ...
-1
votes
1
answer
2k
views
Debian 11 how to Install GNOME after Install by bootstick [closed]
I made a mistake during the installation of Debian 11. My plan was to run Debian next to Win10 by using Grub2 but installed Debian high secure LVM which overwrote my notebook's complete Harddisk. I am ...
0
votes
1
answer
46
views
Can I use wildcard pattern matching in Libsoup server?
I am using libsoup to implement a HTTP server. I want to catch all wildcard patterns of the form -
"/foo/*/bar/"
in the URL but I dont know how to do this right now.
How can I implement this ...
3
votes
1
answer
795
views
Changing icon of a gnome extension
I can't figure out how to modify the icon of the gnome extension Adjust Brightness Icon https://extensions.gnome.org/extension/1388/adjust-brightness-icon/
The default one is not good, it looks ...