Hot answers tagged

6

This is a known issue. This theme doesn't support Ubuntu 14.04, because its GTK version (3.10) is too old. I'm working on GTK 3.14 support, which will make the theme compatible with Ubuntu 15.04. I'm sorry about this, but I don't have enough resources to backport the theme to older GTK versions. Source: https://github.com/horst3180/Arc-theme/issues/7


4

Create a splash window You can use GTK's gtk_window_set_decorated() to create a splash window without (any) decorations. Combined with gtk_window_set_position(), you can pretty much create a custom splash screen. An example (script1, the splash window): #!/usr/bin/env python3 import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk, Gdk, ...


3

You can enable that by creating new file sudo nano /etc/profile.d/csd.sh That contains export GTK_CSD=1 export XDG_CURRENT_DESKTOP=Unity:GNOME #export GTK_THEME=Ambiance #export GTK_THEME=Adwaita:dark Logout/Login Reference: for the new colon format Unity:GNOME. https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1554878 Related question: What is ...


3

They are different ABI versions of GTK+. As mentioned in comments, some things still require GTK+ 2.x, and haven't been ported to GTK+ 3.x. Likewise, you may have both Qt 4.x and 5.x installed, as different applications require different versions.


3

My solution was to change tools, xdotool works fine. This seems because GTK3 has switched to X Input 2.0 which xvkbd does not support. My new key bindings are: xdotool key "Return" xdotool key "Control_L+u" Which replace: xvkbd -xsendevent -text "\r" xvkbd -xsendevent -text "\Cu"


3

sudo gedit /usr/share/themes/Arc-Dark/gtk-3.0/gtk.css on line 26 comment it to be like this /*outline-style: dashed;*/ save and enjoy


3

The GNOME Headerbars are themed using the GTK+ Theme and Icon Set that you have applied on the desktop environment your using, so to change the theme and icons on GTK+ Headerbars, you'll need to use a Tweak Tool e.g: unity-tweak-tool to be able to change the theme. Once there, select a GTK Theme of your choice and the headerbars' look will change in rhythm ...


3

Turns out I needed to download the x86_64 version from the Mozilla site, not the 32-bit version.


2

You need the development packages, they should be available in 14.04 from the trusty main repository. Try running: sudo apt-get install libgtk2.0-dev


2

Most likely you following a PyGtk 2 guide when trying to implement this: According to the GTK 3 documentation there is no function named gtk_window_add_accelerator, but there is a function named gtk_accel_group_connect that looks like its going to get the job done. When working with GTK documentation it's usually 80% gut feeling and 20% checking the docs to ...


2

I found what was wrong. I had previously tried to build from source the latest version of Glade 3.18.3. But that required my gtk to be be 3.12.0 . But my gtk was 3.10.0 and that seemed to be the latest version acquirable through apt-get install. So I downloaded the source of the actual latest version 3.12.2 and built that from source and executed a make ...


2

According to a couple of sources, LibreOffice's theme support is controlled by the SAL_USE_VCLPLUGIN variable (which can be gtk, gtk3, qt and gen). You can force usage of GTK3 by: SAL_USE_VCLPLUGIN=gtk3 soffice You might need GTK > 3.10, and apparently there are some show-stopping bugs that are only fixed in GTK 3.18. References: Reddit discussion on ...


2

After a bit of reading on the subject and then re-reading the readme.md at the numix project I realised they actually do explain how to manually install and make changes to their theme. The thing is that the instructions assume alot of prerequisite knowledge - basically that you are a C developer who knows CSS. I'm assuming you know that source code for ...


2

It turns out that this was a bug in pavucontrol which should be fixed with a future release: https://lists.freedesktop.org/archives/pulseaudio-discuss/2016-March/025937.html


2

Conky changed the conkyrc format to lua in the recent versions, the original seamod (and 99% of all other conkys out there) still have the old format. Thankfully, user maxiwell on Github has already converted the popular seamod theme for Ubuntu 16.04. Since askubuntu/Stackoverflow prefers source instead of links, here the conkyrc.lua: ----------------------...


2

For specific GTK3 apps Edit their .desktop file (Nautilus' is located at /usr/share/applications/nautilus.desktop) And add env XDG_CURRENT_DESKTOP=GNOME just after each Exec= line. For example, nautilus.desktop's Exec= line(s) (It has two, one for opening a new window) will change from... Exec=nautilus --new-window %U [… Some other lines, skipping …] Exec=...


1

I don't have KDE installed right now to test. As I remember with Kubuntu 15.04, KDE was creating two files to override GTK theme settings. GTK2: ~/.gtkrc-2.0 GTK3: ~/.config/gtk-3.0/settings.ini As they are two separate file you can change them differently. But you may need to change them to read-only so KDE config tool will not able to change them. ...


1

I have a solution for GTK applications, and a solution for dolphin. I've never figured out how to fix this for non-GTK applications (e.g., LibreOffice). For GTK: Fire up dconf-editor. Navigate to org/gtk/settings/file-chooser. De-select the box next to sort-directories-first. Close the dialog. For dolphin: Navigate to Control / Sort by >. De-select "...


1

Take a look at https://github.com/ubuntu/snappy-playpen/blob/master/galculator/snapcraft.yaml - it's actually quite straight-forward: The relevant bit is parts: galculator: source: https://github.com/galculator/galculator.git plugin: autotools install-via: prefix build-packages: - flex - gettext - intltool - libgtk-...


1

This should do it: #!/usr/bin/env python3 # -*- coding: utf-8 -*- import random from PIL import Image from gi.repository import Gio def get_wallpaper_uri(): settings = Gio.Settings.new("org.gnome.desktop.background") uri = settings.get_string("picture-uri") return uri def uri_to_path(uri): return uri.lstrip("file:") def ...


1

This works for me: /* gnome-terminal */ @define-color terminal_bg #300a24; TerminalScreen { -TerminalScreen-background-darkness: 0.95; background-color: @terminal_bg; color: #fff; } TerminalScreenContainer .scrollbar:hover:not(.slider), TerminalScreenContainer .scrollbar.dragging:not(.slider) { background-color: alpha(@...


1

The problem has already been reported to Ubuntu at the link you provided, so nothing more needs to be done there just yet. If SWT_GTK3=0 works well, you should set it as unglobally as is feasible. There are a few ways to do it (choose the last one that will work for your situation): /etc/environment applies to everything for every user, not just Java ...


1

Yes these files are located in (e.g for default Ambiance theme) : /usr/share/themes/Ambiance/gtk-3.0/apps/ you can edit nautilus.css or unity.css as you wish How do I add a border around windows but keep the current theme? Good practice is to copy theme you wish to modify to ~/.themes/ and than making changes. At the end you can use Unity Tweak Tool ...


1

If Gedit and Nautilus aren't showing any Recent entries & ~/.local/share/recently-used.xbel is no longer being written to then most likely from changing the default Privacy settings. To check open System Settings > Security & Privacy > Files & Applications > and make sure that Record file and application usage is enabled.


1

This is not a feature of Ubuntu, or Gnome, it's the underlying GTK3 effect triggered by the edge-overshot event https://developer.gnome.org/gtk3/stable/GtkScrolledWindow.html#GtkScrolledWindow-edge-overshot. If the effect does not look good with your theme or you find it annoying, then you will need to edit the overshoot CSS class in the GTK+ theme. (If it ...


1

Create a copy of your theme in ~/.themes, e.g. for the Ambiance theme cp -r /usr/share/themes/Ambiance/ ~/.themes sudo chown -R $USER:$USER ~/.themes And customize ~/.themes/Ambiance/gtk-3.0/gtk-main.css Start gnome-tweak-tool and select your theme.


1

As described here: As a workaround to fix the background transparency issue (#169), I've edited the .desktop file so that the Corebird window will use the old fat scroll bars instead of the Overlay scroll bars. Therefore use another PPA or upgrade the installed version of Corebird sudo apt-add-repository ppa:ubuntuhandbook1/corebird sudo apt-get ...


1

First, make sure the needed GTK engines are installed. sudo apt-get install gtk2-engines-murrine If that works after restarting the shell (Alt+F2 & r & Enter), great! Otherwise, disable the theme for now and continue. You can then install it from source if needed to get the latest version: By using the package from here or the repoistory here. ...


1

You can use a combination between Gtk.fixed(),GObject.timeout_add and the function move, here is an example in python : #!/usr/bin/python* from gi.repository import Gtk, GObject class TestWindow(Gtk.Window): def animateImage(self): GObject.timeout_add(150,self.slideImage) def slideImage(self): self.positionX += 50; if(...


1

I got this from https://wiki.gnome.org/Projects/GTK%2B/Inspector: GtkInspector is the built-in interactive debugging support in GTK+. It was added in GTK+ 3.14, based on a copy of the well-estabished gtkparasite. The debugger is disabled by default. To enable it run in a terminal: gsettings set org.gtk.Settings.Debug enable-inspector-keybinding ...



Only top voted, non community-wiki answers of a minimum length are eligible