/srv/irclogs.ubuntu.com/2013/07/06/#ubuntu-za.txt

Kilosmorning all06:18
mazalMore oom06:20
mazalMorning all06:20
mazalAnybody know of a good litte indicator app that displays info on hdd. Size , space used , space left ?06:21
Kiloshi mazal 06:24
Kilosdisk usage analyser?06:25
mazalI want something that runs permanently06:25
mazalLike a little indicator app06:26
Kiloswhat does google say06:26
KilosMaaz, google disk usage indicator on ubuntu06:27
MaazKilos: "What Application Indicators are available? - Ask Ubuntu" http://askubuntu.com/questions/30334/what-application-indicators-are-available :: "indicator - disk usage statistics tools - Ask Ubuntu" http://askubuntu.com/questions/296911/disk-usage-statistics-tools :: "10 Awesome Indicator Applets for Ubuntu's Unity Desktop" http://www.howtogeek.com/118908/1006:27
Maaz-awesome-indicator-applets-for-ubuntus-unity-desktop/ :: "10 Useful Application Indicators fo…06:27
mazalSo far only ones that shows activity like indicator-multiload for example06:27
KilosMaaz, google 10 Awesome Indicator Applets for Ubuntu's Unity Desktop06:28
MaazKilos: "10 Awesome Indicator Applets for Ubuntu's Unity Desktop" http://www.howtogeek.com/118908/10-awesome-indicator-applets-for-ubuntus-unity-desktop/ :: "10 Awesome Indicator Applets for Ubuntu's Unity Desktop | Ubuntu ..." http://www.ubuntu-news.net/2012/07/17/10-awesome-indicator-applets-for-ubuntus-unity-desktop/ :: "Top 10 Ubuntu 11.04 Unity Panel Applets -06:28
MaazSoftpedia News" http://news.softpedia.com/news/Top-10-Ubuntu-11-04-Unity-Panel-Applets-20…06:28
Kilosisnt there one in that ten06:29
mazalGoing through them now06:29
Kilosi dunno if peeps worry about things like that with all the big drives available06:30
mazalMy / partition not that big , like to keep an eye on it06:33
Kilossize?06:34
mazalI wonder if a simple script using df -h > sometextfile.txt that runs with cron will work06:34
mazalThen just needs to remember to check the file regularly lol06:34
mazalIf I could figure out a way to mail the file to myself that would be nice06:36
Kiloshehe06:37
mazalSharp , got it in cron to run every evening , now how to get it to mail that file to myself ?06:42
Kiloswhew you clever hey06:42
Kiloswhy you ask me for help06:43
mazalNah , I'm not clever lol06:43
mazalThat command just struck me as we used it a while back on our server06:43
mazalNow I need a really nice idea how to make that file draw my attention and not forget about it06:45
Kiloshaha06:46
mazalHow about adding a command for gedit to open the file when it's created ?06:51
mazalThen in theory it should just pop up06:51
mazalsharp , it works. Now will just wait and see when cron runs it if it also works then06:57
magespawngood morning all07:12
magespawnmazal can you put all the scripting you use to do all that up on a pastebin or something, i would appreciate it.07:13
Kiloshi magespawn 07:13
magespawnhow are things this saturday Kilos ?07:14
Kilosok ty magespawn android be stupid, it cant see a formatted ide drive07:15
magespawndo they list any restictions on the website?07:16
Kilosfound one that says you must first boot from another os poppy or something and use that insatller07:17
Kilosplop07:17
Kilos? i forget07:17
magespawnwell that could also explain why the iso is small, it might need the underlying os to run07:18
Kilosit looks for some android drive to install to07:19
Kilosif i boot from the live cd and plug in a stick with android on it sees it immediately07:20
Kilosbut not the hdd07:20
magespawnyou cant copy the android to the harddrive?07:20
Kilosim thinking of connecting the drive here through usb adapter and putting it on there with unetbootin07:21
Kilosnope i tried 07:21
magespawnyou can try running it from the usb if you want, i have done that with ubuntu07:22
Kilosill find a way around it. just takes lotsa time07:22
Kilosya but i dont wanna mess here too much07:22
Kiloswant android apart on other pc07:23
Kilosgot a 40g drive ill use07:23
magespawnahh well, we wouldn't want life to be too easy now would we07:23
Kiloshahaha07:23
mazalMorning magespawn 07:24
mazalIt's so short I can paste here07:24
mazalJust 2 command07:24
mazalsssssssssssss07:24
mazalcommandssssssssssssssssssssss07:24
mazalShees I spell terrible :P07:25
magespawncoop mazal 07:25
magespawnlol07:25
magespawnor type terrible07:25
mazalThat to07:25
mazaltooooo ai !!07:25
mazalexecutable sh file07:26
mazal!#/bin/bash07:26
Kilosyou okes must go back to school and get your parents money back07:26
mazaldf -h > /home/diskusage,txt07:26
mazaldot sot txt ag nee man07:27
mazaldf -h > /home/diskusage.txt07:27
mazalish07:27
mazalgrrrrrrrrrrrr neee07:27
mazallet me start AGAIN07:27
mazalWat gaan vanmore07:27
mazal#!/bin/bash07:27
mazaldf -h /home/mazal/diskusage.txt07:28
mazalgedit /home/mazal/diskusage.txt07:28
mazalthen just add the file to be executed by cron in your crontab for when suits you07:28
magespawncool ty07:28
mazalneeeeeeeeeeeeeeeeeeeeeeeeeee07:28
mazalsecond one still wrong07:29
magespawnnow what?07:29
magespawnlol07:29
mazaldf -h > /home/mazal/diskusage.txt07:29
mazalshorted the >07:29
mazalSo it's07:29
mazal#!/bin/bash07:29
mazaldf -h > /home/mazal/diskusage.txt07:29
mazalgedit /home/mazal/diskusage.txt07:30
mazalyay !!! :-)07:30
Kilosdont you copy/paste mazal 07:30
Kiloshelps lots for spelling mistakes07:30
mazalKilos, if I knew I'm gonna type this bad this morning I would have :)07:30
Kiloslol07:30
mazalStarted last night actually07:31
mazalToo much what's app me thinks07:31
Kiloseish i looked at getting whatsapp for here but major job that07:35
Kilosall the android stuff to install07:36
magespawni still tend to try and type properly even with sms style communication07:36
magespawnif you are going to try and run android anyway, maybe it would work then Kilos07:36
Kilosyeah ill get it working on other pc sometime then share 3g and use it that way07:38
Kilosdont wanna mess my buntus07:38
magespawnmazal i am going to use the script on my laptop only has a 20gig harddrive07:38
magespawnnice idea Kilos07:38
magespawnhave one or two installs/pc for communication07:38
Kilosi will first look into what all android can do. that other pc i use for messing with stuff07:40
Kilosbut with whatsapp it already has an advantage07:40
magespawni think that is a very cool way to do it07:41
Kilosi read so much stuff my head is still spinning07:42
Kilosit seems it sees uefi drives not mbr drives07:42
Kilostill one has some android stuff there anyway07:42
Squirm[M]Morning 07:43
Kiloshi Squirm 07:43
magespawnhi Squirm[M]07:43
mazalMorning Squirm[M] 07:45
mazalAnybody know what ubuntu-geoip does and how important it is ?07:46
mazalLooks like it's something that resolved incoming ip's to country names07:49
magespawnno idea mazal07:56
mazalI found some info , it tells php from which country a visitor is so you can create multi language web sites.07:57
mazalNow I wonder why is it on my pc. Needs to be on a server07:57
magespawnlocalised for each visitor07:58
mazalEvery startup I get the "Ubuntu experienced a critical error" and that app is the cause07:58
magespawndo they do that by ip or by pulling info from the users pc and/or browser07:58
Squirm[M]it'll be IP07:58
mazalBy ip , didn't read much. But it seems there is a ip database you add and configure for it07:59
magespawnif that is all it is doing then it should be safe to remove07:59
Squirm[M]It's possible to determine which ip is assigned in which country07:59
magespawndoesn't always work too well though07:59
Squirm[M]If you google an address, you could even find it08:00
mazalGonna remove it08:00
mazalHope I don't break anything08:00
magespawnat one stage whenever i used my cell c the sites thought i was in west africa somewhere08:00
magespawnone way to find out08:00
mazalIt works with geoclue it seems08:02
mazalI wonder if any of my apps are using this08:02
mazal" GeoClue provides applications access to various geographical information08:03
mazalsources using a D-Bus API or a C library.08:03
mazalThis package provides a positioning backend for GeoClue.08:03
mazalIt uses the IP geolocation database (http://geoip.ubuntu.com/lookup)"08:03
Kiloshi AndChat-503424 08:20
Kilosmagespawn, inetbootin dont see a hdd in a usb bridge08:20
* Kilos cries08:21
Kiloshaha its you Squirm 08:22
Kilosit wants to see usb flash not a hdd on a bridge08:24
Squirmmeh08:30
Squirmwent out onto the field, so wifi was on and off08:30
Squirmcrashed my R/C plane :/08:31
Squirmapoxy should work though08:31
SquirmI'm annoyed08:31
Kilosouch, damaged?08:31
Kilosbad?08:32
Squirmdoesn't seem that bad08:32
Squirmlike I said, apoxy should work08:32
Squirm...I hope08:32
Kiloseish08:33
Kilosgo win that chopper and nexus 08:33
Kilosyou have the chopper ill have the nexus08:33
Squirmhttps://lh6.googleusercontent.com/-r0gtkzUiGJs/UWbAduPS5zI/AAAAAAAAAVc/cN_37sGlMCE/w872-h654-no/20130327_170810.jpg08:39
Kiloshmm...08:46
Kiloshate it when using usbs it kills my 3g08:46
* mazal fiddles08:56
Kiloshmm... installing from 2g flash onto a 4g flash08:56
Kilosfailed to create data.image08:58
Kilosgrrr08:58
mazalYou installing Ubuntu to a flash drive Kilos ?08:58
Kilosno android-x8608:58
Kilostrying anyway08:59
Kiloseish now it says warning--not an asus product08:59
Kilossigh08:59
mazalSounds challenging09:00
Kilosyeah09:00
Kilos3 days struggling09:01
mazalI'm in the mood for something new on that spare partition , but dunno what09:01
mazalUsed K , X and L before. Want to play with something else09:01
Kilostry android for pc09:01
Kiloshehe09:01
mazalNooooooooo09:01
mazalEk willie sukkel nie , ek wil speel :)09:02
Kiloslol09:02
Kilosill work it out then tell you how09:03
mazalDo they give it for free ?09:03
Kilosya its linux09:03
mazalThen why did so many phone manufacturers blame their high prices on " Cos it has Android "09:04
Kilosmaybe the further developement or just because peeps are money mad09:04
magespawnandroid as far as i know has always been foss09:04
magespawnthey do not need to develope it any further, they get a os that they customise to their hardware for nothing09:05
mazalGmf , just shows you 09:05
mazalIs it this site Kilos http://www.android-x86.org/ ?09:06
Kilossec ill look09:06
Kilosactually wait 09:06
Kilosi had a page with lotsa info and links09:08
mazalLOL I love yhis statement on that site " If you are lucky, the installation will begin, and you will see the progress bar. "09:08
mazalOops I see it can't install on a drive with another os09:09
Kilosya they say it can09:09
mazalOr yes you can , but then have to add them manually in grub09:09
mazalHmm , this will be nice toy for a seperate hard drive. Or stick like you are doing09:11
Kilosthis was one place i looked09:12
Kilosfor if it dont see hdd09:12
Kiloshttp://www.murga-linux.com/puppy/viewtopic.php?t=86514&sid=b293ac1a004cc7772ec019b11a055b1309:12
mazalIt looks like it only supports certain laptops and motherboards though09:13
mazalThe iso's even contain the manufacturer names09:13
Kilosit seems to love usb goodies09:13
Kilosthere is a smaller iso that dont have the asus in09:14
Kilos76m or something09:14
Kilosthe asus one is 186m09:14
Kiloslet me know if you find one without a manufacturers name in09:16
mazalI found one , but it's in the development section09:18
mazalandroid-x86-4.2-20130228.iso09:19
Kilossize?09:19
mazalFound that one09:19
mazalDunno if it means anything to you09:19
mazal196mb09:20
Kilosya no manufacturers name in09:20
Kilosill get it tonight if i can stay awake ty09:20
Kiloswhats the link09:20
mazalhttps://android-x86.googlecode.com/files/android-x86-4.2-20130228.iso09:20
Kilosty09:21
mazalI just saw it's the same link the guy in that post you refered has09:21
magespawnmaybe you need a generic 09:21
Kiloswhats that09:22
mazalI'm downloading it and gonna boot it live cd and see what happens09:22
Kilosok09:23
mazalYou get error complaining about manufacturer ne ?09:23
magespawnwell i would assume the ones with a manufacturers name in it has been customised for those machines09:23
Kiloswe need to find a plain one09:24
Kilosmight even work if you have a touch screeen09:25
mazalWe'll see what this dev one does09:32
mazalMy pc mos seems very tempremental09:33
Kiloshttp://code.google.com/p/android-x86/downloads/09:33
Kiloswhats that09:33
Kilosmaybe there is one not specific to any pc make09:33
mazalThat's where that one is lying that I gave you the link off09:33
mazalAnd description just say " live and installation "09:34
mazalDoesn't mention a manufacturer09:34
Kiloseish we gotta find one not for asus09:34
mazalHang on oom , that one is downloading here09:34
Kilosok09:35
mazalETA 17 min , then gonna burn and boot09:35
Kiloslets hope09:40
Kilosthe asus one is just a waste of dat09:43
Kilosgrrr09:43
mazal7min09:43
mazalburning09:51
Kiloshmm...09:51
mazalIt's 197mb sorry , not 19609:52
Kilosnp09:52
Kiloswhat you burn with?09:52
mazalBrasero09:52
Kilosi prefer k3b09:52
mazalI use k3b for data09:53
Kiloswas a reason for it a while back but i forgot what09:53
mazalBrasero mess up data disks , but is fine for iso's09:53
Kilosverify function maybe09:53
Kilosand it makes them smaller i think09:54
mazalSmaller ?09:54
Kilosya less data09:54
mazalOk , I'm booting ;)09:54
Kilosi wanted to burn an iso to cd and brasero said cd too small and k3b worked09:55
mazalWill report back09:55
Kilosok09:55
magespawni wonder if he will get back here on the android09:59
Kiloslol09:59
Kilosandchat is the built in irc client09:59
magespawnwould be cool to have one interface across all devices10:00
magespawngotta go out bbl10:01
Kilosyeah10:01
Kiloshi Xethron 10:03
mazalDoesn't work Kilos 10:05
mazalJust hangs10:06
Kilosaw same thing??10:06
Kilosoh my10:06
mazalComes up with the cd menu , I chose live mode. Decompressing kernel and then nothing further10:06
Kilostry that other installer10:06
mazalTried again and chose live mode vesa , same result10:06
Kilosthats when it doesnt see the hdd10:06
mazalYou want me to see if I put it on usb stick and boot usb ?10:07
Kilosthe minute i plug in a stick it sees it10:07
XethronHello Kilos 10:07
Kiloswe onna android mission10:11
mazalPutting the iso on usb now10:11
mazalThen gonna try booting with that10:11
Kilosenetbootin?10:12
Kilosunetbootin10:12
mazalunetbootin10:12
mazalya10:12
Kilosah10:12
mazalOk done10:12
mazalRebooting10:12
mazalNope10:21
mazalSame thing , just hangs10:21
mazalOn both live mode and live vesa mode10:21
mazalSo decided to try the install10:21
Kilosthats what i did but it says warning not an asus goodie10:22
mazalInstall went through successfully to another usb stick. But upon rebooting just get the error no operating system10:22
Kilosmaybe bad download10:22
mazalNo asus warnings though10:22
mazalOr any other manufacturer warnings10:22
Kilosyou need to tell bios to boot from usb10:22
Kiloswhen you got big downloads use wget10:23
mazalYa I know10:23
Kilosas in wget https://android-x86.googlecode.com/files/android-x86-4.2-20130228.iso10:23
Kilosif your net drops y6ou use wget -c to continue10:23
Kilosah10:23
mazalI think is a matter of thei installer not installing grub correctly10:24
Kilosi tried that link with browser and at 5meg it started over10:24
Kilosgrrr10:24
mazalGonna try once more with a different usb10:24
mazalJust to make sure it's not the stick10:24
Kiloshi nlsthzn 10:35
nlsthznhello uncle Kilos , how r u?10:36
Kilosok ty nlsthzn and you10:36
nlsthznok... looking forward to the game tonight...10:36
Kilosyeah10:36
Kilosgo sharks10:36
Kiloshehe10:37
nlsthznlol10:37
nlsthznlets hope not :p10:38
mazalDoesn't work Kilos 10:38
Kiloshaha10:38
mazalInstaller runs through fine , even sees all my inter drives10:38
Kilosmazal, i get that iso as 206 meg10:38
mazalBut upon rebooting , operating system missing10:38
mazalTheir stuff just don't work10:38
mazalOr don't want to be installed to usb10:38
mazalIn nautilus it's 206.6 yes10:39
Kilosyou dont have the full iso mazal 10:39
Kilosoh10:39
mazalRemember ubuntu shows the different varient of size10:40
Kiloseish well im gonna try it now10:40
mazalI dunno if one will have better luck installing to hdd10:40
Kilostry10:41
mazalBut then your current grub will be gone10:41
Kilosit might just update it who knows10:41
mazalDon't want it to mess with that10:41
Kilosnot on working drive no10:41
mazalNo they specifically say it installs grub only for android not for any other os on the drive10:42
Kilosit should ask if you wanna install grub and you tick skip10:42
mazalBut from what I see , their grub install fails completely10:42
mazalThe stick has the android data after install , but won't boot. Doesn't see there is an os10:43
mazalThere is something it MIGHT be though10:45
mazalBut don't have time to test now10:45
mazalIt might be that it uses dev names and when rebooting and removing the "iso usb" the one that remains have different dev name10:46
Kilosyeah /dev/sde1 here10:47
mazalWill test when I have time , visitors here now. Gonna install from cd so that dev name don't change10:52
Squirmmeh11:08
Squirmfixed it up11:08
Squirm1s flight time and a crash :/11:08
Kilosai!11:09
=== space is now known as Guest2880
=== Trix[a]r_za is now known as Trixar_za
Kilosmazal, http://www.android-x86.org/documents/installhowto11:37
=== jeandre is now known as theblazehen
Kiloshi theblazehen 11:46
theblazehenhi kilos11:46
=== Trixar_za is now known as Trix[a]r_za
mazalKilos , neewat dit werk nie12:40
Kilosi get as far as run12:40
mazalTheir grub install doesn't work12:40
Kilosbut it dont run12:40
mazalSame here , if I choose to run it immediately after install it just hangs12:41
mazalWhen booting doesn't see the os12:41
Kilosthan i get only a flashing - on a black screen12:41
Kilosgrrr12:41
mazalThey have a lot of work still to make it work12:42
Kilosyeah looks like12:42
Kilosbut some of them have it working on pcs12:42
Kilosthatgreameguy got it running in virtual box12:42
magespawnah well, we wouldn't want life to be too easy now, would we?12:45
Kiloslol12:45
mazalMaybe it only wants to run of sda1 , I dunno12:49
mazalBut the fact that the live cd doesn't even start is already not a good sign12:49
mazalmagespawn, I see crontab doesn't allow gedit to run12:51
mazalFor some reason12:51
Kilosi think it only sees guid not mbr drives12:51
mazalThat script was set for 13:30 with me , the file is created but gedit never opened12:52
mazalBut if works when running the script manually 12:52
magespawnwonder why?12:56
magespawnlet me google13:10
superflymazal: users and x servers13:11
superflymazal: press Ctrl+Alt+F2 and login there. then try running your command13:11
mazalmagespawn, I think I found why13:13
mazalThe terminal that invokes gedit are holding it , so when you close the terminal gedit also closes13:14
mazalTested it running manually and that's exactly what happens13:14
mazalSo my thinking , when cron runs it , no terminal is open so gedit immediately closes again13:14
mazalI added & disown at the end of the gedit line13:14
mazalNow when I run it manually and close the terminal it stays open13:15
mazalWill see if that helps for when cron runs it13:15
mazalsuperfly, it runs fine in a terminal in the unity desktop and creates the file , it just doesn't keep gedit open when cron runs it13:16
superflymazal: there's a huge difference between the terminal in Unity and running from cron13:17
mazalThat's what I'm trying to figure out superfly 13:17
superflymazal: which is why I told you to switch to a tty (Ctrl+Alt+F2) and then run it13:17
mazalI don't want to run it manually13:18
superflyand why are you running gedit from cron?!13:18
mazalThat way I will always have to run manually13:18
magespawnhow do you get back from tty?13:18
superflymazal: yes, but you'll never discover what the problem is unless you use the same environment as cron13:18
superflyin other words, Ctrl+Alt+F213:18
superflymagespawn: Ctrl+Alt+F713:18
mazalok13:18
magespawncool13:18
superflythe GUI is just another tty13:18
magespawnlike learning new things13:18
mazalThere it doesn't work at all as there is no display13:20
mazalWill just wait for 15:30 and see , think it might work now13:20
magespawnhow often have you set it to run mazal?13:21
mazalsuperfly, is just a small little 2 command script that gives my disk usage. And the very reason I want it to run automatically is so that I don't forget to run it. Then the second thing is it must get my attention , that's the reason for gedit having to pop up and open the file that was generated13:22
mazalI can't think of another way for it to get my attention13:22
mazalmagespawn, twice a day13:24
mazalAnd an extra test one for 15:30 just too see now13:25
magespawnwill it right to the same file everytime?13:27
magespawnwrite13:27
mazalYes , it overwrites it13:27
magespawni suppose it would be possible to have it do it when the disk usage gets up to a certain number too13:28
mazalIt will , but I don't have the scripting knowledge for that13:29
mazalStill don't work :(13:30
mazalYes it works !!!13:38
mazalYou have to tell cron on which screen to run it :)13:38
mazalmagespawn, you just need to add DISPLAY=:0 to your cron job line , for example :13:43
mazal42 15 * * * DISPLAY=:0 /home/mazal/Documents/Linux_Jobs/diskusage.sh13:43
magespawncool beans13:49
magespawnjust the DISPLAY=:0 or the whole line13:51
magespawn?13:51
mazal42 15 * * * /home/mazal/Documents/Linux_Jobs/diskusage.sh13:52
magespawnright13:52
mazalThat's the cron line the way it was and not working13:52
mazalSo cron don't know "where" to invoke the gui app13:52
mazal42 15 * * * DISPLAY=:0 /home/mazal/Documents/Linux_Jobs/diskusage.sh13:52
mazalThat's the one that works , after the time and days it must run you tell cron where it must open it13:53
mazalOnbiously you set the first five columns to your own needs13:55
mazalas well as the path to the script13:55
magespawnokay i know nothing about cron at all so i will need to do some reading first13:59
mazalOh ok14:00
mazalIs easy for straight forward tasks , but can also be setup for more complicated times14:00
mazalCan give you a quick explanation of mine if you want ?14:01
magespawnokay14:01
mazalYou edit your cron file in terminal with the command crontab -e14:02
mazalYou list your current entries with crontab -l14:02
mazalBasically you just add one line for every job that cron must run for you14:02
mazalThe basic format is very simple14:03
mazal# m h  dom mon dow   command14:03
mazal00 13 * * * /home/mazal/backupmain.sh14:03
mazal15 20 * * * /home/mazal/backupmain.sh14:03
mazal30 13 * * * DISPLAY=:0 /home/mazal/Documents/Linux_Jobs/diskusage.sh14:03
mazal30 20 * * * DISPLAY=:0 /home/mazal/Documents/Linux_Jobs/diskusage.sh14:03
mazalThat's how mine looks.14:03
mazalFirst column is the minute value , then hour value , then day of month , then month , then day of week , then the actual command14:03
magespawnokay i understand14:03
magespawnstars are place holders?14:04
mazalStars mean all14:04
mazalSo if you look at my first one for example14:04
magespawnso every day/month etc14:04
mazalat 13:00 , of every day of every month of every weekday that command runs14:04
mazalthree stars basically means every day14:04
mazalSecond one is 20:15 every day14:05
mazalOnly thing that can catch you out sometimes is the minute value that comes first14:05
mazalSo you use command crontab -e14:05
mazalMine I chose nano as default editor , you add your lines. Save and exit14:06
magespawnright 14:06
mazalThen you can list with crontab -l to make sure everything is ok14:06
mazalAnd that's it14:06
magespawnawesome14:06
mazalThose first 5 columns you can actually create very specific times and day combinations14:06
magespawnand you can use it to run any executable bash file?14:07
mazalYou can run any command14:07
mazalOr executable bash file14:07
mazalIf you want it to run just a command you can just put the command in there14:08
mazalFor example if I wanted to just create the diskusage file and not have any other commands I could replace14:08
mazal30 13 * * * DISPLAY=:0 /home/mazal/Documents/Linux_Jobs/diskusage.sh14:08
mazalwith this14:08
mazal30 13 * * * df -h > ~/diskusage.txt14:09
mazalBut because there is multiple command for that specific task I prefer a executable script file14:09
magespawnokay so this takes care of the automatic display of the file that the diskusage.sh creates?14:10
mazalThat DISPLAY=:0 does14:10
mazalSo cron knows on which display to start the gui app that is called in the sh file14:11
magespawnand the rest then runs the diskusage.sh?14:11
mazalYep14:11
magespawncool beans14:11
mazalThe display part is not neccesary for command or script that doesn't include gui apps14:11
Kilosmazal, go whatch this how to14:12
magespawni think this is something worth exploring14:12
Kiloshttp://www.webupd8.org/2012/03/how-to-dual-boot-android-x86-and-ubuntu.html14:12
mazalLike my two backups that run you will see I left it out14:12
Kilosit uses old grub14:12
magespawncan make a lot of things automatic14:12
mazalYou can play a lot with it , cron is very powerful scheduler14:12
mazalFor example let's say I want to run my backups every hour14:12
mazalI will replace this14:12
mazal00 13 * * * /home/mazal/backupmain.sh14:13
mazalWith this14:13
mazal00 * * * * /home/mazal/backupmain.sh14:13
mazalNow I added star to the hour value as well14:13
mazalSo every 00 minute value of every hour that command is gonna run14:13
mazalAnd in this case the command is a sh script being executed14:13
magespawnvery useful14:14
mazalor14:14
mazalLet's say it must run only on every 10th of the month14:14
mazalI would replace this14:14
mazal00 13 * * * /home/mazal/backupmain.sh14:14
mazalwith this14:14
mazal00 13 10 * * /home/mazal/backupmain.sh14:15
mazalNow it will run at 13:00 only on the 10th of every month14:15
mazalAnd so you can use the day of week and month options and create a very advanced cron with load of commands if you want14:15
magespawnvery useful14:17
mazalMostly though , although cron can run or launch any app theoretically it is mostly for command and scripts that do tasks in cli14:17
magespawni have to go and get my fish from a play date, bbl, ty for the lesson mazal14:17
mazalAs it is difficult to automate gui tasks14:18
mazalPlz , hope it helped ;)14:18
mazalKilos , interesting14:20
Kilosmaybe android must update to grub214:23
superflymazal: there are a plathora of ways to get your attention14:34
superflylike e-mails14:34
superflyor notifyd notifications14:34
superflydbus is awesome for that kind of stuff14:35
inetprogood afternoon14:35
inetprowith Kubuntu you even have widgets that can show you stuff like network, cpu and other utilisation 14:37
inetproand there's even something for your hard drives as well14:37
Kiloshi inetpro 14:38
inetproello Kilos14:38
mazalsuperfly, I tough of using email , but didn't want it to be dependent on Inet14:39
mazalThe others you mention I will be glad to learn about , that know those14:39
mazalLo inetpro 14:39
mazalAnd Xethron 14:40
inetprohi mazal14:41
inetprosuperfly: have you tried instant server yet? http://instantserver.io/14:44
* inetpro thought it could be useful for superfly or any other developer for testing14:45
superflyinetpro: 14:45
superflyno14:45
Kiloshi Cantide 15:09
Cantidehello :)15:09
Kilosi wonder if alien can convert android files to .deb15:23
Cantidei doubt that..16:11
Cantideandroid uses some evil things16:11
Kiloshehe ya they dont work16:12
Cantide:p16:15
=== Guest2880 is now known as Spaceghost
kbmonkeyhello all16:38
Cantidehi '-'/16:58
Kiloshi kbmonkey 16:58
kbmonkeyo\16:59
kbmonkeyo/16:59
kbmonkeywindows supports real multitasing. it can boot and crash at the same time.17:00
Cantidelol17:01
Kilosrofl17:01
Kiloshi roryy 17:09
roryyhey Kilos 17:10
roryyhow goes?17:10
Kiloshey kbmonkey when you are bored with nothing to do try get android-x86 working onna pc17:10
roryyi at last have a new laptop17:10
Kilosgood ty roryy and you?17:10
Kilosgreat17:10
kbmonkeyhey Kilos I am never bored with nothing to do ;) but why would I want to run android on a pc?17:17
kbmonkeyI already have Android running in an emulator 17:17
Kilosbecause you can17:17
Kilosoh17:17
kbmonkeyyeah, it comes with the google android development kit17:17
Kilosdoes the os install into the emulator?17:18
kbmonkeyso you can run your programs on android for testing he he17:18
kbmonkeywell yeah, but you don't install anything, it comes as a ROM. you just boot it up.17:18
Kilosand it looks like the android tablets?17:19
kbmonkeysimilar to phones, you flash a ROM onto the phone's chips, you don't have an installer like we know in linux17:19
kbmonkeyyup. it is one and the same used on phones. but slow as hell.17:19
Kilosah17:19
kbmonkeyso I plug my phone in usb and run my apps directly on my phone instead, because it is too slow in the emulator XD17:20
Kilosok17:20
Kilosso if i plug a tablet in here will it be able to use my 3g?17:21
Kilostried with wifi router but major job17:21
kbmonkeythe interesting thing is you can install other apps you may think is malicious, and kinda see what they do. then you can reset the emulator and everything goes back to normal17:21
kbmonkeyyou want the tablet to use your 8ta internet?17:22
Kilosya17:22
kbmonkeyno, you can't do that. you have to put the sim card in the tablet (if it has a sim card slot)17:22
kbmonkeyor, you have to create a wireless network on your pc that the tablet can connect to.17:23
Kilosno sim in this tablet thats why we tried the wifi route17:23
kbmonkeyyup, does your pc have a wifi card Kilos ?17:23
Kilosno i bought a router17:23
Kilosbut it dont see my arab modem17:24
kbmonkeyah, yes that would work too XD17:24
kbmonkeyyou don't see the modem where?17:24
Kilosso gotta make pc share 3g17:24
kbmonkeyfrom the tablet?17:24
Kilosgrrr17:24
Kilostablet dont see modem17:24
kbmonkeyyup, the tablet wont see the modem. you set up your pc to share its internet through your router, so anything connecting to the router will get internet17:25
kbmonkeyI have never done this myself, so I can have a look around for you if you like17:25
Kilosya17:25
Kilosnp17:25
kbmonkey:)17:25
Kilostablet can rest17:26
Kilosits sisters toy17:26
kbmonkeythumbs up17:26
kbmonkeyhey you are getting very techno-geek on us Kilos!17:26
Kilosna man it was to help sis17:26
Kilostablets connects fine to router17:27
kbmonkeyand the router connects to your pc with the cable hey17:27
Kilosyip17:27
Kiloswill be something with masquerading17:27
kbmonkeywell, I remember I tried that before but got stuck as my specific router could not share any cable-connected computers with any wireles-connected ones (if that makes sense)17:28
Kilosbut it caused a crash here when i followed some links instructions so now it can rest17:28
kbmonkeybut we can try :)17:28
kbmonkeysure17:29
kbmonkeythe best place to start would be - https://help.ubuntu.com/community/Internet/ConnectionSharing17:29
Kilosi can even drag drop stuff to the tablet17:29
kbmonkeythat has everything you should need17:29
kbmonkeyreally? over the wifi? that is very neat :)17:29
Kilosall we could find was using the router or fone as the 3g connection17:29
Kilosthis is backward17:29
kbmonkeyyar :(17:30
Kiloshehe17:30
kbmonkeyis it a adsl router too? i.e. it has a plug for a land line too?17:30
Kilosya adsl and 3g17:31
kbmonkeyhang on.. the router can take a sim card too?!17:31
Kilosand 4 eth sockets17:31
Kilosno it has a usb at the back for the modem17:31
kbmonkeyoh my, these gadgets are getting so fancy!17:32
Kilosyeah17:32
kbmonkeyokay in that case you might not have the problem I had XD17:32
kbmonkeybecause you do not need to set up internet sharing on your pc: why would you? it gets internet from the router17:32
Kilosno man17:34
Kilosthe billion router dont support my arab modem17:34
kbmonkeyno man it should. do you have a PIN on the simcard?17:34
kbmonkeydo you have to enter a PIN when you connect it?17:34
Kilosdoesnt support many 3g modems17:35
kbmonkeyoh :(17:35
Kilosno pin17:35
kbmonkeymodems should all support the RFC standard so that they are compliant 17:35
kbmonkeybut we know how these things go.. lol17:36
Kilosit doesnt even see when modem plugged in but sees when cell is plugged in17:36
Kilosyeah 17:36
SilverCodeYAY! I finally have a reason to have spent R7600 on a PC upgrade18:54
Kiloswhew18:54
SilverCodeKDE PIM compiles in about 5 minutes18:54
Kilosgreat18:54
SilverCodesmall victory I know, especially since I'm compiling KDE PIM on a Saturday night18:55
SilverCodebut at least I don't have that empty hollowness of wondering why I spend so much on an upgrade that I have no use for18:55
SilverCodewell, for the next hour at least18:55
SilverCodethem the buyers remorse will kick back in18:55
SilverCode*then18:56
Kiloseina price hey18:56
SilverCodeyeah, but to be fair, I have been putting it off for about 5 years18:56
Kilosbut look at it like its not a 1/4 of what andrew spent on his18:56
Kiloshis graphics card cost more18:57
Kilosso you did well18:57
SilverCodeheh, I still haven't bought the graphics card :)18:57
SilverCodeI'm buying the PC in phases, to make it less painful18:57
Kiloslol18:57
SilverCodefirst it was the pwoer supply and case18:57
Kiloswhat did you get?18:57
SilverCodethen 2 months later the CPU, Mobo and RAM18:58
SilverCodenext the graphics card18:58
Kilosyou building a quad core18:58
Kilosi718:58
SilverCodegot a Core i7 Haswell 4770k18:58
Kiloscool18:58
SilverCode16GB RAM18:58
Kiloslekker18:58
SilverCode2 SSD's (old ones though)18:58
Kilosno matter as long as they work18:59
SilverCodeI keep sitting here thinking though, "Why the hell am I doing this?"18:59
SilverCodeI don't really play games, so I can't use that excuse19:00
Kiloslol19:00
Kilosspeed is lekker man19:00
Kilosthats enough excuse19:00
SilverCodeit is, but when 3/4 of your cores are idling at 800MHz 90% of the time, you really have to wonder if you just bought it for bragging rights19:01
SilverCode...which I might have done...19:01
Kiloslol19:02
SilverCodeon the other hand, not what I can compile things quicker, I might be more inclined to fix bugs instead of just report them19:02
Kilosgood19:02
Kilosyou cant brag with 16g ram19:03
SilverCode(another lie I tell myself to help me sleep at night)19:03
Kilosandrew has 68g19:03
Kilossleep lekker man you did well19:03
SilverCodewow, I didn't even think you could get a mobo that supports 68GB19:03
Kilosnext time he is here ask him19:04
SilverCodewill do19:04
SilverCodebecause I would love to know what people do with 68GB ram19:04
SilverCodeI used to use a 60GB SSD19:04
SilverCodetook about 2 years to fill up19:04
SilverCode(all "DVD backups" were on a normal HDD)19:05
SilverCodeso no idea what you would need 64GB RAM for19:05
Kiloshehe19:06
SilverCodealthough if you could get a laptop that had a 64GB SSD and 64GB ram, and just transferred the currect state between the two on shutdown and power on19:06
SilverCodethat would be worth it19:07
Kiloshehe19:07
SilverCodecould probably achieve a 2s powerdown and powerup time19:08
SilverCodelike an awesome suspend19:08
Kiloshe does weird stuff but he crashed it coupla days ago from kenya or somewhere19:08
Kilosthats why he is offline19:09
Kilosnight all. sleep tight19:23
kbmonkeyhello22:13
Vince-0is this any time to make an appearance!22:30
Vince-0lolz, im off to bed22:31
kbmonkeylolz22:31
kbmonkeyI just had a nap :p22:32
Xethronhehe22:38
XethronI think I should do the nap thing too22:38
kbmonkeyyar it helps, Ima try get coding again now22:38
Xethronhaha23:13
Xethronkbmonkey: what you coding?23:13
XethronLanguage I mean23:13
kbmonkeyI am playing in python hey23:13
XethronNice language23:14
kbmonkeya nice change from all those semicolons!23:14
kbmonkeyalso learning processing, made tictactoe, lol23:15
kbmonkeyhttp://darknet.co.za/tictactoe/23:15
kbmonkeywhile I was waiting on a download23:15
Xethronhaha23:16
XethronI'm a PHP guy23:16
kbmonkeylots of people hate that. truth is majority of the web runs on php, and I use it for my blog engine too23:16
kbmonkeyits not all bad :)23:17
XethronWOOT!!!23:17
XethronI won a cookie :D23:17
kbmonkeyLOL23:17
XethronI won another one :D23:17
kbmonkeythe ai is only intermediate. it wont take advantage of winning moves.23:18
Xethron:/23:18
Xethron4 wins 0 losses :D23:19
kbmonkeynice!23:19
kbmonkeyI'm loving this cmatrix app lately - cli matrix like effect XD23:20
Xethronhehe, cool23:22
kbmonkeyhello space23:25
=== space is now known as Guest43797
XethronWhats Processing?23:27
Xethronjs library?23:27
kbmonkeysee processing.org, it's a framework that leverages java or javascript.23:27
kbmonkeyI can flip a switch and build that code for android too :D23:28
kbmonkeyit is HTML523:28
Xethronsweet23:28
XethronThere is just too much to learn!23:28
kbmonkeytotally. I am doing a class on coursera.org on processing at the moment23:29
XethronWish I could just install them all into my brain and know what to do when23:29
kbmonkeyit integrates with the google android adk23:30
kbmonkeyand I am starting a course in linear algebra. just too much to learn :/23:30
kbmonkeyI suck at math, big time23:31
Xethronhaha23:34
XethronI love Math :D23:34
XethronOk, but I'm off23:34
XethronNeed my beauty sleep23:34
XethronProgrammers need to always look their best23:34
kbmonkeygn :)23:41

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