Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
26

You can find the "upstream release" codename using the -u flag with lsb_release commands. Try it with the following command in Terminal: lsb_release -a -u On Freya, it gives me the following output: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty Without the -u flag, you'll get ...


17

There are two maintained resources at the moment. Made for elementary elementary-apps The first one contains only applications that are stable or close to being stable. The second one contains those applications as well, but it also contains applications that are early in their development process. Both of resources include only open source software as ...


13

The source code of components the elementary team is maintaining is not hosted via git (neither GitHub nor any other git server), it's hosted on Launchpad which is using bzr (bazaar). As you can see, following the link, all of the source code elementary is maintaining is open to the public and available under some version of the GNU General Public License. ...


10

Scratch + Terminal + Developer Libraries Yep that's the set of software which are the official elementary SDK, as you can find out here. Scratch is better than notepad (that's included with Windows), but is still a newcomer. You can later give these text editors a try: Geany Atom Sublime text Gedit All run in elementary. All are Open Source except ...


7

Pantheon Files (the default file manager) contains a custom GTK+ module called pantheon-filechooser-module. It's shipped on up-to-date systems, but it's not activated yet (currently, the default GTK+ file chooser dialog is still in use). That's most likely the reason it fails to load. Additionally, it might fail because it is a GTK+2 application. On the ...


6

You just load the icon using the name. Gtk will select the one appropriate for the current theme. In your case, you would use something like: var icon = Gtk.Image.from_icon_name("view-refresh", Gtk.IconSize.SMALL_TOOLBAR); See valadoc for more information.


6

elementary OS developers use a text editor by personal preferences. mine is sublime text with of course terminal to build. This gives developer the advantages to know also about the build process and what is used like libraries. There is also this : https://github.com/PerfectCarl/ValaBinding this is a vala binding for monodevelop IDE. i haven't tried it but ...


6

You should check the elementary Development Guide. In the section "Developer SDK" we cover grabbing essential development libraries, including the Vala compiler. For development tasks, you're going to be spending a lot of time in Terminal. The command we recommend for grabbing these development essentials is: sudo apt-get build-dep granite-demo The build-...


5

I don't think there is an command for this, but you can edit a file. Create/edit the following file: ~/.config/gtk-3.0/settings.ini And change it to this: [Settings] gtk-application-prefer-dark-theme=1


5

The terminal in elementary OS is written in Vala. You can see information about Pantheon Terminal and even read the source code on its Launchpad page.


5

Atom Atom is a text editor that's modern, approachable, yet hackable to the core—a tool you can customize to do anything but also use productively without ever touching a config file. Features: Built on web technologies for easy hacking of the editor itself Wide array of packages to extend functionality Theming support Built-in git-support ...


5

Check out The Wizard Anti-Pattern by Stef Walter. It's part of the "See Also" in the Design Philosophy section of the HIG. The TL;DR is to avoid wizards at all cost. Get as much info automatically as you can, make solid opinionated design/engineering decisions for most other things, and only ask for things that are really essential to ask about.


4

I believe that you are looking for Granite.Widgets.AboutDialog. You can find everything about it here : Valadoc Granite.Widgets.AboutDialog If you can't recognize a widget in a particular application, try using the new GTK+ Inspector, its really handy in situations like this. Hope I helped :)


3

You can use uname -v which gives the full Ubuntu based version unlike the other answers. Output is below : #49~14.04.1-Ubuntu SMP Thu Dec 31 15:44:49 UTC 2015 If you need to only print the version (like in scripts) you can useuname -v | cut -c 5- | cut -f1 -d"-" which prints 14.04.1 on my laptop. Any improvements for the command that only prints the ...


3

Ok. Let's see. The package build-essential installs the C and C++ compilers along with the make tool and some headers. You'll need mysql-server and mysql-client to have a local database and access it. You can try mariadb-server and mariadb-client too. For the MySQL C++ connector/driver, there's the libmysqlcppconn-dev package. You'll need to add -...


3

Granite is written in Vala, so it provides a C API which you can use from C++. Using it should be fairly straightforward; just #include <granite.h> in your code, and build with something like g++ -o test test.cpp `pkg-config --libs --cflags granite` Then, you should be able to use Granite: #include <granite.h> void do_stuff (int w, int h) { ...


3

You can associate the popover creation with a button event, like in the following example: var button = new Gtk.Button (); var imag = new Gtk.Image.from_icon_name ("help-info", Gtk.IconSize.MENU); button.add (imag); button.clicked.connect (() => { var pop = new Gtk.Popover (); //set popover content pop.set_parent_pop (window); pop....


2

According with Valadoc , webkit2gtk-3.0 bindings are replaced in Vala by webkit2gtk-4.0 since version 0.25.2 . In order to install webkit2gtk-4.0 you can try in terminal: sudo add-apt-repository ppa:webkit-team/ppa sudo apt-get update sudo apt-get install libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev If you want to access the WebKit2 documentation, you must ...


2

This GitHub repository gives you some basic examples on how to build a GTK app using Ruby. This is example #2 being run:


1

Okay, first, I think that "can't run" isn't correct, because you can run it - you can see at your screenshot, that it runs (there is no prompt line after you start program) and the process is on. Second, I think, that it can't be Elementary Os or Pantheon depended bug, so check your code carefully. You can try debuging. For example simple cout-debuging. Try ...


1

You might want to try the nightly version of Gnome Builder: I like to check in on the development of Gnome Builder from time to time, because for better or worse, I'm an IDE guy when it comes down to it. I make my living doing C# in Visual Studio...can't help it. In the past Gnome Builder hasn't been either stable, or full featured enough for my Vala ...


1

There are many IDEs available for elementary OS. I personally use Android Studio, IntelliJ IDEA, Atom, VS Code, Scratch, and Gnome Builder. Bottomline: Whatever language you are working in or whatever your development needs are, you're covered.


1

The Gtk.HeaderBar provides special styling for Gtk.Button's so that they look good inside it. The solution: In your case the solution is easy: remove the image-button style class from the info_button: info_button.get_style_context ().remove_class ("image-button"); If you have any problems with Gtk styling further on, I recommend to enable Gtk Inspector (...


1

Sounds like you want Gtk.Overlay. That said, a better design would probably be to put both the Gtk.TreeView and Gtk.Entry an a Gtk.Box so the entry doesn't occlude the tree view…


1

Installing libcanberra-dev package solved the issue.


1

I can't check it currently, but this sounds like you are adding the widget and it simply doesn't show. When adding a new widget to welcomeLayout, running welcomeLayout.show_all () should show the new widget(s). You might want to run this after adding a new item in public void addAWelcomeButton ().


1

I am being told by people more knowledgable than myself for Vala that your compile command is not quite right. Every package needs the --pkg prefix, and you need to specify the full packages name as you have done with gtk+. Something like valac soup.vala --pkg libsoup-2.4 --pkg gtk+-3.0 should work out a whole lot better for you.


1

This seems to be a known bug of pkgconf v0.9.4-1 (currently installed on Freya) that has been fixed in v0.9.5-1. Link


Only top voted, non community-wiki answers of a minimum length are eligible