Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Peanutmonger
Dec 6, 2002

Grigori Rasputin posted:

What's the best way to rip CDs in ubuntu? EAC is awesome and after a little looking it seems like there might not be anything quite as perfect on linux? I found a guide to set up EAC in WINE if needed.

Ideally I'd just like to write a script so that I can pop a CD in, it will get FreeDB info, rip to V0 and FLAC and then tag them.

Look into abcde. It makes ripping a CD literally typing "abcde", choosing the correct track info, and letting it go.

Adbot
ADBOT LOVES YOU

mike12345
Jul 14, 2008

"Whether the Earth was created in 7 days, or 7 actual eras, I'm not sure we'll ever be able to answer that. It's one of the great mysteries."





Grigori Rasputin posted:

What's the best way to rip CDs in ubuntu? EAC is awesome and after a little looking it seems like there might not be anything quite as perfect on linux? I found a guide to set up EAC in WINE if needed.

Ideally I'd just like to write a script so that I can pop a CD in, it will get FreeDB info, rip to V0 and FLAC and then tag them.

Sound Juicer and grip come to mind. Like you I used EAC, but found that Sound Juicer does the job just as well.

adante
Sep 18, 2003
i just installed ubuntu server. When i try to ssh into the box remotely it seems to stall for about 5 seconds at some stage. (I am pretty sure this is NOT the reverse dns lookup problem as it happens before I am authenticated, and I disabled dns anyway)

running ssh -vvv shows that it freezes right after testing for ~/.ssh/id_rsa. in this log, it pauses after line 71.

This stall does not occur if I ssh in locally (ie while on the box, ssh localhost). Any idea what is causuing it?

Nullsmack
Dec 7, 2001
Digital apocalypse
Does a free cd/dvd burning program exist for linux that offers a web interface? I found one but they want you to buy a commercial component to handle dvd burning or something like that. I'd also like to find an option to let me queue up the files I want to burn off and then just swap discs for each job.

Anything like that exist?

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Nullsmack posted:

Does a free cd/dvd burning program exist for linux that offers a web interface? I found one but they want you to buy a commercial component to handle dvd burning or something like that.

I'm really curious what the use-case for this is. I mean, to burn a CD, don't you have to be physically at the machine so you can put the media in? What do you gain from the web interface?

Nullsmack posted:

I'd also like to find an option to let me queue up the files I want to burn off and then just swap discs for each job.

Anything like that exist?

code:
#!/bin/sh

mount /media/cdrom
cp /media/cdrom/files/to/copy /copy/files/to/here
umount /media/cdrom
eject

echo "Please insert the next disc, then press enter."
read

mount /media/cdrom
cp /media/cdrom/more/files /copy/files/to/here
umount /media/cdrom
eject
and so on...

Edit: On re-reading, I guess you want to burn discs, not copy from them? "Burn off" confuses me a little.

code:
#!/bin/sh

mkisofs /files/to/burn | wodim dev=/dev/cdr -eject

echo "Please insert the next disc, then press enter."
read

mkisofs /more/files/to/burn | wodim dev=/dev/cdr -eject
and so on...

Edit 2: And if pressing enter is too much work, you can probably do something like:

code:
#!/bin/sh

CDROM_UDI="$(hal-find-by-property --key storage.drive_type --string cdrom)"

mkisofs /files/to/burn | wodim dev=/dev/cdr -eject

until $(hal-get-property --udi "${CDROM_UDI}" --key storage.removable.media_available); do sleep 0.1; done

mkisofs /more/files/to/burn | wodim dev=/dev/cdr -eject
Which is about the least-painful way to portably poll a CD drive for media. If you have multiple drives, you'll probably have to hardcode the correct UDI.

ShoulderDaemon fucked around with this message at 17:56 on Feb 8, 2009

Nullsmack
Dec 7, 2001
Digital apocalypse
The machine is sitting next to me, but I don't have a dedicated monitor set up on it and vnc can be annoying sometimes. I have a desktop environment on it though so I guess I could just use vnc.

A GUI way to select files and have them burned to cd/dvds automatically would be nice though. I don't see how those script chunks would help me since I'm not just archiving the same files over and over.

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Nullsmack posted:

The machine is sitting next to me, but I don't have a dedicated monitor set up on it and vnc can be annoying sometimes. I have a desktop environment on it though so I guess I could just use vnc.

Ah. Yeah, I'd just use vnc.

Nullsmack posted:

A GUI way to select files and have them burned to cd/dvds automatically would be nice though. I don't see how those script chunks would help me since I'm not just archiving the same files over and over.

Well, you could use a GUI to build the isos, then just burn and remove them one after another. The point is that the commandline burning tools are available, so you just call it over and over with each different list of files to burn.

So, if you wanted to burn the files in /foo to disc 1, /bar to disc 2, and /qux to disc 3, you'd write:

code:
mkisofs /foo | wodim

(wait for next disc)

mkisofs /bar | wodim

(wait for next disc)

mkisofs /qux | wodim

(wait for next disc)
Or if you just want to use a tool to build a bunch of .isos, then burn them, you can use a script like this:

code:
for ISO in /put/isos/in/here/*.iso; do
  wodim $ISO && rm $ISO
  (wait for next disc)
done

deong
Jun 13, 2001

I'll see you in heck!

Grigori Rasputin posted:

What's the best way to rip CDs in ubuntu? EAC is awesome and after a little looking it seems like there might not be anything quite as perfect on linux? I found a guide to set up EAC in WINE if needed.

Ideally I'd just like to write a script so that I can pop a CD in, it will get FreeDB info, rip to V0 and FLAC and then tag them.

Rubyripper was made to fill EAC's shoes on Linux. Here is some info on it from Hydrogen Audio forums.

They have up to date deb's at getdeb.

Green Puddin
Mar 30, 2008

Alright guys, please PLEASE help me on this one. Is there any way to just force an internet connection to stay on and active, even when there is no connection? I thought I could get networking bridging/sharing done through PClOS, I've made sure that both connections are going and configured, but every time I go through the "Share Internet Connection" wizard thing through the Control Computer menu, it tells me that eth0 can't be found/isn't configured ...

Tried firestarter too, it also told me that a connection wasn't up. I've installed bind and squid and other things it needs... What the hell more does it want from me?

Grigori Rasputin
Aug 21, 2000
WE DON'T NEED ROME TELLING US WHAT TO DO
Alright, thanks folks... you have helped the initial transition along quite flawlessly. I still need help getting music onto my iPod, a friend says he runs a Vista install in VirtualBox but I'd like to avoid doing that if possible. It seems like most of the players have dodgy support.

covener
Jan 10, 2004

You know, for kids!

Grigori Rasputin posted:

Alright, thanks folks... you have helped the initial transition along quite flawlessly. I still need help getting music onto my iPod, a friend says he runs a Vista install in VirtualBox but I'd like to avoid doing that if possible. It seems like most of the players have dodgy support.

gnupod is a simple command-line tool to add/search/delete.

KS
Jun 10, 2003
Outrageous Lumpwad
sed 's/[a-z,A-Z,-,=,,., ]*\([0-9]*\)/ \1/'

How the heck do I delimit the hyphen to make it work?

Modern Pragmatist
Aug 20, 2008

KS posted:

sed 's/[a-z,A-Z,-,=,,., ]*\([0-9]*\)/ \1/'

How the heck do I delimit the hyphen to make it work?

code:
sed 's/[-,a-z,A-Z,=,,., ]*\([0-9]*\)/ \1/'
Place the hyphen at the beginning of the group

Modern Pragmatist fucked around with this message at 21:39 on Feb 9, 2009

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

KS posted:

sed 's/[a-z,A-Z,-,=,,., ]*\([0-9]*\)/ \1/'

How the heck do I delimit the hyphen to make it work?

I don't know what's going on with those commas and stuff but I'm guessing you want sed "s/[a-zA-Z=. -]*\\([0-9]*\\)/\\1/" or possibly sed "s/[a-zA-Z=. ,-]*\\([0-9]*\\)/\\1/" depending on if you expect commas to be matched by that first group or not.

KS
Jun 10, 2003
Outrageous Lumpwad

Modern Pragmatist posted:

Place the hyphen at the beginning of the group

That worked perfectly, thank you! Delimiting it with a backslash doesn't.

ShoulderDaemon posted:

I don't know what's going on with those commas and stuff

I had to delete some stuff before posting and left an extra one, sorry for the confusion and thanks.


edit: vvv aha, learn something new every day.

KS fucked around with this message at 21:28 on Feb 9, 2009

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

KS posted:

I had to delete some stuff before posting and left an extra one, sorry for the confusion and thanks.

No, you left a minimum of 5 extra commas. Commas are not used as separators inside [] groups.

The Merkinman
Apr 22, 2007

I sell only quality merkins. What is a merkin you ask? Why, it's a wig for your genitals!
Is there any audio player for Linux that has the album art view of Windows Media Player?
For those unfamiliar with what I'm describing, here is a picture.
http://www.microsoft.com/library/media/15369/hk/windows/images/windows-vista/discover/Web_MediaPlayer_album02.jpg

Not shown in the picture: If you group by artist, and there are multiple albums by the same artist it also stacks album art in a fan like orientation.

Anmitzcuaca
Nov 23, 2005

Is there a way to give my desktop icon text in GNOME a rounded, semi-transparent background like when they're selected, but all the time? If anyone has a simple method of randomising wallpaper on login in GNOME too it would be useful to me.

Also, how do I make the fonts in Opera not look like rear end?

Anmitzcuaca fucked around with this message at 10:03 on Feb 10, 2009

Grigori Rasputin
Aug 21, 2000
WE DON'T NEED ROME TELLING US WHAT TO DO
Is there a free way to connect to VNC using encryption, or do I have to use a paid client? Can I tunnel through SSH? Thanks.

Mr. Eric Praline
Aug 13, 2004
I didn't like the others, they were all too flat.

Grigori Rasputin posted:

Is there a free way to connect to VNC using encryption, or do I have to use a paid client? Can I tunnel through SSH? Thanks.
SSH tunnel works fine with VNC.
code:
ssh -L<free local port>:hostname:5900 user@host
Then connect your VNC client to localhost:<local port>

I could be recalling VNC's listening port wrong. I don't specify 5900 as the local port, since you might be running VNC locally as well, and that always seems to confuse people trying to tunnel.

Postal
Aug 9, 2003

Don't make me go postal!
I'd like to differentiate some characteristics between my USB mouse and touchpad in Fedora 10 on my Dell D820. I've read a few partial solutions, but can't find a complete how-to like reference. For instance, I'd like the pointer speed to be different when using an external mouse than when using the touchpad.

Can anyone point me in the right direction or give a tutorial?

juggalol
Nov 28, 2004

Rock For Sustainable Capitalism

The Merkinman posted:

Is there any audio player for Linux that has the album art view of Windows Media Player?
For those unfamiliar with what I'm describing, here is a picture.
http://www.microsoft.com/library/media/15369/hk/windows/images/windows-vista/discover/Web_MediaPlayer_album02.jpg

Not shown in the picture: If you group by artist, and there are multiple albums by the same artist it also stacks album art in a fan like orientation.

I don't know about the stacking view, but Amarok supports album artwork and allows you browse through album cover photos to pick what you want to listen to.

Wallin
May 10, 2004
:o
What's the best way to install a library on a system you don't have root access to? In particular, I'm trying to build erlang on a system for some experiments, and it turns out the systems doesn't have any curses library.

I downloaded, compiled, and installed ncurses to my ~/custom directory, set
LD_LIBRARY_PATH=$HOME/custom/lib
and
C_INCLUDE_PATH=$HOME/custom/include

Unfortunately, the configure for erlang still isn't detecting any curses library. I'm pretty sure I've done something similar to this in the past that worked, but perhaps I have the environment variables wrong? Is there some other way to go about doing this?

Grigori Rasputin
Aug 21, 2000
WE DON'T NEED ROME TELLING US WHAT TO DO

chryst posted:

SSH tunnel works fine with VNC.
code:
ssh -L<free local port>:hostname:5900 user@host
Then connect your VNC client to localhost:<local port>

I could be recalling VNC's listening port wrong. I don't specify 5900 as the local port, since you might be running VNC locally as well, and that always seems to confuse people trying to tunnel.

Can you explain this in a little more depth? I almost get it, but not quite. Let's be clear on a few things. I'm using a Vista box running putty to connect to an Ubuntu box... the ultimate goal is to run VNC as securely as possible while paying nothing (over SSH).

So, we'll consider my Vista box the local computer (<local>) and the Ubuntu box the remote computer (<remote>). I'm confused by your use of local/host since it gets muddy in my mind while connecting over SSH. Does that command you post open up a port on the windows box <free local port> that VNC sends/receives from through SSH, which delivers it to <remote host>:5900 using <remote user>@<remote host>?

I tried it and still couldn't connect, but maybe my understanding is a bit off. Thanks.

skipdogg
Nov 29, 2004
Resident SRT-4 Expert

Yeah.. i'm back with another retarded question.

I've got a basic html website that just stopped displaying the graphics. I restarted apache, and verified the graphics are in teh /var/www/<site>/ folder. This just stopped working a few days ago... and no settings I'm aware of have changed.

KS
Jun 10, 2003
Outrageous Lumpwad

Grigori Rasputin posted:

Can you explain this in a little more depth? I almost get it, but not quite. Let's be clear on a few things. I'm using a Vista box running putty to connect to an Ubuntu box... the ultimate goal is to run VNC as securely as possible while paying nothing (over SSH).

So, we'll consider my Vista box the local computer (<local>) and the Ubuntu box the remote computer (<remote>). I'm confused by your use of local/host since it gets muddy in my mind while connecting over SSH. Does that command you post open up a port on the windows box <free local port> that VNC sends/receives from through SSH, which delivers it to <remote host>:5900 using <remote user>@<remote host>?

I tried it and still couldn't connect, but maybe my understanding is a bit off. Thanks.

Okay, if you're using putty look at the connection --> ssh settings. Hit "don't start a shell at all." Go to the "tunnels" submenu. For source port, put in 9999. For destination, put in the Ip and port of the computer running vnc. Since you're sshing to the server with VNC on it, 127.0.0.1:5900 is fine.

What this does: when you point your VNC client to localhost:9999, it forwards through the tunnel to 127.0.0.1:5900. What you posted above is essentially correct.

Grigori Rasputin
Aug 21, 2000
WE DON'T NEED ROME TELLING US WHAT TO DO
Ok, that's what I thought. One more knowledge gap to fill in... once I've sent information over to <host> via SSH tunneling, how does SSH know what to do with it/hand it off to the VNC server? I feel like there's probably something I need to configure on the server to route the information from SSH.

Thanks so much KS, you're a dream.

do it
Jan 3, 2006

don't tell me words don't matter!

Grigori Rasputin posted:

Ok, that's what I thought. One more knowledge gap to fill in... once I've sent information over to <host> via SSH tunneling, how does SSH know what to do with it/hand it off to the VNC server? I feel like there's probably something I need to configure on the server to route the information from SSH.

Thanks so much KS, you're a dream.
SSH doesn't need to know what's going over that port since all it is doing is essentially changing the port numbers. You could be forwarding ports for your toilet flushing application over port 9999 if you wanted to, and SSH wouldn't care. To answer your last question, no, you shouldn't have to do anything to SSH configuration files to allow port forwarding.

waffle iron
Jan 16, 2004

Wallin posted:

What's the best way to install a library on a system you don't have root access to? In particular, I'm trying to build erlang on a system for some experiments, and it turns out the systems doesn't have any curses library.

I downloaded, compiled, and installed ncurses to my ~/custom directory, set
LD_LIBRARY_PATH=$HOME/custom/lib
and
C_INCLUDE_PATH=$HOME/custom/include

Unfortunately, the configure for erlang still isn't detecting any curses library. I'm pretty sure I've done something similar to this in the past that worked, but perhaps I have the environment variables wrong? Is there some other way to go about doing this?
The ./configure script should take the form --with-curses=PATH_TO_CURSES

Modern Pragmatist
Aug 20, 2008

skipdogg posted:

I've got a basic html website that just stopped displaying the graphics. I restarted apache, and verified the graphics are in teh /var/www/<site>/ folder. This just stopped working a few days ago... and no settings I'm aware of have changed.

Try Viewing Source and then copying the <img> src and paste into the browser's address bar to show the image alone (without the page).

Did you check permissions of the images?

skipdogg
Nov 29, 2004
Resident SRT-4 Expert

Modern Pragmatist posted:

Try Viewing Source and then copying the <img> src and paste into the browser's address bar to show the image alone (without the page).

This works.

As for permissions

code:
[root@xxxxxx blocked]# ls -l
total 32
-rw-r--r--  1 root root 1882 Jan  3  2007 xxxxxlogo.gif
-rw-r--r--  1 root root 1165 Mar 18  2007 index.html
-rw-r--r--  1 root root  153 Jan  3  2007 mail.gif
-rw-r--r--  1 root root 3004 Jan  3  2007 xxxxwarning.gif

I didn't change them, and don't think anyone else could have...

The Merkinman
Apr 22, 2007

I sell only quality merkins. What is a merkin you ask? Why, it's a wig for your genitals!

juggalol posted:

I don't know about the stacking view, but Amarok supports album artwork and allows you browse through album cover photos to pick what you want to listen to.

Is this in Amarok 2? I tried 1.4 (Ubuntu 8.10) and I don't see that option anywhere.

Modern Pragmatist
Aug 20, 2008

skipdogg posted:

code:
[root@xxxxxx blocked]# ls -l
total 32
-rw-r--r--  1 root root 1882 Jan  3  2007 xxxxxlogo.gif
-rw-r--r--  1 root root 1165 Mar 18  2007 index.html
-rw-r--r--  1 root root  153 Jan  3  2007 mail.gif
-rw-r--r--  1 root root 3004 Jan  3  2007 xxxxwarning.gif


Try replacing src of <img> tags with the full path (<img src="http://127.0.0.1/site/xxxxxlogo.gif"/>) just to test that.

Also, could you post the relevant portion of index.html?

Wallin
May 10, 2004
:o

waffle iron posted:

The ./configure script should take the form --with-curses=PATH_TO_CURSES

Didn't work (and didn't see that option listed in ./configuire -h). I've also tried setting LDFLAGS and CPPFLAGS now too.

I wonder if the version of ncurses that I compiled by default isn't adequate. I read online you need ncurses-dev. Do you know what configuration changes ncurses-dev involves?

covener
Jan 10, 2004

You know, for kids!

Wallin posted:

Didn't work (and didn't see that option listed in ./configuire -h). I've also tried setting LDFLAGS and CPPFLAGS now too.

I wonder if the version of ncurses that I compiled by default isn't adequate. I read online you need ncurses-dev. Do you know what configuration changes ncurses-dev involves?

if you built ncurses from source, you're fine. If you installed a binary package, you need the corresponding -dev to be able to build anything against it. It shouldn't require any configuration changes.

covener
Jan 10, 2004

You know, for kids!

skipdogg posted:

Yeah.. i'm back with another retarded question.

I've got a basic html website that just stopped displaying the graphics. I restarted apache, and verified the graphics are in teh /var/www/<site>/ folder. This just stopped working a few days ago... and no settings I'm aware of have changed.

what does your error and access log say, verbatim?

Twlight
Feb 18, 2005

I brag about getting free drinks from my boss to make myself feel superior
Fun Shoe
Hello everyone:

I got an interesting question regarding permissions and vsftpd. I have a ftp folder that will have 2 groups of people accessing it. Group 1 needs full read/write permissions on that folder. Group 2 needs only read access to that folder. While I have Group 1 being able to access download and upload files. I'm unsure as how I would force Group 2 to only have read permissions. Any permissions experts have any ideas?

Grigori Rasputin
Aug 21, 2000
WE DON'T NEED ROME TELLING US WHAT TO DO
Alright, I've got my tunnel up and running, and hopefully just have one final question. Upon connecting to my home computer, the graphics are being sent/rendered as full color (via the tunnel) whereas before they were restricted to 64. Performance is a lot better with low color, except the setting seems to be being overridden. Is there something I'm missing?

I figure it's being overridden because the tunneling makes the vnc server assume it's a local connection, when really it's a remote one.

EDIT: Figured it out, had to change the setting after connecting.. the one I set first wasn't sticking for some reason.

Grigori Rasputin fucked around with this message at 00:35 on Feb 12, 2009

other people
Jun 27, 2004
Associate Christ

covener posted:

The htaccess doesn't look like it implements what you wrote. However if it works on one server and not the other, check AllowOverride.

Re: your crashes, are you using mod_php + the worker MPM? You could set a non-zero ulimit -c, add the CoreDumpDirectory directive, and get a backtrace with the info at http://httpd.apache.org/dev/debugging.html but I'm not sure the backtrace would get you anywhere since you already know it's in some PHP app.

I have copied the db/php back to an old hosting account that I still have available. It works like a charm there >:(.

I obviously don't have access to this hosting accounts php.ini and apache2.conf etc, but is there anything useful I could get with phpinfo() or something that might shed light on what is different from their server and mine that is causing all this trouble?


edit: I think I may have narrowed this down a bit. When I look at the phpinfo() output I see that the only "Registered PHP Streams" I have listed is zip. These streams or protocols or wrappers are what fopen() use to connect to things. There is an http stream as well as https for example, both of which are available on my working server.

The shitter is that I cannot figure out how to add these streams to my server at all. How do I do this?

other people fucked around with this message at 05:44 on Feb 12, 2009

Adbot
ADBOT LOVES YOU

Hughmoris
Apr 21, 2007
Let's go to the abyss!
I'm giving myself another shot at learning the terminal commands, for fun, and I'm a bit stumped.

I'm reading a tutorial where they talk about using
code:
 ls > file_list.txt 
to write the list of a folder to a text file. Whenever I try to do that, I receive the error
code:
 bash: file_list.txt: Permission Denied 
. Same thing appears to happen when I try to run as sudo. What am I messing up?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply