/srv/irclogs.ubuntu.com/2017/03/10/#ubuntu-mate.txt

Kevin[m]2I have an external hdd connected to my Homeserver and shared it over nfs with multiple clients. After a certain time of inactivity the hdd goes into standby (spins down). Now if I open caja on any of the clients the hdd turns on again and I have to wait until it is done before caja is responsive again although I am not accessing any folder on my hdd.07:21
Kevin[m]2Does anybody know how I can prevent caja from waking up my hdd?07:21
ouroumov_Hi Kevin[m]207:21
ouroumov_Kevin[m]2, I don't know, but this could be an interesting conversation to have on our forums07:22
Kevin[m]2Thanks, I may try it there if nobody knows about that here.07:23
christ_hi every one all of you . beginner on ubuntu mate on raspberry pi 3 . ubuntu mate still litlle slow .how can i make it faster ? thanks all .08:39
alkisgchrist_: buy a real computer, for example an i3 is 50 times faster than rpi3 :)08:39
alkisgrpi3 is like a mobile phone, it can't run as fast as desktop systems...08:39
alkisgIt's good for programming or for text mode applications or meteo stations though08:40
christ_well it is just for internet purpose check email ... enought for me , but i m looking to make faster and be comfortable .08:44
Astro7467christ_:08:44
Astro7467Are you using the latest Rpi3 image of 16.04.2? Some improvements there08:44
christ_yep08:46
Astro7467other gains can be had by boot to or from a USB (there are firmware updates to support this - have done with Raspbian but yet to test with UM)08:47
Astro7467Boot to USB mean using the SD for th eboot partion then handing over to USB stick - doesn't require firmware updates08:48
christ_i like very much ubuntu mate .look good08:48
christ_i just install yesterday on rpi3. i m ubuntu user still many years...08:49
christ_i love ubuntu . i was using compiz on other comp but under rpi3 i m scared it will be too much ressource system taking08:51
christ_can t open a video on facebook . ressource system too much not enought . i got 1GO of ram on rpi3 .not enought ? i think it is maybe ubuntu too fat too09:48
alkisgrpi doesn't have enough CPU to play youtube videos09:49
alkisgIt does have enough GPU (graphics power), but firefox doesn't use GPU09:49
ouroumovalkisg, uh09:53
ouroumovalkisg, I've been watching Youtube on firefox with no issue on a rpi 3 with UM16.04.209:53
alkisgouroumov: click full screen09:54
alkisgDo you have more than 5-10 fps there?09:54
* alkisg doubts it09:54
ouroumovI had enough fps to watch SpaceX CRS-10 mission without lag.09:55
alkisgFull screen?09:56
ouroumovYes. Now granted, the resolution of said screen was SD but still...09:56
alkisgI think rpi3 cpu can decode up to something like 640x480 at 10 fps, no more than that09:56
alkisgThe GPU can decode 1920x1080 @ 60 fps, but it's not used by linux09:57
alkisg(well, without special players like omxplayer)09:57
vltThere's a video player in something like /opt/vc/src/hello_pi/ that plays full HD jst fine.10:18
vltOn raspbian, that is.10:18
alkisgomxplayer, yes, special players that know how to use the rpi GPU10:20
alkisgIt's there in mate too10:20
alkisgThe problem is that it's not integrated with the rest of the graphics stack (it plays only in overlay mode), and that it doesn't come as a library that other software like firefox could use10:20
alkisgSo you can't use it to e.g. watch youtube videos on firefox. You can use it to watch youtube videos in kodi, but kodi also doesn't integrate well with X11 so it doesn't play in mate etc etc10:21
alkisgA mess. Ubuntu isn't yet ready for GPU acceleration like Android is.10:21
ali1234that's not really true10:27
ali1234hardware video decoding is available as a library with gstreamer10:28
alkisgDoes it support rpi?10:28
alkisgIt's also there with va-api, not only gstreamer10:28
alkisgThe usual mess of independed implementation that no software can really use :)10:28
alkisgFirefox dumped gstreamer ages ago10:28
ali1234yeah, that's why it doesn't have accelerated video on rpi10:29
alkisgBut gstreamer doesn't support rpi, does it?10:29
ali1234yes, of course it does10:29
ali1234it supports damn near everything10:29
alkisgLink?10:29
alkisgI don't know of any software that can use the rpi GPU to play in an x11 window10:30
alkisgNot gstreamer, nothing10:30
alkisgThey can only do overlays10:30
ali1234of course, that's how the video hardware in rpi works10:30
alkisgSo how would firefox use gstreamer if it cannot draw in an X11 window?10:31
alkisgNice library then :)10:31
ali1234it would figure out where the window is and then create an overlay in that position10:31
ali1234just like how all hardware video players do it, in fact10:31
alkisgAnd how would it hide the windows above it?10:31
ali1234the overlay would be clipped10:32
vltThat works?10:32
vltSounds great.10:32
ali1234what works?10:32
alkisgSo, you're claiming that if I run a gstreamer command that plays a video in rpi, i'll have clipping and everything?10:33
ali1234no10:33
alkisg(vlc can't do that either)10:33
alkisgWhat's missing then?10:33
ali1234a proper X11 driver actually :)10:33
alkisgBecause with va-api I can surely do it, both with gstreamer and vlc10:33
ali1234the thing anholt is working on10:33
alkisgAh :D10:33
ali1234well, it will be DRM10:33
ali1234so not X specific... more useful for wayland10:33
ali1234but the reason that the overlays can't get clipped to X11 windows is because of the shitty software X11 driver they use... not a problem with the concept of overlays, which have been used for video for like 30 years10:34
alkisgI've also heard that they're working on gl support. If those 2 things land, it'll be great.10:34
ali1234yeah that's all part of the same thing10:34
ali1234if you've ever tried to take a screen shot of a video player and got a pink window instead: overlays10:35
alkisgI still won't be able to use rpi because it needs e.g. 2 minutes to open a gmail tab, but I'll be able to use it as a media center at least :)10:35
alkisgYes, it was blue back in windows 95 days10:35
ali1234if you ever moved the player window and the video lagged behind: overlays10:35
alkisgI do know about vga programming; made a diploma in it like 25 years ago :D10:35
ali1234the rpi is slow for sure10:36
ali1234it is not a desktop computer10:36
ali1234it makes a good embedded video player / control panel though10:36
ali1234the GPU is far more powerful than the CPU attached to it10:37
alkisgali1234: at some point, flexiondotorg was trying to upload a patched kodi version in a ppa, but I cannot find it any longer; do you know if there's any way to run kodi inside x11/mate?10:37
ali1234not inside x1110:37
ali1234on the pi, when you run kodi, the entire UI is drawn in an overlay10:37
alkisgSo for now, it's best to use something like libreelec, right?10:37
ali1234i would use one of the kodi specific distros, yes10:37
alkisgty :)10:38
ali1234or just raspbian10:38
alkisgRaspbian? How does that handle kodi?10:38
ali1234dunno, but stuff generally works on raspbian because everyone uses it10:38
ali1234kodi can run at the same time as X but it has a funny bug10:38
ali1234they implement the screen saver / dimmer by making the UI transparent10:38
alkisgAh, also I was wrong to specify "inside x11/mate", because running the whole ui in an overlay "above" x11 would be fine as well10:38
ali1234normally that lets through the black nothingness10:39
ali1234but if X is running, you see your X desktop instead10:39
alkisgHaha, funny :D10:39
ali1234i actually have kodi installed on my desktop and my android tablet but never tried it on pi10:40
* alkisg searches for the patched vlc that can run atop x11...10:41
alkisghttps://ubuntu-mate.org/blog/ubuntu-mate-xenial-raspberry-pi/ => Added OpemMAX IL hardware accelerated video playback to VLC. To enable hardware accelerated video playback go to Tools -> Preferences -> Video and select OpenMax IL.10:41
alkisgEh cool, it's already there, I can use that10:42
alkisgali1234: do you have a rough idea about when to expect a proper X11 driver? Like, 6 months, or a couple of years?10:44
ali1234i would say more like a couple of years10:44
alkisgty :)10:44
ali1234its one of those things that always looks like it will be done in a couple of months ut never actually is10:45
ali1234like wayland, unity 8, app sandboxing etc10:45
alkisgHaha, good examples10:45
alkisgI really wonder how google managed to ship android in only a few years, with many such things already implemented10:46
alkisgHow many programmers were they able to hire and coordinate...10:46
ali1234the answer to that is they hired everyone who worked on beos10:47
ali1234(nearly)10:48
alkisgAaaaah didn't know that10:48
ali1234and early android is full of beos stuff10:48
alkisgThat makes a lot of sense10:48
ali1234also android was developed by a startup which google bought10:48
ali1234i dont remember if the beos people worked for that startup, or if google brought them in10:49
=== nitro is now known as Guest49356
Guest49356hi.i have some issue with laptop fan and heating. after all tweaking in here (http://askubuntu.com/questions/828967/limit-total-cpu-usage-using-tlp) no result!13:10
Guest49356just with limiting cpu usage in tlp to 30% its gets better result.13:11
Guest49356any idea?13:14
ubuntu-matehello13:27
ubuntu-mateI'm battling here to make the partition tables on GPT to work. If anybody has a useful link it would be most appreciated13:31
ouroumovhello ubuntu-mate13:38
ouroumovubuntu-mate, can you please describe what issue you're experiencing?13:40
ubuntu-mateHello ouroumov I am trying to change the partition table from MBR to GPT in order to run boot-repair and be able to boot normally13:42
ouroumovIs this a dual boot setup?13:42
ubuntu-mateit probably was, it's my pc at work. Now is only linux13:44
ouroumovI think you should just redo the install process in that case. Unless you have specific partitioning requirement just use the "erase disk and install" option13:47
ubuntu-mateDo you think that formating the /dev/sda fully making a fresh install would help ?13:49
ouroumovYes, you did use manual partitioning right?13:50
ubuntu-mateI haven't yet. I just used the computer with the system there was when I started my contract. ubuntu 14.04. Are there any particular things to select in the manual partitionning ?13:51
alkisgubuntu-mate: do you have data inside the disk that you need to keep?13:56
ubuntu-matenope.13:58
ubuntu-mateThere are 2 other hard drives, one which has another boot sector, but it seems not to be detected by the BIOS nor EFI when booting14:00
alkisgThen you can run gparted and select "create new partition table", "msdos format"14:01
ubuntu-matethe installer will automatically create the booting sector for BIOS or EFI ?14:02
alkisgAre you booted in bios or in legacy mode?14:02
alkisgls /sys/firmware/efi14:02
alkisg*or in uefi, sorry14:02
ubuntu-mateLastly, At which point will I be able to chose between GPT or MBR  ? -- I boot on BIOS now, the ubuntu forum sais that EFI is better14:03
alkisgLeave if to bios, because not many people or tools know how to fix uefi problems now :)14:03
alkisgIf you booted in uefi, you should use gpt14:04
alkisgIf you booted in bios, then mbr14:04
alkisgYou can choose it from the gparted menu I said14:04
ubuntu-mateI will then. in /sys/firmware/efi there is some stuff there14:04
alkisgThen you booted in uefi mode14:04
alkisgSo, use gparted to format it to gpt14:05
ubuntu-mateAlright. I had a problem with MBR, it didn't allowed me to chmod the files. That was the root of all this. Will I be able to chmod ?14:05
alkisgMBR and GPT are not related to chmod at all14:05
alkisgYou are wrong to assume taht14:05
alkisg*that14:05
ubuntu-mateOh, well. Trying is how we learn. That was the answer I found on an ubuntu forum.14:06
ubuntu-mateThat's how we learn stuff ^_^ -- It seems that the GPT table is corrupt14:08
alkisgBut you also need to follow some instructions14:09
alkisgE.g. I said "create new partition table", how can it be corrupt now? :D14:09
alkisgTrust gparted and parted. Don't trust other software. :D14:09
ubuntu-mateAlright alkisg. I'm on it now14:11
alkisgAlso, it's nice to have a nickname of your own in irc, so that you can continue chatting with others some other day, and they remember your setup etc14:12
alkisgSo, type /nick yourname14:12
ubuntu-materight !! I hadn't noticed, i'm lhtd14:13
=== ubuntu-mate is now known as lhtd
lhtdI have a question, how does the system decides weather devices are a,b,c, in /dev/sdx ?14:16
alkisgIt's not deterministic, that's why UUIDs were implemented14:17
lhtdAlright. I think I'll need to clean all HDs of this computer and start a real fresh install.14:18
lhtdIt's annoying that the IT just drop all aid when on any unix/linux system. They don't even format them14:19
lhtd2 of the 3 HD have been formated, but gparted still says: The backup GPT table is corrupt14:27
alkisgWhen you say formatted, do you mean "device => create new partition table" from gparted?14:32
alkisgFirst you create a new partition table, then you format the partitions14:33
alkisgSo you can't say "i formatted a partition table", it's wrong14:33
lhtdYes, I did that for /dev/sda and for /dev/sdc. one at a time14:33
alkisgWhat's the output of: sudo parted -l | nc termbin.com 999914:33
lhtdError: The backup GPT table is corrupt, but the primary appears OK, so that will be used.14:34
lhtdhttp://termbin.com/umr714:35
lhtdand that's it14:35
alkisgI can't believe that you create a new partition table from gparted and it still says it's corrupted after doing that14:36
alkisgAnyway, ok, try this: sudo dd if=/dev/zero of=/dev/sda bs=512 count=114:36
lhtdI had never had this much trouble with partition tables. I feel too noob14:36
alkisgThis completely clears the partition table; then re-created it with gparted and see if the error goes away14:36
lhtdI did the dd command, and then re-created it with gparted, then quited gparted. When I open again gparted the same error will still pop14:40
alkisgok, now try with sudo gdisk /dev/sda14:41
alkisgAnd use its menus to clear the backup gpt too14:41
lhtdI tried to install ubuntu-mate, it prevented me that it would be installed in UEFI. Maybe i need to boot and start on BIOS14:41
lhtdOk, on it alkisg14:41
lhtdFound invalid GPT and valid MBR; converting MBR to GPT format in memory14:46
alkisgSelect to clear them all14:48
lhtddone14:50
lhtdGPT and MBR have been cleared14:50
lhtdI'm dying.. I opened gparted again and it tells me that the GPT table is still corrupt...14:52
lhtdI'm gonna reboot. I'll be back shortly14:53
=== ubuntu-mate is now known as lhtd
lhtdback15:02
ouroumovwb15:02
lhtdthnx15:03
gelvezz23hola15:06
gelvezz23a todos15:06
gelvezz23alguien sabe como quitar Escritura de una usb15:06
ouroumov!es | gelvezz2315:06
ubottugelvezz23: En la mayoría de los canales de Ubuntu, se habla sólo en inglés. Si busca ayuda en español entre al canal #ubuntu-es; escriba " /join #ubuntu-es " (sin comillas) y presione intro.15:06
gelvezz23thank you15:07
lhtdwell, I rebooted on BIOS. Gparted still sais that the backup GPT table is corrupt. I'm creating a new primary partition in ext415:08
ouroumovlhtd, may I ask why you don't just boot the USB into install mode and proceed?15:09
ouroumovlhtd, with "Erase disk and install" as your choice of partitioning, I don't think you'll have any problems.15:10
lhtdVery smart ouroumov I will, I'm trying to understand this a little bit, I've never been confronted to this. And I needed to boot on BIOS, some minutes ago i was on UEFI, so the boot was warning me about some incompatibilities while preparing the installaiton15:11
lhtdouroumov, I'll finish the formatting the other HD, and i'll go for the install.15:11
lhtdI feel old. Some years ago we would make Install parties with my friends15:18
ouroumovThat's still a thing15:19
lhtdwith beers and pizza ?15:19
lhtdMaybe it's just my friends who don't do it anymore15:20
ouroumovOf course.15:20
lhtdThat's fun !15:20
pvl1hey all, outside of this: https://ubuntu-mate.community/t/move-to-copy-to-in-caja/330/6 is there a way to add a destination to the caja copy-to right click menu list15:22
vltalkisg: Hi!15:22
vltI did some testing on a fresh Ubuntu 16.04 machine.15:23
alkisgvlt: and?15:24
vltThe Alt+Tab problem happens with marco. After switching within the same Xvnc session to openbox, for example, Alt+Tab works just fine.15:24
alkisgI'm using marco and I don't have the alt+tab problem15:24
alkisgDid you try another vnc like I proposed?15:24
vlthmmm15:24
alkisgFor example, now I'm remotely connected with x11vnc/xvnc4viewer15:25
alkisgI can alt+tab just fine15:25
alkisgAnd i'm running marco15:25
vltI tested several vncviewers. All the same.15:26
vltCan you help me change something on the server side?15:26
alkisgHow?15:26
vltWhat other than xvncserver should I run to test that?15:27
vlt-x15:27
alkisgI did write you exact commands before :)15:27
alkisgpc1: xvnc4viewer -listen15:27
alkisgpc2: x11vnc -connect pc115:28
vltalkisg: I know, sorry.15:28
alkisgf8 for full screen, then alt+tab15:28
vltI didn't unserstand them fully.15:28
alkisgIt's that easy15:28
vltI'll do exactly that now.15:28
alkisgYou need xvnc4viewer in pc1, and x11vnc in pc215:28
alkisgpc1 is the "server"15:28
vltThe listening viewer is listening but the x11vnc command fails.15:30
vlt*** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.15:30
alkisgAre you running it from within X?15:31
alkisgDon't run it from ssh or vt1...15:31
vltalkisg: No, there's no X.15:31
alkisgOK, test on a machin with X15:31
vltIt's "just" a headless server,.15:31
alkisgTest it on another pc then15:31
alkisgYou want to test a software bug now, not solve your specific setup issue15:32
alkisgYou'll verify that it's a problem with xvnc+marco, and not with just marco, so maybe a xvnc problem15:32
alkisgSo that you'll know where to report the bug15:32
alkisgYou can even do that between ltsp clients, take the screen of fatclient2 while working on fatclient115:33
vltYeah, I am trying to find a real machine here ;)15:33
* vlt installs ltsp-server on the 16.04 testing machine, builds an image and then points one of the clients to boot from that.15:35
vltbrb15:35
lhtdThe menu to prepare the install for mate from a USBkey is quite slow :-S The install is not yet started16:08
Akulilhtd, are you making the usb stick or have you booted from it already?16:11
lhtdi'm on the live-boot16:11
Akulihow much ram does your computer have?16:12
lhtd64Gb16:12
Akulithat's 32 times more than i have, so shouldn't be a problem16:13
pvl1god the klondike bars id give for that much ram16:13
Akulimaybe ubuntu doesn't like your graphics card?16:13
alkisgMaybe he means the usb stick size :)16:13
pvl1ooh16:13
Akulilol16:13
Akulimakes sense16:13
pvl1blah ive tried swap on a USB16:13
pvl1usb3 isnt tooo bad16:13
lhtdthat's also 32x more than I have at home16:14
lhtdIt´s probably that. It took it 10min to go from the ¨Do you want to install updates && third party software¨ to the next one16:15
Akulithat's not nice16:15
Akuliis it possible to check for better drivers before installing? i don't remember16:16
lhtdit´s friday, if I had known i´d called to vet delivered some pizzas to pass the time16:16
lhtdr/vet/get/16:16
ouroumov_I've seen that step take a while as well16:18
ouroumov_Not sure what's causing it.16:18
lhtdmaybe it´s the closure of remote connection :-P16:19
=== enrique is now known as lhtd
lhtdwell, it forced me to restart after the install, but Here it is all rolling16:23
Akuliis it still slow?16:24
lhtdso fat it seems quite reactive16:25
lhtdeven typing is quite quick16:25
lhtdis there a package manager included or is it all apt-get ?16:26
Akuliwell, apt-get is a package manager :) i believe the GUI thing is called software boutique nowadays16:28
lhtdThat is so français16:29
Akuliyeah i would probably guess it's a mint thing if i didn't know that16:31
lhtdI used to have mint at home. i really liked XFCE, I discovered mate on my previous position16:32
vltalkisg: back16:33
vltTest setup: thin client running Ubuntu 16.04, plain marco and xterms.16:34
vltx11vnc16:34
vltAlt+Tab works there like you already observed.16:35
vltSo, x11vnc+marco OK, x11vnc+openbox OK, vnc4server+openbox OK, vnc4server+marco FAIL16:36
lhtddarn... I just noticed I just lost my .bashrc and other config files....16:37
* lhtd 's brain is already gone on a week-end16:37
lhtdI will have to re-install a big bunch of software to do bioinformatics. Do you have an advise to try and install all those things in a single directory, available for all users ?16:42
Akuliis it all from apt-get?16:51
Akuliif you have a list of packages to install it's pretty easy to install things that way16:52
lhtdnope, I'll make a install.sh with all the apt-get stuff, but I need some softwares which either I need to compile myself, either to make them executables.16:52
lhtdI just want to keep a healthy system16:52
Akuliusually i install dependencies with apt-get build-dep when i compile things16:53
vltCan someone confirm Alt+Tab not working for marco in a vnc4server session on Ubuntu 16.04?16:53
lhtd(if i get some free time i'll try to get involved in making ppa repositories for some bioinformatics software)16:53
lhtdO_O !!! after the re-install all the chmod that I had done do were effective.16:59
Akulilhtd, yeah, the usb session is all temporary17:02
Akuliall in your 64gb ram :)17:02
lhtdIt's my lab's computer, but it's fun. there are 24 proc17:04
lhtdI've never worked on a such powerful local machine !17:04
lhtdAkuli, i'll take a deeper look ti apt-get build-dep, thanks !17:05
enriqueWell, guys, it's getting late. Thank you very much for the help. I'll probably be here on monday. Enjoy the Week end :-)17:25
calamarihi. something broke recently where my system no longer sets correct primary monitor. Settings claims it's right, but it's not. So, I have to set the primary to the other monitor, then set it back to the correct monitor. Is there a bug opened for this?17:42
juupelievening18:33
jeremygday19:59
=== jeremy is now known as Guest47866
sparker_running mate in a windows environment is about the best thing ever...20:24
EightynineHi. Can I install Ubuntu MATE on PC with Skylake processor?20:33
alkisgYes20:34
EightynineAnd it will boot with UEFI without any problems?20:38

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