Tweak3D.Net
Save?
Not Registered Yet? Go here.
Xoxide Computer Mods Contact the webmaster to purchase this spot on the web site
Join The Cult Tweakers Image Gallery Donate Search Today's Posts Mark Forums Read

Welcome to Tweak3D

This is an open forum about tech stuff, games, and cars. Register to access all forums, and to hide this ad and others.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 07-28-2006, 09:03 AM   permanent link to #1
 
Goofus Maximus's Avatar
Goofus Maximus
Too old to be this dumb!
 
Join Date: Jan 2005
Location: St. Louis area, but in Illinois
Posts: 2,748 (#34 )
Thanked 7x in 7 posts

You know how Kubuntu/Ubuntu is set up to use sudo rather than root access? Well, I discovered a neat little trick to bypass that in Kubuntu, as follows:

You run "kdesu konqueror" from the "run" dialog box, then navigate till you see your folder of interest in the main window, for example, "/etc/timidity" . right click on that folder, and from "actions", pick "open a terminal here". This opens a terminal with ROOT ACCESS to the folder you need to work in. No more constant sudo this and sudo that and passwords every five minutes.

Right-click actions are all root level from here, so you can open files in Kate and edit them with root priviledges. Hey, I'm a n00b! This may have been obvious, but it was new, and surprising, to me. So much for sudo preventing root access.

You guys would have had a good laugh at me, trying to use "rename" from the terminal, to rename a bunch of files for a GUS patch set that was all in capitol letters. I spent all afternoon unsuccessfully trying to get it to work. I never DID get mv to work for renaming, due to the nature of what I was trying to do. I finally hit the sweet-spot by using "rename '/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/' *" I know there had to be an easier way, but I've not learned to write my own shell scripts as of yet. All the documentation on the perl rename script are... inadequate, to say the least. Oh well, at least I can play prboom with midi music now. The freepat patch set is incomplete, and the soundfont won't play in prboom, though it plays fine in timidity.

A question however, when I tried to install doom legacy, I had a problem when I tried to "./bootstrap"; no such file or directory. Just about everything that needs compiled needs ./bootstrap, evidently. I'm still in shock that gnu make wasn't installed by default in Kubuntu, and I'm wondering what else I need to tell Adept to get for me.

M7NCD Pro
Barton 3000+ @426fsb/2.23ghz
1 Gig Kingston HyperX PC3200 dual mode@426mhz
Samsung 40 Gig HD
Samsung DVD+/-RW
T.B. Santa Cruz
EVGA 7600 GS AGP
XP Home SP3
Goofus Maximus is offline Ignore this User   Reply With Quote
Yesterday, 05:30 PM   #2
 
 


Google is online (hide)  
Old 07-28-2006, 10:24 AM   permanent link to #2
 
msgwtco's Avatar
msgwtco
Some Random Person
 
Join Date: Jan 2005
Location: Waterbury,CT
Posts: 656 (#110 Last month's rank was 109)
Thanked 0x in 0 posts
Send a message via AIM to msgwtco Send a message via MSN to msgwtco

you could also use su instead of sudo, which will keep you logged in as a superuser (root) for as long as you need.
msgwtco is online now Ignore this User   Reply With Quote
Old 07-29-2006, 10:21 AM   permanent link to #3
 
Sparky's Avatar
Sparky
is not Scooby
 
Join Date: Jan 2005
Location: West Hartford, Connecticut
Posts: 4,933 (#9 )
Thanked 6x in 5 posts
Send a message via AIM to Sparky

Quote:
Originally Posted by msgwtco
you could also use su instead of sudo, which will keep you logged in as a superuser (root) for as long as you need.
Yep, su > sudo.

Quote:
Originally Posted by MSP
I'm like Jane Goodall, except instead of gorillas I'm studying women.
Sparky is offline Ignore this User   Reply With Quote
Old 07-29-2006, 10:30 AM   permanent link to #4
 
Goofus Maximus's Avatar
Goofus Maximus
Too old to be this dumb!
 
Join Date: Jan 2005
Location: St. Louis area, but in Illinois
Posts: 2,748 (#34 )
Thanked 7x in 7 posts

Another trick for those of us with Debian-based systems like Knoppix or Ubuntu, useful for the annoying tendency of Thunderbird to use Konqueror instead of Firefox to open links. No scripts, no muss, no fuss.

open a konsole and type this:
update-alternatives --config x-www-browser

It will give you a list of installed browsers. Just pick the number for firefox, and you're set.

You'd think the kde components part of "system settings" would have done this, but noooOOOOooo!

Edit: Also, I'm really liking the "glowy wine" theme for Firefox. I wish they had it for Thunderbird as well.

M7NCD Pro
Barton 3000+ @426fsb/2.23ghz
1 Gig Kingston HyperX PC3200 dual mode@426mhz
Samsung 40 Gig HD
Samsung DVD+/-RW
T.B. Santa Cruz
EVGA 7600 GS AGP
XP Home SP3
Goofus Maximus is offline Ignore this User   Reply With Quote
Old 07-30-2006, 09:31 AM   permanent link to #5
tex
jive turkey
 
Join Date: Jan 2005
Location: ATX
Posts: 2,296 (#44 )
Thanked 0x in 0 posts

Quote:
Originally Posted by Sparky
Quote:
Originally Posted by msgwtco
you could also use su instead of sudo, which will keep you logged in as a superuser (root) for as long as you need.
Yep, su > sudo.
Its intended as a security measure. Sure its more convenient, but sudo is supposed to be a lot safer (I haven't studied the relative merits much)
tex is online now Ignore this User   Reply With Quote
Old 07-30-2006, 09:04 PM   permanent link to #6
 
Goofus Maximus's Avatar
Goofus Maximus
Too old to be this dumb!
 
Join Date: Jan 2005
Location: St. Louis area, but in Illinois
Posts: 2,748 (#34 )
Thanked 7x in 7 posts

Speaking of safety, which firewall helper do you all use? I tried out Guarddog, since Automatix slammed it onto my system as part of the "security package", but I find I like Firestarter better, even if the "GTKSu" login acts weird at best... I'm way to much of a n00b to try editing IP Tables without a pacifier...

I was so annoyed at myself, I blew away my previous install, figuring I must have done something to get rid of lndir, but it turns out that lndir just wasn't a part of any Ubuntu since Hoary. Now I get to reinstall all that crappola for my mail and browser, as well as all the games I'd installed.

Live and learn.

EDIT: Question - Is this normal, having "no such directory" at the end of one's $PATH statement, like this? /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games: No such file or directory

M7NCD Pro
Barton 3000+ @426fsb/2.23ghz
1 Gig Kingston HyperX PC3200 dual mode@426mhz
Samsung 40 Gig HD
Samsung DVD+/-RW
T.B. Santa Cruz
EVGA 7600 GS AGP
XP Home SP3
Goofus Maximus is offline Ignore this User   Reply With Quote
Old 07-31-2006, 01:30 PM   permanent link to #7
 
Goofus Maximus's Avatar
Goofus Maximus
Too old to be this dumb!
 
Join Date: Jan 2005
Location: St. Louis area, but in Illinois
Posts: 2,748 (#34 )
Thanked 7x in 7 posts

Addendum: I noticed when I moved my local folders files for Thunderbird over to Linux, that it seems to handle filenames with spaces just fine.

Is the old Linux addage of not putting spaces in filenames finally passe? At least for newer stuff?

M7NCD Pro
Barton 3000+ @426fsb/2.23ghz
1 Gig Kingston HyperX PC3200 dual mode@426mhz
Samsung 40 Gig HD
Samsung DVD+/-RW
T.B. Santa Cruz
EVGA 7600 GS AGP
XP Home SP3
Goofus Maximus is offline Ignore this User   Reply With Quote
Old 07-31-2006, 01:43 PM   permanent link to #8
 
Wedge_'s Avatar
Wedge_
Rogue One
 
Join Date: Jan 2005
Location: Scotland
Posts: 1,016 (#87 )
Thanked 0x in 0 posts

Quote:
Originally Posted by Goofus Maximus
Is the old Linux addage of not putting spaces in filenames finally passe? At least for newer stuff?
If there is any current software around that can't handle spaces in filenames I'd be very surprised, it's not been a problem for years. You can actually do stuff with Linux filenames that you can't do in Windows - if you really want to name a file ":" or "<>", you can do it

Per Ardua Ad Astra
Wedge_ is offline Ignore this User   Reply With Quote
Old 07-31-2006, 01:54 PM   permanent link to #9
 
El_Presidente_Pufferfish's Avatar
El_Presidente_Pufferfish
I grew up here
 
Join Date: Jan 2005
Location: Michigan
Posts: 857 (#98 )
Thanked 0x in 0 posts
Send a message via AIM to El_Presidente_Pufferfish

Quote:
Originally Posted by Goofus Maximus
Is the old Linux addage of not putting spaces in filenames finally passe? At least for newer stuff?
I don't think this has been a problem for at least 6 years, as i've had a problem because of it
El_Presidente_Pufferfish is offline Ignore this User   Reply With Quote
Reply

Login to reply. Sign-up here.



1 people are viewing this thread! (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 04:56 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0
©Tweak3D.Net 1998-2008Ad Management by RedTyger