Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Sorry noob question

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk
View previous topic :: View next topic  
Author Message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Thu Jan 22, 2009 10:38 pm    Post subject: Sorry noob question Reply with quote

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
View user's profile Send private message
iTz SWAT
I post too much
Reputation: 1

Joined: 20 Dec 2007
Posts: 2227
Location: Me.Location;

PostPosted: Thu Jan 22, 2009 10:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Thu Jan 22, 2009 11:07 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Thu Jan 22, 2009 11:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Thu Jan 22, 2009 11:46 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Fri Jan 23, 2009 12:03 am    Post subject: Reply with quote

fullyawesome wrote:
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...


yeah, I'm writing a script which restores my applications and settings everytime I do a linux reinstall / run from liveCD, but there's a setting which is stored in gconf... and the %gconf.xml file contains some other keys which I shouldn't overwrite, so copying the xml to ~/.gconf will be a bad idea Confused

bleh I'll just do it manually

_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites