Ubuntu Core Raspberry Pi 3 Image not working on Raspberry Pi 3 B+

The Ubuntu Core Raspberry Pi 3 image works for the Raspberry Pi 3 B+.  There is not a special image at this time.

The B+ has the additional features/hardware:

Broadcom BCM2837B0, Cortex-A53 (ARMv8) 64-bit SoC @ 1.4GHz
5GHz Wifi w. AC support
Bluetooth 4.2
Power over Ethernet
'Gigabit' Ethernet (~300Mbps max)

Raspberry Pi B Specifications
Raspberry Pi B+ Specifications

If you are having issues with the image, please specify.


Should I format my hard drive when upgrading from 13.10 to 14.04?

For a truly clean install, the HD will be formatted.  I would suggest that you copy your file structure to a portable hard drive, rather then hope to keep a partition on your old hard drive through the process of reinstalling Ubuntu.


Cairo-Dock crashed my Unity desktop, is this possible?

You could check this - if this following works better in the end
(It is unknown if your machine has enough RAM and enough space on harddisk):

a) install window-manager xfce4 with

  sudo apt-get install xfce4

then let display-manager there be adjusted at light-dm

plus b) after a) is settled then install window-manager gnome and gdm with

  sudo apt-get install gnome gdm

then adjust the display-manager now at gdm (there is a query during installation which display-manager you want to use - there adjust this to 'gdm' in the given little menue)

and reboot your machine.

Back into terminal you can (you have not to do this) remove unity with

  sudo apt-get remove unity

Now cairo-dock would work together with gnome, or you let unity there be present as option for later, in case above window-managers are not pleasing you. But all I can say is, that gnome is working fine with cairo-dock.


useradd -m -g users <username> will add the user username to the users directory. Look into the useradd reference for more info on using the command.


how to add multiple ethernet interfaces to linux

If you do ifconfig -a it will show you all devices recognized by the system. If eth1 is not present there, system does not see it. Do you have two Ethernet cards ?


How can I connect to wireless printer Epson XP-225?

A printer that attaches wirelessly is given an IP address by the router. Check your own Ubuntu machine from the terminal:

ifconfig

You will see the IP address your own computer has on the network. It may be, as an example, 192.168.0.15. Likewise, your printer has a different IP address of its own. You can find the address by pressing the 'network status' button on the printer. This is explained on page 14 here: http://content.etilize.com/User-Manual/1028142396.pdf

A network status page will be printed that will give you, among other things, the needed IP address.

Then add a network printer as before and use the Device URI of: ipp://192.168.0.11:631/lpr but substitute the IP address you found from the printer for my example 192.168.0.11. The port number, 631, needs to be specified as that is the port number that the CUPS printing system uses.

Then you can go forward with the configuration, select the make, model and driver and print a test page.


Disabling hardware acceleration in Chrome settings is the workaround I'm using for now. After disabling hardware acceleration, full-screen videos work fine.


What Partition of HDD should Ubuntu be installed?

Installing Ubuntu using WUBI (i.e. from within Windows) doesn't require any extra partitions to be created. It simply creates a file on your Windows partition, and adds an entry to the Windows boot loader to boot an OS (Ubuntu) from this image file.
It also adds an entry to your "Add/Remove Programs" section of Windows so that you can easily remove this Ubuntu image file from your C: (i.e. your Windows partition). The only real downside to this AFAIK is a very slight decrease in speed due to being restrained by the Windows filesystem (NTFS or FAT) speed-wise, but this is only a slight decrease and it's not really noticeable to most users.

See (1), WUBI installs don't need any partitioning.


Where can I find gedit's backup files and how to open them?

Navigate to the directory where you were working and press Ctrl+H to show hidden files in it.

There should be a file ending with a ~ and preceded by the same name of your document. Right-click on it and select to open with gedit. Save the information with a different name.


how to install ubuntu on my Samsung galaxy s2

Ubuntu touch is pretty much a device OS by itself. You will lose all of your Android data, and applications if you install it. Please read the wiki page for more details and installation instructions.


Can't Mount Blank DVD, Only Video DVD and music CD

due to low points, I cant comment, but I think, mount command is to mount a file-system, which on a blank disk,  doesn't exist. ... I would probably edit out that bit giving up the mac address of computers on your local network.

Youll need to write a File system, to be able to mount it.


There is a bug in Ubuntu 18.10 concerning PDF thumbnails.
If the thumbnails preview works with pictures and movies, but not with PDF, you should look at this LaunchPad bug report.

Moreover, you may need to erase the files of this folder:

.cache/thumbnails/fail


MacBook Pro camera not working on Ubuntu 18.04

Update
The firmware repository was moved to a separate repository. The procedure now is

cd /etc/local/src
git clone https://github.com/patjak/bcwc_pcie.git
cd bcwc_pcie/firmware
git clone https://github.com/patjak/facetimehd-firmware
cd facetimehd-firmware
sudo make
sudo make install
cd ../..
sudo make
sudo make install   # (Update with make install for 18.04)
sudo depmod
sudo modprobe -r bdc_pci
sudo modprobe facetimehd


How to assign a non working key to another key?

You may want to check XKeyCaps utility launchpad page.

XKeyCaps is a GUI application (a front end for xmodmap) which does exactly what you want to do with the help of an on screen keyboard where you can remap keys.

You can also find video on YouTube runing the application on Ubuntu demonstrating its use.


Can't boot Ubuntu 18.04 that's permanently installed on USB flash drive

Switch off laptop
disconnect the large LiIon battery
unplug from 110/240V mains (or disconnect adaptor)
press Power On button (to drain all power)
wait 30 seconds
reconnect battery and power and switch on


To find host ID run hostid in Terminal.

http://manpages.ubuntu.com/manpages/trusty/man1/hostid.1.html


Google account integration like in Fedora 21

I think you can get it by using the GNOME environment in Ubuntu (I do, or Xfce). This the one Fedora defaults to (Ubuntu GNOME does as well), except Fedora usually has a much newer version (I prefer 3.8 or 3.14 - (though 3.10 and 3.12 are easiest to get in Ubuntu).

You can install Gnome 3.14, but it will probably break things (such as Unity) and some bits I think are missing.

But you should still have roughly the same setup - go to Settings > Online Accounts:

You probably can get a similar result with the default nity desktop, but I can't check because I uninstalled Unity on my Ubuntu machines :)

Also Ubuntu has evolution and geary available, both of which I think can sync with GMail without the desktop being integrated as well.


Unable to resolve hostnames while using APT, what could be the problem?

Your network configuraton is broken. If you are using a static IP you must manually add the DNS servers to /etc/resolv.conf .
For example, to use google public dns service, append the following lines to the file.

nameserver 8.8.8.8
nameserver 8.8.4.4

I am assuming that your IP network is properly configured and you can ping those IPs .


It may be quite disturbing and I might be wrong but the behavior that you describe was maybe a bug of Wine (which may took a long time to be corrected).

Let me explain why :

Wine is a layer to Linux that helps windows programs to run under Linux. So the objective of Wine is to mimic Windows because if he does not do this then programs fails to run correctly.

Windows path works only in two modes : UNC (\Computer\path\something) and Drive letters (C:\Windows\System32)

Having the Unix/Linux path system under windows ( /. as you want to do) is against the laws of windows and so against Wine. Plus this is something weird because under Unix it refers to a dot file under the root folder (but you can't have it because the . has a special meaning and must be followed by at least a letter or number)

If I misunderstood you please provide more details.


Based on the EXT3-fs device mapper error in dmesg, it seems that this is a known issue with mounting ext filesystems from certain ReadyNAS devices (which use 16k block size) on x86 systems (which have a 4k ext3 block size limit).

There is a suggested workaround in a post by user 'kernst' on the ReadyNAS user forum Using fuse-ext2 to access ReadyNAS-formatted ext3. The basic steps are

install the fuseext2 package (which should be available from the 'universe' repository)
mount the volume containing the ext3 filesystem using fuseext2

Since you are trying to mount an LVM logical volume rather than a plain block device the format of the fuseext2 command should be something like

fuseext2 -o ro,allow_other /dev/c/c /mnt/fcroot

where /dev/c/c is the /dev/vg/lv block device name of your volume. When you are done, you can cleanly unmount the filesystem using

fusermount -u /mnt/fcroot

Currently this workaround only supports read-only access. There were some search results suggesting that newer 3.x Linux kernels have native support of ext3 block sizes above 4k, but I was not able to confirm that (or whether it helps in this situation, without accompanying changes in page size).


I had some trouble while installing Ubuntu 13.04 on a Lenovo ThinkCentre, which is not directly related to your question, but you might see some smiliarities here. First, removing Win8 causes issues as the standard Lenovo boot process asks for a Windows entry in the EFI boot partition - just about the entry, not about 'real' data. I did this via command line on a Live-CD. (Got the info from this forum entry.)
You can verify if an entry is there with

$ sudo efibootmgr -v

If it is missing, create one

$ sudo efibootmgr -c -d /dev/sda -p 1 -l '\EFI\ubuntu\grubx64.efi' -L "Windows Boot Manager"

Then verify, if the entry is there and check the boot order; Ubuntu needs to be first, followed by the Windows entry then the remaining ones:

$ sudo efibootmgr -v
$ sudo efibootmgr -o 0000,0001,000A,000B,000C #according to the boot entries

Prior to an UEFI installation I also got rid of the standard partition tables and created GPT partition tables manually, although Ubuntu does that automatically if you pick the option of "install Ubuntu and use entire disk". Since I did want my root and home to be separated, I did not follow this procedure, so used gparted on a Live-CD.

Then, crucial was to flash the BIOS, which I did by downloading the .ISO-file from Lenovo's website and created a Live-USB drive. This step was incredibly important, as the Lenovo UEFI could not detect the signed Ubuntu kernel ("Error 1962 - no operating system found"). After that I did not need to turn off Secure Boot, Quick Boot and OS Optimized Setup options inside the "BIOS".
Here is the entry for grbu4bios with a nice description (credits go there), download the latest edition from here (scroll down to the bottom of the page) and unpack it to your working directory:

$ sudo fdisk -l   #find out which one is your USB drive
$ sudo ./bootlace.com /dev/sdb

copy these two files to the USB drive: grld and menu.lst
copy the bios.ISO (e.g. f1j951usa.iso) to the USB drive
open menu.lst with gedit:

title thinkpad-bios  #can be any title
map (hd0,0)/f1j951usa.iso (hd32)  #according to the file you've downloaded
map --hook
chainloader (hd32)
boot

After that, boot from the USB drive and select the last entry, follow the procedures. You might want to note down the Serial# and MachineID first, in case the flashing process asks for updating those two.


How do I configure networking when using XEN on 12.04 Server

use the instructions here for Debian. The link contains an example for configuring a static IP address by editing  /etc/network/interfaces to contain the following lines:

iface xenbr0 inet static
bridge_ports eth0
address 192.168.1.2
broadcast 192.168.1.255
netmask 255.255.255.0
gateway 192.168.1.1


sudo apt-get install openjdk-7-jre

 sudo apt-get install openjdk-7-jdk

Here More help for installing java in ubuntu


acer_wmi: unable to find wmid devices - ubuntu 14.04

Try blacklisting the acer-wmi kernel module:

sudo nano /etc/modprobe.d/blacklist.conf

add blacklist acer_wmi as a new line at the bottom of this file.

then reboot.

Or if you like one-line tricks:

echo blacklist acer-wmi | sudo tee -a /etc/modprobe.d/blacklist-acer-wmi.conf

source

The acer-wmi kernel module enables you to control the following:

the wireless LAN card radio
inbuilt Bluetooth adapter
inbuilt 3G card
mail LED of your laptop
brightness of the LCD panel

For some acer laptop models - there is a conflict between the Acer firmware and the kernel implementation.  This is why you need to blacklist.

If you need any of the capabilities above and they are not enabled by other kernel modules then you have a choice - live without the capability ... or live with the brief VT switch during boot.


What are some good ASCII art generators?

jp2a

Another good program available in the repositories is jp2a, and there is some good documentation on it at the official site and on the Ubuntu manpage.

It should be said that the program will convert any jpg, but it is best to use simple, logo or cartoon like pictures as they come out much better. If you need to convert your image to jpg beforehand, just use imagemagick's convert utility and run convert logo.png logo.jpg.

There is often a need to fiddle with the jp2a options to specify the characters used, the size of the ascii, or to invert the representation. Once you get the settings right you can get good results, however, as I display in the screenshot below. The results do, however, depend a lot on the image you have chosen to convert to ascii.

As an example, I have used the following command to do an ascii representation of the Ubuntu logo, which displays on the terminal screen and also saves to file: (This assumes the input ubuntu-logo.jpg is in your present working directory)

jp2a -i --chars="..00xx@@" ubuntu-logo.jpg | tee ubuntu-logo.txt


Adding GRUB_CMDLINE_LINUX="acpi_sleep=nonvs" to /etc/default/grub and then running sudo update-grub seemed to fix the problem.


Can Wubi install access entire Windows partition?

Yes. Host partition is accessible from /host


What open-source video editors are available with 4k capabilities?

Looks like Lightworks will be available for ubuntu next month.

http://www.omgubuntu.co.uk/2012/09/oscar-winning-video-editor-lightworks-landing-on-linux-in-october

Lightworks running on Ubuntu


After some words in the chat, here is the solution:

sudo rm /etc/alternatives/my.cnf
sudo ln -s /etc/mysql/mysql.cnf /etc/alternatives/my.cnf

Why? The file /etc/alternatives/my.cnf has to be a link and nothing else.

That was the error message:

$ sudo update-alternatives --config my.cnf
update-alternatives: warning: alternative /etc/mysql/mysql.cnf (part of link group my.cnf) doesn't exist; removing from list of alternatives
update-alternatives: error: unable to read link `/etc/alternatives/my.cnf': Invalid argument


Why did Unity stop working after I upgraded to the 3.4.3 mainline kernel?

This kernel apparently lacks drivers needed for Unity support, as it's a mainline kernel without Ubuntu added code and drivers.

To go back to your old kernel:

Reboot and right after your system finishes the self-test (POST) routine, press the left shift key and keep it pressed until you get to the GRUB menu.
Select "Previous Linux versions" and boot with a 3.2-series kernel
If you want to remove the non-working kernel, open a terminal and type

sudo apt-get remove linux-image-generic=3.4.3


Open software center.

Goto  Edit > Software sources

Uncheck Installable from CD ROM/ DVD

Then run sudo apt-get update


Ultimately I ditched "Backup" app and now use "Grsync" (GUI)  and Rsync for the terminal.  Also, reported errors related to use of colon < : > and < ? > in file names - once corrected all fine.
Sincere thanks to those who helped - greatly appreciated!


Kubuntu 14.04 ignores /etc/default/locale


Try this,
open terminal and enter:

sudo ubuntu-drivers devices

It will show you the available drivers for your graphics card. To install the drivers automatically, enter:

sudo ubuntu-drivers autoinstall

wait for the proccess to finish then reboot.


After upgrading Ubuntu to 17.10 Ubuntu boots without errors, for now...


Delete all i386 packages from my local repository?

A two-stage method would be to create a script which, given a path to a package, checks for the existence of an amd64 version and if it finds such a version, deletes the i386 package.

Something like:

#! /bin/bash

for i
do
    PKG=${i/i386/amd64}
    if [[ -f $PKG ]]
    then
        rm $1
    fi
done

saved as script.sh, for example.
And then:

find ${REPOSITORY_ROOT} -iname '*i386.deb' -exec ./script.sh {} +

The whole thing can perhaps be done using a single find command, but this should be enough.


How do I open files that are not located inside wine's virtual C drive?

From inside Winamp and other applications running within Wine then you should be able to navigate to the 'Z' drive to access your Ubuntu filesystem.


How do I get from the shell to the actual OS?

Windows installer is not recommended/supported  with windows 8: http://www.ubuntu.com/download/desktop/windows-installer. You need to install with the normal procedure (and it could be a bit tricky due to the "safe boot" feature). There is a link in the aforementioned page, that reads "learn more..."

By the way, the graphic interface is a shell too ;-).


Second monitor available without beeing connected

What do you mean by Both Connectors are empty the whole time? Did you update the Nivida Drivers?

For Ubuntu 12.04 Open your Terminal and run the code below and it may resolve your issue if I understand it correctly.

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

sudo apt-get update

sudo apt-get install nvidia-current

Alternatively you can go to System Settings, hardware, additional drives.  The system should search for additional drivers that need to be updated

-Govna


How to Set password to open an application?

There is no way to protect an application with a password like that.

The easy solution is to use Linux like it is meant to be: Let nobody use your user account. Your account password is the password to all your data.

If you still want to let everyone use your account, you could create a second account, let's call it notes and use that instead. Then you can call:

su notes
tomboy

This will then prompt for the notes's users password.

Or you use a tool like TrueCrypt, create an encrypted container and move your notes into there.


Can you ping the server by IP? by its fully qualified name of sdns1.ovh.ca?

If you can, then you have to give more information on your server setup.

Can you clarify what type of DNS setup you have configured?  Cached, primary master or secondary master?  if cached, what have you setup in your /etc/bind/named.conf.options file? If primary, what have you set in in your forward and reverse zone files? etc.


Does Kernel HWE 4.18.0-13 support overlay nfs_export=on?

To check if the overlay module support the NFS feature you can run modinfo overlay.

root@host:~# modinfo overlay | grep nfs
parm:           nfs_export:bool
parm:           ovl_nfs_export_def:Default to on or off for the NFS export feature

That should print lines containing NFS. Additionally you have to enable other overlay features as well.

-o index=on
-o index=on -o redirect_dir=nofollow when there is no upperdir


20.04LTS Upgrade button not working for me after being offered today Oct. 8, 2020?

In the terminal, do...
sudo apt-get update
sudo apt-get upgrade
and install any updates it shows there. Then run Software Updater again. Then you should be able to update to 20.04.


Deja Dup Backup: Limit Drive Space Usage and Force Full Backups Only

1) You can do this, but only on Deja Dup 24 or higher.  Which means using Ubuntu 12.10 or higher.  There is no backport to 12.04 LTS right now.

To make Deja Dup 24 always do full backups, run the following:

gsettings set org.gnome.DejaDup full-backup-period 1

2) Nope!  :-/


Delete old backup folders from directory using cron

Parsing ls is not a good idea at all, so here's a solution I consider more stable:

find /BACKUPDIR/ -mindepth 1 -maxdepth 1 -type d -print0 | sort -z | head -zn-6 | xargs -0 echo rm -rf

This just prints the rm command for testing purposes, if it does what you want remove echo and simply add it to your crontab, e.g. to run every Sunday at 18:00:

00 18 * * 0 find /BACKUPDIR/ -mindepth 1 -maxdepth 1 -type d -print0 | sort -z | head -zn-6 | xargs -0 rm -rf


Microphone doesn't work after rebooting on a Macbook 2.1

I think I solved the issue and so I'll answer my own question. I simply went to the Software Center and uninstalled PulseAudio. I have Gnome ALSA Mixer instead and everything seems to be working fine now.

It's not a technical answer, but it works and thats all that I want.


How to create a .tar.gz file owned by a specific owner and group?

To combine into one step you can do something along the lines of

tar -cvzf - temp/ | su absonegative -c "dd of=temp-backup.tar.gz"

This assumes that the default group of the absonegative account is also absonegative


How can I automatically mute the volume at every boot?

I think this needs two parts:

To mute the sound in GDM, put:

amixer sset Master 0
amixer sset Master off

in the file /etc/rc.local (make sure exit 0 is the last line in that file). This will set the volume level to 0 on the Master channel and mute it.
To mute the sound in your session, add the above to the startup applications:

System > Preferences > Startup Applications, then click on Add and create the new startup entry:

Name: Mute Sound
Command: /bin/bash -c "amixer sset Master 0 ; amixer sset Master off"
Comment: Set Master channel volume to 0 and mute it

Click on Add and Close, and you should be done.

You can skip part one, if you turn off the login sound in System > Administration > Login Screen (untick the Play login sound checkbox).


Ubuntu software error "Error opening directory "/usr/share/appdata": No such file or directory"

Ran into the same issue today, ending the process and re-opening it resolved it for me.

Steps to reproduce what I did:

Open System Monitor and search for snap-store
Select the snap-store process and hit End Process
Re-open Ubuntu Software

On the technical side of things this looks like a minor permissions issue, not much to worry about.


Every computer system has limits. 232 is 4,294,967,296. (4294967296/(1024*1024)) is 4096 (e.g. 4 GB). However, Linux has (or had) support for PAE which allows for up to 64 GB. At the moment, the limit on 64-bits is around 246 bits, which is 67,108,864 GB (or 64 PB).


Samba Ubuntu 20.04 -> Windows slow transfer speeds

Try these samba tweaks to see if you can improve your transfer speed, I used them and I can transfer from my Windows PC to my Linux Server a file about 1GB in size in a bout 1 min or less over WiFi.
#Backup original settings
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.orig

#Open file to apply samba speed tweaks
sudo nano /etc/samba/smb.conf

#Locate and change the following lines in smb.conf
read raw = Yes
write raw = Yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
min receivefile size = 16384
use sendfile = true
aio read size = 16384
aio write size = 16384

Don't forget to save and close the file after you edit the above section.
For the socket option, you can also try these settings to compare which works best for you:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072


Step #1:

First, you should also check your /etc/fstab to assure that the mount for your NTFS partition does so as rw, not ro.

Step #2:

If you still had Windows installed, I'd recommend a different path to fix this problem.

And as always, I'd always recommend good backups.

However, without windows, (and although I wouldn't normally recommend this in a dual-boot environment) you might use ntfsfix.

In terminal...

For more information:

man ntfsfix

To use:

sudo ntfsfix /dev/sdaN # replacing "N" with the correct partition number


It turned out that the problem was because of a zsh alias defined as l:

alias -g l='| less'

As a result, zsh interpreted the l in

find . -type l

not as the type to look for, but expanded it to:

find . -type | less


Build failed with the command : quickly submitubuntu

I believe you are missing a build dependency to supply the missing program.

It appears that you could add the package libglib2.0-bin to your build dependencies to make the program glib-compile-schemas available at build time. Apparently the program is used with Gsettings. The launchpad build process installs just the most basic packages, build dependencies declared in your debian/control file, and their dependencies, before trying to do the build.

If a build dependency is missing from the debian/control file an error is supposed to result as an aid to getting the build-dependencies correct.

To answer this, I noted the missing file, entered the command locate glib-compile-schemas  and whereis glib-compile-schemas to find the missing file, and executed the command dpkg -S glib-compile-schemas to find the name of the missing package.

If you don't want to compile schemas as part of the build process you will need to adjust the build process by changing debian/rules or the packages make files.


If that's the case try entering sudo ./bnconfig --userpassword username pass replace username with a username if there is any and pass with the password you have been trying.


Upgrading 12.04 to 14.04 problem - system now unstable!

Sorry....  I think I answered my own question.  I double clicked on the .iso file and it did a self extraction and now the DVD seems to be installing on my Ubuntu computer.  Thank you.....  phil


I had the same issue but solved it by just making a python virtual environment and then running the command you listed.


Dell Inspiron 5570 Fingerprint Sensor Driver

The reader is https://certification.ubuntu.com/catalog/component/27c6:5301 and according to these discussions it doesn't have a way to make it work yet:

https://bbs.archlinux.org/viewtopic.php?id=234844

https://gitlab.freedesktop.org/libfprint/libfprint/issues/161


Have you tried checking Pulse Audio Control? You can sometimes track down problems in the settings there. In case it's not already installed:

$ sudo apt-get install pavucontrol
$ pavucontrol

Click on the Configuration tab, and check that the Profile is set to something sensible (e.g. "Analog Stereo Duplex"). Then go to the Output Devices tab, and check you can see your headphones listed in the dropdown box (and check that they are not muted).

You have my sympathies -- headphone problems can be a nightmare to track down sometimes.


How to hide the header of the Tabs component

Credit goes to Szymon Waliczek, who answered this on G+. The following snippet hides the header on all Pages except for the root page.

PageStack {
    id: pageStack

    onCurrentPageChanged: {
        if(pageStack.currentPage === pageRoot) {
            // mainview is the MainView's id
            mainview.header.visible = true
            mainview.header.show()
        } else {
            mainview.header.hide()
            mainview.header.visible = false
        };
    }
}

This works like a charm, although the toolbar still gets confused and is shown on the root page, where it's not even defined.

Any ideas on how to further refine this and instead of hiding the header, show the current Page's title instead of that of the parent Tab?


It seems that you are trying to install wrong package.

The corresponding liblzma.pc file is contained in liblzma-dev package. You can install it with:

sudo apt-get install liblzma-dev


How to have GUI in Dutch and terminal output in English?

To change it persistently, so you always have English when opening a terminal window, open the ~/.bashrc file for editing and add these lines:

export LANGUAGE=en_US
export LANG=en_US.UTF-8


Requested formats are incompatible for merge and will be merged into mkv

youttube-dl -f 249 https://www.youtube.com/watch?v=yXT1ElMEkW8

Option -F  List all available formats of requested videos

with the option -f you can choose the format, you want.


Yes, a problem like you describe is likely to be present. A bug report describing the issue is here, and still an open issue for the Linux kernel:

"i915 doesn't reach RC6 state after s2ram - Thinkpad T420, X220"
https://bugzilla.kernel.org/show_bug.cgi?id=48791


Create user and block access to parent directories

The first thing you want to do, is to set the home directory for the user. This can be done with sudo usermod --home /path/to/home/ username. It will not move any files, although you can do that as well if you provide the --move-home option.

I don't think you want to deny the right to change to the parent directory. That would be problematic and would serve no useful purpose. You need a way to access your home directory, so the parent must be accessible. What you probably do want, is to deny the right to see the content of the parent directory. That's something else. The execute bit (x) is used to allow people to change into a directory, whereas the read bit (r) is used to allow listing of files and directories contained in that directory.

You might simply do a sudo chmod o-r /var/www. Now, anyone (o="others") will still be allowed to cd into /var/www, but if they try to do an ls -la, they will get a permission denied error.

So the permissions for /var/www should look like rwxrwx--x.


First enter fg into same terminal that your ping command is running (it brings the process into the foreground), then press Ctrl+c to stop the process.


WiFi is not detecting in Ubuntu 14.10 - Mac

Maybe you are having a wifi device problem, I had the same kind of problem and it sucked.. I tried everything and yes I also thought that wl.ko is the answer xD but when I tried a USB WiFi device (TP-Link) it automatically connected :) you should try the same maybe it will work out (just an advice) anyways the 7th point means that it will produce a wl.ko file in the top level directory.If your driver does not build, check to make sure you have installed the kernel package described in the requirements above.This driver uses cfg80211 API. Code for Wext API is present and can be built but we have dropped support for it. As before, the Makefile will still build the matching version for your system.


Just go into Settings=>Text entry=> and remove the English layout:

That assumes you don't want the English layout at all. Given that your question was written in Spanish, I assume this is the case.


Does your mouse actually have a ball? Many do not, are solid state and use an LED/camera combination. If it has a ball, twist off the ball's retaining ring then remove the ball. There will be two or more rollers inside; clear any accumulation of rubber particles and dirt from the rollers, making sure to spin the rollers back and forth through at full rotation. Put the ball back in, lock in in with the retaining ring, and try again.


Changing gsettings for another user from an ansible script (started by vagrant)

I've also struggled with setting the launcher favorites via ansible.

For me the solution was to use the ansible dconf module instead of gsettings:

- name: set icons/applications
  dconf:
    key: /com/canonical/unity/launcher/favorites
    value: "{{ launcher_favorites }}"
    state: present

I guess it also works with other users via become_user (but I haven't tested it).


Cannot install burg: error during installation

The command to install Burg should be sudo burg-install /dev/sda && sudo update-burg

You should consider installing Burg Manager - details on installation can be found here - it is a GUI interface to aid in the configuration and setup of Burg.


Ubuntu laging and can I turn off root password?

You should not remove the admin password as this will allow your system to be hacked an insecure but you can log in as root  READ THIS

This will allow you to by pass the password and you can find your old home folder at /home/username

This is not recommended my best advice to you is use a short password and dont be lazy..:)


Confusion between archiving and compressing?

I think this one answers your question: https://unix.stackexchange.com/questions/127169/does-tar-actually-compress-files-or-just-group-them-together

To confirm what you think: tar indeed just puts the file together in an archive without any compression. It is the compression flags you can use that will make tar use a type of compression when creating the archive.

Also, the file extensions are typed manually, so you could be fooled like this:
tar -cz file > file.tar.bz2 (when you should have used .tar.gz instead)

If you want to extract this file later you will fool yourself thinking you used gzip compression, so know what you are doing or document somewhere what you did.


First of all, note the information in the following question:

Why can't I update applications without upgrading the whole OS?

This is an approach to build the Quantal (12.10) 4.0.1 version of gawk on 12.04 as a package. It applies to almost all packages you want to backport from a newer Ubuntu release to the one you're using. Most of the times it just builds cleanly. This one does.

Install some basic package build tools:

sudo apt-get install devscripts build-essential
sudo apt-get build-dep gawk

Install the key of the developer (example key!):

gpg --keyserver keyserver.ubuntu.com --recv-key B6897E7B

This key identifier should be replaced by the error output of the dget command below.
Make the devscripts use your keyring too, as per Added key, but dget still shows “gpg: Can't check signature: public key not found":

echo 'DSCVERIFY_KEYRINGS="/etc/apt/trusted.gpg:~/.gnupg/pubring.gpg"' >> ~/.devscripts

Download the source package (.dsc file link from gawk package page in the sidebar):

dget http://archive.ubuntu.com/ubuntu/pool/main/g/gawk/gawk_4.0.1+dfsg-2.dsc

cd into it:

cd gawk-4.0.1+dfsg/

First attempt to build (fails possibly):

debuild -uc -us

if fails, relevant output with dpkg-checkbuilddeps: Unmet build dependencies (below is an example!):

Unmet build dependencies: bison libreadline-dev libsigsegv-dev

Install the additional build dependencies you still need at this point. Example:

sudo apt-get install bison libreadline-dev libsigsegv-dev

Retry building (should build fine now!):

debuild -uc -us

cd back into the upper directory:

cd ..

Find your package there:

ls -al *.deb

Install it:

sudo dpkg -i gawk_4.0.1+dfsg-2_amd64.deb

Enjoy!

In case you don't want to bother compiling this stuff, you still have two options:

PPA

I've uploaded this on my PPA (waiting to be built at this moment) for your convenience.

My PPA
What are PPAs and how do I use them?

Manual installation of Quantal binary package

Download the appropriate .deb file from the packages.ubuntu.com page, e.g. http://nl.archive.ubuntu.com/ubuntu/pool/main/g/gawk/gawk_4.0.1+dfsg-2_amd64.deb
Install it manually:

sudo dpkg -i gawk_4.0.1+dfsg-2_amd64.deb


Your description seems like you are actually using 2 different accounts. You need to contact Ubuntu One support at https://one.ubuntu.com/help/contact/ about your issue.


I had the same issue with a HP and realtek wifi card. The repository drivers didn't work the card properly. After searching threads for a couple of days, I finally found (by trial and error) a driver source that worked.

first, try compiling the drivers yourself with (make,make install) to eliminate the possibility of a kernel mismatch. if that doesn't work search for newer drivers. if you get source, it doesn't matter what distro they come from because they will be compiled to match your kernel.

EDIT:
try these: wget https://github.com/FireWalkerX/ath10k-firmware/raw/master/QCA6174/hw3.0/board-2.bin


try these commands

These commands will delete the file where network state is stored and restarts the service forcefuly.

sudo rm -f /var/lib/NetworkManager/NetworkManager.state
sudo service network-manager restart


Does the Fn Lock (FnLk) on Thinkpad T440s work well with Linux?

yes, I tried it,

Works just fine on Ubuntu 13.10. If FNLK is on, the FN key has a small light on constantly as indicator


Simple backup with 2 servers in Ubuntu Server 14.10

Rsync is a fast and extraordinarily versatile file  copying  tool.   It
   can  copy  locally,  to/from  another  host  over  any remote shell, or
   to/from a remote rsync daemon.  It offers a  large  number  of  options
   that  control  every  aspect  of  its behaviour and permit very flexible
   specification of the set of files to be copied.  It is famous  for  its
   delta-transfer  algorithm,  which  reduces the amount of data sent over
   the network by sending only the differences between  the  source  files
   and  the  existing  files in the destination.  Rsync is widely used for
   backups and mirroring and as an improved copy command for everyday use.

   Rsync finds files that need to be transferred  using  a  "quick  check"
   algorithm  (by  default) that looks for files that have changed in size
   or  in  last-modified  time.   Any  changes  in  the  other   preserved
   attributes  (as  requested by options) are made on the destination file
   directly when the quick check indicates that the file’s data  does  not
   need to be updated.

Source: man rsync

Both pull and push methods are available...


How to monitoring log on multi server with log.io

The first, you should check architecture of log.io. This is image of it:

From image you can see, In each server must have one Harvesters. So you must install log.io in all server with command:

npm install -g log.io --user "root"

But with Master Server(ex IP: 10.0.0.86) you run 2 service is:

log.io-server & (only run in Master Server)
log.io-harvester &

In Another Remote Server(I call it is client Server) you must modify line server in file ~/.log.io/harvester.conf is:

server: {
  host: '10.0.0.86(IP Master Server)',
  port: 28777
}

and start service harvester on all client server with:

log.io-harvester &

And you remember allow IP Client Server to port 28777 & 28778 on firewall:

ufw allow from 10.0.0.85(IP Client Server)  to any port 22

The end, You connect browser to http://10.0.0.86(IP Master Server):28778 see multi server in here. If you not see client Server on browser you can Clear Cache or Ctl + f5(refresh browser).


Latest Ubuntu 12.04 kernel 3.2.0-51 does not boot graphical

Boot to your root prompt.
# lspci -vvk >> ~/devices.txt
Post the devices.txt file here.
Build your own kernel making sure to use menuconfig for your arch.

Be sure to enable MTRR for your system and possibly your VGA adapter.  Look for this option in menuconfig:

Processor type and features  --->
[*] MTRR (Memory Type Range Register) support
 [*]   MTRR cleanup support
 (1)     MTRR cleanup enable value (0-1)
 (1)     MTRR cleanup spare reg num (0-7)
[*]   x86 PAT support

If those options are enabled, you need to enable the kernel command line options for your vga device.  See Here.  Yes, the Distro is different, but the concept is the same.


You are missing the libboost-python-dev package. You can install it by running:

sudo apt-get install libboost-python-dev


Windows 7 and Ubuntu 14.04LTS dual boot, GRUB2 reinstalled using boot-repair, wireless USB keyboard, no keyboard recognized on GRUB2 screen resolved.

BIOS Setup
Integrated Peripherals
Legacy USB Support --> [Enabled]

I now have up and down arrow keys on the GRUB2 screen. NumLock is now toggled off at boot time, but NBD.

I'm not sure how to mark it RESOLVED, but since it's not a new thread, I don't think I have the power.


Touchpad not recognized after suspend (Ubuntu 14.04, Thinkpad T420)

I found a fix that works for my computer.

In terminal,

sudo vim /etc/modprobe.d/blacklist.conf

Enter a new line

blacklist i2c_hid

Save and reboot


You don't need to change anything in your resolv.conf file. By default, I think rsyslog can accept upto 20,000 messages in a 10 minute period. Open your /etc/rsyslog.conf file and look for the parameter:

$imjournalRatelimitBurst 20000

Here the rate limit is 20,000. You can change 20,000 to any value you like.


Auto compose for ^ and ¨ (Ubuntu KDE 20.10)

Thanks for your hint @vanadium !
I indeed set a "no dead keys" keyboard in the input options for whatever reason, and choosing the same without "no dead keys" fixed my issue.


Cannot boot in either OS after install (windows 8 or Ubuntu). Acer Aspire

From the boot-repair log,it was clearly shows that there was no bootloader was installed in /dev/sda.

So install grub2 on /dev/sda by chroot method.


Are you using a laptop or a desktop?
My laptop mic used to work awfully after every travel: I blame bad cabling.

I will try an external mic (or a different one) to verify if the problem is hardware or sw.

Can you confirm it doesn't work with any mic?


You probably need to adjust the UUIDs specified in the new /etc/fstab file and/or on the kernel command lines in your /boot/grub/grub.cfg file. You'll need to update them to match the UUIDs used on your new filesystems. You can learn these UUIDs with the blkid command, as in:

$ sudo blkid
/dev/sda1: LABEL="ESP" UUID="804E-E1FD" TYPE="vfat" PARTLABEL="EFI System" PARTUUID="2c47c282-ee6e-45de-a5ad-e8658ca67de6"
/dev/sda2: LABEL="/boot" UUID="c607bd95-8edf-4eb1-aa93-12db8f0e66a2" TYPE="ext2" PARTLABEL="/boot" PARTUUID="053eca6f-f0d4-41d3-9ee3-9f0155c6183e"
/dev/sda3: LABEL="untitled" TYPE="hfsplus" PARTLABEL="Unused" PARTUUID="a82773de-b428-4399-8f74-754056fa57cf"
/dev/sda4: UUID="F0FYTX-mtb3-b8Kw-WZ3I-AhB6-JG3l-yCXWkA" TYPE="LVM2_member" PARTLABEL="Linux LVM data (nessus)" PARTUUID="54c663df-15d9-4060-beb1-24098073d56d"

This output is just for the first few partitions on my computer; it's incomplete, but it gets the idea across. Note the UUID= values. You'll need to copy these UUIDs to the target files, replacing the old ones for the equivalent partitions.


1 thing to consider: If your Windows is hacked someone can use a cryptolocker to lock your Ubuntu container. A dual boot would prevent that. With dual boot your Windows and your Ubuntu need to be broken and not just main OS.

If anything I would try to set up the system with Ubuntu as a host and Windows as virtual. Use a good password and backup as often as needed.

  is it safe if I run Ubuntu on VMware on my original windows 10. will it do any harm to my windows

Yes, it is safe. The OS itself can not even see the host OS. If anything breaks it is more likely by your actions than anything else.


Ubuntu doesn't recognize my widescreen display

Try editing the resolution configuration file to force it to the right size, or make sure that you have the correct drivers.


I have Windows 7 on a 1TB HDD and I have installed UBUNTU on 240GB OCZ SSD

Disconnect your Windows discs (1TB and 96GB), then format your SSD and reinstall Ubuntu on it. Reboot and check it works, then re-connect your Win discs.


seems like i could solve the problem by deleting:

sudo apt-get purge libcheese-gtk23, libclutter-1.0-0, libcheese7

Though those libraries are needed by e.g. skype or steam.
So i had to reinstall skype and reconfigure steam.

After that now all works great (again)


How do i set up a webcam server for HTTP?

You can use VLC to capture and stream using all built in tools from the (imba) player:

Have a look here on how to set it up: http://wiki.videolan.org/Simple_Stream_VLC_to_Website


Why does ping fail with "icmp open socket: Permission denied" on Bash on Win 10?

This is a known issue:

https://github.com/Microsoft/BashOnWindows/issues/18.

ping doesn't currently work on WSL.

sudo and su not working are probably a result of the host file not being configured correctly. see this question: https://superuser.com/questions/1108197/sudo-on-windows-10-linux-subsystem-cannot-resolve-local-machine-name


tried downloading ubuntu 15.10 installer crashed computer useless

You did not actually ask any question, but I'm assuming that you want to install 15.10 and regain a working installation. I would create a live CD or bootable USB stick using another computer, boot the broken computer from that and install the new Ubuntu. That should fix your problems.

Just follow the instructions here for easy ways to switch to Ubuntu

Edit with details if computer does not automatically boot from CD or stick:
Enter Bios (watch out for this message during start up about which F-key to press, maybe F12?) and change the boot order so that CD or USB stick are preferred over your hard drive. Save these changes and reboot. In case your computer cannot boot from a USB stick, try a CD. (This may be the case for old computers)


How to join client ubuntu 14.04 to Domain windows

don't waste your time with PBIS...following are the steps  for joining 14.04 with domain server.

my Active Directory domain is : abc.com
server name : server.abc.com
user Name (admin) : satish

download : centrify-suite-2017.1-deb7-x86_64.tgz for Ubuntu 14.04 (for Ubuntu 14.04 64bit)
1(a) type su and give password. you will get root login.
right click on file and select extract here
change directory what ever you have like : cd /Downloads/Centify/centrify
Install samba services : sudo apt-get install samba
type ls, you should see install-express.sh
type ./install-express.sh
Just press enter ...enter ....n enter....
(i) provide Active Directory domain name when it ask "Please enter the   Active Directory domain to check [company.com]:abc.com (for my case)
(ii) Enter the Active Directory authorized user [administrator]: satish (type here administrator, in my case satish is administrator
   than enter password
(iii) Enter the name of the domain controller [auto detect]: server.abc.com (ds is my server name..you must type your server name)
Next enter ...enter ...enter...till restart automatic.

thats it....you are joined with your windows domain server...ask for any query....n....remember don't forget to uninstall bloody pbis from your computer if you preinstall the same and must network ip configure according to your netowrk


Why is SHLVL initially 2 in Ubuntu 16.10 (but not earlier versions)?

This unfortunate bug was introduced in Ubuntu 16.10.

For a bash work-around, see https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1707977/comments/3


Ubuntu 12.04 PHP5.3 opcache.so installtion problem

opcache.ini

zend_extension=opcache.so -> zend_extension=/usr/lib/php5/20100525/opcache.so

Fixed it for me on Ubuntu 12.04, PHP5.4


Split Stereo USB Audio Interface Line In to Two Mono Devices

Yes, you can do it. Thanks to ductility of pulseaudio you can manage input and output, source and sink of your sound card of your applications.

I do not know any already-done example/exercise, so you have to deal with it (at least start) by yourself.

As @CL stated above, this is a great source to start with. Here another useful place.

Finally, I suggest some GUIs: pavucontrol and paprefs, that can help you in this trip.


Accidentally set 'sleep-inactive-ac-timeout' too low

Brute solution
... But what wil work anyway is to start up with a live usb, navigate to /home/yourname/.config in your installed ubuntu (inside File System in the left pane of nautilus) and delete or rename the folder dconf.
On next startup, a new dconf database will be created, with default settings. You'll lose quite a few customized settings (if you set them), all the ones in gsettings/dconf, but it works.


Directories require the executable flag, so try sudo chmod -R 776 /tmp/test.

Linux/Unix requires the execute bit in order for the user to enter a directory and access its contents, this includes listing what is inside it.  Directory execute flags behave differently than a file's read flag.

Files within can be 666 however.


How can I prune a (kmz) track from my GPS?

The kmz are KML files Zipped (compressed).

Make a copy of the file, and rename the extension.

cp myfile.kmz myfile.zip

Unzip it.

unzip myfile.zip or with an 'archive' application.

Locate the file doc.kml and open it with your favourite text editor, or install an xml editor such as XML Copy Editor because doc.kml is an xml file.

Locate the data you no longer want.  Typically it will be between the tags <coordinates> and </coordinates>

Delete it.

There may be additional artefacts that you may, or will, want to delete. Such as

<LineString  id="g7">
<altitudeMode>clampedToGround</altitudeMode>
<coordinates>-115.478882259744,32.8305154499076,1
-115.47919506463,32.8301376995818,1
</coordinates>
</LineString>

As long are there are no dangling or unmatched tags, and the final file contains enough of the requisite information you will have a usable kml file.

It's your decision if you should compress it again into a kmz.


what is ftp username and password for vsftpd?

If you installed with the default vsftpd configuration, then you should be able to login using any valid local user account on the target machine. If that doesn't work, then check that local_enable=YES is set in the /etc/vsftpd.conf file and restart the vsftpd service.


KDE is CPU/GFX heavy. Do you have installed native opengl drivers for your graphics card?
you can have problem with your CPU power management driver (the cpu could be on the lowest frequency (power state), thus heavy loaded even when idle). Does this happen when your laptop is on A/C only or both A/C and batteries?
you can run top/htop to see the cpu usage, which process takes the most CPU resources
for prettier output you can install htop, it is nicer and have more features (apt-get install htop)
you can use iotop (apt-get install iotop) to monitor I/O load on your computer (this is just a bonus, but it might give you another hint which app is causing the high cpu usage, even if CPU % usage don't have much to do with i/o load)
there could also be some indexing going on (which you would see in top)

(note that all those commands are CLI (terminal) commands)

EDIT: I also run to an issue on Macbook Pro Retina 15" Late 2013 model with Ubuntu which caused high IRQ (interrupt) burts from the Intel GPU (iGPU) native driver. I had to disable the offending IRQ. The symptomps where high CPU usage (99%) but not from processes, but from kernel interrupts (htop shows these in red color).


Adjust the srt timestamp subtitles in a batch way

You can use my software, Subtitld, to do that. You can get it for free on Snap store. Use the Gap add/remove tool to make that adjustment:
https://youtu.be/AzlAJXCwXHI


It is possible (not a certainty) that you're dealing with electrical interference generated by other electrical components in your computer. It could also be a hardware flaw (in the OP's case this sounds less likely to be the problem since it has existed across multiple machines). Maybe the driver running your sound card isn't the best.

I find that a USB audio sound cards like the one shown below are cheap enough on amazon and have fixed my sound problems (similar to OP's, though not exactly the same) in the past. I've not purchased one yet that didn't work with Ubuntu, but a lack of Linux drivers for these sounds cards is always a possibility.

When plugged in, these are separate audio devices from the built-in sound card on your computer. As such, you may need to adjust your sound settings to use the USB sound card rather than the built-in device(s).


How can I find the version of Ubuntu that is installed?

Your version of Ubuntu can be determined by opening System Settings and then opening the System Info or Details (from 12.04) section:

This page will also tell you whether you have the 32- or 64-bit version of Ubuntu installed, as well as what processor and graphics you have, the amount of RAM installed, and your disk capacity.

You can get this info from a terminal with the command:

lsb_release -a

  Credit in part to htorque and WarriorIng64

[Note: for versions before 11.10, e.g. 11.04 this is not available this way, but see Roland's answer below for workable option (basically use the 'System Monitor' icon instead]


Change Desktop Background does not work in 14.04

I had the same problem, this command worked for:

gsettings set org.gnome.settings-daemon.plugins.background active true


Ubuntu 16.04 LTS Accessing Console Boot Up Messages

If you want to see which services failed or started, use systemctl:

$ sudo systemctl --type=service
  UNIT                        LOAD      ACTIVE SUB     DESCRIPTION
  accounts-daemon.service     loaded    active running Accounts Service
  acpid.service               loaded    active running ACPI event daemon
  alsa-restore.service        loaded    active exited  Save/Restore Sound Card Stat
  apparmor.service            loaded    active exited  LSB: AppArmor initialization
  atd.service                 loaded    active running Deferred execution scheduler
  avahi-daemon.service        loaded    active running Avahi mDNS/DNS-SD Stack
  binfmt-support.service      loaded    active exited  Enable support for additiona
  cgmanager.service           loaded    active running Cgroup management daemon
  click-system-hooks.service  loaded    active exited  Run Click system-level hooks
  colord.service              loaded    active running Manage, Install and Generate
  console-setup.service       loaded    active exited  Set console font and keymap
  cron.service                loaded    active running Regular background program p
  cups-browsed.service        loaded    active running Make remote CUPS printers av
  cups.service                loaded    active running CUPS Scheduler
  dbus.service                loaded    active running D-Bus System Message Bus
  deluge-web.service          loaded    active running Deluge Bittorrent Client Web
  deluged.service             loaded    active running Deluge Bittorrent Client Dae
  ebtables.service            loaded    active exited  LSB: ebtables ruleset manage
  getty@tty1.service          loaded    active running Getty on tty1
  grub-common.service         loaded    active exited  LSB: Record successful boot

It opens in a pager by default.

If you want to see what failed during boot, again use systemctl:

$ systemctl --state=failed
  UNIT                      LOAD   ACTIVE SUB    DESCRIPTION
● var-www-archlinux.mount   loaded failed failed /var/www/archlinux
● openvpn.service           loaded failed failed OpenVPN service
● openvpn@auth-ldap.service loaded failed failed OpenVPN connection to auth-ldap
● openvpn@server.service    loaded failed failed OpenVPN connection to server

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

4 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Note that this isn't limited to just services - failed mounts, and other systemd units are also listed. You can restrict the output to a type of systemd unit using the --type option.

  Also some daemons would only spout useful diagnostic info on the console and not in the log (maybe systemd deals with this better).

systemd-journald does a pretty thorough job of capturing all output from services.


Have you tried booting into a Wayland session instead of Xorg ? I had exactly the same  problem as you but with  nvidia-430 installed. I had a black screen  and frozen mouse when using Xorg, and Wayland worked normally.

If you load a session successfully, whats happens when you run   sudo nvidia-settings ?


Cannot execute programs from MonoDevelop

After you have created  a new C# Console Project the way to build it in MonoDevelop is Build ->  Build All. A message at the top of MonoDevelop should appear that says: Build successful. The way to run it is to select Run -> Run With -> Mono 4.x.x (4.x.x stands for the Mono JIT compiler version).

A new terminal will open and show these results:

Hello Mono!

Press any key to continue...

If you run it again without closing the terminal, a popup window will open with the following message:

An application is already running. Do you want to stop it?

Click the Stop button to stop it and the C# program (Program.cs) will run again.

If your C# code ran successfully, you can find an executable file named Test3.exe in the .../bin/Debug folder of your console project. You can run Test3.exe from the terminal using this command:

mono /path/to/Test3.exe


Can I install ubuntu-16.04.1-desktop-amd64 on a Intel® Pentium(R) Dual CPU E2160 @ 1.80GHz × 2

Intel has a page on this processor.

According to it, that CPU does support the 64-bit architecture. So, yes, you can install the 64-bit version of Ubuntu on your computer.

Bear in mind: If you were hoping to "upgrade" from 32-bit to 64-bit, well, you can't, at least not in a way that would take less time than a backup and reinstall.


An easy way to add applications to autostart in Unity

I think the idea is that new apps should ask to be added to the list of startup applications if that is deemed useful. Evolution alarm notification, for instance, seems to do that. Alacarte is a desktop-file manager. It isn't really related to the menus at all. If you add an entry to it, it'll appear in Unity dash as well. Anyway, adding startup applications is easier than it was in the old days:


I posted the same question on here. Again, a big thanks to grahammechanical for solving my problem. The solution:

Delete the .bluefish folder from your root directory (since the problem occurred while I had root privileges):

sudo rm -r /root/.bluefish

Or, if you want to do it with the file manager,

type sudo nautilus in your terminal
press Ctrl + H (to show all hidden files/folders)
delete the .bluefish folder


Can't run Aptitude update: The method driver /usr/lib/apt/methods/http could not be found

You can try this:

sudo aptitude install --fix-missing
sudo aptitude update

if that doesn't work, try installing apt:

sudo aptitude install apt
sudo apt install --fix-missing
sudo apt update


Why Wallpaper is Replaced

Long story short, when you have desktop icons enabled, that essentially enables Nautilus to create the Desktop "window" with all the file and folder icons and manage background. feh works with raw X11 desktop, i.e. bare bones, where no icons exist. So there's two potential solutions: one is to rely on Ubuntu's settings for background, or two - disable desktop icons. One can also make a script to launch both feh and alter Ubuntu desktop settings, but that's redundant in my opinion. Whichever way you decide to go is up to you

Disabling/Enabling icons

This can be done via gsettings org.gnome.desktop.background show-desktop-icons false to disable and org.gnome.desktop.background show-desktop-icons true to enable. Once that's done Nautilus won't manage your desktop, hence won't set the background picture

Ubuntu Wallpaper Settings

Aside from obvious GUI methods, one can use gsettings command to set the wallpaper.

gsettings set org.gnome.desktop.background picture-uri file:///home/my_user/Pictures/cool_wallpaper.png

Of course, previously mentioned caveat applies - the desktop icons have to be enabled.

Alternative to Your Script

I have noticed that you are trying to set a random wallpaper from a folder.  You don't have to rely on feh for that. In the past, I've written two scripts to do this task. One written as bash script and another one as Python script. Both scripts work with Ubuntu's gsettings and alter the desktop wallpaper without disabling icons. Personally, I'd suggest the Python one as it is more polished.


Does kernel 4.4.6 come automatically with Ubuntu 14.04 LTS -> Ubuntu 16.04 LTS update?

Ubuntu 16.04 will be shipped with kernel 4.4.

If you upgrade from 14.04 to 16.04, you will get kernel 4.4 installed.

Ubuntu kernel numbers do not match exactly the mainline versions. It will be 4.4.0-xx, that will be based on the latest 4.4.x mainline version.

You can install kernel 4.4 to Ubuntu 14.04 without upgrading to 16.04 by running in terminal

sudo apt-get install linux-generic-lts-xenial

Regarding "how stable is 4.4.6", it can't be answered as it will be based on opinions.


Accessing .VDI Image from Ubuntu VirtualBox

You should be able to see the partitions with sudo fdisk -l and mount them, also from nautilus.


I can't imagine an issue, but just to be safe I would try this first

sudo apt-get install --reinstall linux-headers-$(uname -r)

From the apt-get man page

  --reinstall

  Re-Install packages that are already installed and at the newest
  version.

Another useful option is --dry-run if you are ever unsure of what apt is going to do.

  --dry-run

  No action. Perform a simulation of events that would occur but do not
  actually change the system.


Ubuntu on HP Realtek RTL8821CE Wifi card not detected

SOLVED

Just copy paste these commands into your terminal and reboot.

sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
chmod +x dkms-install.sh
chmod +x dkms-remove.sh
sudo ./dkms-install.sh

source: ASK UBUNTU


Found a fix! Launch this app called 'dconf editor'. Open Desktop -> ibus -> and click on General. Now check the box next to 'use-global-engine' and 'use-system-keyboard-layout'. This worked for me!


Was my computer poorly designed with problems not only with Ubuntu?

I don't know about other programs, but I just installed Chirp from the Following Page and it installed. If you can't find it you can run it from a terminal like so

chirpw &

For those who might be interested, Chrirp is a program to allow a serial port to program HAM radios.

sudo apt-add-repository ppa:ubuntu-hams-updates/ppa
sudo apt-get update
sudo apt-get install chirp


wxWabbitemu

A linux based TI emulator exists that uses the wxWidgets code libraries.

Compile instructions:

sudo apt-get install subversion
svn checkout http://wxwabbitemu.googlecode.com/svn/trunk/ wxwabbitemu-read-only
cd wxwabbitemu-read-only/src
sudo apt-get install wx2.8-headers wx-common libwxgtk2.8-dev
chmod +x ./build_wx
./build_wx

To run it, type, in the same directory:

./wxwabbitemu

You'll need a licensed ROM for this to work - google that one.

Legally - Texas Instruments themselves distribute the TI83 variant with their SDK

wget http://education.ti.com/calculators/downloads/US/Software/Download/en/177/6560/83psdk_setup.exe

TI83Plus.clc for the TI-83+, TI83ps.clc for the TI-83+ Silver Edition and TI73.clc for the TI-73
N.B. copy and rename as .rom for the application to work correctly.

Links:

See this forum entry as to the advantages/disadvantages of using these ROMs.
See this wiki for operating instructions - e.g. F12 to turn on

Blockdude

... or there is a Flash based remake


DockbarX: Adding more buttons eg main menu or shutdown

That's dockbarx running in the gnome-panel. The button is the gnomenu applet, not a part of dockbarx.

There is no real way to add a start menu to dockbarx but the start menu cardapio can be launched at the mouse cursor with the command "cardapio show-near-mouse". If you make a custom launcher with alacarte or whatever and drag it drag it to DockbarX you get a start menu. It will look a bit weird since DockbarX can't register when programs with no normal windows have started so the "wait" look will stay for 10 seconds after you'd clicked the button but it will work normally otherwise.


Does OpenOffice 3.3.0 still have the command "oowriter"?

I don't have an idea if it has the same command anymore, but if it's in the Applications Menu, then you could go to System->Preferences->Main Menu. There select the application you want to know the name of and click Properties. The command to execute that application shows up there.

This is a screenshot where I found the command to execute LibreOffice. The procedure  is very similar to finding OpenOffice Writer's command, if you were wondering why the screenshot if it's not OpenOffice Writer.


I've been using Unity-2D with KWin for about two weeks now. In the login screen, choose Unity-2D as your session type. Install the kde-window-manager package to get kwin. Then fire up a terminal and run kwin --replace &!. You'll probably want the systemsettings and kde-config-gtk packages for configuration.


Where does `mv myfolder ..myfolder` move my file to?

It is at "..myfolder"

You have to show hidden or "dot" directories

ls -la or show hidden directories in Nautilus

How to show hidden folders in Ubuntu 14.04


Just

Hit F11 which opens the styles and apply the styles to heading 1 to 3.
Put your cursor in one of the headings and hit Format/Bullets and Numbering... (update: and not Tools/Outline Numbering... as mentioned before) in the menu bar.
Then select the tab outline and choose the option numeric with all sublevels (see image)

In the position tab of 'Bullets and Numbering' you can choose... their position of course. If you want the typical indent you suggest, just click default in the three different levels.

Enjoy.


Password for SSH server in installation environment?

I found it it, but unfortunately it means that the credentials are hardly usable (unless one manages to somehow "inject" authorized public keys).

Anyway, here is what I did. I went back and tried to take screenshots of those situations that were humanly impossible to read otherwise. First one got several standard boot messages (basically what you'd see in dmesg) and then it blanked the screen and this could be found:

I included those two lines above the messages about the SSH host keys for a reason. They show the missing credentials that I had been looking for.

The user is installer and the password is what's given behind the colon (:).

Either way, once I connected with username installer and the randomly generated password, I got to see basically the same menu as could be seen on the console:

Since the whole thing works via cloud-init, according to the boot messages, I suppose I would be able to provide the authorized public keys via that somehow ...

So I've got something more to research, but hopefully these clues will help someone else already.


This is done by logrotate, which as a daily cron job checks it's configuration files for log files that need rotating, compressing,  removal, and takes the necessary action(s).

For /var/log/auth.log, which is actually a rsyslog managed file, as rsyslog dumps all authentication info (auth, authpriv facilities) in there (conf file: /etc/rsyslog.d/50-default.conf), the relevant configuration file for logrotate is /etc/logrotate.d/rsyslog.

On my 14.04 that contains:

/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
{
        rotate 4
        weekly
        missingok
        notifempty
        compress
        delaycompress
        sharedscripts
        postrotate
                reload rsyslog >/dev/null 2>&1 || true
        endscript
}

So /var/log/auth.log is being rotated by this configuration.

To modify the behavior to keep desired number of rotated files, you can either change rotate parameter to your desired value (any positive integer, 0 will remove the old files instantly) in the { ... } section following the filename declaration, but this will change the behavior for all mentioned files, which might not be the desired behavior.

Instead, remove /var/log/auth.log from there, and make a separate entry for this by putting the following at the end:

/var/log/auth.log
{
        rotate 10
        weekly
        missingok
        notifempty
        compress
        delaycompress
        postrotate
                reload rsyslog >/dev/null 2>&1 || true
        endscript
}

The above will rotate /var/log/auth.log, weekly, with compress-ion, not if it's empty (notifempty), and will keep 10 rotated copies, and the older ones that that will be removed.

Change these to meet your need, and also read man 5 logrotate.conf.


Swap is used in this cases (well, +1 if you count hibernation):

Your system runs out of RAM and needs to swap out currently unused parts to make place for currently used parts. If you have enough RAM that your workload fits completely into it this won't happen.
The system determines that a task is idle for very long times and the memory it uses can better be used for caching. This mostly happens on long running systems which tasks that only run occasionally. An example would be an always running mail-client that checks for mail every few hours, but does nothing in between.
Some high-memory programs still might go to swap (video and 3d editors, math tools), but for the most part it will only be there if needed.

It seems that neither is the case for you, so no need to worry. A problem would be if neither is the case but the system would still be hitting swap.

Also, if you have about 8+ GB of RAM, swap is only needed for hibernation. Swap partition will be never used if your computer has 8+ GB RAM and you shutdown it every day no swap is needed and it is normal.


Make terminator ask for permission before closing if something is being executed

You need to edit the terminatorlib container.py file usually located in usr/share/terminator/terminatorlib/container.py
locate the contruct_confirm_close || remove it and paste this default

def construct_confirm_close(self, window, reqtype):
        """Create a confirmation dialog for closing things"""

        # skip this dialog if applicable
        if self.config['suppress_multiple_term_dialog']:
            return gtk.RESPONSE_ACCEPT

        dialog = gtk.Dialog(_('Close?'), window, gtk.DIALOG_MODAL)
        dialog.set_has_separator(False)
        dialog.set_resizable(False)

        dialog.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT)
        c_all = dialog.add_button(gtk.STOCK_CLOSE, gtk.RESPONSE_ACCEPT)
        c_all.get_children()[0].get_children()[0].get_children()[1].set_label(
                _('Close _Terminals'))

        primary = gtk.Label(_('<big><b>Close multiple terminals?</b></big>'))
        primary.set_use_markup(True)
        primary.set_alignment(0, 0.5)
        secondary = gtk.Label(_('This %s has several terminals open. Closing \
the %s will also close all terminals within it.') % (reqtype, reqtype))
        secondary.set_line_wrap(True)

        labels = gtk.VBox()
        labels.pack_start(primary, False, False, 6)
        labels.pack_start(secondary, False, False, 6)

        image = gtk.image_new_from_stock(gtk.STOCK_DIALOG_WARNING,
                                         gtk.ICON_SIZE_DIALOG)
        image.set_alignment(0.5, 0)

        box = gtk.HBox()
        box.pack_start(image, False, False, 6)
        box.pack_start(labels, False, False, 6)
        dialog.vbox.pack_start(box, False, False, 12)

        checkbox = gtk.CheckButton(_("Do not show this message next time"))
        dialog.vbox.pack_end(checkbox)

        dialog.show_all()

        result = dialog.run()

        # set configuration
        self.config.base.reload()
        self.config['suppress_multiple_term_dialog'] = checkbox.get_active()
        self.config.save()

        dialog.destroy()

        return(result)

Please note in some cases or versions of terminator the 'GTK_OBJECT may be referenced as gtk or GTK


You should be able to prepare a LiveUSB image for yourself with the Ubuntu Customization Kit
(reference screenshots).
But, I think you should consider installing from a LiveCD to your USB rather than burning the image to your USB.


Ubuntu desktop will not start with startx

I had to edit grub:

GRUB_CMD_LINE_LINUX_DEFAULT="nomodeset"

Apparently the video drivers for my video won't work if added to the kernel by default.
Many thanks to a NASA colleague from the past who manages some Ubuntu systems for a living.


Building debian package - How do dependencies work?

Your problem is that you're installing a package you built, which has dependencies which you haven't yet installed, using dpkg. While dpkg will install package, it does not resolve dependencies and install missing packages for you. You'll need to install them with apt to pull from archives, or if you have a .deb of the package you need, you'll need to install it first, or at the same time as your new package, using dpkg.

What you are describing is a Depends which the resulting binary package has, not a Build-Depends which the source package would need to build. Placing all of the binary package runtime dependencies inside the Build-Depends in your control file, is a good way to prevent building a package without them installed. It's also good practice to enumerate all of the dependencies you have, rather than relying on dependencies being satisfied by other packages you depend on requiring them as well, to prevent breaking if the dependency gets dropped from the other package you also need.


How can I use Roland VS-2000 Wave converter on Ubuntu 16.04 LTS

I got it working using Wine and this is what I did to get it operational.

Of course you first need to connect your Roland VS-2000 to your Ubuntu PC first with the USB2.0 cable. Then turn on the USB2.0 button on your VS-2000, and wait (for quite a while) before all (in my case) 4 USB2.0 drives are connected and show up as 4 pendrives, before this to work, but, hey, as a VS-2000 owner you already should know this. This is my VS-2000 with the blue USB2.0 button on the right top to indicate that USB2.0 connection is operational.

This is a screen cap of how my PC looked (in Nautilus) when all 4 drives of the VS-2000 are active.

Now you can do the following to be able to convert the audio files on the VS-2000 to .wav files.

Install "Winetricks" using Ubuntu Software Center
Install "Configure Wine" using Ubuntu Software Center
Downloaded "VS-2000 .WAV Convert Application (PC)" from https://www.roland.com/global/support/by_product/vs-2000cd/updates_drivers/ (I Googled on "Roland - Support - VS-2000CD - Updates & Drivers")
Unzipped the downloaded file and right-clicked the "setup.exe" and choose "Open with" --> "Wine Windows Program Loader"
Just followed the setup wizard
You can start it with the following command: wine "/home/edwin/.wine/drive_c/Program Files (x86)/Roland/VS-2000 Wave Converter/Vs2kWaveConverter.exe" (of course edwin is my userid, so you will probably have our own userid).

The rest is a piece of cake. But for those who like, this is a screenshot of Roland VS-2000 Wave Converter after selecting one track (turning orange) of one song.

After this you can press the VS Track --> Wave file button to export the track to a wav file somewhere on your PC.


How to understand / be aware of Ubuntu bug fixes?

We have something similar to that , named as changelog. There we will notice what are the changes in the update of the application we have done and those included whats the bug and its token with its foxed/not information.

   apt-get changelog <application_name>

For example: apt-get chanelog firefox

firefox (25.0.1+build1-0ubuntu0.13.10.1) saucy-security; urgency=low

  * New upstream stable release (FIREFOX_25_0_1_BUILD1)
    - see LP: #1251576 for USN information

 -- Chris Coulson <chris.coulson@canonical.com>  Fri, 15 Nov 2013 10:27:58 +0000

firefox (25.0+build3-0ubuntu0.13.10.1) saucy-security; urgency=low

  * New upstream stable release (FIREFOX_25_0_BUILD3)
    - see LP: #1245414 for USN information


Having two versions of CUDA GPU Toolkit SDK installed, how to remove one?

Install "Synaptic Package Manager" -> open synaptic manager and type in root password-> in the bottom left go to Status-> If you have installed using web browser or dpkg command then it would have a section in top left "Installed (local or obsolete)" safely remove CUDA from there, If you installed using apt-get from default repos it would be in section (Installed Manually) now safely remove it.

To remove unwanted dependencies dont worry it wont delete anything which would be needed by any other package ,"sudo apt-get autoremove".


Is there step by step documentation for installing apache on ubuntu?

There is a community guide to install apache. But is very hard to find a step by step guide, because you have to enter just one command to install it.

So for users with few or no experience using a terminal I create this step by step guide:

Turn your computer on and login into your Ubuntu user
Open a terminal, search it in the dash or press Ctrl+Alt+T
Now that you have open the terminal enter the next command:

sudo apt-get install apache2
If it request you a password, enter this and press enter.

To see how it works enter the next command or restart your computer (very annoying):

sudo /etc/init.d/apache2 restart

It will restart apache. Open your web browser and enter http://localhost in the address bar.

Further information: HTTPD - Apache2 Web Server & ApacheMySQLPHP


If anyone else is looking at this, the resolution to my problem was to edit /etc/modprobe.d/iwlwifi.conf and add options iwlwifi 11n_disable=8 to the end.


Apache 2 configuration port and root directory

You should use Listen or BindAddress to tell Apache2 what to listen to.

http://httpd.apache.org/docs/2.4/bind.html

To change the root directory, open a terminal and type

sudo gedit /etc/apache2/sites-available/default

then change the DocumentRoot path from /var/www to your desired directory


To upgrade to a newer version, type do-release-upgrade in a Terminal. This should install the latest version of your operating system. For more detail, follow the instructions here.


snapcraft snap failing because python modules are missing

In the case of python you probably want some of those build-packages to be stage-packages. The python plugin sets PYTHONPATH to be within the snap which is why it's missing these packages (you have them installed on the host system instead).

Byt the way, if this upstream had a proper install_requires in setup.py these dependencies would have been taken care automatically for you.


Cannot set resolution to 1024x600 properly

Their requirements page says that 1024x768 is the minimum resolution. It goes on to advise there is a netbook version which matches your resolution & Xubuntu and Lubuntu require 800x600

You seem smarter than I regarding things so I am just guessing you overlooked that or want to 'hack' a way to get it working. Best of luck

Cheers


Prevent light-locker from setting volume to 100%

On xubuntu 16.04 the way it comes it appears to close running apps. Not that it mutes anything but shuts it down completely. I don't know if 14.04 xfce includes the session and startup gui that 16.04 has or not, but on 16.04 there is a box to check to save session automatically though. I think it might use a different locker to, as mine uses one called LightDM GTK+ Greeter Settings

Anyways this link shows the box for 16.04 that I think would keep your settings, session in general.Session and startup gui Might be different in 14, but you may be able to find it and install it in the software gui. I'd imagine there is a setting like this somewhere if you don't have this gui.


How to send KDE5 desktop notification from a bash script?

On my install of Kubuntu 15.10 and KDE neon, notify-send command was not available until I installed the libnotify-bin package.

After installing libnotify-bin, notify-send works fine:

sudo apt-get install libnotify-bin


wifi fail: /lib/firmware erased during boot

I found the origin of the problem. I was responsible for this Error:

On Ubuntu 12.10 I had this line in my  /etc/fstab

tmpfs /lib/firmware tmpfs defaults 0 0

I added this line, and some others, following recipes I found on the net to increase the responsiveness of my computer.

With this entry it is clear that firmware will not be persistent.

I removed the line and that fixed my problem.


Is KDE 4 still available? Or how to use the look of KDE 4 on Plasma 5?

Qt4 is EOL and was removed from Ubuntu in 2019 (2015 upstream was announced EOL though Debian & Ubuntu supported it until 15-Mar-2019)
For more details refer https://discourse.ubuntu.com/t/removing-qt-4-from-ubuntu-before-the-20-04-release/12295.
Qt5 (introduced 19-Dec-2012) replaced Qt4, and naturally KDE4 requires Qt4 so it's EOL/gone.


Ubuntu 18.04 Won't Boot on Battery Power

Solution

This link worked for my HP laptop.

1) Modify the GRUB_CMDLINE_LINUX_DEFAULT kernel variable in /etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash dis_ucode_ldr"

2) $ sudo update-grub

3) Reboot.

dis_ucode_ldr stands for "disable microcode loader"


Unable to connect to WiFi after the upgrade to Ubuntu 14.04 LTS

My desktop went to same problem after upgrading to 14.04 lts from 12.04 lts.

I found that the drivers needed were commented out in /etc/modprobe/blacklist.conf. I uncommented it and then booted desktop.

My wifi is Ralink 5370, using RT2800 drivers.


Try to install unmet dependencies using

sudo apt-get install -f


iBus is still significantly inferior for most of the half-dozen or so IMEs I use regularly, so it's still SCIM all the way for me.  They both use the same modules (so an identical list of input-method engines, scripts etc. are available) but SCIM doesn't mangle any of them like iBus does in places.

For Sinhala in particular, the m17n engine works very nicely.


I want to copy update files from an already updated machine to a machine with super slow internt. Can I do this and how?

There is a piece of software which is intended for these situations. It is called Keryx

It permits you to download packages on a computer for installation on another.


This is solution restore single MySQL Database from that backups.

Before you restore a database, you must create an empty database on the target machine and restore the database using msyql command. For example the following command will restore the restore_backup.sql file to the rsyslog database.

# mysql -h localhost -u root -pazzazy(this is pass root you setup) restore_backup < restore_backup.sql

If you want to restore a database that already exist on targeted machine, then you will need to use the mysqlimport command.

# mysqlimport -u root -pazzazy(this is pass root you setup) restore_backup < restore_backup.sql

In the same way you can also restore database tables, structures and data.

In Case with file sql.gz you can restore with command:

gunzip < test.sql.gz | mysql -u [uname] -p[pass] [dbname]

And Please you can read Backup and Restore Database .gz


Brightness settings not working on Aspire E1-571G

Edit the file /etc/default/grub

Change the line:
GRUB_CMDLINE_LINUX=""

to

GRUB_CMDLINE_LINUX="quiet splash acpi_osi=Linux acpi_backlight=vendor"

and then save and then run:
sudo update-grub

Then restart the computer, then it should work.


There are hundreds of different Lenovo computers, there's no way to tell with just this kind of information.
That's like asking "I have a car, and I want to know 100% if this one particular tire works for my car". You either give lots and lots more information about your car (in this case, about your computer) and hope that someone with the exact same car (or computer) can answer your question, or you just take the tire and try to put it on the car (in this case, download Ubuntu and see if it works).
You can download a copy of Ubuntu, flash it onto an USB drive or burn it to a disc, and start your computer straight from the disc. That requires no installation, won't break your existing install, and allows you to verify if all your hardware is detected correctly.


Properly insert your dongle to the USB port; don't worry if it's not detected by Ubuntu.
Go to: Network Connection -> Mobile Broadband -> Add

Now there are 5 simple steps; select the natural options:

Select appropriate mobile device
Choose country provider/region
Choose your provider (airtel)
Choose your Billing Plan
Confirm Mobile broadband settings

see this link


I get the same message you do on two very different computers on 10.04 and 12.04 respectively. Adding making -d -d1 says it is turning it on, but I suspect the messages tells us it isn't really effective.

I'm getting good disk access, however.

I once had trouble with slow disk response and, if I recall correctly, it was because DMA wasn't working. The cause was a bad ribbon cable that had been manipulated one time too many so it had a broken control lead used for DMA. Replacing the ribbon cable greatly increased performance.

In my case I saw a warning message at boot time that went away once I replaced the cable. I suggest you look at /var/log/syslog for any suspicious looking messages about your disk adapter or drive.


How do I move the dialog in the login screen?

No, the login dialog is designed to be in that location and this is not configurable.

However it would be possible for people to make their own greeter that is more configurable for things like this:

How do I set my own (HTML) theme in LightDM?
Where can i find the lightdm folders and and images


How to install multiple versions (5.5.xx and 5.7) of MySQL in Ubuntu 16.04?

Install the 2nd one either from a snap install or from source.

1 of the 2 installs needs to be told to Listen to another port than the default 3306 (stop mysql, add in my.cnf the line port = 3333 and start mysql).

Commands send to that changed version will need to point to port 3333.


Postfix not block unauthenticated user to send emails / spam to my domain

Try to add this to you main.cf

smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sender_restrictions = reject_unknown_sender_domain


How can I get a ubuntu box to appear on the network as a streaming device for a iPad

This should do the trick!

shairport, allows you to stream from apple devices to your linux box just as if it was an airport or apple TB. It works great!
https://github.com/albertz/shairport

and
airplayer for streaming video.
https://github.com/PascalW/Airplayer


Remote desktop Ubuntu 16.04 to Lubuntu 16.04 using vino-server via command not working (for me)

In case it's of any help:

I gave up trying to use vino and resolved via the following solution. In this instance I had Ubuntu 16.10 installed on the (google compute engine) server. The client machine I'm connecting from has the standard Ubuntu 16.04 desktop installed.

From my client machine:

ssh myusername@myserverIPaddress

On remote server:

sudo apt-get update
sudo apt-get install lubuntu-desktop
sudo apt-get install vnc4server
vncserver :0
vncserver -kill :0

Then I modified contents of "~/.vnc/xstartup" to:

#!/bin/sh
xrdb $HOME/.Xresources
/etc/X11/Xsession
autocutsel -fork
/usr/bin/lxsession -s Lubuntu -e LXDE &

Then I restarted the vncserver (changing the display to fit my screen):

vncserver -geometry 1920x1200 -depth 24 :0

Then from my client machine (using Remmina Desktop Client) I configured:

On the "Basic" tab I set: Protocol = VNC, Server = myserverIPaddress:5900, Username = myusername. On the "ssh" I enabled ssh tunnelling through port 22 and pointed the "Identity file" to my private key file in "~/.ssh" folder.

I saved the Remmina entry and then double clicked the entry in the Remmina Desktop Client window and after entering ssh password (a popup) and subsequently the prompted vnc password I connected to Lubuntu on the remote server. I ought to have mentioned, when you run "vncserver :0" above (for the first time) it will prompt you to enter a vnc password.


Not booting from USB or CD (SYSLINUX Message)

I ran into this, too.  The issue I found was that my 16 GB USB was formatted as NTFS. I tried changing the block size and reformatting with Windows Quick Format, but what solved the issue was to reformat as FAT32. Ubuntu boots just fine, now. Too bad I can't use NTFS, but the difference will be minor.


Booting from a specific partition using GRUB2

Have you tried "boot-repair"?
Using Ubuntu LiveUSB, open terminal:

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

Now, open boot-repair, after scanning systems, don't use 'Recommended Repair' if you want to specify your default boot partition/OS. Choose Advanced Options, then on the Grub Locations tab, you can specify your default OS to boot. Don't forget to "Apply".


Should my swap size be zero or am I misunderstanding the output?

As long as there is free memory available, the system will never use swap. In fact, swapping should be avoided in a system as possible...

On the other hand, in your case, it seems that you don't have a swap partition. Otherwise you should see something like this:

$ swapon -s
Filename                Type        Size    Used    Priority
/dev/sdb1                               partition   1952764 0   -1


Google Chrome always asks to unlock keyring after login

Deleting files in ~/.local/share/keyrings fixed the problem.


Kernel panic: "Machine check: processor context corrupt" after install

Try running the memory tester from the install CD or GRUB menu(if you have one listed there). If there are no problems, visit your BIOS config system and enter the CPU features submenu. Disable SpeedStep, TurboMode, CxE, Virtualization, HT technology, QPI controller setting, and link fast mode. Keep resetting each until the system fails to boot, and leave it as such.

Refer to http://www.evga.com/support/manuals/files/132-BL-E758.pdf for BIOS manual


From what I have seen Gnome Calculator does not have keyboard shortcuts to those functions. Either way Qalculate lets you do exactly that.

To install either search it in Software Center or using terminal:

$ sudo apt-get install qalculate-gtk


Based on Software Centre user reviews (Ie. this app segfaults) and the Touchegg Downloads page, you can only apt-get this app with Ubuntu 11.10 and below. Touchegg does not play nice with Unity.

For 12.10, download and compile the source code following these instructions. See the aforementioned Downloads page and this bug report for more info.


Sharing between new install and Windows 7 boxes not working, either direction. Printers & folders

Because they are different file systems (Ubuntu 12.04 defaults to ext4), you need to be careful about Unix writing to any Windows partition.

Additionally, Windows 7 doesn't share easily even with other Windows machines because 7 started using the homegroup instead of the typical windows network workgroup.  Per Microsoft, "Computers must be running Windows 7 to be part of a homegroup. With Windows 7 Starter and Windows 7 Home Basic, you can join a homegroup, but you can't create one."

In the tutorial link that you provided, there was an option to specify the workgroup - but perhaps this only exists in Windows 7 Ultimate edition. In any case, I'm running Windows 7 and do not have that feature.

Use Samba

The first solution that comes to mind is to install Samba. I'd recommend using the Ubuntu Software Center and searching for "system-config-samba."  This search will yield the GUI option to configure your Samba server. For command-line, this step-by-step guide will help you install and configure Samba.

You mentioned hooking up your Ubuntu to a wireless router.  Make sure that you assign your machine a static IP address/lease using your router configuration utility.  Even if your router operates DHCP, you should be able to designate a fixed LAN address by either 1)MAC address or 2)computer name (depending upon your router type/model).

Once configured, Samba should pretty much be ideal for you.

Network Attached Storage (NAS)

My network had an Xbox360 that I wanted to be able to browse and play content from.  I purchased a separate NAS (network attached storage). This provided the benefit of also being able to share media globally even with a dynamic IP from my ISP (the device updates a sort of proprietary DNS server with its current IP address). Then the NAS storage handles incoming requests from the WAN through UPnP configuration of my router.

All of my machines, including Ubuntu 12.04 can discover and use the NAS device.  Also tested and works on 14.04 lts.

Upgrade your Router

While the OPs original question was about Ubuntu configuration, I thought I would add this section for thoroughness.  Now many brands of routers have built-in file sharing and printer sharing abilities.  One example of an entry-level model lets you attach either an external drive OR a printer via USB is the Netgear N300 Router.  But for more advanced customization, be on the lookout for models proven compatible with Open Source firmware initiatives and Linux derivatives.  By way of firmware upgrade, users can install a

  embedded operating system....OpenWrt can be run on CPE routers, residential gateways, smartphones (e.g. Neo FreeRunner), pocket computers (e.g. Ben NanoNote), and laptops (e.g. One Laptop per Child (OLPC)). Also, it is possible to run OpenWrt on ordinary computers (e.g. x86 architecture). Many patches from the OpenWrt source base have been included upstream in the Linux kernel mainline. -excerpt from the OpenWrt wiki page

OpenWrt is just one example.  Some software packages even allow SAMBA to be run from the device itself!  Other features may include Dynamic DNS services to DLNA media streaming.


How can I increase my screen resolution?

Your TVs native resolution is 1366x768, so you won't be able to go much above 1024x768.

Is 1366x768 what you are hoping to achieve?

--Edit 1--

Looks like lots of people have trouble with HDTVs not reporting the resolutions they support. What do you have in your /etc/x11/xorg.conf?

--Edit 2--

Have you tried this? - Adding undetected resolutions to xorg

If you are interested, you can view the info your monitor reports about itself by installing and running read-edid

sudo apt-get install read-edid
sudo get-edid | parse-edid


What is the difference between OpenOffice and the newly created LibreOffice?

As of now there is hardly any changes between LibreOffice and OpenOffice. The former is a fork to free OpenOffice.org from the clutches of Oracle.

Till date Sun has asked for copyright assignment to Sun if you wanted your patch to be merged. This has been a great deterrent and has limited community involvement.
LibreOffice says "Everyone is invited". It is not an office suit which will be controlled by one organization, but many organizations will take part to develop it. The supporters include Google, RedHat, Canonical, Novell and a few more (not sure about the list).

LibreOffice has also brought up a wikipage named "Easy Hacks" to get the community involved in the development. This is a great step as probably people would be excited to look at the code.

From that page I can see that the codebase is a bit messy. There are non-English comments, bogus comments, dead code and what not.

Another good reason for breaking apart was that Oracle does not look interested in taking the development of Open Source ahead. OpenSolaris is nearly gone and if this fork didn't happen, probably OO.o would also have become stagnant.


Answer found!

I was also not able to get a menu by right-clicking on the desktop. Searching on this issue brought the solution, which is to use the Gnome Tweak Tool. I had apparently switched off Desktop Icons even though none were selected. Switching this on but leaving no icons selected restored normal behaviour to the desktop and wallpaper.


Full Install vs Persistent install
Ubuntu can be installed to a USB in different ways. A Live install does not save between sessions. A Persistent install extracts the OS from a compressed file and saves data to an overlay file or partition each session, and a Full install installs the complete OS to the USB just like an install to internal disk.
For your case see Full Install item 5)
Comparison between Persistent and Full install USB
Advantages of a persistent install:

You can use the persistent pendrive to install Ubuntu to another computer.

A persistent install takes up less space on the pendrive.

You can reset the pendrive by overwriting the old casper-rw file with a new one.

The install to pendrive takes less time.

Slightly less wear on the drive.

Advantages of a Full install:

You can update and upgrade.

If you have problems or wish to modify, the solution is the same as with an internal install, (You can ask for help in the forums).

No ugly startup / install screen.

Better security, you can use full encryption

You can use proprietary drivers, many drivers need to start before the Persistent overlay opens therefore they do not work with a persistent install.

Swapfiles and partitions work and Hibernation can be enabled.

Many persistent installs are limited to a 4GB casper-rw and a 4GB home-rw persistence file, to get more persistence requires persistence partitions. Once casper-rw is full, the drive will not boot.

More efficient usage of disk space. Does not require reserved space for persistence.

Faster boot, no automatic disk checking or Try Ubuntu/Install Ubuntu screen.

You can run VBox and use virtual machines.

Generally faster boot than Live or Persistent USB's.

More stable, better for day to day use. I have run Ubuntu off a flash drive for 5 years making only LTS upgrades.

Note that once booted, both methods run at about the same speed. If the computer has lots of RAM Ubuntu should run mainly in RAM and there will not be a big difference between running off internal HDD and USB3 flash drive f.
Full Install Method
A quick and easy method to flash a Full install to USB can be found here: Easy Full Install USB that Boots both BIOS and UEFI
A more traditional methods for creating a Full install USB from scratch can be found here: How to Create a Full Install of Ubuntu 20.04 to USB Device Step by Step


Installed Ubuntu 14.04.1, Keyboard and mouse don't work anymore

I too had this problem not 10 minutes ago. The way I solved it is by rebooting into an older version of the GNU/Linux kernel (It should have an option for that in grub). Then running sudo apt-get dist-upgrade.


How to add string to the end of a file without '\n'?

Use the printf builtin bash function

printf "xxx" >> file

or the -n option to echo, that suppress the newline.