Unix Technical Forum

Slackware 11 and Sound

This is a discussion on Slackware 11 and Sound within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, Since Slax LiveCD worked so well I thought I would try Slackware again. Installation went well (Slackware is ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 08:22 PM
RonB
 
Posts: n/a
Default Slackware 11 and Sound

Hi,

Since Slax LiveCD worked so well I thought I would try Slackware again.
Installation went well (Slackware is very responsive on this 450
Mhz Pentium II with 128 Megs of RAM -- a computer that was just sitting)
-- but the sound card is proving to be a bit of a challenge. Slackware
found the card, has the correct chip set selected, but when I try testing
the sound I get nothing. Kmix and Alsamixer both show the sound settings,
and it's not muted. When I quit the Session I see several "FiFo" errors --
sound blocked for such&such a number of ms. I'm also getting some "Window
size" errors, but I not sure if that's related to the sound card tests or
not.

It's been a long while since I looked at Slackware. I like it.

BTW, one more thing. When I boot up I come to a text login, instead
of a graphical one -- then I type startx -- which doesn't bother me. But I
would also like to use fluxbox at times. "startfluxbox" results in a
"Can't start Xwindows -- or no connection to Xwindows -- error. (Sorry I
don't have the exact error.) This is not major but any pointers would be
appreciated.

--
RonB
"There's a story there...somewhere"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:22 PM
Doug713705
 
Posts: n/a
Default Re: Slackware 11 and Sound

Le lundi 18 décembre 2006 02:06, RonB s'est exprimé de la sorte sur
alt.os.linux.slackware :

> BTW, one more thing. When I boot up I come to a text login, instead
> of a graphical one -- then I type startx -- which doesn't bother me. But I
> would also like to use fluxbox at times. "startfluxbox" results in a
> "Can't start Xwindows -- or no connection to Xwindows -- error. (Sorry I
> don't have the exact error.) This is not major but any pointers would be
> appreciated.
>


To log in a graphical login, edit your /etc/inittab and set the initial
runlevel to 4 (change id:3:initdefault: to id:4:initdefault

To start fluxbox automatically, link /etc/X11/xinit/xinitrc.fluxbox
to /etc/X11/xinit/xinitrc

--
@+
Doug [Linux user #307925] - Slackware RuleZ ;-)
[Pourquoi t'es qui, qu'est ce que tu fais par où ?]
-- Pour me contacter enlever no-spam (2X) --
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:22 PM
Chris Sorenson
 
Posts: n/a
Default Re: Slackware 11 and Sound

RonB wrote:
> Hi,
>
> Since Slax LiveCD worked so well I thought I would try Slackware again.
> Installation went well (Slackware is very responsive on this 450
> Mhz Pentium II with 128 Megs of RAM -- a computer that was just sitting)
> -- but the sound card is proving to be a bit of a challenge. Slackware
> found the card, has the correct chip set selected, but when I try testing
> the sound I get nothing. Kmix and Alsamixer both show the sound settings,
> and it's not muted. When I quit the Session I see several "FiFo" errors --
> sound blocked for such&such a number of ms. I'm also getting some "Window
> size" errors, but I not sure if that's related to the sound card tests or
> not.
>


I seem to be saying this a lot lately, but have you run alsaconf?

> It's been a long while since I looked at Slackware. I like it.


Well yeah, what's not to like?

>
> BTW, one more thing. When I boot up I come to a text login, instead
> of a graphical one -- then I type startx -- which doesn't bother me. But I
> would also like to use fluxbox at times. "startfluxbox" results in a
> "Can't start Xwindows -- or no connection to Xwindows -- error. (Sorry I
> don't have the exact error.) This is not major but any pointers would be
> appreciated.
>


I have no knowlege of fluxbox, but my guess would be that you can copy
/etc/X11/xinit/xinitrc.fluxbox to your home directory, renaming it to
..xinitrc, and then typing startx should get it started for you...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 08:22 PM
notbob
 
Posts: n/a
Default Re: Slackware 11 and Sound

On 2006-12-18, Chris Sorenson <csoren@isd.net> wrote:

> I have no knowlege of fluxbox, but my guess would be that you can copy
> /etc/X11/xinit/xinitrc.fluxbox to your home directory, renaming it to
> .xinitrc, and then typing startx should get it started for you...


....or just type:

startx /etc/X11/xinit/xinitrc.fluxbox

.....which will let you try fluxbox, or any other desktop, without making
any permanent changes.

nb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 08:22 PM
RonB
 
Posts: n/a
Default Re: Slackware 11 and Sound

On Mon, 18 Dec 2006 01:43:44 +0100, Doug713705 wrote:

> Le lundi 18 décembre 2006 02:06, RonB s'est exprimé de la sorte sur
> alt.os.linux.slackware :
>
>> BTW, one more thing. When I boot up I come to a text login, instead
>> of a graphical one -- then I type startx -- which doesn't bother me. But I
>> would also like to use fluxbox at times. "startfluxbox" results in a
>> "Can't start Xwindows -- or no connection to Xwindows -- error. (Sorry I
>> don't have the exact error.) This is not major but any pointers would be
>> appreciated.
>>

>
> To log in a graphical login, edit your /etc/inittab and set the initial
> runlevel to 4 (change id:3:initdefault: to id:4:initdefault
>
> To start fluxbox automatically, link /etc/X11/xinit/xinitrc.fluxbox
> to /etc/X11/xinit/xinitrc


Thanks. I've copied your post to a file and will refer to it when making
changes. I don't actually want fluxbox to load automatically, just when I
want to use it.

--
RonB
"There's a story there...somewhere"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 08:22 PM
RonB
 
Posts: n/a
Default Re: Slackware 11 and Sound

On Sun, 17 Dec 2006 19:14:14 -0600, notbob wrote:

> On 2006-12-18, Chris Sorenson <csoren@isd.net> wrote:
>
>> I have no knowlege of fluxbox, but my guess would be that you can copy
>> /etc/X11/xinit/xinitrc.fluxbox to your home directory, renaming it to
>> .xinitrc, and then typing startx should get it started for you...

>
> ...or just type:
>
> startx /etc/X11/xinit/xinitrc.fluxbox
>
> ....which will let you try fluxbox, or any other desktop, without making
> any permanent changes.


Thanks. Also copied.

--
RonB
"There's a story there...somewhere"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 08:22 PM
Two Ravens
 
Posts: n/a
Default Re: Slackware 11 and Sound

RonB wrote:

> BTW, one more thing. When I boot up I come to a text login, instead
> of a graphical one -- then I type startx -- which doesn't bother me.
> But I would also like to use fluxbox at times. "startfluxbox" results
> in a "Can't start Xwindows -- or no connection to Xwindows -- error.
> (Sorry I don't have the exact error.) This is not major but any
> pointers would be appreciated.


You could just try typing xwmconfig selecting from the list of window
managers and then typing startx.

--
Two Ravens
"...hit the squirrel..."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 08:22 PM
RonB
 
Posts: n/a
Default Re: Slackware 11 and Sound

On Mon, 18 Dec 2006 05:24:04 +0000, Two Ravens wrote:

> RonB wrote:
>
>> BTW, one more thing. When I boot up I come to a text login, instead
>> of a graphical one -- then I type startx -- which doesn't bother me.
>> But I would also like to use fluxbox at times. "startfluxbox" results
>> in a "Can't start Xwindows -- or no connection to Xwindows -- error.
>> (Sorry I don't have the exact error.) This is not major but any
>> pointers would be appreciated.

>
> You could just try typing xwmconfig selecting from the list of window
> managers and then typing startx.


Thanks.

Alsaconf got the sound working -- at least half of it. MIDI still doesn't
test out -- but I'm learning. Thanks to all.

--
RonB
"There's a story there...somewhere"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 08:24 PM
Rich Grise
 
Posts: n/a
Default Re: Slackware 11 and Sound

On Sun, 17 Dec 2006 19:32:03 -0700, RonB wrote:
> On Mon, 18 Dec 2006 01:43:44 +0100, Doug713705 wrote:
>> Le lundi 18 décembre 2006 02:06, RonB s'est exprimé de la sorte sur
>>
>>> BTW, one more thing. When I boot up I come to a text login, instead
>>> of a graphical one -- then I type startx -- which doesn't bother me. But I
>>> would also like to use fluxbox at times. "startfluxbox" results in a
>>> "Can't start Xwindows -- or no connection to Xwindows -- error. (Sorry I
>>> don't have the exact error.) This is not major but any pointers would be
>>> appreciated.

>>
>> To log in a graphical login, edit your /etc/inittab and set the initial
>> runlevel to 4 (change id:3:initdefault: to id:4:initdefault
>>
>> To start fluxbox automatically, link /etc/X11/xinit/xinitrc.fluxbox
>> to /etc/X11/xinit/xinitrc

>
> Thanks. I've copied your post to a file and will refer to it when making
> changes. I don't actually want fluxbox to load automatically, just when I
> want to use it.


Here's how I do it:

richgrise@HeartWood:~
$ cat .profile
PS1='\u@\h:\w\n\$ '
export PS1
if [ `tty` = "/dev/tty1" ] ; then
echo -n 'Start X? (Y/n) '
read YN
if [ "x$YN" == x -o "x$YN" == xy -o "x$YN" == xY ] ; then
echo "starting X"
startx
fi
fi

I wanted to be able to read the fortune when I log in. ;-)

And to pick a window manager, you can always symlink
/etc/X11/xinitrc.<take your pick> to ~/.xinitrc .

Cheers!
Rich

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 08:24 PM
klang
 
Posts: n/a
Default Re: Slackware 11 and Sound

On Sun, 17 Dec 2006 19:34:36 -0700, RonB wrote:

> On Sun, 17 Dec 2006 19:14:14 -0600, notbob wrote:
>
>> On 2006-12-18, Chris Sorenson <csoren@isd.net> wrote:
>>
>>> I have no knowlege of fluxbox, but my guess would be that you can copy
>>> /etc/X11/xinit/xinitrc.fluxbox to your home directory, renaming it to
>>> .xinitrc, and then typing startx should get it started for you...

>>
>> ...or just type:
>>
>> startx /etc/X11/xinit/xinitrc.fluxbox
>>
>> ....which will let you try fluxbox, or any other desktop, without making
>> any permanent changes.

>
> Thanks. Also copied.


In your home directory create a file called .xinitrc using your text
editor of choice.

An example file would look like this

#kdestart

#exec gnome-session

#exec fluxbox

Now when you log into your computer in console mode load up this file in
your favourite text editor (eg vim or emacs)

Then select the gui that you want to use.

If you want to use fluxbox
delete the # on the #exec fluxbox line in the file. Save the file when
exiting the text editor.

Now all you have to do is type the command startx at the command prompt
and fluxbox will load.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com