« first day (1318 days earlier)      last day (3943 days later) » 

00:31
Reopen votes?
0
Q: I messed the file bash.bashrc ubuntu 14.04

hopewellTrying to install java jre, I messed up the file bash.bashrc on Ubuntu 14.04, by adding these two lines at the end : export PATH= $PATH:usr/java/bin/ ; export JAVA_HOME= $JAVA_HOME:usr/java/bin/java/ Now I cannot do any command on terminal. When I open terminal it give me these errors: bash:...

@AvinashRaj @Radu @Lucio ^^^
essentially don't fix anything
@Braiam Ouch, even worse, it's not the OP's fault. The space there was introduced by an edit
@Braiam Argh, so it was. Downvote returned.
The other answer is fine though.
And in any case, the question is not a dupe. Different issues and different files. Do you have any reopen votes left @Braiam?
@terdon there's always reopen votes
00:40
@Braiam I thought there might be a limit but I've just never reached it :)
@terdon there is one... just that is rarely hit
Wow, I just love it when one of them mods is just lurking in the background, well, modding. Thanks @Seth :)
@Lucio Yeah, I think a mod stepped in.
:)
00:44
@Seth did you downloaded flux? I'm deleting it
I downloaded it, yeah. Haven't hide time to actually try it yet though.
Adds to trello board.
Why do people use XAMPP**********pprafh?
@Lucio what the heck is XAMPPpprafh?
1
Q: localhost links have stopped working in Ubuntu 14.04

RPi AwesomenessI have an XAMPP installation on Ubuntu 14.04 and its been working great ever since I installed it under 13.10, up until today. I was going to check something in my MySQL database via phpMyAdmin through the XAMPP page, which I normally access via localhost. However, I went to do this today, and I...

Sam
Sam
Can somone tell me what is package name for my graphic driver according to this command result?? paste.ubuntu.com/7418989
00:52
haha, is that a joke?
@Sam No one can.
dinner! :D
Sam
Sam
@Seth why?
That's just Gtk warnings.
got a Gilles moment...
00:53
@Sam How about lspci | grep VGA
search in Google, read an answer, try to upvote, "You can't vote on your own post" :/
Sam
Sam
@Seth somone told me to run jockey-gtk to find out what my driver is. so how do I know it?
@Sam jockey-gtk is a graphical application..
@Sam Unless you're using 12.04, jockey is basically gone.
@Sam What version of Ubuntu are you running? How about the other command I suggested?
Sam
Sam
00:54
@Seth how do I remove and reinstall this?? is it safe to do so??
S
What is this?
Ok, so you have an Intel card. You shouldn't need a driver for that.
To be precise, the driver is already in the standard kernel
Sam
Sam
@chaskes I'm using 12.04
00:55
@Sam you can't reinstall a physical integrated graphic card... you just can't
@sam Then nevermind. ;)
Sam
Sam
@Seth I had to change my .Xauthority permission back to my user and since them my graphic is weird
@Seth thats why I like to make it default setting
Weird as in? What exactly happens? What are the new .Xauthority permissions?
Sam
Sam
@Seth I ran a gui application with sudo command and it changed my xauthority to root:root. so I had to change it
Yeah, that's why you don't run graphical applications with sudo ;)
What did you change it to?
Sam
Sam
00:58
@Seth can see the pixels in a HD video
You can delete .Xauthority from tty and reboot. Will be automatically recreated
@Sam ls -l .Xauthority please
Sam
Sam
@chaskes I will do that but don't think it improve my graphic problem.
@chaskes That's also a good idea.
Sam
Sam
@Seth .Xauthority is fixed now Seth.thanks
01:01
Uh.. what do you mean?
Sam
Sam
-rw------- 1 sam sam 49 May 7 17:40 .Xauthority
Well, that certainly looks fixed. Try what @chaskes suggested.
Sam
Sam
ok
@Sam I think we are going down to the rabbit hole, so just tell us: what're the symptoms?
reboot from tty: sudo shutdown -r 0
01:03
@chaskes how I'm supposed to submit fixes to package natives of Ubuntu?
Sam
Sam
after I fixed .Xauthority I can't play HD videos like I used to . have graphic problem
is a small fix to a debian/control file for an annoying bug
Sam
Sam
that was @Braiam
@Braiam Like which package?
@Sam what happened before you needed to fix the .Xauthority file? did you removed something or installed something?
01:05
@Braiam There's a fixing bugs section in the wiki.
Essentially you need to branch it from bzr, fix it locally, upload it to your own local branch and then submit a merge request through launchpad.
@Braiam I'm still new with this myself, but short answer is download branch, upload your fix, then file and link a bug report to the fix
Somehow I feel I am misunderstanding the question though..
I'm following this already wiki.ubuntu.com/Bugs/HowToFix
You need to register gpg keys with launchpad and sign the code of conduct if you haven't already
@Braiam yep, that's the one.
01:07
but that's for package non-native to Ubuntu
@chaskes is not the first time ;)
Should still work I think.
@Braiam I didn't think so! which is why I was confused by the question too.
what package is it?
3 mins ago, by Braiam
@Seth https://launchpad.net/overlay-scrollbar
Sam
Sam
one of other symptoms is that when ubuntu loads up a grey blank page appears before the main Desktop. it wasn't like this before. and I just removed and rebooted my .Xauthority file
well, this package doesn't use quilt so creating a patch is a no-go
01:09
doesn't quilt?
A quilt is a type of blanket, traditionally composed of three layers of fiber: a woven cloth top, a layer of batting or wadding, and a woven back, combined using the technique of quilting. A quilt is distinguishable from other types of blanket because it is pieced together with several pieces of cloth. “Quilting” refers to the technique of joining at least two fabric layers by stitches or ties. In most cases, two fabric layers surround a middle layer of batting (cotton, polyester, silk, wool or combinations of fibers) which is a lighter, insulating layer. Batting is often referred to...
O...kay.
What does that have to do with it?
Sorry for being dense.
Can't create a patch if there's no patch system :( packaging.ubuntu.com/html/fixing-a-bug.html#work-on-a-fix
YAY! Hit another bug!
@Braiam But what's wrong with uploading a new branch with the fixed code?
@Sam I don't see how any of that could be related to your .Xauthority file. THta has no settings, has nothing to do with drivers etc. It's just the authentication token for your current X (GUI) session.
01:18
@chaskes dunno, how ayatana manage their stuff?
@terdon You're correct, of course, but he was asking how to reset Xauthority, so...
@chaskes I'm not arguing, I would have suggested the exact same thing you did. I just don't think it's actually relevant to the problem that @Sam has.
@terdon. You are right. It's not relevant. :)
It probably isn't.. Relevant that is.
@Braiam I'm honored you would check with me since I have a list of debian packaging questions I was planning on running by you; but I think you're over-thinking it. Give them the proposed merge and let them worry about the rest. :)
01:23
meh, I'm running onto more bugs trying to fix some :(
ARG!!!!!!!!!!!!!!!11
pbuilder-dist trusty build ../overlay-scrollbar_0.2.16+r359+14.04.20131129-0ubuntu1.dsc
pbuilder-dist: Error: ubuntu-keyring not installed
IF YOU NEED THE FREAKING UBUNTU-KEYRING PACKAGE, JUST Y U DON'T DEPEND ON IT?
this is getting ridicolous... I'm not going to test that fix
Oh, is the Nexus 4 GSM only?
>_>
@Seth: as opposed to CDMA?
yeah, the carrier I'm stuck with only allows CDMA for BYOP
is pretty sure they support at least 3G, maybe even 4G
01:42
@Braiam No
:(
btw, this is interesting harvest.ubuntu.com
@Seth: get a moto G ;p
(no, there dosen't seem to be a cdma nexus 4)
@JourneymanGeek I'd like to, but Motorola only sells the GSM version, to get the CDMA version you have to buy it from one of the top 2 CDMA carriers in my country, both of whom would make it a royal pain to use on another carrier :(
(even if that other carrier uses their network)
CDMA sucks :/
@Seth move away :P
01:55
@JourneymanGeek I know :(
@Braiam That isn't an option right now :P
(with unlocked GSM phones you just swap a sim card. Maybe switch to an updated one every 2-3 phones)
@chaskes you might like this harvest.ubuntu.com
@JourneymanGeek I know.. GSM is awesome.
what country/phone company?
01:59
@Seth nuke this comments askubuntu.com/q/463129/169736
pls :D
done
@Braiam Thx. I came across that link the other day and was just spending a few minutes with it again. It's an interesting idea, but it seems like the auto-gatherer they're using needs some work :) I found a lot of things that have already been fixed or are very old and outdated.
@JourneymanGeek I'm hoping to use TracFone's new BYOP program (in the US)
ahh, then no idea.
Unfortunately they chose to use Verizon as their provider for that program. What a terrible terrible idea.
02:01
allquixotic would probably be familiar with verizon
I know plenty about verizon itself.. but that isn't the problem :-/
@Seth he means about how bad Verizon is
Verizon was in my country for couple of years (they brought the only national wide phone company)... the service didn't improve at all
02:15
I'm not surprised.
Verizon was the first carrier to have nation wide LTE in the US, but AT&T is catching up, and is better IMO.
jrg
jrg
02:25
@Seth i use tmobile. it works wonderfully.
02:44
@jrg I've heard good things about t-mobile, but isn't it monthly? I'd prefer to avoid that atm. I know, I'm asking for some hard stuff ;P
jrg
jrg
@Seth ah, yeah. it's monthly.
I'd prefer to do that, but I can't currently.
hey all, quick question. I have this command:

MASK=0; echo "$(ifconfig en0 | awk '/netmask/ {split($4 ,a,"x"); print a[2]}')" | while read -n 1 bit && [[ "$bit" != "0" ]]; do MASK=$(($MASK + 4)); echo $MASK; done; echo $MASK

in the loop this will echo out 4,8,12,16,20,24 as desired but the last echo command outside of the loop echo's 0. Why doesn't $MASK retain what it was set to inside the loop?
03:01
If I'm understanding your code: looks you have two MASK vars, one declared outside of the loop, and a 2nd one declared inside the loop. 2nd one goes out of scope when the loop ends, plus they're not the same var anyway. Try do $MASK=$(( inside loop
4
A: external variable in awk

sampson-chenYou pass an external variable for use in awk with the -v option: some_variable=3 awk -v x=$some_variable '$2 == x {print $1}' infile Also note that you need to change your code from $2=$x to $2 == x Use == instead =: the latter is assignment Do not prefix normal variables with $ inside the a...

@Braiam but awk isn't actually using the variable
the awk ends before the while loop gets called
@sadmicrowave because you ain't telling awk to use the variable...
@chaskes I just tried your suggestion and I get 0 back and this error: "-bash: 0=4: command not found" for every loop iteration now too
@Braiam but awk doesn't need the variable
@sadmicrowave Ok, thanks. Wasn't sure I was correct
03:03
it doesn't need to be used inside the awk command
or am I looking at that wrong?
@Braiam notice the awk stands alone:
echo "$(ifconfig en0 | awk '/netmask/ {split($4 ,a,"x"); print a[2]}')"
then passes the results via pipe to while read:

| while read -n 1 bit && [[ "$bit" != "0" ]]; .... blah blah blah
@xiaodongjie howdy
@jrg Still around?
I received a mail from embarqmail.com.
It's contents is "we have been trying to contact you ! ! !".
I get spam like that all the time
03:08
what is it? I don't know it address.
It's just spam.
Junk it.
beats me, the sender address always differs from email to email for me too
oh, why mail client don't keep it at junk.
because some spam detectors aren't as good as others
@sadmicrowave oh, It's right. from email to email for me.
oh, @sadmicrowave Now I understood.
03:10
I still wouldn't worry about it
It is as following:
From [email protected]
To info info ([email protected])
its junk, don't worry about it
oh, why they spam me? I don't understand.
do you understand what "spam" is?
Oh, It's just a lie.
I think so.
03:13
ok then, back to my issue with my awk | while read command
what issue?
read up ^
I am reading it.
bounty time!
20 mins ago, by sadmicrowave
hey all, quick question. I have this command:

MASK=0; echo "$(ifconfig en0 | awk '/netmask/ {split($4 ,a,"x"); print a[2]}')" | while read -n 1 bit && [[ "$bit" != "0" ]]; do MASK=$(($MASK + 4)); echo $MASK; done; echo $MASK

in the loop this will echo out 4,8,12,16,20,24 as desired but the last echo command outside of the loop echo's 0. Why doesn't $MASK retain what it was set to inside the loop?
03:15
yes, thats my question
It's right?
in my side, it's echo as follow:
4
0
whats your ip?
Great. so a guy who doesn't know the difference between download & install, and much less what is a kernel, wants to use a Virtual Machine!
Good Morning :-)
03:18
Evening...
Good night :)
Good afternoon.
cia later @Seth
@AvinashRaj o/
Later!
bye. c u.
03:19
bye @Lucio
@AvinashRaj Good afternoon.
I won't go :)
I just came
...redacted
We are on the WWW. That isn't the appropriate here :)
@Seth have a good dream! >:D
03:22
so, why would a bash variable altered within a while loop not carry over the final results to the outside of the loop?
Because you define it again? maybe...
I still think it's because it's not being altered, it's a 2nd copy, even if my previous suggested fix was wrong
@Lucio:

MASK=0; echo "$(ifconfig en0 | awk '/netmask/ {split($4 ,a,"x"); print a[2]}')" | while read -n 1 bit && [[ $bit != 0 ]]; do MASK=$(($MASK + 4)); echo $MASK; done; echo $MASK
^That should be starred/stared/lots-of-stars-on-it
@Lucio good find
03:26
I don't see stars :(
3
Now I don't want to see stars :'(
I was just debuggin it :(
But glad you found the solution :)
Ahem...
;)
:D
Did you see that guy who installed tons of linux by day? @chaskes
I envy him! :D
@chaskes yes yes +1
03:31
@Lucio Yep! My thoughts exactly! Except he's installing Mint 16, based on 13.10 which goes eol in july
Yeah, it disappoint me a bit to see Mint* on it. But... anyway
@sadmicrowave good find with the fix :)
@Lucio I like all linux, but...I've tried mint and I don't like it.
He could use Gnomesense instead
In fact, there are tons of alternative options..
and that is great
No, gnomesense and trisquel are too unlikely to work with most peoples non-free wifi
yea I found the reason why but I don't see a solution yet that will work with the command sequence I'm attempting to do
03:33
he should use xubuntu or lubuntu (or unity when they change the private opt-in soon)
@chaskes I couldn't get an old printer working on it
@Lucio printer on mint? I didn't like cinnamon (too xp like), plus I thought making ubuntu "easier" made it much worse
not, in gnomesense
I installed Lubuntu two days ago :)
oh, yeah, anything proprietary won't work in gnomesense or trisquel
Yep, I'm screwed with that.
Now that I think, GS was a bad choice.
03:36
debian has a good approach for the purists. make the non-free drivers available separately
but available
yep
all the majors are good: ubuntu, opensuse, fedora, debian, arch
this one have to be mine :D
you can put multiple classes in one file
but only one public and that has to match the file name
Oh right, that too
Add it there :)
03:46
good pouncing on the question...:)
what does pouncing mean?
jumping on fast
cats pounce
oh, nice example
well, it's the internet...must have a cat example
"the cat pounced on the landmine"
03:51
the former cat?
xD
well, I suppose a cat with one less life...
;p
^^ good one!
wuaff! wuaff!
I mean, Hi @JourneymanGeek! :)
03:52
:P
Have you already met my dog?
not sure I have ;p
Terry, @JourneymanGeek. @JourneymanGeek, Terry.
Haha, I love this title.
@JourneymanGeek what do you mean?
oh, its a breed of dog, yours looks almost classic labradorish
03:56
@Lucio lol. but to be extray linux-y, should be: yet another person...
true
@JourneymanGeek Oh, yes. It is a Labrador
Good guessed :)
@Lucio: My neighbourhood has a lot of dogs, and I really wanted a dog as a kid
(of course we never got a dog the 'normal' way. Ours sort of adopted us entirely by accident ;p)
I mean, what kinda monster would dump this little thing

« first day (1318 days earlier)      last day (3943 days later) »