[00:25] I just installed Lubuntu and I cannot seem to get sound to work. I have a pair of cheapo Logitech USB speakers on the machine, and weirdly enough the volume +/- and mute buttons work on them, and it seems to detect the device fine... But no matter what I do, I can't hear anything. [00:25] FoD__: I personally have not used usb speakers but do you know which output device you are trying to use? [00:26] I installed the audio mixer, and tried using both the default setting, and the one with the device's name. [00:26] No luck with either. [00:27] I had Ubuntu on the machine before, and audio worked fine out of the box there. [00:27] If that helps at all. [00:40] When I run alsamixer, it seems to switch back the the default/generic output every time... [00:40] Is that a sign that somehow it's not actually changing the output? [00:53] FoD__: you can also try audicous as that has prefrences to slect differnt audio [00:59] audicous? [00:59] it is under sound and video as a music player [00:59] in prefrences [01:06] I was able to get it to play audio. [01:06] But I still cannot hear system sounds or audio from the browser or anything. [01:06] ah ok do you know with which settings [01:07] sysdefault:CARD=AUDIO [01:08] Via ALSA [01:18] How do I set the default audio output? [01:18] i use alsamixer.. in the terminal.. but, there are many ways, im sure.. whats the goal? [01:18] i do like pulseaudio and pavucontrol for routing.. [01:19] I just have a simple USB audio device [01:19] does it support linux? [01:19] It worked in Ubuntu. [01:19] most are "class compliant" [01:19] hmmm.. lubuntu *is* ubuntu [01:20] I was able to get audacious to play an mp3 on the device. [01:20] sure [01:20] But I can't seem to get the system to use it. [01:20] I'm pretty new to all this, very confused. [01:20] !audio [01:20] If you're having problems with sound, click the Volume applet, then Sound Preferences, and check your Volume, Hardware, Input, and Output settings. If that fails, see https://help.ubuntu.com/community/Sound - https://help.ubuntu.com/community/SoundTroubleshooting - http://alsa.opensrc.org/DmixPlugin - For playing audio files, see !players and !mp3. [01:20] what i do is, i run "aplay -l" in a terminal [01:20] alsamixer doesn't seem to change the default [01:21] i see that the devices are present.. if they are not present in "aplay -l", then, you wont get sound [01:21] are they present? [01:21] Yes, it's there. [01:21] so, then, i *dont* test with web audio, like flash, or mp3's.. [01:22] i get a known good audio file playing on the internal audio device.. then, i'll stop that, and close everything,and use alsamixer to select the USB device [01:22] but, for me, if im juggling multiple devices, i use pulse, and pavucontrol [01:22] Is there a way to set it as the default card using aplay? [01:22] FoD__: yes [01:22] FoD__: i do that in alsamixer. but, as i said, i ideally just install pulseaudio and pavucontrol [01:23] FoD__: if you want to set soething as default, you'll have to just try the alsamixer tool, and share what isnt working for you [01:23] Each time I relaunch alsamixer it goes back to the one I DON'T want to use as default. [01:24] FoD__: sure.. but, it *is* putting audio out, correct? [01:24] there are many ways to have the USB audio device be default.. but, see that you are getting audio to it, first [01:24] As stated, I was able to get an audio player application to use it. [01:24] But not the system. [01:25] FoD__: so, one easy way to use the USB device is, disable the internal in the bios. then, the only audio device for the system will be the USB device [01:25] holstein: that is what I do with hdmi on my desktop [01:25] I'll give that a whirl. [01:26] FoD__: this looks like what i would do, if, i wanted to keep both, and set one as default, without installing pulseaudio, and pavucontrol https://bbs.archlinux.org/viewtopic.php?id=124380 [01:26] here is the *exact* scenario http://superuser.com/questions/626606/how-to-make-alsa-pick-a-preferred-sound-device-automatically [01:27] the issue with that ^ is, those labels can change, between reboots [01:28] I don't want to keep both. [01:29] cool.. then, ideally, just disable, or blacklist the internal, since, you dont want it at all [01:29] then, you wont even need to bother with which is default.. [01:29] Is there a way to do that without the BIOS? [01:29] you'll only have the one, and the system will use it [01:29] Annoyingly the BIOS seems to have no option to disable onboard audio. [01:29] !blacklist [01:29] To blacklist a module, edit /etc/modprobe.d/my_blacklist.conf and add « blacklist » to the end of that list - To explicitly load modules in a specific order, list them in /etc/initramfs-tools/modules and type « sudo update-initramfs -u » [01:31] How do I know what the modulename is [01:33] http://askubuntu.com/questions/110835/how-to-disable-the-internal-sound-card [01:33] ^ looks like how i would attempt [01:37] ugh [01:37] I did no realize I would need an engineering degree to get the soundcard set as the default. [01:37] not* [01:37] lol [01:37] well, you can use main ubuntu, or, pulse from main ubuntu [01:38] ubuntu was running slowly, wanted something lighter weight for my dad's computer. [01:38] you may find just adding pulse makes your experience more like that. you dont need an engineering degree, but, the goal of lubuntu is to be light.. [01:38] its not necessarily as friendly at all things.. since, things have to be stripped down/out [01:38] xfce is lighter.. mate is lighter.. [01:39] no doubt, you can get what you need.. but, you'll have to learn to do with with alsa only [01:41] I'm unable to create a conf file in /etc/ [01:41] I'm guessing changing the permission will be another whole ordeal all it's own? [01:41] sudo [01:41] !sudo [01:41] sudo is a command to run command-line programs with superuser privileges ("root") (also see !cli). Look at https://help.ubuntu.com/community/RootSudo for more information. For graphical applications see !pkexec (for older releases: !gksu and !kdesudo). If you're unable to execute commands with sudo see: http://www.psychocats.net/ubuntu/fixsudo [01:41] sudo nano /path/to/file [01:42] That will create a blank file? [01:43] FoD__: sudo gives you root permission.. to access and write in /etc [01:43] nano is a text editor.. so, as root, open this text editor, and create the file "/path/to/filename" [01:47] Understood. [01:47] When I do "cat /proc/asound/cards" [01:47] What part of the device name is the name I'm supposed to be using? [01:47] What's between the brackets? [01:47] Including the 13 following spaces? [01:51] FoD__: i like this command, in the terminal /sbin/lsmod | grep snd [01:52] FoD__: you'll want the module.. the linux kernel is modular, and what you are going to do, basically, since, your hardware bios doenst facilitate disabling, and you want the internal audio device off, is, you keep the system from loading the driver for it.. basically [01:52] blacklisting the module.. should make the device not present. [01:53] I'm currently attempting the asound.conf method. [01:53] Fingers crossed. [01:53] sure.. but, those labels can change [01:53] if you are leaving it with someone, who is not familiar with linux, and want it to be "bullet-proof". they *could* reboot, and have the labels change.. [01:55] It somehow screwed everything up. [01:55] Can't even run alsamixer now. [01:56] ubuntu-mate is my "go-to" for family members [02:00] How do I find the module I need to disable? [02:00] To kill the other useless soundcard. [02:00] i like using /sbin/lsmod | grep snd [02:01] Oh, you already said that, sorry. [02:01] that lists out all the modules being used with "snd" in them.. [02:01] Thank you. [02:01] snd_hda_controller 32768 1 snd_hda_intel [02:02] for example. thats where i would start.. just testing as i reboot, and check [02:09] Is it normal for there to be no existing blacklist file? [02:10] i dont have anything blacklisted [02:11] snd_hda_intel [02:11] Just that part? [02:12] FoD__: i dont know what your module will be, but, for me, if i were trying to implement blacklisting my driver for my internal audio, i would start with that.. i would keep note of what i have done, and how to undo it, and reboot, and test [02:13] Well I see a similar entry [02:13] But Only that should be added to the blacklist? [02:13] I'm confused, since it's displayed on one line... [02:14] FoD__: i would make it look like it does at http://askubuntu.com/questions/110835/how-to-disable-the-internal-sound-card [02:14] snd_pcm 80388 5 snd_ens1370 for example [02:15] so, the module is snd_ens1370 in that specific case.. so.. [02:15] sudo nano /etc/modprobe.d/blacklist [02:15] then, create, or add.. blacklist snd_ens1370 [02:15] # disable my PCI ensoniq sound card [02:15] blacklist snd_ens1370 [02:16] the # is a comment.. so, you can say "# disabling internal audio" then on the next line "blacklist module_name" [02:17] then, you can easily find what you have done, and undo it, if you need.. [02:21] ugh [02:22] I've tried disabling two different obvious candidates. [02:22] No luck. [02:22] feel free and share any output you like [02:22] !paste [02:22] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [02:23] you'll have to reboot, for the changes to work [02:25] I'm aware. [02:25] I've been rebooting. [02:26] There's no way to actually find out what module a card is using...? [02:26] Outside of guessing. [02:26] FoD__: again, you can share any output you like, and a volunteer can assist you with that [02:26] Output? [02:27] Oh, you mean the names of the modules [02:27] FoD__: correct. you run a command. you get output.. you assume the module name. you can share the output here, and a volunteer can assist with getting the name [02:27] Well, I just tried disabling the USB audio card module. [02:27] Which is the card I actually want to use. [02:27] why? [02:27] And rebooted. [02:28] you just unplug it.. ;) [02:28] aplay -l [02:28] still shows the device [02:28] So my blacklist is being ignored? [02:28] could be.. [02:28] In later versions since 12.10 (12.04?) the file is /etc/modprobe.d/blacklist.conf [02:29] .conf has to be added? [02:29] so, it could be, we are editing an older filenam.. and it should be ^ [02:29] * FoD__ face on desk [02:29] try that location.. you can simply rename the one you have.. [02:41] I disabled the intel one. [02:41] And things are no partially working. [02:41] But... [02:41] The volume +/- and mute buttons no longer work. [02:41] Also. [02:41] I can no longer run alsamixer. [02:42] not sure what you mean, you cant run alsamixer.. [02:42] open terminal [02:42] type "alsamixer" [02:42] press enter [02:42] you open a terminal, and type "alsamixer", and share errors [02:42] anyways, to get the buttons to now control the USB device will probably be a bit trickier [02:43] so, id say, just to save time, and hassle, consider just giving dear ol' dad ubuntu-mate [02:43] cannot open mixer, no such file or directory [02:44] FoD__: http://askubuntu.com/questions/509791/alsamixer-no-such-file-or-directory is relevant for that [02:47] Interesting. [02:47] Why is USB audio so hated? hah [02:47] ? [02:47] its not [02:48] Doesn't want to use it as a default, doesn't want to run aslamixer if it's the only device present... [02:48] its just that lubuntu is stripped down. its not really intended to easily manage usb only audio [02:48] pulse audio addresses a lot of that.. but, its a trade off [02:49] I tried the second solution in that link [02:49] commenting out the one line. [02:49] Has not fixed the problem. [02:49] I guess I can live without alsamixer, since at least the sound works... [02:49] well, i think looking at it like that is a miss-step [02:49] its not really something that is broken to be fixed, in that manner.. its going to take some time to hack at lubuntu and make it what you intend for your case [02:50] To "comment out" a line I'm just putting a pound and a space in front of it, no? [02:50] correct [02:50] Alright, well. [02:50] Commented out. [02:50] rebooted. [02:51] Alsamixer still refuses to run. [02:51] So... [02:51] Time to throw in the towel on that? [02:51] though, thats not your module, corect? [02:51] "options snd-usb-audio index=-2" [02:51] I found that in the same file he mentions. [02:51] It's the same module name. [02:51] FoD__: when i run "man alsamixer" i see the -c option [02:52] so, i would expect to be able to run "alsamixer -c" and specify the USB device [02:52] but, in no way would i *ever* leave someone unfamiliar with linux using alsamixer to control the audio device [02:52] have you tried ubuntu-mate? its just that, its quite light, and the creator actually created it for that.. for his dad [02:53] System sound is now working. [02:53] its using pulse, and would allow you to deal with this in a GUI, as you expect [02:53] But I still can't run alsamixer. [02:53] I guess this is good enough. [02:53] FoD__: sure. have you tried specifying the audio device properly? [02:53] What do you mean? [02:54] Thanks for your patience by the way. [02:54] FoD__: with the -c flag [02:54] FoD__: sure.. its not easy, i understand.. [02:54] If it's working wouldn't that mean it's already specified? [02:55] FoD__: if its working, you can use it.. if its not, then, when you run "alsamixer" it wont work... and, if you want, you can specify to alsamixer what device.. "alsamixer -c". using the -c flag to specify the USB device [02:56] I run firefox, go to youtube. [02:56] I hear sound. [02:56] But I still cannot run alsamixer. [02:56] FoD__: have you tried specifying the audio device to alsamixer with the -c flaf? [02:56] flag* [02:56] It says invalid number. [02:57] FoD__: try another # ;) [02:58] I got it to work, I had messed up the syntax. [02:58] So lastly then, I guess... [02:58] Any chances of getting the buttons on the USB device to work again? [02:58] sure [02:59] its *all* open, so, theres more than just a chace [02:59] chance* [02:59] Why would disabling the intel module make the buttons stop working? [02:59] i would expect it to be a bit more challenging than what you have done so far [02:59] and, i would expect it to be a bit odd for someone to use, that is not experienced with linux [02:59] FoD__: it didnt [03:00] They were working prior. [03:00] FoD__: the buttons are still doing what they always did.. the device is not there, anymore [03:00] Why are the buttons on the USB device linked to the onboard device that I blacklisted? O_O [03:00] FoD__: why not? i mean, thats the norm [03:01] its the normal desktop use, the scenario that would be most likely [03:01] What should I do to restore the functionality of the buttons? [03:02] FoD__: what would i do? i think it would be easiest to learn the commands that control and set what you want.. volume up and down and mute.. and make new keyboard shortcuts for those commands [03:02] Or should I just be thrilled I got it working to the extent it is, and walk away. [03:02] FoD__: the issue is, the more of this you hack at, the more unstable you make it for the end user.. which, is not you [03:03] The computer is for my 68 year old dad, so. [03:03] correct [03:03] I don't think keyboard macros are the way to go. [03:03] so, why does he even need a USB device? [03:03] It's the only speakers around here. [03:03] I don't have anything besides maybe a crappy pair of earbuds that I could plug into the 1/8" jacks on the back of the computer. [03:04] i would give him the most "out of the box" default setup.. if that meant getting speakers from the charity shop.. [03:04] Well, what's working now is working good enough. [03:05] cool.. enjoy! [03:05] I'll tell him he just has to use the volume icon in the taskbar to change volume. [03:05] And that the buttons don't work anymore. [03:05] sounds great. except, it sound like an excuse.. since, it used to work the other way, and he may not like it [03:07] It's a very crappy computer, and even Ubuntu running Metacity was very bogged down. [03:08] So I went for Lubuntu because it seemed like the best compromise of user friendliness and lack of bloat. [03:10] All he uses it for is browsing the web. [03:11] Thank you for all your help. [03:15] Is there anything I should do to optimize a lubuntu installation on a slow computer? [03:16] On which I'm pretty sure the bottleneck is the CPU. [03:16] Even opening Firefox is kind of slow. [03:16] Though the box has more than enough RAM to comfortable browse the internet... [05:41] Hi folks. My mouse cursor went invisible. [05:42] lubuntu 15.04 x64 desktop, intel on-board chipset [05:43] Anybody have an idea? I do need the mouse every now and then. [05:43] llogiq, press control alt t open a terminal [05:43] the xorg.0.log says that hardware mouse cursor was active. I already have multiple terminals open. [05:44] :-) [05:44] then run sudo apt-get install suckless-tools and then you can use a command called swarp to move it to a a coordinate you specify on the command line [05:45] That may be a good idea, but I think that using the actual mouse to move it to a coordinate of my choosing would be preferrable. [05:45] (Well, touchpad, but anyway) [05:45] llogiq, do you have any work that needs saving currently [05:45] you could try logging out and logging in again [05:46] Already rebooted. [05:46] and happens again? [05:46] Yep. [05:46] Perhaps this has something to do with a failed apt-get upgrade I had yesterday... [05:47] llogiq, ah did power run out during it? [05:47] No. The java installer crashed it. [05:48] I'm currently restarting the upgrade, maybe that'll help. [05:50] It just stopped again. [06:00] Apparently my network connection is a bit flaky and the java downloader just stops. I'm restarting it manually with dpkg --configure -a (as root) [06:03] Yeah I got it working. No mouse cursor yet, though. [06:07] brb. [06:11] re. I got it to work by adding ``Option "HWCursor" "off"'' to my X11 config. [09:37] cu folks. [15:26] anyone using the lxqt ppa? the appearance is not working and desktop missing in the lxqt config [19:41] hi. i am looking for a little assistance getting a better multi monitor solution. I am currently using LXLE and ARandR for the multimonitor. is there a better option? [19:41] please ping when you reply. thanks in advance [19:43] whouser: is this a desktop or a laptop [19:44] laptop. with a hdmi connected monitor [19:44] ianorlin: [19:44] arandr has an unxrandr command that can give you how to make that with a command line and you you could maybe make a keyboard shortcut if you connect to this monitor evry time you take your laptop home [19:45] or you could make a script that does the same thing [19:46] no it is connected and working [19:46] i was hoping for a better multi monitor soluition [19:46] better in what way? [19:46] ARandR seems to "square" the worksurface [19:47] not give two seperate work surfaces [19:47] and i cannot force the "main" desktop to the monitor i desire [19:47] whouser: you can you drag the rectangles to get two that way [19:48] and then press apply and you can change resolution by the menu [19:56] the resoluitions are fine [19:56] is there a image paste that is most agreeable [19:56] because it might be best to show you [19:56] but however one drage the monitors, the desktop 'squares' the outer outline [19:56] drags* [19:57] so if one orients the monitors vertically , and the upper monitor is 'wider' than the lower, the lowest right corner is off the visable screen [19:59] if you orient them left and right, the taller makes a unuseable uppercorner [19:59] ianorlin: