My awesome WM(desktop environment) with sound problem!
I'm a newer to awesome .there's only one window manager awesome in my linux without any desktop environment(KDE GNOME...) or display manager(gdm kdm...etc) ,but I encountered a problem : there's no sound when playing music in the awesome environment ,but it sounds when switch to anoter tty on which the user of awesome DE has logined.
It's really strange.... beg for help .
Here's my rc.lua about volume:
vicious = require("vicious")
volumewidget = widget({ type = "textbox"})
volumewidget:buttons(awful.util.table.join(
-- awful.button({ }, 1, function () awful.util.spawn("amixer -q set Master toggle", false) end),
awful.button({ }, 2, function () awful.util.spawn("xterm -e alsamixer", true) end)
-- awful.button({ }, 4, function () awful.util.spawn("amixer -q set Master 2dB+", false) end),
-- awful.button({ }, 5, function () awful.util.spawn("amixer -q set Master 2dB-", false) end)
vicious.register(volumewidget, vicious.widgets.volume," $1% ", 2, "Capture")
supplement : I entered awesoem DE by typing in : /bin/su will -l -c "/bin/bash --login -c xinit" (issue "startx" makes no difference) in tty1, then awesome startup on another tty (tty2 ,tty7 e.g.).
Here's the processes after login in awesome:
[will@will-laptop ~]$ pstree
systemd─┬─NetworkManager─┬─dhclient
│ └─3*[{NetworkManager}]
├─4*[agetty]
├─atd
├─auditd─┬─audispd─┬─sedispatch
│ │ └─{audispd}
│ └─{auditd}
├─chrome─┬─chrome
│ ├─chrome-sandbox───chrome─┬─chrome─┬─10*[chrome───3*[{chrome}]]
│ │ │ └─chrome───12*[{chrome}]
│ │ └─nacl_helper_boo
│ └─25*[{chrome}]
├─chronyd
├─crond
├─2*[dbus-daemon]
├─dbus-launch
├─login───bash───su───xinit─┬─X
│ └─awesome
├─login───bash
├─mcelog
├─modem-manager
├─polkitd───{polkitd}
├─pulseaudio───2*[{pulseaudio}]
├─roxterm─┬─bash───sudo───vi
│ ├─bash───pstree
│ ├─gnome-pty-helpe
│ └─{roxterm}
├─rsyslogd───3*[{rsyslogd}]
├─rtkit-daemon───2*[{rtkit-daemon}]
├─system-setup-ke
├─systemd-journal
├─systemd-logind
├─udevd───2*[udevd]
└─wpa_supplicant
Well, if you don't necessarily need pulseaudio, I'd just uninstall it. I've never had any problems with alsa and awesome wm. However, if you need pulseaudio, like I did, then some applications are going to throw errors. Is the sound muted for any sound or just when you use a specific application? If its all applications, try just using alsa and see if the problem persists. If its a specific application, you might not be able to do anything about it depending on the application. Either way, install pavucontrol, which is a great gui for pulseaudio. You might notice that the channel is muted or something else through pavucontrol. Check that dbus is started in the daemons in /etc/rc.conf. Check the troubleshooting section here: https://wiki.archlinux.org/index.php/Pu … figuration.
Similar Messages
-
Tiler Desktop Environment with support for iconified files and dirs
I like to put a lot of my temporary files and directories I am working with on the desktop as icons so I can easily start them by the click of a button. However in gnome I am always manually tiling my windows. Is there any tiler with icon support? Or do you recommend running a tiler inside a more complex desktop environment?
Last edited by lordmetroid (2009-12-23 16:19:24)moljac024 wrote:GNOME/XFCE+Xmonad can work pretty well...
http://www.haskell.org/haskellwiki/Xmon … d_in_Gnome -
Unable to login to Java Desktop Environment with new user
Hi
I have created a new user in my Solaris10 x86 using the command
#useradd nama
I added the passwd to the user, using passwd.But when i am trying to login through GUI(Java Desktop Environment) i am unable to login.
After giving username and password , again its showing the login screen itself.
But i am able to login with root permissions.
Could anyone help me .
Thanks inadvance.use this workaround, as root edit /etc/auto_home and /etc/auto_master and comment out all the configuration and reboot the machine. then use useradd utility to add your normal users.
# useradd -d /export/home/user1 -s /usr/bin/bash -m user1
HTH -
Load flash movie which with sound problem
Hi, all,
I am doing a flash which with audio, the audio about 3-4 mins. But when i use another flash movie to load that flash mov with sound (using load movie function), cannot hear any voice. Why is it?
The flash movie with sound is use actionscript to attach the sound, when i test the movie, it is work. When it comes to load from another movie, it doesn't work. Anyone can help me to solve it?
Thanks.What version of Actionscript are you using?
-
I have a lenovo G570, win8, with sound problems in firefox
everything worked fine for the past year, i had to reinstall win 8 and now if i want to listen to sound, such as Pandora or youtube on Firefox, it does not switch from ext speakers to headphones when I plug them in. but if they are plugged in when I open firefox, its the opposite, and the ext speakers wont work when i unplug my headphones. BUT all stand alone such as I-tunes, and WMP work fine, and also Pandora and youtube works fine in Windows IE. I have uninstalled and reinstalled Firefox, Flash, and my sound card, all with the same results. Any ideas?
Hello,
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Once you get the pop-up, just select "'Start in Safe Mode"''
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Thank you. -
First experience with sound problems in Arch
Hi everyone. Just did a fresh install and pacman -Syu so everything should be up to date. Installed alsa-utils and made sure Master and PCM were unmuted. My goal here is to create a headless PC that interfaces with my radio, in order to use digital modes like RTTY and PSK.
EDIT: Forgot to mention here the nature of the problem -- no sound at all. However, the program fldigi seems to be able to get input from the Line In.
pavucontrol shows the meter moving when sound is being generated. Here's the output from lsmod | grep snd:
snd_via82xx 17875 4
snd_via82xx_modem 7514 0
snd_ac97_codec 89368 2 snd_via82xx,snd_via82xx_modem
snd_wavefront 28274 0
ac97_bus 874 1 snd_ac97_codec
snd_cs4236 22200 0
snd_wss_lib 18042 2 snd_wavefront,snd_cs4236
snd_opl3_lib 7122 2 snd_wavefront,snd_cs4236
snd_hwdep 4778 2 snd_wavefront,snd_opl3_lib
snd_mpu401_uart 4783 3 snd_via82xx,snd_wavefront,snd_cs4236
snd_rawmidi 14796 2 snd_wavefront,snd_mpu401_uart
snd_pcm 65796 5 snd_via82xx,snd_ac97_codec,snd_wss_lib,snd_via82xx_modem,snd_cs4236
snd_timer 15006 3 snd_wss_lib,snd_pcm,snd_opl3_lib
snd_seq_device 4252 2 snd_rawmidi,snd_opl3_lib
snd 44583 21 snd_via82xx,snd_ac97_codec,snd_hwdep,snd_timer,snd_wss_lib,snd_pcm,snd_rawmidi,snd_wavefront,snd_mpu401_uart,snd_via82xx_modem,snd_seq_device,snd_cs4236,snd_opl3_lib
gameport 6202 2 snd_via82xx,ns558
soundcore 4354 1 snd
It seems excessive to me but I don't remember this motherboard too well. This is all built-in sound. I installed Pulseaudio as this seems to be the preferred method in fldigi, the program I'm using.
I feel like I'm forgetting a few outputs, here's aplay -l:
card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
Subdevices: 1/1
Subdevice #0: subdevice #0
I'm happy to provide more information. Every other arch install I've done has worked flawlessly, first time I've ever encountered audio problems.
I'm going to re-read the ALSA, OSS and Pulseaudio wiki entries, even though I feel like I'm still not grasping something.
A sincere thank-you for everyone's help here. I can get the alsa-info.sh script as well, if that will help.
EDIT: Here's the alsa-info output: http://www.alsa-project.org/db/?f=6930c … 86954423ed
Last edited by MrAureliusR (2014-04-22 02:15:21)What have you used to try to push sound through?
Have you tried:
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=VT82xx
HDA VIA VT82xx, ALC662 rev1 Analog
Default Audio Device
sysdefault:CARD=VT82xx
HDA VIA VT82xx, ALC662 rev1 Analog
Default Audio Device
front:CARD=VT82xx,DEV=0
HDA VIA VT82xx, ALC662 rev1 Analog
Front speakers
Then:
speaker-test -Dplug:default -c2 -l1
Try changing 'default' to one of playback devices output by aplay -L
Have you tried any 'model=' options for the module? -
Problems with sound, problems with sound
while trying to view a vdix film the sound never works, can someone help me?
Hi, what are you using to view it with?
Some possible clues...
http://forums.macrumors.com/showthread.php?t=1413906 -
Loaded movie with sound problem
I have some movies with attached sound. The movie uses the
sound position property and preset cue times to drive action in the
movie. They play fine on their own but when they are loaded into
another movie using either loadMovie or loadMovieNum, the sound
does not play and the cue driven action don't work. I made sure to
set the _lockroot property to true in the loading clip with
loadMovie and also put it in the original movie and tried using
loadMovieNum.
What happened to the sound?when instantiating your sound object try:
-
Help please with sound problems with titles in iMovie HD/iDVD
I find on a DVD I am creating that certain titles produce brief, grating noises when once the DVD is burned.
I am unable to hear these noises in iMovie HD.
I have tried re-importing the video and doing all the captions again ~ but the result is always the same: these loud distortions of the audio, but only on a couple of the titles.
By the way, I have found that by setting the volume to 60% on the regular video and setting it to 140% on the clips with titles, I get a result on the burned DVD where the volume appears constant. I have never understood why putting on a title should diminish the volume: seems like a serious weakness in this software.
But right now, it's these unwanted noises that are spoiling my project.
Any answers?
G4 Quicksilver Mac OS X (10.4.2)Hi again Sue.
I've just gone and read that reference.
No, I've tried extracting the audio and re-doing the title, but when I burn the DVD (and you know how long that takes) I find on playback I have these grating noises.
I suppose I should be grateful they are only brief and affect only a few of the many titles.
Thanks though for taking the trouble to try and help.
Hue in London ['Hugh', 'Hue'... either one's fine!] -
If you have 1 sound file playing on say frame 1, how do you
get frame 2 to play a different sound, without playing frame one's
sound as well? Right now 'frame 2' is playing both sound files. If
I use the commande 'stopAllSounds' the frame 2 sound file will not
play either.
Please help. Thank you.nwbgator wrote:
> If you have 1 sound file playing on say frame 1, how do
you get frame 2 to play
> a different sound, without playing frame one's sound as
well? Right now 'frame
> 2' is playing both sound files. If I use the commande
'stopAllSounds' the
> frame 2 sound file will not play either.
The sound once started will play for as long as you loop it
or as long as its length
is (if not loop is define). Even sound run independent to
timeline so if you enter
frame 2 it will simply play another sound.
You need to make some on/off switches on frames or actions
that will control the
sound. Entering another frame won't do it and using
stopAllSounds works like purge
and clear player from all its sounds. The only way to get
sound back will be by
reloading the entire movie. One of these actions that not
many of us are using.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
[Solved] Setting my own desktop environment
Hi, I'm trying to setup my own desktop environment with the following packages:
* slim
* metacity
* compton
* wbar
This is my slim conf:
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
login_cmd exec /bin/bash -login ~/.xinitrc %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes
# Set directory that contains the xsessions.
# slim reads xsesion from this directory, and be able to select.
sessiondir /usr/share/xsessions/
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Bienvenido a %host
# Session message. Prepended to the session name when pressing F1
# session_msg Session:
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user simone
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme archlinux-slim-theme-whitey
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.log
Now, my desktop entry for the sessions, which is located $HOME/.config/joelDE/joelDE.desktop:
[Desktop Entry]
Name=joelDE
Comment=Mi entorno de escritorio
Exec=/home/joel/.config/joelDE/joelDE
TryExec=/home/joel/.config/joelDE/joelDE
Icon=/home/joel/.config/joelDE/joelDE.png
Type=Application
I made the symlink: ln -s /home/joel/.config/joelDE/joelDE.desktop /usr/share/xsessions/joelDE.desktop and it DOES appears in slim sessions (F1), now jolDE script:
#!/bin/bash
# mi propio entorno
(sleep 1s && metacity --replace &)
bash $HOME/.fehbg &
xscreensaver -no-splash &
(sleep 1s && compton --config $HOME/.config/compton.conf -b) &
(sleep 1s && wbar) &
and finally my .xinitrc:
#!/bin/bash
# ~/.xinitrc
if [[ ! "$1" ]]; then
WM_Name=startxfce4
else
WM_Name=$1
fi
setxkbmap -layout latam
if [ -z "$GTK_PATH" ] ; then
GTK_PATH="/usr/lib/gtk-2.0"
else
GTK_PATH="$GTK_PATH:/usr/lib/gtk-2.0"
fi
export GTK_PATH
if [ -z "$GTK_MODULES" ] ; then
GTK_MODULES="canberra-gtk-module"
else
GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
fi
export GTK_MODULES
export LANG=es_MX.UTF-8
echo ${WM_Name} >$HOME/DE_name.txt
if [ ${WM_Name} != "startxfce4" ]; then
export DESKTOP_SESSION=${WM_Name}
export GTK2_RC_FILES=$HOME/.gtkrc-2.0
exec dbus-launch --sh-syntax --exit-with-session ${WM_Name} >$HOME/xinitrc-log.txt 2>&1
else
exec ${WM_Name} >$HOME/xinitrc-log.txt 2>&1
fi
# :~ EOF
This is the thing: after choosing "joelDE" in slim sessions it shows a black screen and rerun slim...
1.- Doesn't SLim run x11?
2.- If not, how do I call it?
Thanks!
Last edited by Joel (2014-07-14 04:37:30)Try moving the metacity line in joelDE to the end of the file and remove the last '&':
#!/bin/bash
# mi propio entorno
bash $HOME/.fehbg &
xscreensaver -no-splash &
(sleep 1s && compton --config $HOME/.config/compton.conf -b) &
(sleep 1s && wbar) &
sleep 1s && metacity --replace
With startx, and I think that this is true for SLiM as well, your X session will last as long as your ~/.xinitrc (or, I think more technically, the exec $whatever that may be at the end of the file). So if everything in ~/.xinitrc forks (or in your case, your joelDE script), that script will complete immediately, and the X session will exit with it. -
Is there any handbooks about build the Desktop Environment?
Is there any handbooks about build the Desktop Environment?
I found it is difficult to build up the Desktop Environment with Archlinux.
Of course, I am new to archlinux, and I learnd a lot by using it. I really love it~!
I just want to make my desktop as same as Ubuntu 8.04... It's just a small dream..
I think I need a handbook..... Who can write it or where can find it~! (The wiki is not enough)http://wiki.archlinux.org/index.php/Gnome
Could you provide a screenshot? Picture? Something?
You say you can startx succesfully. Is this with an unmodified (shouldn't even exist) .xinitrc, or with a .xinitrc configured to start Gnome? If the latter, can you post it? -
MS-6398 Sound Problems...
For some time I had the MS-6398 Ultra AR Motherboard, well one sunny day, everythign working fine including the sound. One sunny day i decided to play my favourite game GTA-Vice city as always it worked, but to my shock on this day the computer completly got mashed rebooted and i was left with sound problem.
Firstly i changed speakers but nothing so it was not the speakers its the motherboard, I updated sound drivers still no sucess, all i hear is a hissing distorted sound.
Next thing is i tried experimenting, each time i load windows I hear hissing etc distorted sound. I only get rid of the sound bu going to remove sound on Hardware then let xp detect it again have to do this a few times so that it works, then next windows boot it is messed up again! Admins help
My system Windows Xp pro Sp2 128mb 1.9 Ghz p4
bios one that came with board.
Can anyone help me please any information needed. its like a ghost in the machine!Quote
Originally posted by Prince21
This error happened when i was using SP1 and now I installed SP2 to fic it still no success. And it worked on SP1 for like a long time, it is not a software problem Iam sure of that. Like i said it is hardware but dont know exactly why.
Hi,
OK, bios sound in bios
Reboot
Now on reboot and in XP uninstall all drivers........
Reboot
Into bios and enable sound
Reboot
XP finds DEFAULT realtek drivers
Insert CD that was with mainboard and install sound drivers.....
If you think it is a hardware problem, then RMA mainboard for replacement
Del -
Xfce4: Problems with Sound and Screen Locking on ASUS G53S
Hello everyone,
I recently installed Arch for the first time, and decided to use xfce4 for my desktop environment. Everything seems to work well after I followed the instructions given in the wiki, except for the sound and screen-locking functionality. Regarding the sound, I made sure that my user account is added to the audio group, and installed the gstreamer1.0-base-plugins and gstreamer1.0-good-plugins packages. The xfce4-mixer applet starts up without any warnings and recognizes the available devices, but I am still not able to hear any sound. The "Lock Screen" applet simply does nothing upon being clicked. Do you have any ideas as to what I should try in order to fix these problems?
Thank you very much!To be able to lock the screen you have to install and configure a screen locker or screen saver, e.g. xscreensaver, slock, i3lock, maybe combined with xautolock. When you use a screen locker and not xscreensaver, XFCE might not recognize it. Then create a symlink in /usr/local/bin/xflock4 or use a shellscript if you need to pass parameters.
My configuration: xautolock with i3lock. /usr/local/bin/xflock4 is this executable shellscript:
#!/bin/sh
xautolock -locknow
xautolock is started in the XFCE autostart with this commandline: xautolock -locker 'i3lock -d -i ~/Bilder/arch/arch-linux-lock.png'
PS: If you like i3lock and need user switching capabilities, I can give you a patch where Ctrl-S calls a custom command (gdmflexiserver by default)
Last edited by progandy (2012-06-17 14:19:12) -
Cannot access desktop environment, neither gnome nor awesome
Hi All,
My Archlinux has been installed for a while when suddenly, maybe after one `yaourt -Syu` and reboot, cannot reach my desktop environment(gnome).
At first, it seems like gdm doesn't run. So I manually run it, but the gnome reports an error in the GUI (the error is very general, so I have no idea what happened at all). Then I tried to install awesome, but I can't access to it as well.
I've tried to switch my graphical driver from nouveau to nvidia, but I still can't get into Gnome. Surprisingly, I get into awesome successfully. However, I failed to open any terminal or application but quit awesome.
I've tried to replace sysvinit with systemd-sysvcompat after switching my graphical driver back to nouveau. By doing that, gdm seems to run at boot up, but I still can access Gnome, because the computer just halt and the graphical interface never come up. Neither can I access awesome.
I can't figure out where the problem is. My desktop environment used to function normal for a long time. What could possibly be wrong after any upgrade?1) What was updated.
2) What are the errors.
3) What can you find in the various logs and/or journal.
Maybe you are looking for
-
Hypercolor not showing in Table of Contents
This should be easy, but I can't figure it out.<br /><br />I have a TOC for a book that includes an Appendix along with other modules. Everything displays fine except for the hypercolor for the Appendix.<br /><br />Here is the command on the refere
-
Hi, I have planned in KP06 through excel,now i wanted to bring the planned data to FI how can i do? Is it correct way - that if i plan in KP06 for cost element wise and trying to move to FI? or is there any other way that i can work around to plan in
-
How to reconfigure the QuickStart key on S12 ION ?
When I got my S12 ION a day before, I instantly wipe out the original OS, and cleanly installed Windows 7 Ultimate edition on it. It went pretty well, and I was pleased with the performance. Then I found out that there's a QuickStart key ("QS" key)
-
I do not have a European Ipod. I have a 30GB iPod video. Now they call it something else I think. It is the one that can't watch the new movie rentals (Thanks Microsoft er...I mean Apple. Shame on you!). Around a month ago the volume got much lower.
-
Extract nested xml attributes from plsql
Hi, I need to extract from xml file and insert into 2 oracle tables. The xml file is using attributes and I am having trouble retrieving the nested "code" element with its attributes in context of its parent "table" element. Here is a sample of the x