« first day (1455 days earlier)      last day (3500 days later) » 

12:02 AM
8
Q: Where does evince store its settings?

AmphetamanI'm using evince to view my documents under Linux. One thing bothers me, however. It seems to magically remember the position and settings of the window for every document. I searched all over (the hidden directories in my home folder, system files, gconf) for where it might be saving those setti...

This is really crazy.
 
 
3 hours later…
3:19 AM
@FaheemMitha did you check dconf-editor?
man, chat.se search is useless.
case-sensitive.
 
@strugee To what purpose?
 
 
4 hours later…
7:21 AM
0
A: Where does evince store its settings?

GillesEvince 3.4.0 (and many other versions), like many Gnome applications, stores its settings among the Gnome configuration. $ dconf list /org/gnome/evince/default/ continuous dual-page dual-page-odd-left fullscreen inverted-colors show-sidebar show-toolbar sidebar-page sidebar-size sizing-mode wind...

feel free to edit in which versions use dconf (probably since a long time ago and still valid for the latest version, 3.4 is the one I have here to confirm with)
@strugee ah, I just noticed you'd posted that. So yes, non-antique versions do that.
 
7:43 AM
@Gilles I don't see how this is relevant.
 
Morining!
What's the name of this operation: foo > bar?
 
@IonicăBizău dunno. redirect?
 
I often do: echo "Hello World" > file
@FaheemMitha How is this operation called?
 
@IonicăBizău like i just said, possibly redirect. but I'm not sure.
 
Ok, but having a little app, how can I listen for such data?
e.g. echo "Hello World" > node a-node-js-script.js
 
7:52 AM
@FaheemMitha I thought “this is really crazy” refered to the lack of up-to-date answers to that question, so I went to answer it. What were you saying is crazy, then?
@IonicăBizău output redirection
@FaheemMitha OH. I just realized that I answered the question in the title, not the question in the body.
 
@Gilles Do you know how to listen for output redirection in a process?
 
@IonicăBizău I don't understand. Do you mean you want to pass the output of a process to another process?
If so, what you want is not output redirection, but a pipe
 
Exaclty
 
In Unix-like computer operating systems (and, to some extent, Microsoft Windows), a pipeline is the original software pipeline: a set of processes chained by their standard streams, so that the output of each process (stdout) feeds directly as input (stdin) to the next one. Each connection is implemented by an anonymous pipe. Filter programs are often used in this configuration. The concept was invented by Douglas McIlroy for Unix shells and it was named by analogy to a physical pipeline. Abstract (illustrated) and concrete examples with the shell syntax: % program1 | program2 | program3 %...
 
node script | curl example.com
Something like this?
 
7:58 AM
echo "Hello world" | tr o a
@IonicăBizău probably not, because curl doesn't take any input
 
It's the reverse, then. :-)
curl something | node script
 
producer | consumer
@IonicăBizău that one could make sense
 
@Gilles The first one was correct.
console.log(process.argv[2]);
node script.js | curl -q example.com
 
8:14 AM
@Gilles No, the policy itself. Of saving local changes to the file to disk. So, if you rotate the file counterclockwise by 90 degrees, it is saved to the disk like that. You you can't be sure what you are seeing.
@Gilles:
9 hours ago, by Faheem Mitha
apparently evince saves the position of every file on the disk to a config file. which lunatic thought this was a good idea? checking to see if there is some way to switch this behavior off.
I haven't found anything yet. Amazing, evince doesn't even to have settings. At least, I have not been able to find any.
 
Can any mods in here take a quick look at my question please. http://unix.stackexchange.com/questions/158949/ It was marked as duplicate but I've updated it with details of why it is not and I'd appreciate it re-opening.

Thanks
 
slm
@GregB - reopened
 
@slm thanks
 
8:56 AM
@Gilles thought so. thanks.
@IonicăBizău what @Gilles said. more generally, this kind of operation is called I/O redirection. that term also includes e.g. grep foo <somefile.txt
 
 
2 hours later…
10:27 AM
hello
all
 
10:45 AM
can some help me with that: pastebin.com/WFQVT35s ??
 
slm
@KrisGroove - Q;s going on the main site, not in the chatroom.
 
11:35 AM
@KrisGroove You might also want to check out Database Administrators.
 
 
4 hours later…
3:27 PM
anyone using ubuntu 14.04?
 
@Ramesh I have a couple of VMs with it.
 
@terdon, I just got rid of windows and installed ubuntu 14.04.
But the wifi goes off every 10 minutes. Do you experience such problems?
 
No wifi on the VMs. Sounds like a classic driver issue though.
I've had similar problems in the past.
Get the relevant lspci output and google for the id + wireless disconnect. You should find a solution.
 
3:42 PM
I just changed the channel to 11 in the router.
Probably not a good idea to change at the router level.
 
@Ramesh That's the only place where you can change it though, isn't it?
 
yeah.
 
I remember that when I had this kind of issue, it was solved by updating/changing the wifi driver.
 
By default, the router is configured to be automatic.
I will try updating the drivers as well.
Intel Corporation Centrino Wireless-N 1030 is this the driver name am looking for?
 
Do you have inxi installed?
And no, that looks like the name of the card.
 
3:44 PM
nopes.
 
First, run lspci -nn | grep 0280
 
This is the output I get.
09:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] [8086:008a] (rev 34)
 
And I think inxi is in the repos, install it, it's incredibly useful for diagnostics/system info.
terdon@oregano ~ $ inxi -N
Network:   Card-1: Broadcom BCM43224 802.11a/b/g/n driver: bcma-pci-bridge
           Card-2: Intel 82577LM Gigabit Network Connection driver: e1000e
 
ramesh@ramesh-pc:~$ inxi -N
Network:   Card-1: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller driver: r8169
           Card-2: Intel Centrino Wireless-N 1030 [Rainbow Peak] driver: iwlwifi
 
and... why are you using iw driver?
 
3:47 PM
Looks like your problem Ramesh: ubuntuforums.org/showthread.php?t=2220377
 
I would want that they fix the N thingy
 
@Braiam, not sure what you mean.
 
@Braiam well yeah, but g is better than a shaky n.
 
@Seth N is better than G... is a driver issue, nothing to do with the 802.11n specs
 
Nope, nothing to do with the specs. (I don't think I said that?)
 
3:55 PM
@Seth Thanks. I just did as suggested in the link. What is the solution they are suggesting?
They are removing the existing modules and then reinstalling them with newer values, is it?
 
@Ramesh you're taking the drivers out of the kernel, and then putting them back in with wireless n disabled.
@Ramesh yes.
 
@Seth cool. So now lsmod should show me the updated values, is it?
 
maybe? I'm not sure on that one.
FWIW I have a Centrino Ultimate-N 6300 and it works just fine with the same drivers. Granted, I'm using g right now.
 
4:12 PM
aptitude removes unnecessary packages right?
or apt also does that now?
 
Depends what you mean by "unnecessary". apt-get autoremove will remove things that are no longer needed.
 
apt-get autoremove should do it, but ask @Braiam he knows all the little tricks for apt[titude]
 
Be careful when running autoremove though, if you remove something like ubuntu-desktop (a meta package) it sometimes wants to remove most of the environment.. crazy dependency issues.
 
@Seth yeah. But I read aptitude does without the user needing to type apt-get autoremove
 
well apt won't do it automatically, probably for the reason mentioned above :)
apt isn't as smart as aptitude.
 
4:15 PM
Basically, I read aptitude is more efficient than apt.
oops, you just told that :P
 
hehe ;p
 
I am now going to setup another OS by having a kvm on ubuntu 14.04. Hope everything goes well.
 
@Ramesh I rolled back your edit. Since the OP had originally run mv foo.zip bar, they presumably wanted to move the original. So, I figured bar.zip made more sense.
 
@terdon no issues :)
 
I don't know how to edit using command line. — Minimus Heximus 46 mins ago
facepalm
 
4:31 PM
@Seth Poor guy. I told him to use nano.
 
I'm trying to think of a reliable way to use echo and redirection..
 
@terdon is it simple? I have never tried that one.
Oh never mind. I misunderstood it to emacs. I think emacs requires little getting used to.
 
@Ramesh That's an understatement :) Vi/emacs both need a lot of getting used to. Vi more in my opinion since it requires a whole paradigm shift what with its "modes" and all.
nano is completely intuitive. It is also far less powerful.
 
@terdon yeah. That's true. But I like vi for it's completely cryptic way to do things.
 
4:36 PM
what's the key combination to send EOF in bash again?
 
ctrl + D
oops, that's end of input. Not EOF.
Or is it?
 
nope, that worked.
either way.
 
@Seth "Disabling auto-login in Ubuntu with command line" Y U WANT TO USE THE COMMAND LINE?!
 
read the question
something about graphical environment being corrupted and he wants to change desktop environments.
 
oh yeah
btw, there are one wrong answer, and one that isn't using the correct approach
 
4:45 PM
yep
 
I love the gksu gedit one. Not one but two commands that need X to run.
 
5:17 PM
Looks like this will work: sed -ie 's/autologin-user=\(.*\)/autologin-user=/' /etc/lightdm/lightdm.conf.
 
@Seth Post it! Or even sed -i '/autologin-user=/d' /etc/lightdm/lightdm.conf which should just delete the line.
 
@Seth IMO, the line can be just deleted
 
yeah we could delete the line, true.
I'll test that later.
 
5 mins ago, by terdon
@Seth Post it! Or even sed -i '/autologin-user=/d' /etc/lightdm/lightdm.conf which should just delete the line.
 
yep, posted :)
sigh. I should really just keep snapshots of VMs instead of reinstalling them every time.. (200MB of packages to update D:)
 
6:26 PM
Are network manager and /etc/network/interfaces unrelated?
The reason am asking is because, my wifi signal isn't showing up after I added the below entry in my /etc/network/interfaces file.
 auto wlan0
    iface wlan0 inet static
    address 192.168.1.9
    netmask 255.255.255.0
    gateway 192.168.1.1
    wpa-ssid my_ssid
    wpa-psk my_ssid_password

    dns-nameservers 8.8.8.8
    dns-search lan
    dns-domain lan
 
 
5 hours later…
11:47 PM
@Ramesh if you add an entry to interfaces file network manager would ignore the interface
@Seth or better yet...mm.. no is the same
 

« first day (1455 days earlier)      last day (3500 days later) »