[opensuse] Gnome 3: Undoing what tweak-tool did via CLI
Hi, Can I undo "File manager handles desktop:YES" via command line? After I did from gnome-tweak-tool, it gives up and ends up with a blank screen when I login and nothing can be done other than ctl-alt-del & logout. I need to undo it from "root" via CLI. It's v11.4. Thanks, Toshi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2011-05-31 at 19:57 -0700, Toshi Esumi wrote:
Hi,
Can I undo "File manager handles desktop:YES" via command line? After I did from gnome-tweak-tool, it gives up and ends up with a blank screen when I login and nothing can be done other than ctl-alt-del & logout. I need to undo it from "root" via CLI. It's v11.4.
gsettings set org.gnome.desktop.background show-desktop-icons false IIRC, g-t-t just sets this key to true, so the above command (as the user wanting to change it) should revert it. Dominique -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2011-06-01 at 08:18 +0200, Dimstar / Dominique Leuenberger wrote:
gsettings set org.gnome.desktop.background show-desktop-icons false
IIRC, g-t-t just sets this key to true, so the above command (as the user wanting to change it) should revert it.
It ended up with an error. I login as root. Then from gterm I did "su toshi". The put the command below. toshi@suse114-1:~> gsettings set org.gnome.desktop.background show-desktop-icons false ** GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL) Aborted Toshi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2011-06-01 at 21:05 -0700, Toshi Esumi wrote:
On Wed, 2011-06-01 at 08:18 +0200, Dimstar / Dominique Leuenberger wrote:
gsettings set org.gnome.desktop.background show-desktop-icons false
IIRC, g-t-t just sets this key to true, so the above command (as the user wanting to change it) should revert it.
It ended up with an error. I login as root. Then from gterm I did "su toshi". The put the command below.
I *believe* this won't work because you did a su and the user in question does not have a session. When I run that command at me it exits silently.
toshi@suse114-1:~> gsettings set org.gnome.desktop.background show-desktop-icons false ** GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL) Aborted
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 06/02/2011 08:23 AM, Adam Tauno Williams pecked at the keyboard and wrote:
On Wed, 2011-06-01 at 21:05 -0700, Toshi Esumi wrote:
On Wed, 2011-06-01 at 08:18 +0200, Dimstar / Dominique Leuenberger wrote:
gsettings set org.gnome.desktop.background show-desktop-icons false
IIRC, g-t-t just sets this key to true, so the above command (as the user wanting to change it) should revert it.
It ended up with an error. I login as root. Then from gterm I did "su toshi". The put the command below.
I *believe* this won't work because you did a su and the user in question does not have a session.
When I run that command at me it exits silently.
toshi@suse114-1:~> gsettings set org.gnome.desktop.background show-desktop-icons false ** GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL) Aborted
The reason for the failure is that su only gives the authority of the user you su to. You need to su - to also have the environment of the user you su to. The "assertion failure" means you do not have authority to write to the config file in root's home when you simply su instead of su -. Check man su for more info. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2011-06-02 at 08:46 -0400, Ken Schneider - openSUSE wrote:
The reason for the failure is that su only gives the authority of the user you su to. You need to su - to also have the environment of the user you su to. The "assertion failure" means you do not have authority to write to the config file in root's home when you simply su instead of su -. Check man su for more info.
Thank you for pointing this out. I didn't know the difference '-' makes. When I did "su - toshi", the shell took: gsettings set org.gnome.desktop.background show-desktop-icons false without any errors. However, when I did below to verify the change: gsettings get org.gnome.desktop.background show-desktop-icons it gave me "true". Apparently it ignored the "set" command. Toshi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Adam Tauno Williams
-
Dimstar / Dominique Leuenberger
-
Ken Schneider - openSUSE
-
Toshi Esumi