Questions tagged [gconf]

23 questions
9
votes
3 answers

How can I make a fake "active session" for gconf?

I've automated my Ubuntu installation - I've got Python code that runs automatically (after a clean install, but before the first user login - it's in a temporary /etc/init.d/ script) that sets up everything from Apache & its configuration to my…
Bryan Stearns
  • 1,297
  • 12
  • 13
5
votes
3 answers

User Crontab + Python + Random wallpapers = Not working?

I have a python script that correctly sets the desktop wallpaper via gconf to a random picture in a given folder. I then have the following entry in my crontab * * * * * python /home/bolster/bin/change-background.py And syslog correctly…
Bolster
  • 7,460
  • 13
  • 61
  • 96
4
votes
3 answers

How can I run a Perl script as root yet still affect user gconf settings

THE NEW QUERY: I am trying to make a unified script that initializes a new Ubuntu install to my liking, it must be run under sudo to install packages, but using gconftool-2 to affect gconf setting relies on the dbus session which is not handled…
Joel Berger
  • 20,180
  • 5
  • 49
  • 104
4
votes
2 answers

How to force my virtualenv to see this compiled module installed at the system level?

I installed the package python-gconf on Ubuntu 12.04 and played with it: it's a python binding to the gnome configuration tool, and there is no pypi package for it. As soon as I created a virtualenv (without --no-site-packages), any attempt to…
Bite code
  • 578,959
  • 113
  • 301
  • 329
3
votes
4 answers

How to create/delete gconf directory with gconftool-2?

... ughm ... the subject? I am writing a script that will create gnome-terminal profiles for various machines that I want to connect to. I need a custom command to run on each terminal and profile is ideal solution for the problem. The script should…
Alexander Sandler
  • 2,078
  • 2
  • 19
  • 21
3
votes
1 answer

Changing wallpapers in python

I'm running a Maverick on my machine, and I'm trying to write a script to change wallpapers in python. Heres my progress so far. import gconf client = gconf.client_get_default() current_bg =…
tsudot
  • 533
  • 1
  • 6
  • 16
3
votes
1 answer

what is the relationship between .override files and .convert files used for overriding preferences using gschema?

I observe that .convert files look similar to .override files. Override files end with .gschema.override suffix. I believe that gsettings-data-convert or any other utility creates the .override files. I am looking forward to any link that can…
Pramod Aithal
  • 93
  • 1
  • 9
2
votes
0 answers

Symbolic links messing up gconf2 installation on Ubuntu 14.04

I had trouble installing default-jre on Ubuntu 14.04 and uninstalled gconf2. Maybe that was stupid. In any case, now I'm getting the following error when trying to re-install gconf2: Setting up gconf2 (3.2.6-0ubuntu2) ... update-alternatives: using…
matimo2
  • 133
  • 4
2
votes
1 answer

setting protocol handler by x-scheme-handler in centos, opensuse

My requirement is to run custom protocol handler using firefox in linux systems. I have successfully added protocol handler in Ubuntu by creating myapp.desktop file in /usr/share/applications. The content is something like this. [Desktop…
ravi.chunduru
  • 196
  • 2
  • 6
1
vote
1 answer

Unable to install GConf2 in AWS EC2 AMI

I have setup an AWS EC2 instance [Amazon Linux AMI 2017.03.1 (HVM)] and whenever I try to check the version of chromedriver (downloaded 2.30 from here, has enough privileges to run also because stat -c "%a %n" chromedriver gives 755 chromedriver )…
Prasath Govind
  • 720
  • 2
  • 10
  • 30
1
vote
1 answer

Equivalent to gconf on OSX

Is there something equivalent (and available by default) to gconf on OSX?
jldupont
  • 93,734
  • 56
  • 203
  • 318
1
vote
1 answer

assign super_l to custom keyboard shortcut in gnome linux

I want to assign the super_l key on the keyboard to a custom keyboard shortcut. I already know how to assign this key to a default keyboard shortcut like, lets say the "run_terminal_command" shortcut, by editing the keybinding manually in the…
j-hap
  • 150
  • 1
  • 2
  • 9
1
vote
2 answers

Configuration storage for a desktop application

What are the benefits of choosing either: a file in the user's home directory, e.g. ~/.myapp/config using the user's gconf database I already know a couple of things; storing data in the user's gconf database makes it a little harder for the user…
Delan Azabani
  • 79,602
  • 28
  • 170
  • 210
1
vote
1 answer

GConf gconftool - spawn doesn't work

Last time I started to having problem with gconftools, I'm using Ubuntu Server Edition 10.04 LTS When I make command gconftools-2 --spawn I've gor an error: Failed to spawn the configuration server (gconfd): Failed to contact configuration…
galuszkak
  • 513
  • 4
  • 25
1
vote
1 answer

What's better use for storing settings with gtkmm-3?

I writing simple program in C++ using gtkmm-3. I need to store some settings in form of several numbers and strings. I found gconfmm, but it's seems only for Gtk 2. Will it work together? Or there is better way to store settings?
shed
  • 121
  • 1
  • 8
1
2