« first day (1672 days earlier)      last day (3287 days later) » 

11:19 AM
@muru good catch on the ntfs ;-)
 
:)
 
find . -type f -iname "*.txt" -exec chmod -x {} \;
for the win :+)
 
Every time execute java command in terminal, it prints out "Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar" 3 times, which is very annoying. Why is that?
In my apt/history file I can see that jayatana:amd64 (2.7-0ubuntu3~utopic1) package is installed last. But I do not remember how or why it is installed.
Start-Date: 2015-04-16 22:25:06
13 Install: jayatana:amd64 (2.7-0ubuntu3~utopic1), libncurses5:i386 (5.9+20140712-2ubuntu1), libgpm2:i386 (1.20.4-6.1, automatic)
14 End-Date: 2015-04-16 22:25:17
 
Can this please test someone?
0
A: Warn that autostart failed

A.B.Something like this in your crontab: test=$(/bin/grep '^Exec' /home/<your_username>/.config/autostart/*.desktop | /usr/bin/awk -F "Exec=" '{print $2}' | /usr/bin/awk '{system("if [ ! -x \""$1"\" ] && [ ! $(which \""$1"\") ]; then echo \"not executable -\" "$1"; fi")}'); if [ "$test" != "" ]; the...

 
11:34 AM
@kos Yes, but that has nothing to do with expanding the variable. It's just how read works. You need the -r switch to tell it not to treat backslashes specially.
Without it, it will try to expand \t to TAB.
 
@A.B. I would use /etc/crontab myself
 
@A.B. Wow. That's a little convoluted.
 
Plus would it not be better to probe /var/log/cron or something. That files must have an alert about the script not being found
 
@terdon something
@Rinzwind and than a test for each user?
 
Your objective is to see whether the Exec target exists and is executable, right?
 
11:41 AM
executable and/or in $PATH
 
How are you dealing with options?
$ grep Exec= .config/autostart/*desktop
.config/autostart/nautilus-autostart.desktop:Exec=nautilus -n
Your script will try to look for nautilus -n which is not in the path.
nautilus is
 
no
 
no?
 
the script checks nautilus without parameters
 
No it doesn't
 
11:43 AM
the 2nd awk
 
Ah, yes, true
 
should I write -F " "
 
OK, next issue is that sometimes you have command and other times you have /path/to/command
The path will not be in PATH
 
but executable
if [ -x ...
 
No., hang on, I'm being silly, it will be in PATH
So, you're trying to test if 1) it is not executable and 2) is in PATH
 
11:46 AM
I test it with which and -x
 
kos
@terdon Thanks, so if I understood everything well read -r it's enough to read a path into a variable in order to later expand it between double quotes nested into single quotes exactly the way it was read right? e.g. path\ with\ backslashes\ and\ spaces read into $var with -r will be expanded by '"$var"' as 'path\ with\ backslashes\ and\ spaces'
 
If both fail, then there is a mail.
 
@kos Yes:
$ echo "path\ with\ backslashes\ and\ spaces" | while read var; do echo "$var"; done
path with backslashes and spaces
 $ echo "path\ with\ backslashes\ and\ spaces" | while read -r var; do echo "$var"; done
path\ with\ backslashes\ and\ spaces
@A.B. OK, you could simplify it to:
awk -F'[= ]' '/^Exec/{print $2}' /home/<your_username>/.config/autostart/*.desktop | while IFS= read -r target; do [ ! -x "$target" ] && [ ! $(type "$target") ] && echo "Not executable: $target" | mail -s "Missing commands" <your_username>;  done
 
oh, great, thx
 
No need for grep, awk can do pattern matching.
And you don't need the full path for things in /bin or /usr/bin
 
kos
11:50 AM
@terdon Many thanks, this saved me lots of head scratches. I don't know how much time I lost trying to expand $var within bash using the most esoteric combinations of single quotes and double quotes.
 
That's right, I remember
@terdon Not even for cron?
 
In apt/history.log file I can see installs without a commandline input? How are those packages are installed?
 
@A.B. No, cron's default path includes those.
   Several environment variables are set up automatically by  the  cron(8)
   daemon.  SHELL is set to /bin/sh, and LOGNAME and HOME are set from the
   /etc/passwd  line  of   the   crontab's   owner.   PATH   is   set   to
   "/usr/bin:/bin".   HOME,  SHELL, and PATH may be overridden by settings
   in the crontab; LOGNAME is the user that the job is running  from,  and
   may not be changed.
 
@terdon bash: bash: [: is: binary operator expected
 
@A.B. Hang on, let me check
 
11:53 AM
zsh: condition expected: is
 
@reversiblean That jaya-thing is a part of eclipse.
 
@terdon afk, I will be back soon
 
@ByteCommander So is that output expected? but its annoying though
 
@A.B. I had a silly mistake, this should work:
awk -F'[= ]' '/^Exec/{print $2}' /home/terdon/.config/autostart/*.desktop | while IFS= read -r target; do [ ! -x "$target" ] &&  ! type "$target" &> /dev/null  && echo "Not executable: $target"; done
[ ! $(which target) ] is not an actual test.
 
@ByteCommander I purge jaytana and now the message is gone
 
11:57 AM
@kos Yeah, been there :)
 
@reversiblean Jayatana is needed for eclipse's global application menu. If you don't need that, you can remove it, I think...
Or for global app menus of some other java programs...
 
@A.B. Jacob got your number >:)
 
@terdon works
 
@ByteCommander i don't use global menus btw. Not sure if its Eclipse, Android Studio or something else. I installed Android Studio from UbuntuMake recently. See the log: pastebin.com/eLkV538c
 
kos
@terdon :) You might understand the magnitude of the frustration that it raised, like every time I'm trying to debug the wrong thing.
 
12:08 PM
@A.B. note that the fact that a file is not in PATH does not mean there's a problem.
@kos Believe me, I know. I wasn't born knowing this crap, you know.
 
@reversiblean If you don't need it, it's fine. Just remember that you removed it in case you need it in future.
 
@ByteCommander Okay. Thanks.
 
@terdon thank you for your help
 
np
 
kos
@terdon I know that perfectly. I switched to Linux from a couple of months but I had a background of programming already, so this is new but not new.
 
12:12 PM
Basically, I don't think you need to check whether it's in the PATH. It should either be in the PATH and executable, or just executable.
@kos Wow, you seem to be doing pretty well for 2 months in! Took me more than 15 years to get all this :)
 
How do I troubleshoot a not detected microphone?
 
@ByteCommander Run dmesg just after connecting it first.
 
Okay.
@terdon No output.
 
Nothing relevant you mean?
 
No output.
 
kos
12:16 PM
@terdon Well thanks, you know, you know a programming language enough (C in my case) and then the others looks very similiar aside from syntax, I'm very advantaged by the fact that I know exactly what to search when I'm missing something
 
I did a "dmesg --clear" before.
 
Ah
@ByteCommander That's cool, I didn't know about --clear.
So, you ran dmesg --clear, then connected the mike and then dmesg again and got nothing?
 
:)
Yes!
I have to do an entry to my calender:
2015/04/28: Taught terdon how to use dmseg!
:D
 
@ByteCommander :)
 
Okay, so can we do anything then?
 
12:18 PM
So how is the mike connected? USB?
Or sound card?
 
No. I don't know the English name...
 
Try the German one, it might be similar.
 
The one you would also use for headphones, but for mono.
 
Ah, OK, no I don't think that would show up in dmesg then.
And it's called a Jack, I think.
 
Looked it up. Should be a phone jack.
"Klinkenstecker" in German.
Is there anything they don't call Jack in English? o.O
 
12:22 PM
A jack/minijack is only that specific type of port. You have the big jacks (like you have on amps or mixing tables) and the mini jacks that you have on normal earphones and computers.
Anyway, there might be a way to get udev to tell you if it's detected but my udev-fu is not up to it.
 
Okay...
 
0
Q: rstudio-upstream-deb installation problem in AIMS-Desktop context

user44397I'm using the PPA AIMS-Desktop to manage the scientific software in my Ubuntu 14.04 setup. Today apt-get upgrade surprised me with the notification that the package aims-science-standard could not be installed, because of a missing package rstudio-upstream-deb. Of course I tried to fix this wit...

 
@ByteCommander Of course, the first step should be to make sure the mike actually works. Do you have anything else to test it on?
 
It worked until a few days ago.
Wait, I let my brother check it on his machine... One minute.
Confirmed. It works.
@terdon My microphone works.
Telephone rings...
 
Then I would guess it is detected and you just need to make sure that 1) your machine is configured to use it, check your pulseaudio or alsa settings and 2) it is not muted
 
12:37 PM
@terdon It does not appear in the Unity Volume Indicator (however that is called) at all.
 
This is gonna get messy:
-1
Q: how to run servlets in XAMPP server

ashokI had installed xampp. now i want to have servlet functionality. I searched in net, everyone saying use the tomcat but i want to do it in xampp is it possible if yes how to do that procedure please? thanks in advance.

 
@ByteCommander OK, try alsamixer and paprefs
 
And how do I check the other settings?
I already ran alsamixer
but have no idea what I should set all those values to.
 
@ByteCommander Just see if there's a mike there and if it is muted
 
┌───────────────────────────── AlsaMixer v1.0.28 ──────────────────────────────┐
│   Gerät: HDA Intel                                 F1:  Hilfe                │
│    Chip: Realtek ALC882                            F2:  System-Informationen │
│ Ansicht: F3: Wiedergabe  F4:[Aufnahme] F5: Alle    F6:  Klangkarte auswählen │
│ Element: Front Mic Boost [dB-Änderung: 30,00; 30,00Esc: Beenden              │
│                                                                              │
│     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐                                 │
 
12:41 PM
I guess that looks OK...
What does pavucontrol show?
 
@terdon That shows the microphone jacks, but all unplugged.
It's a Realtek ALC882 card btw.
 
@ByteCommander It seems to only update after you close and reopen it. I tried on mine and plugging in my headphones into the mike jack showed the "Front Microphone" as "plugged in", but only after exiting and re-launching pavucontrol.
If yours doesn't see it, that might suggest that the jack itself has a problem. Do you have another OS installed?
 
@terdon No changes.
I have Win7.
 
Does it work on Win then?
 
So I'm rebooting into W7 and check if the micro works there.
 
12:47 PM
ok
 
back soon.
 
1:24 PM
@terdon back. No microphone working on W7 either...
Does that mean the board is defect?
 
@ByteCommander Well, if you have the same issue on two OSs, then yes, that's almost certainly a hardware issue.
 
We had on W7 the issue before, that the front speaker jack only was working and rear was dead.
On Ubuntu the same rear plug worked, but very quiet.
After installing the driver for W7, it works now.
Couldn't it be also a driver issue here?
(Or: kernel module)
 
Perhaps but it seems strange that you'd have the same problem on both systems.
 
True.
Maybe I try the rear ports when I move the machine next time...
@terdon Or would it be possible to use e.g. the front headphone port as microphone port?
 
No idea. It depends on your hardware.
 
1:35 PM
Should be possible with the Realtek ALC882...
 
1:51 PM
It has task-remapping on Windows, so it should be physically possible.
Problem is just to find a driver or script or module or whatever doing this for Ubuntu.
 
2:22 PM
0
A: bash script to replace all occurrences of placeholders in file

A.B.Only bash and sed: $ VAR1='example' $ VAR2='file' $ export VAR1 VAR2 $ sed -e '{s/{{\([^{]*\)}}/${\1}/g; s/^/echo "/; s/$/";/}' -e e filename This is an example file. It should work across multiple lines in this file. sed -e '{s/{{\([^{]*\)}}/${\1}/g;}' filename: This is an ${VAR1} ${VAR2}....

Too complicated?
only bash and sed
 
Any perl programmers in here?
For once, I've actually got a question! ;-)
 
user136984
2:38 PM
@ByteCommander: Sorry, meant to install a lot yesterday but never seemed to get round to it... Could you give me the link to that page on Tox again please or a link to the message with it? :)
 
user136984
Also, how did you manage to get your name changed back without waiting a month?
 
user136984
:D :P
 
@Toroidal Had to bribe Seth...
 
user136984
:D
 
user136984
How?
 
2:42 PM
Asking nicely?
20 hours ago, by ByteCommander
Then kill skype and use Tox!
^ Link to the transcript @Toroidal
 
user136984
@ByteCommander Ok, thanks! :)
 
Is this page down for anyone else?
'cause if is ... that's an issue.
In other news, I have found a bug with notify-osd!
I think.
Yup.
 
@RPiAwesomeness down
 
Shoot.
 
Is this good or bad: stackoverflow.com/a/29921682/3644902 :P
 
2:52 PM
try with -c ""
or -c ",,,"
 
Teeny text in notify-osd
 
user136984
Odd... I am unable to post a new question because the tags aren't working... No matter what I type in no tags come up for me to select. So as no tags are getting selected I am not able to post the question... :(
 
user136984
And I can't even complain about it because I can't post anything anywhere!
 
@Toroidal ha you got hacked >:)
 
@Fabby I read through your useradd script for Docker!
 
user136984
2:56 PM
@Rinzwind I think that it might actually just be Firefox... But maybe! :D :P
 
Are you around?
 
@ByteCommander nope
he posted the question and ran... typically Fabby
 
Did not talk to you... :-/
 
user136984
I'm not sure that blocking me from asking questions is a very evil thing for a hacker to do, and how they would do it I don't...
 
Oh, never mind. notify-osd was just taking a little while to change back. Not a bug.
 
2:57 PM
But you might be right - his skype status is yellow.
 
user136984
Oh good!
 
user136984
Tags are working again!
 
user136984
:)
 
See you, I'm off.
 
3:45 PM
morning!
I was curious to know if someone can tell me what if [ $? -eq 1 ] mean in regards to the $? -eq 1
 
user136984
@ByteCommander: By the way, do you think that it is a good idea for me to change my username here? Or is that going to just confuse everyone? :D :P
 
3:58 PM
@terdon Come on, give us a upvote askubuntu.com/a/615294/367165 ;)
 
user136984
4:12 PM
Are you a Nomad?
 
user136984
 
user136984
Have a break!
 
user136984
And rock out dude!
 
user136984
;D
 
user136984
:P
 
4:14 PM
@Toroidal .. for a ParanoidPanda, you sure like smiley faces
 
user136984
Right, I think that I'm actually going to rename myself that! ;D :P
 
user136984
If I change my username will people still know that "ParanoidPanda" is Toroidal (or was)?
 
Oh, probably
I'm trying to think what I was originally. I remember changing it ...
xD It's always funny going back and reading my early Q/As. I was 12/13 and was so much more humorous and prone to using multiple question/exclamation marks.
That's what it was, packpatfan.
lol
 
user136984
4:33 PM
@Fabby: Just to warn you, I might be changing my username to "ParanoidPanda"! ;D :P
 
user136984
Ok!
 
user136984
Done!
 
user136984
@ByteCommander: Also, is there any way that I can install Tox through APT?
 
user136984
Because some things come up for that and I'm having a problem with their website...
 
5:12 PM
Why my shortcuts no longer work if I switch from tty7 (GNOME) on tty1 and back again?
grmpf
I think I switch back to Firefox.
 
5:48 PM
@ByteCommander No I had to run...
@ParanoidPanda Well, you'll be stuck with it for at least a week now...
That's to prevent James Kayla-like behaviour!
 
user136984
@Fabby A month actually! ;D :P
 
@Rinzwind Will do that now!
Thanks!
@Rinzwind -c is "comment" I don't think that will allow the user to log on, but here goes nothing! ;-) :P
@Rinzwind: nah, didn't change anything: I can still not log on...
su - fu
Password:
su: Authentication failure
/etc/passwd now looks cool though! :D
 
user136984
6:10 PM
@Fabby Oh, that just reminded me to go and check, and it seems that his account has been removed! :)
 
user136984
Well, either that or the name has changed because there is nothing in the search under that name...
 
o/ @NathanOsman
 
user136984
Oh no!
 
/o\ covers head
 
user136984
Now I've got more weird traffic from people who don't like me travelling through Skype!
 
6:20 PM
Broken Age Act 2 is released Everyone!
 
user136984
@Toroidal You are not in existence any more! I (@ParanoidPanda) am your replacement! :D
 
user136984
>:)
 
oh, hi @ParanoidPanda
 
Well, then remove it. sudo dpkg -P skype.i386 skype
 
no more toroidal?
 
6:21 PM
I think it's :i386, not .i386.
 
user136984
@Mateo Yo Yo I Ain't Got No Yo Yo! ;D :P
 
@NathanOsman Oh
 
user136984
@Mateo Maybe he'll be back one day, but people were calling me this name so much I decided to change to that! ;D :P
 
cool, back to playing game ;P
 
@Mateo What game?
 
6:24 PM
@Fabby it might have added the extra , 's ;)
 
user136984
@RPiAwesomeness: This is ABP isn't it?
 
@ParanoidPanda Indeed.
Don't worry, you're safe installing it.
I've installed it many times.
 
user136984
@RPiAwesomeness Wow! I didn't know that it blocks malicious domains, tracking, and social buttons! :)
 
Yes. It's quite impressive.
 
user136984
Any other add-ons you would recommend? :)
 
6:27 PM
I had to install it originally because the ads were becoming so plentiful everywhere that my slow internet couldn't handle it - 'specially Youtube
@ParanoidPanda GNotifier.
 
user136984
@RPiAwesomeness Got that already!
 
user136984
;)
 
Nice
Otherwise, Stylish, Scriptish, LastPass, ChatZilla (if you ever want to use IRC), and AutoReviewComments.
 
user136984
@RPiAwesomeness: Do you know TrafficLight by BitDefender?
 
user136984
6:29 PM
@RPiAwesomeness: It is very good, you should have a look into it. I found it to be much more effective than any other add-on I've tried to block malicious sites. :)
 
user136984
@ByteCommander: Sorry, didn't mean to ping you! ;D :P
 
user136984
And isn't there one called noscript or something @RPiAwesomeness? A lot of them under similar names are coming up for that, would you happen to know which one that is? :)
 
@ParanoidPanda Yeah, NoScript is good for security - it disables all Javascript unless explicitly allowed or allowed for trusted sites.
 
user136984
@RPiAwesomeness: Is it this one? As I am a Paranoid Panda! ;D :P And there are so many add-ons with similar names!
 
Look at the reviews. If it has over a thousand reviews and over 2 million users, it's the real deal.
 
user136984
6:35 PM
Over 1 thousand reviews.
 
user136984
Over 2 million users.
 
@ParanoidPanda This was your question? :) askubuntu.com/q/615397/367165
 
user136984
@A.B. Yes
 
@ParanoidPanda I just had to answer. The existing response was simply too carelessly.
 
user136984
6:52 PM
@RPiAwesomeness What is AutoReviewComments?
 
270
Q: AutoReviewComments - Pro-forma comments for SE

Benjol No more re-typing the same comments over and over! This script adds a little 'auto' link next to all comments boxes. When you click the link, you see a popup with 6 configurable auto-comments (canned responses), which you can easily click to insert. This script was inspired by answers to thi...

Very useful.
 
user136984
Ok
 
user136984
I will have to have a look into that... :)
 
user136984
@RPiAwesomeness: But why use LastPass?
 
It's stores all your account info for you and can generate random ones when you're signing up for a new account and even will look at your passwords and give you a security report on how secure your passwords are.
 
6:57 PM
@RPiAwesomeness broken age
 
user136984
@RPiAwesomeness Ok, although at some point I remember hearing something bad about a feature in LastPass (I think it was a vulnerability of some kind), it sounds reasonably good. Although, I trust no one but me with my passwords! ;D
 
user136984
Though I'm sure they fixed the problem by now!
 
user136984
And I think that it was to do with Heartbleed detection, and not the actual manager.
 
user136984
Well...
 
user136984
7:00 PM
Now I have officially switched to DuckDuckGo as my search engine! ;)
 
0
Q: How to fix Fresh Ubuntu minimal server missing locale?

Margus PalaI just ordered plain Ubuntu 14.04.2 LTS min on vServer VX11 from Hetzner.de and after apt-get update I get this error Fetched 65.6 MB in 3s (20.1 MB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unse...

dupe of:
163
Q: How do I fix my locale issue?

HackToHellI am getting this message every time I do something like starting or stopping a service. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), LC_MESSAGES = "en_US.UTF-8", ...

flag accordingly, or close, and remove the answer in that first one because redirection would break otherwise.
 
user136984
Ooh!
 
user136984
And I didn't know that DuckDuckGo offers WOT protection!
 
user136984
This keeps on getting better and better!
 
user136984
:D
 
7:09 PM
@A.B. askubuntu.com/questions/615498/… 20 sec quicker >:)
there have an upvote @A.B.
 
you too =)
Ups, now I have a "Daily vote limit reached"
 
gratz I am on 140
oops 150
 
What is this: WARN: uid ist 0, aber '/usr' gehört 1000
WARN: uid is 0, but '/usr' belong 1000
LANG=C doesn't work
+272 Reputations today ;)
 
7:32 PM
lol, so I accidentally went to a non-existent page on Mars One's site, and this came up:
 
I'am tenacious :\
Mars One.. We Have a Problem! =)
 
@A.B. I have a stupid observation/question for you. Your answer here: askubuntu.com/a/615503/10616
Did you even check to see if there's a duplicate question? Because we have one master post / canonical question for that
it comes up often enough that it's easy to find that question
(answering questions which have duplicates means the questions can be closed as dupes, and for redirect fixing you could potentially have the answer deleted)
 
@ThomasW. You can't know about every duplicate without seeing them first.
 
user136984
Well, if this panda is going to be paranoid tomorrow, then it needs to get some rest now! ;D :P
 
kos
@ThomasW. @Seth On this topic, isn't after having marked the question as duplicate (if possible) better to still answer it? So that the answer, if good enough, can be merged to the existing question
 
7:54 PM
@ThomasW. I have not looked for a duplicate. I had that problem once before. Therefore, the quick shot.
 
@Seth True, however a quick search brings it up
@kos Except where the answer already exists in a similar form or in a better form on the other question
which i believe is the case here
 
Tenacious:
Zero score accepted answers: more than 5 and 20% of total
 
wheee, i have an exploitable VM now :/
/me tests metasploit
 
I have to go to bed. Bye.
 
Apple Watch is here.
Yawn.
 
8:05 PM
in the meantime:
 
heh
 
Looks like a Moto 360?
 
It is.
Congrats on the mod position @muru!
 
8:30 PM
gratz @muru :)
 
good now @muru can ban people i don't like from chat. (loljk)
 
8:58 PM
gratz @muru
 
9:15 PM
@Rinzwind Yes, that's the only thing it did! :P
 
@Fabby then it must be the password
190 rep :D 1 more
 
@Rinzwind That has just been taken care off! ;-)
 
yay
 
9:32 PM
@kos: awake and available in chat?
@kos: no further questions,, your honour! Accepted!
(I'm going to try that out right now!)
@RPiAwesomeness And this is the first picture the Mars rover took! ;-)
@kos: I should have known that I could accept your answer before testing it!
 
9:54 PM
I have now found the perfect programming language: Dogescript.
such N much N
          much i as 0 next i smaller N next i more 1
              very doge is ("N" + " ".repeat(N-2) + "N").split('')
              s[i] is "N";
              console dose loge with doge.join('')
                              wow
                                      wow
3
 
srsly? it could be a niche language like brainfuck
anyone running xfce here?
 
It's right up there with lolcode:
HAI

BTW, read n from stdin
GIMMEH n

BTW, convert n from YARN to NUMBR
n R PRODUKT OF n AN 1
 
that' a big no, but dogelang could be awesome to read.
 

« first day (1672 days earlier)      last day (3287 days later) »