Tag Info

Hot answers tagged

9

I followed a thread on Ubuntu forums to solve this problem. There seems to be a line missing from this maintenance script file: /var/lib/dpkg/info/libreoffice-base.postrm The missing line, /usr/lib/libreoffice/share/basic/script.xlc needs to be added to the end of the file's second if statement, just above the closing fi, like so: --divert ...


7

The program etckeeper keeps track of setting changes in the /etc directory, using a source code repository like git or bzr. So it really tracks the actual changes of config files. It commits changes automatically when installing packets, for example. See man etckeeper It's easy to set up - not much more than apt-get install etckeeper and optionally editing ...


7

Download the refind binary zip on OS X Unpack it and run install.sh (on OS X) Use OS X Disk Utility to resize your HFS+ partition, then create a partition for Ubuntu (create two partitions if you want a swap partition). Choose any partition type (it does not matter because you will overwrite them later). Download Ubuntu 14.04 amd64 iso image and write it to ...


7

For Ubuntu 14.04 create the file: /etc/lightdm/lightdm.conf.d/12-autologin.conf and add: [SeatDefaults] autologin-user=youruser


6

The DHCP configuration is for the MAAS server to be managing it's own subnet; this is how you would usually have a MAAS region/controller set up. The fields are as follows: IP: This is the IP address of your MAAS controller; you are correct in assuming that it would be 172.16.142.61 if you installed it at this address. Subnet Mask: This is the subnet mask ...


6

The trick It seems impossible to separately set wallpapers for the main screen and the second screen. What can be done however is to set a wallpaper, and have it spanned over two screens. We can automatically create a spanning image of two wallpapers of your choice and (also automatically) switch the wallpaper and the picture options, depending on whether ...


6

You can set the default via the update-alternatives mechanism, using the command sudo update-alternatives --config awk e.g. $ sudo update-alternatives --config awk There are 2 choices for the alternative awk (providing /usr/bin/awk). Selection Path Priority Status ------------------------------------------------------------ * 0 ...


5

Packages (like postfix) may install or generate configuration files (files that usually go in the /etc folder). During this process, there may be options that can be changed by the user. On installation, you are usually asked to set these options. In the case of postfix, it involves what type of server you're running, the hostname, and allowed IP addresses ...


4

As @Danatela mentioned, you need to have dnsmasq installed in order for that approach to work. You can check if it is installed using apt-cache policy command: $ apt-cache policy dnsmasq dnsmasq: Installed: (none) Candidate: 2.68-1 Version table: 2.68-1 0 500 http://ru.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages Use these ...


4

Edit after reading this article and this question it seems like in Ubuntu-Gnome 14.04 (gnome 3.10) the screenshots with Keyboard shortcuts eg:Print are handle by the shell (gnome-settings-daemon media-keys) saving the files to ~/Pictures and not by the gnome-screenshot application. I have installed Ubuntu Gnome 14.04 to test it. 1) I set the ...


4

There are a few GUI tools available to control and monitor AMD open-source graphics under Linux but none of them are as easy to use or install as AMD's CCC: DriConf - GUI for controlling the direct rendering settings (OpenGL) of all open-source drivers. Pretty hard to use and hasn't been updated since 2006. Phoronix has an overview and comparison to AMD's ...


4

That's called an OEM install, and it is covered on help.ubuntu.com.


4

First enable rewrite using this command: sudo a2enmod rewrite Then restart apache2: sudo service apache2 restart Then go into the sites-available folder: /etc/apache2/sites-available Edit the file named default and change AllowOverride none to AllowOverride All. There are two lines where this change has to be made. This will make .htaccess work in ...


4

Run MC as usual. On the command line right above the bottom row of menu selections type "select-editor" without the quotes. This should open a menu with a list of all of your installed editors. This is working for me on all my current linux machines.


4

You can use pip3 to install ipython. pip3 install ipython


3

It seems that /lib/udev/rules.d/64-xorg-xkb.rules is responsible to put in in the udev database. I guess the evdev driver picks it up from there. (Udev maintains an in-memory(?) database, and the driver reads the entries related to “input”.) The application of the rules “evdev” is probably hardcoded in that driver. (I.e. xkb_model and xkb_layout is from ...


3

All available types (as of r2798): string (default) int float boolean From the code: var optionTypeCheckers = map[string]schema.Checker{ "string": schema.String(), "int": schema.Int(), "float": schema.Float(), "boolean": schema.Bool(), } If a type: setting is found in config.yaml which doesn't match one of these, then it throws ...


2

As the user, or as root, you can use "Users & Groups" settings dialog (search for it using the dash) to accomplish this: Users & Groups --> Select the user --> Properties --> Advanced --> Home Directory Note that you must move/copy the data to the external drive manually first, and then use the settings dialog to point it there. You ...


2

You can install Dnscrypt using ppa:shnatsel/dnscrypt PPA sudo add-apt-repository ppa:shnatsel/dnscrypt sudo apt-get update sudo apt-get install dnscrypt-proxy


2

I suggest you following command than yours. sudo apt-get build-dep gimp Ubuntu repository has also gimp source. Although repository's gimp version is not same gimp tarball, it's build dependencies is almost same.


2

Check out Lubuntu the light weight version of ubuntu. They specify System requirements as follows: System Requirements A Pentium II or Celeron system with 128 MB of RAM is probably a bottom-line configuration that may yield slow yet usable system with a standard lubuntu desktop. 14.04 32 bit ISO require your CPU to have Physical Address Extensions, or ...


2

Edit the file /etc/byobu/backend and replace the assignment BYOBU_BACKEND="tmux" with BYOBU_BACKEND="screen" Uncomment the line also if it is commented on your system. This system-wide configuration file will affect all users. Of course, users are still free to select a tmux session if tmux is installed, and each user's ~/.byobu/backend will take ...


2

If your configure output looks similar tho this, the C++ compiler is missing: [ ... ] *** C++ compiler and preprocessor checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no ...


2

Those are examples. Use only the ones you need to. I only use the Debian and Ubuntu configuration lines. From the manual, the syntax for the Remap directive: Remap-RepositoryName: MergingURLs ; TargetURLs ; OptionalFlags The MergingURLs are set of mirrors which are considered equivalent. I think this lets you mix and match mirror URLs in the client ...


2

DNS were all rights, I was doing some trial in local domain before putting them on production.. I solved the issue more easier (I don't have index.html or any other files, I have only folder name).. Finally, I think this would be helpful for someone, the configuration is: upstream tomcat_server { server tomcat.domain.com:8080; } server { listen 80; ...


2

You can try a utility called Arandr. I didn't test, of course, the Oculus Rift with this tool. But the program helped in cases when Ubuntu didn't allow achieving desired configuration by inbuilt stuff sudo apt-get install arandr


2

Under the [global] section of the smb.conf file add: wins support = yes name resolve order = lmhosts hosts bcast wins workgroup = "Name of workgroup" #usually WORKGROUP in Windows security = user Then, if you want users to be able to browse files, you need to add a share: [Share] comment = Network Share path = /home/share create mask = ...


2

If you need to build WebKit from source using the SVN repo, all you have to do is to use the provided build scripts: ./Tools/gtk/install-dependencies ./Tools/Scripts/build-webkit --gtk By default, build-webkit places build products in WebKitBuild. The WEBKIT_OUTPUTDIR environment variable can be used to set a different build products location. If you ...


2

As a general rule, application-specific settings are kept either in hidden dotfiles/dotdirectories in your $HOME or in subdirectories of $HOME/.config. For example, the config file for conky is ~/.conkyrc while the configuration files for the links2 browser are in ~/.links2/ while those for vlc are in ~/.config/vlc. So, have a look at the hidden files in ...


2

From @steeldriver comment: git config --global core.editor "emacs -nw"



Only top voted, non community-wiki answers of a minimum length are eligible