VectorLinux

Vectorbie Station => Vectorbie Questions => Topic started by: haywire on July 27, 2010, 07:55:14 am

Title: Dosbox questions (SOLVED)
Post by: haywire on July 27, 2010, 07:55:14 am
Does anyone know where the dosbox configuration file gets saved when you install to vectorlinux?

I was to tweak it, but I can't find it. For some strange reason, catfish crashes my computer.

Is there another file searching util I can install? Otherwise, do you know where dosbox stores the files it installs?

If I knew where to find it, now I know how to tweak it for better performance...

Thanks in advance for any help...
I about gave up on a dos gui, now I'm making vector load the applications directly from a linux program launcher.
I need to modify the dosbox conf file to have a better cpu and start with max cpu cycles...

Thanks!

Steven
Title: Re: Dosbox questions
Post by: retired1af on July 27, 2010, 08:12:23 am
Using "locate" in the cli doesn't work?
Title: Re: Dosbox questions
Post by: haywire on July 27, 2010, 08:24:30 am
This is what I get when trying to "locate dosbox.conf"

locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old


Grrrr....
Title: Re: Dosbox questions
Post by: haywire on July 27, 2010, 08:33:24 am
DOH I got it...

Start dosbox, and type config -writeconf .dosboxrc

Now look in your home directory. .dosbox

The config file is there and can be modified now...

YAY!

Steven
Title: Re: Dosbox questions
Post by: haywire on July 27, 2010, 08:34:09 am
Moderators... Please mark this thread solved.
Title: Re: Dosbox questions
Post by: sledgehammer on July 27, 2010, 08:38:40 am
haywire,

You can also mark it solved....just go to the original message and "modify" the caption, adding (SOLVED).

I guess you know, when you get the database is more than 8 days old warning, to run updatedb as root.
Title: Re: Dosbox questions
Post by: haywire on July 27, 2010, 11:26:49 pm
I didn't know I could do that will update... also will try that as root..I didn't know that. I almost never use the root account... I'll logout and try that as root...

Steven
Title: Re: Dosbox questions (SOLVED)
Post by: sledgehammer on July 28, 2010, 07:20:39 am
I don't know if there is a way to update the system data without running updatedb as root but agree that such a feature would be nice.  Root is dangerous.
Title: Re: Dosbox questions (SOLVED)
Post by: Andy Price on July 28, 2010, 05:13:00 pm
Any reason why you can't open a terminal, su to root and run updatedb?
Title: Re: Dosbox questions (SOLVED)
Post by: roarde on July 28, 2010, 10:04:39 pm
Usually, when someone here says "run as root" they mean use su (or sudo). It's shorthand that we've gotten used to. I say the same thing, when I really should say "run with root priveleges". Both correct, but the second explains better.

So, yes you can do it from terminal+su. Also, the command "slocate -u" works the same and does the same thing.
Title: Re: Dosbox questions (SOLVED)
Post by: Andy Price on July 28, 2010, 11:28:30 pm
Agreed, but haywire did say "I almost never use the root account... I'll logout and try that as root..." so I kind of assumed he wasn't going to su.
Title: Re: Dosbox questions (SOLVED)
Post by: haywire on July 29, 2010, 07:16:58 am
For the record I often go to the root account and do those type of things, along with general housekeeping.

I do this once a month or so I'd guess. Sometimes, when I need something quickly I do use su, but not so much. I don't think redhat had su back in the day... so I guess I got in the habit of logging out and using the root account for such things.

Steven
Title: Re: Dosbox questions (SOLVED)
Post by: GrannyGeek on July 29, 2010, 08:24:58 am
The nice thing about using su to root in a terminal is that you can run many commands and do your housekeeping, installations, etc., without constantly typing in your password. That accursed Ubuntu practice of using sudo, in contrast, requires doing it for every new command (though I think there is some way of making your permissions last  longer but it's  obscure).

I don't remember the last time I loggeed into the root account. Even in a new installation when I have a lot of root things to do, I log into my user account, su to root, and do everything I need to do and then exit back to user so I can actually use the computer.<g>
--GrannyGeek
Title: Re: Dosbox questions (SOLVED)
Post by: haywire on July 29, 2010, 08:45:33 pm
Granny yeah your right, sudo sucks. :)

Lately,I have also been just using ctrl_ALT_f4 or whatever and logging in as root to one of the text terminals. I can switch there to do most anything I need in text mode. Its nice to have so many options to do things in linux.

I often go to the root text terminal to use the reboot command if I have some unrecoverable error on my graphic user desktop.

Steven

Title: Re: Dosbox questions (SOLVED)
Post by: sledgehammer on July 30, 2010, 07:47:32 am
I tried ctrl-alt-F4.  How do I get back to the gui?
Title: Re: Dosbox questions (SOLVED)
Post by: nightflier on July 30, 2010, 08:32:11 am
Ctrl-Alt-F7 should take you back to X.
Title: Re: Dosbox questions (SOLVED)
Post by: sledgehammer on July 30, 2010, 08:50:44 am
Perfect.

Thanks
Title: Re: Dosbox questions (SOLVED)
Post by: M0E-lnx on July 30, 2010, 12:18:04 pm
updatedb as root will update the database so you can lookup using locate
Title: Re: Dosbox questions (SOLVED)
Post by: haywire on July 30, 2010, 01:37:35 pm
Yes I really like the multiple text terminals. Its cool to keep midnight commander or some other text based file commander kinda thing in one of the screens, and other stuff if you like on others. If you use the same ones for the same things most of the time, you'll find yourself liking switching from the desktop gui to the text terminals. You can pop around fast and get alot of work done at once.

Steven