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
16
votes
1answer
517 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?
14
votes
4answers
12k 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 ...
10
votes
2answers
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 ...
9
votes
1answer
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 ...
8
votes
1answer
1k views

Is there an elementary IDE for developing elementary applications?

Is there an IDE that is recommended by the elementary OS developers?
8
votes
0answers
389 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 ...
6
votes
2answers
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 ...
6
votes
2answers
828 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?
6
votes
1answer
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 ...
4
votes
1answer
440 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?
4
votes
1answer
123 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 ...
3
votes
1answer
143 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,...
3
votes
1answer
500 views

How to use Gtk.Popover() in Vala?

I can't bind Gtk.Popover() to button.
3
votes
1answer
217 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 ...
2
votes
2answers
964 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,...
2
votes
1answer
224 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 ...
2
votes
2answers
152 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)?
2
votes
1answer
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 =...
2
votes
0answers
207 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-...
2
votes
0answers
31 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 ...
1
vote
2answers
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?
1
vote
1answer
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 ...
1
vote
1answer
507 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 ...
1
vote
1answer
50 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 ...
1
vote
2answers
183 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 &...
1
vote
1answer
86 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.
0
votes
1answer
24 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....
0
votes
1answer
515 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 ...
0
votes
1answer
134 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 ...
0
votes
1answer
219 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....
0
votes
1answer
117 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"; ...
0
votes
0answers
25 views

How to detect that indicator icon needs to be inverted?

I am trying to patch Google Play Music Desktop Player to use the correct icon colors in the wingpanel indicator. More specifically I need to know if it should use dark icon on a light background or ...
0
votes
0answers
5 views

No DNN for OpenCV?

I am trying to work on a project I started on Fedora, that I can no longer compile, on my new machine running Elementary, and I find every libopencv libraries except the one for DNNs, I downloaded ...
0
votes
2answers
201 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