Skip to content
Advertisement

Tag: gnome

gnome-shell 3.34 missing ExtensionUtils.extension property

I’ve written a GNOME shell extension for gnome3.30-3.32 using: Updating to 3.34 version, ExtensionUtils does not provide the ‘extension’ property, and I don’t know to find the documentation about it. How can I fix the issue? Answer The code you’re looking for, the map of loaded extensions, is also a part of the ExtensionSystem module, whereas the ExtensionUtils module is

“Attempt to postMessage on disconnected port” appeared when I install extensions in “extensions.gnome.org”

I want to know why the switch with ON/OFF has disappeared. And there appeared the message “Attempt to postMessage on disconnected port”. I remember it can be used normally before I installed the vpn lantern. How can I resolve this problem? Answer The reason is because Mozilla has dropped the NPAPI support from Firefox. This affects many plugins like Siverlight,

How can I put my GTK application in the desktop menus?

I started with programming a little time ago and I created my first running application with GTK 3.0. I did not use Glade, I do not know if worth highlight it. My code is working perfectly, but now I have a doubt, how can I make my own desktop menu application? I mean, I want that my application running up

Getting number of pattern matches in VTE search

I’m developing a GTK+ 3.0 application that uses VTE widget, how can I get the number of occurrences for the search regex or at least get the current text in terminal and process that? I’m using VTE 2.91 and Vala. Answer Vte.Terminal.get_text() will get you the currently visible text in the terminal for processing. I’m not sure that that includes

How to obtain the path of Desktop in gnome

I am using gnome/Ubuntu-10.10 in Chinese language and the desktop path is not “~/Desktop” but “~/XXXX” where XXXX stands for the Chinese translation of “Desktop”. So, how to write code to obtain the proper path of desktop regardless of the system language? I noticed Qt SDK properly added a shortcut on the desktop so I guess there is a way.

Advertisement