Yes, if your system is UEFI based you will need to enable legacy mode in the BIOS and boot from the CD drive or USB using the legacy interface. In my BIOS options for example, it lists CD drive as UEFI CD Drive and just CD drive. You would need to choose the regular CD drive to boot via legacy mode.


Nox App Player error, cannot get it to run

You're trying to run an emulator in an emulator. That usually doesn't work well. Unfortunately, at this time, GenyMotion is your best option. If you're wanting to run games, then unfortunately, there isn't much out there for Linux. WineHQ lists Nox App Player as "garbage" at this time and that was v3.7.x.x. The latest Nox is v3.8.0.5 and it still doesn't run under Wine. Again, running an emulator in an emulator is just asking for trouble anyways, especially when you're trying to virtualize the hardware.


Question regarding the Cheese App on Ubuntu

Just wondering if you have Burst mode selected instead of Photo. If by random, you mean every few seconds, I would check what tab is selected. On mine, I see Photo, Video, and Burst. If I select Burst, my camera will take pictures every few seconds until I click stop.


Issues while booting from a non-live USB

Alright guys, I got everything to work.  I'm still not sure why it wasn't working earlier, but I basically found a way to partition my flash drive and changed the file system to ext4 and there were no more problems.  The install is working just fine.


Call functions from C program in terminal

I'm sorry, but you have to read up on C syntax. There were two major issues:

Defining functions inside main is not possible in standard C and even in the GCC extension, it certainly doesn't work how you think it does.
Calling a function doesn't happen by magic, you must tell what to use as parameters and how to rework them to a suitable form.

I have re-worked your code to a working state (in a file called bool_xor.c):

#include <stdio.h>
#include <stdlib.h>

int bool_xor(int x, int y) {
    int result= x^y;
    printf("%d\n", result);
    return 0;
}

int main(int argc, char **argv) {
    if (argc<3) {
        printf("Too few args.\n");
        exit(1);
    }

    return bool_xor( atoi(argv[1]), atoi(argv[2]) );
}

And now compile and a couple of simple tests:

$ gcc -Wall --pedantic -o bool_xor bool_xor.c

$ ./bool_xor 1 2
3

$ ./bool_xor 7 5
2

To create a separate or function, you will either need to reengineer the main() to decide which function it's calling or just have another bool_or.c file and generate a separate binary that does that single job (like this one does).

Here's an example of a combined compare.c that takes an xor or or argument before the values to determine which internal function to execute.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int bool_or(int x, int y) {
    printf("%d\n", x|y);
    return 0;
}

int bool_xor(int x, int y) {
    printf("%d\n", x^y);
    return 0;
}

int main(int argc, char **argv) {
    if (argc!=4) {
        printf("Needs 3 parameters. Expects:\n\t%s xor|or value value\n", argv[0]);
        exit(1);
    }

    /* TODO check that arguments are valid */

    if (strcmp(argv[1], "xor") == 0)
        return bool_xor( atoi(argv[2]), atoi(argv[3]) );
    return bool_or( atoi(argv[2]), atoi(argv[3]) );
}


Installing that device appears to require Windows. If I had one available for testing and a system that would accept it, I would try installing the provided software under wine and when that likely failed, I would either attempt the installation on a Windows VM running under virtualbox or simply dual-boot Windows and install the required software under Windows.

Sources:

http://www.esea.cz/support/cinterion/egs5/wm_java_user_guide_v19.pdf

How can I install Windows software or games?

Install windows 7 through virtual box

How can I dual boot Windows and Ubuntu?


The following 'answer' was posted by the OP of this question:

  Turns out I'm a complete and utter moron and Yakuake is in fact working, but I am using a laptop connected to an external monitor and have extended desktop on. I had already set yakuake to open on my external monitor, but somehow that setting had changed and it was opening on my laptop, which was closed because I had forgotten I was using extended desktop. Excuse my stupidity, I'm going to go cry a little at my own stupidity now. Thanks again folks.


You have the following:

Scribus - http://en.wikipedia.org/wiki/Scribus (Already in the repository)

LyX - http://www.lyx.org/ (Already in the repository)

Sozi - http://sozi.baierouge.fr/wiki/sozi - A next generation presentation maker that is used as an extension with inkscape to create amazing presentations using SVG format.

And apart from Impress you have Draw in the LibreOffice suite.

All of this can export to PDF (Which is like a normal thing in Linux but not so normal in Windows since you need X or Y program to do it)

UPDATE - Included Sozi which I find a next generation presentation tool. Similar to Prezi.


The open document format has changed quite much over the years and the document that you are trying to open might be written in an older format. Another page here explains the same problem. I am sorry but I do not know how to fix this.


How to tell which packages will be installed by snap

The transition of Chromium browser to a snap package was planned since 19.10 and was announced on Snapcraft Blog. As of now I'm not aware of any other package with which with such transition happened.

You can always refer to package details on Ubuntu Packages or the output of apt show package and check if it's dummy package and depends on snap. For example, in case of Chromium browser, package details mentions:

  Transitional package - chromium-browser -> chromium snap

The output of apt show also mentions that it is a dummy package and can be safely removed.

$ apt show chromium-browser
Package: chromium-browser
Version: 81.0.4044.129-0ubuntu0.20.04.1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 164 kB
Provides: gnome-www-browser, www-browser, x-www-browser
Pre-Depends: debconf, snapd
Depends: debconf (>= 0.5) | debconf-2.0
Homepage: https://chromium.googlesource.com/chromium/src/
Download-Size: 48.4 kB
APT-Sources: http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
Description: Transitional package - chromium-browser -> chromium snap
 This is a transitional dummy package. It can safely be removed.
 .
 chromium-browser is now replaced by the chromium snap.


Ubuntu 18.04 server configured with static ipv6 request dhcp ipv6 address

false is not an option according to the examples on the netplan website.
However, the netplan reference page states (bool), which makes true/false first guess.

dhcp4: yes/no
dhcp6: yes/no


How can I make apache redirect to www subdomain?

1) Check the module rewrite this enabled:

sudo a2enmod rewrite
sudo service apache2 restart

2) In the main configuration of Apache you must have something like this enabled:

/etc/apache2/sites-available/default
<Directory /var/www/html>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
</Directory>

Note the this line: AllowOverride All

3) Then, drop the following into a file called .htaccess in you root directory server

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]


I am missing some icons in KDE 5 launcher and tray after installing unity

That happens because the Unity desktop may not have the icon of that particular app. Install unity tweak from software center and change icon type. That should work


You could try a more lightweight distro if your PC is old.

Go with Xubuntu.

It's an Ubuntu official Distro without Unity but with Xfce Desktop Environment which is more lightweight.

Have a try... :)


can configure apache2 for run j2ee applications

Apache httpd is not a JEE container (the 2 was dropped a few years ago). To run JSP and servlets use Apache Tomcat or one of the many available JEE servers.


Finally, the problem is solved.
I don't know exactly what was the problem.

I tried to modify /usr/share/X11/xkb/symbols/hu and I deleted xkm files from /var/lib/xkb (as is written here.) I log out and log in, and found that the Hungarian layout is disappeard, so I restored [...]/symbols/hu and the í character function now, expect in Google Chrome, but this is an other question. :)


How to regenerate a specific thumbnail in Nautilus?

According to the freedesktop documentation Thumbnail Managing Standard
. You can force nautilus to recreate the thumbnail if the mtime (modification time) in the thumbnail is lower than the mtime in the original file.

  Detect Modifications

  One important thing is to assure that the thumbnail image displays the
  same information than the original, only in a downscaled version. To
  make this possible we use the modification time stored in the required
  'Thumb::MTime' key and check if it's equal the current modification
  time of the original. If not we must recreate the thumbnail.

  Example 2. Algorithm to check for modification.

  if (file.mtime != thumb.MTime) {
        recreate_thumbnail (); }

  It is not sufficient to do a file.mtime > thumb.MTime check. If the user moves >another file over the original, where the mtime changes but is in fact lower than >the thumbnail stored mtime, we won't recognize this modification.

In order to achieve this... you can try with a little Nautilus-Script to set the mtime in the original file to the current time with the touch command.

1) Creating the script. Open a Terminal window Ctrl+Alt+T and type:

For Ubuntu 12.04 & 12.10

nano ~/.gnome2/nautilus-scripts/Regenerate-Thumbnail

For Ubuntu 13.04 & above

nano ~/.local/share/nautilus/scripts/Regenerate-Thumbnail

2) The content of the script.

#!/bin/bash

BAKIFS=$IFS
IFS=$'\n'

for FILE in $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS; do
      touch -m "$FILE"
done

IFS=$BAKIFS

To save the changes in nano.. Ctrl+O,Enter then Ctrl+X.

3) To make the script executable.

For Ubuntu 12.04 & 12.10

chmod +x ~/.gnome2/nautilus-scripts/Regenerate-Thumbnail

For Ubuntu 13.04 & above

chmod +x ~/.local/share/nautilus/scripts/Regenerate-Thumbnail

4) To test the script you can open nautilus, select a file(s), right click and go to  Scripts > Regenerate-Thumbnail.

Hope this helps.


Trouble updating MKVToolnix apt repo on bionic

It seems the structure of the repository changed at some point. Replace those two lines with the following:

deb https://mkvtoolnix.download/ubuntu/ bionic main
deb-src https://mkvtoolnix.download/ubuntu/ bionic main

and that should satisfy apt-get and let you update.


How to squash all the contents of a multi-line file onto one line?

Pipe it through this perl regex:

perl -p -e 's/[\n\r ]*//g'


How to get email for unauthorized sudo attempts?

You need to setup sudo to write mails as stated on the page you have linked.

In your /etc/sudoers add mailto your@e.mail and the option when to send mails, in your case mail_badpass.


127.0.0.1 is the IP address for local machine. That means the machine you are working on and it is the same for all of us (we all have this). This line should not be messed with.

127.0.1.1. Section 10.4 of the debian manual:

  Some software (e.g., GNOME) expects the system hostname to be resolvable to an IP address with a canonical fully qualified domain name. This is really improper because system hostnames and domain names are two very different things; but there you have it. In order to support that software, it is necessary to ensure that the system hostname can be resolved. Most often this is done by putting a line in /etc/hosts containing some IP address and the system hostname. If your system has a permanent IP address then use that; otherwise use the address 127.0.1.1.

Is added due to this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719621

Both of these IPs are IPv4. Since the world is running out of IP addresses there is also IPv6. Where IPv4 uses 4 numbers from 0 to 255 (roughly; so 2**32 permutations) IPv6 addresses are 128 bits long (so 2*128 permutations) used in 8 groups of 4 hexadecimal digits.

These ...

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

are all IPv6 versions. ::1 is the IPv6 version of 127.0.0.1 so also means local host.

These are multicast addresses:

  Well-known IPv6 multicast addresses

Address     Description
ff02::1     All nodes on the local network segment
ff02::2     All routers on the local network segment
ff02::5     OSPFv3 All SPF routers
ff02::6     OSPFv3 All DR routers
ff02::8     IS-IS for IPv6 routers
ff02::9     RIP routers
ff02::a     EIGRP routers
ff02::d     PIM routers
ff02::16    MLDv2 reports (defined in RFC 3810)
ff02::1:2   All DHCP servers and relay agents on the local network segment (defined in RFC 3315)
ff02::1:3   All LLMNR hosts on the local network segment (defined in RFC 4795)
ff05::1:3   All DHCP servers on the local network site (defined in RFC 3315)
ff0x::c     Simple Service Discovery Protocol
ff0x::fb    Multicast DNS
ff0x::101   Network Time Protocol
ff0x::108   Network Information Service
ff0x::114   Used for experiments


LibreOffice: Document name in title bar?

Without seeing a screenshot this is my best guess.

May be you have your current settings like the one below in your Settings -> Appearance -> Behavior:

This will always show the Menus (like File, Edit, View, etc.

Change the settings to something like:

So that you can see the window title. You can see the menus on mouse hovering.


This has been fixed perfectly in the latest kernel. 5.3.8 is the latest stable. Now it works just like in OS X without glitches.


Gufw is running, but no ufw process running. Normal?

gufw is a frontend for ufw (Uncomplicated Firewall) and ufw is a CLI based frontend for iptables. Therefore you have only a gufw process. All other is iptables and iptables is a part of your kernel and not a user space process.

Check the output of sudo iptables -L with the Firewall Status On and Off in Gufw.

Sample output with deactivated firewall

$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ufw-before-logging-input  all  --  anywhere             anywhere
ufw-before-input  all  --  anywhere             anywhere
ufw-after-input  all  --  anywhere             anywhere
ufw-after-logging-input  all  --  anywhere             anywhere
ufw-reject-input  all  --  anywhere             anywhere
ufw-track-input  all  --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ufw-before-logging-forward  all  --  anywhere             anywhere
ufw-before-forward  all  --  anywhere             anywhere
ufw-after-forward  all  --  anywhere             anywhere
ufw-after-logging-forward  all  --  anywhere             anywhere
ufw-reject-forward  all  --  anywhere             anywhere
ufw-track-forward  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ufw-before-logging-output  all  --  anywhere             anywhere
ufw-before-output  all  --  anywhere             anywhere
ufw-after-output  all  --  anywhere             anywhere
ufw-after-logging-output  all  --  anywhere             anywhere
ufw-reject-output  all  --  anywhere             anywhere
ufw-track-output  all  --  anywhere             anywhere

Chain ufw-after-forward (1 references)
target     prot opt source               destination

Chain ufw-after-input (1 references)
target     prot opt source               destination

Chain ufw-after-logging-forward (1 references)
target     prot opt source               destination

Chain ufw-after-logging-input (1 references)
target     prot opt source               destination

Chain ufw-after-logging-output (1 references)
target     prot opt source               destination

Chain ufw-after-output (1 references)
target     prot opt source               destination

Chain ufw-before-forward (1 references)
target     prot opt source               destination

Chain ufw-before-input (1 references)
target     prot opt source               destination

Chain ufw-before-logging-forward (1 references)
target     prot opt source               destination

Chain ufw-before-logging-input (1 references)
target     prot opt source               destination

Chain ufw-before-logging-output (1 references)
target     prot opt source               destination

Chain ufw-before-output (1 references)
target     prot opt source               destination

Chain ufw-reject-forward (1 references)
target     prot opt source               destination

Chain ufw-reject-input (1 references)
target     prot opt source               destination

Chain ufw-reject-output (1 references)
target     prot opt source               destination

Chain ufw-track-forward (1 references)
target     prot opt source               destination

Chain ufw-track-input (1 references)
target     prot opt source               destination

Chain ufw-track-output (1 references)
target     prot opt source               destination

and with activated firewall (note the ufw- entries)

$ sudo iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination
ufw-before-logging-input  all  --  anywhere             anywhere
ufw-before-input  all  --  anywhere             anywhere
ufw-after-input  all  --  anywhere             anywhere
ufw-after-logging-input  all  --  anywhere             anywhere
ufw-reject-input  all  --  anywhere             anywhere
ufw-track-input  all  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination
ufw-before-logging-forward  all  --  anywhere             anywhere
ufw-before-forward  all  --  anywhere             anywhere
ufw-after-forward  all  --  anywhere             anywhere
ufw-after-logging-forward  all  --  anywhere             anywhere
ufw-reject-forward  all  --  anywhere             anywhere
ufw-track-forward  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ufw-before-logging-output  all  --  anywhere             anywhere
ufw-before-output  all  --  anywhere             anywhere
ufw-after-output  all  --  anywhere             anywhere
ufw-after-logging-output  all  --  anywhere             anywhere
ufw-reject-output  all  --  anywhere             anywhere
ufw-track-output  all  --  anywhere             anywhere

Chain ufw-after-forward (1 references)
target     prot opt source               destination

Chain ufw-after-input (1 references)
target     prot opt source               destination
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:netbios-ns
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:netbios-dgm
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere             tcp dpt:netbios-ssn
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere             tcp dpt:microsoft-ds
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:bootps
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:bootpc
ufw-skip-to-policy-input  all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST

Chain ufw-after-logging-forward (1 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-after-logging-input (1 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-after-logging-output (1 references)
target     prot opt source               destination

Chain ufw-after-output (1 references)
target     prot opt source               destination

Chain ufw-before-forward (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere             icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere             icmp source-quench
ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere             icmp parameter-problem
ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
ufw-user-forward  all  --  anywhere             anywhere

Chain ufw-before-input (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ufw-logging-deny  all  --  anywhere             anywhere             ctstate INVALID
DROP       all  --  anywhere             anywhere             ctstate INVALID
ACCEPT     icmp --  anywhere             anywhere             icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere             icmp source-quench
ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere             icmp parameter-problem
ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
ACCEPT     udp  --  anywhere             anywhere             udp spt:bootps dpt:bootpc
ufw-not-local  all  --  anywhere             anywhere
ACCEPT     udp  --  anywhere             224.0.0.251          udp dpt:mdns
ACCEPT     udp  --  anywhere             239.255.255.250      udp dpt:1900
ufw-user-input  all  --  anywhere             anywhere

Chain ufw-before-logging-forward (1 references)
target     prot opt source               destination

Chain ufw-before-logging-input (1 references)
target     prot opt source               destination

Chain ufw-before-logging-output (1 references)
target     prot opt source               destination

Chain ufw-before-output (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ufw-user-output  all  --  anywhere             anywhere

Chain ufw-logging-allow (0 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW ALLOW] "

Chain ufw-logging-deny (2 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere             ctstate INVALID limit: avg 3/min burst 10
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-not-local (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type LOCAL
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type MULTICAST
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST
ufw-logging-deny  all  --  anywhere             anywhere             limit: avg 3/min burst 10
DROP       all  --  anywhere             anywhere

Chain ufw-reject-forward (1 references)
target     prot opt source               destination

Chain ufw-reject-input (1 references)
target     prot opt source               destination

Chain ufw-reject-output (1 references)
target     prot opt source               destination

Chain ufw-skip-to-policy-forward (0 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere

Chain ufw-skip-to-policy-input (7 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere

Chain ufw-skip-to-policy-output (0 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain ufw-track-forward (1 references)
target     prot opt source               destination

Chain ufw-track-input (1 references)
target     prot opt source               destination

Chain ufw-track-output (1 references)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere             ctstate NEW
ACCEPT     udp  --  anywhere             anywhere             ctstate NEW

Chain ufw-user-forward (1 references)
target     prot opt source               destination

Chain ufw-user-input (1 references)
target     prot opt source               destination
ACCEPT     tcp  --  192.168.2.201        anywhere             tcp dpt:ssh
ACCEPT     tcp  --  192.168.2.201        anywhere             tcp dpt:9150

Chain ufw-user-limit (0 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 5 LOG level warning prefix "[UFW LIMIT BLOCK] "
REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable

Chain ufw-user-limit-accept (0 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain ufw-user-logging-forward (0 references)
target     prot opt source               destination

Chain ufw-user-logging-input (0 references)
target     prot opt source               destination

Chain ufw-user-logging-output (0 references)
target     prot opt source               destination

Chain ufw-user-output (1 references)
target     prot opt source               destination


Most files in /var/log are owned by root.

So, if you want to modify them, you will have to use sudo.

To clear the error file, give command:

sudo bash -c 'echo > /var/log/apache2/error.log'

If that doesn't work, then very likely the apache process keeps the file locked and you have to stop apache before you can clear the file. This goes as follows:

sudo service apache2 stop
sudo bash -c 'echo > /var/log/apache2/error.log'
sudo service apache2 start

Note: You can't use sudo echo > /var/log/apache2/error.log here, because sudo executes the echo command but the redirect to error.log is done under the process of the user, which doesn't have elevated privileges. That's why I pass the whole command to bash, which is then executed by sudo.


How do I restore backup from timeshift from external usb device

Depending on what you mean by "Broken."  If you have messed up your OS, and the system will not boot, Timeshift should work, if you have a damaged Hard Drive, probably not, because the files are on the existing hard drive.
Procedure to restore a messed up system:
Boot from the live CD
Open the Menu from the main screen, Timeshift should be under Administration.  It is accessible from the live boot.
Select Timeshift and restore your selected backup.


Remmina blank screen after remote server reboot vnc connection

Discovered a monitor must be attached to the remote server for this to work.  Added a dummy plug adapter and all is well.


Is Ubuntu One Robust enough for serious use?

The syncdaemon should be very robust in 11.04; however, if you're running 10.04 (or possibly even 10.10) then you might still be seeing some of the problems you described. If you are in 11.04 and are seeing these issues, please file a bug because we'd love to look into it more (and this isn't the place to do debugging).

The "files disappearing" thing should never happen, so please do let us know if you're seeing that.


USB key - folder parameters - changing access rights

Why don't you just examine the folders in Linux?

Also, I'd be certain to scan the Windows machine that you plugged the USB key into.


How to configure splash screen after plymouth

I'm going out on a limb here.

If the problem that you're having with Plymouth has anything to do with proprietary ATI / Nvidia graphics drivers, try this script.

Also there are two Plymouth Managers that my help you

A GUI called Splashscreen Manager, and the other GUI is called Plymouth Manager

Note:Plymouth does not reliably work with nVidia drivers and during bootup a blank screen may result for several seconds.


Cannot connect to wifi at home after upgrade to ubuntu 14.04

What you wanna do is go into start menu>preferences>default applications for LX sessions.
The click on the autostart tab.There is a small text input box with an ADD button next to it. Type in nm-applet and then click add, right next to the text input box. Then logout and log back in again. That should do the trick.
Comment back to let me know how it went.


atom editor (snap) opens with two strange tabs

I able to get solve this without re-installing /changing installation source by doing the following:

Close tabs without saving (delete the files if you had previously saved them)
Exit/Close Atom completely
Open a terminal and navigate to /var/lib/snapd/desktop/applications/
sudo open with your preferred text editor: sudo nano atom_atom.desktop
Truncate the 'Exec' line to Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/atom_atom.desktop /snap/bin/atom
(i.e., remove the last parameters that open those files)
Save the file (overwriting the existing) and restart Atom; the tabs should no longer appear


Migrate Ubuntu 16.04 between laptops (same model)

get clonezilla and make a drive backup image, or even clone the drive itself

http://clonezilla.org/


You can use rfkill

First, do rfkill list
This will show you the names of your interfaces. Then you can do rfkill block <adapterindex> and that interface will be blocked. You can unblock again with rfkill unblock <adapterindex>

For example, my rfkill list gives:
my-lat wilhelm # rfkill list

0: dell-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: dell-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no

So I could run rfkill block 0 or rfkill block 1

You can add these commands to /etc/rc.local so they will be run on every boot.

For more information see man rfkill


Can't install mysql properly (won't start?)

One of the things that can cause this issue is when you already have a MySQL instance running. In my case I had a Docker image of a MySQL running while I was installing this new one.

If you have Docker installed check what images you are running with a simple ps:

$ docker ps

If you're insecure about if the instance is running MySQL on the standard port you can enter the image and log into the MySQL client and check which port it's running on with this:

$ docker exec -it image_name bash
root@<container_id>/# mysql -u username -p
Enter password:
mysql > SHOW GLOBAL VARIABLES LIKE 'PORT';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| port          | 3306  |
+---------------+-------+

Or you can just stop the image:

$ docker stop image_name

There are other ways to run multiple MySQL instances at once, if you do not have docker I believe you can do a ps -a | grep mysql to see all or atleast the most obvious mysql processes.


On the italian keyboard, it's (left) ALT plus PIPE (the key left to number 1 (not num pad))


How do I install Ubuntu 12 with a USB WiFi adapter?

The internal wireless is the default and it is wlan0 but when you plug in a USB receiver it is listed as wlan1
So, in order to install you need to compensate for seeing 2 hardware wireless components.
You need to  put wlan1 in your wireless preferences in Network Manager


Index.html of VPS not working, redirecting to virtual host domain

To let Nginx process the "default" directive, you may do the following two changes.

Change listen   8080; to listen   8080 default_server;
Change server_name localhost; to server_name _;

Please let me know, if it works (or not).


apt-get update and DNS issues inside of Docker on Ubuntu?

At the end I had to modify default route to use different network and than I was able to go to Internet and use apt-get to install nano...


Why does trying install 12.04 64-bit cause a panic with "machine check exception"?

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 M. I. T. menu and disable Intel Turbo Boost Hyperthreading, C1E(CPU enhanced halt), CPU EIST, and XMP. Try a reboot. If it fails, continue with this guide.
Disable the virtualization options under BIOS features. Under peripherals, disable xHCI. Save and reboot. Once the system boots, try turning settings back on until a boot failure. This setting is causing the issue, and you should leave it off at all times. You may then proceed turning on other settings, one at a time, until a failure, then skippning that setting next time.

Ref: http://www.manualowl.com/m/Gigabyte/GA-Z77-DS3H/Manual/273234


How can I remove the Ubuntu One icon from my panel bar?

If you want to disable this indicator from being showing automatically, disable Ubuntu One from startup applications. You will not see it there by default. Run the following command in a terminal. (copy-paste from here)

sudo sed 's/NoDisplay=true/NoDisplay=false/g' -i /etc/xdg/autostart/*.desktop

Then open startup applications (click on Dash=Ubuntu icon up left and write: startup) and deselect the Ubuntu One from being startingsud up automatically.

If you want to completely remove the application.

Remove "Ubuntu One" and "Ubuntu One Music Store" using the Software Center.

Or type in the terminal (Ctrl + Alt + T)

sudo apt-get remove ubuntuone-* rhythmbox-ubuntuone

I am not sure if removing only the rhythmbox plugin does the job.


How Can I define machine when I try to add units on JUJU web interface?

As of version 1.2.0 of the Juju GUI there is now a Machine View which allows you to create machines and containers as well as manually place units on any machine in your environment without having to go to the CLI.


How long should I expect a response from Ubuntu One support?

I'm sorry about that. We have lost most of the members of the support team, and we got a long queue of open tickets while the hiring of new people is completed. It's not an excuse, just an explanation of what's going on.
Some of us from other teams are helping to answer the open questions, so we will get back to normal soon. We are making some changes on the support process so this doesn't happen again.


from ubuntu

sudo grub-install /dev/XXX
sudo update-grub

where XXX is the drive with the mbr you need to overwrite like sda or sdb


How can I upgrade packages on a broken ubuntu installation from a live usb?

Boot from the live USB
Find out where the existing disk is mounted - say it is mounted on /media/point
Download http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/pool/main/l/linux/linux-image-3.19.0-18-generic_3.19.0-18.18_amd64.deb (for a 64 bit system) or http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/pool/main/l/linux/linux-image-3.19.0-18-generic_3.19.0-18.18_i386.deb (for a 32 bit system) and move the downloaded file to /media/point
Open a terminal and execute chroot /media/point
execute dpkg -i linux-image-3.19.0-18-generic_3.19.0-18.18_*
Power off, unplug the live USB and boot. Then upgrade to linux-image-3.19.0-19-generic if needed.


Lost with downloading tor/running tor in ubuntu

Okay I figured it out. I moved the download to my desktop and opened it there. Thank you anyway! Mods please close this I guess unless it can help somebody else!


LyX disables all menus after upgrade to 15.04

It was annoying me as well and surprisingly I had to search more than usual for a solution. I got the best solutions from this bug report.

tl;dr
the real solution comes from installing indicator-appmenu from the proposed repository:

add proposed repository, there is an option to use only selected packages if you want.
sudo apt-get install indicator-appmenu/vivid-proposed

simple workarounds:

press alt then write 'settings' once in lyx.
Another option is to run lyx this way:

QT_X11_NO_NATIVE_MENUBAR=1 lyx


Upgrade error due to another package management application running

Ok, try some of these steps in order:

If you haven't already done so reboot your machine and try running the update again.

Try running sudo apt-get clean in a terminal and try running the update again

Try the command line upgrade by running sudo do-release-upgrade

Manually remove the lock file sudo rm /var/lib/dpkg/lock and try running the update again.


How do I update grub to grub2 if legacy grub is installed in boot partition sector, not MBR?

If you have verified that the new grub2 setup works, you can use grub-install safely.

The only significant thing upgrade-from-grub-legacy does is this:

rm -f /boot/grub/{{xfs,reiserfs,e2fs,fat,jfs,minix}_stage1_5,stage{1,2}}

which essentially removes the grub-legacy files from /boot/grub, you can also remove /boot/grub/menu.lst if it doesn't contain anything important to you.


They are as follows:

  PalmMinWidth - Minimum finger width at which touch is considered a
  palm

  PalmMinZ - Minimum finger pressure at which touch is considered a palm

Info source: ftp://www.x.org/pub/X11R7.5/doc/man/man4/synaptics.4.html.


Left Ctrl key opening help and right Ctrl key prints "x"

You could try going to System Settings (in Unity, from the indicator menu on the top-right), then click Keyboard from Hardware section, and click button Restore default.

If it does not work, check the selected keyboard model, and check also the there is no strange flags in list appearing clicking on Options button.


Google Earth shows a black screen and options are greyed out

Which (or any) of these methods have you tried?

Method A: (download binaries)

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/earth/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

sudo apt-get update && sudo apt-get upgrade

sudo apt-get install lsb-core
sudo apt-get install ia32-libs    (needed for Ubuntu 11.10, 64bit)

sudo apt-get install google-earth-stable

Method B: (download & compile)

sudo apt-get install build-essential lsb-core
sudo apt-get install googleearth-package

sudo make-googleearth-package --force


Can Windows guest OS work with shared folder on ext hard drive?

The speed of the VirtualBox shared folder would be limited by the speed limitation of the physical USB connection between the external hard drive and the computer.


Getting GPT detected. Please create a BIOS-Boot partition” while using Boot Repair

In the windows world and by default on linux, there are only two possibilities:

old: BIOS-MB + MBR-disk
new: EFI-MB + gpt-disk

However if you have an old motherboard and a new disk linux gives you a chance

You can use a gpt disk with a bios-MB
The key thing there is that you need to create a BBP — a tiny 1MB special bios boot partition near the beginning of the disk. [Not to be confused by EFI partition or linux separate boot ]

You can do that with parted though I'd recommend gpt things to be done with gdisk.

If you prefer (g)parted, do the actual partitioning with gdisk and examination/mkfs etc with (g)parted.
This keeps alignment well. Thereafter marking the type as BBP may be easier with (g)parted.


Grant all users access to a folder (including new files)

Your are looking for umask mecanism. It sets  the value of the system's file mode creation mask.

Welcome on Askubuntu =)


After updating 16.04 LTS, systemd would not load my config file for transmission-daemon from the correct location.

I found a workaround at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734467

I tried the drop-in *.conf file in /etc/systemd/system/transmission.service.d/ to override ExecStart. However, using ps -ef | grep transmission I could see the  wrong config location was still being used after reloads and restarts.

Reluctantly, I edited

/lib/systemd/system/transmission-daemon.service

to include the correct path by appending

-g /etc/transmission-daemon

to the ExecStart line.

[Unit]
Description=Transmission BitTorrent Daemon
After=network.target

[Service]
User=debian-transmission
Type=notify
ExecStart=/usr/bin/transmission-daemon -f --log-error -g /etc/transmission-daemon
ExecReload=/bin/kill -s HUP $MAINPID

[Install]
WantedBy=multi-user.target


LibreOffice Writer: How to clear all formatting whatsoever (not only "direct formatting")?

I would do it with Paste Special:

Stand with the mouse cursor where you want to paste the text.
Right click the mouse.
Choose Paste Special.
Choose Unformulated text.

The text should look more normal than the "Default Style" solution. However, it only works when pasting rather than in general.


Unable to run anaconda-navigator out of conda envirnment (base)

So no one answered and I needed to solve it so went through the websites and found the solution which I share for the future users' problem.

The thing to do is to modify two things in .condarc file, which usually is situated saved in home directory.

First to set the automatic activation of the base to true, to have the environment activated in the terminal, and change changeps1 to False in order to prevent to show (base) in the beginning:

$ conda config --set auto_activate_base True
$ conda config --set changeps1 False

They are all saved in .condarc file.


How can you quickly get the complete path to a file for use in terminal?

readlink -f foo.bar

or (install it first)

realpath foo.bar


making document viewer start from the last page

evince stores the last page and per-document viewing options by default, in typical GNOME fashion, cannot even deactivate it.

The information is stored in two files in $HOME/.local/share/gvfs-metadata/, root-<4bytes>.log and home-<4bytes>.log. If you delete them, evince should generate new ones after the next start of the program and work as expected.


bluetooth keeps turning off in 19.04 after physically and manually turning off bluetooth device, any fix to this?

I have the same problem while using bluetooth headset but reloading kernel modules can make it work without restarting.

$ sudo rmmod btusb
$ sudo modprobe btusb


Did you try downloading it off there website and installing it?
https://www.virtualbox.org/wiki/Linux_Downloads

Because your on Ubuntu click Ubuntu 18.04 / 18.10 / Debian 1 or Ubuntu 16.04
Then run the installer that downloads


Open a terminal (ctrl+alt+t) and run the following commands:

Install dmg2img sudo apt-get install dmg2img
Browse the folder where the file is located cd PATH/TO/THE/FILE
Next convert the .dmg to .img dmg2img NAMEOFTHEFILE.dmg
NAMEOFTHEFILE.img
Create a directory to mount the image mkdir /media/image
sudo modprobe hfsplus
Mount the image sudo mount -t hfsplus -o loop NAMEOFTHEFILE.img
/media/image
Download Brasero sudo apt-get install brasero
Create the .iso with from the previously mounted .img following
this guide
Open Brasero and burn the image (.iso)

This is quite simple you should get no troubles at all, good luck.


How to make desktop icons less fat on Gnome 3.16?

The icon size settings for the desktop are the same as for the icon size in Nautilus for Icon View Defaults.

For smaller or bigger sizes, use the next steps

Right Click the desktop icon
Select Resize Icon…
Left Click the resize handlers at the edges of the wire frame
Resize the icon

You can restore the original size with

Right Click the desktop icon
Select Restore Icon's Original Size

If that doesn't work though, you really should think about changing their diet... ;-)


How can I change repository mirror from commandline?

For Debian there is apt-spy, maybe it's possible to adapt it to Ubuntu (it would need to use a different mirror list of course).


Open the terminal and run:

wget -c http://valgrind.org/downloads/valgrind-3.6.1.tar.bz2

or if you want you can download and also extract valgrind-3.6.1.tar.bz2 using curl with this command:

curl http://valgrind.org/downloads/valgrind-3.6.1.tar.bz2 | tar jx


How to compile a c++ program from notepad++?

Install g++ sudo apt-get install g++.
Open terminal and go to file directory.
Fast compiling g++ filename.cpp and run ./a.out.
Specify output name g++ filename.cpp -o filename.out.
If you want to know more about g++ open terminal and write man g++.


What is the 'whoopsie' process and how can I remove it?

What's whoopsie ?

It's the "Ubuntu Error Reporting" daemon, and is installed by default in both desktop/server installations.
When something crashes, whoopsie does two things:

Collects the crash report generated by Apport and
Can send them to Ubuntu/Canonical (specifically to https://daisy.ubuntu.com in BSON)

Whoopsie won't send your crash reports without your permission!

As Evan explains in his answer below, the actual transmission of crash data occurs only if you permit it via the graphical dialog (see below), or for a CLI server, explicitly run apport-cli.

How do I disable it on my desktop?

GNOME Shell (Ubuntu 17.10+)

Unity (Ubuntu before 17.04)

Go to Settings...Privacy...

And in the Diagnostics Tab, uncheck the Send Error Reports to Canonical option:

How do I disable it on a server or via the command-line?

Just change the report_crashes parameter to false in the /etc/default/whoopsie file.
Then bid farewell to whoopsie with sudo service whoopsie stop.


Unable to fix unmet dependencies with apt --fix-broken install

Two problems here -

you have missed universe pocket. Enable it with:

sudo add-apt-repository universe

Fix your repositories as described in this answer if unsure.
you have two sources for MongoDB package, remove older one with

sudo apt-get remove mongo-tools

And finally install Shutter with

sudo apt-get install shutter


Wordpress: Unpacking the package… Could not create directory

Had the same issue just recently and found a fix.

You need to change permissions on the folders inside wp-content folder:

    sudo find /var/www/wordpress/ -type d -exec chmod 755 {} \;
    sudo find /var/www/wordpress/ -type f -exec chmod 644 {} \;

After you've done that, add the following to your wp-config.php file and it should work just fine.

    define('FS_METHOD','direct');


As an alternative to rsync, one way you could accomplish this task is by using wget with the -m (--mirror) switch, which applies -r (recursion), -N (matching timestamps to the remote file) an infinite level depth that you may or may not wish to curtail using the -l switch, and also applies the --no-remove-listing switch (an FTP transfer option that I don't think matters when transferring via HTTP)

We will also need to target the directory for storage explicitly to avoid dumping everything into the directory in which wget was launched (default behaviour as I recall)

We can do this with the -P switch as in -P target or --directory-prefix=target

You will also likely want to avoid climbing above the source directory you are targeting with the -np (--no-parent) switch which applies:

Do not ever ascend to the parent directory when retrieving recursively.
This is a useful option, since it guarantees that only the files below
a certain hierarchy will be downloaded.

You can specify credentials as follows:

--user=user
--password=password

 Specifies the username user and password password for both FTP and HTTP file retrieval.  These parameters can be overridden using the --ftp-user and
           --ftp-password options for FTP connections and the --http-user and --http-password options for HTTP connections.

Putting all this together, I end up with a command that looks like this.

wget -m 192.168.0.22/webdav/ -np -P ./media/martin/internal-large/CCTV-TWO/

In your case you may or may not have to add the --user=admin and --password=whateveritis switches.

There may be other useful switches for your particular use case. There's a detailed man page available with the command man wget One in particular you might wish to review is --no-clobber I've included an excerpt from the man page below:

--no-clobber
           If a file is downloaded more than once in the same directory,
           Wget's behavior depends on a few options, including -nc.  In
           certain cases, the local file will be clobbered, or overwritten,
           upon repeated download.  In other cases it will be preserved.

           When running Wget without -N, -nc, -r, or -p, downloading the same
           file in the same directory will result in the original copy of file
           being preserved and the second copy being named file.1.  If that
           file is downloaded yet again, the third copy will be named file.2,
--
           Therefore, ""no-clobber"" is actually a misnomer in this
           mode---it's not clobbering that's prevented (as the numeric
           suffixes were already preventing clobbering), but rather the
           multiple version saving that's prevented.

           When running Wget with -r or -p, but without -N, -nd, or -nc, re-
           downloading a file will result in the new copy simply overwriting
           the old.  Adding -nc will prevent this behavior, instead causing
           the original version to be preserved and any newer copies on the
           server to be ignored.

Sources:

man wget

https://stackoverflow.com/questions/1078524/how-to-specify-the-location-with-wget

https://stackoverflow.com/questions/17282915/download-an-entire-directory-using-wget


Direct Login to windows without grub menu

This have to be set in BIOS settings.
In BIOS go to BOOT and put Ubuntu on the first place.
Ubuntu should ask every time, which system do you want to use.


How to disable mounting of external drive at boot?

If there is a line in /etc/fstab related to that drive, remove it.

The file is read only for all users other that root.

To edit it use the command gksu gedit /etc/fstab, but make a copy of the file before editing, and do not touch nothing other than removing that line.


winehq-staging is the most recent testing Wine version. To install winehq-staging in Ubuntu 18.04 open the terminal and type:

sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt update
sudo apt install --install-recommends winehq-staging

If apt complains about missing dependencies, install them, then repeat the last two steps (update and install).

To install winehq-staging in 19.04 replace bionic with disco in the 4th line of code.


Risky to remove all i386 packages on a 64-bits install?

Yes they are some risk.
You should first read this post : How to remove all i386 packages from Ubuntu 64bit?

As Henk say, if they are not in your way, I would leave them where they are.


Evolution data server (EDS) is the backend application that your software should interface with.


Partitioning in a dell 660s while installing ubuntu

During the create partion step, there is a dropdown menu for Mount Point.  Select it and choose the root directory "/".

More detailed info can be found here


How to get  the eglibc source code used by Ubuntu?

If you really want to step through the source I'd recommend building a libc without optimisation and without stripping the binaries.

Fortunately, that should be easy - since you've already got the source, you can build packages from it.  You'll want to ensure the DEB_BUILD_OPTIONS evnironment variable contains noopt to get -O0 binaries and nostrip to keep the debugging symbols, and then build as normal with debuild:

sudo apt-get build-dep libc6
DEB_BUILD_OPTIONS="noopt nostrip" debuild -us -uc

will build you packages built with -O0 and without the debugging symbols stripped; you can then install them with dpkg and gdb will pick up the debugging symbols.  As an added bonus, gdb will also know where to find the source files, so you'll get source listings.

Since we haven't changed the version of the packages, the next time you run an upgrade apt will replace these locally-installed packages with the archive versions.


Every video editor crashing! [11GB AVI File vs Openshot & KDen Live]

Given that you have a video file that you want to make smaller I would use ffmpeg to recode it. It streams the video so doesn't need to load the entire thing into ram.

ffmpeg has a lot of options that you can find in the man page and you could find many examples online.

If you have a video only file then

ffmpeg -i movie.avi -vcodec mp4 -b 2M movie.conv.mp4

should give you a smaller mp4 video file you can load into kdenlive with the audio to sync up.

You can also use ffmpeg to mix the video and audio into one file. As you may only want to offset the audio start time this wouldn't be hard.


How do I setup an Epson XP-446 printer to work with Ubuntu 18.10?

I shortly search-engined for that model and found "works with your iPad". Then I stopped reading and concluded that it must be AirPrint-enabled and support IPP.

Which in turn means:

You should connect it to your WiFi.
Run the ippfind command.
See which "device URI" that command returns for you.
Example: in my network I see ipp://HPA0B3CCF051B9.local:631/ipp/printer returned for a HP printer.
Run this command in your terminal, using the device URI for your Epson:

sudo lpadmin -p epson -v <the-device-URI-returned-by-ippfind> -E -m everywhere

This should install a print queue named 'epson' and using an auto-generated PPD that takes into account all the responses which the printer returned on an automatically run Get-Printer-Attributes IPP query.


Update for Ubuntu 18.04 and above
New installations of recent versions of Ubuntu does not use a separate swap partition any more. They use a swap file by default.
Original Answer
Ubuntu by default uses two partitions, one of type ext4 and the other of type Swap. Windows uses NTFS partitions not useful for Ubuntu installation.
If you have a free partition in Windows, delete it using Windows Disk Management Tool. Keep the free space unallocated.
When you install Ubuntu, choose the Install side by side Windows option. Ubuntu will find the unallocated space and create the partitions it needs.
See Ubuntu installation on Windows7 with D partition for more details.
The default installation of Ubuntu includes a boot-loader called GRUB. Every time you boot GRUB will load before Windows or Ubuntu and give you the choice to boot either Ubuntu or Windows. If you do not choose anything, it will boot Ubuntu after waiting for a while. Both the time it waits and the default boot can be changed later.
Hope this helps


problem with static ip in ubuntu 12.04 lts server

I suggest the following /etc/network/interfaces file:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.254.120 #assuming this address is outside the range used for DHCP in the router
netmask 255.255.255.0
gateway 192.168.254.1
dns-nameservers 8.8.8.8 192.168.254.1

Now get the sytem to read and use the changes:

sudo ifdown eth0 && sudo ifup eth0

Check that you can reach the internet:

ping -c3 www.google.com


Best configuration for Ubuntu and Objective-C

Developing Iphone and IPad applications is supported only if it is developed on a Mac.  This is especially true if you want your application to end up in the App-store.  A good explanation is given on another stackoverflow site here which ties together your Objective-C question and writing for the IPad.

Apple, unusually perhaps, have an excellent IDE and development tools which they give away for free.

I would either buy a used Mac, or (if you have a license) - install a virtualised OS-X in VMWare etc.

KDevelop does have some Objective C patches - but it doesnt look like it is actively supported.


protoc is the compiler for protocol buffer, you need to provide the .proto file to compile.

Consider this java example-

protoc -I=$SRC_DIR --java_out=$DST_DIR $SRC_DIR/addressbook.proto


Ubuntu 18.04 after update cannot reach outside network only internal

Use the following in your /etc/netplan/01-netcfg.yaml... keep the formatting EXACTLY the same...
network:
  version: 2
  renderer: networkd
  ethernets:
    enp2s0:
      addresses: [192.168.5.11/24]
      gateway4: 192.168.5.1
      nameservers:
        addresses: [192.168.2.1, 8.8.8.8, 4.4.4.4]

sudo netplan --debug generate
sudo netplan apply
reboot
Note: Make sure that SSH port 22 is open in your firewall. Understand the security ramifications of doing so.
Note: Your machine has a static IP, so it's not using DHCP.
Update #1:
Please try this driver...
sudo apt-get update
sudo apt-get install dkms r8168-dkms
Shutdown the computer and POWER OFF
Reboot
Retry Internet
Update #2:
Problem was with the IPFire firewall. Removed bad rule, now it works.


The problem here is a common problem with Open Source drivers and kernel mode setting. You can disable it using:

sudo echo options i915 modeset=0 > /etc/modprobe.d/i915-kms.conf

Source: http://calebflynn.com/node/4


Is there a way to stop the display from turning off?

From the desktop, click Power Button and choose System Settings...,

Then open Screen (icon).

Under Brightness, note that the default is set to "10 minutes". You'll probably want to change it to "Never" for your situation.


Add this line to /etc/apt/sources.list to enable Microsoft Teams repository:

deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams/ stable main

Remember to change [arch=amd64] to your CPU architecture if you're not using AMD64.

Run sudo apt update
Run sudo apt install teams

Regarding your note

as far as I know 1.4 is out, with many new features

I can see two different packages: teams (v 1.3) and teams-insiders (v 1.4). Is it possible that this is what you meant?
$ apt search teams

# ...

teams/stable 1.3.00.30857 amd64
  Microsoft Teams for Linux is your chat-centered workspace in Office 365.

teams-insiders/stable 1.4.00.4855 amd64
  Microsoft Teams for Linux is your chat-centered workspace in Office 365.


Graphics problem on 11.10 install and use: black screen, weird resolution, pointer flickers

You also need to enable nomodeset for your system installation now that you have completed the install from live CD.

Follow the steps in the answer by coldfish in How to set nomodeset for installation? to make the changes permanent.


The marked 'maximum' speeds on fans are theoretical, and can be rarely reached practically. Something that 'may' help is: Open the chassis, take the fan out and clean it free from any dust in there. Make sure there's proper ventilation so that dust doesn't block the airflow.

Keep Bumblebee installed and let it control the fan speed.


Can I remove boot medium after boot from live usb/cd

I think you can not remove the USB/CD before shutting live os.

I hope this is what you're looking for.
Here is described instructions liveCD

  After you have finished, shut the computer down and remove the CD.

  At this point anything you saved to the desktop or Documents folders and such will vanish - only things you saved into folders on the hard-drive will remain. This means that there won't be any trace of your personal data (e-mails, passwords etc.) left on the machine, which can be quite useful if you don't trust the Windows installation on the computer.


"Non-system disk" error when trying to boot from usb

I reformatted the USB stick and put a new installation on it using the 64 bit version (this guy: ubuntu-14.04.3-desktop-amd64.iso). I was able to boot from the USB drive with that.


What happened to the Ubuntu online tour?

I've opened an Issue asking for the tour to be updated, please give it a +1 (thumb emoji)! However I suspect what was stated on an Issue asking for an update to 16.04 LTS still applies: it's too low a priority to be worked on though of course they welcome contributions to get it fixed (edit: this is in fact the case - the Ubuntu online tour is no longer supported).


Cannot see or access another computers on networking using ubuntu 14.04 LTS

If you want to just access the files from other Windows PCs, you can use this

And
For other Linux PCs, you can install ssh server on them and access them by

$ssh username@ip-address

For remote desktop connection, VNC is a nice cross-platform approach.


How do you compare two root filesystems - but ignore mount points?

A command line solution is easy, when you reverse the question to "I want to diff /mnt/another_rootfs /":

find /mnt/another_rootfs -xdev -type f -print0 | \
    xargs -0 -r $HOME/bin/diffwithslash

Where $HOME/bin/diffwithslash is something like:

#!/bin/bash
while [[ $# -gt 0 ]] ; do
   afile="$1"
   shift
   bfile="${afile#/mnt/another_rootfs}"
   if [[ -f "$afile" ]] && [[ -f "$bfile" ]] ; then
       diff "$bfile" "$afile"
   fi
done
exit 0


How to resolve UnsatisfiedLinkError installing Spark on Ubuntu 16.04?

Check your error log file in [Spark directory]/logs/error.log. It will have some more information.
looks like you are trying to install 32-bit software on a 64-bit system and do not have the dependencies installed. I did not find a 64-bit version from a quick search.
If this is the case install it with

sudo apt-get install libxrender1:i386

Possibly you will get the same notice for ...

sudo apt-get install libxi6:i386
sudo apt-get install libxtst6:i386

and maybe some more.

The :386 will install the 32-bit version for you.
Install the 1st one and try that before installing the 2nd one and so on.


How to go full screen in ubuntu 12.04 in Vmware Player 4.0+

If the automatic mode fails yo could try with xrandr in a console to see which resolutions Ubuntu supports. It will give you something like this:

$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
VGA1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 410mm x 230mm
   1366x768       59.8*+
   1024x768       75.1     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        72.8     75.0     66.7     60.0
   720x400        70.1

And then:

$xrandr -s  1366x768


How to uninstall Ubuntu 12.04 LTS dual booting with Windows 7?

Go to this website:

http://partedmagic.com/doku.php

Download the ISO appropriate to your CPU architecture and burn it to a disc.

Boot from it.

Delete the partition allocated to Ubuntu via GParted.

Resize your Windows partition to fill your drive.

BTW If there is still an option to boot into Ubuntu, you will have to boot into your Windows CD that you have and do something, although I am unsure of what - Google is your freind.


Boots up in terminal and startx can't be found

For the rest people will end up on this thread

I installed Eclipse for Android development but messed up with my x too
sudo apt-get install xorg worked for me.
I startx without restart and ended up in a desktop (Unity) without bars and Dash and stuff. Only the desktop (wallpaper) and the startup apps running like Gwibber.
Then I Ctrl+Alt+T for terminal and did `sudo apt-get install nvidia-current (I have Nvidia GPU) and then restarted. Now Lightdm and Unity working correctly.

How it helps


The following command update your date and time :)

ntpdate ntp.ubuntu.com


I have a vbox extension virtual machine instead of vdi. How should I resize storage of vbox?

The .vbox is an xml file describing the properties of the VM, not the virtual hard drive.
In the .vbox file you can find the Virtual hard drive properties in the HardDisks sections. You can also find the virtual Hard drive properties (including file name and location) in the VirtualBox GUI showing the VM properties.

Available Virtual hard drive extensions are : VDI|VMDK|VHD
Only VDI and VHD can be resized (expanded)

- Open virtualbox gui
- Display the Virtual media manager CTRL+D
- Find you virtual Hard Drive
-- If it is a VDI or VHD file you can resize it with a command like that:
vboxmanage modifymedium --resize <newSizeInMegabytes> /path/to/file.vdi
-- If it is VMDK file, you will have to create a new Virtual hard drive file or clone the existing and change the file type.
You can do both from the VirtualBox media manager or from CLI with vboxmanage. And then attach the new drive to the VM.

Get more information:
https://www.virtualbox.org/manual/ch08.html#vboxmanage-createmedium


From the what I can understand, this is the state of things:

You were the original user, and probably have sudo privilege either by your username or by your other groups.
But the PolicyKit privileges are still the default from Ubuntu (members of groups sudo and admin, and the root user). You can verify this: sudo cat /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf should give:

[Configuration]
AdminIdentities=unix-group:sudo;unix-group:admin

So if you add yourself back to the sudo group (or the admin group, if it exists), you'll gain the PolicyKit privileges as well:

sudo adduser $(whoami) sudo


Two physical servers, same IP, nginx setup

If the two servers have "same IP", I assume you mean the external IP and they are behind NAT (router) in some local network.

Just because you have set them to use different domain names, doesn't change the fact that all browsers will resolve those to single IP, and that is the IP they will talk to in order to request website data.

Which website gets loaded in this situation depends on your router settings. E.g. if you do port forwarding from port 80 to local IP xx.ddns.net machine, then, provided that both CNAMEs still resolve to the same IP address, both websites will load from xx.ddns.net machine.

In order to be able to serve sites from different servers in your LAN to external visitors, you need your router to be able to inspect the Host request header and forward proxy requests to appropriate local IP. It is highly unlikely that your router supports this.

So the other way is choosing one of the NGINX servers to serve double purpose of hosting either of the domains and do the proxy_pass to the other domain/server when it's being requested.


Finding the path to a file from terminal

You can use find:

find . -type f -name WebPerformanceUtil.class

where . is ~/eclipse/project_folder


how to connect to a remote desktop behind a router?

You can use Gogo6 and get an IPv6 address at the same time:

On the server, download and install the Gogo6 client with:

sudo apt-get install gogoc

And get an account at http://www.gogo6.com/freenet6/registration for Freenet6.

Then, run gksudo gedit /etc/gogoc/gogoc.conf(still on the server) and set the following settings:

userid=your_user_name_you_set_up_with_the_link_above
passwd=your_password

Save and reboot. You can now access your_user_id.broker.freenet6.netas long as the SSH client is set up to bind to that interface. You can just bind it to 0.0.0.0, which is the default IIRC.

It should allow access from IPv4 hosts, but I will check on that.


Xubuntu 16.04 - Volume indicator missing

You might have indicator-plugin missing from the panel.

Right click on the panel and select

  Panel -> Panel Preferences -> Items and click on the + button

Search for Indicator Plugin and add it.

I hope that works.


Auto-Snap a Terminal (or Nautilus) when Opened

What you could use is the -geometry option for nautilus shortcut.

For instance, I could set Super+E (which is same as Windows shortcut for opening "My Computer" ) to nautilus --geometry 250x250+0+0 . The geometry option is defined in man X page as WIDTH+HEIGHT+XOFFSET+YOFFSET.  +/- can be used and man page defines the corners as:

+0+0    upper left hand corner.

-0+0    upper right hand corner.

-0-0    lower right hand corner.

+0-0    lower left hand corner.

With terminal , that's a little different because gnome-terminal treats geometry option as in rows by columns. So gnome-terminal--geometry="250x250+0+0"` will open a window that is just horribly large.

What you also could do is to alter the .desktop files in /usr/share/applications folder, particularly the Exec= line to have the geometry option, so that launcher icons also  can spawn windows with specific size


X11 forwarded program does not open in normal window

Turns out that the newer gedit is crap. The fix is remove the existing version of Gedit and replace it with the older version of Gedit as per this post http://www.omgubuntu.co.uk/2016/06/install-gedit-3-10-ubuntu-16-04-lts

sudo apt-add-repository ppa:mc3man/older
sudo apt update && sudo apt install gedit gedit-plugins gedit-common


How to install Resynthesizer Plugin in GIMP snap?

You have the Python files, but you're missing the main executables. Download and extract the zip files from https://www.gimp-forum.net/attachment.php?aid=1710


Yes, it is possible, you don't need root for that.

For example:

Someone with physical access
Someone within your local network when you have open ports (e.g. port 22 = ssh) and use weak passwords.
If you have open ports and forward them to your computer and use weak passwords.
You installed software from a bad source (malware).
You use outdated software that accesses the internet.

But ... I think in your case it is quite unlikely.
I would say, if these guys really had access, they would send proof.


How do I remove any data from a LiveUSB with data persistence?

All your changed data is stored in a file/partition named/labeled "casper-rw".  You should be able to mount either one, and delete/add/change things.  Not everything you add can be seen, for instance /etc/fstab, but most things can.  You can even change the boot commands on your boot media -- edit syslinux/txt.cfg  and remove the "persistent" word on the append line (in several places).


this may be because by default Ubuntu has a cut down version of vim called vim-tiny and many commands don't work in vim-tiny. To get full functionality you need to install vim. You can install vim with following command

sudo apt-get install vim

Try these commands after installing vim and let me know if you still have problems.


Ubuntu 19.04 VM (VMWare) hanging on boot

Try this

open terminal

ctl+alt+(F1 or F2 or F3 or F4 any key upto F7)

Type sudo vim /etc/gdm3/custom.conf

type the password when prompted. (It will not be visible while typing.) edit the file and remove '#' located at the beginning of the following line (its 7th line)

Wayland = false

So now the line will look like this - Wayland = false

save and close the window.

exit and restart.

If this does not work try updating your bios.


installing synaptic package manager from outside the repos

You can download synaptic package manager .deb file, and install it.  Once downloaded, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, navigate to where the file was downloaded, probably the Downloads folder, and run the command(s) below:

sudo dpkg -i <package_name>.deb

Click for 32bit, and 64bit depending on your architecture.  Or you can download and build from source.

You may want to take a look at this for the Authentication issue.

Take a look at Ubuntu Packages, and see if works that way.


How can a TrueCrypt hidden volume of greater than 2 TB be created?

You need to use GPT for partitions larger than 2Tb. Booting such a partition it is not supported.

MBR has a limit of 2TB.


Huawei Freebuds 3 microphone does not work on Ubuntu 18.04

Apparently the problem here is that the Huawei FreeBuds 3 do not support Headset profile (HSP). They only support Handsfree profile (HFP) as can be seen in the bluetoothctl output. PulseAudio on the other hand does not support HFP out of the box, as is explained here: https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/
So the only options are to install and setup oFono or to patch and compile PulseAudio yourself. Patch is available here: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/94


GPT Not mounting using "normal" GPT mounting techniques 12.04

Your partition table is corrupt. Note the following:

First usable sector is 34, last usable sector is 3907027021
Number Start (sector) End (sector) Size       Code Name
  2          264192   3907028991   1.8 TiB    0700 Basic data partition

The end sector of partition #2 is after the last usable sector on the disk. This is illegal.

Note, however, that this says nothing about the filesystem on that partition. It's possible that the filesystem is smaller by a wide enough margin to make it fit entirely on the disk. If so, deleting the partition in gdisk and re-creating it with a smaller size may fix things. You'll need to figure out the precise size of the filesystem, though. Perhaps one of the Linux NTFS utilities can provide this information, but offhand I'm not sure precisely how to do this.

Also note that it's partition #2 (/dev/sdb2) that contains the filesystem, not /dev/sdb1 or /dev/sdb. If you've been using either of the latter two identifiers in Linux, that could explain the error messages you've been getting. If you try /dev/sdb2 and it starts working, though, don't ignore the partition table problem; it's likely to come back and bite you!


Can't Install Ubuntu 12.04.2 (desktop-amd64+mac) on Macbookpro 17" mid 2010

Don't use ubuntu-12.04.2-desktop-amd64+mac.iso from http://cdimage.ubuntu.com. It's an unsupported release, whose benefits are not clearly communicated on the website ("This image is adjusted to work properly on Mac systems."). The filename suggests to be a special version for Mac, but the image doesn't has a EFI-compatible bootloader (more info), so the only way to boot this image on a Mac is from CD in BIOS-compatibility mode, not EFI mode. Therefore, booting this image from USB stick is not possible.

Try ubuntu-12.04.2-desktop-amd64.iso from http://releases.ubuntu.com instead. This image comes with an EFI-compatible bootloader and is bootable on Mac from CD or USB stick in EFI mode (Tested at this moment on MacBookPro5,5). For booting from USB simply copy the image to your USB stick the way you used to do before.

The tool rEFIt is unnecessary for single LiveCD or LiveUSB booting, but it's helpfull if you plan to have dual or triple boot options on your HDD.


In my system details my graphics line is blank

To undo those commands, you can try:

sudo add-apt-repository --remove ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install --reinstall nvidia-current


Can't get a script to run on starting an ec2 ubuntu server

First, Make sure the file is executable.
Set execute permission on your script:

chmod +x /path/myScript.sh

Enable logs : it will help you out with exact problem.

@reboot /path/to/myScript.sh > /path/cronlog.log 2>&1


USB Drive - Not able to change file permissions

You can set up /etc/fstab as a way of configuring drives.  To pick out or identify a specific partition to mount, we can use the partition's UUID, which can be found with blkid

sudo blkid

In order to mount the drive, you need an empty directory.  The user you wish to have access to the files needs access to this directory, including +x:

sudo mkdir /mnt/MyDrive
sudo chown me:me /mnt/MyDrive
sudo chmod 770 /mnt/MyDrive

Where me:me is the user:group string.  On most systems, the first non-root user created at install will have the uid of 1000, and gid of 1000, but you can check /etc/passwd and /etc/group to confirm these numbers match up on your system for the next step.

Now that you know which partition to mount, and you have a place to mount it, work on a new entry in /etc/fstab

UUID=id-without-quotes  /mnt/MyDrive   ext4   defaults,noauto,uid=1000,gid=1000

Additional details about /etc/fstab can be found in the Ubuntu Wiki.  The details found in the wiki will help you fine-tune settings, such as auto-mounting when inserted, or setting default umask.  Another interesting option is the users option, which allows non-root users to mount the filesystem.

sudo mount /mnt/MyDrive
sudo umount /mnt/MyDrive

If you need to share these files with other users, create a new group, add all of the users to the group, and then adjust the gid to match the new group's identifier.  You can see other examples of this, such as httpd or nginx using the www-data user/group.


Which video player pauses when I press on the screen?

One option is to install VLC and the VLC pause click plugin.
To install VLC :

sudo apt-get install vlc


How to retrieve data in the system, where the ubuntu has problem in booting

One way to do this is as follows. You will need a usb setup for a live environment such as the Ubuntu installer. You will also need an external usb drive on which to store the recovered data:

Boot into the live environment by choosing “Try Ubuntu”
Identify the partitions in the machine (lsblk command)
Mount the partition with the data (sudo mount /dev/sdX# /mntpoint
Copy the data with recursive cp commands

Ask other questions if you need more detailed help


Why does all of my internet traffic go through one interface?

It's a matter of "packet routing". do ip -route, man ip;man ip-route. Any packet path that is not specified gets sent through the default route.

Search AskUbuntu for information on "bridging" (which I haven't tried, but might let you combine your interfaces).


What is the difference between the various methods of suspending in 14.04?

It depends on your settings. If in "Power Management" is set to suspend, when you close the lid, then it is same. But settings may differ. You can choose i.e. to hibernate, when close the lid, etc.

By default it is same.

You can try pm-hibernate, ot pm-suspend-hybrid too. They are different.

And also suspend menu item can be linked to "hybrid". But this does not work well on all systems.


You can install and run Boot Repair from your working Ubuntu installation; there's no need to boot an emergency disc to use it.


LibreOffice Calc - Perform operation on every nth cell

I found a question on stack-overflow, that addresses a similar problem.  I believe that one or more of the answers might have the solution that you're looking for.  The top 2 answers I think might do it for you.  The first answer involves a formula, and the second one involves data sorting in a certain way.

Quoted from the Stack-Overflow answer:

  In A1 of your new sheet, put this:

  =OFFSET(Sheet1!$A$1,(ROW()-1)*7,0)

  ... and copy down. If you start somewhere other than row 1, change
  ROW() to ROW(A1) or some other cell on row 1, then copy down again.

  If you want to copy the nth line but multiple columns, use the
  formula:

  =OFFSET(Sheet1!A$1,(ROW()-1)*7,0)

  This can be copied right too.

Click here to see the question on Stack-Overflow.


The boot loader of Windows (ntloader) didn't detect Ubuntu and hence only showing Windows. You may just have to reinstall the GRUB loader of Ubuntu. see the following link:

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows


how can I get multiple columns view in gwibber 3.2.1?

I had a similar question and I could find the answer here:

How do I change Gwibber themes or column settings?

Gwibber's developers changed the core of the program, and so they have "downgraded" the functionality of it. You will either have to install v2.3 or wait a bit until they include the old functionality into the new core. Hope it helps!


Disable automatic vertical maximise of windows when scaled to bottom of screen

Ok, finally found the reason for the automatic window maximising:
the compiz resize plugin!

The settings for this plugin contain an option called Maximize Vertically if screen edge hit in the tab General. This did the trick.

Though I checked each compiz plugin within the windows scope a thousand times before, I did not found this checkbox earlier. This is because I searched for a setting of type active screen edge and not of type checkbox.

Note: due to the lack of this information within the compiz plugin settings, I guessed the underlying name of this plugin being resize!

The german localized title is "Fenster skalieren aktivieren" which - directly translated - should be s. th. like "Activate Window Scaling" or "Activate Window Resizing". There is another plugin called "Skalieren" from which I assume, it corresponds to the underlying "scale" plugin, so "resize" should be the right one.

If anyone can confirm or correct this, I will edit my answer.

Update 2016-07-13

The "CompizConfig Einstellungs-Manager" is the "CompizConfig Settings Manager" and used to adjust all parameters of "compiz".

It may not be preinstalled on your system!

Check this by opening a terminal and enter ccsm.

If this command is not found, you can install it with:

sudo apt-get install compizconfig-settings-manager

Note: this install package name was changed somewhen in the past - if you have a really old system it may be named ccsm as well, if I remember this correctly.


Read reads ina user input to a variable.

echo 'Select an option
  1) Run nmap
  2) Wireshark
  3) metasploit framework
  4) Exit?'
read OPTION

From here on the $OPION variable is set,  test with

if [ "$OPTION" == "1" ]
then
   ...


Send a message to a computer on the same WiFi network

If you can log into their computer remotely you can use wall which will print into most terminals (provided you have the privilege)

wall <<< Hi!

And honestly, if you have remote access, there are a dozen other ways you could do something to communicate. But yeah, that won't permeate the network naturally.

If remote access isn't an option:

Why not use email or IM like normal people? :)
Or, you could ask for their number and talk to them over the phone like we did in the late 90s...
Or you could just "hang" like people did in the early 90s...
I've no idea how people met before then. I imagine people were just running around and falling in love by accident. That's probably why everybody had big hair; to ensnare passers-by and strike up a conversation. I'm sure Wikipedia probably has some archaeological bits on dating.

As an introverted internet denzian for much of my life, I can sympathise with the remote drive-by approach to dating but unless you're just trying to harass somebody, there's a lot to be said for talking to them in real life. Scary, for sure, but worth it.

And welcome to Ask Ubuntu Somebody Out For Me.


Understanding free space / volumes on Ubuntu

According to your lsblk output, /dev/sda3 does not directly contain a filesystem but an LVM physical volume. It contains a logical volume called ubuntu--vg-ubuntu--lv which is shown by both lsblk and df and has the size of 3.9GB (or 4GB in dependence on rounding). The rest of the physical volume (i.e. partition) seems to be unused. When you call sudo pvs, the rest should be shown as free space (the PFree column).

You can extend your ubuntu--vg-ubuntu--lv volume (together with the filesystem in it) to fill the free space using the command

sudo lvextend -rl +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv

or create another logical volume there.


Why does my computer (quad core, 4gb ram) slow to a grinding halt when ubuntuone is syncing

If this is the initial sync and you have many thousands of files, there is a known bug in Ubuntu One which causes high CPU usage. It should, after a while, drop to normal levels.

However, if you stop it before it's finished, it will start again.

A good page for issues with Ubuntu One is the Bugs Wiki which answers most problems.


Computer hangs at Checking NSS Setup after trying to run sudo dpkg configure a

To solve the issue, I re-installed Ubuntu from a .iso CD.

It recognized the installation as 17.04 and gave me the option to overwrite it.


Disable bluetooth Ubuntu 20.04 Raspberry Pi 4

Have you tried rfkill ?
You will need to run it as sudo ( sudo rfkill ), and for (soft)blocking Bluetooth, i.e.: sudo rfkill block bluetooth.
sudo rfkill list all should bring up a list of devices that can be soft blocked.
That ought to do it for the soft kill side. You still might need to make it persistent so that it doesn't get reverted on next reboot (see i.e.: https://www.raspberrypi.org/forums/viewtopic.php?t=146198 )
You can also try disabling the device with iwconfig and ifconfig as described in the thread linked above. Try the rfkill at first though, and see if that solves the problem, then look into the other options to make it permanent.
As an example, you can get a list of available devices by typing ifconfig in terminal. Bluetooth should usually be listed there as bt0 .
sudo iwconfig bt0 txpower off should turn off the transmission (="Tx") power to the selected unit (bt0 in this case.)
After that, try sudo ifconfig bt0 disable - you can then re-list your network/RF devices with sudo rfkill list all to see their status.
In any case, utilizing a combination of rfkill , iwconfig and ifconfig (as sudo) should do the trick in disabling any BT or WLAN devices in your system that you wish to turn off.


What is the difference between starting ufw service and enabling ufw?

When ufw is disabled, service ufw start will not work.  To check this, after you run sudo ufw disable then run sudo service ufw start it should show that the firewall is still inactive.

Example:

terrance@ubuntu-HP:~$ sudo ufw status
Status: active
terrance@ubuntu-HP:~$ sudo ufw disable
Firewall stopped and disabled on system startup
terrance@ubuntu-HP:~$ sudo ufw status
Status: inactive
terrance@ubuntu-HP:~$ sudo service ufw start
terrance@ubuntu-HP:~$ sudo ufw status
Status: inactive
terrance@ubuntu-HP:~$ sudo ufw enable
Firewall is active and enabled on system startup
terrance@ubuntu-HP:~$ sudo service ufw stop
terrance@ubuntu-HP:~$ sudo ufw status
Status: inactive
terrance@ubuntu-HP:~$ sudo service ufw start
terrance@ubuntu-HP:~$ sudo ufw status
Status: active

Hope this helps!


grub recovery mode: etc/resolv.conf: no such file or directory

Here's what worked for me...
Enabling network from recovery gave me this same error.
From the root terminal in recovery mode, I ran  the command "sudo dpkg-reconfigure resolvconf"
I answered yes to the first prompt but didn't restart after the second prompt.
After going back to the root terminal I was able to resolve Google.com when I tried to ping it. Then I could use apt to install the packages I needed.


Ubuntu server 12.04 (Openstack) Installation

This is where Google search gave for searching with OpenStack Ubuntu 14.04.

Installing The Canonical Distribution of Ubuntu OpenStack: http://www.ubuntu.com/download/cloud/install-ubuntu-openstack
OpenStack for Ubuntu: http://www.ubuntu.com/cloud
OpenStack installations methods on Ubuntu, four different ways: http://www.ubuntu.com/cloud/openstack
OpenStacks own documentations of OpenStack: http://docs.openstack.org/
OpenStack Installation Guide for Ubuntu 14.04: http://docs.openstack.org/juno/install-guide/install/apt/content/
IBM's version of OpenStack: http://www.ibm.com/developerworks/servicemanagement/cvm/sce/index.html

Yes, it is much to choose from, I know.  Yes, it is complicated, I know.


drives mount after switch to windows and get back to ubuntu

Your problem probably is the Windows fast startup option. You have to disable it.

Boot Windows, open Control Panel, type "change what power buttons do" and select the link "Change what the power buttons do".

Select the link "Change settings that are currently unavailable", scroll down and uncheck "Turn on fast start-up (recommended)".

Restart the computer and you won't have this error anymore.

See here for more informations about Windows Fast Boot.


You can click to install: python-dogtail

In 11.10 command line, it's as simple as sudo apt-get install python-dogtail


Can't make, says Kernel source is missing

You need the headers, So try:

Update package list

sudo apt-get update

Install last kernel with its headers (It seems you have vivid kernel), So run:

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


Put the script in ~/bin if it is for a single user. If it is for multiple users put it in /usr/local/bin.

If you put it in /usr/local/bin, have it owned by root. (Enter root password where necessary)

sudo cp script /usr/local/bin
sudo chown root:root /usr/local/bin/script
sudo chmod 755 /usr/local/bin/script

Ubuntu automatically puts ~/bin on your user path (you have to log out and back in or start a new log in shell) and /usr/local/bin is already on the default path.

Make sure #! /usr/bin/env python is at the very top of the script and that the script is executable (chmod 755)


Download gparted live on another computer
Burn it to a USB stick or DVD
Boot your computer
expand partitions
Upgrade!

:-)


Also right click in the applications folder on the .desktop icon and add to the desktop folder.


Does dell vostro 3500 support ubuntu 14.04.2?

Ubuntu should work great on that computer. You should use Ubuntu 64 bit because you cannot use more than like 3GB RAM with 32 bit. If your laptop has UEFI than it may be hard to install Ubuntu because some UEFI systems make it almost impossible to boot from anything.


From the boot-repair log it was clearly shown that there was no sign of installed Ubuntu os on the HDD.

You may installed it through wubi.To upgrade a wubi install see Upgrading from 12.10 WUBI install to 13.04 or this.


prevent systemd service starting in recovery-mode

The recovery mode on your systems loads network-online.target.
Run the command
systemctl list-units --type target

to list the targets loaded in recovery mode.
The line
network-online.target    loaded active active Network is Online

shows that networks' services are loaded. Hence your system behaves as expected.
An idea is to use Conflicts, from systemd.units(7)

Conflicts=
       A space-separated list of unit names. Configures negative requirement dependencies. If a unit has a
       Conflicts= setting on another unit, starting the former will stop the latter and vice versa.

       Note that this setting does not imply an ordering dependency, similarly to the Wants= and Requires=
       dependencies described above. This means that to ensure that the conflicting unit is stopped before the
       other unit is started, an After= or Before= dependency must be declared. It doesn't matter which of the
       two ordering dependencies is used, because stop jobs are always ordered before start jobs, see the
       discussion in Before=/After= below.

       If unit A that conflicts with unit B is scheduled to be started at the same time as B, the transaction
       will either fail (in case both are required parts of the transaction) or be modified to be fixed (in case
       one or both jobs are not a required part of the transaction). In the latter case, the job that is not
       required will be removed, or in case both are not required, the unit that conflicts will be started and
       the unit that is conflicted is stopped.

When entering the recovery mode in grub, systemd starts to reach the friendly-recovery.target.
Hence, try to set this statement in your service unit:
Conflicts=friendly-recovery.target

which should prevent to start your service while in recovery mode.


How to let Ubuntu index and find files on a different (Windows) drive when searching?

You can perhaps index the files on a different drive using tracker-gui .

Install it using the following command:

sudo apt-get install tracker-gui

After installing it, open it and go to Locations tab. Click on the + button and add whichever drive or specific directory that you want to index.

It goes without saying that the drive has to be mounted already to be able to be indexed.


Enable virtual host name without a2ensite

It would appear that ServerPilot is using their own custom bundle of Apache based on the information you have provided.
A quick Google for ServerPilot and customizing configuration leads me to this page for customizing Apache settings.  This is probably what you need to follow, but you need to be following ServerPilot's documentation either way.

App (Virtual Host) Customizations
Adding App Configurations
The easiest way to customize an app's Apache configuration is to add new files in the directory:
/etc/apache-sp/vhosts.d/APPNAME.d

Note that Apache loads configuration files from the above directory in alphabetical order.


On startup/shutdown lists of commands are shown on screen, Ubuntu 16.04

Change your boot parameters by editing the configuration file for GRUB:

sudo nano /etc/default/grub

in the line that begins GRUB_CMDLINE_LINUX_DEFAULT remove debug and replace with quiet and splash, so the line reads:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Save and exit and run

sudo update-grub


Glade: glib GError when trying to use object attributes

As the error message says, you have to add an attribute named value.

<attribute name="weight" value="bold" />

In your definition

<attribute name="weight">bold</attribute>

is only one attribute with the name name. The text between the opening and closing tags isn't an attribute. The tag name attribute has nothing to do with the needed attribute of a tag.

The structure of a valid XML file is defined in a DTD file, e.g.

<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.0//EN" "file:///usr/share/xml/schema/xml-core/catalog.dtd">

In this definition, among others, the necessary attributes for tags are defined. If an XML file does not meet these definitions, then it is not valid.
In this particular case it could be a bug in Glade (generates non-valid XML) or you have not been validated in advance the XML document.


Liferea invisible after trying to start it

Maybe Liferea is configured to "start in tray icon". You should check for a little earth icon in the top GNOME panel or the equivalent for Unity if it is different.


How to pin video player top of another app?

Besides the window manager options that @hatterman mentioned, you could use the VLC feature always on top.

Personally, I've good experiences with VLC, due to its configurability but mainly because I got it running on almost any OS and/or device.


Why does Nautilus hang while opening home folder?

I believe that's a problem with nautilus, take a look on the /var/log/messages to see if you can find any good info.

other alternative is trying Nautilus Elementary, a nice replacement for nautilus, maybe it don't fall in the same problem, but I can't promise you that.

If the problem is on nautilus you can install nautilus elementary using the PPA @

ppa:am-monkeyd/nautilus-elementary-ppa

to install it throw the ppa, use these commands:

sudo add-apt-repository ppa:am-monkeyd/nautilus-elementary-ppa
sudo apt-get update && sudo apt-get upgrade

hope it help.


The Host is the system where the sudo command is run. It has nothing to do with any remote system you might be connecting from (about which sudo doesn't know anything in the first place). A Host spec of 172.25.9.13 matches if one of b's interfaces has 172.25.9.13 as the IP.
(This is probably useful in a setup where the same sudoers file is shared across multiple systems.)


installing ubuntu touch -unmet dependancies when installing ubuntu-flash-packagr using Precise or Trusty

I managed to find these by using Y PPA;

  sudo add-apt-repository ppa:webupd8team/y-ppa-manager

this allows you to search for packages and download them; I don't know why but although I already had the repositories I could not get the packages.

Advice on installing / using Y PPA in a comprehensive answer here

if it helps please vote the linked answer up


How to downgrade from automake1.14 to 1.12 version?

Compile yourself an old version:

cd
wget https://ftp.gnu.org/gnu/automake/automake-1.12.5.tar.gz
tar xf automake-1.12.5.tar.gz
cd automake-1.12.5
./configure --prefix=/usr/local
make

Install with checkinstall for a deb package and change the package name for a parallel install with the latest automake version:

sudo apt-get install checkinstall
sudo checkinstall

Press 2
and change the title to: automake1.12
Or the classic way

sudo make install

automake1.12 is installed in /usr/local/bin and the latest version from the repositories in /usr/bin.


How Can Access to My Windows 10 Desktop Directory From Ubuntu Terminal

The Windows 10 partition is not mounted by default. First, find out where your Windows partition is:

lsblk -f

You will find one or more partitions with an FSTYPE of ntfs. There may be one with a label of "Recovery"; that is not the one you are looking for. The Windows 10 partition may be named sda4 for example. Now do:

sudo mkdir /mnt/mywindowsdrive                 # you need to do this only once
sudo mount -t ntfs /dev/sda4 /mnt/mywindowsdrive

Be careful to replace sda4 by whatever your Windows 10 drive is named.
Now your Windows files and folders can be found in /mnt/mywindowsdrive. If this is not the right partition, do

sudo umount /mnt/mywindowsdrive

and try another partition.

If you don't want to issue a mount command after every reboot, consider adding a line to /etc/fstab. How you do this can be found elsewhere on this site.


Ubuntu 13.10 font problem on 30" Dell U3014 at 2560x1600

Well, as ever, I managed to figure out the problem, which was (a) that whilst nvidia-settings declared the screen at 2560x1600 it wasn't, it was running at 1280x1600 (the OSD provides this), hence the squashed font effect.

The solution is simple, use the thicker DVI cable supplied in the box, apparently it makes all the difference, res now reports correctly on OSD.


If you are keen to keep your existing syntax (which probably makes sense to you as it is) the following slight modification should keep this meaning while also accomplishing the required filename renaming:

find -iname '*.avi' -o -iname '*.mkv' -exec \
    bash -c 'ffmpeg -i "{}" -codec copy \
    $(echo "{}" | sed -r 's/.{3}$/mp4/')' \;

Note that I have also simplified your copy syntax with FFmpeg...


What in Quickly creates an empty .../share/gnome/help/.../C/figures/ folder?

Almost any GNOME application (maybe GNOME 2) would create such folder with path:

/share/gnome/help/[appname]/C/figures/

... where [appname] is your GNOME application and folder figures can include various graphic files.

Cite from GNOME 2 Development Guide:

  For example, if your installation prefix is /opt/gnome , you'll find the original documentation for the GNOME terminal in /opt/gnome/share/gnome/help/ terminal/C and the images for the German documentation for Gnumeric in /opt/ gnome/share/gnome/help/gnumeric/de/figures.


Wifi adapter not found On HP(linux 18.04)

Using Ubuntu 18.10, I had an issue with a chip-set on my tablet (bluetooth and wifi); upgraded to a newer Kernel fixed the issues. You might want to try Ukuu...it is low risk, still at your own risk, b/c if the new kernel does not work or causes an issue, likely, using Grub menu, revert back to the previous kernel...a newer kernel might fix the issue.
I would perform all regular OS updates then use Ukuu.
So far, using Kernel 5.0, on my own laptop and tablet, do not have an issue but, experience varies.
https://www.omgubuntu.co.uk/2017/02/ukuu-easy-way-to-install-mainline-kernel-ubuntu