New answers tagged

2

Standard options can be set with the lpoptions command. If run as a normal user the file $HOME/.cups/lpoptions is set. If run as the root user then the system defaults /etc/cups/lpoptions is set. This can be used to change various settings (eg double sided printing) and page-top.


1

A vertical wibox is possible, I used one with 3.0 since years and had to recreate setup with 3.5. Based on this mailing list discussion, here a short example with widgets re-ordered for my own needs, including margins to introduce spacing between widgets: -- Create the wibox mywibox[s] = awful.wibox({ position="left",orientation="north", screen = s }) -- ...


1

Try Section 4.5 of the Debian Kernel Handbook: "Building a custom kernel from Debian kernel source". To quote from that section The easiest way to build a custom kernel (the kernel with the configuration different from the one used in the official packages) from the Debian kernel source is to use the linux-source package and the make deb-pkg target. ...


0

less does not provide fine-tuning on the features which it displays, preferring to use video attributes such as bold and reverse (or standout): the ~ character is printed with bold attribute, and only if the "twiddle" option is set ("Show tildes after end of file"). while you could modify the terminal capabilities used to draw bold text, the "END" is ...


1

The tool that creates that report is called bashbug and it's part of bash package. See man bashbug for more details.


1

Put your long running session inside screen See screen -h for details That way you can reconnect to the machine using ssh and reattach to the screen session


0

Based on a meta discussion, I'm copying Trey Jackson's accepted answer as well as Alan Turing's "google-chrome"-specific answer here: Trey Jackson's answer Emacs 23.2 doesn't directly support chrome, but it does support a "generic" browser, and something like this should work: (setq browse-url-browser-function 'browse-url-generic browse-url-...


1

When you supply an xorg.conf file, this is the complete configuration. You can't just add one option, you have to supply all mandatory parts, including declaring the input and output peripherals. It's common for programs to start with sensible options and allow them to be overridden by a configuration file, but in the case of Xorg, supplying a configuration ...


0

Open xfce4-panel. You can right click on a panel > Panel > Panel Preferences. Select the target panel under the drop down near the top. Under the Display tab, check the box next to Span Monitors. Note: I am on XFCE 4.12 and I am not sure if the span monitors option is available on earlier versions.


3

httpd has a list of files to try to display when you give a URL that points to a directory, which can be configured with the DirectoryIndex directive. (Its default value is just index.html, so if you renamed your file1.html to index.html, it would also show immediately.) The listing that you see is generated by mod_autoindex; but if you disable it and don't ...


-1

Use the force, Luke! Use RequestTTY force in your ~/.ssh/config for the desired host.


1

You can do the task by sed directly, for example: sed '/^\[global\]/a\my new line' /etc/samba/smb.conf NOTE: This is not a solution because such line can be in config already. So firstly you should to test whether is the line present.


0

I bet you are using php-fpm. This is a known bug in Apache 2.4.6. Timeout and ProxyTimeout are ignored and the value 30s is hardcoded. It is fixed in Apache 2.4.8. Here are two links you should read bugzilla error post Solution if you intend to recompile Apache on your own


0

I had a similar issue and it turns out that Apache didn't like the ErrorLog and CustomLog lines in the VirtualHost container. I commented them out and service started without a problem. I'm guessing this has something todo with permissions in httpd.conf


2

It depends on the application, and thus may vary from "ha ha ha, no." to possibly "yes" though given the infinite variety of errors that can be introduced, and the specific needs of the thing being configured, it is more likely that buggy undesirable input will be generated than the error caught by a validator (and then there's syntactically correct but ...



Top 50 recent answers are included