#ubuntu-mate 2016-06-01 <Happybattles> Howdy y'all <pilne> heylo <WattisLove> Hi. When I switch windows via Alt+Tab is this the only switcher I have available? The problem I have with this switcher is you can't use the arrow keys to more quickly get to the window you want <WattisLove> You have to keep pressing Tab until you get to the window you need. This is not comfrotable when you have more than a few windows open. <nomic> shift alt-tab goes in reverse <WattisLove> yes, but sometimes you also need to go up/down instead going through through rows <nomic> i think it only rotates through the list left,right <WattisLove> that's the problem <nomic> there are options for window managers <WattisLove> other switchers allow you to go any direction (withyour arrow keys). I'm using "marco no compositor". If I switch it to marco with compositor or compiz will I get this feature? <bdragonsl> not sure that I've seen an alt-tab switcher do that before. <nomic> ask on #ubuntu (busier) or mate/ubuntu forums <nomic> ubuntu forums is very busy <nomic> this is sort of questin (window manager), that they will readily answer .. it is a general question, about functionality, not a problem <bdragonsl> have you tried switching to compiz and installing the compiz configurator? <WattisLove> bdragonsl, well, almost all fancy DEs have this feature but they exaggerate averything <WattisLove> nomic, by busy do you mean I have a good chance of finding the answer there, or do you mean it's so busy I'll have to wait <WattisLove> nvm, hadn't seen your last comment nomic <nomic> im saying there are busier places to <nomic> ok <nomic> ask <WattisLove> bdragonsl, I'm thinking of switiching to compiz but I really like the simplicity of marco <nomic> 93 peeps in here ... normally 1900 in #ubuntu <WattisLove> yeah, I'll ask them <bdragonsl> I don't think that marco is just that, simple and no frills. It's why they use it. If you want the fancier stuff you have to use something like compiz for that. Compiz isn't all that bad from what I've seen. <bdragonsl> or used. <WattisLove> I definitely dont want the fancier stuff, just the switcher feature <bdragonsl> if you get the configurator you can disable pretty much everything that it does and just get the stuff that you do want. <bdragonsl> you don't have to have all the fancy transitions and stuff. They just set that as defaults <WattisLove> hmmmmm * WattisLove switiching to compiz now and willing to do all the configuration, but hoping not to lose his current top panel setup <bdragonsl> the window manager really doesn't mess with that sort of stuff. <WattisLove> Hey, I tried marco with compositor and I got the nice switcher <WattisLove> Just in case you know, Is there anyway to only enable this switcher feature without having to enable the whole compositor? <WattisLove> em, actually no, it still doesn't let you go up/down <bdragonsl> I switched to compiz, I like all the bells and whistles, but need to install the settings app so I can configure all the window management since none of it is set by default. But I'm being lazy right now. <WattisLove> I was a bit distracted comparing software compositor hardware compositor etc. I'm now on compiz and the switcher list is only one horizontal row. I think I recall knoppiz which also uses compiz by default has the switcher set up in a grid fashion so that you can go any direction. I guess I have some researching and configuring to do <ubuntu-mate> hi <sukil> Hello! I am a new user of Linux and I have decided to try several dystros, one of them being Ubuntu Mate. I am a user of Orca, and I am running Ubuntu Mate on a VM. When I turn the VM on from the Live CD, after hearing the startup sound, the sound seems to mute. Is there any command to turn up the volume again? Thanks! <YankDownUnder> sukil: If you're using the live CD/live USB, things are going to be slightly difficult...however, the OS will respond to the volume keys on most keyboards...and as well, there is a volume icon on the menu bar on the top of the screen...(or should be) <sukil> YankDownUnder: OK, let me try the volume keys. <sukil> YankDownUnder: No, they don't work <sukil> YankDownUnder: Can this be done using the command line? <YankDownUnder> sukil: In the live CD/USB you should just be able to adjust the sound from the icon on the menu bar at the top of the screen...but that also depends on the desktop that you're using...but in most instances, it's going to be in the upper right hand side of the menubar... <sukil> YankDownUnder: OK, I'll get a pair of eyes to help me then :) <sukil> YankDownUnder: Thank you very much <YankDownUnder> sukil: If you open a terminal, you can try just typing "alsamixer" - and see if it's installed in the live CD/USB <YankDownUnder> Hmm... <tianrking> hola <tianrking> ubuntu mate is so beautiful <tianrking> i am new here <sukil> This is weird. Now I've got sound, but I can't seem to do anything with Orca. <sukil> Tried with Alt+ctrl+T and Alt+F1 <sukil> No feedback, yet I know the first command works, as I can type "espeak hello" and it works <YankDownUnder> sukil: Have you gone over: http://www.semicomplete.com/blog/geekery/disabling-battery-in-ubuntu-vms.html ??? Just wondering <sukil> YankDownUnder: No, but I don't use a battery, this is a desktop computer. <YankDownUnder> sukil: Sorry...wrong URL...my bad... <YankDownUnder> sukil: https://help.ubuntu.com/community/Accessibility <YankDownUnder> NOT power related, not battery related... <nighthawk_> hi <ouroumov__> hi nighthawk_ <ouroumov__> sukil, your Orca problem was solved? <nighthawk_> is theres any solution about amd drivers ? for ubuntu 16.04 <sukil> Well, yes and no. I've got sound (I believe thanks to alsamixer) but Orca seems to not be working properly. I've tried pressing alt+F1 and alt+ctrl+t and it doesn't give any feedback <YankDownUnder> sukil: Is that still using the liveCD/USB? <sukil> YankDownUnder: Yup. And I've read the info on the link you sent previously, I already knew that. <YankDownUnder> sukil: Ok...so, you're STILL using only the liveCD/USB...and, um, you do know that the real functionality is going to come after it's properly installed, correct? "liveCD/USB" does not imply a complete and solid "installation" in any sense of the word...hmm? <sukil> YankDownUnder: So what does the "Try Ubuntu" button do? <ouroumov__> sukil, did you try starting Orca in the terminal? <ouroumov__> sukil, by typing "orca" after opening the terminal with CTRL+ALT+T <sukil> ouroumov__: Yes, I did, Orca starts properly after I recover sound <sukil> OK, it seems I *do* have sound when Ubuntu Mate starts, only that alt+super+S doesn't start Orca. I start Orca from the Terminal (alt+ctrl+T, type orca) and I can "see" the install screen properly. I'm installing it now, let's see if I can use it after that with no problems. <sukil> Thanks to everyone, will report back. <ouroumov__> good luck sukil <guest-9tfjs4> hallo <sukil> Even more weird. Installed Ubuntu Mate, Orca went off after completing the installation. So for rebooting I powered off my VM and removed the CD. I powered on the VM and now the only thing displayed (according to NVDA's OCR function) is "ubuntu MATE". <sukil> Sorry for being so tiresome <gordonjcp> sukil: what did you expect it to have? <sukil> gordonjcp: Well... A desktop? The startup sound played? Orca speaking? <gordonjcp> okay, so what is it actually doing? <sukil> gordonjcp: I don't know. The only thing I can read is Ubuntu Mate. I can't enable Orca, and the terminal doesn't seem to even open. <ouroumov_> uh <gordonjcp> is it possible to boot it in verbose mode, and see if the boot process is getting stuck? <ouroumov_> gordonjcp, he won't see a lot <ouroumov_> hence the need for orca <gordonjcp> hm <ouroumov_> Oh wait <ouroumov_> sukil, you might be on the login screen <ouroumov_> try typing your password, then enter, then CTRL+ALT+T, then orca <sukil> damn, true <sukil> Well, I can't seem to solve it. I'll bother my family <sukil> Huh? Now Orca turns off for no apparent reason <pi-dave> hi all - trying to run kodi on ubuntu mate on a pi but when it launches it just presents a blank screen and then crashes after about 30secs <pi-dave> anyone had a similar experience? <pi-dave> found this discussion on the subject https://ubuntu-mate.community/t/kodi-on-ubuntu-mate/4154 <jp_> Hi. - looking for help to make 1 key-chord to a non-existent key on my chromebook2. <jp_> Havent figured out the keyboard shortcuts applet for this - assuming it is possible. <jp_> Need <ctl><bksp> to be mapped to the normal DELETE key. Ideas? <jp_> Mapping for applications is working fine - have chords working for email, browsers, passwd manager, calculator, etc ... <jp_> Would xdotool be the way? <jp_> so, not possible? <ouroumov> hi jp_ <ouroumov> jp_, I don't think you can do that with classic network settings <ouroumov> I'm sure you can do it though, cause I did something similar for my father's laptop a few years back <ouroumov> I don't remember what that was though, and I've to go out for a while <gordonjcp> jp_: so you want <DELETE> to actually generate <CTRL><BACKSPACE>? <ouroumov> gordonjcp, no the opposite <ubuntu-mate> Hi, somebody there ? <ouroumov> yes <ouroumov> hi ubuntu-mate <sweetlew> Hi, I'm having some trouble with Teamviewer on 16.04. And I couldn't get anywhere with the fucking rep over the damn phone. <ouroumov> hi sweetlew <ouroumov> sweetlew, can you describe the problem some? <sweetlew> Yeah, it's saying that it can't connect due to me possibly running a proxy server. I tried to check, and haven't been able to com up with anything. Teamviewer rep was like "We only deal with licensed customers, not free users." I'M PISSED. <sweetlew> So, how can I check about whether or not I'm running a proxy, and how do I resolve my issue with Teamviewer without resorting to going to the HQ and choking somebody out? <ouroumov> Yeah, so what's most likely happening here is that your IP was put in a VPN / Proxy list and the teamviewer guys decided to screw you over. <ouroumov> There is nothing you can do. <sweetlew> yeah, well how can I fix that? Warning: No/you can't/anything of that nature is NOT an acceptable answer. <ouroumov> hm <sweetlew> I need teamviewer to do a backup job before I reformat an HD. <ouroumov> See, the problem here is that you basically have to change your IP. <sweetlew> Ok, how do I do that? <ouroumov> There's a couple of ways to do that, but there is no way to predict whether the new IP will be on the same blacklist. <ouroumov> First option to change your IP is to connect to the Tor network. However, Tor exit nodes are usually blacklisted AND the bandwidth will be shitty. <sweetlew> Yeah, well, I need one that apparently isn't blacklisted like yesterday. <ouroumov> Second option is: you move yourself to another location such as as public Wifi hotspot, your workplace, your friend's home <sweetlew> I can't. This is a desktop, and I need teamviewer to be able to do this, like NOW. <ouroumov> Third option: spin up a VPS using a cheap VPS provider, and use it as a Proxy or VPN. This has no guaranty to succeed and this will require you to pay money. <ouroumov> Also, this will require some time to set up. <sweetlew> And I don't want to do Tor, because I don't want Feds knocking on my door for shit that I'm not involved in. <sweetlew> As for the third option, free is pretty much all I can afford. <sweetlew> So, yeah. <ouroumov> So yeah, unless you happen to have a VPN access to your work or something like that, I'm out of options <sweetlew> No, I don't. <sweetlew> GOD FUCKING DAMNIT!!! <sweetlew> I need this to damn work! <ouroumov> You don't have any way to trigger the backup other than teamviewer? <sweetlew> I do, but I requires me to move stuff around and clog up room on my desk. I was trying to fucking avoid that. <sweetlew> Who puts these IPs on blacklists? <ouroumov> Depends what list they're using. Could be something the Teamviewer guys maintain themselves, and since support won't answer your questions, there's no way to know. <sweetlew> Yeah, well, I've had it with being fucked over. <sweetlew> Maybe we oughtta all call their number and demand answers. <ouroumov> And say what? 'The service you provide for no money is shitty' ? <sweetlew> No, about the blacklisted IPs. <ouroumov> Oh <sweetlew> And keep calling them until they tell us. <ouroumov> I don't want to sound like I'm lecturing you, but there's also the option to not use teamviewer. <ouroumov> Although yeah, that won't be free. <sweetlew> Any other alternatives that will work around this proxy bs? <sweetlew> *free alternatives <ouroumov> Well I don't know of any. Maybe someone else here does but I suspect they would have already jumped in if they were reading our conversation. <jp_> ssh? vnc? dont know if those will fit for your needs. I use ssh to manage 30+ systems fine. <sweetlew> Would setting up a samba share work? <jp_> Sorry - I stepped away. <jp_> I wouldnt use samba over the internet without a full, secure, IPSec-based VPN. <sweetlew> jp_: I'm experiencing a bullshit issue with Teamviewer, and their excuse for a rep was no help. <jp_> Ive nver used TV. Never saw the need. <ouroumov> sweetlew, I was assuming you're using teamviewer because the IP of the target machine was not directly exposed to the Internet. Was I making a wrong assumption? <jp_> If they are behind a firewall, then they can start an ssh session to your systems, which must be on the internet. <sweetlew> ourourmov: I was trying to run it from my desktop, and it says "Not ready. Please check your connection." I'm using my desktop right now to chat here. <sweetlew> So, my connection is working great. <jp_> Or at least have whatever TCP port you like forwarded from the router into the system. Once that connection is up, you should be able to get back into their system. <sweetlew> jp_:How do I do that? <ouroumov> jp_, I don't think there's anyone on site to do what he wants <ouroumov> sweetlew, am I wrong? <jp_> Of course, Im leaving out lots of little details like DDNS, router ports, firewall rules, installing openssh-server on your side ... but these are all pretty well-known in the Linux community. <mario_> hi <sweetlew> ourourmov: I don't know. I just want this resolved, so that I can get on with doing the backup. <ouroumov> hi mario_ <mario_> hi <jp_> On the far side, they just need an ssh client - to connect to your server. If they are behind a corporate firewall, depending on the corporation security, it could be easy, difficult, or impossible. <jp_> Which backup tool do they use? Is it shell or does it require a GUI? <jp_> Oh ... and what OS does the remote guy run? <mario_> ubuntu mate viva <ouroumov> sweetlew, can you describe the situation of the other machine ? Where it's at, what the network setup is like, if there's people around you can reach, what OS is running on it, and so on? <ouroumov> mario_, indeed. ^^ <sweetlew> All I'm trying to do is transfer files from a sluggish Dell Inspiron 1501 to a backup drive that's connected to my desktop. I've been able to use Teamviewer to transfer files back and forth using the desktop before, so I really don't see why it wouldn't work now. <sweetlew> Besides the IP issue. <jp_> For file transfers, I use sftp. <sweetlew> jp_: how? <jp_> sftp is enabled by using the openssh-server package. <ouroumov> Alright sweetlew, so do you have direct network access to the Dell Inspiron? Are you on the same LAN? <jp_> Then any Linux file browser with URL like ssh://936-429-9875/path/to/directory <sweetlew> ourourmov: I have to connect it to my router via ethernet. <jp_> All of this works over the normal ssh port. <ouroumov> sweetlew, and right now you're connected on the same router? <sweetlew> jp_:I really don't understand ssh, so can you please ELI5? ourourmov: yes. <jp_> I generally dont work with desktop people much ... is ssh a foreign concept here? <ouroumov> sweetlew, great <ouroumov> sweetlew, then why in the hell were you using teamviewer in the first place? <ouroumov> sweetlew, OK, is the other machine running Linux too? <sweetlew> It's currently running Ubuntu Mate 16.04 on a live disk. <jp_> So - both machines are running linux? Yes or no? <sweetlew> jp_: They're both running Ubuntu Mate 16.04. <ouroumov> Awesome. <jp_> Are they both on the same network? <sweetlew> ourourmov: Because I didn't feel like moving a lot of stuff around. <sweetlew> jp_: Let me dig out an ethernet cable and connect the laptop. <jp_> If the laptop isnt on a network, how would teamviewer work? <ouroumov> I can't believe both machine are on the same net. If I'd known that earlier... <jp_> Im thinking we install openssh-server on both systems, then he can use sftp from either one to transfer files. <jp_> Wouldnt hurt to install fail2ban as well. <jp_> BTW, there are sftp clients for every networked OS that I know or have ever heard about. <ouroumov> I'm thinking he already has UM installed on his laptop so he installs openssh-server there, than rsync from the live session on the desktop to his laptop <ouroumov> then * <jp_> Whats UM? <ouroumov> Ubuntu MATE <jp_> Ah ... Im such a noob. Just started using Mate 2 days ago. <ouroumov> No problem, I'm like the only one to say that often enough that it warrants being abbreviated <jp_> Im TheFu on the ubuntu forums. Been around Linux 25-ish yrs. <sweetlew> Ok, so I hooked the cable into the Inspiron, and it keeps saying "Disconnected". The other end is plugged into the router. <ouroumov> sweetlew, the inspiron has two network cards? <sweetlew> ourourmov: I'm not sure. <jp_> Or is it wifi and wired? <jp_> ssh/sftp/rsync work over wifi too. <sweetlew> It can handle both wi-fi and wired, but only when using the HD, which has windows 7 on it. <jp_> Win7 is fine as the client machine ... use WinSCP as the SFTP client. <ouroumov> sweetlew, we want that: "inspiron ==cable== router and laptop ==cable== router" or "inspiron ==cable== laptop" <jp_> Need to step away for about 10 min ... sorry. <sweetlew> The cable is connected between the Inspiron and router. <ouroumov> Good, and your laptop is connected to the router too? <sweetlew> Inspiron = laptop. <ouroumov> okay, so is your desktop connected to the router too? <sweetlew> ourourmov: Yes. <ouroumov> Perfect <ouroumov> Now, please tell me again: your laptop has Ubuntu MATE installed, and your desktop has booted from the live USB? <sweetlew> No. My desktop has Ubuntu MATE installed, and the Inspiron is running it off of a live DVD. <ouroumov> Okay. <ouroumov> Go to your desktop, and install the package OpenSSH. You can find it in the software boutique in the 'Server' category. <sweetlew> Ok. The Inspiron is still saying "disconnected". <sweetlew> So, I now have OpenSSH installed on the desktop. What next? <ouroumov> Next, let's fix the connection problem on the laptop. Did you manage to connect it earlier (to your home wifi or something?) <sweetlew> It can connect to the wireless in Win7. But, it runs sluggish in Win7, which is why I wanted to use the live DVD for the backup. I'm doing the backup before I format the HD and re-install Win7. <ouroumov> Okay, but we need to connect it to your home network under Linux before we can do anything. <ouroumov> Is your home router using dynamic addressing (DHCP) [ yes / no / dunno ] <sweetlew> dunno <ouroumov> Okay, plan B. <sweetlew> What's plan B? <ouroumov> Wait, Plan B will but you off from the internet, I hadn't though of that, damn <ouroumov> cut* <ouroumov> Can you connect your laptop to your wifi network? <sweetlew> Not while running the live disk. <ouroumov> And the cable connection isn't working either? <sweetlew> Maybe I can boot Win7 in safe mode w/networking. <ouroumov> You can do that, but then I won't know what you can do. It's been over 6 years since I last used Windows. <sweetlew> Ok. <ouroumov> Why can't you connect to the wifi with the live disk? do you get an error or something? <sweetlew> ourourmov: It doesn't come up as an option. <ouroumov> sweetlew, you mean when you click the network icon in the top right corner you don't see your wifi network? <sweetlew> nope <ouroumov> Does your laptop have a hardware kill switch for the wifi or a key combination to enable / disable wifi and have you tried toggling that? <sweetlew> I just tried to reconnect the cable to my router. <sweetlew> Yeah, Fn + f2, and I already tried it. <sweetlew> Do you think rebooting the disk would work? <ouroumov> And I take it the cable is still not working? <ouroumov> sweetlew, no <sweetlew> ourourmov: No. Let me look and see if I have another cable. <ouroumov> okay <sweetlew> I do. <ouroumov> Is it working any better? <sweetlew> dunno yet. <sweetlew> Got it! <ouroumov> It's working? <sweetlew> Yes! <ouroumov> Great <jp_> Just saw this about TeamViewer ... seems they are probably REALLY busy today. http://www.inquisitr.com/3156809/teamviewer-accounts-hacked-thousands-of-customers-vulnerable/ <ouroumov> jp_: lol <sweetlew> jp_: I did have an account with them, but even then, I was using their free option. <jp_> Paypal + bank accounts are being emptied. <sweetlew> ourourmov: So what next? <jp_> Just be certain you never use the same credentials in multiple places ... different userid / different password (that cant be guessed). <ouroumov> sweetlew, okay so now from the desktop, please type the command: "sudo ifconfig | nc termbin.com 9999" and give us the resulting URL. <ouroumov> sweetlew, to type the command open the terminal using CTRL+ALT+T <ouroumov> sweetlew, actually you don't need the 'sudo' part <sweetlew> ourourmov: http://termbin.com/k6vp <ouroumov> sweetlew, just 'ifconfig | nc termbin.com 9999' <ouroumov> great <ouroumov> okay <ouroumov> sweetlew, so the IP of your desktop machine in your local network is 936-429-9875 <sweetlew> Ok. <ouroumov> Now, you'll need to type a few more commands <sweetlew> toss them my way. <ouroumov> First, on your desktop, go to the backup drive and create a folder to receive the file <ouroumov> files * <ouroumov> example: cd /media/sweetlew/DRIVE && mkdir laptop-backup -- you can also do that from the regular file explorer <ouroumov> Please give us the result of "df -h | nc termbin.com 9999" typed in the desktop <sweetlew> ourourmov: Done and done. http://termbin.com/gf6u <sweetlew> sdc1 is my backup drive. <ouroumov> Okay so assuming the folder you created on the drive is named "laptop-backup", you only have one more command to type, this time from the laptop <sweetlew> I titled the folder "Inspiron Backup". <ouroumov> Okay <ouroumov> So the command would be: <sweetlew> I have the terminal up and running on there. <ouroumov> Oh wait I forgot one detail <sweetlew> what? <ouroumov> On the laptop please click on the drive you want to backup from the file explorer so that it gets mounted and you can browse the files inside, then execute the command "df -h | nc termbin.com 9999" on the laptop and give us the URL <sweetlew> Ok, it'll take a bit. <ouroumov> no problem <sweetlew> ourourmov: http://termbin.com/2afq <ouroumov> Perfect, so your windows drive is '01CFB6DCF8C8C000' <ouroumov> Then from the laptop, now type the command: <sweetlew> what command? <ouroumov> hang on, it takes a while to type <sweetlew> ok. <ouroumov> rsync -azv /media/ubuntu-mate/01CFB6DCF8C8C000/ {{EMAIL+PHONE}}:/media/lewis/My\ Book/Inspiron\ Backup/ <ouroumov> You will be asked for the password for the user 'lewis' on the desktop <sweetlew> is there supposed to be a space after before "{{EMAIL+PHONE}}"? <sweetlew> *before <ouroumov> before lewis yes <ouroumov> rsync syntax is rsync -options <source> <target> <ouroumov> If you get an error message please do say so. <sweetlew> rsync error: error in file IO (code 11) <ouroumov> crap <ouroumov> No more details? <sweetlew> hang on. <ouroumov> sweetlew, btw you know you can connect your laptop to the chat and copy the command from your laptop <mate|48976> Hi there! <ouroumov> hi mate|48976 <sweetlew> Ok, I will. BRB. <ouroumov> sweetlew, you don't have to quit th <ouroumov> is one.... <ouroumov> <ouroumov> sweetlew, you don't have to quit th <ouroumov> <ouroumov> is one.... <ouroumov> <ouroumov> rsync -azv /media/ubuntu-mate/01CFB6DCF8C8C000/ {{EMAIL+PHONE}}:/media/lewis/My\ Book/Inspiron\ Backup/ <jp_> Dont forget to add -vv to get more verbose output from rsync. ;) <ouroumov> Right <ouroumov> <ouroumov> rsync -azvvv /media/ubuntu-mate/01CFB6DCF8C8C000/ {{EMAIL+PHONE}}:/media/lewis/My\ Book/Inspiron\ Backup/ <mate|48976> Is there some kind of path to ubuntu-mate development as a newbie programmer? I need ideas... <jp_> And ... --progress --stats are handy once this starts working. <sweetlew> rsync: mkdir "/media/lewis/My" failed: Permission denied (13) <sweetlew> rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.1] <jp_> ARe you asking how to program or how to be a Mate-only on Ubuntu programmer? <jp_> chmod ... <ouroumov> mate|48976, there's something called "MATE University" on the github repo. I'm myself waiting on an answer to that question. I know flexiondotorg (Wimpy) is working on documenting the development landscape but he hasn't published the doc yet <jp_> But that looks like a gvfs mount ... hummmm. Need an ls -al //media/ubuntu-mate/01* <ouroumov> sweetlew, did you add the antislashes? (\) <ouroumov> There is no space before those <mate|48976> Like the combination <sweetlew> ourourmov: Yes. <ouroumov> sweetlew, okay, try this: <jp_> @mate ... what languages do you already know? <mate|48976> I need an idea as a newbie <ouroumov> sweetlew, this is space problem. Protip: never use spaces in file names / directory names <ouroumov> jp_: you know how to deal with spaces in rsync? I don't remember. <mate|48976> I don't much c, c++. I'm reading an engineering and archuture books. <jp_> 100% agree to NOT using funny characters, including spaces, in any file/directory names. <jp_> Use single-quotes around each part. <mate|48976> I don't know much I mean <ouroumov> sweetlew, so try this: <jp_> @mate http://blog.jdpfu.com/2011/10/19/how-to-learn-to-program ... is my best suggestions for learning to program. Not Linux specific. <ouroumov> <ouroumov> rsync -azvvv /media/ubuntu-mate/01CFB6DCF8C8C000/ '{{EMAIL+PHONE}}:/media/lewis/My Book/Inspiron Backup/' <ouroumov> sweetlew, note I added single quotes. <mate|48976> I would like some kind of path to become a software architect from scracth. <jp_> Or use easier regex to complete the path ... but the issue is #13 - permission denied, correct? <sweetlew> rsync: mkdir "/media/lewis/My" failed: Permission denied (13) <sweetlew> rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.1] <sweetlew> [Receiver] _exit_cleanup(code=11, file=main.c, line=674): about to call exit(11) <sweetlew> [sender] _exit_cleanup(code=11, file=io.c, line=1633): about to call exit(11) <sweetlew> rsync: [sender] write error: Broken pipe (32) <ouroumov> jp_, that's cause "My" doesn't exist <jp_> Ah .. my mistake. <mate|48976> I like linux. I'm thinking to read about the linux interfaces. <jp_> rsync -azvvv --progress --stats /media/ubuntu-mate/01CFB6DCF8C8C000/ {{EMAIL+PHONE}}:/media/lewis/My*/Inspi*Backup/ <mate|48976> about to read <ouroumov> sweetlew, try what jp_ said <jp_> I dislike gvfs mounts - to the extreme! <ouroumov> jp_, I didn't know you could autocomplete the paths in rsync. Thanks for the tip <jp_> Not autocomplete - just regex. <sweetlew> ourourmov and jp_: Keep your fingers crossed. <ouroumov> sweetlew, *o* <jp_> You can put * almost anywhere you dont like typing and if there isnt a conflict, it will work ... in most shells. Definitely in bash. <mate|48976> Ok, it's good source to read. <ouroumov> mate|48976, there's a nice book called "The Linux Programming Interface". It's kind of heavy as books go though. <jp_> I learned programming back in the early 80s. BASIC, FORTRAN66 ... then about 30 other languages over the years. Did cross-platform C/C++ for about a decade. <mate|48976> Should I be comfortable with this book only? <jp_> I think noobs to programming are best served by learning python. <ouroumov> mate|48976, depends what kind of stuff you want to architect. <sweetlew> ouroumov and jp_: How long should this take? <ouroumov> mate|48976, as jp_ said. Learn Python. <jp_> Depends on the network speed. <mate|48976> a need the big picture <sweetlew> brb. <jp_> Find a mentor. <jp_> For programming ... someone who does what you want to do. <ouroumov> sweetlew, yeah, it's capped by the lowest-performing network interface in the connection between your laptop and your desktop <jp_> Or by slow disk performance ... which is usually the issue on GigE networks. OF course, a 100base-tx or any wifi network will be slower than modern HDDs. <jp_> Anyone here in SE USA? <ouroumov> I'm in South France <jp_> Spent a day in Provence then Nice a few years ago ... <jp_> Not enough time in Provence <ouroumov> jp_, I'm in Provence. ^^ <sweetlew> I'm back. <ouroumov> sweetlew, you should have a progress indicator from the rsync terminal <mate|48976> How do you meet a mentor? <sweetlew> ouroumov: I do, at the bottom of the terminal window. <ouroumov> mate|48976, are you an IT/CS student? <jp_> I mentored someone from Sweden last year on Linux administration. He asked on the Ubuntu Forums in the sub-forum - Cafe <ouroumov> sweetlew, cool, so do you have and ETA too? <mate|48976> I'm a enthusiastic user or a power one <mate|48976> haha <jp_> Depending on where you are in the world, there are programming groups in many cities. <sweetlew> ouroumov: Keeps changing, but yes. <ouroumov> sweetlew, that's the remaining time ("Estimated Time of Arrival") <jp_> My LUG did a Beginning C class earlier this year ... didnt work out too well - tried to use IRC. This medium just isnt sufficient for the purpose. <sweetlew> ouroumov: Yeah, it's doing it for each file. <ouroumov> sweetlew, oh, hadn't thought of that <jp_> How many GB of files? How fast is the network? <jp_> du -sh /path/to/source <ouroumov> jp_, he has 56G of files to copy I think <sweetlew> jp_: Network is ok. Rarely any outages, and when outages do happen it's either something on Verizon's end or weather-related. <ouroumov> According to one of the earlier df -h <jp_> I suspect the Inspiron is a 10/100 NIC ... so ... 11Mbps is about all that can do. <ouroumov> jp_, that was my assumption too <jp_> Round down to 10Mbps for ssh overhead (ssh is being used via rsync automatically) .... simple math. <jp_> My calculations say almost 13 hrs. <ouroumov> jp_: what's the unit used by df? bits? bytes? GB? GiB? <jp_> Bytes. <jp_> Files are always bytes. <jp_> Networking is always bits <jp_> HDDs are always .... something else. <jp_> ;) <ouroumov> ^^ <ouroumov> jp_, you're a goldmine of intel. Please hang around here some more. <jp_> Bet you wish you had a GigE network now. <jp_> Ive just been around a really long time. Made lots and lots of mistakes. <jp_> Oh ... I cam to get some help. <sweetlew> Well, my family and I are trying to live within our means. That's why I always stress "free". <ouroumov> <jp_> Oh ... I cam to get some help. -> Seriously? Not sure what we're gonna be able to do. xD <jp_> On a GigE network ... the transfers would be about 10 minutes. <jp_> It was a keyboard mapping problem. I dont deal with GUIs much. <sweetlew> jp_: I don't even know if Verizon offers that. Besides, our internet is bundled together with phone and DirectTV. <ouroumov> sweetlew, that should have no impact on your internal network <jp_> Inside the house, it wouldnt matter. <ouroumov> sweetlew, the data right now is not leaving your home network, it's not traveling on the internet <jp_> GigE on the LAN has **zero** to do with the WAN/Internet. <jp_> In fact, the router isnt even involved if you put in a $20 GigE switch and connect all the devices to that with 1 uplink port to the router. <sweetlew> ouroumov and jp_: Ok. <sweetlew> Would I be able to find such a switch at my local Wal-mart? <ouroumov> Most likely. <jp_> Of course, the systems would need to have supported GigE networking. Intel PRO/1000 is THE INDUSTRY STANDARD. <jp_> Maybe at Walmart, but Id just order from NewEgg or Amazon. <ouroumov> A 5 port Gigabyte switch at my local store goes for under twenty bucks. <jp_> Exactly. <sweetlew> jp_: I don't do online shopping. <jp_> Thats fine. I dont use twitter or facebrace. <ouroumov> mdr <jp_> or instagram or anyother centralized services that I can avoid. <ouroumov> (that's French for 'lol') <sweetlew> facebrace? That's a new one! <jp_> MSFT and FB are putting in a new atlantic cable between Virgina and Spain. Double the capacity of prior cables. ... with complete NSA cooperation, I bet. <ouroumov> jp_, I do mostly the same. When I need something centralized I'm usually the admin of the Center. xD <sweetlew> I use FB and Twitter, fb mostly, to keep in contact with friends and family, most of whom I don't see often. <jp_> Looked at the Walmart options - not a fan of either d-link or netgear. Ive been burned. <jp_> Plus the price is $45 when it should be $18. <ouroumov> sweetlew, so you're more afraid of crooks than of the government? <jp_> R U near a larger city with a Frys or Microcenter? <ouroumov> sweetlew, just fyi, you shouldn't be. <sweetlew> jp_: Here, have some Burn Heal. <sweetlew> ouroumov: I don't really have a choice with a good chunk of them. <jp_> Im just a simple southern boy - dont understand burn heal. Explain please? <sweetlew> ouroumov: I'm afraid of both. <sweetlew> jp_: Pokemon joke. <ouroumov> jp_: I've got a 23â¬ dlink switch. It's working great: http://www.ldlc.com/fiche/PB00125882.html <sweetlew> ouroumov: How much is that in $? <ouroumov> sweetlew, google "23eur to usd" <ouroumov> It's 25.74$ <jp_> I had an 8-port d-link GigE switch ... died after 1 yr of use. Replaced with a metal TP-link ... and bought 2 more since then - all 3 are working. The metal dissipates the heat better than plastic. <sweetlew> ouroumov: That's not too bad. <jp_> How many systems in the house to be wired into this switch? <ouroumov> Actually it's not in the house. I bought it 'cause at my work they would only give me one static IP <jp_> $22 - http://www.newegg.com/Product/Product.aspx?Item=N82E16833704173&cm_re=tp_link_switch-_-33-704-173-_-Product <ouroumov> I have three systems on it at work, plus the cable from my workstation's second nic <jp_> Unmanaged switches dont work with 2 connections from the same PC ... without manual config on the PC side. <jp_> Ok ... can we switch to my issue? <jp_> looking for help to make 1 key-chord to a non-existent key on a chromebook2 <ouroumov> Oh, you're the guy from the forum <jp_> Havent figured out the Mate keyboard shortcuts applet for this - assuming it is possible. <sweetlew> If I use my desktop for anything like YouTube or Facebook, it won't interfere with what my lappy's doing right now, right? <jp_> Any use of the CPU or network will slow things down some. However, since youre gonna leave this running a long time, I would do whatever I normally did. <jp_> Plus with rsync, you can pick up where you left off later. It is very alexanderlisa@example.com. <jp_> Need <ctl><bksp> to be mapped to the normal DELETE key. Ideas? <jp_> I tried xdotool ... in the **keyboard shrotcuts** app - didnt work. <jp_> I **Need** a delete key. <jp_> Have about 15 other things mapped and working just fine - running applications. Not trying to enter a keypress <ouroumov> So I don't have an idea. I guided my father to remapping one specific key to another a while back but I'm not sure this can work with key combinations <ouroumov> I'm gonna boot the old machine to get the mail log from it <jp_> I wanted to avoid changing stuff under /usr/share/X11/xkb/symbols$ <sweetlew> What if I had to shut this down? Would rsync pick back up, or no? <ouroumov> sweetlew, yes <jp_> Looked for a Chromebook keyboard mapping ... like the PC-101 and PC-105 options. NADA. <sweetlew> ouroumov: Even on live disk? <jp_> It wont automatically restart ... youll have to re-enter the command <ouroumov> sweetlew, it doesn't matter <sweetlew> jp_ and ouroumov: ok. <ouroumov> jp_, would the disk name under /media stay the same between two live usb boots? <jp_> And youll need to reinstall anything on the live-DISC that was installed today. <ouroumov> jp_, he didn't install anything on the live disk <jp_> Same name ... almost certainly. <sweetlew> jp_: Nothing was installed on the live DVD. <jp_> It came with rsync? <sweetlew> Yep. <jp_> and ssh clients? <ouroumov> yes <jp_> Should be good. <ouroumov> Client ssh has always been on the live disk, hasn't it? <sweetlew> BRB. <jp_> Since Unity came out, Ive been loading Ubuntu Server + openbox for my desktop. Find all the DEs to be way-to-bloated for my tastes. <worralph> anyone got 4oD to work on ubuntu? <ouroumov> hi worralph <worralph> ouroumov, hello <ouroumov> worralph, I didn't know what 4oD was previous to you coming here and asking about it <jp_> Ch 4 on-demand? <worralph> ouroumov, its an online catch up tv service. <jp_> There is a Kodi plugin for it, so perhaps it does work? <ouroumov> worralph, now that I know that it relies on Adobe I'm afraid I have to let you know that Adobe can't be relied upon. <ouroumov> Also screw DRM. <worralph> yeah its all the drm <jp_> My house is full of Linux media stuff/players ... plus 1 Roku box for DRM streaming. <worralph> jp_, 4oD working for you? <jp_> Never tried. <jp_> https://superrepo.org/kodi/addon/plugin.video.4od/ is all I know. Doesnt look promising. <ouroumov> jp_, sorry I haven't found anything in my mails about the key-remapping stuff. I think I did it live on my dad's comptuer <ouroumov> computer * <worralph> i saw this https://ubuntu-mate.community/t/tutorial-extract-pepper-flash-plugin-v-20-0-0-228-r1-and-above-from-samsung-chromebook-2-13-recovery-image/3614 but its for ARM, probably i need to find an image for amd64 <jp_> If you need pepperflash, there are some how-to guides on the UbuntuForums.org? <jp_> One of the mods posted one in the last 3 weeks. <jp_> I vaguely recall. <ouroumov> jp_, pretty sure I had used xmodmap back then <worralph> jp_, thanks ill double check, so far the ones i saw use martins libhal-flash deb <jp_> Found this.... https://wiki.ubuntu.com/Chromium/Getting-Partner-Flash ... havent tried it myself. <ouroumov> Is there a difference between Flash and PepperFlash? <jp_> Appears that pepperflash is deprecated now. <worralph> its very confusing for me <ouroumov> I'm asking 'cause if you need Flash, just install Google Chrome from the software boutique <jp_> It is very confusing for everyone. ;) <worralph> ideally they would use html5 without drm <jp_> But .... google is EVIL, so I cant install it. <worralph> but i guess flash is here for a while longer <ouroumov> worralph, so would netflix <jp_> Hence the Roku. <jp_> ouroumov - thanks for looking for the keyboard stuff. <ouroumov> Google is less EVIL than Adobe. :/ <jp_> Im not certain that is true. <jp_> Adobe mistakes are in-our-face. <jp_> Google people are SMART, doubt we;ll know when they screw up, if they havent already. <worralph> i wish google would just buy adobe and open source the whole thing <jp_> This is opinion. I dont know anything special about google, besides they capture and track everything we do on our computers <ouroumov> My vision of Google might be slightly biased by this comics: http://xkcd.com/792/ <jp_> Google doesnt want the problems that come with much of Adobe;s stuff. <jp_> Nobody does. <jp_> That was longer than nromal. <ouroumov> hm? <jp_> I suspect 99.9999% of googlers are good, kind, nice folks just doing their jobs and believing their company isnt bad. <jp_> The 0.00001% try to take over the world, nightly. ;) <jp_> Fortunately, Pinky gets in the way. <ouroumov> And what do you suspect the probability for the 99.9999% of the googlers of being right is? <jp_> 0%. <ouroumov> uh <ouroumov> That's a pessimistic outlook on things <jp_> Ive worked for the US Gov. <ouroumov> Oh <ouroumov> That explains it <jp_> There is one good thing about google. They dont show up at my house with firearms demanding entry and taking all my tech away without cause. <jp_> Ive also worked in very large telecom. <jp_> Comcast used the company where I worked as an ISP. <ouroumov> You've had a career working for evil forces. <jp_> An some good-guys - NASA. <ouroumov> Oh, that's cool. <jp_> You have no idea. <ouroumov> jp_, so I take it you're following what SpaceX is doing closely? <jp_> Rep. <jp_> Yep. <sweetlew> I'm back. <ouroumov> Do you know if they managed to ferry the last booster without it tipping over? I can't find the info anywhere <jp_> Saw a video of some guy claiming the water landings were all hoaxes. Clearly a genius. <jp_> They weld the boosters to the barge. <ouroumov> Seems some shock absorbing components had been crushed during the landing <ouroumov> wb sweetlew <jp_> Im not watching THAT closely. <sweetlew> ouroumov: How will I know when it's done? <jp_> There will be a summary of how many files where transfered. <sweetlew> ok <jp_> inside the same terminal where the rsync is running. <sweetlew> ok <jp_> So ... about 12 hrs from now. <jp_> Did anyone check my math on the transfer time? <jp_> Lightning storm here. I may get kicked off. Had a 4 hr ISP outage last night. Usually only have 5 min of downtime a year, but ... <jp_> Power is flashing on/off here. I here the UPSes clicking. <sweetlew> OMG! Teamviewer just connected! <sweetlew> jp_: Then get off, man. <ouroumov> sweetlew, there's no way in hell Teamviewer will be faster than rsync <sweetlew> ouroumov: how so? <jaybo> I set up a shared network using Caja. I have no issue connecting if I enable Guest Access. But if not enabled, I am unable to establish a connection. <jp_> Unless the lightning strikes within 200 ft, nothing bad can happen to any computers here. <ouroumov> sweetlew, there's nothing faster than LAN transfert <jaybo> any suggestions <ouroumov> jp_, please tell me you're at home and you'll be my new hero. <jp_> Dont use a GUI to make shared storage is my advice. <ouroumov> jaybo, hi <jp_> Yes. alexanderlisa@example.com. <ouroumov> jp_, awesome. How much did the UPS set you back? <jaybo> ouroumov, hello <jp_> I have a few different UPSes. $150 or so each. Just swapped the batteries out on 1 last month after 6+ yrs working perfectly. <ouroumov> jaybo, I think someone on the community forums had the same problem as you a short while ago <jaybo> might be me, i posted a question this morning, but no replies, thought I would try chat <ouroumov> Oh <ouroumov> So that seems to be a trend today. <ouroumov> First jp_, then jaybo had the same idea <ouroumov> xD <sweetlew> Is there any way of how I can get rsync to skip files? It seems to be stuck on an swf file in my temporary internet files. <ouroumov> jaybo, I'm afraid I don't know enough to give you a good answer. I'm not a samba expert <jaybo> OK, i will keep googling and hope for an answer from the forumn <jp_> rsync has multiple different --exclude options. If I need to use them, I usually write a script at that point. <jaybo> it seems there are a lot of solutions for older builds <ouroumov> jaybo, or maybe jp_ will have a tip for you for file sharing, he's an expert <sweetlew> jp_: I'm talking in the middle of stuff. <jp_> Ive been using the same samba setup for about 20 yrs now. .... /etc/samba/smb.conf is how to set that up. Never used a GUI for it. <jp_> No. rsync is batch. <jp_> You can <cntl>-c to stop it, add the exclude option(s) you want, then run it again. All the previously xferred files wont be done again. <jp_> rsync has an amazing manpage, btw. <jp_> But if you havent taken the time to learn about manpage design/layout, it is hard to see how brilliant those things are. <sweetlew> ouroumov and jp_: I actually wanted to transfer stuff from my "User" folder to my backup drive, not the whole system. <jp_> Took me about 6 months of trying to read manpages to finally have it **click**. <sweetlew> So, would rsync work better than TemViewer at that point or no? <ouroumov> sweetlew, then you can update the command to suit your needs. Just use the correct path for the given /user/ folder <jaybo> I will study up on smb.conf, I assume it will supercede anything set by caja <ouroumov> sweetlew, rsync will allways work better than teamviewer in your LAN <jp_> ALWAYS better. <jaybo> Currently just about the whole file is commented out except printer section <ouroumov> jp_, reason I added "in your LAN" is 'cause rsync does not have firewall traversal capability afaik. <jp_> There are a few good how-to guides for setting up samba ... HowToGeek, https://www.howtoforge.com/, and the help.Ubuntu.com are where I go. <ouroumov> NAT* traversal <sweetlew> ouroumov and jp_: Ok. I modded it. Let's see if it'll get past the swf this time. <jp_> SWF - is that in a cache directory? I;d just exclude **cache** and be done. <sweetlew> would it be like "--exclude **swf**"? <jp_> Well ... rsync DOES work across firewalls if ssh has been setup. I use it all the time for off-site backup mirrors. <jaybo> jp--thanks <jp_> But that probably isnt something easy to convey in this environment. <ouroumov> Indeed <jp_> I;d have to read the manpage. <jp_> Too bad jaybo left. <ouroumov> sweetlew, I think it'd be more --exclude **cache** unless you have stuff you want to backup in a \cache\ folder <jp_> Would have been good to know if he needed to support Windows or not. CIFS is a poor file sharing protocol - NFS is so much better, faster, etc... <sweetlew> Where in the command would I put --exclude? <ouroumov> after -azvvv <ouroumov> so it reads -azvvv --exclude **cache** <sweetlew> I want to exclude AppData, so it'd be --exclude **AppData**. <ouroumov> yeah <sweetlew> Ok, thanks! :) <ouroumov> jp_, so how does one go about learning about manpage design? <nomic> isn't it tex <ouroumov> Is there a way to shorten the 6 months time requirement before it clicks? <nomic> http://www.cyberciti.biz/faq/linux-unix-creating-a-manpage/ HowTo: Linux / UNIX Create a Manpage <nomic> its "troff" .. = like runoff = very simple (terminal), document formatting <nomic> is like a tool "runoff" <nomic> is used for pagination, not much else <nomic> its typesetting (like 'tex') <nomic> but less sophisticated <nomic> sequential set of commands (script) <nomic> like 'postscript' <nomic> would be a good starting point to get into (understand) lex, tex, postscript (sophisticated document formatting for unix/linux) <ouroumov> I get it, but my question was more along the like of "please tell me the secret manpage-reading-ninja-foo you've learned" <ouroumov> 'Cause while I read them when I need to use a command, I've never found it to be easy. <ouroumov> At least, not easy enough that I can distinguish between a marvelous man page and a shitty man page <nomic> i dunno what problem is with manpages <nomic> only problem = not always present <ouroumov> . <ouroumov> <jp_> rsync has an amazing manpage, btw. <ouroumov> <jp_> But if you havent taken the time to learn about manpage design/layout, it is hard to see how brilliant those things are. <ouroumov> damn, forgot to plug in the laptop <sweetlew> Oops! XD <ouroumov> ^^ * nomic uses manpages rarely <nomic> will search <nomic> /s in it, will search <ouroumov> I knew that <ouroumov> But how do you go to the next /s match, for instance? <nomic> / <ouroumov> Great, thanks <nomic> efficient. <nomic> z.z.z. <ouroumov> gnight nomic <sweetlew> palasso! What are you doing here?!? :) <palasso> Hey sweetlew <palasso> I've been here for some time <sweetlew> Oh yeah? <palasso> mhm <nomic> nite <palasso> and some other freenode channels <sweetlew> Cool! <mate|48976> Hi. <sweetlew> ouroumov: Done. Now what do I do? <ouroumov> sweetlew: what's done? <sweetlew> rsync <mate|48976> I'm reading a book about software architecture: a design pattern aproach <ouroumov> sweetlew: well now your backup is over so I guess you go to your desktop and make sure you got all the files you wanted on your drive? <sweetlew> ok <mate|48976> I need to put in practice all this knowledge <mate|48976> I'm thinking about this project xD <ouroumov> mate|48976, design patterns are about common solutions for common problems <mate|48976> yep <sweetlew> Yeah, it looks like I do. <mate|48976> what kind of architect could I learn to help this project? At least to learn from this. <mate|48976> xD <ouroumov> wow something so weird just happened to me <ouroumov> One of my displays went blank <ouroumov> no reason <ouroumov> But my puter had not crashed <ouroumov> the display was still detected by Ubuntu MATE <ouroumov> had to unplug it and plug it again to get it back <ouroumov> so weird <ouroumov> mate|48976, as we said earlier, start by learning Python. It takes like 15 minutes if you already know C++. Actually you might have done that since we told you to? <mate|19212> hello! <mate|19212> o/ <ouroumov> hi mate|19212 <mate|19212> How do you use an .appimage to install a program? <mate|19212> Trying to get Krita 3.0 to work. :) <ouroumov> you don't <mate|19212> ? <ouroumov> actually I didn't know what that was. <ouroumov> I see now that it's
{'channel': 'ubuntu-mate', 'month': 6}