Skip to main content

Questions tagged [programming]

Questions about scripting, and writing in any language that relates to elementary OS, for example BASH, Vala and QT.

Filter by
Sorted by
Tagged with
19 votes
4 answers
14k views

Determine base Ubuntu version

I'm trying to contribute with Docker's install script by providing auto distribution detection support for elementary OS, so, elementary OS users would be automatically detected when using Docker's ...
fmoliveira's user avatar
17 votes
1 answer
540 views

Where can I find applications created specifically for elementary OS?

Is there a place where you can see third party applications created specifically for elementary OS?
r3bl's user avatar
  • 3,236
10 votes
1 answer
2k views

Where can I find elementary's source code... for science?

I'm a student at University of Wyoming (UWyo), USA, studying the source (and difference in source) for Linux packages. I'm interested in what elementary OS's source list looks like. Specifically, I ...
user avatar
10 votes
2 answers
4k views

GTK-error while running a pyplot-application

When I try to run a python application which uses a pyplot-window, I get a warning in the command line: Gtk-Message: Failed to load module "pantheon-filechooser-module" How can I fix it, and what ...
arc_lupus's user avatar
  • 590
9 votes
1 answer
1k views

Is there an elementary IDE for developing elementary applications?

Is there an IDE that is recommended by the elementary OS developers?
RolandiXor's user avatar
  • 1,908
9 votes
0 answers
432 views

How to move a python3/gtk3 application to new 'pantheon-filechooser-module'? [closed]

Thank you for your great work. I have some problems since elementary OS 0.3.1 makes pantheon-filechooser-module as the default one. I suppose there is maybe a GObject/Gtk/pixman issue because I can ...
user2678's user avatar
7 votes
2 answers
3k views

What IDE's are avaliable for programming in elementary? [closed]

I use Scratch for programming in elementary OS, and then Terminal to run it. While this works fairly well, I would like to know which IDEs are available for elementary OS? What are the drawbacks and ...
bigbang's user avatar
  • 1,527
6 votes
2 answers
1k views

How to install Vala on elementary OS

I am learning vala. I need to setup vala environment on my elementary OS. How to install Vala on elementary OS?
Ravan's user avatar
  • 7,877
6 votes
1 answer
1k views

Elementary Tweaks - How can I Toggle "Prefer Dark Theme" via Terminal?

I just installed the elementary-tweaks package on Freya, and was wondering if there was a way to control the Prefer Dark Theme option programmatically with a script, or directly via the terminal. I am ...
Peter Parker's user avatar
4 votes
1 answer
474 views

In which programming language elementary OS terminal is written?

I just saw a similar question in https://askubuntu.com/ and got a doubt that in which programming language elementary OS terminal is written?
Ravan's user avatar
  • 7,877
4 votes
1 answer
126 views

How should I design a "Create Project" wizard?

I'm working on a project that needs to have a "Create Project" wizard, the one I made doesn't-look-very-elementary. I found no information on wizards in elementary HIG, and I am not sure how to make ...
Dušan Gvozdenović's user avatar
3 votes
1 answer
154 views

Template for a "About" dialog for an Elementary OS application

I have developed an application for elementary which is a Network Utility. The details of the Nutty application can be found here at launchpad: https://launchpad.net/nutty In response to a bug report,...
Siddhartha Das's user avatar
3 votes
1 answer
619 views

How to use Gtk.Popover() in Vala?

I can't bind Gtk.Popover() to button.
handicraftsman's user avatar
3 votes
1 answer
281 views

Why is LibSoup not found when compiling Vala?

I am try to create a application in Vala, but I need libsoup and checkout with this command: pkg-config --list-all | grep soup. I have libsoup, but if I try to compiling with this command: valac --pkg ...
Marius Hartig's user avatar
2 votes
2 answers
3k views

Is elementary OS good for programming beginners?

I'm planning on entering into the software/web development field and would like to pursue either Computer Science or Computer Engineering as a major when I go to college (within the year). Before that,...
jdford's user avatar
  • 21
2 votes
1 answer
256 views

Using Granite with a different language besides Vala

I am interested in developing for elementary OS, but what's holding me back from doing so is that I can't figure out how to use the Granite widgets from C++. I would prefer to use this instead of ...
Samuel Goodell's user avatar
2 votes
2 answers
161 views

App development with Ruby in elementary OS

Does any one have any prior experience with making gtk3 apps with Ruby, and the bindings to the apis for ruby (GObject etc)?
notmyrealname's user avatar
2 votes
1 answer
3k views

Fatal error with webkit2gtk-4.0 (webkit2.h)

I use Freya (0.3.2) and I tested the webkit4 (LINK), but do not work. The code is: public class Envideos : Gtk.Window { public Envideos () { this.title = "Envideos"; this.window_position =...
jockerfox's user avatar
2 votes
0 answers
219 views

Running JavaFX programs gives error messages [duplicate]

I've created JavaFX programs with IntelliJIDEA on Freya, and everytime I run them, I get these warning messages: Gtk-Message: Failed to load module "pantheon-filechooser-module" (java:2818): Gtk-...
Aleksandar Stefanović's user avatar
2 votes
0 answers
32 views

Can I use Pantheon-Files FileChooserDialog module from custom FileChooserDialog Object?

I want to use the new Pantheon-Files FileChooserDialog module, but it doesn't seem to work when creating my own widget based on Gtk.FileChooserDialog (like seen below). Is there anyway for me to be ...
syst3mfailur3's user avatar
1 vote
2 answers
4k views

Just installed elementary OS. How to get MySQl and C++ to work?

I'm planning on coding using the distro. Which packages should i install?
Dhruv's user avatar
  • 19
1 vote
1 answer
1k views

How can I use a system icon in my application?

I would like to use the refresh icon in my application. Rather than creating my own icon I would like to use the refresh icon used in Files, in a way that the icon will be updated when the user uses a ...
Siddhartha Das's user avatar
1 vote
1 answer
708 views

error: Package `libcanberra' not found in specified Vala API directories

When I try to compile a project with pkg libcanberra using command [valac --pkg libcanberra *.vala ], I am getting below error, error: Package `libcanberra' not found in specified Vala API ...
Mahes's user avatar
  • 33
1 vote
1 answer
59 views

Granite Widgets : Unable to append a new action item to welcome page at runtime

I am trying to add and remove action to welcome screen at run time on pressing Add and Delete buttons in Header Bar. I am unable to append a new action item to welcome page at runtime. check Code ...
Mahes's user avatar
  • 33
1 vote
2 answers
231 views

Adding atspi-2 to the PKG_CONFIG_PATH environment table

I'm currently trying to learn Vala, but it fights me right from the start. I've basically copied the first Basic Sample found here. I'm trying to build it using this command: valac --pkg gtk+-3.0 &...
r3bl's user avatar
  • 3,236
1 vote
1 answer
109 views

Display currently running applications that would normally be seeing in the taskbar [duplicate]

I have many small programs that display their instance inside the taskboard of gnome like teamviewer or insync. Normally they are shown in the taskbar. So now I have noway of opening these programs.
Jamie Hutber's user avatar
1 vote
2 answers
80 views

Linux: How to Completely Remove ALL Traces of a Program? [closed]

Is there a way to completely remove ALL traces of a program in Linux? I've researched a lot on this, and I've seen people talk about apt-get remove packagename, apt-get purge packagename, apt-get ...
user avatar
0 votes
1 answer
27 views

Can't open my command line c++ app

Well, i was making a c++ command line app for my game engine in arch linux. But i am on different computer now and it just can't run it. It can compile, but can't run. https://pasteboard.co/IqyLM6i....
Kiakra's user avatar
  • 1
0 votes
1 answer
598 views

Is there is full IDE available for writing apps on elementary OS?

I'm opt1ckz (Mark), I knew Daniel from DeviantART and have followed Elementary since it was an Icon Theme/Firefox Skin. I am an old school developer from Windows, started with mIRC scripting believe ...
Demonbreed's user avatar
0 votes
1 answer
163 views

Is it real to install any IDE on elementary OS, like NetBeans, Code:Blocks, etc

I'm about to choose this Unix-based system for my everyday tasks. By the way, I've started to learn basics of programming, so this is gonna be cool to use this smooth, stylish system to browse ...
Владислав Башкин's user avatar
0 votes
1 answer
293 views

Linked style doesn't work for buttons

Only button with label has linked style. var button_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0); button_box.get_style_context ().add_class (Gtk.STYLE_CLASS_LINKED); info_button = new Gtk....
stsdc's user avatar
  • 180
0 votes
1 answer
139 views

Item list with text input error on Vala

I have an item list and I want to put a text input: using Gtk; public class TreeViewSample : Window { public TreeViewSample () { this.title = "Programa de odontologia"; ...
Agu Nunes's user avatar
0 votes
0 answers
4 views

What can i do to increase my skills in programming?

I am student. I have learned different languages including python, javascript, c++/c also some markup languages. What can i do to increase my skill and also can get experience regarding programming. ...
Nirraz's user avatar
  • 1
0 votes
1 answer
35 views

Technical error while using Cairo

using Cairo ; using Gtk ; using GLib ; public class ClockWidget : DrawingArea { private Time time ; private int minute_offset ; private bool dragging ; public signal void ...
Rajdeep Singha's user avatar
0 votes
2 answers
299 views

elementary OS freezes randomly

I just installed elementary OS on my notebook and it's started randomly freeze. There was 50% of RAM available when it freezed. Any ideas? HP ProBook 650 G1
user avatar