Questions tagged [development]

For questions about software development and related tools on elementary OS

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

How can I draw basic 3d with Vala?

I'd like to make a visualizer in Vala for EOS. The first chunk I'd like to achieve is drawing a rotating red cube. I tried valadoc for "3d" and "gpu" but it only came up with non-...
1
vote
1answer
18 views

Why does compiling gala from source not work unless I change how HashMap is used?

When I grab gala source either from GitHub or from apt source gala I get version 3.3.2 and when I run ninja to build it I get this error: ../src/Background/BackgroundSource.vala:123.17-123.34: error: ...
0
votes
1answer
30 views

What is the currently recommended development setup?

I want to contribute to some elementaryOS apps, like Mail and Files. If I'm on 5.1, the versions of meson and valac are too old for those applications, as specified in their meson.build files. If I'm ...
0
votes
0answers
22 views

Publishing an app in AppCenter

I have some issue publishing my app in AppCenter. Is there any development channel (slack, discord, irc) related to AppCenter issues?
0
votes
2answers
129 views

Flatpak manifest for new apps?

Is Flatpak manifest file still needed for new apps? I read about it here: https://docs.elementary.io/develop/writing-apps/our-first-app/packaging but I also checked some Elementry OS apps sources on ...
0
votes
0answers
32 views

Deiconify app when custom shortcut is pressed

I set custom shortcut to my application I have been developing with gtkmm library. When I press CTRL+ALT+V my app is being opened [ok]. However when I minimize an app and then press shortcut once ...
0
votes
0answers
14 views

Draining Battery in Suspend Mode

On my laptop, I need to modify /etc/default/grub to avoid Draining Battery in Suspend Mode, like it is explain here : https://learnubuntumate.weebly.com/draining-battery.html On elementaryos 5.1.7 or ...
0
votes
0answers
10 views

Create list to be added in Gtk.ListBoxRow

I created a List using this code. Now when I try to access the elements of the list, the compiler displays this error: Can someone suggest how to solve this problem? This is how I try to access each ...
0
votes
0answers
14 views

Gtk grid inside another grid not visible on the main window

I made a separate file for all the labels to be used in the main window called Labels.vala This is the code inside that file: Now, when I try to add this class to a grid inside the main window, it ...
0
votes
1answer
21 views

Create your root folder called "gtk-hello"

I am learning to code following the instructions on the elementary website. It said Create your root folder called "gtk-hello" My question is how do I Create this? Thanks for taking the time ...
0
votes
0answers
22 views

How to update between early access nightlies?

I’m getting started with elementary OS on Raspberry Pi. I installed a nightly build a few days ago and would like to stay current by regularly updating to the latest nightly build. I couldn’t find ...
0
votes
0answers
11 views

HashMap not removing keys

I'm developing a simple chess game in vala (source code here) and i'm have some issues with removing keys from an HashMap. For the checkboard i'm using an HashMap with pair of Coordinate Object and ...
0
votes
0answers
12 views

Is it possible to make cross-platform apps that feel natural in elementary os?

I'd like to create an app for EOS but I don't want to target it alone. The best solution I've found is to use QT, but it appears that produces odd looking apps in EOS. Is there a way to have an app ...
1
vote
1answer
29 views

StackSIdebar is not visible

I used Gtk.StackSidebar to create a sidebar for an app that I am making. https://github.com/Suzie97/Project_X97, this is the link to my github repo. The sidebar is not correctly visible on the window. ...
0
votes
0answers
6 views

How to use Granite.SettingsSidebar?

I want to use the Granite.SettingsSidebar widget in my app. Can anyone teach me how to do it? I looked for tutorials and tips on the internet. I couldn't find any complete Vala tutorials so now I'm ...
1
vote
1answer
36 views

Window position and size not saved when app is closed

I made this simple application and made it so that the window position and size is saved on closing the app, so that the next time the user opens the app, he can resume his work directly. https://...
0
votes
0answers
21 views

How can I make the HeaderBar invisible in an app?

I am learning to make apps for Elementary OS. I have a question, how do I make the HeaderBar invisible? I mean how I can I make an app like Planner by Alainm. As you can see in the picture, the ...
0
votes
1answer
62 views

gsettings schema isnt installed

I am learning to make apps for Elementary OS. I wrote my app it compiles well without any errors. But when I try to open the application, it displays a message stating gsettings schema isnt installed. ...
0
votes
2answers
189 views

What happened to the Elementary OS Discord server?

I have looked online and found the Elementary OS discord server but all the links say they are invalid.
0
votes
1answer
43 views

How to add granite package

What package do I need to add to my project in order to use granite? All I get is "The name `Granite' does not exist in the context of..." I tried libgranite-dev but it isn't found. Also, ...
1
vote
1answer
60 views

Do I have to use Vala to build my app to get it on the App Store?

I notice they have Vala shown front and center, but I'd much rather use electron with React so I don't have to learn a whole new language. Would they accept a submission in React? Found this: Your ...
1
vote
1answer
98 views

How to compile and install changes to Elementary?

I just decided to switch over from Ubuntu 18.04 LTS to Elementary OS 5.1 (Hara) and like to tweak my desktop to hide the date/time in the top panel. I found an answer to hiding the date in the top ...
1
vote
2answers
24 views

Can't change value in struct property inside class

io = {}; io.wchar = 111111; debug((string)io.wchar); // (null) So the problem here is that io.wchar is still null. You can look at the whole class here: https://github.com/stsdc/monitor/blob/dev/src/...
1
vote
1answer
43 views

Developer Support?

Is there an official channel for developers. I tried to bring up the slack channel they had on the developer documentation but it seems to be offline. I'm stuck with an issue on the app that I'm ...
2
votes
1answer
394 views

Flutter development environment in elementary OS

I am a beginner in using elementary OS. I really like the look and feel of the elementary OS and like to setup a development environment in my PC for flutter application development. I googled for ...
0
votes
1answer
60 views

How to develop wingpanel extension in plain C language?

I am trying to find a way to develop wingpanel extension in plain C code. Every time that I asked question about app development in elementary OS, They just said that you should learn Vala language. ...
2
votes
1answer
79 views

Debugging applications during development

I wanted to start working on issue https://github.com/elementary/calendar/issues/419 but I encountered a bug. So I wanted to debug the application code I added. I found this tutorial on debugging ...
0
votes
1answer
118 views

GTK# Apps in the Store

Looking through the documentation on Houston and other questions here, it is a hard requirement that all apps be a native GTK application for hosting on the store. Does that extend to GTK# due to the ...
1
vote
0answers
23 views

How to debug Gala and other system apps?

I see this other question on a debug workflow for app development. In it, the answer is to use printfs and viewing the printed data on a terminal, but I don't see how that's easy with things like Gala,...
1
vote
2answers
116 views

Will we have an SDK for elementary OS?

Does the developer team have any plans to produce an SDk for the operating system? I imagine the great effort to produce a larger application.
4
votes
1answer
778 views

How to develop extensions for Code?

How can I develop an Extension for Code. I want to recreate atom's pigments package into Code.
3
votes
1answer
405 views

Setting up a development environment for elementaryOS apps?

what's the best tool chain for building elementary applications these days? I've been playing with an existing project that contains a lot of other magic (such as meson, ninja and the like), and while ...
1
vote
0answers
15 views

Build fails appcenter bot test

I recently switched over to elementary os and a friend told me about how easy it is to develop apps for the os. I switch over and the first thing i instantly miss is whatsapp. I use it daily for work ...
0
votes
2answers
144 views

Error with translations while following "Get Started" tutorial

I was following along with the "Getting Started" tutorial, and when I got to the step to add translations, my project started failing to compile. I can't make sense of the error. It would be really ...
1
vote
2answers
535 views

Is anyone a Node.js developer using elementary OS?

I am moving from Mac after 10 years and have chosen to go with Linux for both my desktop and laptop. I currently have Ubuntu 16.04 running and with a few visual tweaks I really like it. I have seen ...
0
votes
3answers
1k views

Why doesn't elementary OS include screensaver by default?

What made the developer's team to decide not to have a screensaver option on the elementary OS settings?
2
votes
2answers
159 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)?
-1
votes
1answer
44 views

Compiling with custom vapi leads to error

Added CUSTOM_VAPIS with vapi/libgtop-2.0.vapi to vala_precompile() in CmakeLists.txt and got this error: No rules for target '../src/vapi/libgtop-2.0.vapi' ... How to add vapi files properly?
0
votes
1answer
1k views

is vala dead? because it's a nice language [duplicate]

i've been following ubuntu since 9.04 installing it and trying it - then found gnome now that gnome is going to be standard desktop come next release - i thought i would like to be involved in ...
1
vote
2answers
175 views

Loki 0.4.1 and replacing Windows help

I have a new Alienware 13 r3 and it came pre-loaded with Windows 10. I read that Loki 0.4.1 supports everything on this Alienware model perfectly. Touch screen included. I'm looking to learn c# and ...
0
votes
1answer
191 views

cmake .. not found package

I'm try to build and install Photos, but cmake give me an error: No package 'geocode-glib-1.0' found Already try to install try to install libgeocode-glib0. Then install libgeocode-glib-dev and ...
1
vote
2answers
527 views

Unable to locate elementary-sdk

When a try: sudo apt install elementary-sdk it says Unable to locate package elementary-sdk It's a fresh install of loki. apt update give me a 404 error. Err:7 http://br.archive.ubuntu....
1
vote
0answers
41 views

wxPython TaskBarIcon fails on elementaryOS

In eOS 0.4 (Loki) the wxPython (3.0.2 gtk2 classic) wx.TaskBarIcon.IsAvailable() method returns False and of course ignoring this just results in no icon being shown. Is there a workaround for this or ...
0
votes
2answers
116 views

Missing Library

I'm trying to get into developing for Elementary using Vala. I have been unsuccessfully trying to build Valama (an IDE for Vala) for ages but keep hitting hurdles. Currently when I try to make Valama ...
0
votes
1answer
160 views

WebKitGTK not installed / unknown version detected

Trying to build pantheon-mail I bump into this error when running cmake. CMake Error at src/CMakeLists.txt:493 (message): WebKitGTK not installed / unknown version detected Which version of ...
4
votes
1answer
134 views

Adding feature to elementary os

I am new in open source projects development and maintenance is there any guide to start adding features or editing ones in elementary os ?
1
vote
1answer
399 views

How to write plugin for scratch text editor from elementary os?

I've been using scratch for quite some time and its features as an IDE are very limited. So I was wondering how to develop/install new third party plugins for it but I was unable to find any ...
6
votes
5answers
3k views

Concern about the future of vala

I'm prototyping an application using Vala, in hope of targeting elementary OS. It was actually the elementary website at Build for elementary OS that first steered me towards Vala. Now, Gnome is ...
2
votes
1answer
134 views

elementary OS application development databases?

Is there any resources/documentation on which database can be use to save application input data. I am trying to build an invoicing application for elementary OS Loki.
0
votes
1answer
141 views

Native/universal app format or easier to install apps for elementary os, plus a few other quick questions [closed]

Hello :) Just a few quick questions/suggestions, sorry about any grammatical mistakes, my english isn't too good but I'm learning I love the elementary os, i'm a huge fan! Thank you for creating it ...