/srv/irclogs.ubuntu.com/2017/11/11/#ubuntu-mate.txt

=== dan_ is now known as Guest82151
ReedK0hello everybady03:30
ReedK0Same question as yesterday: anyone have a successful MATE theme installation?03:30
GizmoRomickReedK0: Themes have never worked right for me on MATE.  Hasn't worked well for me on Plasma5 either07:17
=== vito_ is now known as Guest14238
=== ubuntu-mate is now known as naweak
naweakhell14:24
naweako14:24
diogenes_hell ou14:24
gojkocheadoes somebody know how to stop muting front panel17:18
futbol_banho18:02
futbol_cant download my applications18:03
diogenes_applications18:03
futbol_why18:04
diogenes_why what?18:04
futbol_cant install apps with ubuntu mate18:05
diogenes_futbol_, do I have to ask what apps how you try to install? or you let us guess?18:05
futbol_like itunes and playonlinux18:06
diogenes_the second question, how you try to?18:06
futbol_with welcome ubuntumate18:07
diogenes_is it a new fresh installed?18:07
futbol_havnt got it thats why am asking18:08
diogenes_I'm asking if you have just installed ubuntu mate18:09
jbichaflexiondotorg: could you do a rebuild of ubuntu-mate-meta on bionic for LP: #1581160 ?19:00
ubottuLaunchpad bug 1581160 in language-selector (Ubuntu) "Switch to Noto Sans as default font for Japanese and/or Korean?" [Wishlist,Fix committed] https://launchpad.net/bugs/158116019:00
=== Groove is now known as OrangeFoil
atinypoyello20:17
atinypoycan anyone see me?20:20
gojkohow to run alsactl restore on startup tried a couple of ways but didn't work20:35
diogenes_what have you tried?20:38
gojkohttps://forums.linuxmint.com/viewtopic.php?t=19392120:41
gojkothis sorry but I'm new to linux but the problem is front panel headphones dose not work so I stored the settings and now looking for a way to run restore on start up20:43
diogenes_    gojko so the restore script works but it just doesn't work at startup?20:44
gojkoyup, I'w created start up application but it's not executed, then I type in terminal the command and it works20:47
diogenes_ok what is the command that yoi type20:48
diogenes_you*20:48
gojkosudo alsactl restore20:48
diogenes_ok now create a simple file called: alsa-restore.desktop20:49
gojkook20:49
gojkodone20:50
diogenes_wait20:51
diogenes_gojko, in terminal run: ls /usr/share/icons/hicolor/32x32/apps/20:53
diogenes_all what you get as the result you go here: https://paste.ubuntu.com/20:53
diogenes_copy everything from the terminal20:53
diogenes_click paste and share the link here20:53
gojkohttps://paste.ubuntu.com/25941698/20:56
gojkohere you go20:56
diogenes_k20:56
diogenes_ok now let's go back to your alsa-restore.desktop file20:57
gojkook and thanks a lot20:57
diogenes_open it in a text editor and add the text from here: https://paste.ubuntu.com/25941710/20:57
diogenes_tell me when you done20:58
gojkodone20:58
diogenes_save the file and close it20:58
gojkodone20:59
diogenes_in what folder the file is stored?20:59
gojkodocuments21:00
diogenes_ok now run in terminal: cat /home/$USER/Documents/alsa-restore.desktop21:00
diogenes_and do the same steps, copy/paste and share the link here21:01
gojkoto change to my username? or keep it at $USER21:01
diogenes_run the exact command21:01
gojkohttps://paste.ubuntu.com/25941739/21:02
diogenes_ok now run: chmod +x /home/$USER/Documents/alsa-restore.desktop21:03
gojkook done21:03
diogenes_notice if the file has changed, icon appeared21:03
gojkoyes it did21:04
diogenes_now21:04
diogenes_run: cp /home/$USER/Documents/alsa-restore.desktop /home/$USER/.config/autostart21:04
gojkodone21:05
diogenes_run: ls /home/$USER/.config/autostart and just tell me if your file is listed in there21:05
gojkoalsa-restore.desktop           indicator-sound.desktop21:07
gojkoalsa-volume-restore.desktop    pulseaudio.desktop21:07
gojkoyes it is21:07
diogenes_good, reboot your pc, see if it works, come with a feedback21:07
gojkothanks for the effort man I owe you a beer :)21:08
diogenes_np21:08
gojkodiogenes_: did not work21:11
diogenes_yeah sorry I forgot, it's a command that starts with sudo21:11
gojkochecked alsa headphones were muted21:11
gojkorestored them now they work21:12
diogenes_so it requires the password, so there are two ways, either each time it pops up the terminal asking for password or make it autorum without poassword but a bit risky21:12
gojkowhat would you suggest, is one way easier21:14
diogenes_let's first try with the password21:14
diogenes_open the alsa-restore file in a text editor21:14
diogenes_the one from home/$USER/.config/autostart21:15
gojkook21:16
gojkodone that21:16
diogenes_now modify the line: Terminal=false21:16
diogenes_change to21:16
diogenes_Terminal=true21:16
gojkotrue21:16
diogenes_save21:16
gojkook21:16
diogenes_close and double click on it and see if it open a terminal21:16
gojkoyes it dose21:17
diogenes_uok now you reboot again and see if it actually does the job, you will be asked for password at startup21:17
diogenes_enetr it and see if it works21:18
gojkook see you in a bit21:18
diogenes_ok21:18
gojkoit didn't pop up but it dose the job21:23
diogenes_hmm strange21:23
diogenes_ok anyways, if you encounter further problems, come here21:24
gojkoyes i will and thanks a lot I'm struggling with this all day trying different distros to make it work but no successes, maybe not to turn of the pc is the answer :D21:26
diogenes_wait, you said that it now works, so why bothering?21:27
gojkoit worked but, I opened the file manually and typed the pass21:28
diogenes_oh that is why, ok then let's try something else21:29
diogenes_go to System > Preferences > Startup Applications21:29
gojkoto create a new one21:30
diogenes_first, singe I use a different DE, I don't know how it looks like in mate, what are the options, so you could make a screenshot of it and show it to me21:31
diogenes_since*21:31
gojkosure can i paste it in ubuntu21:33
diogenes_imgur.com21:33
gojkohttps://imgur.com/a/D6k0221:34
diogenes_ok what does it show when you click add21:35
gojkoI'v created the new  entry and link it to the file21:35
diogenes_ok21:35
diogenes_but21:36
diogenes_it might now work if you point directly at the .desktop file, try reboot and see if it works21:36
gojkohttps://imgur.com/a/W0Uma21:36
gojkobut whic desktop file in autostart? or the one we created21:37
diogenes_oh ok it wont work21:37
diogenes_what you should do is the following21:37
diogenes_name: whatever21:38
diogenes_command: sh -c "sudo alsactl restore"21:38
diogenes_comment: whatever21:38
diogenes_and also open the options tab and see if there's an option to open the terminal21:38
gojkoonly one option to automatically remember running applications when logging out21:40
diogenes_ok then let's try the risky way only if you want it21:40
gojkoshould i try this with  sh -c "sudo alsactl restore"21:41
diogenes_this which?21:41
gojkowith startup app with command21:42
diogenes_yes try that, but if there's no option to run in terminal I'm not sure how it will prompt for the password21:42
diogenes_but try it and reboot21:42
gojkook21:43
gojkolets go risky21:46
diogenes_first you need to have the installation media usb or dvd to restore everything in case it's needed21:47
gojkoOhhh I do :D21:47
diogenes_so you have it?21:48
gojkoyes21:48
diogenes_ok open the terminal21:48
gojkook21:48
diogenes_run: sudo mkdir /scripts && sudo touch alsa.sh && sudo chmod +x /scripts/alsa.sh21:49
diogenes_sorry run: sudo mkdir /scripts && sudo touch /scripts/alsa.sh && sudo chmod +x /scripts/alsa.sh21:49
diogenes_I'm a bit sleepy that's why making mistaked21:50
gojkomkdir: cannot create directory ‘/scripts’: File exists21:50
gojkorelax and not to worry :D21:50
diogenes_ok run ls /scripts21:50
diogenes_just tell me what you see21:51
gojkowhen I run ls /scripts  it dose not show anything21:52
diogenes_good21:52
diogenes_now run: sudo touch /scripts/alsa.sh && sudo chmod +x /scripts/alsa.sh21:52
gojkook21:53
gojkodone21:53
diogenes_now run: sudo echo "#!/bin/bash" > /scripts/alsa.sh21:53
diogenes_remember, you should not see any output after these commands, if you see anything other than blank, tell me21:54
gojkobash: !/bin/bash: event not found21:54
gojkothis was after last command, it's all clear till then21:55
diogenes_ok what is the text editor you use?21:55
diogenes_gedit? mousepad?21:55
gojkogedit21:56
diogenes_run: gksu gedit /scripts/alsa.sh21:56
diogenes_it should open the file21:56
gojkoI do not have gksu can I use sudo ?21:57
diogenes_now, run: sudo apt install gksu21:58
diogenes_don't use sudo21:58
gojkook done22:00
diogenes_run: gksu gedit /scripts/alsa.sh22:00
gojkoopened file22:00
diogenes_the first line write: #!/bin/bash22:01
gojkook22:01
diogenes_the second line underneath write: sudo alsactl restore22:01
gojkook22:02
diogenes_save the file, run: cat /scripts/alsa.sh paste you know where and share the link here22:02
gojkohttps://paste.ubuntu.com/25942129/22:04
diogenes_good now22:04
diogenes_the following command you should run with maximum accuracy22:05
diogenes_on it depends if you get a working sudo afterwards22:06
diogenes_run: run: sudo echo "ALL    ALL = (root) NOPASSWD: /scripts/alsa.sh" >>/etc/sudoers22:06
diogenes_sorry22:06
diogenes_run only22:06
diogenes_sudo echo "ALL    ALL = (root) NOPASSWD: /scripts/alsa.sh" >>/etc/sudoers22:06
gojkopermission denied22:07
diogenes_ok run su22:08
diogenes_enter your password22:08
diogenes_afterwards run:22:08
diogenes_echo "ALL    ALL = (root) NOPASSWD: /scripts/alsa.sh" >>/etc/sudoers22:08
gojkoIt dose not accept my pass22:10
diogenes_what does it say?22:10
gojkosu: Authentication failure22:10
diogenes_ok try running: sudo apt update and see if it goes well22:11
gojkofinished well22:11
diogenes_good22:11
diogenes_now22:11
diogenes_run: gksu gedit /etc/sudoers22:12
gojkook22:12
diogenes_did it open a file?22:12
gojkoyes22:12
diogenes_scroll to the end of the file and at the end add the following line:22:13
diogenes_ALL    ALL = (root) NOPASSWD: /scripts/alsa.sh22:13
diogenes_maximum accuracy22:13
diogenes_with spaces22:13
gojkook to save ?22:14
diogenes_save22:14
diogenes_close the file22:14
diogenes_and close the terminal22:14
gojkook22:14
diogenes_now to check if the sude is still alive you shoild open the terminala nd run: sudo apt update22:15
gojkoit updated it22:16
diogenes_good the risky part went well22:16
diogenes_now22:16
diogenes_go to  System > Preferences > Startup Applications22:16
gojkook22:16
diogenes_click add and you fill in the lines as follows:22:16
diogenes_name: alsa-restore-new22:17
diogenes_command: sh -c "sudo /scripts/alsa.sh"22:17
diogenes_comment: whatever22:17
gojkook done22:17
diogenes_click ok or save or whaever option and run in terminal: cat /etc/sudoers22:18
diogenes_paste/share the link22:18
gojkopermission denied22:19
diogenes_run: sudo cat /etc/sudoers22:19
gojkohttps://paste.ubuntu.com/25942230/22:20
diogenes_now22:21
diogenes_run: cd /scripts/ && ./alsa.sh22:21
diogenes_notice if it throws any errors22:21
gojkonope it didn't22:21
diogenes_ok, the final step22:22
diogenes_reboot, come back with the feedback22:22
gojkook :D22:22
gojkodiogenes_:  guess what it didn't work22:27
diogenes_ok don't run it22:27
diogenes_try this:22:28
diogenes_cd /scripts/ && ./alsa.sh22:28
diogenes_and see if it runs like that22:28
gojkonothing happens22:29
diogenes_cd /scripts/ && sudo ./alsa.sh22:29
gojkoi turned on alsa manually  so I don't now22:31
gojkobut terminal dosen't output anything22:31
diogenes_nah, we need to test if the script works22:31
diogenes_the terminal gives no output it means the command went well with no errors22:32
gojkoI just do not know why is so complicated to turn on the headphones22:33
gojkoshould I restart it22:33
diogenes_yes restart but22:33
diogenes_when it starts don't run anything22:33
diogenes_just come here22:34
gojkook22:34
gojkodiogenes_: ok lets do it22:36
diogenes_run: cd /scripts/ && sudo ./alsa.sh22:36
diogenes_afterward check if your headphones owrk22:36
diogenes_work*22:36
gojkoyes they do22:37
diogenes_so the script works fine, no password required22:37
diogenes_now22:37
diogenes_ls /home/$USER/.config/autostart22:37
diogenes_just paste here22:38
gojkohttps://paste.ubuntu.com/25942342/22:39
diogenes_go to  System > Preferences > Startup Applications22:40
diogenes_see if out alsa-restore-new22:40
diogenes_is checked for startup22:40
gojkoit is checked22:42
diogenes_doeble click on it or edit (if available) make a screenshot and show me the fields you filled in22:43
gojkohttps://imgur.com/a/567gA22:44
diogenes_I'm not quite sure if in the command field there is sh-c or sh -c (a space in between)22:46
gojkoit was a space between22:46
diogenes_if there is a space then ok22:47
gojkoyes it is a space and the whole field is sh -c "sudo /scripts/alsa.sh"22:47
diogenes_try to replace the command with: sh -c "cd /scripts/ && sudo ./alsa.sh"22:48
diogenes_save and now let's create a second one22:48
diogenes_name: alsa-restore-second22:48
diogenes_command: cd /scripts/ && sudo ./alsa.sh22:49
diogenes_comment: something22:49
gojkodone to reboot ?22:49
diogenes_no22:49
diogenes_first enlarge that window and show me what other stuff are checked for stratup22:50
diogenes_startup*22:50
gojkohttps://imgur.com/a/6tExF22:51
gojkothe first part22:51
gojkohttps://imgur.com/a/dkqPo22:52
gojkothe second part22:52
diogenes_uncheck the alsa-headphones and alsa volume restore22:53
diogenes_so you leave our scripts: alsa-restore-new and alsa-restore-second22:54
gojkook22:54
diogenes_also22:54
diogenes_somewhere in the settings (not sure on mate where exactly) but something related to the session, you have to check and see if the session is being saved upon reboots22:55
diogenes_we don't need the session to be saved, we need to start with the new session22:55
diogenes_ok apparently it doesn't have that feature22:57
diogenes_so reboot and come back22:57
gojkonope only the one that saves running apps when logging out22:58
diogenes_uncheck that option too for the test22:58
gojkoit was unchecked all the time22:59
diogenes_ok reboot22:59
gojkodiogenes_: still nothing23:02
diogenes_ok I think I know what the problem23:02
diogenes_the script is being executed too early23:02
diogenes_we have to increase the time it executes23:02
diogenes_go to  System > Preferences > Startup Applications23:02
gojkook23:03
diogenes_double click on alsa-restore-new23:03
gojkook23:03
diogenes_change the command with: sh -c "sleep 30; sudo /scripts/alsa.sh"23:04
gojkochanged23:04
diogenes_save, reboot, after desktop appears count to 30 and only after that come here, check the headphones after that23:05
gojkoits not that23:11
diogenes_didn't work?23:11
gojkonope23:11
diogenes_ok one last try23:11
diogenes_open terminal23:11
gojkook23:12
diogenes_run: sudo touch /etc/init.d/alsa2.sh && sudo chmod +x /etc/init.d/alsa2.sh23:13
gojkook23:13
diogenes_gksu gedit /etc/init.d/alsa2.sh23:13
gojkoopened the new file23:14
diogenes_first line: #!/bin/bash23:14
diogenes_second: sleep 40; sudo /scripts/alsa.sh23:14
diogenes_after that23:15
diogenes_cat /etc/init.d/alsa2.sh23:15
diogenes_copy here what you get23:15
gojkothe cat /etc/init.d/alsa2.sh  command goes in to the terminal?23:15
diogenes_yes23:16
gojko#!/bin/bash23:16
gojkosleep 40; sudo /scripts/alsa.sh23:16
diogenes_good23:16
diogenes_now your headphones don't work right?23:17
gojkoright23:17
diogenes_run: /etc/init.d/alsa2.sh23:17
diogenes_see if they work23:17
diogenes_after 40 seconds23:17
gojkonope still dead23:19
diogenes_ok once again: gksu gedit /etc/init.d/alsa2.sh23:19
gojkook23:20
diogenes_the second line modify: sudo /scripts/alsa.sh23:20
diogenes_without sleep thing23:20
gojkoand than run /etc/init.d/alsa2.sh23:21
diogenes_yes23:21
diogenes_see if headphones work23:21
diogenes_did you save the file first?23:21
gojkoyes i did23:22
gojkoand still nothing23:22
diogenes_ok this: cd /etc/init.d/ && ./alsa2.sh23:23
diogenes_check headphones23:23
gojkonope23:23
diogenes_ok this: cd /etc/init.d/ && sudo ./alsa2.sh23:24
gojkodosen't work23:24
diogenes_this: sudo /scripts/alsa.sh23:24
gojkonope23:25
diogenes_this: cd /scripts && sudo ./alsa,sh23:26
diogenes_see if you get any output23:26
diogenes_if no output = good23:26
gojkocommand not found23:26
diogenes_this:  cd /scripts && sudo ./alsa.sh23:27
gojkonothing23:27
diogenes_go back to application autostart in preferences, check back the: alsa-headphones and alsa volume restore23:28
gojkodone23:28
diogenes_run: gksu /scripts/alsa.sh23:29
diogenes_modify the second line23:29
diogenes_just add: sleep 40;23:29
gojkoyou mean gksu gedit?23:30
diogenes_yes23:30
diogenes_the second line should look like:the entire second line should look like: sleep 40; sudo alsactl restore23:31
gojkook done23:32
diogenes_save close23:32
diogenes_before you reboot write down on a paper the following command23:32
diogenes_sudo rm /etc/init.d/alsa2.sh23:32
diogenes_you gonna have to use this command in case you can't login to you system after reboot23:33
gojkook23:33
diogenes_reboot, wait till 40 seconds, come here23:33
gojkook23:33
gojkonothing23:37
diogenes_try start it manually23:38
gojkoalsa restore didnt work23:39
gojkonow i unmuted it and turn them on23:39
diogenes_so they work or not?23:39
gojkonow they work23:40
gojkolike the store file was deleted23:40
diogenes_so wait, it looks like it work without you having to run the command?23:40
diogenes_just unmuted?23:41
gojkonope it didn't work there was nothing alsa to restore23:41
gojkoso I unmuted headphones in alsa and turned them on23:42
diogenes_ok then it's something definitely wrong with the way your system handles autostart scripts23:43
gojkoI'v been trying to figure it out for 3 days and still nothing23:44
gojkoevery distro i tried the same thing23:45
diogenes_what distros have you tried?23:45
gojkokubuntu lubuntu xubuntu manjaro mint debian fedora open suse....23:46
diogenes_ok what is your pc release year?23:47
gojkothe strange thing is that when I firstly tried mate lts it worked normaly23:47
gojko4 years maybe23:48
diogenes_ok do you happen to have secure boot on?23:48
gojkono last os was 723:49
diogenes_is it a lenovo pc?23:50
gojkono no its msi motherboard amdx4 750k and amd r7 25023:50
gojko8 gigs of ram23:51
diogenes_ok have you checked for additional drivers?23:51
gojkonope23:51
diogenes_check and see maybe they have something for you23:51
gojkoI mean i put the amd cpu proprietary23:53
diogenes_what version of ubuntu?23:54
gojkocurrently? 17.1023:54
diogenes_so I guess it worked fine on 14.04?23:55
gojkoI didn't have 14.0423:55
diogenes_you said it worked well before so what version you was using then?23:56
gojkoi was rolling on win7 till the end of last week23:56
gojkowell i diceded to go on linux and installed mate 16.04 first and it worked23:56
diogenes_oh so that's the reason23:57
diogenes_then 16.04 is the way to go23:57
gojkoi tried that23:57
diogenes_and?23:57
gojkodosen't help23:57
diogenes_do you ahve a separate /home folder?23:57
gojkostill no sound23:58
gojkonope only root and swap23:58
diogenes_my advice is to burn a 16.04 usb and to try is with the live session23:58
diogenes_not installing23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!