Questions tagged [gnome]

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

GNOME is a desktop environment, composed entirely by free and open-source software. Mostly used on Linux, but also supported by BSD derivates. GNOME Shell is the official user interface to the desktop environment.

Developed by the GNOME Project, under GPL and LGPL Licenses.

Links:

1430 questions
28
votes
5 answers

GTK+ 3.0 and GNOME 3 Programming! Any Blog or Book or Tutorial?

I am new to gtk and gnome programming and like to study GTK+ 3.0 and Gnome 3 programming. Since both of these are recent APIs, I can't find a good tutorial or blog post about these topics. The books I found on GTK+ or GNOME programming are very old…
Jomoos
  • 12,823
  • 10
  • 55
  • 92
26
votes
10 answers

Gnome-Terminal, how to start in a different directory?

Whenever I start my console gnome-terminal in Ubuntu, it starts in the home directory. How can I make it start in a different directory say ~/myfolder? I tried to write cd ~/myfolder in ~/.profile but nothing happens.
Vikrant Chaudhary
  • 11,089
  • 10
  • 53
  • 68
26
votes
2 answers

How to handle keyboard events in gnome shell extensions?

How can I add an event or other method to listen to keypresses on a gnome shell extension? e.g. show a dialog with each key press showing the pressed key? I can not find any example. The documentation mentions a keyboard module, but with that common…
gcb
  • 13,901
  • 7
  • 67
  • 92
25
votes
2 answers

Creating your own syntax highlighting in GEdit?

How do you add a 'keyword' to the GEdit list of keywords? I basiclly want to make the printf function look like a keyword. printf("Hello World\n");
Kredns
  • 36,461
  • 52
  • 152
  • 203
25
votes
2 answers

Gnome 3 (Gnome Shell) JavaScript/CSS engine

I am wondering, which type and version of JavaScript/CSS engines is Gnome 3 aka Gnome Shell using? Is there any information about current version, etc?
hsz
  • 148,279
  • 62
  • 259
  • 315
25
votes
6 answers

How to programmatically change volume in Ubuntu

How do you programmatically change volume in Gnome on Ubuntu, either from the command line or an API (Python preferrably)? The only answers I found to similar questions use amixer, which seems to have no effect on Ubuntu 12.04. Running: amixer set…
Cerin
  • 60,957
  • 96
  • 316
  • 522
24
votes
8 answers

How to make Linux C++ GUI apps

What is the easiest way to make Linux C++ GUI apps? I'm using GNOME and ubuntu 8.10.
Kredns
  • 36,461
  • 52
  • 152
  • 203
23
votes
6 answers

java TrayIcon using image with transparent background

I am using the following code to set a tray icon in Windows and Linux. It works wonderful in Windows and works okay in Linux. In Linux (Ubuntu) I have my panel set to be (somewhat) transparent and when I add a GIF (with a transparent background) the…
Jack
  • 20,735
  • 11
  • 48
  • 48
21
votes
4 answers

Qt application title

I'm developping a Qt application I managed to set the main window title using methode setWindowTitle("my title"); however this changes the name in the application top bar, it doesn't affect the title displayed in the top bar of gnome shell (ubuntu)…
Amxx
  • 3,020
  • 2
  • 24
  • 45
21
votes
7 answers

X11: run a gnome app as another user

I have ubuntu + x11 + gnome. I want to run a graphical application as another user. However, when I start it from the command line using sudo -u otheruser app I get the error "No protocol specified". How can I work arround this?
flybywire
  • 261,858
  • 191
  • 397
  • 503
18
votes
2 answers

X/Gnome: How to measure the geometry of an open window

Is there a standard X / Gnome program that will display the X,Y width and depth in pixels of a window that I select? Something similar to the way an xterm shows you the width and depth of the window (in lines) as you resize it. I'm running on Red…
JohnnyLambada
  • 12,700
  • 11
  • 57
  • 61
18
votes
6 answers

Ruby bindings for GTK+ 3?

I’ve spent some time learning Ruby, and I wanted to move over to some GUI programming. GNOME 3 is the environment most appealing to me at the moment, so I thought I would have a look at GTK+ 3. However, the GTK+ 3 documentation’s Getting Started…
Daniel
  • 4,525
  • 3
  • 38
  • 52
18
votes
3 answers

How to properly configure xstartup file for TightVNC with Ubuntu VPS GNOME environment

I'd like to access my Ubuntu 16.10 VPS (Contabo) with using a GNOME environment with VNC, however I am still facing some issues that I couldn't solve so far. To install and configure the software I ran the following commands: sudo apt-get install…
Matthias Munz
  • 3,583
  • 4
  • 30
  • 47
18
votes
4 answers

Open applications in different workspaces in Gnome

Given my laziness, I tried to write a bash script that opens at once some daily apps in different desktops. This script should work in Gnome. I've written that so far: #!/bin/bash firefox & thunderbird & /usr/bin/netbeans --locale en & amsn…
fbiville
  • 8,407
  • 7
  • 51
  • 79
17
votes
0 answers

Use Eclipse as GNOME Extension IDE

I am trying to develop my own GNOME Extension. I have read several articles: gnome-shell-extensions-getting-started gnome-whiteboards-hello-ide and the official one. StepByStepTutorial#fromScratch-settingUpEclipse From wiki.gnome.org: It is…
Zic0
  • 181
  • 4
1
2
3
95 96