I had something similar some years back with an Acer laptop. It came back to a hardware driver issue and I had to go to another screen, (by holding down ctrl-alt and pressing F1, F2, F3 or whatever), to find out what it was and stop the process to continue the installation.

Might be worth checking unless someone else knows better.


Can't see certain files on Android phone in Ubuntu

Yeah, I've had this problem before too, not just on Ubuntu, but on Windows as well. I think there's a bug in Android's implementation of MTP.

Edit: Yup, this has been a known bug in Android since October 2012

Essentially, if you create a file on the phone without rebooting, the computer doesn't see it even though you can pull it with ADB just fine.

So I think the answer is to just reboot the phone or use adb pull.


Add the line

supersede domain-search "something";

to the end of /etc/dhcp/dhclient.conf. Perhaps your aaaa.bbb.example.net comes from your (ISP's) DHCP server?

Or if you want something like

search some.thing something.else

in your resolv.conf, add a line like

supersede domain-search "some.thing", "something.else";

in your /etc/dhcp/dhclient.conf.


16.04 Lts doesn't contain auto run and wubi file

Follow the normal installation procedure:

How do I install Ubuntu?

or specifically for dual boot with Windows 8 or later and Ubuntu 15.10 or later:

http://www.everydaylinuxuser.com/2015/11/how-to-install-ubuntu-linux-alongside.html

This will install it for you.


Run this command from terminal and you could use apt and apt-get normally in the future :)

echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4


As a workaround, I was able to enable button images for a specific GTK+ 2 C++ application by adding this to the source code:

#include <gtk/gtk.h>

GtkSettings * gtksettings = gtk_settings_get_default();
gtk_settings_set_long_property(gtksettings, "gtk-button-images", 1, "XProperty");


Ubuntu 11.04 stopped recognizing display driver, and cannot connect to internet

Use a Live CD and boot into you system. The USB should work to store files or paste to pastebin with your info.


Is google earth 32 bit best for Ubuntu 64 bit 14.04?

Yes you can install Google map 32 bit on your 64 bit machine. It will work fine. You can also install 64 bit version as well. Download and install it from here not from software centre of Ubuntu.


Can't Install codecs ( Could not get lock /var/lib/dpkg/lock )

This either means that you are already running apt-get (could be via Software Center), or that the lock has not been properly been released last time.

If you are sure that no ongoing process is running you can try deleting the lock file.


Grub-Customizer made Windows 7 disappear from Grub2

Boot-Repair can undo the settings generated by GRUB-Customizer.

Run Boot-Repair --> Advanced Options -> GRUB options tab --> tick "Purge GRUB and reinstall it" --> Apply

Indicate the URL that will appear if any issue.


pinging from GNS3 router to Ubuntu bridged network and vice versa

On Linux / Unix / OS X, when you bridge a router or switch interface to your local Ubuntu host you can’t ping it from your host. But this works on Windows? What gives?

This does generally work on Windows (depending on your network card) but not on Linux / Unix. Most likely this is due to differences between libpcap and Winpcap, and the differences in the network stacks on Unix / Windows (e.g. NDIS). However you should be able to ping your bridged interfaces from other systems on the bridged network. If this does not work on Windows for your particular NIC, try creating a Windows loopback adapter and bridging to that. On Linux you can use a tap interface and the NIO_tap (available from a cloud). OS X you can install tun/tap drivers.


This does not directly answer your question but is the much easier solution.

The easiest solution here is to just cover up the IR receiver - the IR beams won't be able to penetrate tape or paper put over the IR sensor.  That saves the headache of actually having to disable the sensor in system settings or by blacklisting drivers you may later want.


Is there a command line tool to bulk extract images from a pdf?

The program pdfimages from the package poppler-utils might be what you are looking for. From the man page:

  Pdfimages  reads  the  PDF  file PDF-file, scans one or more pages, and
         writes one PPM, PBM, or JPEG file for each  image.

On newer versions of poppler-utils there is an all switch to extract to jpg or png:

pdfimages -all input.pdf images/prefix

will output files in the form prefix-nnn.[png|jpg] in the images folder.


Help with Data Recovery from a Windows Faliure

install ntfs-3g if that is not already on your system
try again gparted
if it fails again with the same error: get yourself a windows rescue boot CD
one of these will do: http://www.pcc-services.com/windows/guide-noboot2.html
boot with it and follow the instructions
if that is done, boot windows and run chkdsk /f
reboot two times


Problem in executing a jar file in ubuntu 14.04LTS

The jar file that you're trying to run has probably been compiled with a more recent version of java. You may be able to run it with java 8.
Here are the instructions to install java 8 on ubuntu:

    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java8-installer


Uninstaller for amd catalyst /usr/share/ati/amd-uninstall.sh, does not exist or cannot be found

From http://wiki.cchtml.com/index.php/Ubuntu_Saucy_Installation_Guide#Removing_Catalyst.2Ffglrx

  Removing Catalyst/fglrx

  The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.

sudo sh /usr/share/ati/fglrx-uninstall.sh
sudo apt-get remove --purge fglrx*

  If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see this Ubuntu wiki page

sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon
sudo apt-get install xserver-xorg-video-ati
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
sudo rm -f /etc/ati

  If you receive

  $ E: Internal Error, No file name for libgl1-mesa-dri

  Change the third command above to:

sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core


I found a way which requires an rooted Android device.

You need to download this app: DriveDroid - Google Play. And move a Ubuntu iso file to your Android device and use the app to make Android bootable with that iso and then use your computer to boot from it.

I had issues with I couldn't do anything with my /dev/sda2 partition even when booting from Android. So I downloaded GParted live iso and used GParted to shrinken my root partition and make a backup partition, then I used Ubuntu to move my files from my root partition to the new backup partition.

Then set Android to be a Ubuntu bootable again and install ubuntu from there. Then copy my files and used gparted again to make my new ubuntu use the old backup partition.


This is bug 1025553. Feel free to subscribe to the bug to be notified when it's fixed.


Rhythmbox does have a C / Python API which you can use to add and change details of tracks / songs/ radio stations / podcasts etc.

You don't write directly to the local rhythmdb.xml - this is an internal XML format subject to change between versions.

In the following sample the key parts are as follows:

"iradio" is the entry_type that corresponds to internet radio stations stored in the internal database
you create new entries via RB.RhythmDBEntry.new
you must commit the entry to the database before modifying additional details such as the radio station title and the station genre

from gi.repository import GObject, Peas
from gi.repository import RB

class SamplePython(GObject.Object, Peas.Activatable):
    __gtype_name = 'SamplePythonPlugin'
    object = GObject.property(type=GObject.GObject)

    def __init__(self):
        GObject.Object.__init__(self)

    def do_activate(self):
        print("activating sample python plugin")

        shell = self.object
        db = shell.props.db

        entry_type = db.entry_type_get_by_name("iradio")

        url = "http://bbc.co.uk/radio/listen/live/r1.asx"
        entry = RB.RhythmDBEntry.new(db, entry_type, url)
        db.commit()
        db.entry_set(entry, RB.RhythmDBPropType.TITLE, url)
        db.entry_set(entry, RB.RhythmDBPropType.GENRE, "Unknown")

    def do_deactivate(self):
        print("deactivating sample python plugin")


Ubuntu 12.04 | Display issues with Dell GX620

This is not a driver issue. Its just that you have got to make xrandr changes permanent. I just had a similar problem and solved it by the method shown here . I will explain it below.

First, create a shell script with the commands you have given in your description as shown below:-

#!bin/sh
xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr --addmode VGA1 "1280x1024_60.00"
xrandr --output DisplayPort-0 --off --output VGA1 --mode 1280x1024_60.00 --pos 0x0 --rotate normal --output HDMI-0 --off

(You may have to edit the last line according to your system specs.) Save it as lightdmxrandr.sh in /usr/bin .  Make it executable by running :-

sudo chmod a+x /usr/bin/lightdmxrandr.sh

Now just try running it from your terminal to see if it executes without errors :-

sudo sh /usr/bin/lightdmxrandr.sh

If it runs right, you have to make some edits to /etc/lightdm/lightdm.conf . For that open it with nano :-

sudo nano /etc/lightdm/lightdm.conf

You can even use gedit or whichever text editor you prefer. It will be something like this :-

[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter

Now add the following lines to it:-

display-setup-script=/usr/bin/lightdmxrandr.sh
session-setup-script=/usr/bin/lightdmxrandr.sh

This should most probably work for you and you must get your desired resolution both in your desktop and login screen. But some users like myself had a problem because of which the login screen resolution would change but the desktop resolution would not, when the above is done. If that is the case, drop into a terminal or tty session(If you had login problems after attempting the above) and type in :-

sudo nano /etc/lightdm/lightdm.conf

and then remove the lines we added to it above. Then reboot successfully and follow the below instructions.

Now, first go to System Settings>Displays and see if your desired resolution is there. This might happen since you just ran the above script with lightdm.conf . If it is so then select it. Then reboot and see if it works. If your desired resolution is not there even now, then attempt the following.

Open "Startup Applications" by searching for it in the dash. You will get something like this :-

Then,

Select the Add button.
In the subsequent window type in a name.
Then select the /usr/bin/lightdmxrandr.sh which is the script we created.
If you want you can give a description. Then click Add.
Make sure the entry you just added has a tick mark next to it. Now close Startup Applications.

Now reboot and you must have your resolution in your desktop alone. To change your login screen resolution too again open lightdm.conf file in the same way as mentioned above and add the below line alone:-

display-setup-script=/usr/bin/lightdmxrandr.sh

Save it and reboot. Now you will have both your desktop and login screen resolution for sure.

PS :- If /etc/lightdm/lightdm.conf is not present in your system then edit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf .


Not able to install any version of netbeans

Try typing in the terminal

bash ./netbeans6.9-ml-java-linux.sh


If you just want a daemon to run, you could write an XMPP client which connects to the server and responds to messages.  Basically, you can write your own command line program.

I had success with python-jabberbot, specifically by extending this example:

https://github.com/averstappen/python-jabberbot/blob/master/examples/uptime.py


The os-prober script is meant to find other operating systems than the mounted root system. As you don't have any of these (swap isn't an operating system), os-prober returns nothing.

To populate the grub menu use the sudo update-grub command. This will include the mounted partitions too.


How can I disable gnome-shell's notification area?

I'm not sure what side effects, if any, this will have, but here's one way to do it:

sudo gedit /usr/share/gnome-shell/js/ui/main.js

Find the following line (217 for me):

notificationDaemon = new NotificationDaemon.NotificationDaemon();

Comment it out:

//notificationDaemon = new NotificationDaemon.NotificationDaemon();

Save the file, press Alt-F2 and enter r to reload GNOME Shell. The tray should now be gone


delete specified lines in files under directories

I would use find with sed like:

find /path/to/source -type f -exec sed '/password/d' {} +

Add -i to sed -i '/password/d' above to write the changes into files in place.

the /path/to/source is your directory path that you want to run sed for the files in and its sub-directories.
the -type f looks for the files type only.
with -exec command {} +, the command will be executed for the files found.

See and read also What is the difference between using '+' (plus) and ';' (semicolon) in -exec command?.


Discs burned in Windows have different language filenames in Ubuntu

It means, all the answers that are out there do not correlate with the question I'm asking, like it simply doesn't exist as a known issue [yet].
UPDATE
[& for future reference]  I rebooted and the matter appears resolved - still cannot imagine how or why that would be, so it's resolved in one sense - just that there's no explanation or reasoning behind the occurrence - it happened 'in session', previous discs had loaded fine, then it occurred.  An update did nothing to remedy it.  A reboot resolved it, but nothing to indicate what happened comes to light from this action.


Wanting to replace pre-installed Windows 8.1 on my Lenovo laptop with Ubuntu. Needed help on which partitions to remove and which to keep

If you download and install the 64 bit version from here and install it from a USB, simply choose the option you are presented with to delete everything and replace with Ubuntu.  The installer will take care of the partitioning for you.


How to install logitech mouse with ltunify?

It sounds like your execution path does not contain $HOME/bin. Open the .profile file in your home folder and append the following block if it does not already exist:

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi


Fish history not working; more specifically, not adding new entries

Ok, strace helped me to debug this. I got already much more information. The only problem with strace is that it is way too verbose. Anyway, via strace -e file fish, I saw this:
...
stat("/home/az/.local/share/fish/fish_history", 0x7ffd4f2e4160) = -1 EACCES (Permission denied)
openat(AT_FDCWD, "/home/az/.config/fish/fish_history", O_RDONLY|O_CLOEXEC) = 6
unlink("/home/az/.local/share/fish/fish_history") = -1 EACCES (Permission denied)
openat(AT_FDCWD, "/home/az/.local/share/fish/fish_history", O_WRONLY|O_CREAT|O_CLOEXEC, 0644) = -1 EACCES (Permission denied)
stat("/home/az/.local/share/fish/fish_history", 0x7ffd4f2e4160) = -1 EACCES (Permission denied)
openat(AT_FDCWD, "/home/az/.bash_history", O_RDONLY|O_CLOEXEC) = 6
...

So, first of all, that old .bash_history really is the old history I'm seeing.
Also, interesting that there is a EACCES (Permission denied) error.
For some reason, in /home/az/.local/share/:
drwx------  3 root root   4096 Jan 16  2019  fish/

I don't really know how I ended up having that.
Anyway, doing sudo chown az:users /home/az/.local/share/fish fixed the problem!


Live USB not saving setting to not suspend when laptop lid is closed

Apparently, Live booting does not save the Power setting even in the same session. Once I actually installed Ubuntu on the my PC, the setting was being saved.


Why does dpkg --list no longer show all installed programs?

Your list may be truncated depending on the type of terminal you are using or for some other reason.

Instead of using: dpkg --list, use the following command instead:

dpkg -l | less

You will be able to scroll up and down the list using the arrow keys.

Use the q key to exit the list and quit.

Alternatively, you can use grep to search for a particular output like in this example:

dpkg -l | grep clementine

or

dpkg -l | grep clemen

If this doesn't work, please let me know and I will delete the answer. Thanks!

However, you mentioned:"How would I install something that starts with, say, the letter C like chrome, if the list only shows programs starting with the letter l thru z?". The answer is that you would use a different command to list available packages because dpkg -l and dpkg --list will only list installed packages.

To list available packages, you can use the apt-cache search command like in this example:

apt-cache search chrome

or

apt-cache search c | grep "^c"

Here, "^c" states to match results that begin with the letter c.


How much free space does a Live USB logical partition need to work properly?

2.5GB is enough, you can see this when you boot from an actual live CD (which can't be increased in size) which can be used at a minimum of 2.5 GB for a DVD and 2GB for a 'CD' so you can go with a minimum of 2.5GB just to be on the safe side.


Ubuntu One verification image never loads

https://one.ubuntu.com/

try to create your account from your web browser.


Trying to run eBPF BCC Tools offcputime fails with error

BCC needs the kernel headers to compile its eBPF programs. So you'll also need to download and install the .deb files for kernel headers.

(I was able to reproduce your bug and fix by installing the 2 .deb files from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/ for kernel headers.)


eth0 is not present in interfaces still it connects at boot

Run ifconfig. You should get a list of interfaces and data about them such as IP addresses.


Why Cronjob doesn't work in Ubuntu 18.04?

I have fixed this problem.

So, the serviceChecker.sh is have sudo command and the problem is crontab can't asking the password for sudo.
when you make a log for this .sh files it write:

 sudo: no tty present and no askpass program specified

i fix this by give the user (username is jaka) permission to run it without asking sudo password. How to do this? Here is the step:

sudo visudo

then below #includedir /etc/sudoers.d write this:

#includedir /etc/sudoers.d
username ALL=(ALL) NOPASSWD:ALL

example

#includedir /etc/sudoers.d
jaka ALL=(ALL) NOPASSWD:ALL

its will cronjob's sudo without input password.


What virtual keyboards are available which are most touch-friendly?

XVKBD is a great and very customizable on-screen keyboard with features such as word completion. From XVKBD's website:

  xvkbd is a virtual (graphical) keyboard program for X Window System which provides facility to enter characters onto other clients (softwares) by clicking on a keyboard displayed on the screen. This may be used for systems without a hardware keyboard such as kiosk terminals or handheld devices. This program also has facility to send characters specified as the command line option to another client.

I would give this a try.


should I have to distinguish them and utilize them in daily operation?

No, not really. What you have found is utilities for computing hash sums, which is used for purposes such as file verification.

For instance, when you download a Ubuntu ISO, you will typically find a file containing a checksum, which you can verify. You download the file, and run sha256sum filename (or md5sum if it contains md5 checksums, but SHA256 is better than md5), and compare it against the published check sum.

It also allows you to verify that a file has not changed, without having to store an duplicate of the full file. This is used by file verification tools such as tripwire.

In general, don't worry about those utilities until you see a need for them.


Mouse pointer changes color in firefox and chrome and Libre Office apps

While searching for answers, I stumbled across this post in the forums which advised to Check what theme is set in dconf. with the command:

gsettings get org.gnome.desktop.interface cursor-theme

I found that even though I had set DMZ-Black in update-alternatives, gsettings was still reporting DMZ-White. So I issued the command:

gsettings set org.gnome.desktop.interface cursor-theme 'DMZ-Black' which took effect immediately. No need to logoff and back on like I had to when I applied update-alternatives.


Why is the firmware missing for my Belkin F5D7000 wireless adapter?

It appears some versions of this adapter use a Broadcom chipset, in which case you can solve your problem by installing these packages from a terminal:

First run sudo apt-get update, and then run:

sudo apt-get install b43-fwcutter firmware-b43-installer

Then reboot, and see if it works.

If not, please share the content or output of the following commands/files to better help us troubleshoot your problem (instructions in this answer): command(s): dmesg and sudo lshw


How can I map a character to a key combination?

Another, low-level option to try, especially if you can't get xkb to work is to use xmodmap directly.

The first thing to do would be to get a sense of your current keyboard layout. Open a terminal and type:

xmodmap -pke

This will give you a list of numbered positions on your keyboard and what they are mapped to. E.g., you might see an entry like:

keycode 14 = 5 percent 5 percent

This means that a certain key is mapped to 5 when pressed normally, the percent sign % when pressed with a shift. (And the next two values are for when Mode_shift is active; but let's not get into that right now.

If I wanted to change this key I could type in:

xmodmap -e "keycode 14 = 5 U203D 5 UD203D"

Now, instead of getting a percent sign % when I type shift-5, I get ‽.

That's just an example; probably you don't want to remap % to ‽. But maybe there's some other key you don't use a lot. For example, one nice option might be to remap the shift-Menu instead. So I see from xmodmap -pke that I have:

xmodmap -e "keycode 135 = Menu Menu Menu Menu"

I might make it instead:

xmodmap -e "keycode 135 = Menu U203D Menu U203D"

If I want to make that permanent, just throw it inside some init script that runs automatically, like .profile, .bashrc or .xinitrc, or create your own that Lubuntu loads automatically.

However, it's very important to run xmodmap -pke first to see what your initial set up looks like. Your keycode numbers may well be different from mine. And it's also the best way to see what else is available.

Anyway, that's a very low-level option. If you want a high-level option, look at something like autokey  or xdotool  instead.


Unique sorting: Redirect output to the same file

You can use sponge from moreutils package:

LC_ALL=C sort -u filename | sponge filename

You also don't need pipe to uniq, since when sort has -u option to unique lines when sorting.

Note that on GNU system with UTF-8 locales, sort -u or sort | uniq didn't give you unique lines, but the first from sequence of lines which sort the same in current locale.

$ printf '%b\n' '\U2460' '\U2461' | LC_ALL=en_US.utf8 sort | LC_ALL=en_US.utf8 uniq
①

gave you only ①. Changing locale to C force the sorting order based on the byte values:

$ export LC_ALL=C
$ printf '%b\n' '\U2460' '\U2461' | LC_ALL=C sort | LC_ALL=C uniq
①
②


From Ubuntu's website, of course. :-) You don't need a special VMWare only ISO.
http://www.ubuntu.com/download/server


Do I need to apply the diff that came with my ubuntu kernel source?

Check the output of the command you ran for lines like those in bold in the following:

$ apt-get source linux-image-$(uname -r)
Reading package lists... Done
Picking 'linux' as source package instead of 'linux-image-4.4.0-127-generic'
NOTICE: 'linux' packaging is maintained in the 'Git' version control system at:
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial
Please use:
git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 147 MB of source archives.
Get:1 ftp://ftp.iitb.ac.in//os/ubuntu/archives/ubuntu xenial-security/main linux 4.4.0-128.154 (dsc) [9,712 B]
Get:2 ftp://ftp.iitb.ac.in//os/ubuntu/archives/ubuntu xenial-security/main linux 4.4.0-128.154 (tar) [133 MB]
Get:3 ftp://ftp.iitb.ac.in//os/ubuntu/archives/ubuntu xenial-security/main linux 4.4.0-128.154 (diff) [14.5 MB]
Fetched 147 MB in 3s (39.6 MB/s)
gpgv: Signature made Fri 25 May 2018 19:40:29 IST using RSA key ID CBEECEA3
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./linux_4.4.0-128.154.dsc
dpkg-source: info: extracting linux in linux-4.4.0
dpkg-source: info: unpacking linux_4.4.0.orig.tar.gz
dpkg-source: info: applying linux_4.4.0-128.154.diff.gz
dpkg-source: info: upstream files that have been modified:
 linux-4.4.0/Documentation/ABI/stable/sysfs-bus-vmbus
 linux-4.4.0/Documentation/ABI/testing/debugfs-aufs
 linux-4.4.0/Documentation/ABI/testing/sysfs-aufs
 linux-4.4.0/Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935
 linux-4.4.0/Documentation/ABI/testing/sysfs-bus-usb
 linux-4.4.0/Documentation/ABI/testing/sysfs-class-cxl
 linux-4.4.0/Documentation/ABI/testing/sysfs-devices-system-cpu
 linux-4.4.0/Documentation/ABI/testing/sysfs-kernel-livepatch
...


The X server is being started by the display manager service, which gets restarted automatically when needed.  sudo service lightdm stop; sudo dpkg-reconfigure lightdm to stop it immediately and then configure whether it should be run in the future.


Failed to start netfilter-persistent configuration

First of all check

sudo journalctl -e -u netfilter-persistent.service

for errors. Then have a look at which are rules being loaded by netfilter-persistent service. Which are located in /etc/iptables/rules.v4 and /etc/iptables/rules.v6. The service pretty much just loads firewall rules using:

sudo iptables-restore < /etc/iptables/rules.v4

You cat try to debug it line by line (and the same for rules.v6). After removing erroneous statement you can restart the service:

sudo systemctl restart netfilter-persistent.service


I would like to prefer the sed, that can back up original file when replacing the content in the file.
sed -i s/regexp/replacement/ /path/to/the/file

sed man page


Should I install Ubuntu on a Logical Volume?

1. Is it possible to install Ubuntu on to a Logical Volume which is made of 2 SSDs and 1 HDD?

Yes. HOWEVER if any of those drives fails, Ubuntu will not boot and will not be recoverable. You are far better off with RAID-1 and moving archives off into other drives when you need space. Hardware is cheap, your time is precious. Back up often, even if you have a RAID-1 rig.

2. Is it possible to install Ubuntu on a Logical volume which is made of 2 SSDs and 2HDDs which are Raided together for backup protection.

Harnessing HDDs and SSDs together is like trying to plow a field with a Corvette and a mule;  EXTREMELY risky because the HDDs will be out of sync with the SSDs very, very often. Make a volume with two SSDs, and another volume with two HDDs, and back up offsite anyway.

3. Is it possible for a Windows installation to see the logical volumes?

If formatted using FAT32 or NTFS, yes. There is an ext2 file system driver for Windows, but it never has been stable for me and has corrupted volumes multiple times in my experience. Microsoft even agrees with me.

--

And, please, henceforth, pose one question at a time, following https://askubuntu.com/help/how-to-ask.


Press Shift+PrtSc. It will give you an area selection option. Select your desired part and you will get the partial screenshot.


Batch processing folders with `find` and imagemagick's `montage`

I've had a similar problem but without the folders on file name part. Bellow is a script that do what you're asking. Change base to your starting folder.
The montage use options -geometry to set the tile size in px «width»x«height» and -tile for number of tiles «columns»x«lines».

#!/bin/bash -eu

base="/usr/share/icons/hicolor"
find "$base" -type d | while read fld
do
  [ $fld == $base ] && continue
  echo ">>> $fld"
  aux="${fld//\//_}"
  aux="${aux:1}"
  find "$fld" -type f -maxdepth 1 -iregex ".*\.\(jpg\|jpeg\|gif\|svg\|png\)" > "/tmp/${aux}.txt"

  if [ -s "/tmp/${aux}.txt" ]
  then
    montage "@/tmp/${aux}.txt" -geometry 64x -tile 3x "${aux}.jpg"
  fi
  rm "/tmp/${aux}.txt"
done


How can I mount my LeapFrog Tag USB device?

The easiest way

sudo -i
blkid

then plugin ur usb then run

blkid

before Usb

After Usb Plugged-in

so now i know my usb is vfat & its sdb1

if its auto mounted and u want to mount it manually
  1st run umount /dev/sdb1

now manually mounting

mkdir /media/myusb

or make a folder where u want to mount your usb

mount -t vfat /dev/sdb1 /media/myusb

now usb has been mounted on /media/myusb

also check these links

http://www.draisberghof.de/usb_modeswitch/#contrib

Leapfrog Crammer won't mount as a USB flash drive


Boot from live media and see if you have the same issue. If not, it points to a software problem, If so you have a hardware problem read on.

Identify your model and check the connection between the system board and the hard drive. If it's a cable replace it, if not ensure that the socket isn't loose on the mainboard and the drive is properly seated. If possible test the drive in another system with known good connections to determine whether the issue follows the drive, if so replace it. If anything about this answer is unclear, drop me a comment and I'll do my best to clarify.


how to send 150 GB of data from server to server

The easiest way is to use ssh/scp

steps

make sure ssh-server is installed in server 2: sudo apt install ssh-server
make sure the ssh-service is enabled on server 2: sudo systemctl enable ssh
initiate a ssh connection from server 1 to server 2:

user@server1%> ssh server2

(the first time you will be asked for confirmation about the host key)
create a target directory mkdir data
close that connection again
I assume the data on server 1 are located in a common directory, say ~/data
use scp to copy the data

scp -r ~/data/ server2:data

-r tells scp to copy recursively


Can I use Nautilus to drag and drop files to encrypted folder?

You can do this with encrypted partitions. If you use the disk utility to make a new ext4 partition encrypted with LUKS it will work much how you described however it will show as a drive on the side bar and not a folder.


How to find the total time I spent on my laptop in this year?

Trying with bash script and extending your command.
I use dateutils to add up the time duration.

Hence to use this script one needs the dateutils package available through apt.  ( sudo apt install dateutils )

This script takes into account the current uptime (present session) also, hence more accurate. Seconds are not counted. Lowest unit reported is minute.

#!/bin/bash
# Total uptime reported.
temp=$(last reboot --since 2016-01-01 --until 2016-12-31 | grep -o '(.*)' | grep  -v '-' | sed 's/(\([0-9]\{1,\}\)+\([0-9]\{1,\}\):\([0-9]\{1,\}\))/\1d\2h\3m/g ;s/(\([0-9]\{1,\}\):\([0-9]\{1,\}\))/\1h\2m/g'  )
curr=$( cat /proc/uptime |  perl -ne '/(\d*)/ ; printf "%02d:%02d:%02d\n",int($1/86400),int(($1%86400)/3600),int(($1%3600)/60)'  )
echo "Total run time (days:hours:minutes)"
curr="2015-01-01T"$curr
org="2015-01-01T00:00:00"
new=$(dateutils.dadd $curr $temp )
dateutils.ddiff $org $new -f "%dd %Hh %Mm"

First the uptimes from last reboot is listed and formatted to extract the day, hours, minutes and second information. This is then saved in temp.
A reference fake date is set called org=2015-01-01 to which current uptime is added.
Then all cumulative uptimes are added to the variable new
The duration between org and the net uptime new is found by difference.

Output:

vayu@helix:$ ./uptime_record.sh
Total run time (days:hours:minutes)
57d 20h 36m

The following script is for the uptime in exactly one year from the day the script is run.

#!/bin/bash
# Total uptime reported since exactly 1 year (from the time script is run).
now="$(date +'%Y-%m-%d')" ;
last_y=$(dateutils.dadd $now -1y)
temp=$(last reboot --since "$last_y" --until "$now" | grep -o '(.*)' | grep  -v '-' | sed 's/(\([0-9]\{1,\}\)+\([0-9]\{1,\}\):\([0-9]\{1,\}\))/\1d\2h\3m/g ;s/(\([0-9]\{1,\}\):\([0-9]\{1,\}\))/\1h\2m/g'  )
curr=$( cat /proc/uptime |  perl -ne '/(\d*)/ ; printf "%02d:%02d:%02d\n",int($1/86400),int(($1%86400)/3600),int(($1%3600)/60)'  )
echo "Total run time in one year (days:hours:minutes)"
curr="1980-01-01T"$curr
org="1980-01-01T00:00:00"
new=$(dateutils.dadd $curr $temp )
dateutils.ddiff $org $new -f "%dd %Hh %Mm"


What do I do to upgrade docker.io if it fails with apt upgrade?

The issue has been reported and a workout was suggested here: https://github.com/ubuntu/zsys/issues/170#issuecomment-826359558
Following the steps worked for me.
sudo mkdir /var/lib/docker.migrating
echo 'dummy' | sudo tee /var/lib/docker.migrating/workaround.txt

this will allow the stat '/var/lib/docker.migrating/*' to not fail with an error.
After the successful apt update docker.io run, you can remove the workaround dummy file:
sudo rm /var/lib/docker/workaround.txt


Can't run fsck in recovery mode in >18.04. Disk is mounted r/w

For 18.04 or newer... you MUST do it this way...

boot to a Ubuntu Live DVD/USB
open a terminal window by pressing Ctrl+Alt+T
type sudo fdisk -l
identify the /dev/sdXX device name for your "Linux Filesystem"
type sudo fsck -f /dev/sdXX, replacing sdXX with the number you found earlier
repeat the fsck command if there were errors
type reboot


Notepad++ Explorer  plugin is not displaying the last character of file name

Wine often suffers from these and other problems. The best solution is to switch to an editor that runs in Linux, such as gedit or vim/gvim. There probably isn't an easy way to make Notepad++ work better, short of modifying either Notepad++ or Wine.


apache2,php and mysql - facing problem in editing the files and loading them in browser

If you are not allowed access to a file, precede the command you are typing with sudo, this should prompt you for your password. The sudo command basically means "superuser do". So you have privileges of the root user when you use it. Example: sudo vi index.html.

Hope that sorts that part of the problem out for you.


Cannot disable `Tools` keybinding on 20.04

It looks like there is a bug in Ubuntu 20.04, where it would unset the org.gnome.settings-daemon.plugins.media-keys control-center, but not the static version of it:
$ gsettings list-recursively | grep -i control-center
org.gnome.settings-daemon.plugins.media-keys control-center ['']
org.gnome.settings-daemon.plugins.media-keys control-center-static ['XF86Tools']

I am not sure if this is because it's a XF86* key, or because it fails to change both dconf settings. Either way, the solution is (supposed to be) to manually reset it:
$ gsettings set org.gnome.settings-daemon.plugins.media-keys control-center-static "['']"

However, in my case this solution didn't work, and I had to do it through the dconf-editor, which worked:
$ sudo apt install dconf-editor
$ dconf-editor

After that change the appropriate settings in the GUI:


Why are you putting the dns-nameserver on the loopback interface and not the physical interface which is connected to your network?

Here is what I have for one of my interfaces

# The primary network interface
auto eth0
iface eth0 inet static
        address 11.0.0.13
        netmask 255.255.255.0
        network 11.0.0.0
        broadcast 11.0.0.255
        gateway 11.0.0.1
        dns-nameservers 11.0.0.7 8.8.8.8

If you need step by step instructions, check out this article http://uglyvpn.com/2015/03/16/how-to-install-owncloud-on-ubuntu-14-10-using-hyper-v-part-3-of-3/


Use the view switch as shown in the image:

The keyboard shortcuts are Ctrl+1 and Ctrl+2.


Can I install 8gb of memory to full Macbook 5,1 Ubuntu install?

I could be wrong (never ran a mac myself), but your BIOS/grub setup should have no impact on your available memory.

You could always check by running free -h to see your memory allotment. But it seems that if you're not running in a VM then you should have access to your full system capabilities.


Welcome to Ask Ubuntu!

So... you're really new to Ubuntu! I should say you two things:

Don't worry about finding EXEs, they don't exist.
Even without EXEs, you're still able to autostart an app when logging in.

If you want to autostart Chrome when logging in, follow this steps:

Go to the Dash, and open Startup Application Preferences. It should appear a window like this:

Press the "Add" button.
In the "Command" field, paste the following text: google-chrome. Put what you want in "Name" and "Comment". Press Save.

Ready! Now every time Ubuntu boots, you'll be able to directly browse from Chrome :)


I fixed it. just select the applet in the top panel and use arrows to move them or X to delete them.


Gimp does not display bold, italic, underline, strikethrough icons in the Text Tool

The problem is solved by removing the snap package and installing the latest Gimp from the otto-kesselgulasch/gimp PPA. What I did is as follows.

At first, I removed the previously installed snap package by the following command.

sudo snap remove gimp

Then I added the latest Gimp from the otto-kesselgulasch/gimp PPA using the following set of ommand.

sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt update
sudo apt install gimp


How to merge free space with filesystem partition?

Yes, you can merge the 3.2gb free space to your Ubuntu partition.

For this you need a gparted-live-disk.Because you cannot resize a mounted partition when the filesystem is mounted.
Boot into gparted live disk
Right Click on the Extended partition and select Move/Resize option, then add the unallocated 3.2 gb space to it.
Now the unallocated 3.2gb space comes under the extended partition.
Then rightclick on your Ubuntu ext4 partition and select Move/Resize option,now 3.2gb free space will be shown and you can add that.


Your output shows that Python consumed 14.5G of memory (all of your RAM, and deep into your Swap) before the kernel killed it to protect you.
Most likely, there is a bug in your script or module.
Less likely, you are using that application for a purpose that it was not designed for (if so, stop).


How to install moka theme and icon packs?

You can do this by adding Noobslab PPA to your sources, in terminal (Ctrl+Alt+T):

sudo apt-add-repository ppa:noobslab/themes
sudo apt-get update

To preview themes and icon packs for Ubuntu 14.04 go here


Can not boot after 14.04 to 14.04.1 update, but recovery boot works

Try an older kernel.
Rather than trying to run 14.04 without updates, I recommend trying to boot from an older kernel. You should still have at least one older kernel installed.

How can I boot with an older kernel version?
I recommend trying this simple way first--i.e., hold down Shift while booting and select a previous kernel version.

(I understand you may already have tried this, but if not, I recommend trying. And if you have multiple older kernels installed and have only tried some, I recommend trying the others.)
If that gives you a working system, you can change the default to the older kernel:

How to remove/ignore most recent kernel?

The video/display problem.

whenever I boot up or restart I don't get a logo or anything, just a backlit black screen.

Something here might help you:

My computer boots to a black screen, what options do I have to fix it?
(Particularly this answer, but I recommend browsing through all of them.)

And if you have an Nvidia video card, maybe this will help:

NVIDIA drivers not working after upgrade. Why can I only see terminal?

Going back from 14.04 to 14.04.1 without updates.

Where can I get the official ubuntu 14.04 LTS, not 14.04.1. 14.04 LTS was perfect.

You can download the original 14.04 iso images from the releases server. To have that installed, you would have to reinstall it. You may be able to install the old versions of specific packages to fix your problem, but rolling back your entire installation is probably not feasible.
A possible temporary workaround is to run from a live environment while you're still sorting out the problem. (That is, you'd burn the ISO image to a CD/DVD or USB, and boot from that.)
The 14.04 ISOs are named with versions numbers as you'd expect. If you really need one of those original images, pick the the desktop image for your architecture (i386 for 32-bit; amd64 for 64-bit). The ones with 14.04.1 in their names are for the point release; the ones with just 14.04 are the original.
Here are the download links for each image, for convenience:

ubuntu-14.04-desktop-i386.iso
ubuntu-14.04-desktop-amd64.iso

You can then hold off updating (or updating particular packages) until the problem is resolved or you decide to work on it again. If course, not installing security updates can put you at risk. For that reason, you might wish to consider this a solution of somewhere near last resort.
Updating 14.04 turns it into 14.04.1.
If update your 14.04 system, it becomes a 14.04.1 system. Going from a release to its point releases is not like going between separate releases. That is, when 14.10 comes out, updating a 14.04.* system will not automatically upgrade it to 14.10; a release upgrade is a separate action.
But going from 14.04 to 14.04.1 is just a matter of installing available updates. Therefore, if you install updates in the Software Updater (which used to be called the Update Manager and is sometimes still referred to by that term), or by running a command like sudo apt-get upgrade or sudo apt-get dist-upgrade, that will turn your 14.04 system into a 14.04.1 system.
Usually that is a very good thing, but in your case, apparently one or more of the updates breaks your system.
You can still run sudo apt-get update (which just updates that information available to your package manager about what software is available for upgrade/installation), and you can still install individual updates in the Update Manager (make sure to uncheck what you don't want installed) or individual new or updated packages with sudo apt-get install ....
If you configure your system to install updates automatically, it will automatically "turn back into" a 14.04 system.


Drive not detected on 14.04.1 server install for Western Digital drive

I figured it out.  Seems like the 6Gbps SATA ports on my Asus Motherboard aren't recognized under Ubuntu.  Moving the HDD to the regular SATA ports worked.


Disable use of a second monitor while keeping it enabled

I have been able to disable use of the second screen thanks to a suggestion by user grumbel
 on reddit. They suggested "You can solve the mouse issue by making a xrandr configuration that has the unused monitor overlap with the one that you use. You can use arandr to do that with a bit drag&drop."

So I have added the argument "--pos 544x280" to my xrandr command which disables use of the second monitor and doesnt impact the use of the primary monitor. After running that command I can no longer move the mouse or drag windows onto that monitor.

For completeness, the entire command I use is:

xrandr --output HDMI2 --mode "1920x1080" --refresh "60.00" --primary --output HDMI1 --mode "720x400" --refresh "70.08" --pos 544x280


Problems with Ubuntu and AMD A10-4655M APU

Install the proprietary Catalyst drivers AMD website. (Ensure you chose Linux as the OS.) This will solve all display problems.

You can also install them from System - Additional Drivers. Your display chip will be detected and Ubuntu will let you download and install it.

UPDATE (05-Nov-2012): I got a new laptop with an APU and I ran into the same problems. Here is how you can fix the problems.

Download the latest 12.10 driver from AMD website.
Install the driver following the instructions given at the unofficial wiki at http://wiki.cchtml.com/index.php/Ubuntu

If you have a 64-bit system, you will need to install ia32 libs.

If the installation failed or did not work, then restart the computer with the failsafe version of the kernel at the Grub2 bootscreen menu. Press e to edit the failsafe option and then replace "ro single" with "rw xforcevesa"

Press Ctrl+Alt+F2 to go to a TTY screen. Kill the desktop with

sudo service gdm stop

or

sudo service lightdm stop

Run the AMD driver with sudo sh

Choose the second option of building the distribution-specific installer. (This will save you the trouble of uninstalling failed drivers.)

If the fglrx*.deb got created, install them as specified in the wiki.

Before you restart, run this command

sudo /usr/bin/aticonfig --initial

Run the command sudo reboot to restart the computer.


How can I set Firefox settings with a bash scipt?

You can create a clean profile for that once, then put it on github or whatever, and write a bash script which would delete local ~/.mozilla and download Your pre-configured one.


Touchscreen and additional external monitor

There is a specific command for mapping input to a display in xsetwacom called MapToOutput. Here is what you do:

Start by figuring out the name of the display you want to map to. This can be done by running xrandr:

phnomic@phnomic-jobb:~$ xrandr
Screen 0: minimum 320 x 200, current 3200 x 1597, maximum 8192 x 8192
LVDS1 connected 1280x800+1920+797 (normal left inverted right x axis y axis) 286mm x 179mm
   1280x800       60.0*+
   1024x768       60.0
   800x600        60.3     56.2
   640x480        59.9
VGA1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      59.9*+
   1920x1080      60.0
   1600x1200      60.0
   1680x1050      60.0
   1280x1024      60.0
   1440x900       59.9
   1280x960       60.0
   1024x768       60.0
   800x600        60.3
   640x480        60.0
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)

In my case I want to use LVDS1.

Next, figure out what your devices are called. This is done using xsetwacom --list:

phnomic@phnomic-jobb:~$ xsetwacom --list
Wacom ISDv4 E6 Pen stylus           id: 20  type: STYLUS
Wacom ISDv4 E6 Pen eraser           id: 21  type: ERASER
Wacom ISDv4 E6 Finger touch         id: 22  type: TOUCH

Finally run the command xsetwacom set "[device name]" MapToOutput [screen name] for all devices that you wish to assign. In my case, this becomes:

phnomic@phnomic-jobb:~$ xsetwacom set "Wacom ISDv4 E6 Pen stylus" MapToOutput LVDS1
phnomic@phnomic-jobb:~$ xsetwacom set "Wacom ISDv4 E6 Pen eraser" MapToOutput LVDS1
phnomic@phnomic-jobb:~$ xsetwacom set "Wacom ISDv4 E6 Finger touch" MapToOutput LVDS1

And then you are all good to use your fancy touch screen regardless of what monitors you connect it to and what orientation you use for your monitors.

If you want to know more, I recommend this sourceforge post.


Do you have standalone Ubuntu on you PC or dual boot?
I ran into same issue on dual boot and had to use recover mode through GRUB boot loader. Select advanced options for ubuntu and recovery mode.
You can then choose on of the following options:

resume
clean (cleans the file system to free up some space)
dpkg (repairs packages)
failsafex (boots in faseve graphics mode)
fcsk (scans file stystem for errors)
grub (updates the grub boot loader)
root (takes you to root shell prompt)
network (enables networking)

I will recommend using dpkg first to see if it finds any packages that need to be repaired, if this doesn't help then failsafex, fcsk, clean and grub.

If none helps then you can consider reinstalling through usb or CD.


Making Google Calendar and Gmail the "Default Applications" for calendar and mail

1) It is the "MimeType" line in the Desktop file, containing "x-scheme-handler/mailto;" which causes the application to show up as a preferred email handler.

The Preferred Applications "Default Applications" capability is fairly well hidden in GNOME 3, as the "Default Applications" tab in the "System Info" utility.

Consider using the GNOME Gmail package. It will take care of this for you, integrating your default browser as the desktop (Gmail) mail handler. It does not handle the calendar link - that would require an additional Desktop file.

4) You won't find better mailto URL handling for Gmail than GNOME Gmail (http://gnome-gmail.sf.net). It will properly work with Naultilus "Send To...", and even supports Libre Office 'Send -> Document as Email...".


Will unity stop being a plugin for Compiz?

Try Unity 2D or Lubuntu. Both of them are here How can I reduce lagging with GUI/GPU stuff -- make Unity run smaller, quicker, faster?. Lubuntu is not Unity but is a lightweight alternative.


Low graphic performance with Mobility Radeon HD 4200 under Unity3D

Possibly you don't have proper drivers or you graphics card is not fully supported, so try to download them from ATI website.

You can do some performance testing by installing glxgears sudo apt-get install mesa-utils

Or via the Software Center:

See similar topic (with the answers):

Bad 3D Performance in Ubuntu 12.04

See following articles to check your performance issues:

http://www.subdude-site.com/WebPages_Local/RefInfo/Computer/Linux/LinuxPerformance/3Dperformance/3Dperformance_glxgears.htm

In my opinion, you should change your desktop to different one, like KDE or something by installing one of following alternative desktops:

Kubuntu sudo apt-get install kubuntu-desktop

Xubuntu sudo apt-get install xubuntu-desktop

sudo apt-get install kde-full


Repairing Grub - Separate Partition - Dual Boot Windows

I ended up just re-installing Ubuntu and did not include a separate /boot partition this time.  Grub installed to my Ubuntu partition and and Windows boots to that.


How do I install LAMMPS and OVITO in Ubuntu 15.04?

Is it well written in the help pages of the software

  To install the appropriate personal-package archive (PPA), do the
  following once:

sudo add-apt-repository ppa:gladky-anton/lammps
sudo apt-get update

  To install LAMMPS do the following once:

sudo apt-get install lammps-daily

  This downloads an executable named "lammps-daily" to your box, which
  can then be used in the usual way to run input scripts:

lammps-daily < in.lj

If you have problems following this procedure to install, please write a comment here below.


As a workaround, you can use --allow-unauthenticated with apt. Run the command:

sudo apt update --allow-unauthenticated

If you do not want to use --allow-unauthenticated flag every time you run sudo apt update here is a solution.

Press Ctrl+Alt+T to open a terminal.
Type the command sudo nano /etc/apt/sources.list . In this file, search for vivaldi repository.
Now, replace the line with:

deb [trusted=yes] https://repo.vivaldi.com/archive/deb/ stable main

Now, press Ctrl+X followed by y and then Enter to save the files.
Finally, update the package list:

sudo apt update


I had the same problem.  I got mine working by disconnecting all hard drives except the one for the OS (actually, my OS drive shows as a Dell Virtual drive as it is two drives mirrored by the Dell HBA) and re-installed with the Ubuntu server version thinking the server version may have better RAID controller support.

In the end, I think the problem was GRUB had not been installed properly (for whatever reason).

After installation, I reconnected my other hard drives and everything is working fine.  To get my desktop back, I did a 'apt-get install ubuntu-desktop'.

I still get the same message re: no device found, AHCI BIOS not installed, but the message quickly goes by and the system continues to boot.


I've used KDE on LightDM and there was no such problem on my system. Perhaps you can try installing LightDM and switching display manager, and identifying whether it's a problem with KDE or KDM.

EDIT: As a clarification, I mean to use KDE with LightDM, not to remove KDE as Ruban Savvy has suggested.


How to format the Ubuntu partitions from Windows XP?

No need to delete. It will cause break in grub. Xp won't be bootable.

Just put the live cd/usb and reinstall ubuntu.That will solve the problem.

If you really want to delete partition, open disk management in XP (diskmgmt.msc) and right click on ubuntu drives and click delete.

Now to fix the boot, boot using windows xp disk. Open recovery console and type fixboot and fixmbr commands. A description is here

Update:

Since you have deleted the partition and want to re install ubuntu as duel boot. Do the followings,

Boot using ubuntu live usb/cd.
Choose "Do something else" in ubuntu installer.
Select the free space created by deleting ubuntu previously. (If there is no free space, probably you have formatted the drrive with ntfs. Locate the drive and click on delete.). Now click on ADD. Enter a small amount of space Like 1024MB, and choose SWAP from the filesystem dropdown.
Again click on the remaining free space. This time choose File system as ext4 and mount point as /. Now you are good to go for installation.After installation all OS will be accessible.

If you want to boot only XP. Follow instruction here. Need to have XP disk.


I don't know how to fix this problem I had, but I fixed it by reinstalling ubuntu. A rudimentary fix, but it worked.


I found the answer to the question I had.
1) Do NOT install Spotify as a snap !! but install it as previous as spotify-client with the manual import of keyring and update package. See on their support site or OMG Ubuntu for the howto's (Google brings you fast there).
2) Install synaptic if you don't have it yet.
3) Open Synaptic and typ "spotify" in the search field .
4) You'll see spotify-client installed , but there is another package spotify-client-gnome-support . Mark that and install it .

Done .... No freezes anymore and no big errors on startup.
I hope many users have a good use of my long search for a solution on 19.10 Ubuntu Gnome.

https://www.omgubuntu.co.uk/install-spotify-ubuntu-linux

the link above is the howto for installing as a client instead of a snap (avoid that installation !!!)

I know it sounds like a bug, but I see it more that the snap-store of Ubuntu is untrustable and that isn't really a bug, is it ?


If you have already a live CD/USB you simply need to click on the installer in your doc to initiate the installation.

If not you can download the proper 64-bit image from the following link:

direct dl - releases.ubuntu.com/xenial/ubuntu-16.04-desktop-amd64.iso

torrent - releases.ubuntu.com/16.04/ubuntu-16.04-desktop-amd64.iso

As far as other downloads you can easily find it here (server images, 32-bit images).

And for installation help and instructions you can follow this link.


How to set Shutter as default screenshoter in Ubuntu 14.04

Go to keyboard under system settings, and create a new custom shortcut.

Once created, click on disabled, and once it changes to new accelerator, just press PrintScreen button, and you're all set.


Open a Terminal with the following shortcut: Ctrl+Alt+t then type the ccsm command:

It should open CompizConfig Settings Manager.


url not found with yii2 advanced template

It is solved by making changes in /etc/apache2/apache2.conf file.
Made changes on line no:166. Form None to All.


deleting hibernate image after failed hibernation

I would also try removing (unmounting), formatting and readding (as swap) the linux-hibernate partition using gparted. Performing this possibly makes editing a config file (/etc/fstab) necessary. You will have to re-add the partition to this list to have it auto-mounted at boot again. If you need more help (e.g. exact syntax needed in fstab or about use of gparted), please leave a quick comment at my answer.


soundconverter encoding to Opus format fails

There is a known bug with SoundConverter and newer versions of GStreamer which has a fix in git. The tricky work with sed below duplicates the upstream patch which is not yet present in the Ubuntu package:

1. Fix:

Copy and paste the entire code below into a Terminal window:

sudo sed -i_bak 's/opusenc bitrate=%s cbr=false/opusenc bitrate=%s bitrate-type=vbr/' \
/usr/share/soundconverter/python/soundconverter/gstreamer.py

2. Reverse the fix:

If you would like to reverse this simple hack run the following single command:

sudo mv -v /usr/share/soundconverter/python/soundconverter/gstreamer.py_bak \
/usr/share/soundconverter/python/soundconverter/gstreamer.py

And SoundConverter will be returned to its original state :).

References:

Launchpad Bug: Opus files are encoded in hard-CBR
SoundConveter Commit: Fix opus vbr setting


Is there a `Locate pointer` helper in Lubuntu (for visually impaired)

In Xubuntu go to Settings Manager - Mouse and Touchpad - Theme.
There you can make mouse cursor size bigger.

Also you can download additional themes for your mouse that make viewing the mouse easier. See xfce-look.org. You may choose the theme by your tastes.

I think this one best suits your needs: DMZ with Yellow Background Multisized.

As for Lubuntu: According to its wiki site, PCManFM and LxPanel don't use the cursor theme, you will have to change the cursor manually. See here for more details: https://wiki.archlinux.org/index.php/LXDE#Cursors
And one more option: Install MATE environment on your Ubuntu, it is lightweight running on 512-MB RAM machine and has the mouse flash option you are searching.

sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install ubuntu-mate-core ubuntu-mate-desktop

If you want to have only one environment you can even download and install Ubuntu Mate version as a single OS (But note that is is not officially supported by Canonical).

https://ubuntu-mate.org/longterm/

After you have installed MATE environment you can set mouse flash:

Go to Menu and select Preferences → Mouse and Touchpad.
Enable the tick mark next to “Show position of pointer when the Control key is pressed”.

See the link for details: Quickly Locate Mouse Pointer In Linux Mint / Ubuntu | I Have A PC.


1) Visit the global setting manager at http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html

2) Choose the amount of storage you want used.

3) Leave the do not ask again checkbox unchecked


It seems that GNOME developers have removed this option instead of fixing the underneath problem.

I see that it was working as expected in Nautilus inside 18.10:

but now this option is missed.

I have reported bug 1826586 to launchpad.

If you hate such surprises as me do, then I can recommend you to switch to traditional desktop environments such as Xfce or MATE. And of course use LTS versions of Ubuntu with 5 years support.


Hey,
It sounds like you just installed Ubuntu 9.04 Jaunty. Therefore, this implies that you know how to install Ubuntu the regular way with the graphical desktop CD/DVD installer.
However, you said you used  the "CHIP" live DVD.
I am not sure what CHIP or their live DVD is. Is www.CHIP.de a site for a German computer magazine or something?

Well regardless, assuming you just installed Ubuntu from this DVD, there is one very big problem. Ubuntu 9.04 Jaunty is no longer supported by Ubuntu. This means it will no longer receive security or bug fix updates/patches. The bottom line of this is that if you use 9.04, your it will be vulnerable to any new malware (viruses) or hacking attempts that have been developed since Ubuntu 9.04's support stopped last month (it was supported for 1.5 years.) The support life-times are explained in the 1st google result for the search term "ubuntu wiki releases".

Fortunately, the solution to the lack of support is the same solution that will likely make your laptop work with Ubuntu. The solution is to install a newer version of Ubuntu that is supported for a while. Ubuntu 10.10 maverick is the latest version and will be supported until April 2012, but your system is fairly old so I'd recommend ubuntu 10.04 lucid which is supported until April 2013 (and partially supported until April 2015.) Since Ubuntu 10.04 is a newer version/release it is very likely to include a fix for the bug that prevents 9.04 from starting up.

To download Ubuntu 10.04 and then install it, follow this link:
http://www.ubuntu.com/desktop/get-ubuntu/download .
Select "Ubuntu 10.04 - Long Term Support" and then "32-bit, recommended". Then hit download. On this same page you will see instructions for burning the 10.04 CD and installing it. Once it is burnt, it will be the same basic steps that you used to install 9.04 Jaunty. However, you will want to chose to install 10.04 to your entire 20GB hard drive that Ubuntu 9.04 jaunty is on, deleting the old Ubuntu 9.04 install in the process. (Remember, you only want to do this if you do not have any data on the Ubuntu 20GB drive as it will be lost! (Which I presume because I presume you just installed it.) If you do have any data on the Ubuntu drive, copy it over to the windows drive, or a CD, or a usb drive, etc.)

Of course, I presume you have data on your 80GB windows drive so make sure windows (the NTFS parition) on that drive is not touched.)

Again, assuming you just installed 9.04, the steps above to install 10.04 are what I strongly recommend. However we may be able to make your 9.04 install work by installing all bug-fix/security updates for it from the recovery mode. This is assuming you have broadband (fast) internet connection rather than dial-up, which would greatly complicate and slow down things. Here are the steps:

Make sure you are connected to the internet (via a router or whatever) over a wired ethernet connection, as opposed to wireless. (Wired ethernet is the usual way for a desktop.) If you are on wireless, tell me and I'll give you a lot more instructions.
Turn on your computer and at the boot menu, select: Ubuntu 9.04 kernel 2.6.28 – 11 genuine (Recovery Mode)
Ubuntu should start up into recovery mode, getting past the error you saw before. Once you see a blue menu with several text options, select "Drop to root shell prompt" (it may be named something similar.)

4: At this root shell prompt, (it's a command prompt, like the old days of dos, but way more powerful) enter these commands:

apt-get update

apt-get upgrade

(You have to enter these commands exactly. You will see a lot of text scroll by for each step, and the 2nd one may take a few hours on your computer. The 2nd one will prompt you to continue, hit Y for yes, then enter.) If you don't run into any errors, that means your system is updated successfully.)

5: Assuming it worked correctly, you enter the following command to reboot:

shutdown -r now

6: When the computer gets back to the boot menu, you should see Ubuntu with a higher kernel number as the default. Select that and see if it starts up successfully without running into the bug you saw before.

I apologize for this message being so long but it was necessary for the seriousness of the problem and to make things easily understood yet comprehensive. Ask me if you have any questions at all.


Well I feel stupid.  The problem turned out to be the i386 version of 12.10 I was using.  Got the AMD64 version and its all working just fine now.


Since my response was getting quite long, I felt it better to post as a new answer, rather than as another comment.

Just install them as two physical drives, and make sure you select the right one during install (i.e. so you're not overwriting the first OS with the second). What I'd do is leave one installed in your case but unplugged (the Windows installer isn't as high powered or intelligent as Ubiquity or an Ubuntu live medium), install Windows as normal to that disk, then shut down, plug in the new disk whilst leaving the first plugged in still, and boot the live installer for Ubuntu.

You'll need to choose a disk which is your "main" disk, because the bootloader needs to go on this disk. In times gone past, this was called a "master/slave" set up, I'm not sure if that still applies.


Embedded WLAN not working on ubuntu 16.04

Another lead is that the wifi adapter may default to the off state as shipped.  The ASRock X299 "off" and can be set to on in the bios under

Advanced >> Chipset >> WLAN (Change "Default" to "Enabled")

Hope that helps.


Bring up but don't assign address with Netplan

Edit, mid-2019: The bug that caused this has been fixed.

With this bug fix, it is now possible to have an interface brought up without an address by adding it with an empty configuration: {}.

Using the example from the question, doing this with enp10s0f1 would look like this:

# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    enp10s0f0:
      dhcp4: yes
    enp10s0f1: {}

Original answer:

This is in fact a bug in Netplan: bug #1728134, bug #1763608. One of the netplan devs has acknowledged the latter, but it's not clear whether or not a fix will be provided.

One workaround would be to manually create a systemd unit to bring the interface up. Create a file /etc/systemd/system/manual-iface.service with the following contents:

[Unit]
Description=Service to bring up/down unconfigured nic enp10s0f1
After=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/ip link set enp10s0f1 up
ExecStop=/sbin/ip link set enp10s0f1 down

[Install]
WantedBy=multi-user.target

Then, enable it to run at boot:

sudo systemctl enable manual-iface.service

And you're good to go. You should see enp10s0f1 comes up automatically next time you boot.

Alternatively, if you don't want to do that, reverting to ifupdown is still an option, as the question states. Fallback is described here. To summarize, install ifupdown, and then you can do the configuration using the traditional /etc/network/interfaces (which is well-documented across the web).


How to fix buggy Intel Broadwell video driver

The Intel driver is in a state of junk when it comes to Broadwell/Linux, and Intel knows it. It is unclear what their priorities are. Ubuntu is only 1% of their market.
bugs are here: https://bugs.freedesktop.org
search for like DRM Intel. They use kernel version.

GNOME is in a sad state, too. Run the oldest you can stand, maybe even KDE/X.
Stay away from non-stable staging code. Downgrading packages is not easy.
GNOME resume sometimes takes over a minute. It may be waiting for network or some.

The broke gdm, too. For some reason they run multiple copies. If GNOME crashes, gdm is sometimes unable to restart less series of kill -9. Finally they disabled virtual terminals, so you have to ssh in from another machine.

The name of the game is to find some workable procedure and suffer forward. If you can't figure out resume, switch to KDE.


Finally i found the error, as i wanted to use tmpfs for /tmp, i added this line to /etc/fstab:

tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0

After removing this unity 3d works as it should with the nvidia driver.


Ubuntu 12.10: start applications in certain workspace on bootup

First install Compiz manager, click on Place windows button, click Fixed window placement and on the bottom there is Window with fixed viewport. Add a new one and set the position where exactly you want it. For progam, you can just grab it.


What is the correct way to create alias to snap package in Ubuntu 16.04?

Whatever problem was encountered last year when trying to register the alias now seems fixed.  The same sequence worked on 16.04, and the nearly released 18.04 as well.  Versions uses are in the output.

$ sudo snap install blender-tpaw
[sudo] password for dpb:
blender-tpaw 2.78c-tpaw0 from 'tpaw' installed
$ sudo snap alias blender-tpaw blender
Added:
  - blender-tpaw as blender
$ sudo snap aliases
Command                  Alias         Notes
aws-cli.aws              aws           -
blender-tpaw             blender       manual
conjure-up.conjure-down  conjure-down  -
lxd.lxc                  lxc           -
$ snap version
snap    2.32.3.2+18.04
snapd   2.32.3.2+18.04
series  16
ubuntu  18.04
kernel  4.15.0-15-generic

References:

I think the following post gives good background on the change that was implemented for those interested in details.  https://forum.snapcraft.io/t/improving-the-aliases-implementation/18


What is the file extension for things in the /bin folder?

You shouldn't add stuff in /bin as this directory is handled by the OS. Use a custom directory in your homedir or /opt/monkeyman/bin for example, and use an extension only if you find it useful for some reason. Unix/Linux doesn't require or even make use of a file extension for commands, it only wants an executable to have the executable permission set.


Change the operating system to use a High Contrast theme.  To do this, I clicked the System Settings icon in the Unity tray, then clicked Appearance.  The theme was set to Ambiance (default) which I changed to High Contrast.

As far as the font size, I tried using unity-tweak-tool to change the system default size as described in How do I change fonts and adjust their size?, but it didn't seem to work on my system.  I didn't try very hard though.

Instead of changing the font size of the headers to be bigger, why not change the cell text size to be smaller.  Then the headers will look relatively bigger in the screen capture, which you can zoom in or enlarge as needed.


How are backports implemented in Ubuntu?

If you open with a text editor the file

/var/lib/apt/lists/*_ubuntu_dists_oneiric-backports_Release

you can see near the beginning the following lines

NotAutomatic: yes
ButAutomaticUpgrades: yes

They are responsible for the behavior described for the newer Ubuntu releases.
Modifying the line has no effect, probably because the APT system has that information already stored in some sort of cache. Also, the flag would be reset to its previous content on the next update.

This behavior is similar to that of Debian, as you can see on the page Debian Backport >> Instructions.

Also see the Ubuntu Wiki page about Backports: UbuntuBackports.


How to change Terminal Title in ubuntu 16.04

A lot of programs will overwrite the title so you can't rely on the title being fixed or not duplicated by other windows. This is especially so with remote ssh sessions in a gnome-terminal. It still helps a lot but its not reliable enough for window managers to do matching against (which is why I think they removed it. (addition by Amias Channer)) so this ability has been taken out with the newest gnome-terminal, however there is still a possibility to change the title, you can do it by command. To achieve this easily edit your ~/.bashrc file and add the following lines:

# function to set terminal title
function set-title(){
  if [[ -z "$ORIG" ]]; then
    ORIG="$PS1"
  fi
  TITLE="\[\e]2;$*\a\]"
  PS1="${ORIG}${TITLE}"
}

With this you then can set the title of your terminal window by simply using the command set-title <name you want to set it to>. This is possible due to ANSI escape codes so any program can output them regardless of where the code is run. That's what the \e and \a bits do. (addition by Amias Channer).

The solution I found here and using it myself since I run on 16.04 LTS.


Desktop environments not working properly after nvidia graphic driver installation

If your machine is an Optimus technology one, using the bumblebee ppa is by far the easiest and most hassle free experience.

To undo the damage done, try:

sudo apt-get purge -remove nvidia*

to remove all nvidia related drivers.

If you installed via the .run file, re-run the .run file using teh same method as installation, this time it will ask if you want to uninstall. Do so completely.

Once done, make sure the machine is now clean of previous nvidia and other related installs.

Once done, use the install method provided in
https://wiki.ubuntu.com/Bumblebee#Installation
That should work...


Restarted my laptop while installing the new 14.04 and now can't make it to start up

Try installing it again following the same method. This should sort everything out and give your installation a fair chance.


Identifying correct connection device when reading ifconfig output

I assume you are on a desktop with two Ethernet controllers? And that you need to register a mac address to connect to a particular network where addresses are monitored?

Each Ethernet has its own MAC address. You have two options:

Plug in a cable into one of them on a network you can use. And the run ifconfig a few times while using the net (run a YouTube video) you should see RX bytes increasing. (there must be a better way in the terminal?). Or outside the terminal, click the networking logo (near the clock) and then select Connection Information, this should tell you which Ethernet is now connected. Once you know which controller/port you can register that one.
Register either one of them. Once it is registered if you can't connect, switch the Ethernet cable to the other port. (Just check you have two ports first!!)

I did number 2 at my work.


As a workaround, try unplugging your mouse and plugging it back in. I run into this issue when the mouse is plugged into my laptop when Ubuntu boots up. Using this workaround fixes the issue for me.


xubuntu logs me out as soon I login, however I can login as guest

Solution found:

sudo rm ~/.Xauthority

and

sudo rm ~/.ICEauthority

did the trick!


how to mount an iso to a cdrom ubuntu 13.04

All you need is to mount it with Archive Mounter. It’s pre-installed on Ubuntu.

Then you can see it under Network:

Alternative

You can also install Gmount-iso from Ubuntu Software Center, but Archive Mounter does its job well enough.


Solved it. Run steam using:

LD_PRELOAD='/usr/$LIB/libstdc++.so.6' DISPLAY=:0 steam


Installing Ubuntu with preloaded Windows 7

You need to provide more details, like when you installed Ubuntu how did you install it and which partition you selected as boot partition. However I think the following link shall help you already-answered-here. Good luck


How do I resolve unmet dependencies caused by a conflict between Open Office and LibreOffice? Software Update is broken and will not update

I fixed it! I found the solution here:

trying to overwrite 'file', which is also in package '*', how to solve?

I removed the package that needed to be overwritten (as listed in the command line), and it got rid of OpenOffice and reinstalled LibreOffice. The software said that my computer was up-to-date, so that fixed it.


I cannot find the brightness setting in Ubunutu 20.04 LTS in my Acer Nitro 5 Laptop

I have the same problem. Until it's resolved, try:
xrandr
..you should get something like:
Screen 0: minimum 320 x 200, current 2880 x 1024, maximum 8192 x 8192
LVDS-1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1600x900      60.08*+  59.99    59.94    59.95    59.82
   1440x900      59.89
   1400x900      59.96    59.88
   1440x810      60.00    59.97
   1368x768      59.88    59.85
   1360x768      59.80    59.96
   1280x800      59.99    59.97    59.81    59.91
   1152x864      60.00
..and so on
then:
xrandr --output LVDS-1 --brightness 0.95

this works for me, for the time being.


Is it possible to launch an application in a language other than the system language?

You can set the language before starting Geany with ...

LANG_ALL={language} geany

and it will show Geany in Dutch.

Here is a list of possible languages with the translation files (in case you do not have that yet) and translation progress.

By the way: this will work with more programs. Not just Geany.


Will Windows 7 Remote Desktop client connect to 12.04 server?

All versions of Windows Remote Desktop, from Windows XP to Windows 7, will connect as long as you're running the xrdp server on the Ubuntu server.

Install it with

sudo apt-get install xrdp


I installed ubuntu 20.x, is it possible to encrypt my hard drive or this can only be done during installation?

You can only encrypt the whole disk during installation but if you want to encrypt a certain amount of disk that contains your files except system files, you can do that.


Boot from the Windows install media and at the Drive Setup screen click Drive options (advanced). On that resulting screen, select each partition individually and click Delete. Once done you will see one entry for "Unallocated Space". Select that, and click next. Windows will create it's ~100MB System partition and format the rest as your C: drive.


how to partition the mounted drives in ubuntu 14.04

You cannot do this from within a running system.
You have to do the partitioning from a live media.
Boot from Ubuntu (DVD/USB) installation media.
Select Try Ubuntu without installing.
On the Live desktop open GParted ...


dnsmasq starting before eth0 is ready and therefore not binding

I fixed this without changing the book order.  Just add :

After=network-online.target
Wants=network-online.target

to the [Unit] section of /lib/systemd/system/dnsmasq.service

https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1531184


This is off the top of the head, but try:

# call program as: epirename.py /path/to/mp4files 20 41 59
# the numbers are the sequence of first episodes in each season after the first
import os
import re
import sys
mp4dir = sys.argv[1]
seasons = [int(startnum) for startnum in sys.argv[2:]]
seasons.insert(0, 0) # start with '0' as the first episode of season 1
season = 0
patt = re.compile(r'([[:alpha:]]+)([[:digit:]]+).mp4')
for filename in sorted(os.listdir(mp4dir)):
    match = patt.search(filename)
    if match:
        episode = int(match.group(2))
        try:
            if episode >= seasons[season+1]:
                season += 1
        except:
            pass
        # create new filename as '{basename}S{season}E{episode}'
        newname = '%sS%02dE%03d.mp4' % (match.group(1), season+1, episode - seasons[season])
        os.rename(os.path.join(dir, filename),
                  os.path.join(dir, newname))
        print 'renamed', filename 'to', newname

The result is that the files that match '{name}{epi}.mp4' will be renamed to '{name}S{season}E{episode}.mp4'. Other files are left untouched.

Again, this is off the top of my head; there may be more efficient techniques.


Can One OS Affect Another In Dual-Booted System?

In short NO just adding drivers to Ubuntu will not affect Windows, they are on different partitions and do not interact, however if you mount you Windows partition in Ubuntu (or Ubuntu in Windows via a third party app) and modify any system files, this could potentially break Windows.


Is there a Boot-Repair for Ubuntu 15.04?

You can attempt to add the Boot-Repair ppa by issuing the commands

sudo apt-add-repository ppa:yannubuntu/boot-repair
sudo apt-get update

If you get 404 Not Found messages and an error Some index files failed to download. They have been ignored, or old ones used instead.
 that tells you that the ppa does not exist for your release.


Older versions of the Skype desktop app for Linux will no longer work
  from July 1 this year, Skype has said.

  “All Skype for Linux client version 4.3 and older will be retired on
  July 1, 2017. To keep chatting, please install the latest version of
  Skype for Linux,” a notice on the Skype for Linux download page reads.

To install the latest Skype, download it from here

once downloaded you can either use Gdebi to install it, or just Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo dpkg -i skypeforlinux-64.deb


Multi-NIC client w/ isc-dhcp-server & dynamic bind9 recommended configuration

What I wound up doing was using MAC address cloning which on the most recent version of NetworkManager (1.2.2-0ubuntu0.16.04.3)  works across wifi and eth0.

On the DHCP server I did find it necessary to disable conflict detection (from time to time) with
update-conflict-detection false;


$USER is here to see as a shell variable. The third command above adds your user to the wireshark group and should be replaced by sudo adduser <yourUser> wireshark.
Now you should be able to invoke wireshark as yourself (no need to sudo anymore).


Make sure you download the ISO for the Desktop release.  If you download the alternate ISO it does not have the LiveBoot "Try Ubuntu" or use the graphical installer.

To download the latest desktop release of the ISO go here:

Download Ubuntu Desktop ISO

In the first box select whether you want 32 bit (recommended) or the 64 bit release then click the "Start Download" button.


Why dhclient is still running when I choose static IP?

You first have to shutdown the interface (in dhcp mode) sudo ifdown eth0
Then edit the config nano /etc/network/interfaces

# The primary network interface
auto eth0
iface eth0 inet static
netmask 255.255.0.0
address 10.10.130.128
gateway 10.10.1.1

Bring the interface back up sudo ifup eth0

Otherwise dhclient doesn't correctly shuts down,


You have to enable the following software sources:

in "Ubuntu Software" tab:

main
universe
restricted
multiverse

in "Other software" tab:

Canonical partner (both binary and source);
independent (both binary and source).

Once you've done all this, open a Terminal window with CTRL-ALT-T and give the following command:

    sudo apt-get update -y

Now you should be able to install your desired software.


Use the bash [[ ]] operator and not the [ command ([ is the same as the command test):

if [[ ! -f $initUCounter && ! -f $initPCounter ]]

this should work.

See this discussion for more details. (The bash pitfalls page is a must read when you start to write scripts... will save you from hours of head-scratching)


How I can install Age of Mythology on Ubuntu?

To install in system32 folder of wine you have to stick the dll files that come within the cd1, then when you run the exe in dll tab again pidgen.dll adhere native initialization. The AOM is 2 CDS mark error when CD is a shift of the solution is to copy everything to a folder on the hard drive and folders compiar two right there cd will ask the give and take will continue to serve you and hope installing bye.

In Spanish.


Ubuntu 11.10 loads from live usb fine, but boots to black screen from harddrive. Why?

I apologize for taking up space here, but I discovered the problem on my own earlier today. I ran a diagnostic on my harddrive after running a boot repair utility. After running the utility, I received, "Unexpectedly disconnected from boot daemon." This prompted me to perform a full scan diagnostic on the drive, which kept returning an error. I then attempted using DBAN, or Darik's Boot 'n' Nuke, again but was also met with an error here. I ran the drive in an external enclosure and ran a scan from another computer. This time I turned up the problem: A corrupted boot sector on the physical disk. While this will require a rebuild (a new hard drive), I recommend that anyone else who encounters this problem take heed from this post.


Default kernel is missing from grub 1 menu

According to your menu.lst, Ubuntu 11.04, kernel 2.6.38-11-generic is the first and default option.  Normally if you installed originally a release of Ubuntu prior to 9.10, it used grub legacy, and the upgrade process will leave that in place.  I also notice that your menu.lst has an option to chain load grub2, so it looks like you somehow got both grub legacy and grub2 installed, which is not allowed.  Did you manually install grub-legacy with a livecd?

At this point I would suggest trying to purge all traces of grub legacy and reinstall grub2:

sudo rm -fr /boot/grub
sudo apt-get install --reinstall grub-pc
sudo update-grub

During the reinstall step, you should be presented with a menu with a blue background asking you to check off which drives grub should be installed to.  Make sure your boot drive is selected.  If you don't get that screen, then you can force it by running sudo dpkg-reconfigure grub-pc.


How do I disable network manager permanently?

The method depends on desktop environment:

For Ubuntu MATE 18.04 LTS and 20.04 LTS purging network-manager package is safe. You can simply run:
sudo apt-get purge network-manager

For Ubuntu 18.04 LTS and 20.04 LTS with GNOME desktop purging network-manager package will also purge ubuntu-desktop and gnome-control-center (essential part of GNOME desktop). So it is not an option.
Here you should disable NetworkManager service (as you have already done):
sudo systemctl stop NetworkManager.service
sudo systemctl disable NetworkManager.service

and three more services:
sudo systemctl stop NetworkManager-wait-online.service
sudo systemctl disable NetworkManager-wait-online.service

sudo systemctl stop NetworkManager-dispatcher.service
sudo systemctl disable NetworkManager-dispatcher.service

sudo systemctl stop network-manager.service
sudo systemctl disable network-manager.service

and then reboot.

Notes:

You can read more about network configuration with /etc/network/interfaces from Ubuntu 16.04 LTS Server Guide.
Modern Ubuntu 18.04 LTS server uses netplan, you can read about it in the Ubuntu 18.04 LTS Server Guide.


Ubuntu 14.04.2 LTS x64 live CD or live USB doesn't boot on Gigabyte GA-H97M-HD3 motherboard

Finally the best choice is extract the graphic card, install ubuntu and then install nvidia drivers before insert again the graphic card. It must be noveau driver which doesn't support my MSI GeForce GTX750 OC 2GB GDDR5


this stands out to me, in the walls of text:dpkg: dependency problems prevent configuration of maas-dns: maas-dns depends on maas-region-controller (= 1.2+bzr1373+dfsg-0ubuntu1); however: Package maas-region-controller is not configured yet.
try reinstalling and configuring the maas-region-controller


You could check this answer: create a .deb Package from scripts or binaries
The answer provides a quick guide in 8 simple steps.

As an extra you could check a similar procedure for Python scripts:
Create deb package for Python source and upload it to ppa at Launchpad


Failure to download extra data files: flashplugin-installer

I had the same problem and have fixed it with the following two steps from the command line:

Removing flashplugin-installer completely with the following command

sudo apt-get remove --purge flashplugin-installer

Re-installing flashplugin-installer again with the command

sudo apt-get install flashplugin-installer


Navigate through pictures in a compressed file without extracting

OK, mounting the ZIP or RAR or Tar file with Archive Mounter seems to be it! But there is a problem: if the file is password protected, Archive Mounter crashes. Submitting the bug right now.


How do I get and modify the source code of packages installed through apt-get?

Use the command apt-get source <package> (don't use sudo with it) to download the source of a package.

From man apt-get:

   source
       source causes apt-get to fetch source packages. APT will examine the
       available packages to decide which source package to fetch. It will then
       find and download into the current directory the newest available version of
       that source package while respect the default release, set with the option
       APT::Default-Release, the -t option or per package with the pkg/release
       syntax, if possible.

       Source packages are tracked separately from binary packages via deb-src type
       lines in the sources.list(5) file. This means that you will need to add such
       a line for each repository you want to get sources from. If you don't do
       this you will properly get another (newer, older or none) source version
       than the one you have installed or could install.

       If the --compile option is specified then the package will be compiled to a
       binary .deb using dpkg-buildpackage, if --download-only is specified then
       the source package will not be unpacked.

       A specific source version can be retrieved by postfixing the source name
       with an equals and then the version to fetch, similar to the mechanism used
       for the package files. This enables exact matching of the source package
       name and version, implicitly enabling the APT::Get::Only-Source option.

       Note that source packages are not tracked like binary packages, they exist
       only in the current directory and are similar to downloading source tar
       balls.

To build a package from source, first install the build dependencies:

sudo apt-get build-dep <package>

Then use dpkg-buildpackage to create a .deb file. From APT and Dpkg Quick Reference Sheet:

  dpkg-buildpackage Builds a Debian package from a Debian source tree. You must be in the main directory of the source tree for this to work. Sample usage:

 dpkg-buildpackage -rfakeroot -uc -b

  Where -rfakeroot instructs it to use the fakeroot program to simulate root privileges (for ownership purposes), -uc stands for "Don't cryptographically sign the changelog", and -b stands for "Build the binary package only"

In a terminal, cd into the directory containing the package source (e.g ~/code/hellanzb-0.13) and run the following command:

dpkg-buildpackage -rfakeroot -uc -b

If the build is successful, there will be a .deb file located in the parent
 directory (e.g ~/code/hellanzb_0.13-6.1_all.deb).


How to find out the drivers causing failure of suspend?

Sorry! I have felt that pain.

For me, problem is network. Suspend is not gracefully shutting it down. If you turn off networking before suspend on my Dell PRECISION 5510, it almost always suspends fine.

If you don't find that is fix, problem is very tough. My idea there was to read files in /var/log in time vicinity of fail, but did not gain much so far. You need to post more details, but even then we might not figure it out.

Also, if you can disable Nvidia or other video and use on board graphics, suspend is smoother.

I suspect the "one out of 5" symptom is due to additional services that are activated as time goes by. Perhaps added devices or unfinished jobs.


I get "dpkg error" when I try to install anything

dpkg --configure apt

That should do the trick.
It seems to me that your Package Manager isn't configured probably, And the command that is proposed above should do that.


I discovered this is controlled by:
/usr/share/polkit-1/actions/org.freedesktop.login1.policy action item org.freedesktop.login1.hibernate-multiple-sessions

Instead of changing the setting here and potentially losing it during an update I created:
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate-multi-sessions.pkla
With the contents:

[Re-enable hibernate by if mutliple seesions are active]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate-multiple-sessions
ResultActive=yes

Now I can hibernate the computer no matter how many sessions are active.


How do multiple && and || work with if statements

This is called "operator precedence" in computer science lingo, and if you search man bash for precedence you will find the answer to your question:
          Expressions may be combined using the following operators,
          listed in decreasing order of precedence:

          ( expression )
                 Returns the value of expression.  This may be used to
                 override the normal precedence of operators.
          ! expression
                 True if expression is false.
          expression1 && expression2
                 True if both expression1 and expression2 are true.
          expression1 || expression2
                 True if either expression1 or expression2 is true.

          The && and || operators do not evaluate expression2 if the value
          of expression1 is sufficient to determine the return value of
          the entire conditional expression.

Note the last bit... if you write "if true || something" then "something" will never get done.


Ubuntu 16.04 does not start after Gnome shell installation

Press Ctrl+Alt+F1 when it hangs to start text-mode. Type in your username and password to login.

From there, you need to enable lightdm or gdm, depending on what gnome is configured to:

sudo dpkg-reconfigure lightdm


How to execute a script via contab in ubuntu 12.04?

Edit: Misunderstood question. */2 for a job every 2 minutes.
Then use below to see if its running

You can do something like this:
cat /var/log/syslog | grep cron

to see just the cron entries in the system log.

Or open up /etc/rsyslog.conf and uncomment the line that looks like this
cron.*    /var/log/cron.log

That will create a file in /var/log which you can monitor with tail:

tail -f /var/log/cron.log


The problem was that dnsmasq wasn't installed as I assumed that it should be installed by default.

apt install dnsmasq

solves the problem.


How can I check the details of my Ubuntu installation?

You can find out what version of Ubuntu you are running from various ways.
Open the terminal by pressing Ctrl+Alt+T and then type lsb_release -a to give you details of your Ubuntu.

Terminal output for mine:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:    14.04
Codename:   trusty

You can also run uname -a, which will give a little more complicated but understandable information. (For help with the command type in the terminal man uname or uname --help.)

Terminal output for mine:

Linux tony-Inspiron-7559 4.4.0-45-generic #66~14.04.1-Ubuntu SMP Wed Oct 19 15:05:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Also, you can head to Settings and look for Details or About This Computer and that can give you details of your distribution.

As for End of Life (EOL), the Ubuntu wiki has a list of current and end of life distros, and full details of support dates, periods, docs of distros etc.

Here is a quick reference from the site, a table that decribes the suport life of each version of Ubuntu:


Is there a GUI app for managing Desktop Environments?

The answer to this question, as of August 2018 is "no" as far as I can tell. After my original foray into trying DEs I had to completely reinstall my system as things were acting so buggy. Since then I've learned a bit more and modified my default DE applications (like trying out lightdm for login instead of gdm etc) but mostly I've found it best to just stick with one DE and not mess with stuff to much.

I also did hear about an old project called crunchbang which is no longer running, but took an interesting extremely modular approach to DEs. It continues on under a couple of different projects by thge community, one named BunsenLabs if I remember correctly.


Are there stable open source apps that would work well for conferencing, larger meetings or teaching?

BigBlueButton is a stable and useful teaching platform, however, it is not peer to peer. It's a web-based app that runs on a server and has very specific software system requirements.  There are several companies that host installations for educational institutions.
It's got whiteboard and slides support. Unlike teams, it works just as well with Libre Office. Unlike Zoom, it doesn't require anyone to install special software.
Routing system sound through it, however, is slightly fiddly.


How do I browse the Windows folder in Ubuntu?

I had to install another file browser (Thundar file Manager) and it worked. Apparently the default file manager just doesn't like dealing with the Windows folder.


safe way to install AMD Catalyst Control Centre?

You should be able to access the command line by pressing CTRL+ALT+F6. (or anything between F1 & F8) they are all TTY's, the desktop usually runs on TTY7 (CTRL+ALT+F7).
do sudo apt-get remove for anything you installed before reboot. and cross your fingers.


Go to >> System settings>>Details  >>Default Application