LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 06-17-2010, 01:23 PM   #1
gusblake
LQ Newbie
 
Registered: Feb 2010
Posts: 24

Rep: Reputation: 15
Manually add keys to gconf XML files


Hi,

I'm on Fedora 12 i386 and I'm looking for a way to reset the padding on panel launcher icons. I tried installing gconf-editor to change the key but it gave me an error:

Quote:
GConf error:#012 Failed to
contact configuration server; some possible causes are that you need to enable
TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash.
See http://projects.gnome.org/gconf/ for information. (Details - 1: Could not
send message to gconf daemon: Connection is closed)
This isn't solved by deleting /tmp files, so I thought maybe I could edit the XML files in ~/.gconf manually.

The key is:

Code:
/apps/panel/toplevels/top-panel/padding
but I can't find a folder relating to this in .gconf, so should I create it manually? If so, what would the key look like in XML?

Cheers,
Gus

Edit - I have found the solution now:

~/.gconf/apps/panel/toplevels/bottom_panel/%gconf.xml:

Code:
<?xml version="1.0"?>
<gconf>
	<entry name="x_right" mtime="1276803307" type="int" value="0"/>
	<entry name="x_centered" mtime="1276803307" type="bool" value="true"/>
	<entry name="expand" mtime="1276803312" type="bool" value="true"/>
	<entry name="enable_arrows" mtime="1276803190" type="bool" value="false"/>
	<entry name="auto_hide" mtime="1276799167" type="bool" value="false"/>
	<entry name="size" mtime="1276799155" type="int" value="24"/>
	<entry name="enable_buttons" mtime="1276803191" type="bool" value="false"/>
	<entry name="padding" mtime="1276808340" type="int" value="1"/>
</gconf>
Another thing to note is that you have to change a panel before its gconf file appears; setting the height to someting different will do it.

Last edited by gusblake; 06-24-2010 at 10:16 AM. Reason: Resolved
 
Old 06-18-2010, 12:53 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hi,

Great, thank you for sharing your solution.

Kind regards,

Eric
 
  


Reply

Tags
edit, error, gconf, manually, panel, xml


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to manually add SATA driver manually when kernel boot? aixilin Linux - Kernel 6 08-15-2008 10:36 AM
Add swap partiiton manually? fireball003 Slackware 7 04-09-2007 05:04 PM
user login: could not resolve xml:readwrite: /home/.gconf flipwhy Linux - Newbie 4 08-20-2006 01:57 PM
xml? gconf? cant login as user flipwhy Linux - Newbie 1 08-20-2006 03:36 AM
Problem with locked files and gconf rebdi Linux - General 10 10-13-2004 10:46 PM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration