freedesktop.org Questions
3
Solved
I'm trying to follow XDG directory specification on my Java application. I have already used it for application data:
protected String getDefaultDataDir() {
String rootPath = System.getenv("XDG...
Weismannism asked 7/3, 2014 at 12:28
2
Solved
Let's say I'm writing a program, and I want it to follow the XDG Base Directory Specification for where it puts its files (app foo uses $XDG_CONFIG_HOME/foo as the directory for configuration files...
Trypanosome asked 23/4, 2016 at 8:26
3
What's the best way to open a file in the default application from Vala?
A bit like how xdg-open works.
Curst asked 26/2, 2019 at 13:16
2
How can I get a list of applications that are capable to open a specific filetype / MIME-type? I'm searching for a desktop-environment independent solution on Linux.
I found the possibilty to get ...
Lozengy asked 17/8, 2015 at 20:58
1
Solved
I would like to send desktop notifications through D-BUS using https://crates.io/crates/dbus.
My current approach is:
let c = Connection::get_private(BusType::Session).unwrap();
//let m = Messa...
Sugary asked 22/4, 2015 at 14:23
1
Solved
I am working on a project where I need to inhibit power management (e.g. suspend) programatically. I am able to do so perfectly from Python:
import dbus
pm = dbus.SessionBus().get_object("org.free...
Nonconformance asked 4/7, 2013 at 21:54
1
Solved
My program requires an environment variable as part of one of its parameters:
myprogram --folder=$HOME/.special
However, if I put this into a .desktop file's exec line, it doesn't work:
Exec=my...
Galvano asked 24/1, 2012 at 0:14
1
© 2022 - 2024 — McMap. All rights reserved.