Questions tagged [elementary-os]

Elementary OS is a fast and open replacement for Windows and macOS. General support for Elementary OS is off-topic. Please use https://elementaryos.stackexchange.com/ instead. Use this tag for programming questions specific to Elementary OS.

Elementary OS is a fast and open replacement for Windows and macOS.

From https://en.wikipedia.org/wiki/Elementary_OS:

elementary OS is a Linux distribution based on Ubuntu. It is the flagship distribution to showcase the Pantheon desktop environment.

Design Philosophy

Human Interface Guidelines of the elementary OS project focus on immediate usability with a gentle learning curve, rather than full-fledged customization. The three core rules the developers set for themselves were "concision", "avoid configuration" and "minimal documentation".

References

63 questions
6
votes
1 answer

Elementary OS - Hera 5.1 - Can't login - "Session returned error code 1" - Accidently removed zeitgeist*

I've accidently uninstalled zeitgeist by running sudo apt-get purge zeitgeist* I can't login anymore. I've the following error message : "Session returned error code 1" Error message from io.elementary.greeter Observations : It tests the password…
Grégoire BOUX
  • 129
  • 1
  • 6
3
votes
1 answer

Use python 3.8 instead of 3.6 on elementary OS (or Ubuntu)

I recently started using elementary OS. It's based on Ubuntu. During installation it installs python 3.6. I installed python 3.8 manually by installing the following packages: python3.8, python3.8-dev, python3.8-minimal, python3.8-venv. I also…
dfritsi
  • 1,224
  • 3
  • 14
  • 24
3
votes
4 answers

How to pipe to a process using vala/glib

I'm trying to pipe output from echo into a command using GLib's spawn_command_line_sync method. The problem I've run into is echo is interpreting the entire command as the argument. To better explain, I run this in my code: string command = "echo…
Plays2
  • 1,115
  • 4
  • 12
  • 23
3
votes
2 answers

How do I connect a custom function to the clicked action of a GTK Button?

I am working my way through the Vala GTK+3 tutorial provided by Elementary OS. I understand that this code: var button_hello = new Gtk.Button.with_label ("Click me!"); button_hello.clicked.connect (() => { button_hello.label = "Hello World!"; …
Garry Pettet
  • 8,096
  • 22
  • 65
  • 103
2
votes
1 answer

GLib.Notification fails to activate action with a non-null VariantType

I'm trying to send a GLib.Notification from my application and pass a string parameter. The name of the action is action-show-chat-view, and it is registered in the activate () method of my main application class: public class MyApplication :…
avojak
  • 2,342
  • 2
  • 26
  • 32
2
votes
1 answer

Cannot compile a simple C program on Elementary distro

I'm using elementary OS 5.1.7 Hera (based on Ubuntu 18.04.4 LT) I created a very simple c program: #include int main() { printf( "Hello World!\n" ); return 0; } and executing the following : gcc -o simple simple.c I get this…
navy1978
  • 1,411
  • 1
  • 15
  • 35
2
votes
2 answers

Should i remove Python 3.6 while installing Python 3.8 or newer?

I tried to install a certain python module that required python 3.6 minimum to work properly so I checked my version using python --version which gave me the output of Python 2.7.17 and then used python3 --version giving me Python 3.6.9. Now, I know…
CrYbAbY
  • 92
  • 1
  • 1
  • 11
2
votes
4 answers

How do I set up VS Code Live Server extension to use Firefox Developer on Linux?

I'm currently running Elementary OS 5.1.7 Hera, and just downloaded Firefox Developer edition, which runs independent to the regular Firefox, so Live Server extension doesn't recognize FDE.
2
votes
3 answers

Makefile for Vala

I am new to Vala, learning to write GTK apps for elementary OS Hera (based on Ubuntu 18.04.3). I couldn't find any documentation on how to go about writing a make file for my programs. I wish to organise my .vala files under the 'src' folder in the…
GunJack
  • 1,928
  • 2
  • 22
  • 35
2
votes
0 answers

Change file permissions to a image downloaded from Unsplash API

I need to change the file permissions of an image downloaded from Unsplash API in order to use it as a Greeter (elementary OS login) background. I've tried with Flags like FileCopyFlags.OVERWRITE, FileCopyFlags.ALL_METADATA,…
Carlos Lopez
  • 133
  • 4
2
votes
1 answer

PyGIWarning gi.require_version('Notify', '0.7')

I am using elementary OS and I want to make my own notifications using python 3. I know that a simple way of doing that is by import subprocess. However, reading around the web I found out that it's not the most appropriate way of doing it. Instead…
geo1230
  • 242
  • 4
  • 15
1
vote
1 answer

MEEP FDTD libEGL warning: DRI2: failed to authenticate

I have a fresh install of MEEP (the FDTD package) in a Conda environment, on a fresh install of elementaryOS. I'm attempting to run the "Visualizing 3D Structures" example code found here. I've installed both both pymeep and pymeep-extras, as well…
1
vote
0 answers

What is "no entry for app..." error in flatpak?

I installed elementary OS. I was trying to download apps with flatpak. I downloaded flatpakref files into "~/Downloads/flatpak/" directory. Then i wrote sudo flatpak install com.discordapp.Discord.flatpakref. I got an error like this error: No entry…
Hapalua
  • 13
  • 4
1
vote
0 answers

Blurry icon when launching google-chrome with flag --app

Whenever I launch google-chrome browser with the --app flag, the corresponding icon of the browser appears blurry. google-chrome --app=https://google.com
daGo
  • 2,584
  • 26
  • 24
1
vote
2 answers

Python3 tied to older version

Background: I'm currently running Elementary OS Hera(Ubuntu 18.04 LTS). The distribution came with Python 3.6.9. At some point I installed Python 3.7.5...this is when the issue(s) started. Problem: I'm attempting to install PyQt5 which keeps…
Shawn Wick
  • 11
  • 2
1
2 3 4 5