I’m trying to use ncurses in my C program, but it doesn’t work with CLion’s built-in console. From what I’ve gathered, in order to make the output appear in the gnome terminal, I have to select it in the Configure Debug screen, but I can’t seem to find the gnome-terminal file anywhere – the most I could find are the
Tag: gnome
Is there a javascript function to add a generic text box to Gnome extension applets?
I am creating an indicator applet for Ubuntu in the form of a Gnome extension. I’m using javascript (which I don’t have very much experience with). The goal is to have an icon in the panel which when clicked simply pops up a small window (connected to the panel like a menu) with a text box that allows the user
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
Linux cat and less output for my text file is different from gedit and other gnome editor
I redirected ri’s ruby Array doc into a file but it didn’t look good in gedit. But text looks just fine in cli. That’s how my file looks in terminal editors. Everything is fine here. But when I open it in gedit or other gnome editors, that’s how it looks like. Some specific words look in absurd format. Any suggestions
“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.