UbuntuIRC / 2012 /12 /19 /#kubuntu.txt
niansa
Initial commit
4aa5fce
=== Vito_XIV is now known as Vito_away
=== Tonio__ is now known as Tonio_aw
=== dniMretsaM is now known as dniMretsaM_away
[00:49] <anonymouschen> Hello
=== anonymouschen is now known as AnonymousChen
[00:49] <AnonymousChen> Is anyone there?
[00:52] <anonymouschen> Hello
[01:02] <cornfeed> i just want to make sure, ubuntu does not have the infamous amazon search issue, correct?
[01:02] <ikonia> I don't think it does, but I'm sure a kubuntu user will confirm
[01:05] <OerHeks> Kubuntu does not use those unity lenses
[01:05] <OerHeks> or lensen
[01:05] <ikonia> perfect, thank you OerHeks
[01:07] <OerHeks> There are more search options (and tracking) in any linux-distro like lyrics database search in mediaplayers, i don't understand the fuzz.
=== Tonio_aw is now known as Tonio__
=== dniMretsaM_away is now known as dniMretsaM
[03:02] <eshack> hey I'm back after a looong absence! :) Where is the official Kubuntu documentation found?
[03:05] <eshack> wow is everyone sleeping on here?
=== Tonio__ is now known as Tonio_aw
[03:21] <SIR_Taco> eshack: ssssshhh
[03:22] <eshack> Oooops, I see I woke someone. :)
[03:22] <SIR_Taco> currently mucking around with a stuborn sump pump... fun times
[03:23] <eshack> ohh, I will leave you be then! I found what I needed just wanted to 'drop by' the old kubuntu room.
[03:24] <SIR_Taco> well cheers anyway :P
[03:25] <eshack> thanks, catch you all later, I'm off for the night (it is here anyway.)
[04:08] <edochait> Hi guys, is there a chat room forum out there for python techies?
[04:21] <robtygart> edochait: #python
[04:21] <robtygart> http://www.python.org/community/irc/
=== dniMretsaM is now known as dniMretsaM_away
[04:27] <robtygart> Sharing files over the network? What has the best file transfer speed?
=== toni_ is now known as Guest1961
[04:31] <persia> robtygart: one-to-one, netcat or tcpconnect+tcplisten, but if you're doing something more interesting, there are too many answers all depending on precisely what is being done.
[04:31] <robtygart> persia: I was thinking SSH, FTP.
[04:31] <robtygart> Thanks.
[04:32] <persia> Those are about the same, depending on configuration. Lots of folk compress ssh, which may be faster or slower depending on the hardware on both ends, the load on that hardware, and the nature of the network.
=== Guest11130 is now known as Aranel
=== harmony is now known as KJ_agent007
=== andy_ is now known as Guest2177
[07:48] <uglyoldbob> im using the logitech k400r wireless keyboard. How can i change which audio card the volume buttons adjust?
[07:51] <uglyoldbob> oh it seems selecting the master channel with kmix is the solution
=== pjoe_afk is now known as pjoe
=== jake is now known as Guest16336
=== root is now known as Guest11858
[08:51] <desserr> hi guys
[08:57] <lopster> Hello All, I'm using 12.04 and my battery is no longer working properly. Only when I'm using AC my laptop is working fine. When I unplug the cable my battery last ~1min and the laptop is shuting down. Can you please advise how can I setup my laptop so that whenever it's using battery - to go into hibernate mode right away? Thank you.
[09:06] <CruX|> hello
[09:06] <CruX|> wxwidgets on my kubuntu are linked with GTK
[09:06] <CruX|> and looks VERY UGLY
[09:06] <CruX|> how can I swi9tch them into qt backend ?
[09:26] <CosmicB> I've been using kontact for mail,calendar and all. I just started the kmail client by error. Now that I'm back in Kontact everytime I click 'mail' it pops up kmail, instead of showing kmail integrated in kontact . Wheres the 'knob' to reverse this behaviour ?
[09:30] <persia> CruX|: I don't believe we have a package for that, and in fact can't find wxQt in a release tarball anywhere.
=== Tonio_aw is now known as Tonio__
=== Tonio__ is now known as Tonio_aw
=== Tonio_aw is now known as Tonio__
=== Tonio__ is now known as Tonio_aw
[11:54] <BluesKaj> Hi all
[12:38] <20WABRWYS> anyone having problems with brightness button on laptop...
[12:45] <reeed> yep. mine Toshiba laptop Fn key and special buttons are unrecognised by Kubuntu
[13:01] <snow_wons> reeed: why?
=== cryptfu_ is now known as Guest98281
=== Quintasan_ is now known as Quintasan
[13:31] <mime_1111> hey ppl, my external hdd of 60 gb, once i plug it ony makes a noise, and it is impossible to enter the device, it is any way to just erase all its format, i dont care the way, or about my files, i just want to make it work, because now is like having nothing, thank you linux users
=== yofel_ is now known as yofel
=== pjoe is now known as pjoe_afk
[13:56] <hateball> mime_1111: if it's "making noise" then perhaps it's dying
[13:56] <hateball> or already dead, even
[13:57] <mime_1111> clicking, but that is not helpful, due its only the thing i know
[13:57] <hateball> Clicking is a typical sign of it going dead soon
[13:57] <mime_1111> i read that with click, one can repair, im asking if by a simple command that would be possible
[13:58] <mime_1111> its just many blocks that had ''loose'' their iman power
[13:58] <mime_1111> magnetic power
[13:58] <mime_1111> or just not well setted
[13:58] <mime_1111> ?¿?¡
[13:58] <mime_1111> i dont care loosing some blocks
[14:00] <Deldeeric> I'm trying to use sed to extract a range of lines in multiple html files and output to a txt, I can make it happen with a single file but when I try to do them all at once it fails.
[14:01] <Walex> mime_1111: clicks means usually mechanical failure.
[14:01] <mime_1111> yeah, i know
[14:01] <mime_1111> but n1 says that it isnt reparable?
[14:02] <mime_1111> u recommend opening the case?
[14:02] <Walex> mime_1111: you can try security erase, if it is eSATA.
[14:02] <Walex> mime_1111: but most likely not fixable.
[14:02] <mime_1111> it isnt an eSATA
[14:03] <mime_1111> ok, thnx for ur time ppl
[14:03] <Walex> Deldeeric: thanaks for letting us know...
[14:03] <mime_1111> its curious, because with the stupid xp it detect it
[14:03] <mime_1111> so it makes non sense
[14:03] <Deldeeric> I wanted to grab the exact code real quick
[14:03] <Deldeeric> not sure if someone can help
[14:03] <Deldeeric> sed -n '51,52p' *.* > Category.txt
[14:03] <Deldeeric> this is what i want to accomplish
[14:04] <Deldeeric> but it cant do multiple files.. only one
[14:04] <Walex> Deldeeric: if you put multiple names on the 'sed' command line they are treated as if they had been 'cat'ed IIRC
[14:04] <Walex> Deldeeric: do a 'for' loop' or use 'xargs'.
[14:07] <Deldeeric> thanks for the tip
[14:07] <Deldeeric> i'll do some research on those
[14:07] <Deldeeric> Thanks Walex, ill do some research on those options
[14:08] <Deldeeric> not sure if you saw my last message or not
[14:08] <mime_1111> well, ill try opening the case, and try moving disks manually, maybe sounds freak, but its a phyisical error, so...
[14:08] <mime_1111> i dont loose nothing
[14:08] <mime_1111> and later ill try sme software, cya ppl
[14:08] <Subfusc> Deldeeric: for file in *.*; do ${sed command} ${file} > ${file}.out; done
[14:09] <Subfusc> assuming there are no filenames with spaces in them
[14:11] <Deldeeric> theres like 55,000 files i'm handling with this, and I need it to grab each line 51 & 52, would it be possible to give me an example for the loop or xargs that would take care of the whole directory?
[14:11] <Deldeeric> sed -n '51,52p' product.aspx_sku=35005.html
[14:11] <Deldeeric> this is exactly what im using above
[14:13] <Subfusc> Deldeeric: for file in *.*; do sed -n '51,52p' ${file} > ${file}.out; done
[14:13] <Subfusc> Deldeeric: note, this will create product.*.html.out
[14:14] <Deldeeric> thanks Subfusc, I appreciate it.
[14:21] <Deldeeric> I want to ask one more question if I may..
[14:21] <Deldeeric> damn I hate sounding like an idiot but get ready folks
[14:22] <Deldeeric> pertaining to... sed -n '51,52p' ${file} > ${file}.out; done
[14:22] <Deldeeric> I'm grabbing multiple html files and analyzing each one of them, grabbing the 51, 52 lines and out to one single file
[14:23] <Deldeeric> how do I specify to do all in the directory?
[14:24] <Deldeeric> {file} - this for instance *.* in there won't work right? or *.html
[14:28] <technoid-> Deldeeric: doing all of file selection on the command line?
[14:28] <technoid-> if you have it working with one file scuh as "script file2"
[14:29] <Deldeeric> commandline
[14:29] <technoid-> and the script itself won't handle multiple files at once, look into xargs
[14:29] <technoid-> ls *.html | xargs -n1 script
[14:30] <technoid-> that will run the script on all files that end in .html in that dir
[14:30] <Deldeeric> alright I'm going to research xargs and get it going, thanks for all the help
[14:31] <technoid-> nnnp
[14:31] <technoid-> i am heading to coffee
[14:38] <Subfusc> Deldeeric: you run the command in the directory you want on the files that the pathname describes
[14:38] <Subfusc> Deldeeric: in other words *.html will give you all files that ends in .html in ${PWD}
[14:41] <Subfusc> PWD = Process Working Directory
=== Tonio_ is now known as Tonio_aw
=== thelionroars_ is now known as thelionroars
[14:42] * Subfusc loves how diffrent people do things in different ways and ends up confusing the new person
[14:43] <Deldeeric> ok.. I seem to still be having some issues, but with my lack of experience it's no suprise
[14:43] <Deldeeric> lol
[14:44] <Deldeeric> so for your example..
[14:44] <Subfusc> Deldeeric: just to make it clear, what technoid- is talking about is a completely separate technique than the one I showed you ;)
[14:44] <Deldeeric> i understand his example requires me to make a script file and run it with a pipe
[14:45] <Deldeeric> ls *.html | <then call the script>
[14:45] <Subfusc> correct
[14:45] <Deldeeric> but your option seems a little easier if it would work
[14:45] <Subfusc> its a for loop
[14:45] <Deldeeric> sed -n '51,52p' ${} > ${}.out;
[14:46] <Subfusc> I can generalize it as such:
[14:46] <Subfusc> for file in ${PATHNAME}; do ${SOMETHING}; done
[14:47] <Deldeeric> done is a part of it?
[14:47] <Subfusc> yes
[14:47] <Subfusc> its to tell the script that this is where the for loop ends
[14:47] <Subfusc> ;)
[14:47] <Deldeeric> ok.
[14:47] <Deldeeric> I thought you were like, BAM!, DONE!
[14:48] <Deldeeric> next
[14:48] <Subfusc> Hehe, sorry for the confusion :)
[14:48] <Subfusc> loops in bash are always ended by done ;)
[14:48] <Deldeeric> im assuming the do at the beginning is a part as well then
[14:48] <Deldeeric> do sed -n '51,52p' ${file} > ${file}.out; done
[14:48] <Subfusc> yepp
[14:49] <Deldeeric> jeeeesus alright
[14:49] <Deldeeric> I was totally botching the whole deal
[14:49] <Subfusc> the whole thing is the following line, without modification:
[14:49] <Subfusc> for file in *.*; do ${sed command} ${file} > ${file}.out; done
[14:49] <Deldeeric> OK OK!!
[14:49] <Deldeeric> let me give it a go
[14:49] <Deldeeric> thanks man
[14:51] <Subfusc> Deldeeric: tell me if you got it working, so I don't have to wonder :)
[14:52] <Deldeeric> i will give me a sec, I'm glad you're concerned though
[14:53] <Deldeeric> this is what i've done exactly, let me run it passed you. the error will follow
[14:53] <Deldeeric> for file in *.*; do ${sed -n '51,52p'} ${*.html} > ${category.txt}.out; done
[14:53] <Deldeeric> bash: ${sed -n '51,52p'}: bad substitution
[14:54] <Subfusc> Deldeeric: without the ${} around
[14:54] <Subfusc> :)
[14:54] <Deldeeric> ah, so remove that shit?
[14:54] <Subfusc> Deldeeric: yes, sorry for the confusion
[14:54] <tsimpson> Deldeeric: why *.*?
[14:54] <Subfusc> ${} is a variable in bash
[14:55] <Subfusc> so if you had given the sed command somewhere else it would have found it and substituted it
[14:55] <Subfusc> tsimpson: why not?
[14:55] <tsimpson> Subfusc: because some files do not have extensions
[14:56] <Subfusc> tsimpson: in his case they do
[14:56] <tsimpson> *.* means any "file that has an extension", not just "any file"
[14:56] <tsimpson> is that really the logic you're after?
[14:58] <Deldeeric> it seems to be working, not sure if its just taking a while since there are 55k+ files
[14:58] <Subfusc> tsimpson: the more specified, the better.
[14:58] <tsimpson> Subfusc: *.* is hardly specific though
[14:58] <Subfusc> Deldeeric: you can open another terminal and do ls *.out and you'll se if has done work on some files
[14:58] <tsimpson> the only reason I bring it up is that people often mean "*" when they write "*.*" (old DOS habits die hard)
[14:59] <Subfusc> tsimpson: yeah, Lisp does that too, but there *.* == * so
[15:00] <tsimpson> so being more specific buys you nothing ;)
[15:01] <Subfusc> it doesn't really matter now, but yes everyone should be aware that *.* != * in bash
[15:01] <Deldeeric> so, yeah.. shit didn't work
[15:02] <Subfusc> Deldeeric: what happened?
[15:02] <Deldeeric> it just sat there and did nothing, no error, nothing
[15:02] <Deldeeric> can't i do a -v somewhere to see progress?
[15:02] <Subfusc> Deldeeric: no, but if you want to see the result you just cat a file
[15:03] <Subfusc> e.g: cat product.aspx_sku=35005.html.out
=== Tonio_aw is now known as Tonio_
[15:05] <Subfusc> head -n 52 product.aspx_sku=35005.html.out|tail -n 2
[15:05] <Subfusc> will give you just line 52 and 51
[15:07] <Subfusc> Deldeeric: FYI no output = the command was a success
[15:08] <Deldeeric> ok.. let me let this run real quick brb
[15:23] <israelmox> Salve salve
[15:33] <Deldeeric> this became alot more difficult than I thought it would be.
=== Tonio_ is now known as Tonio_aw
=== 15SAAN3R4 is now known as kamui
=== spawn[dead] is now known as spawn57
=== thelionroars1337 is now known as thelionroars
[16:00] <thelionroars> how do I get a script to run at startup? Is it sufficient just to put it in /etc/init.d/ ?
[16:02] <TheLordOfTime> thelionroars, /etc/init.d/ expects upstart scripts or init scripts, if you need a script that's neither of those to run at startup put it at the end of rc.local i think its called
[16:02] <thelionroars> great, just doing that now
[16:06] <thelionroars> thanks, my DNS update appears to be persistent now
=== dniMretsaM_away is now known as dniMretsaM
=== Vito_away is now known as Vito
=== Tonio_aw is now known as Tonio_
=== spawn57 is now known as spawn[dead]
=== spawn[dead] is now known as spawn57
=== Tonio_ is now known as Tonio_aw
=== Tonio_aw is now known as Tonio_
=== vins is now known as Guest43821
=== 66MAADJL2 is now known as mitchell_787
=== spawn57 is now known as spawn[dead]
=== 77CABYRY9 is now known as _sebastian___
=== Tonio_ is now known as Tonio_aw
=== thelionroars_ is now known as thelionroars
=== nathan is now known as Guest90914
=== ronnoc_ is now known as ronnoc
[18:25] <hck> amo kubuntu!
[19:06] <lordchicken> hi
=== thelionroars is now known as thelionsleeps
=== ronnoc_ is now known as ronnoc
[19:39] <BluesKaj> !syslinux
=== thelionsleeps is now known as thelionroars
=== len is now known as Guest11914
[21:33] <bjrohan> KMPlayer won't play audio or video, I can get VLC toplay such. In Konversation I have my notfications linked to play an ogg file when my nick is mentioned, but it does not. How do I remedy this?
=== liot_ is now known as liot_absent
[21:48] <avihay> bjrohan: I suggest you run kmplayer from a terminal and see what error messages it spews out
[21:48] <bjrohan> ok
[21:48] <bjrohan> It isn't a KMplayer issue, unless that is also what konversation uses
[21:49] <bjrohan> Here is what I recived:
[21:49] <bjrohan> KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
[21:50] <bjrohan> and the player did not work :-)
[22:45] <m_tadeu> hi...where can I find the file libavcodec/avcodec.h?
[23:09] <bjrohan> bjrohan: hi
[23:10] <heoyea_> i
[23:11] <heoyea_> m_tadeu: libavcodec-dev
[23:11] <heoyea_> m_tadeu: next time use apt-file search libavcodec/avcodec.h
[23:12] <m_tadeu> heoyea_: ahh cool :)
[23:12] <heoyea_> happy compiling