LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2011, 04:45 PM   #1
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Rep: Reputation: 24
Lost all sounds on 13.1 WM fluxbox


I've lost all sound output. Still works in xp. As root, reran alsaconf, alsamixer and alsactl store. No effect. Run xmms and all is normal except no sound; it plays the file, shows its title, the visual display is active as usual.

Is there something I could have done that would mute all sound output?
 
Old 04-12-2011, 07:02 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
You might try booting to a live CD and seeing whether you can play media. If you can, that would indicate something's gone screwy with your software load.

Another test would be to create a new user and test whether the new user can play music. If so, something might have gone screwy in your user configuration files.

Last edited by frankbell; 04-12-2011 at 07:02 PM. Reason: Inability to read
 
Old 04-13-2011, 09:00 AM   #3
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by frankbell View Post
Another test would be to create a new user and test whether the new user can play music. If so, something might have gone screwy in your user configuration files.
I added a new user, but no luck, and root has no sounds either, so I guess its a corrupted configuration file. But the only thing I've done with music recently is a bash script to generate and play a random playlist. As this is my first real bash script, I might well have done something I shouldn't, but I don't see how, as neither of the files it references is a system file.
Code:
#!/bin/bash

# generate a playlist of 50 randomly selected tunes from 2.n3u
e=`cat /home/g/2.n3u`	# read pseudo-playlist into $e
rm /home/g/rand.m3u	# delete previous playlist
limit=${e: -7:5}	# the highest selection number in 2.n3u
oamt=0
d=
FLOOR=10000	# corresponds to the lowest selection number in 2.n3u
while [ $oamt -lt 50 ]	# oamt controls generation of 50 tunes in rand.m3u
	do
		number=0	# set number so while loop executes at least once per cycle
		while [ "$number" -lt $FLOOR ]
  		    do
  			number=$RANDOM
  			let "number %= $limit"		# 10000 <= number < limit
  		    done
  	grep -m 1 " $number" /home/g/2.n3u | awk '{ print $1 >> "/home/g/rand.m3u" }'
  	oamt=$((oamt+1))
        done
xmms -p /home/g/rand.m3u &		# play rand.m3u
exit 0
 
Old 04-13-2011, 11:41 AM   #4
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Lost all sounds on 13.1 WM fluxbox

OK, I fixed the problem, and it ties directly to another question I was going to ask after settling this one. I had added these lines to /etc/rc.d/rc.local
Code:
su - g -c startx
firefox
xrvt
jedit
kwrite
Everything starts up just fine except for jedit. Yet when I put jedit in at the terminal, the program starts up quite happily.

So my next question was going to be, "Why does starting jedit work in a terminal, but not in rc.local?" It turns out that jedit in rc.local doesn't start that editor, instead it turns off all sounds for the entire system, for when I remove jedit everything works again.

So now my question has changed, "Does anyone know how I can start jedit automatically after rc.local has run?"
 
  


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
Lost ability to change Virtual Terminals [ Fluxbox, Xorg ] darkhand Gentoo 10 08-22-2009 03:22 PM
System sounds don't work as well as sounds through a browser Bagmeijer Linux - Newbie 1 03-03-2008 11:53 AM
I've lost my Sounds ffilc7373 Ubuntu 11 02-23-2007 02:54 PM
Fluxbox error /usr/share/fluxbox/nls/en_GB/fluxbox.cat humbletech99 Debian 2 12-29-2005 10:16 AM
Recorded audio sounds horrible, but the untouched line-in sounds ok? justin218 Linux - Newbie 1 10-14-2003 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:02 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