Is it possible to change the default page print size in Chrome? I'm printing the webpage to a pdf file and it seems that the size is letter. I want to be able to change that to A4. Or if there are any chrome extensions that you know that will make this possible.
I've seen one extension but it can...
You should harass the student back. The best way to do this is to determine something that would really hit home. For instance, if the student is a minority, you could retort with something racially offensive.
> -P inhibits the conversion of port numbers to port names for network files. Inhibiting the conversion may make lsof run a little faster. It is also useful when port name lookup is not working properly.
@Braiam I mean having the manually installed JDK as the default via the alternatives system. I don't know much about it so I may be talking crap bu perhaps you can trick apt into thinking the dependency is satisfied if you set the Oracle one as default through alternatives.
I have a text file encoded as following according to file:
ISO-8859 text, with CRLF line terminators
This file contains French's text with accents. My shell is able to display accent and emacs in console mode is capable of correctly displaying these accents.
My problem is that more, cat an...
Your shell can display accents etc because it is probably using UTF-8. Since the file in question is a different encoding, less more and cat are trying to read it as UTF and fail. You can check your current encoding with
echo $LANG
You have two choices, you can either change your default encod...
230æ 156Âœ 136ˆ 46. 99c 115s 118v Exception in thread "Thread-16" java.lang.StringIndexOutOfBoundsException: String index out of range: -13 at java.lang.String.substring(String.java:1911) at asia.diginiq.service.impl.ImporterServiceImpl$ReadCSVTHread.run(ImporterServiceImpl.java:142)
I have a notebook (Lenovo IdeaPad G510) with Linux Debian Jessie.
It has got a built-in, integrated GPU - Intel Haswell HD Graphic 4600.
I've read postive opinions about the GPU, it has got good performance for 3D games like Battlefield 3 (~35-40 FPS).
But in my case that doesn't look plausib...
@CristianCiupitu Sorry about that then, my bad. I reopened the closed one since it's too old to migrate and I now know it's on topic. Can't take the migration back but I think it is a better fit for SO anyway.
by the way, this is what I had in mind a couple of minutes ago: http://meta.unix.stackexchange.com/questions/314/unix-c-api-calls-ontopic and http://meta.unix.stackexchange.com/questions/2875/is-the-unix-c-api-still-on-topic
@FaheemMitha on a serious note, though, I think that's a GTK feature. Or whatever GTK apps use for their print dialog. It's in Chromium, Firefox, gimp, ...
But it's not like that in Qt apps. So its probably a GNOME or GTK thing
Like KDE, which once upon a time, briefly, meant Kool Development Environment (see the initial accouncement). It's too embarassing to remember, so now everyone just calls it KDE.
@NoTime Yeah, you can typically copy config files. You may need to change a path (though probably not between Debian and Ubuntu). And yes, that'd be an on-topic question here.
@casey Hey, 10 (ok, maybe 15) years ago you wrote your app against GTK if you wanted it to look nice, or Qt if you wanted it to like terrible and break every minor revision of gcc (because that's what C++ was like in gcc back then).
@NoTime look, if you're asking questions, you need to tell use everything. You keep adding details. 1st you said you want to copy from Debian to Ubuntu then you talked about drivers, then a touchpad config file, now its an xorg.conf?
wiki.debian.org/SynapticsTouchpad is where I was looking for answer, but Xorg.conf is not on there like you said, my lappy is ubuntu pre-config, so everything worked right, but people had same problem with same model and not pre-configured.. so I'll post this as question
@FaheemMitha Shouldn't affect the config files. They've been basically the sam,e format for more than 10 years now. They've just been split into the subdirectories but I don't use that and have a monolithic xorg.conf that works fine.
I need to find a file so I can RTFM on where my configuration file for the touchpad is (everything I am reading online has synaptics touchpad which points to xorg.conf.d, which I do not have) I would rather keep the same files (that I do not know) and just modify the configuration in that file.
@NoTime the best I've found is were the nvidia docs on their driver. They have the best explanation of the xorg.conf setup and format I've seen. Try to look for that. And @Braiam meant open a terminal and run man xorg.conf.
Hello, people! I was wondering if any of you could point out how I could ask a better question in future. I'm very familiar with asking questions on my main site (dba.stackexchange.com) but it seems I may be overlooking something here:
I made some modifications to the /home/user/.envfile so the PS1 prompt would show date/time as well as the pwd etc.
The modification is:
# `who am i` is used to obtain the name of the original user
case `who am i | awk '{print $1}'` in
'someuser')
#set the prompt to include the date...
@derobert Fair enough. I'm wondering if it is a blind alley.
@MaxVernon People don't often downvote here - it is not a very aggressive place. Of course, there is sometimes the occasional loony wandering around. Don't let it bother you too much.
@MaxVernon no idea why that would have been downvoted. And twice no less. Perhaps people really object to your, admittedly complex, way of getting the username but that's just ridiculous. First of all, it's a perfectly valid way, just more complex than necessary (whoami or $USER for example) but even if it weren't, you're asking not answering.
@NoTime the best thing at this point would be for you to post a Q on the main site. Show us your Ubuntu /etc/X11/xorg.conf file and any files in /etc/X11/xorg.conf.d/. Tell us exactly what you copied from where to where and show the contents of /var/log/Xorg.0.log and maybe ~/.xsession.errors.
@NoTime Yes, that's normal. OK, post a question and show us everything I asked for above (except maybe the logs at this point) and show the contents of 1) /etc/X11/xorg.conf (or mention that none exists) and /etc/X11/xorg.conf.d on both systems, specifying which one is the good one.
If neither system has any xorg.conf or xorg.conf.d files, then it's not being done through xorg but through udev. In that case, we will need to see the contents of /etc/udev/rules.d and any files in there that look like they deal with your touchpad.
Another interesting name derivation from here.
Among UNIX shell (user interface) users, a shebang is a term for the
"#!" characters that must begin the first line of a script. In musical
notation, a "#" is called a sharp and an exclamation point - "!" - is
sometimes referred to as a ban...
In musical notation, a "#" is called a sharp and an exclamation point - "!" - is sometimes referred to as a bang. Thus, shebang becomes a shortening of sharp-bang