LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2004, 06:59 PM   #1
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Rep: Reputation: 30
Computer as a jukebox


I had an old Aptiva lying around, so I installed Slackware on it and I have been using it to play my music with the monitor off. Since this is all I use it for, I thought it would be fun to go the extra step and convert it into a full time jukebox. I need to know a few things about this:

-How can I change the keyboard shortcuts for XMMS?
-Can I play music with XMMS without X running, and how would I start it automatically?
-Is it safe to saw a keyboard into a small piece that only has the 5 buttons or so that I need? to have Play, Stop, Forward, Back, Vol Up, and Vol Down.

Any other suggestions would be helpful

Thanks,
-LBB
 
Old 04-16-2004, 07:24 PM   #2
lujan
Member
 
Registered: Sep 2003
Distribution: Ubuntu, Debian Sarge, Mac OS X, FreeBSD
Posts: 45

Rep: Reputation: 16
Re: Computer as a jukebox

Quote:
Originally posted by LinuxBlackBox

-How can I change the keyboard shortcuts for XMMS?
-Can I play music with XMMS without X running, and how would I start it automatically?
-Is it safe to saw a keyboard into a small piece that only has the 5 buttons or so that I need? to have Play, Stop, Forward, Back, Vol Up, and Vol Down.

Any other suggestions would be helpful

Thanks,
-LBB
I wouldn't want to cut a keyboard up

I would recommend installing something like Globecom Jukebox which is what I use. And I love it. Web based admin from my desktop blasts mp3s throughout the house
 
Old 04-16-2004, 07:32 PM   #3
Spasmolytic
Member
 
Registered: Sep 2003
Location: Chicago, IL
Distribution: Slackware 10
Posts: 72

Rep: Reputation: 15
Unless you want to use XMMS for a particular reason, you could use mp3blaster as your mp3 player instead. It's ncurses-based so X doesn't need to be running.

http://www.stack.nl/~brama/mp3blaster.html

screenshot:
http://www.stack.nl/~brama/mp3blaste...e1_playing.gif

Last edited by Spasmolytic; 04-16-2004 at 07:34 PM.
 
Old 04-16-2004, 07:50 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,745

Rep: Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924
See this thread:
http://www.linuxquestions.org/questi...hreadid=170314

Quote:
Is it safe to saw a keyboard into a small piece that only has the 5 buttons or so that I need? to have Play, Stop, Forward, Back, Vol Up, and Vol Down.
Unless you cut yourself But no, I doubt the keyboard will work if you cut it apart. I can't really say because I've never tried it myself.

If you have some extra $ you could buy a small 20 key or so ps2 keypad. Then relabel the keys to your whims. It wouldn't take much to write a script.

What would really be nice is a small LCD touch screen.
http://www.avdeals.com/xenarc/700ts.htm

Other solutions require a little more effort like building a keypad that attaches to the parallel or serial ports. You could also use small LCD character displays that interface to a serial port. They come in various line and character lengths.
 
Old 04-16-2004, 08:22 PM   #5
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Original Poster
Rep: Reputation: 30
wow, I am amazed at all the fast responses.

I'm really liking that mp3blaster program, I'm going to give that a try and see if it sounds as good as XMMS.

What I was thinking I'd do with the keyboard was just map the 'Fwd, Back, Play, Pause, etc.' buttons to Z X C V B N and M on the bottom row. Then I could get out the trusty old hacksaw and remove the rest of the keys. sand off the edges, and repaint it. I would think that those characters would still get sent, just the others wouldnt work.

That LCD is just beautiful, but I think I might be in some trouble if I went out and spent $500 on our music system

The mini-keyboards are also a good idea. I will try that if making my own dosnet work.

Thanks for all of your help,
LBB
 
Old 04-16-2004, 09:17 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,745

Rep: Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924
How a keyboard works:
http://www.win.tue.nl/~aeb/linux/kbd/scancodes-10.html
http://www.burtonsys.com/PS2_keyboar...r_pinouts.html
http://panda.cs.ndsu.nodak.edu/~acha...ro/PS2/ps2.htm

You would need to disasemble the keyboard taking note of the controller and circuit board layout. Like I said Iv'e never taken a keyboard apart but a closer examination might lead to the possibility of cutting the board down. There is a also chance damaging the keyboard controller inside the PC with your modified keyboard.
 
Old 04-17-2004, 07:51 AM   #7
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Original Poster
Rep: Reputation: 30
mp3blaster works great, and I especially like it because I dont have to load up KDE and X when I dont need it. I took apart one of my old keyboards and looked at those links that michealk posted. I dont think cutting up the keyboard is going to work. On my board the processor is right in the center of the back, so I would have to find some way to move it, and that would not be easy. Instead, I am going to try to get one of those detachable keypads that come with some laptops. That should work well enough.

Thanks for all the help
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Jukebox The_Landlord Linux - Newbie 2 10-11-2005 09:14 AM
LQ Radio Jukebox mogrady LQ Suggestions & Feedback 1 10-08-2005 06:13 AM
Linux jukebox Dragokatzov Linux - General 3 04-08-2005 06:33 PM
musicmatch jukebox harperlee Linux - Hardware 2 01-18-2005 10:59 AM
MUCHMUSIC Jukebox aru_titi Linux - General 1 07-15-2003 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration