Tag Info

Hot answers tagged

4

Found the answer here: https://forums.gentoo.org/viewtopic-t-948904-start-0.html Edit (or create) the file: ~/.config/gtk-3.0/settings.ini And add the following: [Settings] gtk-primary-button-warps-slider = false


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 ...


2

Nautilus script Instead of using a dedicated extension, it is most efficient (and very easy) to just insert a Nautilus script to do the job, e.g.: #!/bin/bash meld "$@" How can I install a Nautilus script?


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

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

What is the difference? Also, some themes are available as "current" and others as Gtk+ ones. To me this is a bug because, as it is it confuses the user. The menu labeled GTK Theme is the theme that is applied to change the overall look of the windows and the one labeled Current Theme is the theme of the window borders, I believe it was previously (and ...


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

This next CSS modifications make the tabs much smaller: $ vi /opt/eclipse/plugins/org.eclipse.platform_4.2.2.v201302041200/css/e4_default_gtk.css .MPartStack { font-size: 8; font-family: Liberation Sans; swt-tab-renderer: null; swt-tab-height: 22px; swt-selected-tabs-background: #FFFFFF #ECE9D8 100%; swt-simple: true; ...


1

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


1

One has to use GLib.timeout_add(10, handler_timeout) inside the indicator code, where 10 - is 10 milliseconds, time between refreshing, and handler_timeout - function to be called at each refresh. Inside this function one can do all the needed stuff, like checking for clipboard changes and editing the menu.


1

I can't give a full answer, but wanted to share it. If asking a programming question, always include a minimal working example so others can quickly (ha, pun intended) run and test in your code. I will have to install Quickly, create a Quickly project and change code just to see what your question is about and try to fix it, which I won't. That being said, ...


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

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

Exaile is an excellent media player in the standard repositories (the exaile package) written in Python and GTK+ which uses GStreamer. The code is hosted on launchpad: https://launchpad.net/exaile Not GTK+ 3 or Python 3 yet but some work was started: https://bugs.launchpad.net/exaile/+bug/846379 Quod Libet is another option in the quodlibet package (found ...



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