| View previous topic :: View next topic |
| Author |
Message |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Thu Jan 22, 2009 10:38 pm Post subject: Sorry noob question |
|
|
Hello guys,
I normally modify settings via gconf-editor for a key, but how can I edit the value of a specific key using a shell (bash) script?
I'm not aware of any other xml readers and editors which can edit %gconf.xml via the command line.
Thanks in advance
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
iTz SWAT I post too much
Reputation: 1
Joined: 20 Dec 2007 Posts: 2227 Location: Me.Location;
|
Posted: Thu Jan 22, 2009 10:45 pm Post subject: |
|
|
To be honest I have no idea what your talking about but if your trying to edit a registry key? go to Start>Run>regedit Taa Daa
_________________
|
|
| Back to top |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Thu Jan 22, 2009 11:07 pm Post subject: |
|
|
no, he's trying to edit an xml file (settings file), which wouldn't be as easy as to make a batch script to edit it. you'd need to make (or find) an app that reads it and lets you edit lines...or open it in notepad.
_________________
|
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Thu Jan 22, 2009 11:10 pm Post subject: |
|
|
| bioshocked wrote: | | To be honest I have no idea what your talking about but if your trying to edit a registry key? go to Start>Run>regedit Taa Daa |
Regedit is for Windows and I know it can import keys via the command line, but then I'm running gnome... running "sudo gconf" doesn't do anything (command not found), and running "sudo gconf-editor" just runs the gconf-editor GUI as root.
I've officially noobed out ><
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Thu Jan 22, 2009 11:46 pm Post subject: |
|
|
| blland wrote: | | bioshocked wrote: | | To be honest I have no idea what your talking about but if your trying to edit a registry key? go to Start>Run>regedit Taa Daa |
Regedit is for Windows and I know it can import keys via the command line, but then I'm running gnome... running "sudo gconf" doesn't do anything (command not found), and running "sudo gconf-editor" just runs the gconf-editor GUI as root.
I've officially noobed out >< |
i don't get the last bit, how is that a problem? typing in sudo give you administrator access, which in linux is known as the root.
EDIT: oh wait, you're trying to do batch commands aren't you...
_________________
|
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
|
| Back to top |
|
 |
|