Tag Info

Hot answers tagged

5

It's not a problem with your installation, but with your code. Change win = Gtk.window() to win = Gtk.Window()


4

Looking at the documentation, you should be able to use the get_path of the AppInfoManager object Running the following in the python interpreter: >>> from gi.repository import Unity >>> a = Unity.AppInfoManager.get_instance() >>> a.get_path("gedit.desktop") '/usr/share/applications/gedit.desktop' As you can see, just passing the desktop file-name ...


4

First, as a little background for those who don't know what pixel-perfect scrolling means. (I didn't know myself, but I did some research and want to share that here.) Usually when you scroll on a touchpad (right edge or two-finger) or a tablet device, what happens is that the X server intercepts those signals and translates them to normal mouse wheel ...


3

-dbg packages aren't automatic - the package maintainer needs to define the package, and pass the appropriate parameters to the package building tools to ensure the package has any content. By convention, but not by actual policy, the -dbg package is populated with data which would otherwise be removed by a call to GNU strip, i.e. debugging symbols which ...


3

Nautilus script An easier and more efficient alternative to installing a dedicated extension would be using a Nautilus script like the following one: #!/bin/bash meld "$@" Installation instructions: How can I install a Nautilus script?


3

Here it is: http://gnome-look.org/content/show.php/Human+GTK+3?content=164227 GTK 3 port made by me. Enjoy ;)


3

The manu items are in the top right corner. I'm attaching a pic of that.


2

You can use the GTK environment variable GTK_THEME=elementary to launch an app with the elementary theme. For example, running GTK_THEME=elementary pantheon-files will launch the elementary Files app using the elementary GTK theme. To get this to apply every time you launch a specific app, your best option is likely to create a custom .desktop file ...


2

I've had this problem as well. Look in you home directory; do you have a .gtkrc-2.0.mine file? If not, create it and edit the .gtkrc.2.0 file. Add this line: include "/home/*yourusername*/.gtkrc-2.0.mine" Inside the .gtkrc-2.0.mine file have this: gtk-xft-hinting = 1 gtk-xft-hintstyle = hintfull gtk-xft-rgba = rgb


2

Instead of using accelerators, you can connect the key-press-event signal of your TreeView to a function and check if it was the Delete key that was pressed. def on_treeview_key_press_event(self, widget, event): key = Gdk.keyval_name(event.keyval) if key == 'Delete': self.remove_items()


2

You can get the contents of a TextBuffer using get_text(): start_iter = self.textbuffer.get_start_iter() end_iter = self.textbuffer.get_end_iter() text = self.textbuffer.get_text(start_iter, end_iter, True) And save it like any other text file: with open(save_file, 'w') as f: f.write(text) I suggest that ...


2

This is the intelligent input bus - is an input method framework for multilingual input. If you don't use any different keyboard layouts for ex. japanese /asian etc. Try to disable it in System Setting -> Language (something like input method from ibus to none) Try to killall ibus-daemon and tell us if cpu is still has a high load.


1

Depending on your current used theme, you can either (which is more likely and easy found out) edit/change/modify the graphics .svg or .png, like shown in the screen-shot below or by changing the color-coded values for visually drawn window graphics in the themes .ccs files. Find out, what theme you are using. Browse through the graphics folders (first) to ...


1

Advice First of all, you don't have to settle for no IDE. Install Eclipse, it's available in the Ubuntu Software Centre. You also want to install CDT for Eclipse which gives you C/C++ support. Second I'd very much advise you to focus on C++ and Qt instead of C and GTK. Qt is a great cross-platform framework that uses C++ and QML (a JavaScript-like language ...


1

Requested 'gtk+-3.0 >= 3.10.0' but version of GTK+ is 3.6.1 The program needs at least GTK+ v3.10 but you only have GTK+ v3.6.1 Ubuntu 14.04 will have GTK+ v.3.10. For other version of Ubuntu you need to either find a PPA or other unofficial packages for GTK+ v3.10 or compile it yourself, too (which includes compiling some more libs needed by GTK+).


1

Run the following command in terminal: gsettings set org.gnome.desktop.interface toolbar-style 'icons' The other valid values are: 'both', 'both-horiz', and 'text'. The changes should be visible immediately, so you don't need any restart or re-login.


1

Edit the files in the directory: /usr/share/Themes/[Themename]/gtk-3.0/apps/unity.css To avoid clobbering the original them it's better to copy the them to your personal area under a different name then make the changes. The theme will appear in the theme chooser as the name you copied the them to. Per-user theme ares: ~/.themes/[Theme Name] ...


1

Fortunately, all Unity decorations are defined by the Unity gtk3 theme (see this document), and one can remove the top decoration with one little change. However, just to be on the safe side, I do make a backup copy of a whole theme. Here is what I do: cd /usr/share/themes sudo cp -a Radiance Foopance cd Foopance sudo cp index.theme index.theme.orig sudo ...


1

When you followed the steps to install development versions of xfce-panel and the indicator plugin, you built them from source, and sudo make install installed them into /usr/local. In order to clean out that installation you need to manually delete those installed files. Unfortunately there is no way to do this automatically. However, what you can do is ...


1

Make sure the gdl-3 package is installed for you system, on Ubuntu that's: sudo apt-get install gir1.2-gdl-3 Heres the package listing on debian.org: https://packages.debian.org/search?searchon=contents&keywords=Gdl-3.typelib&mode=path&suite=unstable&arch=any Credit to nemequ on irc.gnome.org for the references and solution.


1

MATE can still run with GTK3 applications, but make sure that the theme you have one should have GTK3 theme support. To change the theme that supports both GTK2 and GTK3, go to System > Preferences > Appearance. Then select the GTK theme you want to use from the Themes tab.


1

Seems to me that there is no such option anymore. which is likely as you can clearly see that Ubuntu has been removing many settings from many application in recent years. That is just their philosophy (which I am strongly against - since this over-simplicity crashes usability). Anyway, there is no sign of toolbar in manpage. You can also see yourself in ...


1

Yes, it's seems to be no menubar anymore see here. Clearly a weird strategy, I hope developpers will change their mind if we keep complaining.


1

It's a bug There is a ppa with patched GTK code that fixes the issue



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