=== ZachK_ is now known as zkriesse [01:06] *lurk* [01:12] * aveilleux rolls a 17. Spots nlsthzn! [01:12] bugger! [01:12] :p [01:13] guess it could have been a natural 20 seeing as you have all night (please note I have never played and games that needed 20 sided dices) [01:15] nlsthzn: It would be a "take 20" [01:15] nlsthzn: a "natural 20" is when you roll 20 on an immediate check; it means flying success [01:15] aveilleux: K... just remember my one friend always telling me about their games etc... I mostly just nodded :) [01:15] nlsthzn: A "take 20" means you take however long you need to do the job [01:16] but thanks anyhow, knowledge is power [02:09] I am suffering too much with my ISP [02:09] its creating problem from the beginning [02:42] how to check the default eth I am using? [02:48] shahan: type "ifconfig" [02:49] aveilleux, http://paste.ubuntu.com/547848/ [02:51] shahan: I'd say eth0, since eth1 doesn't show any transmissions [02:52] aveilleux, hmm [02:53] aveilleux, tnx [03:01] aveilleux, but the network manager says there is no connection but I can browse the net. [03:01] http://img375.imageshack.us/img375/1783/netmanager.png [03:01] shahan: It's probably not managing the connection. [03:03] shahan: http://ubuntuforums.org/showpost.php?p=6809436&postcount=8 [04:09] is there an easy (or relatively easy) way to split a LONG text file into multiple? [04:09] Meaning? [04:10] Just take some of it and paste into a new text file? [04:10] well, I have an exported text file that has 862 separate recipes in it. trying to import into a different software, that is WAY TOO MUCH text for it to handle. I need to break it up into separate files. I don't want to go through it by hand if at all possible [04:11] groups of 20-30 might be manageable, even 50 [04:11] yeah [04:12] Just copy and paste I guess [04:12] Seems like the most viable option [04:12] HI! nit-wit [04:12] :( [04:12] was hoping for some sort of batch editing thing [04:13] Not that I can think of off the top o' my head [04:13] zkriesse, hello [04:20] Cheri703: What's the format of the file? [04:20] geirha: .txt [04:20] Cheri703: How do you determine where a recipe begins and ends? [04:21] there is a +++ at the end and rpw------- at the beginning [04:22] Cheri703: A line containing only +++ signifies the end? [04:23] If so, this should output the 20 first; awk '/^+++$/ && ++i == 20 {exit} 1' file.txt [04:23] ok [04:23] do I put that into terminal? [04:23] Cheri703: Yes, awk is a command-line utility [04:25] ok,thanks :) [04:26] it outputs: awk: /^+++$/ && ++i == 20 {exit} 1 awk: ^ invalid char '�' in expression [04:26] Cheri703: Did you just copy and paste? Don't do that. [04:27] ok, I dunno, never used awk :/ [04:27] Argh, sorry, my bad [04:27] Hitting alt gr+space makes a non-breaking space instead of a regular space [04:27] Cheri703: You'll generally not want to copy and paste from chat, just in case things like this happen [04:27] well yeah [04:27] retype the space after } [04:28] ok [04:28] Cheri703: Not to mention accidentally copying newlines and such [04:28] I think it was when I upgraded to Lucid that alt gr+space suddenly started making nbsp; ... has given me loads of programming errors. [04:29] I know enough (I think) to recognize some of the potentially hazardous possibilities, and I only do it if I (at least vaguely) recognize the sn :) [04:29] geirha: Do you generally lean on the altgr key when you hit space? [04:29] sn = nick [04:29] whoa, that did stuff :) [04:29] can I make it output that into a file? [04:30] aveilleux: I need alt gr to type { [ ] }, so a space following one of those will often be coupled with alt gr [04:30] or just copy/paste from terminal? [04:30] If so, this should output the 20 first; awk '/^+++$/ && ++i == 20 {exit} 1' file.txt > testfile.txt [04:30] k [04:30] Oops, forgot to remove the first part ^^ [04:30] Cheri703: Just do an output redirect, like > filename.txt [04:30] kk [04:31] geirha: How strange. Non-English keyboard? [04:31] nope, that put them ALL in that file :( [04:32] aveilleux: Yeah, I should learn to use english layout ... at least for programming. Programming in norwegian keyboard layout requires alot of finger gymnastics. [04:32] Cheri703: Ok, are you absolutely certain there are lines containing only +++, no spaces or anything else? [04:33] yes [04:33] Hm. Maybe it has dos line endings. [04:34] head file.txt | cat -e # do you see any ^M ? [04:35] yes [04:35] Ahhh, that would do it [04:35] Ok, then it's a dos text file. The lines end in \r\n. In linux, they only end in \n. [04:35] Silly Windows and its not following standards [04:36] aveilleux: geirha is secretly linux guru ;) (nobody knows yet so sshhhhhhh) [04:36] it's a HORRIBLE program that exported them :( getting my mom set up in gourmet recipe manager [04:36] the old program looks like it's pre-windows 95 [04:36] but it's been updated relatively recently, and it is absolute trash. :( [04:36] so she's excited for ubuntu and grm [04:37] Well, it doesn't matter. You just need to decide if you want to convert it to unix, or deal with it as is. [04:38] converting is completely fine [04:40] printf 'g/\r$/s///\nw' | ed -s file.txt # that will edit the file in place, removing \r from the end of each line. [04:41] ok, cool [04:41] If you want to keep the original; sed $'s/\r$//' file.txt > newfile.txt [04:41] eh, I have it saved elsewhere [04:42] that previous command still gave me all of them :/ [04:44] grep -m1 +++ file.txt | od -An -tx1 # does that output 2b 2b 2b 0a ? [04:45] 2b 2b 2b 0d 0a [04:46] Oh 0d is \r. It still has dos line-endings. [04:48] Oh, darn. printf 'g/\r$/s///\nw\n' | ed -s file.txt [04:48] Was missing a \n. ed is picky. [04:49] Woo! [04:49] so now how do I repeat for 21-40? and so on? [04:49] thank you geirha! [04:49] this will help a TON [04:49] * aveilleux must learn how to use sed and awk [04:53] and Arabic [04:58] not trying to be annoying, because you guys have been SUPER helpful so far :) but is there a way to continue the process for further groups of 20 or so? [05:00] Cheri703, what process ? [05:00] paultag, ping =) [05:00] I have join/part turned off, so I don't know when you came in, but geirha was helping me separate a massive text file into groups of 20 or so [05:00] Cheri703: awk '/^+++$/ && i = 20 && ++i == 30 {exit} 1' file.txt > output.txt [05:01] Cheri703: exec 3>outfile01.txt; i=0 n=20; while read -r; do printf '%s\n' "$REPLY" >&3; if [[ $REPLY = +++ ]] && ((++i % n == 0)); then exec 3> "$(printf "outfile%02d.txt" "$((i/n+1))")"; fi; done < file.txt [05:01] geirha: that will do groups of 20? [05:01] Yes, putting the first 20 into outfile01.txt, next into outfile02.txt etc [05:01] ok, AWESOME!! [05:02] thank you! [05:17] bodhizazen: yo yo yo [05:19] hey stlsaint , how goes ? [05:19] I have squid set up [07:14] hello === Jason is now known as Guest89387 [07:17] any smart folks want to help a linux beginner (me) figure out why ubuntu netbook 10.10 is giving me so many problems on my wife's netbook? [07:17] !ask Guest89387 [07:17] Factoid 'ask Guest89387' not found [07:17] damn [07:17] !ask | Guest89387 [07:17] Guest89387: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) [07:18] Guest89387: What is your problem? [07:19] ok. My wife has a toshiba nb305. I've already wiped win7 off of it and attempted to install ubuntu-netbook 10.10 on it 3 times (2 from USB and 1 from CD) it appeared to hang up both times with the usb, and took forever with the CD. I finally got it to boot off the hard drive, but it takes over 15 mins just to boot and performs incredibly slow. [07:22] well i have a older toshiba and had alot of trouble with it. I went to use ubuntu 10.10 netbook several cds later I used a stripped down version of lubuntu 10.10 [07:22] I had ubuntu on a desktop several years ago (installed by a friend who was very linux savvy) and it far outperformed windows on that platform. I expected the same difference on the netbook. Are my expectations too high, or did I do something wrong? [07:22] did u test the cd before installing? [07:23] or use the text based install? [07:23] yes. I checked the MD5 on the .iso file, and used the verify function on the burning software. Not sure how to verify beyond that tho [07:24] well check the disk when it boots up? [07:24] hmmm [07:25] sometimes the builds are bad, and its just the fact of installing another one, ive downloaded several bad builds [07:25] nope [07:25] you're feeding fud now [07:25] problem is that toshiba [07:26] well in my experience that is what happened. No i am not spreading fud that is a simple fact. bioterror what do u recommend? [07:27] I recommend trying out Natty Alpha 1 or something like that [07:27] which has a newer kernel [07:27] Toshiba laptops have a lot of problems with Ubuntu [07:27] and then I suggest to throw that piece of garbage out of window or using windows :-) [07:28] damn. The main reason I wanted to switch is cause they loaded the thing with win7 for some reason. I dont understand why they wanna put such a resource hog OS on a machine designed to be light on power. [07:28] ran slow with win7, was hoping for better results on Ubuntu. Bio, what's Natty Alpha 1? [07:28] true, I installed backtrack4 r2 to mine and it worked like a charm if u like kde, windows? why would u ever want to use it unless you had to, or gaming. what are the specs? [07:29] Guest89387, next version of ubuntu [07:29] Guest31799: Have you tried the desktop version of Ubuntu, or anything lighter? Netbook remix is surprisingly heavy, [07:29] . [07:29] I use windows on my laptop because I play games when I'm in the desert, but she just browses and such, so linux is fine for her. Hence the change. [07:29] aveilleux, no. Assumed netbook would be lighter. [07:29] Guest89387, http://cdimage.ubuntu.com/releases/natty/alpha-1/ [07:30] Whoops. Wrong guest number [07:30] worth of try [07:30] bioterror did you try it? [07:30] Guest89387: You'd think that, but no. [07:30] mysteriousdarren, I checked forums [07:30] ubuntuforums? [07:30] mysteriousdarren, but I'm running 32bit natty on my laptop and I've got no probs [07:30] bioterror, I would not recommend natty yet [07:30] because I can run it, does not mean everyone can [07:31] no probs with i686 :D [07:31] I am sorry but I have to agree. I was not stable enough for my toshiba [07:31] Guest89387, instead of ubuntu netbook edition, why not try alternatives [07:32] !alternatives [07:32] To change the default applications system-wide, use 'sudo update-alternatives --all' in a terminal. [07:32] huh [07:32] thanks everybody. I'll give 10.10 desktop a try, if I still get no love, I'll try natty. [07:35] oh [07:35] he might want to change some sata settings in BIOS ;) [07:35] yup, bio can we talk in chat? [07:36] private? [07:36] we can talk on -team [07:38] -team? [07:39] mysteriousdarren: #ubuntu-beginners-team [09:52] yes can i have some help [09:52] with changing portiaons on gparted [09:53] what's the issue? [09:54] i just finised a duel boot i have used gparted to get rid of windows [09:55] i need help how do i move my free space [09:55] booted with the livecd? or a partition editor as a livecd? [09:56] no i had a duel boot with wubi i got rid of windows after installing gparted on ubuntu [09:58] hello [09:59] you had wubi and deleted windows? [09:59] or you had wubi delted windows and reinstalled ubuntu? [10:01] nope [10:02] he booted wubi and wants to remove indows to get moar space [10:02] why not just install from a cd or usb stick [10:02] that sounds so complicated [10:02] then wubi has to be moved to a real install and then delete windows ... [10:02] mmmm [10:02] :D [10:03] gone anyway ... [10:08] help i screw up my dual boot after the ubuntu 10.10 update === duanedes1gn is now known as duanedesign === yofel_ is now known as yofel [13:16] <_H> hi [13:16] <_H> anyone know if you can use blackberry messanger or talk to people on blackberry messanger without owning a blackberry? [13:30] well _H, can the blackberry messenger be installed on some any other phone os? (: [13:30] <_H> puck pidgin? [13:30] _H: I never owned a blackberry phone so i have no clue if it uses it's own protocol or not .. [13:31] haha [13:31] own stuff [13:31] BlackBerry® Messenger is an instant messaging app just for BlackBerry® smartphone owners. With a chat style layout, and unlimited characters, BBM™ makes it easy to share with the people who matter. [13:31] I dont matter [13:31] :D [13:31] my phone has MSN Messenger and Skype [13:31] and IRC! [13:32] well yeah, and gtalk [13:32] :P [13:46] hello Puck` bioterror [13:47] hope you both had/having a wonderful holiday [13:51] duanedesign: *bows* [13:51] yeah i did, i'm finally home with my family in romania (: [13:54] I'm at work atm :D [13:54] 6mins and I'm off [13:54] but I think I should go and buy a trackball mouse [13:54] I've bee wanting one for long [14:09] bioterror: ahh. Yes. trackball mice are nice. IMHO :) [14:10] logitech mx570 is interesting :D [14:12] iti had a kensington, kinda like http://tinyurl.com/26uc45s [14:13] and a logitech kinda like, http://tinyurl.com/25chh3j [14:14] two really different designs. I seem to remember not really having a preference [14:14] that logitech looks better [14:15] logitech m570 is interesting, but I would prefer USB cable over some bluetoothstuff === me1_ is now known as me1 === IAmNotThatGuy is now known as M0hi [15:47] Need help from internet connection expert for 10MB/s. full duplex mode connection for getting connected on maverick [15:48] what happens if you set it to auto? [15:48] jdeslaur: it connects and disconec === IAmNotThatGuy is now known as M0hi === M0hi is now known as IAmNotThatGuy [19:16] holstein: ping [19:17] not to make you responsible for my messed up sound ;)... but re. your suggestion that there is a conflict about "being default card" [19:18] cat /proc/asound/pcm says "1" for both cards - do you think it should be interpreted as being said conflict? [19:21] kristian-aalborg: plausible [19:22] id probably try and get an alsa guy to confirm that [19:22] i not the best at interpreting that info [23:03] hi ppl [23:04] I borked my grub [23:07] kristian_: hello :) is it giving you any error messages? [23:09] hi swoody [23:13] kristian_: Do you have an Ubuntu liveCD you can use? The simplest fix I've found for most grub issues is to reinstall grub [23:13] it's outlined nicely here: https://help.ubuntu.com/community/Grub2#Reinstalling%20GRUB%202 [23:16] kristian_, how did you bork it per say [23:18] hi nit-wit [23:18] sorry, was reading up on it and getting advice [23:19] kristian_, hi have you fixed the grub [23:20] not really ;) [23:20] swoody, I'll have a look at that link [23:20] kristian_, I use the booyscript to get to the bootom of this sort of stuff have you done this before [23:21] *bootscript === casandera is now known as hajour1 [23:22] kristian_, here is a link to the script and instructions it may help you personally but you can rub it and pastebin for us to looks at.http://bootinfoscript.sourceforge.net/ [23:22] *rub=run [23:23] nit-wit, I have been fighting grub before, but never spent more time with it than I was forced to ;) [23:24] I may or may not have partially fixed something... bbl === kristian_ is now known as kristian2 [23:33] hi, I somewhat fixed it :) [23:35] kristian2, okay what was the problem [23:35] I dunno... I just kept trying things [23:36] grub is one of the things I doubt I'll ever fully comprehend [23:36] kristian2, that will do it you, you, rebel.:) [23:37] kristian2, only a few do but there are some basics that are pretty easy. [23:40] yes, I learn a bit about it each time [23:41] so I'm not totally clueless like a few years back... but I don't speak grubbish fluently either ;) [23:42] LOL grub 2 is not *too* bad, but it is more complex then it needs to be, and IMO need a graphical front end [23:42] Basically you tell your machine [23:42] 1. What partition to use as root [23:42] 2. what kernel to boot [23:43] 3. what initrd to use, if any [23:43] bodhizazen: Startup Manager can do some of that [23:43] You repeat the root partition again in the kernel line, lol [23:43] Oh, cool [23:43] have not tried it recently [23:44] Merry Christmass [23:44] glad to see they've updated it, when I was using it when grub2 first came out on Ubuntu there was very little support for startupmanager [23:45] Hi, using ubuntu 1010 - I have update keyring problem: [23:45] Ubuntu bug 1010 in drivel (Ubuntu) "out-of-date (heat: 1)" [Medium,Fix released] https://launchpad.net/bugs/1010 [23:45] GPG error: http://extras.ubuntu.com maverick Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key [23:45] W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/Release [23:45] !pastebin | flourishing7 [23:45] flourishing7: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [23:45] kristian2, this page goes through grub2 =) [23:45] https://help.ubuntu.com/community/Grub2 [23:46] Thank you, Do you know how I can fix the keyring problem [23:46] flourishing7: Here's your solution, though. Open Terminal and type in: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 3E5C1192 [23:48] bodhizazen, I love grub2 lfe just makes sense now.:) [23:48] *life [23:49] LOL [23:49] bodhizazen, a little os-prober it's painless really [23:50] if every thing is there though [23:50] nit-wit, grub2 is painful when os-prober faile =) [23:51] bodhizazen, argh thats when we be bringun out the bootscript [23:53] aveilleux - the result for the keyring command is at: http://paste.ubuntu.com/548094/ [23:54] flourishing7: Weird. Run an apt-get update. [23:54] sudo apt-get update [23:57] aveilleux: the result for sudo apt-get update is at: http://paste.ubuntu.com/548095/ [23:58] flourishing7: http://www.uluga.ubuntuforums.org/showpost.php?p=10278181&postcount=9