failed to commit changes to dconf

So I got this script change_wallpaper , based from the answer from this: Automatically change Ubuntu wallpaper at a certain hour and ran it through cron .

In summary, every time I start up my Ubuntu, it must change the wallpaper to dawn.jpg if it is morning, or dusk.jpg if it is evening.

change_wallpaper

One time, I noticed the cron script was not working anymore, so I tried manually running it. Then I noticed this error.

I’m trying to fallow the steps of the laboratory exercise and encounter a problems. i have to configure apache2 using bash ubuntu. I created a folder with the html file and I want to share it on a server.

i edited the part of the config file /etc/apache2/sites-enabled/000-default.conf from default line

Before that change after bash command

At first, when I visited 127.0.0.1 in a browser, it said «It works!». But after I changed DocumentRoot as above and restarted Apache2 now the page says:

Forbidden You don’t have permission to access / on this server. Apache/2.4.6 (Ubuntu) Server at 127.0.0.1 Port 80

The Problem

(Just skip to the solution for the commands you need to run to fix this)

I use Gedit over SHH with Xming / X11 running quite regularly and I was not able to save my setting in Gedit. I am running a Red Hat based OS ( such as CentOS and Scientific Linux )

The first error I got was:

This tells us that Gedit cannot use the normal GSettings backend to save our settings to disk and is just going to save them to (volatile) memory so when we exit the applicaiton our settings are lost. Not a very clear message at all if you actually want to fix this bug as it gives you no clues that it really wants you to install various other packages (one of them is dconf as we’ll see below).

After searching around I found out i needed to install dconf. After which I got a new error message:

Again not very clear… but dconf wants us to install dbus, so I did that and found it was already installed! So I searched Yum and saw a package named dbus-x11. I installed this package and my settings now save.

Источник: computermaker.info

Техника и Гаджеты
Добавить комментарий