Skip to main content

Questions tagged [gtk-2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
308 views

Proxychains4 and Tor

this is my first question so I will do my best to make it good. It's a bit of a doozy. I have seen other people ask about the same issue but they did not get this far in their troubleshooting. I am on ...
pumpkinetchers's user avatar
0 votes
0 answers
635 views

Unable to initialize gtk+, is DISPLAY set properly

error:- The exe is made on wxWidget & use for only input/output purpose, but it shows an error on virtual terminal or server: Unable to initialize gtk+, is DISPLAY set properly? I'm super worried. ...
Vipin Singh's user avatar
0 votes
1 answer
257 views

GTK2 applications broken after upgrade to 22.04

After I upgraded to Ubuntu 22.04 the rendering of GTK2 applications (e.g. GIMP & Chromium) is totally broken. GTK3 applications on the other hand are working fine. This is gtk-demofrom gtk2.0-...
apbr's user avatar
  • 13
0 votes
0 answers
2k views

How to safely remove gtk2.0 from ubuntu 20.04

I've just installed gtk2 by typing: sudo apt install gtk2.0, ./configure of one package asked for this gtk2 now I don't need it and I want to remove it, when I type: sudo apt remove gtk2.0, I got: The ...
Stack's user avatar
  • 76
3 votes
0 answers
122 views

Is it possible to use different color for a minimized window taskbar button? Any theme that does?

I use Fbpanel as my panel. It uses GTK2 for theming. I would like to know which windows are minimized by a quick glance at the taskbar. Below, GIMP's icon background is green because GIMP has focus, ...
LoremIpsum's user avatar
0 votes
0 answers
91 views

Is it possible to have an invisible desktop

Note, I've rephrased my question below in edit 2. I really like Ubuntu 20.04s desktop system, I am however looking to make a small script to add some functionality to my system and was wondering it is ...
Brendan Mesters's user avatar
0 votes
1 answer
408 views

GTK2 theme broken after X/Plasma crash

Today my Kubuntu 20.04 Plasma desktop crashed. Probably the X server crashed, because I was suddenly brought back to the sddm login screen, just like I had pressed Ctrl+Alt+Backspace (but I did not). ...
Mauro Molinari's user avatar
1 vote
1 answer
1k views

Problem when trying to install Driconf

I have a problem trying to install Driconf *** Warning: importing GTK version 2 doesn't work. *** Warning: DRIconf will probably not work for the above reason(s). if anyone could help me I would be ...
Mateo Saavedra's user avatar
7 votes
1 answer
1k views

Adding scrollbar arrows to Adwaita (default) on GTK2 apps

I am using Ubuntu 22.10 Desktop. I have only the default themes installed on my system. Currently, I am using Adwaita (default) which does not have arrows at the two ends of vertical or horizontal ...
FedKad's user avatar
  • 11.7k
1 vote
0 answers
7k views

E: Unable to locate package libgtk2.0-dev

I get the following error: E: Unable to locate package libgtk2.0-dev E: Couldn't find any package by glob 'libgtk2.0-dev' E: Couldn't find any package by regex 'libgtk2.0-dev' In trying to install: ...
Mona Jalal's user avatar
  • 4,625
6 votes
1 answer
2k views

How to get normal Ubuntu orange color in window titlebar using Human-Clearlooks theme?

I have Ubuntu MATE 18.04 LTS installed. Previously I got this problem on MATE 17.10. I like old-fashioned Human-Clearlooks theme, so I installed human-theme package. But it has strange silver ...
N0rbert's user avatar
  • 101k
2 votes
1 answer
2k views

17.04: using matplotlib with GTK-based backend?

On a new 17.04 Ubuntu system, with python and python-matplotlib, I wanted to plot using the Matplotlib GTKAgg or GTKCairo backends. This works nicely in 16.04, but is broken in 17.04, as a result of ...
jdpipe's user avatar
  • 779
0 votes
1 answer
284 views

is it POSSIBLE to downgrade 17.04 to Gtk-2?

I have a critical eclipse-based app that is not playing well with Gtk-3; product support says they've received many issues that are solved by downgrading. Is it possible to downgrade Zesty to Gtk-2? ...
MrG's user avatar
  • 81
2 votes
1 answer
3k views

python3 and opencv error

I have some errors with python3 when I want to use opencv. It works well with python2 but not python3. import cv2 import numpy as np img = cv2.imread('test.jpg') print(img) cv2.imshow('image',img) ...
Shiro's user avatar
  • 123
6 votes
2 answers
14k views

Unable to install libgtk2.0-dev on ubuntu 16.04

While installing libgtk2.0-dev i'm receiving following error: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. ...
Al Mamun's user avatar
  • 211
36 votes
2 answers
122k views

error while loading shared libraries: libgtk-x11-2.0.so.0: No such file or directory

My OS is Ubuntu 14.04. I am trying to download a a 3.6.x firefox version. I've gotten this one. According to the README, all I have to do is unpack, enter the folder and run ./firefox. However, I get ...
regina_fallangi's user avatar
2 votes
1 answer
1k views

Desktop icon foreground text is way offset

I'm not sure where I need to go to tweak this icon text being so far offset. Please see the screenshot below: I'm using Xubuntu 16.04 64-bit with Arc theme and Paper icon theme. EDIT: This happens ...
programmer's user avatar
3 votes
1 answer
2k views

Separate icon sets for GTK+2 and GTK+3 applications on Kubuntu

I use the Breeze Dark theme on Kubuntu, which also works perfectly with GTK+2 applications, but it's not fully supported on GTK+3 applications like Firefox yet. Because of that, I've set my system to ...
user avatar
8 votes
2 answers
4k views

Can I choose to not sort directories before files on file open dialogs?

I would prefer to not have directories sorted before files within the file open/save dialogs. I would like everything sorted by modification date regardless of file or directory. I have done a fair ...
winchendonsprings's user avatar
2 votes
0 answers
310 views

Software updater can't load in MATE 16.04

I applied some theme just after installing Ubuntu MATE 16.04. Now the software updater doesn't show up when called from the menu. This is what it say in the terminal : (update-manager:5977): Gtk-...
userDepth's user avatar
  • 2,020
1 vote
2 answers
6k views

Force LibreOffice 5.1.2.2 to use gtk2 instead of gtk3?

I have LibreOffice Version: 5.1.2.2, Build ID: 1:5.1.2-0ubuntu1 running on Lubuntu 16.04 LTS. It defaults to gtk3, but I want to know if I can switch it to gtk2 instead as hinted by comment #7 in ...
DK Bose's user avatar
  • 43.4k
32 votes
2 answers
184k views

How to install gtk+2.0

When I enter the command sudo apt-get install gtk+2.0 I get Output is like this: Reading state information... Done Note, selecting 'gir1.2-spice-client-gtk-2.0' for regex 'gtk+-2.0' Note, selecting ...
vinay krishna's user avatar
2 votes
1 answer
2k views

Why do I have two versions of gtk installed?

Using following command to see what version of gtk my system is using: apt-cache policy libgtk2.0-0 libgtk-3-0 It says: libgtk2.0-0: Installed: 2.24.27-0ubuntu1 Candidate: 2.24.27-0ubuntu1 ...
markling's user avatar
  • 583
1 vote
1 answer
2k views

GTK3 and GTK2 tooltip background color difference

I changed the tool tip background color setting in my current theme Ambiance for gtk-2 and gtk-3.0. Even though I used the same color code #f5f5c5 the tool tip background color in eclipse and gedit(...
Chandrayya G K's user avatar
0 votes
1 answer
1k views

What is the purpose of /usr/share/themes/Raleigh?

Lubuntu 14.04.3 LTS fully updated. What purpose does the Raleigh folder serve? $ ls -AlR /usr/share/themes/Raleigh /usr/share/themes/Raleigh: total 4 drwxr-xr-x 2 root root 4096 Sep 24 06:32 gtk-2.0 ...
DK Bose's user avatar
  • 43.4k
2 votes
1 answer
2k views

DDS plugin for GIMP

So I'm tyring to install this DDS plug in for gimp. I've done it before, but on this fresh install of Ubuntu I'm failing. I extract the archive, then type make. This results in: joel@Zetes:~/gimp-...
user234982's user avatar
1 vote
1 answer
19k views

Run Python script with root privileges (not from terminal)

How can I run a Python script which, upon execution, brings up a dialog prompting the user for his root password - so that the script is run as root, being able to make changes to files within the /......
TellMeWhy's user avatar
  • 17.7k
1 vote
0 answers
348 views

What are the advantages of using GTK3 and GTK+3 over GTK-2?

I'm creating a utility program for Ubuntu in Python using GTK-2 and have been told by several people to use GTK3. Why would I want to do so, and would are the advantages of using it instead of GTK-2?
TellMeWhy's user avatar
  • 17.7k
2 votes
1 answer
1k views

How can I use --gdk-debug with GTK2 programs?

I want to view the GDK events received by a GTK 2 program (Xournal) for debugging purposes, which should be possible by passing the option --gdk-debug=events). However, the option apparently is passed ...
qwach's user avatar
  • 41
0 votes
1 answer
156 views

gimp source build error g_module_build_path

I m trying to build gimp 2.8 from source, all dependencies are me but now while if "make" on it it gives this error: /i386-linux-gnu/libgtk-x11-2.0.so: error: undefined reference to '...
Nouman Tahir's user avatar
1 vote
1 answer
2k views

LispWorks PE (installation) on Ubuntu 14.10 (64bit)

I have problem with personal edition installation and launch on UBUNTU 14.10 (64bit). Thank you for your advice. My installation steps: Downloaded files from lispworks homepage: lwlper-licence.sh, ...
Jiří Doubravský's user avatar
1 vote
1 answer
2k views

Editing Raleigh GTK theme

There's the default GTK theme in XFCE called Raleigh. I would like to change the dark blue color (#4b6983) to something different. But if I go to /usr/share/themes/Raleigh/gtk-2.0/ and take a look at ...
joecontra's user avatar
2 votes
1 answer
3k views

How to change bgcolor of active tab in chrome/chromium?

This question complements the question How to change web browser's tab bar background color or image? It seems changing the whole tab bar bgcolor is not difficult, but how about changing the bgcolor ...
Sadi's user avatar
  • 11.1k
3 votes
1 answer
138 views

dump gtk2 elements to png

i want do dump every gtk2 element in single png files. So that i can analyze them for creating gtk3 themes. This questions is only about the way how to dump every element like buttons scrollbars etc ...
user43787's user avatar
  • 352
0 votes
1 answer
998 views

How to revert from Gtk3 to Gtk2 indicators in xfce4-panel?

When with Saucy, I used this tutorial to have gtk3 indicators in xfce4-panel: https://wiki.ubuntu.com/Xubuntu/Roadmap/Specifications/Saucy/Gtk3Indicators Now I upgraded to Trusty and I see a messed ...
jasmines's user avatar
  • 11.1k
1 vote
1 answer
4k views

Using the Themes in the Repository (14.04)

Ubuntu's unity-tweak-tool only has three themes, Ambiance, Highcontrast, and Radiance. The repository appears to have quiet a few. I installed gnome-themes-ubuntu via Synaptic. The description ...
L. D. James's user avatar
  • 25.2k
2 votes
1 answer
1k views

Consistency of GTK2 menus with GTK3

As mentioned in an OMG! Ubuntu! post, menus and toolbars of GTK3 apps are fixed in Ubuntu themes. But there’s still an inconsistency in Ubuntu theming between GTK2 and GTK3 menus where GTK2 apps don’t ...
AliNajafies's user avatar
  • 5,934
0 votes
1 answer
2k views

How to import and export database from SQL SERVER to MYSQL SERVER vice versa in mono2.2 with gtksharp2.10 in ubuntu?

hy, I am new guy in mono developer. i m using mono developer 2.2 with gtk#2.0. i want develop desktop application in mono. i have to import database which having in SQL SERVER on web server and I ...
David_DD's user avatar
  • 101
0 votes
0 answers
271 views

What is the correct way to install Adwaita theme on Ubuntu 12.04? [duplicate]

I want to have Adwaita theme on Ubuntu 12.04. On my previous installation I had it in unity right after installing gnome3 shell. Gtk2 apps didn't have tabs like what it would be expected on Gtk3 and ...
Mostafa Shahverdy's user avatar
1 vote
0 answers
528 views

Virt-Manager-0.10.0 - GTK3

Every time when I try to start virt-manager-0.10.0 I get the following error: Error starting virtual machine manager: Requiring namespace 'GTK' version '2.0', but '3.0' is already loaded The exact ...
WhiteIntel's user avatar
2 votes
1 answer
116 views

PyGTK 2 GTK 2 alternative to STYLE_CLASS_PRIMARY_TOOLBAR

In GTK3 toolbar context style can be set to Gtk.STYLE_CLASS_PRIMARY_TOOLBAR to make it look native in Ubuntu, but in GTK2 there is no Toolbar.get_style_context() method and no ...
Maxim's user avatar
  • 23
2 votes
1 answer
2k views

GTK2 applications are not themed correctly

On my Ubuntu 13.04 machine suddenly all GTK2 applications (like Firefox, LibreOffice etc.) are not themed anymore (I am using Ubuntu's Standard theme). Instead, they are shown with this ugly old ...
user5950's user avatar
  • 6,306
0 votes
1 answer
1k views

config can't find libgtk2

I tried installing PCSXR from codeplex, since the software center version won't work for me. When I used the ./configure command, it eventually showed an error when searching for GTK2: checking for ...
Michael's user avatar
  • 464
0 votes
1 answer
2k views

GIMP 2.8 themes aren't applying after I select them

I want apply themes to GIMP 2.8 In particular I want it to look like Photoshop (now at least) I tried putting in a GTK2 theme in the themes folder under .gimp in my home and placing the gtkrc file ...
Nirmik's user avatar
  • 7,908
1 vote
1 answer
501 views

Programs look ugly with ClearLooks-Phenix theme, how to fix?

Some programs on Firefox seem to become unthemed when I use ClearLooks-Phenix on Ubuntu 13.04. This didn't happen on 12.04, and it seemed to be triggered by some update. What could have caused it?
user541686's user avatar
  • 4,227
4 votes
1 answer
2k views

Difference between GTK and Gnome [closed]

I am new to Linux OS. Can some body help to understand the difference between GNOME and GTK+?
Chandrayya G K's user avatar
3 votes
0 answers
3k views

How can I theme the Pidgin conversation window?

I have been looking for a way to theme the Pidgin conversation window to match my Ubuntu (12.10) theme. I have tracked it down to the gtkrc-2.0 (gtkrc-3.0?) file and now know that if a customized ...
ionyx's user avatar
  • 131
4 votes
2 answers
4k views

Is there any Gtk+ 3 port of the Redmond theme?

I have the gtk2 version of Redmond installed, but it doesn't work for programs using gtk3. Redmond looks like this: Or are there any gtk3 themes similar to redmond?
functionptr's user avatar
2 votes
2 answers
2k views

Ambiance GTK theme customisation *just* for one user

Is it possible to customise the appearance of the Ambiance theme just for one user? I have read about the possibility of doing this: sudo vim /usr/share/themes/Ambiance/gtk-2.0/gtkrc but could ...
Robottinosino's user avatar
2 votes
1 answer
378 views

gtk2 menus are slow

My PC runs ubuntu 12.04 with gnome-shell. Some time ago after an upgrade the menus in gtk2 apps became slow, i.e. there's a delay while opening the context menu in synaptic, claws-mail, etc. gtk2 apps....
net cat's user avatar
  • 211