=== dan_ is now known as Guest82151 [03:30] hello everybady [03:30] Same question as yesterday: anyone have a successful MATE theme installation? [07:17] ReedK0: Themes have never worked right for me on MATE. Hasn't worked well for me on Plasma5 either === vito_ is now known as Guest14238 === ubuntu-mate is now known as naweak [14:24] hell [14:24] o [14:24] hell ou [17:18] does somebody know how to stop muting front panel [18:02] banho [18:03] cant download my applications [18:03] applications [18:04] why [18:04] why what? [18:05] cant install apps with ubuntu mate [18:05] futbol_, do I have to ask what apps how you try to install? or you let us guess? [18:06] like itunes and playonlinux [18:06] the second question, how you try to? [18:07] with welcome ubuntumate [18:07] is it a new fresh installed? [18:08] havnt got it thats why am asking [18:09] I'm asking if you have just installed ubuntu mate [19:00] flexiondotorg: could you do a rebuild of ubuntu-mate-meta on bionic for LP: #1581160 ? [19:00] Launchpad 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/1581160 === Groove is now known as OrangeFoil [20:17] ello [20:20] can anyone see me? [20:35] how to run alsactl restore on startup tried a couple of ways but didn't work [20:38] what have you tried? [20:41] https://forums.linuxmint.com/viewtopic.php?t=193921 [20:43] this 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 up [20:44] gojko so the restore script works but it just doesn't work at startup? [20:47] yup, I'w created start up application but it's not executed, then I type in terminal the command and it works [20:48] ok what is the command that yoi type [20:48] you* [20:48] sudo alsactl restore [20:49] ok now create a simple file called: alsa-restore.desktop [20:49] ok [20:50] done [20:51] wait [20:53] gojko, in terminal run: ls /usr/share/icons/hicolor/32x32/apps/ [20:53] all what you get as the result you go here: https://paste.ubuntu.com/ [20:53] copy everything from the terminal [20:53] click paste and share the link here [20:56] https://paste.ubuntu.com/25941698/ [20:56] here you go [20:56] k [20:57] ok now let's go back to your alsa-restore.desktop file [20:57] ok and thanks a lot [20:57] open it in a text editor and add the text from here: https://paste.ubuntu.com/25941710/ [20:58] tell me when you done [20:58] done [20:58] save the file and close it [20:59] done [20:59] in what folder the file is stored? [21:00] documents [21:00] ok now run in terminal: cat /home/$USER/Documents/alsa-restore.desktop [21:01] and do the same steps, copy/paste and share the link here [21:01] to change to my username? or keep it at $USER [21:01] run the exact command [21:02] https://paste.ubuntu.com/25941739/ [21:03] ok now run: chmod +x /home/$USER/Documents/alsa-restore.desktop [21:03] ok done [21:03] notice if the file has changed, icon appeared [21:04] yes it did [21:04] now [21:04] run: cp /home/$USER/Documents/alsa-restore.desktop /home/$USER/.config/autostart [21:05] done [21:05] run: ls /home/$USER/.config/autostart and just tell me if your file is listed in there [21:07] alsa-restore.desktop indicator-sound.desktop [21:07] alsa-volume-restore.desktop pulseaudio.desktop [21:07] yes it is [21:07] good, reboot your pc, see if it works, come with a feedback [21:08] thanks for the effort man I owe you a beer :) [21:08] np [21:11] diogenes_: did not work [21:11] yeah sorry I forgot, it's a command that starts with sudo [21:11] checked alsa headphones were muted [21:12] restored them now they work [21:12] 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 risky [21:14] what would you suggest, is one way easier [21:14] let's first try with the password [21:14] open the alsa-restore file in a text editor [21:15] the one from home/$USER/.config/autostart [21:16] ok [21:16] done that [21:16] now modify the line: Terminal=false [21:16] change to [21:16] Terminal=true [21:16] true [21:16] save [21:16] ok [21:16] close and double click on it and see if it open a terminal [21:17] yes it dose [21:17] uok now you reboot again and see if it actually does the job, you will be asked for password at startup [21:18] enetr it and see if it works [21:18] ok see you in a bit [21:18] ok [21:23] it didn't pop up but it dose the job [21:23] hmm strange [21:24] ok anyways, if you encounter further problems, come here [21:26] yes 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 :D [21:27] wait, you said that it now works, so why bothering? [21:28] it worked but, I opened the file manually and typed the pass [21:29] oh that is why, ok then let's try something else [21:29] go to System > Preferences > Startup Applications [21:30] to create a new one [21:31] 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 me [21:31] since* [21:33] sure can i paste it in ubuntu [21:33] imgur.com [21:34] https://imgur.com/a/D6k02 [21:35] ok what does it show when you click add [21:35] I'v created the new entry and link it to the file [21:35] ok [21:36] but [21:36] it might now work if you point directly at the .desktop file, try reboot and see if it works [21:36] https://imgur.com/a/W0Uma [21:37] but whic desktop file in autostart? or the one we created [21:37] oh ok it wont work [21:37] what you should do is the following [21:38] name: whatever [21:38] command: sh -c "sudo alsactl restore" [21:38] comment: whatever [21:38] and also open the options tab and see if there's an option to open the terminal [21:40] only one option to automatically remember running applications when logging out [21:40] ok then let's try the risky way only if you want it [21:41] should i try this with sh -c "sudo alsactl restore" [21:41] this which? [21:42] with startup app with command [21:42] yes try that, but if there's no option to run in terminal I'm not sure how it will prompt for the password [21:42] but try it and reboot [21:43] ok [21:46] lets go risky [21:47] first you need to have the installation media usb or dvd to restore everything in case it's needed [21:47] Ohhh I do :D [21:48] so you have it? [21:48] yes [21:48] ok open the terminal [21:48] ok [21:49] run: sudo mkdir /scripts && sudo touch alsa.sh && sudo chmod +x /scripts/alsa.sh [21:49] sorry run: sudo mkdir /scripts && sudo touch /scripts/alsa.sh && sudo chmod +x /scripts/alsa.sh [21:50] I'm a bit sleepy that's why making mistaked [21:50] mkdir: cannot create directory ‘/scripts’: File exists [21:50] relax and not to worry :D [21:50] ok run ls /scripts [21:51] just tell me what you see [21:52] when I run ls /scripts it dose not show anything [21:52] good [21:52] now run: sudo touch /scripts/alsa.sh && sudo chmod +x /scripts/alsa.sh [21:53] ok [21:53] done [21:53] now run: sudo echo "#!/bin/bash" > /scripts/alsa.sh [21:54] remember, you should not see any output after these commands, if you see anything other than blank, tell me [21:54] bash: !/bin/bash: event not found [21:55] this was after last command, it's all clear till then [21:55] ok what is the text editor you use? [21:55] gedit? mousepad? [21:56] gedit [21:56] run: gksu gedit /scripts/alsa.sh [21:56] it should open the file [21:57] I do not have gksu can I use sudo ? [21:58] now, run: sudo apt install gksu [21:58] don't use sudo [22:00] ok done [22:00] run: gksu gedit /scripts/alsa.sh [22:00] opened file [22:01] the first line write: #!/bin/bash [22:01] ok [22:01] the second line underneath write: sudo alsactl restore [22:02] ok [22:02] save the file, run: cat /scripts/alsa.sh paste you know where and share the link here [22:04] https://paste.ubuntu.com/25942129/ [22:04] good now [22:05] the following command you should run with maximum accuracy [22:06] on it depends if you get a working sudo afterwards [22:06] run: run: sudo echo "ALL ALL = (root) NOPASSWD: /scripts/alsa.sh" >>/etc/sudoers [22:06] sorry [22:06] run only [22:06] sudo echo "ALL ALL = (root) NOPASSWD: /scripts/alsa.sh" >>/etc/sudoers [22:07] permission denied [22:08] ok run su [22:08] enter your password [22:08] afterwards run: [22:08] echo "ALL ALL = (root) NOPASSWD: /scripts/alsa.sh" >>/etc/sudoers [22:10] It dose not accept my pass [22:10] what does it say? [22:10] su: Authentication failure [22:11] ok try running: sudo apt update and see if it goes well [22:11] finished well [22:11] good [22:11] now [22:12] run: gksu gedit /etc/sudoers [22:12] ok [22:12] did it open a file? [22:12] yes [22:13] scroll to the end of the file and at the end add the following line: [22:13] ALL ALL = (root) NOPASSWD: /scripts/alsa.sh [22:13] maximum accuracy [22:13] with spaces [22:14] ok to save ? [22:14] save [22:14] close the file [22:14] and close the terminal [22:14] ok [22:15] now to check if the sude is still alive you shoild open the terminala nd run: sudo apt update [22:16] it updated it [22:16] good the risky part went well [22:16] now [22:16] go to System > Preferences > Startup Applications [22:16] ok [22:16] click add and you fill in the lines as follows: [22:17] name: alsa-restore-new [22:17] command: sh -c "sudo /scripts/alsa.sh" [22:17] comment: whatever [22:17] ok done [22:18] click ok or save or whaever option and run in terminal: cat /etc/sudoers [22:18] paste/share the link [22:19] permission denied [22:19] run: sudo cat /etc/sudoers [22:20] https://paste.ubuntu.com/25942230/ [22:21] now [22:21] run: cd /scripts/ && ./alsa.sh [22:21] notice if it throws any errors [22:21] nope it didn't [22:22] ok, the final step [22:22] reboot, come back with the feedback [22:22] ok :D [22:27] diogenes_: guess what it didn't work [22:27] ok don't run it [22:28] try this: [22:28] cd /scripts/ && ./alsa.sh [22:28] and see if it runs like that [22:29] nothing happens [22:29] cd /scripts/ && sudo ./alsa.sh [22:31] i turned on alsa manually so I don't now [22:31] but terminal dosen't output anything [22:31] nah, we need to test if the script works [22:32] the terminal gives no output it means the command went well with no errors [22:33] I just do not know why is so complicated to turn on the headphones [22:33] should I restart it [22:33] yes restart but [22:33] when it starts don't run anything [22:34] just come here [22:34] ok [22:36] diogenes_: ok lets do it [22:36] run: cd /scripts/ && sudo ./alsa.sh [22:36] afterward check if your headphones owrk [22:36] work* [22:37] yes they do [22:37] so the script works fine, no password required [22:37] now [22:37] ls /home/$USER/.config/autostart [22:38] just paste here [22:39] https://paste.ubuntu.com/25942342/ [22:40] go to System > Preferences > Startup Applications [22:40] see if out alsa-restore-new [22:40] is checked for startup [22:42] it is checked [22:43] doeble click on it or edit (if available) make a screenshot and show me the fields you filled in [22:44] https://imgur.com/a/567gA [22:46] I'm not quite sure if in the command field there is sh-c or sh -c (a space in between) [22:46] it was a space between [22:47] if there is a space then ok [22:47] yes it is a space and the whole field is sh -c "sudo /scripts/alsa.sh" [22:48] try to replace the command with: sh -c "cd /scripts/ && sudo ./alsa.sh" [22:48] save and now let's create a second one [22:48] name: alsa-restore-second [22:49] command: cd /scripts/ && sudo ./alsa.sh [22:49] comment: something [22:49] done to reboot ? [22:49] no [22:50] first enlarge that window and show me what other stuff are checked for stratup [22:50] startup* [22:51] https://imgur.com/a/6tExF [22:51] the first part [22:52] https://imgur.com/a/dkqPo [22:52] the second part [22:53] uncheck the alsa-headphones and alsa volume restore [22:54] so you leave our scripts: alsa-restore-new and alsa-restore-second [22:54] ok [22:54] also [22:55] 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 reboots [22:55] we don't need the session to be saved, we need to start with the new session [22:57] ok apparently it doesn't have that feature [22:57] so reboot and come back [22:58] nope only the one that saves running apps when logging out [22:58] uncheck that option too for the test [22:59] it was unchecked all the time [22:59] ok reboot [23:02] diogenes_: still nothing [23:02] ok I think I know what the problem [23:02] the script is being executed too early [23:02] we have to increase the time it executes [23:02] go to System > Preferences > Startup Applications [23:03] ok [23:03] double click on alsa-restore-new [23:03] ok [23:04] change the command with: sh -c "sleep 30; sudo /scripts/alsa.sh" [23:04] changed [23:05] save, reboot, after desktop appears count to 30 and only after that come here, check the headphones after that [23:11] its not that [23:11] didn't work? [23:11] nope [23:11] ok one last try [23:11] open terminal [23:12] ok [23:13] run: sudo touch /etc/init.d/alsa2.sh && sudo chmod +x /etc/init.d/alsa2.sh [23:13] ok [23:13] gksu gedit /etc/init.d/alsa2.sh [23:14] opened the new file [23:14] first line: #!/bin/bash [23:14] second: sleep 40; sudo /scripts/alsa.sh [23:15] after that [23:15] cat /etc/init.d/alsa2.sh [23:15] copy here what you get [23:15] the cat /etc/init.d/alsa2.sh command goes in to the terminal? [23:16] yes [23:16] #!/bin/bash [23:16] sleep 40; sudo /scripts/alsa.sh [23:16] good [23:17] now your headphones don't work right? [23:17] right [23:17] run: /etc/init.d/alsa2.sh [23:17] see if they work [23:17] after 40 seconds [23:19] nope still dead [23:19] ok once again: gksu gedit /etc/init.d/alsa2.sh [23:20] ok [23:20] the second line modify: sudo /scripts/alsa.sh [23:20] without sleep thing [23:21] and than run /etc/init.d/alsa2.sh [23:21] yes [23:21] see if headphones work [23:21] did you save the file first? [23:22] yes i did [23:22] and still nothing [23:23] ok this: cd /etc/init.d/ && ./alsa2.sh [23:23] check headphones [23:23] nope [23:24] ok this: cd /etc/init.d/ && sudo ./alsa2.sh [23:24] dosen't work [23:24] this: sudo /scripts/alsa.sh [23:25] nope [23:26] this: cd /scripts && sudo ./alsa,sh [23:26] see if you get any output [23:26] if no output = good [23:26] command not found [23:27] this: cd /scripts && sudo ./alsa.sh [23:27] nothing [23:28] go back to application autostart in preferences, check back the: alsa-headphones and alsa volume restore [23:28] done [23:29] run: gksu /scripts/alsa.sh [23:29] modify the second line [23:29] just add: sleep 40; [23:30] you mean gksu gedit? [23:30] yes [23:31] the second line should look like:the entire second line should look like: sleep 40; sudo alsactl restore [23:32] ok done [23:32] save close [23:32] before you reboot write down on a paper the following command [23:32] sudo rm /etc/init.d/alsa2.sh [23:33] you gonna have to use this command in case you can't login to you system after reboot [23:33] ok [23:33] reboot, wait till 40 seconds, come here [23:33] ok [23:37] nothing [23:38] try start it manually [23:39] alsa restore didnt work [23:39] now i unmuted it and turn them on [23:39] so they work or not? [23:40] now they work [23:40] like the store file was deleted [23:40] so wait, it looks like it work without you having to run the command? [23:41] just unmuted? [23:41] nope it didn't work there was nothing alsa to restore [23:42] so I unmuted headphones in alsa and turned them on [23:43] ok then it's something definitely wrong with the way your system handles autostart scripts [23:44] I'v been trying to figure it out for 3 days and still nothing [23:45] every distro i tried the same thing [23:45] what distros have you tried? [23:46] kubuntu lubuntu xubuntu manjaro mint debian fedora open suse.... [23:47] ok what is your pc release year? [23:47] the strange thing is that when I firstly tried mate lts it worked normaly [23:48] 4 years maybe [23:48] ok do you happen to have secure boot on? [23:49] no last os was 7 [23:50] is it a lenovo pc? [23:50] no no its msi motherboard amdx4 750k and amd r7 250 [23:51] 8 gigs of ram [23:51] ok have you checked for additional drivers? [23:51] nope [23:51] check and see maybe they have something for you [23:53] I mean i put the amd cpu proprietary [23:54] what version of ubuntu? [23:54] currently? 17.10 [23:55] so I guess it worked fine on 14.04? [23:55] I didn't have 14.04 [23:56] you said it worked well before so what version you was using then? [23:56] i was rolling on win7 till the end of last week [23:56] well i diceded to go on linux and installed mate 16.04 first and it worked [23:57] oh so that's the reason [23:57] then 16.04 is the way to go [23:57] i tried that [23:57] and? [23:57] dosen't help [23:57] do you ahve a separate /home folder? [23:58] still no sound [23:58] nope only root and swap [23:58] my advice is to burn a 16.04 usb and to try is with the live session [23:59] not installing