Stuck ubuntu logo screen while trying to install from usb

Here is a quick workaround : Boot in Try Ubuntu without installing then open the installer included in the live environment :

Hope this will work for you.


Change font inside Thunderbird 68.7.0 64 bit

This window lets you change only the fonts in emails, not those in the Thunderbird app itself.

There used to be an Add-on for this (Theme Font & Size Changer for ThunderBird) but it doesn't work with current versions of Thunderbird. Luckily, it isn't very difficult to change these things manually.

Locate your profile folder. It is called [random string].default and it's located in /home/[username]/.thunderbird.
In it, find the chromefolder. If there is none, create one. (This has nothing to do with the Google browser of the same name BTW.)
In it, open the file userChrome.css with your favourite text editor. Again, if you don't have one, create one.
This is standard CSS. To change the font everywhere, enter:

* {
    font-family: 'Raleway', Arial, sans-serif;
}

Save the file, restart Thunderbird, and see your changes.


After a lot of testing, I found that booting with the kernel option acpi=off allows the boot to occur. Obviously this points to other issues, but for posterity, if anyone else is having a similar issue with a similar setup, this might be the way to go for now.
EDIT: Updating this for the definitive answer - it turned out that the processor was faulty. After some time, these faults rendered Windows inoperable as well, and RMA'ing the processor got Ubuntu to boot on the machine. So if you have a machine where Windows boots and Linux doesn't, it could well be defective hardware.


Go to synaptic package manager (download it if you don't already have it). Try and see if you have any packages installed mentioned in your post (use filter) and then go to the menu select Edit > Fix broken packages.

Alternatively, if you have recently installed Ubuntu using Wubi, I noticed the other day that Quantal Quetzal beta or alpha is currently being used. This is not stable and I had a lot of "broken packages". If that's the case, I don't have the skills to help you further. You'll probably need an alternative arrangement e.g.:
- dual boot (caveat: do your homework extensively before attempting this);
- installing Ubuntu in VirtualBox or VMware.


Ubuntu 14.04 wont allow me to change my screen resolution to 1920x1080

I had the same issue with Gnome Shell: 3.8 / 3.10 / 3.12:

If this does not work, there is something else overwriting your settings. Probably your desktop environment. As a workaround, you can use this script:

#!/bin/bash sleep 10 xrandr --output DVI-D-0 --mode 1920x1080 echo "Script was run"

The sleep is needed to make sure that the Desktop Environment has finished starting before the script is run. That way, you know that it will be run after the DE has reconfigured your screens. Make the script executable and add it to your startup applications. That should do the trick.

The full answer is here: Resolution changes after startup/login

P.S.  After Ubuntu 12.04 GTX 650 has been a nightmare! ... I am stuck at "tearing video" issues.


Installing Ubuntu on a USB drive from ISO image

I recommend this program: http://www.pendrivelinux.com/downloads/Universal-USB-Installer/Universal-USB-Installer-1.9.6.7.exe

People usually have the best success with it.


12.04.03 LTS is 12.04 LTS. The last number just shows that the latest patches and security fixes are included.

Since it would be quite annoying having to download and install lots of updates on a freshly installed 12.04, Canonical from time to time creates these maintenance releases with all patches up to that point included. Think of them like Service Packs for Windows.


To write this up as a solution:

Adding [arch=amd64] into your apt sources limited apt to only looking at the 64-bit repository, avoiding the notice about the i386 repo
The ${client.ovpn} is performing variable substitution in your shell which causes it to look for a variable called client.ovpn.  You didn't have this variable declared and I don't believe variables with periods in the name are allowed (thus the error about a bad substitution)
When pointing programs at files using the command-line, you either need to give it the full path to the file (e.g. /home/user/Downloads/client.ovpn) or have shell in the directory already (e.g. cd /home/user/Downloads/ && openvpn3 config-import --config client.ovpn)


My Asus Netbook, Model 900HD XP Won't Let me Resize The HD

You'll need to boot off a LiveUSB before you will be able to mess with the partitions on the hard drive.

Make sure the drive is not mounted.


Regardless of battery charge, when unplugged Ubuntu displays critical battery message and hibernates

I guess your computer is configured to suspend/shutdown when he thinks the battery level is critical. To change that behaviour, you need to install dconf-tools. Then open it in dash (dconf Editor), and follow this path:

 org > gnome > settings-daemon > plugins > power

And change the value of critical-battery-action to nothing.
Also, if the battery is marked as broken, you can also uncheck the option notify-perhaps-recall.

Hope it helps.


One method is to use the NameVirtualHost directive.

There is a howto here : http://www.debian-administration.org/articles/412.


It looks like .asp is a special type of webpage. You should be able to open it through a web browser to view it and be able to print from there.

reference


Help New User-I installed Ubuntu 16.04 and can't get it to load without USB

Can you acces to BIOS config? Dont know if you have keyboard before OS start...if you cant i dont think you can install Ubuntu on it, by USB. If you can acces to BIOS, check that you can change UEFI config for not Win OS only and allow to boot from USB.
If nothing works, you should google a recovery way for your tablet.

Hope it helps


How to use Nautilus as FTP: Connect to Server not working

Just below the textbox is the example of what to enter. So your entry should look like these:

ftp://mydomain.com

Or

ftp://www.mydomain.com

Also check to see if your ftp server allows connections from your machine as I'm assuming you might have used ftp on another system and it worked quite well. Also do all other normal checks to see if you can ping your server you are trying to reach to make sure your machine isn't having problems altogether just to do some elimination.

EDIT:

If you are trying to connect a server on your local network then the same above applies with the hostname of the system or if none is set the IP address should work as well. Example:

ftp://127.0.0.1

Or

ftp://myothermachine


Ubuntu 16.04 - Blank window appears when java application are launched

I found the solution to my issue.Seems like apps were getting launched in seperate window.

To Fix :
Click on top left ubuntu icon and type Displays.
Goto Displays settings.
Select Built-in display -> OFF

It worked for me after this change.


Crontab - don't log? How can I do it right?

If you set cron */1 * * * * cron will run every min. Set cron * */1 * * * to run on hour.

Restart cron, after editing

sudo service cron restart

To check how cron work run

crontab -l | grep -v '^#' | cut -f 6- -d ' ' | while read CMD; do eval $CMD; done

Like you known log can check on

less /var/log/syslog | grep cron

Edit 1

Based on your comment cron work. Also you say, when you run script you have output in defined log file LOGFILE='/home/teamspeak/s01/mylog.selfcheck' in script. Ok.

You wont to the same content from mylog.selfcheck in cronlog.
Then set cron, as you already, to run script selfchek.sh and add
second command in cron to put content from mylog.selfcheck to cronlog

 * */1 * * * cat /home/teamspeak/s01/mylog.selfcheck >> /home/teamspeak/s01/cronlog

Final cron code

SHELL=/bin/bash
PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11
# m h  dom mon dow   command
  * */1 * * *    /home/teamspeak/s01/selfchek.sh
  * */1 * * *    cat /home/teamspeak/s01/mylog.selfcheck >> /home/teamspeak/s01/cronlog


The PPA Brightbox Ruby NG has no packages for Vivid. But Ruby 2.0 is in the Ubuntu Repository for your Ubuntu Vivid installation.

Therefore

sudo apt-get install ppa-purge
sudo ppa-purge ppa:brightbox/ruby-ng
sudo apt-get install --reinstall ruby


My Kindle 4 is no longer recognized: how can I get it to work again?

Open up Terminal and try this:

    sudo apt-get install mtpfs

I encountered a very similar problem with another device and this allowed me to mount it to my Ubuntu system.


Change user's primary group - have new files made in that group

I am guessing the behavior you want is sudo usermod -g groupname myuser .

Note: that command changes the group ownership for all files in $HOME, but not outside home. You may wish to change them back chgrp -R myuser $HOME

You then need to log off and back on for the changes you want to take effect.

If you do not want to change your 'myuser' primary group, newgrp is the way to go.

sudo usermod -g admin bodhi

ssh localhost

touch file

newgrp bodhi
touch file2

ls -l file file2
-rw-r--r-- 1 bodhi admin 0 2012-03-26 19:28 file
-rw-r--r-- 1 bodhi bodhi 0 2012-03-26 19:29 file2


The most probable issue (a part a possible bug in the package) is that you are missing some dependent package. Let's try to teach how to fish out these...

Install apt-file  and load its database

sudo apt-get install apt-file
sudo apt-file update

Search for the missing file:

[romano:~] % apt-file search libavutil/rational.h
libavutil-dev: /usr/include/libavutil/rational.h
libmyth-dev: /usr/include/mythtv/libavutil/rational.h

That means that there are two packages providing a libavutil/rational.h file. The second one is part of myth-tv --- very specialized thing. So the most probable culprit for your error is missing the first one:

 sudo apt-get install libavutil-dev

...and try again.


Starting with Windows 8, Windows doesn't unmount your filesystems before shutting down, because it doesn't really shutdown, but hibernate. They call this "fast boot". For a dual-boot system, you should deactivate this so that filesystems are unmounted when you shutdown Windows. When you do, this filesystem will be marked as "clean" and you'll have no problems mounting it in Ubuntu.

If you no longer have Windows 8 and need to mount the filesystem, you can drop to a terminal and run sudo ntfsfix --clear-dirty /dev/sdb2. If successful, and it should be, then you can mount your filesystem as normal.


Can't install software, apparently installed packages have unmet dependencies

I can't help with the strange long looking clever words, as you don't list them. But, from what I can see, the system is trying to install some linux-image-extra packages that depend on some linux-image-generic packages already being installed.

Certain packages depend on other packages in order to work, and apt-get does a very good job at managing this and making sure, when you install a package, that all other required packages are installed at the same time. However, maybe another method has been used to install the linux-image stuff or maybe apt-get has stumbled on this occasion. It is rare, but I guess it is possible.

I pretty much echo what muru says.

Open a terminal and update your local repository cache.

sudo apt-get update

Now try upgrading your installed packages.

sudo apt-get upgrade

Before the upgrade begins, and you are prompted with a "y/n" to proceed, you will see a line showing you how many packages are being upgraded and how many are not being upgraded.

If you have packages that are not being upgraded, they will be listed. Are the linux-image-generic files in that list ?

There are now two ways to proceed. You can either do a system upgrade, which is the next step up to the package upgrade

sudo apt-get dist-upgrade

Or you can install the missing dependencies manually.

sudo apt-get install linux-image-3.13.0-66-generic
sudo apt-get install linux-image-3.13.0-79-generic

I would probably do the system upgrade, as I do that regularly anyway and have had no issues. However, I don't know the exact setup of your system so you might not want to go down that route.

To see what apt-get upgrade and apt-get dist-upgrade do, check out this link.

https://help.ubuntu.com/community/AptGet/Howto

Finally, muru also gives you the command for fixing missing dependencies.

sudo apt-get install -f

I don't actually use this option a great deal, but I have in the past and it has indeed installed missing dependencies.


connect to vpn via another port( change pptp client port)

You can change this within your client config:
The line looks like
remote 192.168.100.1

You can add the port after the ip address:

remote 192.168.100.1 21

Thats it.


Need help installing curl on Xubuntu 16.04

You can install the specified libcurl version with:

sudo apt-get install libcurl3-gnutls=7.47.0-1ubuntu2

and then install curl

sudo apt-get update && sudo apt-get install curl


What is the "Install this third-party software" box in the installer and what third-party software is installed?

Edit

After digging some more through output of

dpkg --get-selections | xargs apt-cache policy | grep -B5 'multiverse' it turns out there exists meta-package ubuntu-restricted-addons. The /var/lib/dpkg/info/ubuntu-restricted-addons.list pointed me to the file /usr/share/doc/ubuntu-restricted-addons/README.Debian

The contents of that file state:

  This package was split into ubuntu-restricted-extras and
  ubuntu-restricted-addons to allow the desktop CD installer (ubiquity)
  to install a subset of the packages available in the original
  ubuntu-restricted-extras package.

  Moving forward, ubuntu-restricted-extras should only contain
  multiverse packages, whereas ubuntu-restricted-addons should contain
  main and universe packages, as well as any packages from multiverse
  that have been vetted by a lawyer.

  Since ubuntu-restricted-extras depends on ubuntu-restricted-addons,
  users should be discouraged from installing ubuntu-restricted-addons
  outside of the desktop CD installer.  This is the reasoning behind the
  warning and sparse description in ubuntu-restricted-addons.

  -- Evan Dandrea  Thu, 05 Aug 2010 16:14:43 -0400

Thus, Ubuntu installer allows you to install ubuntu-restricted-addons meta-package.

apt-cache tells us what goes into that package:

xieerqi:
$ apt-cache depends ubuntu-restricted-addons
ubuntu-restricted-addons
  Recommends: gstreamer0.10-plugins-ugly
  Recommends: gstreamer1.0-plugins-ugly
  Recommends: flashplugin-installer
    flashplugin-installer:i386
  Recommends: gstreamer0.10-plugins-bad
  Recommends: gstreamer1.0-plugins-bad
  Recommends: gstreamer1.0-libav
  Recommends: gstreamer0.10-fluendo-mp3
  Recommends: gstreamer1.0-fluendo-mp3
  Recommends: chromium-codecs-ffmpeg-extra
  Recommends: oxideqt-codecs-extra
  Conflicts: ubuntu-restricted-addons:i386

This is pretty much the same output as on my 15.10 virtual machine.

Thus , my conclusion is that ubuntu-restricted-addons from multiverse repository is where the third-party software comes from.

Original post
In terms of /etc/apt/sources.list file those would be any software that comes from deb http://archive.ubuntu.com/ubuntu $RELEASE multiverse as well as deb http://archive.ubuntu.com/ubuntu $RELEASE restricted repository.

It's also references in the software-properties-gtk program

You can list packages in those repositories with

awk '/^Package/' /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_$(lsb_release -c | awk '{print $2}' )_multiverse_binary-$(dpkg --print-architecture)_Packages

and

awk '/^Package/' /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_$(lsb_release -c | awk '{print $2}' )_restricted_binary-$(dpkg --print-architecture)_Packages


Prevent PC from shutting down on Power button

You can use next command in terminal:

sudo chmod -x /sbin/shutdown

If you want to re-enable, use +x instead -x in the same command.

Anyway, by holding the power button down for several seconds the above solution will not work and I don't think that you will find a software solution for this case.


Close/Minimize/Restore buttons not present

It seams your decorator has crashed. Try in a terminal:

compiz --replace &


Installation problem of Ubuntu 12.04.2 in virtualbox on windows 7 host

I have the same exact issue and the workaround is to power off the virtual machine after it's hung. Then start the Virtual Box again. When the install Ubuntu screen is up, close the window and then Ubuntu desktop will load. Then click on the power icon on the top right and then click on restart. When the system restarts, the installed Ubuntu will be loaded and you will be prompted to type in your credentials (if you have specified it in during the installation).


Does installing ubuntu touch other physical connected hard drives

No. Unless you choose to format the SSD containing Windows.
Also, Windows default boot will be changed to grub (not overwritten anyway).


It is likely that you will be building Python 2.6 from source one way or another. I found a guide located at http://www.lysium.de/blog/index.php?/archives/229-Installing-Python-2.6-on-Ubuntu-8.04.html which seems as though it would benefit you.


Do I need to install Japanese TrueType font, Ume-font

Since I couldn't find that package in the official package list, I'll assume it comes from a third-party repository.

To find out which package depends on ume-font, install apt-rdepends (instructions) and do a reverse lookup (info):

apt-rdepends -r ume-font


Make shared folder on Ubuntu through HTTP

Why use an http server and client when you can use Ubuntu One if it simply file sharing that you need?

In any case, if you really want such a system, you could try installing Apache with sudo apt-get install apache2.

More information here: https://help.ubuntu.com/12.04/serverguide/httpd.html


just add 2 lines end of the file /etc/resolve.conf:

nameserver 8.8.8.8
nameserver 8.8.4.4

and then

sudo service network restart

and you can visit https://developers.google.com/speed/public-dns/.


Is it normal to have cli listening on port 41049?

For check which process is listening on 41049 port you can run this command:

ps -o args= -p "$(sudo lsof -t -i:41049)"

As you said in this comment, the output is refer to keepass2 package. So look around this package:

I'm trying to install this package and check the output:

sudo apt install keepass2

And the output of sudo netstat -ntlp is:

tcp        0      0 127.0.0.1:40967         0.0.0.0:*               LISTEN      8393/cli

So after installing keepass2, cli is listening on local TCP port.

So, your outputs is quite normal.

Really I don't know why keepass2 is listening on this port. But it's may be a bug. For its description you can look at this link .

But because of that , keepass2 is available in Ubuntu's official repositories , it cannot be a threat for you.

You can see this package description on Ubuntu package.


"Not enough free swap" error when trying to hibernate

Check your swap status:

$ cat /proc/meminfo |grep Swap
SwapCached:       216692 kB
SwapTotal:       5855624 kB
SwapFree:        5162340 kB

You will see how much swap is free for you to hibernate. Probably you've got too many applications running that take too much RAM.


Following this suggestion on the Debian bug mailing list, I was able to get it to work by making the VFAT device read/write:
qemu-system-x86_64 -drive file=fat:rw:/boot/efi/,format=raw

If you need to ensure the files aren't modified, I'm not sure there is a good workaround other than copying to a temporary folder.


First off all, change the network settings from manual to automatic and leave the Firefox proxy setting set to manual.

For the terminal to work with your proxy, do the following:
Create the following file :
 /etc/apt/apt.conf, open the terminal and type:

sudo gedit /etc/apt/apt.conf

Edit this file according to your proxy details:

Acquire::http::proxy "http://username:password@yourproxyaddress:proxyport";
Acquire::https::proxy "https://username:password@yourproxyaddress:proxyport";

If your proxy doesn’t require a username, then those statements take the following form:
Acquire::http::proxy yourproxyaddress:proxyport";

To be able to add a PPA, you will need to export your proxy settings open the terminal and type:

export https_proxy="https://username:password@yourproxyaddress:proxyport";

export http_proxy="http://username:password@yourproxyaddress:proxyport";

Once you have done this, to export you will need to add a -E after sudo, e.g. sudo -E apt-get install python-software-properties


Join Ubuntu 17.04 Desktop to Windows Domain

General

As you mention to integrate a large number of hosts, I would recommend you to use some kind of configuration management tool. I use Ansible for such things. Try it manually once and when everything works automate it.

As you also mention to do this in a corporate environment I would suggest to use Ubuntu 16.04 instead of 17.04 because 17.04 is no longterm support release and therefore is only supported until January 2018.

Additionally this question seems well suited for serverfault.

How-tos

A good starting point would be the official documentation: https://help.ubuntu.com/lts/serverguide/sssd-ad.html. I also found this tutorial quite helpful (and it has a lot of screenshots): http://www.wolffhaven45.com/blog/linux/join_ubuntu_workstation_windows_domain/.

Ansible Playbook

Based on the mentioned How-tos (and a lot others) I created an Ansible role to automate this process. The directory structure is as follows:

ansible/
├── adIntegration.yaml
└── roles
    └── ad-integration
        ├── handlers
        │   └── main.yaml
        ├── tasks
        │   └── main.yaml
        └── templates
            ├── etc
            │   ├── krb5.conf.jinja2
            │   ├── realmd.conf.jinja2
            │   └── sssd
            │       └── sssd.conf.jinja2
            └── usr
                └── share
                    └── lightdm
                        └── lightdm.conf.d
                            └── 50-ubuntu.conf.jinja2

(I like to put the files in a directory structure resembling the target structure)

Some files are down below, adapt to your needs:

adintegration.yaml

---
# execute like:
# ansible-playbook ~/ansible/adIntegration.yaml --inventory ~/ansible/production.hosts
# or
# ansible-playbook ~/ansible/adIntegration.yaml -i ~/ansible/production.hosts
- hosts: "ad-integration"
  remote_user: "admin" # change to whatever user you have with sudo rights
  become: yes
  vars_prompt: # the vars are later used for the join
    - name: "ad_admin_name"
      prompt: "username for AD join"
      private: no
    - name: "ad_admin_password"
      prompt: "password for AD"
      private: yes
      confirm: yes
  roles:
    - role: "ad-integration"
...

main.yaml (handlers)

---
- name: "restart sssd"
  service:
    name: "sssd"
    state: "restarted"
  listen: "sssd needs restart"
...

main.yaml (tasks)

---
- name: "install needed packages"
  apt:
    name: "{{ item }}"
    state: "present"
  with_items:
    - "adcli"
    - "krb5-user"
    - "libnss-sss"
    - "libpam-sss"
    - "libwbclient-sssd"
    - "realmd"
    - "sssd"
    - "sssd-tools"
    - "samba-common"
# copy this from a working one
- name: "template krb5.conf"
  template:
    src: "etc/krb5.conf.jinja2"
    dest: "/etc/krb5.conf"
    owner: "root"
    group: "root"
    mode: "0644"
    backup: yes
- name: "template realmd.conf"
  template:
    src: "etc/realmd.conf.jinja2"
    dest: "/etc/realmd.conf"
    owner: "root"
    group: "root"
    mode: "0644"
    backup: yes
- name: "join domain"
  shell: "echo '{{ ad_admin_password }}' | realm join COMPANY.COM -U '{{ ad_admin_name }}' --install=/ -v" # --install=/ needed because of realm bug in package detection
  register: "realm_join"
  changed_when: "'Successfully enrolled machine in realm' in realm_join.stderr"
  failed_when: "'Couldn\\'t join realm' in realm_join.stderr"
- name: "template sssd.conf"
  template:
    src: "etc/sssd/sssd.conf.jinja2"
    dest: "/etc/sssd/sssd.conf"
    owner: "root"
    group: "root"
    mode: "0600"
    backup: yes
  notify: "sssd needs restart"
- name: "activate automatic creation of home directories"
  lineinfile:
    dest: "/etc/pam.d/common-session"
    line: "session  optional            pam_mkhomedir.so "
    state: "present"
    insertbefore: "# end of pam-auth-update config"
    backup: yes
- name: "create lightdm directories"
  file:
    path: "/usr/share/lightdm/lightdm.conf.d/"
    state: "directory"
    owner: "root"
    group: "root"
    mode: "0755"
# the important part here is to add greeter-show-manual-login=true under [SeatDefaults]
- name: "activate username on login window"
  template:
    src: "usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf.jinja2"
    dest: "/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf"
    owner: "root"
    group: "root"
    mode: "0644"
    backup: yes
...

realmd.conf.jinja2

[active-directory]
default-client = sssd
os-name = {{ ansible_distribution }}
os-version = {{ ansible_distribution_version }}

[service]
automatic-install = no

[users]
default-home = /home/%D/%U
default-shell = /bin/bash

[company.com]
fully-qualified-names = no
automatic-id-mapping = yes
user-principal = yes
manage-system = no
enumerate = yes

sssd.conf.jinja2

[sssd]
domains = company.com
config_file_version = 2
services = nss, pam

[domain/company.com]
realmd_tags = manages-system joined-with-adcli
ad_domain = company.com
krb5_realm = COMPANY.COM

id_provider = ad
cache_credentials = True
krb5_store_password_if_offline = True
enumerate = True
use_fully_qualified_names = False

fallback_homedir = /home/%d/%u
default_shell = /bin/bash

# maybe needed for older AD schemes
#ldap_id_mapping = False
#ldap_schema = ad
#ldap_user_object_class = person
#ldap_user_name = msSFU30Name
#ldap_user_uid_number = msSFU30UidNumber
#ldap_user_gid_number = msSFU30GidNumber
#ldap_user_home_directory = msSFU30HomeDirectory
#ldap_user_shell = msSFU30LoginShell
#ldap_user_gecos = displayName
#ldap_group_object_class = group
#ldap_group_name = msSFU30Name
#ldap_group_gid_number = msSFU30GidNumber


Juju 2.X using MAAS, juju status hangs after juju controller reboot

This was because my reboot turned off the VMs (including my bootstrap node) hosted by the controller. Upon manually turning on the VMs, juju commands worked normally.


Unfortunately, no. Only a few devices with Android preinstalled are supported.


Grub Read Error without USB Connected [13.10]

Solved it eventually.

Had to go into BIOS and disable Quick Boot.
Don't have any understanding of why that broke it, but it worked.


Error mounting SD card when returning from suspend

In case you're looking for an answer to this remount read-only issue, an unRaid valuable article showed me the solution yesterday, after I had a very similar issue on my biggest hard drive (while already recovering the files of an silly USB key...)
My logs:
[40860.074298] blk_update_request: I/O error, dev sdc, sector 104869128
[40860.074306] EXT4-fs warning (device sdc2): __ext4_read_dirblock:884: error -5 reading directory block (ino 2, block 0)
[40860.661232] sd 7:0:0:0: [sdc] UNKNOWN Result: hostbyte=0x04 driverbyte=0x00
[40860.661237] sd 7:0:0:0: [sdc] CDB:
[40860.661239] cdb[0]=0x28: 28 00 06 40 2d 08 00 00 08 00

However, the most interesting error was before these, ie the first or second line related to this issue:
mars 27 22:27:55 llewellyn kernel: ata8: SError: { PHYRdyChg CommWake 10B8B LinkSeq }

Heading
Looking for PHYRdyChg on mentionned article, guided me to the « Drive interface issue #4 », ruling out any hard drive failure or driver issue :) Quoting their explanation:
« This is an example of what is probably a loose backplane or cable connection issue: (could be either the SATA connection or the power connection or both)
ata7.00: exception Emask 0x10 SAct 0x7 SErr 0x990000 action 0xa frozen
ata7.00: irq_stat 0x00400000, PHY RDY changed
ata7: SError: { PHYRdyChg 10B8B Dispar LinkSeq }
ata7.00: cmd 60/48:00:af:1b:97/00:00:10:00:00/40 tag 0 ncq 36864 in
           res 40/00:10:87:5f:96/00:00:10:00:00/40 Emask 0x10 (ATA bus error)
ata7.00: status: { DRDY }

Note: There are no CRC errors here, which normally implicate a bad cable or two. »
I checked any Sata / Power cables, rebooted and all was fine. A smartctl -a -A /dev/sdc confirmed this.
PS: The unRAID article is invaluable to understand various Hard Drive errors and messages (eg BadCRC, failed to recover).


(17.10) I've turned off automatic screen locking, but there's still an annoying "lock" screen to click through

Try:

gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'

If it doesn't work, then use dconf-tools and use dconf-editor to set the same setting manually.


Apache as user "ubuntu" - any security concerns?

I think I may have found the answer to my question. Since the user "ubuntu" is part of the sudoers file and it has the ability to act as root, badly coded sites could be especially vulnerable if user-entered parameters are not properly escaped or sanitized. This could be a problem with PHP's exec() function, for example.  I think I will setup a new user and run Apache as that user, change the owner of the web folder and it's contents, and setup our deployment service to login with that user.  Should be safer this way.


This is a known whishlist bug.

Point is: the icons aren't suppsed to be there by default (it's about the /desktop/gnome/interface/menus_have_icons GConf key), so it looks like nobody really cared about that case.


Access CUDA from a Ubuntu virtual machine

No. The VM would need full control of the graphics card. (This can be done with most VM systems, but then you wouldn't be able to use the graphics card on the host)


Please cheak the outbound rules for the aws instance

if not not open please open ssh port for the outbound rule.


It could be very well possible that your nm-applet application has been killed or crashed.

Try running this command in a terminal:

nohup nm-applet &

if you don't want nohup.out file, you can use

nohup nm-applet > /dev/null &


Overwrite a partition with dd

dd is a very powerful but also dangerous tool. It does what you tell it to do without questions. So if you tell it to wipe the family pictures, ... and it is a minor typing error away.

But if you check and double-check, you can use it.

dd if=/dev/zero of=somepartition bs=512

or I would suggest

dd if=/dev/zero of=/dev/sdxn bs=4096

where x is the drive letter and n is the partition number and block size 4096 bytes makes the write process faster.

It is important that you write to a partition in this case. If you write to the whole drive (the drive head end) /dev/sdx the whole drive will be overwritten. But writing to the partition will be interrupted at the end of the partition and partitions behind it will be preserved. (I tested now on a USB pendrive in Lubuntu 16.04 LTS, so I know that it works like that.)

Exception for an extended partition

There is an exception for an extended partition (which is a container for logical partitions, in order to have more than four partitions in an MSDOS partition table). This is described in the following link,

Can I make image of 'extended' partition using dd?

  But there is another problem too. I tested your command in a test environment, and dd read only one kibibyte (1024 bytes) when I wanted it to make an image of an extended partition.

I tested also this now on a USB pendrive in Lubuntu 16.04 LTS, and this applies to writing (as well as to reading). Only the first kibibyte is overwritten.

So to summarize, overwriting primary partitions and logical partitions work according to the main description in this answer. But do not use this method to overwrite an extended partition because only the first kibibyte will be overwritten. The extended partition's logical partitions will no longer be found via the partition table, but the data stored in them are still there.


Try these once hope it would help you

First completely remove firefox with it's configuration file using following commands:

sudo apt-get autoremove firefox
sudo apt-get --purge remove firefox

Then remove the the ~/.mozilla directory by using this command:

rm -r ~/.mozilla

It will remove the configuration file/history of firefox for the current user
Then re-install firefox using this:

sudo apt-get -f install firefox

If it doesn't help then repeat the same procedure beginning from step 1, just replace the command in step 2 with this one:

sudo find / | grep -i firefox | sudo xargs rm -rf

Reply if something goes wrong..

Alternated Way

Run this command in terminal:

exo-preferred-applications

Then under Web Browser chose some other browser as you told Opera is working fine, select that. Restart your system and check if it happens again..


Use CTRL + ALT + F1 to get to the tty

log in with your user and ...

sudo su
startx

Launch Gedit

When you are finished log out

exit
exit

and use CTRL + ALT + F7


Can I change the default terminal colors?

If I Understood your Question in a right way..

there is built in option in gnome-terminal under Edit-->Preferences-->Colors-->Use transparent background


Gnome classic is a lighter desktop than unity / Ubuntu Desktop. You can install gnome by using the following command:

sudo apt-get install gnome-session-fallback

Then on the login screen, you can selet gnome from a list:


The CPU has been disabled by the guest operating system. You will need to power off or reset the virtual machine at this point

Looks like an issue with kernel and VMWare version you are using. My one liner : Upadate VMware version to make it work perfectly. For a detailed view though, Its a known issue, see here.


You will need to have both partitions mounted, for instance on /old and /new. Then use the rsync utility:

rsync -aruv /old/* /new/

If the old partition is your root system, you will want not to copy over the contents of some directories. Just exclude them, such as:

rsync -aruv /* /new/ --exclude=/dev/* --exclude=/proc/* --exclude=/run/* --exclude=/sys/* --exclude=/tmp/* --exclude=/new

Do not forget that last one! (Been there, done that. ;-) ).

HTH


On terminal, to disable ALT to show menu tabs

"Edit" --> "Keyboard Shortcuts", then disable "Enable menu access keys (such as Alt+F to open the File menu). With this ALT still shows menu tabs but you can use combination like ALT-b.


Programs battery consumption in Ubuntu Desktop

You could use PowerTOP (https://01.org/powertop). It's not exactly whatyou want (does not give consumption percentages I think) but it gives you the wattage consumption per process in real time.


How Do I Customize the "cryptroot" Script?

First, find out where cryptroot is, what package provides cryptroot, and what else (source, documentation, examples, ...) is in the package. Thusly:

walt@squid:~(0)$ locate cryptroot
/usr/share/initramfs-tools/hooks/cryptroot
/usr/share/initramfs-tools/scripts/local-top/cryptroot
walt@squid:~(0)$ dpkg -S !$
dpkg -S cryptroot
cryptsetup: /usr/share/initramfs-tools/hooks/cryptroot
cryptsetup: /usr/share/initramfs-tools/scripts/local-top/cryptroot
walt@squid:~(0)$ dpkg -L cryptsetup
...


No option for bluetooth pins for pairing

Actually the post you linked to is identical as they never had a PIN option either, the second picture was from someone else.
I would try in terminal, with your BT05 device in pairing mode
echo -e "power on\n scan on" |bluetoothctl
Then you should see a reference to a new device with a MAC address and a name, use the MAC exactly as displayed in terminal or you can enter the first couple digits and use the TAB key to autocomplete
pair {MAC}
trust {MAC}
connect {MAC}
With any luck it will pair or ask you for the PIN to enter.  If that doesn't work install Blueman
sudo apt install blueman
See if it will allow you to use the 6 digit PIN as this was a bug with gnome-bluetooth in 16.04


Install Navicat on Linux Ubuntu 13.10 64 bit

After installing lib32z1 lib32ncurses5 lib32bz2-1.0 packages,additionally you have to install wine to run navicat.

sudo apt-get install wine


How do I reformat HDD to NTFS with Ubuntu on a bootable USB


Having issues renaming file extensions of multiple files at once through terminal. "Rename" comm, does not seem to work

Use find ;)

for i in .{avi,mkv,wmv}; do find . *$i -exec /bin/rename $i .mp4 '{}' \; ; done


What's the criteria for an application to be included in the Universe repository?

You can find official information here: https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages


I finally got gdm to work properly. Initially I had just installed gnome-shell, which allowed me to use the GNOME desktop environment, but didn't allow me to use gdm with it, as described above, which causes certain other problems, like being unable to lock for example, and other issues mentioned in the comments to the question.

The solution was to install ubuntu-gnome-desktop:

sudo apt-get install ubuntu-gnome-desktop

After that, I changed my display manager back to gdm with:

sudo dpkg-reconfigure gdm

and after restarting I was greeted with the appropriate login screen, and everything has worked smoothly so far.

I am assuming this fix worked because of either some extra dependencies that were needed, or some extra tweaks that were made to configuration files when installing that package. I don't have quite enough experience with LInux yet to understand why this worked, but it did, and hopefully it will too for others that have had this problem.

Update:

I cannot confirm whether this works or not because I have not tried it, but user @detly suggests in the comments below that 17.04 users should use gdm3 instead of gdm. Just wanted to highlight this just in case it is useful for users of later versions of Ubuntu.


Touchpad not detected in any linux distribution

Have you tried running the following?

sudo modprobe -r psmouse
sudo modprobe psmouse proto=imps


Update Manager warning: lost interfaces (for a driver)

A few hours ago, the system crashed.
I restarted and, now, interfaces are found.
No explanation. This was not the first restart since the trouble.
My question is outdated.


What is the easiest and safest way to perform triple-boot?

There's no difference between dual-booting and triple- (or quadruple- etc.) booting, at least when the OS being installed is Linux - you just prepare an empty partition and install your OS there.

Supposedly, the GRUB will be re-installed so its second stage will be on the partition of the last installed OS, but it should find all other OSes and add them to the menu just the same.

I'm not sure how repairing MBR with Windows DVD relates here though - you aren't using Windows bootloader as your primary bootloader, are you?


How to block downgrade of a package using dpkg?

dpkg has option --refuse-downgrade which will do just that.

(The apt tools have a different, more complex mechanism for managing version preferences, which resides in /etc/apt/preferences and /etc/apt/preferences.d.)


.sh installation error, this script is to be run as resolve user

Script telling you that you must run it as resolve user. This means that you should create user resolve, and run installation as this user.

$ sudo useradd -d /home/resolve -s /bin/bash -m resolve

Now move you install file to /home/resolve, and give permissions for resolve:resolve

$ chown resolve:resolve yourfile

Switch in terminal to this user: sudo su resolve, and run installation as you do it before.

I don't know what is Davinci Resolve and how use it, may be you do not need HOME directory for you user, and you only need user. In that case run

$ sudo useradd -s /bin/bash -M resolve

This will not create home folder


Python script using webdriver (selenium) hanging forever

The Python Error Steamroller package from Python Software uses a combination of dynamic compilation, Abstract Syntax Tree rewriting, live call stack modification, and love to get rid of all those pesky errors that make programming so hard. It is a instant but temporary solution for modules that cause errors.


Open a shell terminal window and run this supercommand:

sudo apt-get update && sudo apt-get check && sudo apt-get install ubuntu-restricted-extras ubuntu-restricted-addons librhythmbox-core8 libmad0 libmpg123-0 --reinstall -y && sudo apt-get autoremove -y

...then restart your computer and try again. If Rhythmbox still can't play MP3, install Audacious and VLC Media Player:

sudo apt-get install audacious vlc

...then try playing MP3 with VLC or Audacious. They're both excelent media players: Audacious plays audio tracks, VLC plays audio, video and even images.


Like David Purdue suggests, I myself too. I like to have unlimited scrolling.

You can also enable the scrollbar if you want; but I prefer it disabled and use Shift + Page Up and Shift + Page Down keys to change the output frames.


You are probably using an alpha or a beta version Ubuntu 15.04. These glitches are normal. I advise you to be patient for another 3 days till the stable version of Ubuntu 15.04 gets released (23/4/2015).


I think this is a bug that's been happening from 16.04 and in 16.10 in many devices. My solution has been to turn the computer off and then back on. I know this sucks, but you can help by reporting the bug in ubuntu website.


How can I setup my SSD+HDD-setup the best way?

If you have already installed Ubuntu on SSD then after Windows installation you will need to run Boot Repair. The steps you take are described here:

How to install the Boot-Repair tool in an Ubuntu live disc?

If you already have Ubuntu on HDD, so I would recommend just to remorarily save your /home folder to another partition, then manage your partitions (maybe you want to delete the previous one which contained Ubuntu)  with Gparted, which is included in Ubuntu and Live CD. The thread below has explanations how to manage partitions with Gparted.

How to resize partitions?

During the installation you could create or choose a partition for your /home folder, so you could place home on HDD having the / on SSD.

If you have already installed Ubuntu and want to move your home partition from SSD to HDD rather than reinstall Ubuntiu, then have a look at this thread:

How can I move my /home directory to another partition if it's already part of the / partition?


How to synchronize data in different disk folders

rsync is the classic tool for this purpose, although here are many others. The simplest command is rsync -av "/path/to/source" "/path/to/destination"


You can find Epson printer drivers at Epson Drivers Site

You need to download deb files according to your architecture and install. It is better to choose "latest", "full feature" drivers, though they do not look latest according to the date.

Generic driver may lack some specific to your model settings.

For 64-bit Ubuntu it is epson-inkjet-printer-201202w_1.0.0-1lsb3.2_amd64.deb

You can find there also scanner drivers and network plugin for scanning through network.

You will need iscan and iscan-data for the scanner with ltdl7 in name.

For 64-bit Ubuntu these are:

iscan_2.30.1-1~usb0.1.ltdl7_amd64.deb
iscan-data_1.36.0-1_all.deb

For 32-bit same packages with i386.

The easiest way to install these packages is to create an Epson directory in your home folder, copy all deb files there and run in terminal:

sudo -H dpkg -i ~/Epson/*.deb

In case there is an error message regarding lsb, run

sudo apt-get install -f

and all necessary packages will be downloaded and installed.

To setup scanning over the net, you need to install iscan-network package, then run

sudo gedit /etc/sane.d/epkowa.conf

And add there a line

net <printer_ip_address>


How to restore Firefox download progress bar in Unity launcher?

Unityfox Revived add-on is the current successor.


How to extract archives to file system in terminal?

Method 1: Extracting the Files, Then Copying Them as Root

Navigate in the Terminal to wherever the file is located. For example, if it's located in the Downloads folder inside your home folder, run this command:

cd ~/Downloads

The ~ character in this context is an abbreviation for the full name of your home folder. (For instance, if your username is jeff, it is an abbreviation for /home/jeff.)

Now extract the archive with tar. Since that file is a .gz archive, you'll use the z flag to tell tar this:

tar xvzf Jupiter_Radiance_theme_icons.tar.gz

x means to extract. v means to list the files as it extracts them (you can leave this off if you like). z means to gunzip it (as the .tar archive is itself compressed with gzip--that's what the .gz extension designates). f means to extract it here in the filesystem (and the need for it is an artifact of the older common use of tar, to create and extract tape archives).

The archive you just extracted contains three files (you saw their filenames if you kept the v flag in the command). Their names are bolt1.png, bolt2.png, and bolt4.png. So now, copy these files to /usr/share/pixmaps. This is the part that requires root privileges, so this is where you should use sudo:

sudo cp --no-preserve=ownership bolt1.png bolt2.png bolt4.png /usr/share/pixmaps

You had extracted them as your own (non-root) user, which gave you ownership over them. But root should own the files in /usr/share/pixmaps, which is why you should use the --no-preserve=ownership argument to cp. Since you are copying the files as root in a directory owned by root, the copy you make will be owned by root as is proper.

Method 2: Copying and Extracting the Archive as Root

You might find it simpler to do everything as root. Then root will own the files initially, because root will extract them. The easiest way to do this is to put the archive in the destination folder (if it's not already there).

Supposing the file is located in Downloads:

cd ~/Downloads
sudo cp Jupiter_Radiance_theme_icons.tar.gz /usr/share/pixmaps

Please note that you could instead have used mv instead of cp to move it instead of copying it (provided that the source and target folders are on the same partition).

Now go to the target folder and extract the archive:

cd /usr/share/pixmaps
sudo tar xzvf Jupiter_Radiance_theme_icons.tar.gz

You should probably remove the archive, because it's not good to have extraneous files in /usr/share/pixmaps:

sudo rm Jupiter_Radiance_theme_icons.tar.gz

Method 3: Just Extracting the Archive as Root

If you like, you can keep the archive wherever you downloaded it, and just extract it to /usr/share/pixmaps as root. (Thanks to adempewolff for suggesting I present this method.)

cd /usr/share/pixmaps
sudo tar xzvf ~/Downloads/Jupiter_Radiance_theme_icons.tar.gz

This works because tar will, by default, extract the archive to whatever folder you are in, rather than to the folder the archive is in (if they are different).

Other Methods

You can easily make a variation of Method 1 where you extract the files graphically with the Archive Manager, then copy them in the Terminal with sudo. But you can also do both as root, by running Nautilus (the file browser) as root. If you do this, you can perform any file management task with Nautilus, and any programs you launch from Nautilus will also run as root. You have to be careful with this, because you can damage your system by making a mistake (just as you can by running the wrong command with sudo), and because it would be particularly bad to forget that this Nautilus window was running as root rather than normally.

To run graphical programs as root, don't use sudo directly. Instead, use gksu. So, to run Nautilus as root, you could press Alt+F2 and run:

gksu nautilus

If you do this, make sure to close the Nautilus window when you're done, and to only use it for tasks where you know you need to be root (like making changes to the contents of /usr/share/pixmaps).

You could even do a variation of Method 2 or Method 3 where you don't copy anything as root, but instead extract the archive as root graphically, by running the Archive Manager as root. To do this, press Alt+F2 and run:

gksu file-roller

However, most users find it easier to extract files by launching the Archive Manager from within Nautilus, because then it opens knowing what archive you want it to use. (You can pass the name of the archive as part of the file-roller command...but at this point you start to lose the ease-of-use benefit of GUI over command-line.)

Suggested Resources

To learn more about extracting files with tar, see man tar.

If the archive had been .tar.bz2, you would use j instead of z. If it had been .xz, you would use J instead. For all other information, see that manual page.

To learn more about performing administrative tasks in Ubuntu, see the community documentation on sudo and root, and also man sudo and man gksu (or man kdesudo if you're using Kubuntu).

The community documentation on File Compression is worth a read, to learn more about archives and file compression. (Technically these are two related and overlapping but different things. For example: A .tar file is an archive. A .gz file is compressed.)

Most of the time you use tar it will probably not be to create and restore backups, but it can be useful for that, plus, understanding how that works enhances your understanding of what tar can and cannot do and how to use it. If this interests you, see the community documentation on backing up your system with tar.


GUI of certain OpenGL/QT programs do not correctly show orientation/scaling

This was a problem with the DPI settings on QT.
in order to resolve this, add
export QT_AUTO_SCREEN_SCALE_FACTOR=0
to ~/.bashrc
or execute with
QT_AUTO_SCREEN_SCALE_FACTOR=0 ./program
every time you use the program in the terminal.
Or if you want to resolve this problem with one program  only, add
alias progo='QT_AUTO_SCREEN_SCALE_FACTOR=0 /path/to/program'
(change progo to a separate name every time you add this)
in ~/.bashrc


Flash is not working after latest update

First of all, I don't recommend to copy and to use downloaded files for flashplayer. Use the packages from the repositories instead.

Second, I personally like more the adobe propietary plugin, you can install it through your favourite package manager (sudo apt-get in the terminal or ubuntu software center as GUI, as an examples). search for adobe-flashplugin.
If you don't find result with such name probably you have to activate the non-free repositories, do it with the software and sources tool (use dash to search for it).
If you have already installed flashplugin-installer, probably it'll ask you if you want to replace it. press yes.

Other option is to reinstall flashplugin-installer, you can do it through the terminal typing: sudo apt-get install --reinstall flashplugin-installer


Did you try installing it from the command line directly, as this other almost identical question/answer pair instruct you on how to do?

You can install IDLE for Python 3 with

sudo apt install idle

... or with ...

sudo apt install idle3

There is no Python2 version of IDLE in Ubuntu 18.04, however.


how to install openssh 1:6.6p1-2ubuntu2.10

If you really need to install this insecure version, then you should visit aforementioned page and click on one of builds links:

then select architecture and download corresponding deb-packages.


How do I list all storage devices (thumb drives/external hard drives) that are connected via USB, from the command line?

If you are looking for the mounted disks, a simple

df

will list them along with all your other disks along with some useful info.


How can I keep a wireless card's radio powered off by default?

"Modern" solution using Network Manager: simply uncheck the Wireless Enabled option at the Network Manager applet (KDE: Network Management). The command nmcli nm wifi off is equivalent. Continue reading if you sporadically enable Wi-Fi, but would like to revert it to disabled on reboot.

The wireless state is remembered in the file /var/lib/NetworkManager/NetworkManager.state. To disable Wi-Fi at boot, ensure that the key WirelessEnabled stays at false. You could do that by editing the init script of Network Manager, or by using the /etc/rc.local trick below. The command you need is:

sed s/^WirelessEnabled=true/WirelessEnabled=false/ -i /var/lib/NetworkManager/NetworkManager.state
rfkill block wifi

Put this before exit 0 (as described below). The rfkill block wifi command is still needed due to a race with startup of Network Manager (NM). Once NM has started, changes to the state file have no effect.

(old answer that involves editing file /etc/rc.local with an explanation of the rfkill command)

A bit hacky, but it should work. A wireless card can be disabled using the rfkill command. All devices used by rfkill can be shown using rfkill list. Sample output:

0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

Hard blocked is dependend on a hardware setting, e.g. a wireless switch on a notebook. Soft blocked can be controlled by the OS (Ubuntu).

How does it work? It does not have a manpage, running rfkill provides a help text in this case:

Usage:  rfkill [options] command
Options:
        --version       show version (0.4)
Commands:
        help
        event
        list [IDENTIFIER]
        block IDENTIFIER
        unblock IDENTIFIER
where IDENTIFIER is the index no. of an rfkill switch or one of:
        <idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm

Ah, now we get somewhere. You need to run rfkill block wifi as root to disable the wireless device. (wlan is an alias of wifi, see the source code of rfkill).

Now, if you want to disable the wireless functions at boottime, add the command to /etc/rc.local by running sudo nano /etc/rc.local. Use the arrow keys / page up/down keys to navigate to the line before exit 0 and add rfkill block wifi, so that the file end like this:

# By default, this script does nothing

rfkill block wifi
exit 0

When finished, press Ctrl + X, then press Y to save it and press Enter to accept the filename.

If you decide to activate the device later, run: sudo rfkill unblock wifi. Do not forget to remove the line from /etc/rc.local if you decide to use the wireless card.


How to install Ubuntu on a blank hard drive?

Download the Ubuntu ditsro you like.
Than use UNetbootin to create a bootable USB flash drive.
(Or you could burn a DVD from the iso)

You can use the USB flash drive to install and even try Ubuntu first.

There is no need for any other OS on your computer.


The default output format of join is to print the join field, then remaining fields from FILE1 and then the remaining fields from FILE2, unless the format is specified with -o. Further, the option -j4 means that join field is the 4th field in both FILE1 and FILE2. So you need to split -j4 to -1 1 -2 4 .

Try this:

join -o '2.1 2.2 2.3 2.4 1.2' -2 4 -1 1 <(sort -k1 FirstFile.txt) <(sort -k4 SecondFile.txt)


How do I get the dash to open on the application scope rather than the home scope

You can already do it with 2 clicks:

Right-click on the dash icon to open a context menu.
Left-click "Applications".

Or with one click-and-drag:

Right-click on the dash icon and hold the mouse button down to open a context menu.
Move the mouse over the "Applications" option and release the right mouse button there.


How do I install drivers for Realtek RTL8812BU?

Almost all of the instructions are in the README on the second site you linked. I’ll fill in a few blanks.

With a working internet connection by ethernet, tethering or whatever means possible, open a terminal and do:

sudo apt-get update
sudo apt-get install build-essential dkms git
git clone https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.2.4.4_26334.20180126_COEX20171012-5044.git

Now, from the README:

cd rtl88x2BU_WiFi_linux_v5.2.4.4_25643.20171212_COEX20171012-5044
VER=$(cat ./version)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu

Please be aware that the ‘build’ process takes a few moments; please be patient.

Your wireless should now be working.


Please be sure the prerequisites are installed:

sudo apt-get install build-essential linux-headers-generic

Then compile:

cd ~/Scaricati/e1000e-2.5.4/src
make
sudo make install
sudo modprobe -r e1000e && sudo modprobe e1000e

Verify that you are now using the updated driver:

modinfo e1000e | grep version

It ought to report 2.5.4-NAPI. Can you connect now?

You will have built the driver for your currently running kernel only. When Update Manager offers a newer kernel version, also knownn as linux-image, and asks you to reboot, you must re-compile:

cd ~/Scaricati/e1000e-2.5.4/src
make clean
make
sudo make install
sudo modprobe -r e1000e && sudo modprobe e1000e


How can I remove YUMI (multiboot usb creator) software?

You typed it incorrectly, open the terminal and type this command instead:

sudo apt-get purge yumi

Enter your password (as you have to do so each and every time you use sudo) and follow the prompts. This will completely remove and uninstall the application and all of the files associated with it as well (purge).

Done.


Softwares & Updates utility reads entries from /etc/apt/sources.list and files inside /etc/apt/sources.list. During Ubuntu upgrade, those files are modified by a script and some entries are added or duplicated because the upgrade script is not perfect.

Anyway you can safely remove the unchecked sources as all important stuff are available under the other tabs and as soon you don't want to compile Ubuntu software by yourself (This is the usage of "Sources Code" entries).


Creating an image of the installed version along with all changes and apps installed

Even I'm looking for the same.. there is a software in windows name norton gost, think it will work for Linux system too.. just browse for Norton Gost software and give it a try..


How can I install a specific older version of Firefox and keep it from automatically updating?

You should not do this, because versions of Firefox past the 3.6-series do not remain supported, even with security updates, when new versions come out. (This is why Firefox 8 is in Lucid now.) Continuing to run Firefox 7.0.1 means you are running a version that has known security vulnerabilities that are not and never will be patched--it puts you (and your customers/clients, if applicable) at risk.

Install the upstream binaries manually

Unless you can get one of the above techniques to work, the easiest way would probably be to make your script download the upstream Firefox 7.0.1 binary distribution, unpack it, and install it as root:

[ -d /opt ] || sudo mkdir -m  755 /opt
cd /opt
if [ `uname -m` = x86_64 ]
then
    sudo wget http://mirror.dacentec.com/mozilla/firefox/releases/7.0.1/linux-x86_64/en-US/firefox-7.0.1.tar.bz2
else
    sudo wget http://mirror.dacentec.com/mozilla/firefox/releases/7.0.1/linux-i686/en-US/firefox-7.0.1.tar.bz2
fi
sudo tar xjf firefox-7.0.1.tar.bz2
sudo apt-get purge firefox # removes firefox; comment out if definitely uninstalled
ln -s /opt/firefox/firefox /usr/bin/firefox

A few considerations:

As explained above, you should not do this at all! (This technique is useful for other purposes, which is the main reason I'm posting about it.)
The script above doesn't check to see whether or not commands completed successfully before proceeding. It assumes that /opt exists with reasonable permissions or that it doesn't exist and can be created (which is pretty safe), that the download succeeds (which is not particularly safe), and that the archive successfully unpacks (which is somewhat safe, if the download succeeded). It also assumes that if you don't have a 64-bit PC (or Intel Mac), then you have a 32-bit PC (or Intel Mac), since the script would fail anyway for other architectures since binary builds are not provided upstream for them (you can still build from source for them though); while this is safe in the sense that it doesn't increase the risk of failure, it doesn't give any useful error message when the architecture is unsupported. It creates a symbolic link to the newly installed Firefox 7.0.1 binary in /usr/bin, which will fail if you still had another version of Firefox installed, but you would want it to fail in that situation.
There is no reason to think the download mirror I have used in the script is the best one for you. You might want to change it, or implement the script to figure out a reasonable mirror to download from. (If you apply this technique as I am recommending--that is, only to a similar but different problem where the software you're installing is still supported with security updates--then you'll be installing a different program and will thus have to change the argument to wget anyway.)
Using this method, you don't have to hold the firefox package, because the firefox package is not what is providing Firefox 7.0.1. (No package is providing it; it's installed manually without the package manager.)


What are the power parameters for MAAS when using Cisco UCS blades for machines

maas <maas_profile> machines create \
    mac_addresses=<new_machine_mac_address> \
    architecture=amd64 \
    hostname=<new_machine_name> \
    fqdn=<new_machine_fqdn> \
    power_type=ucsm \
    power_parameters_power_user=<ucs_username> \
    power_parameters_power_pass=<ucs_password> \
    power_parameters_uuid=<ucs_blade_uuid> \
    power_parameters_power_address=<ucs_url>

The UCS url is similar to the one you use for accessing UCS from the web browser.  However, it ends "/nuova".  For example, "http://my.ucs.server/nuova".  If you are using https, be ready for certificate issues.  If you have http and https enabled in UCS, but want MAAS to use http, you will need to disable http>https forwarding in the UCS console.

For additional information about the other parameters, see my other post at:

How do you add a machine to MAAS with IPMI power using CLI


Intel graphics card but only NVIDIA drivers installed

There is no need to install any drivers for Intel GPU's. They are natively supported by Linux kernel.


Ubuntu 12.04 LTS/Lampp/Xampp: An error occurred while extracting files

Probably your file got corrupted during download. You can check the file integrity by verifying the downloaded file's SHA1 (or MD5) hash.

Go to the XAMPP download page, click the information icon at the right of "xampp-linux-1.8.1.tar.gz" (or any other file you downloaded) and copy the SHA1 (or MD5) hash. Download the file and run in a terminal (Ctrl+Alt+T):

cd Download     # <-- The directory where you saved the file.
sha1sum xampp-linux-1.8.1.tar.gz     # <-- The file you downloaded. Replace sha1sum with md5sum if checking MD5 hashes.

Check if the hash matches the one copied from the download page.


Open the Dash and search for "Additional Drivers" . There you have an option to either Enable or Disable Nvidia drivers.

More Information here.


Removing a package and related files/folders, then re-adding tomcat caused some issues

For what is worth, here is your answer:

sudo apt-get purge [package]
sudo apt-get install <package> --reinstall


Alt+Left and Right arrow keys change from GUI to console

Only workaround I can find is to run sudo kbd_mode -s, which fixes it in the current session for me.

I'm not sure how to use that to fix it permanently, or what the root cause is.


trash:/

The "trash:/" is a KDE kioslave. Here is a "A Quick and Easy Guide to KDE KIO slaves": http://maketecheasier.com/quick-easy-guide-to-kde-kio-slaves/2009/08/17


keeping a Directory backup/copy up-to-date

for same need i use

rsync -rt --delete /souce /dest

See man rsync
--delete is for delete extraneous files from dest dirs


Why am I losing video sync on Ubuntu 13.10?

Do you have the nvidia binary driver installed or are you using the open-source one's included by Ubuntu...  If it's the latter then go into Software Properties and click on the Additional Drivers tab and see if an Nvidia driver is detected for your system, this will help display issues...


please help! how do I make a bootable usb pen drive to install my windows 10 iso on 15.04?

There are two methods.

If you have wine preinstalled:

Download Rufus (you need Wine two run it.
then select your iso file and the usb device. the rest is easy
Wine not required:

Install Winusb. Open a terminal windows (Ctrl+Alt+T)

Paste the following commands one by one:

sudo add-apt-repository ppa:colingille/freshlight
sudo sh -c "sed -i 's/trusty/saucy/g' /etc/apt/sources.list.d/colingille-freshlight-trusty.list"
sudo apt-get update
sudo apt-get install winusb

Now, choose From a disk image(iso)

select your file

Then select the target device

Click install


Chinese character folder created at startup

I got the same problem and freaked out too.

A folder just like yours with almost the same chars appeared at the root of my home

I discovered the culprit turned out to be a RhythmBox plugin, the coverart-browse one in my case.
As soon as I started the player that folder will create itself.

I just unistalled the plugin.

To do so, launch synaptic package manager, search for rhythmbox and there you will see the all the plugins you have installed. Select and uninstall the one causing you problems

else sudo apt-get remove rhythmbox-plugin-pluginToRemove

If I can fix it in the future I'll use this thread to let you know.

In your case It might be another software dumping a crash/call to attention into your home folder.

Cheers,


Disable native network card when using external

One possible way:

lshw -c network

Look for driver= for each NIC. If they are different you can blacklist the one you don't want (see /etc/modprobe.d/blacklist.conf).

Otherwise you could just down the unwanted interface -- or if it is the built in one there should be an off switch on the laptop itself (one of the Fn keys?).


No wonder, you're running the commands in a wrong way. It must be executed in multiple lines or at least with && separating the commands.

The correct sequence of commands would be:

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts


Ubuntu installed fine, but I have three monitors hooked up to my PC and no screen

Maybe revert back to nouveau video drivers until you are able to boot to the gui? This link should help: Remove nVidia driver and go back to Nouveau

 Edit: Are you able to use the keyboard at all? If not, my answer won't help.... Also, could you make an edit saying what the error messages you're getting at boot are?


How to get Multimedia keys working at my ASUS N56VZ Ubuntu 12.04 Notebook

I also have an Asus N56VZ.

Good news, you can have nearly all the Fn keys to work (all except the screen backlight control keys, don't know why)

Bad news, for the moment, you will have to wait for kernel 3.5 release or to modify source code according to what you can see here if you cannot wait.

UPDATE 11/19/2012

Good news, most of the Fn keys work out of the box since Ubuntu 12.10.

Another good news ! For the reluctant screen backlight control keys (F5 and F6), I have found this procedure. It originaly has been written for the Asus Zenbook Prime, but it works like a charm with the N56VZ.

UPDATE 04/07/2013

I recently upgraded my firmware to version 2.16. Unluckily, the fixasusbacklight workaround seems inefficient with this version. The screen backlight Fn+F5/F6 keys are no longer working. Anyway, this situation should be fixed by the end of the month with the release of Ubuntu 13.04. I have just tested the beta Live CD and everything works fine with it.


Firefox developer edition icon duplication in Gnome shell

My Solution is to edit the firefox-dev.desktop file, adding --class FirefoxDev to the Exec command and StartupWMClass=FirefoxDev as a new line.

The advantage of this one is that Firefox and Firefox Developer Edition will no longer share one icon if both are installed.


Update to LO 5.0.0.5, aka " LO fresh" using the following ppa:libreoffice/ppa instead of downloading the deb packages.

The above repo will allow a permanent updating as new versions come out (hence the name "LO fresh"), whereas installing from the .deb files would not, because they are purposefully built on an "older baseline for maximum compatibility".

In the terminal, do per usual:

$ sudo add-apt-repository -y ppa:libreoffice/ppa
$ sudo apt-get update
$ sudo apt-get install libreoffice

Your configuration files should be preserved but you will see that option settings under Menu | Tools > Options are expanded.

Enjoy !


Finally get it here.
https://stackoverflow.com/a/19102096/5070449

1) Install 'adb' and 'fastboot' provided by the following third-party PPA.

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot

2) Replace the copy of 'adb' and 'fastboot' provided by the official Android SDK with those installed from the above step:

cp /usr/bin/adb <path-to-your-adt-sdk-package>/sdk/platform-tools/adb
cp /usr/bin/fastboot <path-to-your-adt-sdk-package>/sdk/platformtools/fastboot

3) That it. Now run

<path-to-your-adt-sdk-package>/sdk/platform-tools/adb
* daemon not running. starting it now on port 5037 *
* daemon started successfully *


Ubuntu boot works with CD/DVD but not with USB

I think there should be some BIOS settings issue, make sure you enable legacy usb boot in BIOS. Also enable UEFI boot mode.

I guess the boot order is set to usb first, or you keep pressing F12 / F8 on bootup to choose the usb device to boot from.


How to add From & To in reply all in Thunderbird?

I didn't encounter any date in my thunderbird, or any cc, it is only from and a to, and after first to some lines if you click on that you can write another email address.
So if you don't have even a from that is a bug, uninstall and reinstall is my solution.


Is there an 11.04 package for gtk+-3.2.0?

There won't be.  11.04 is a stable release, so it doesn't get new upstream releases, except for a few special cases like firefox.  Unless someone adds it to the natty-backports repository, but backports doesn't see much activity, especially on non LTS releases.


Windows 10 / Ubuntu dual boot: where to install GRUB

I do not have a good solution to the grub installation, but the issue is resolved when you install using UEFI (which, as BIOS becomes obsolete, is probably the right thing to do).

The Win10 usb - from Microsoft - was not seen by the system when UEFI mode is enforced in the bios. The solution is to make your own media. Use the Windows creation tool to download the ISO (not to make the media), available from
https://www.microsoft.com/en-au/software-download/windows10

To make the media, there are several tools, but Rufus is quite easy:
https://rufus.akeo.ie/
When using this tool, choose GPT as the partition scheme and FAT32 as the file system. Choose to boot using ISO image, locate the downloaded ISO file, and click start.

The resulting media is now seen by the bios, Windows is installed as UEFI (confirm in System Information), and subsequent Linux installations are uneventful.


Logitech Harmony keyboard possible in Ubuntu 14.04?

There is a Linux Harmony project.  No support from Logictech.  Here is the Webpage.

Here is a really good How-To on how to setup it up.

To find out about Harmony models that are supported, go here.

You can take a look at congruity.  This software will allow you to program your Logitech Harmony universal remote control! In addition to providing software that works in UNIX (which logitech's software doesn't support).Concordance

congruity is a GUI application for programming Logitech Harmony. congruity builds upon the work of the concordance project, which provides the underlying communication.congruity

Hope it helps.


Access to ttyUSB* from snap (Ubuntu Core)

You can gain access to devices by defining slots: try this article might be useful.
Other than that you need to install your snap using the --devmode flag.


Suspending has started to require authentication

Edit your polkit settings to allow anyone to suspend by

sudo gedit /usr/share/polkit-1/actions/org.freedesktop.login1.policy

Locate the section that says <action id="org.freedesktop.login1.suspend">

Change the settings to:

<defaults>
    <allow_any>yes</allow_any>
    <allow_inactive>yes</allow_inactive>
    <allow_active>yes</allow_active>
</defaults>


Do i have the right to use Ubuntu on a laptop with preinstalled Windows 7(which is deinstalled for some reason)?

What you read means that the license you have is for the preinstalled Windows copy and not for any other Windows copy. Microsoft cannot give or revoke licenses concerning other operating systems and it cannot force anyone to use Windows exclusively.
You can get rid of Windows or use Ubuntu too anytime you like.


It might sound silly, but have you tried simply sticking the USB modem and giving it a try? In my case, Ubuntu recognized my Huawei and the only thing I needed to do was to go to the top-right menu (next to the power icon) and activate the connection.


Super key stuck on Ubuntu 18.04 - can't issue commands

This might be a dirty hack, but remove your keyboard and restart your computer. Now plugin another keyboard, login and then you can check your mapping.


How change Gateway of subnet ( private network, Internal) on MAAS

You can achieve that using MAAS CLI.

Login to your MAAS server via SSH. Get API key from your administrator account (take a look to the top right corner in the web GUI) and run the following command:

maas login my-mass http://localhost/MAAS

Find ID of a subnet you need to change:

maas my-mass subnets read

Change it:

maas my-maas subnet update <ID> gateway_ip=192.168.120.2

Please note, I have not tried running commands above, so there might be typos, but when in need, just use --help:

maas my-maas subnet update --help


Is there any way to prevent application from changing volume level of my microphone?

I had a similar problem. Sometimes it is impossible to prevent applications from trying to adjust the microphone level. With Ubuntu, it is at least possible to prevent ALSA from responding to such requests.

In the configuration file /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf (you might have to look for the correct file for your microphone), I changed to part

[Element Capture]
switch = mute
volume = merge
override-map.1 = all
override-map.2 = all-left,all-right

to

[Element Capture]
switch = mute
volume = 40
override-map.1 = all
override-map.2 = all-left,all-right

and after a sudo alsa force-reload, applications don't magically change the microphone volume anymore.

Does that solve your problem?


For anyone interested I am posting the solution to the problem. I have run the following command in /usr/share/applications and ~/.local/share/applications to find files containing the entry Matlab regardless of the case; I learned that trick from
StackOverflow.

grep -Ril "Matlab" /usr/share/applications/

The output was:

/usr/share/applications/matlab.desktop

being the file I generated manually. However, when I ran the command in the other directory

grep -Ril "Matlab" ~/.local/share/applications/

The output was:

/home/ongun/.local/share/applications/com-mathworks-util-postvminit.desktop
/home/ongun/.local/share/applications/mimeapps.list

After checking the first entry (since it was a .desktop file) I found that it was the culprit and deleting it remedied the duplicate icon in Dash.


Installing SQL Server command-line tools on Ubuntu 18.04 LTS

Why 16.04?

curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list

It should be 18.04:

curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list

For all available listing, check: https://packages.microsoft.com/config/ubuntu/


Compiling HHVM - how to add libpthread to linker?

Try adding the following to the cmake file:

find_package(Threads REQUIRED)
target_link_libraries({$target} ${CMAKE_THREAD_LIBS_INIT})


acer chromebook 14 keyboard issues, trackpad issues

I have the same problem. I am also running using a acer chromebook 14 running from a 128 gb thumb drive. I have not found a fix for the keyboard but you can fix the touchpad issue by going into your startup applications menu and adding the command

    xinput set-prop "Elan Touchpad" "Synaptics Finger" aa bb cc

and rebooting.


Does Gnome-Do (with the Docky theme) work well with 10.10 Maverick?

Gnome-Do in Maverick doesn't have the docky appearance anymore.


Where do I get windows 7 software for Virtualbox?

You can connect your SonyXperia phone to Ubuntu, just you need to do a few settings. At your Sony Xperia phone, go to settings, and then Xperia(tm). Tap on the Connectivity and then USB Connection Method. Choose MSC instead of MTP. You now have the capability to access your SD storage card. You can't access Internal Memory, however.

If you don't have Windows 7 OS software, you have to look for it. You can download using torrent I don't recommend it. Using Virtual Box will not work since Linux couldn't access MTP USB connection. I suggest dual boot instead, if you want.


How to see packages installed on a given date using 'aptitude'?

Unfortunately, dpkg (the package handler aptitude works on top of) does not specifically save the install date of packages, although there's thoughts of adding it. However, the install date can be found by looking at the date stamp of files written to the directory /var/lib/dpkg/info.


Ubuntu 13.10 Microsoft Sculpt Comfort Bluetooth Mouse issue

Both os need have the same bluetooth name and use same key (last working one)

On windows key is stored at

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BTHPORT\Parameters\Keys\yor_mac_address

On Linux

/var/lib/bluetooth/yor_mac_address/linkkeys

To read or edit windows 7 key need "PSEXEC" to exec regedit as system account.

https://nullroute.eu.org/~grawity/bluetooth-key-sharing.html


VNC on UBUNTU 13.04 - not showing full desktop

I think you should be using x11vnc. I've tried vnc4server and tightvnc, neither worked well.

Difference between x11vnc and traditional Unix VNC. x11vnc interacts directly with physical displays.

Install x11vnc

sudo apt-get install x11vnc

Create VNC password

x11vnc -storepasswd

NOTE: defaults to ~/.vnc/passwd file. Alternatively, use vncpasswd or
-storepasswd pass file
Store password pass as the VNC password in the file file. Once the password is stored the program exits. Use the password via "-rfbauth file". If called with no arguments, "x11vnc -storepasswd", the user is prompted for a password and it is stored in the file ~/.vnc/passwd. Called with one argument, that will be the file to store the prompted password in.

Start x11vnc

# Start x11vnc using ~/.vnc/passwd
x11vnc -safer -forever -display :0 -rfbauth /home/terry/.vnc/passwd
# less output to stderr -q -quiet
# this does not eliminate all informational output, it only reduces it
x11vnc -safer -forever -display :0 -rfbauth /home/terry/.vnc/passwd -q
# eliminate all output
x11vnc -safer -forever -display :0 -rfbauth /home/terry/.vnc/passwd 2>/dev/null 1>2&

Change the VNC port to listen on

-rfbport

The VNC port to listen on (a LibVNCServer option), e.g. 5900, 5901, etc. If specified as "-rfbport PROMPT" then the x11vnc -gui is used to prompt the user to enter the port number.

x11vnc -rfbport 5901

This force x11vnc to use port 5901 (this is VNC display :1.)

If something else is using that port x11vnc will exit immediately. If you do not supply the -rfbport option, it will autoprobe starting at 5900 and work its way up to 5999 looking for a free port to listen on.

Send x11vnc to background

x11vnc -safer -forever -display :0 -rfbauth /home/terry/.vnc/passwd -bg

Go into the background after screen setup. Messages to stderr are lost unless -o logfile is used.

VNC password file

The option -rfbauth .vnc/passwd provides additional protection by requiring a VNC password for every VNC viewer that connects. The vncpasswd or storepasswd programs, or the x11vnc -storepasswd option can be used to create the password file. x11vnc also has the slightly less secure -passwdfile and -passwd XXXXX options to specify passwords.


Actually, this was easy, once I figured out how to download the source.  I went into System Settings/Software & Updates and enabled downloading source.  Then I went to a temporary folder and did apt-get source bzip2.  Among other things, this downloaded a file named bzip2_1.0.6.orig.tar.bz2.  When I extracted the archive it had two Makefiles, one for the static library and one for the .so file.  The one named 'Makefile' was for the .a file, so I just had to do make.


Window Tansparency - set for one window only

You'll need to play a little with compiz to get this. Install compizconfig:

sudo apt-get install compizconfig-settings-manager

Run it:

ccsm

And under the Windows Rules section you'll find this rule: "No ARGB visuals". You need there a way to identify your window, either the title, class, etc:


avahi slow to start - can ping IP, but hostname comes online after few mintues

I fixed problem by disabling ipv6 in avahi settings file. It was in /etc/avahi/avahi-daemon.conf


I'm the developer working on it!

It is being developed, but it's a lot harder than it looks.  The current lock screen is built into the shell.  But to be a proper lock screen, we need to separate it out to be a proper LightDM greeter that runs as a different user and has to share a bunch of information with the user session.

Hopefully will have something working by 14.04.


I've found a solution using Autokey. Install and open the autokey GUI and create a new phrase, name it whatever you want. In the main field, enter the system key combination that achieves your goal, then set your hotkey using the button at the bottom of the GUI. For example, I've mapped my capslock key to the hyper key using xmodmap, so my shortcuts are as follows...

Some examples:

Move cursor right: <right> (shortcut: <hyper>+f)

Move cursor left: <left> (shortcut: <hyper>+b)

Delete next word: <ctrl>+<delete> (shortcut: <hyper>+<shift>+d)

Move to beginning of line: <home> (shortcut: <hyper>+a)

Delete line to the right of the cursor: <ctrl>+<end><delete> (shortcut: <hyper>+k)

Use your imagination!


Not installable libreadline6 (>= 6.0) while instaling R 3.6.2 on Ubuntu 18.14 LTS

The problem was in my etc/apt/sources.list file. It had the same repository repeated. I deleted two lines and the problem was solved.


On-the-fly conversion of FLAC to MP3 when syncing with Android?

Turns out you have to do nothing - it Just Works.

Just plug the phone into the computer with the USB connection on Android set to "Disk Drive".  Set up the sync in Rythmbox and then sync.

Wish I had some control over the transcoding, but at least they're compressed from FLAC to M4As by default.


How to start libvirtd with --listen option in 16.04

Self solution:

Edit /etc/libvirt/libvirtd.conf to add/change:

listen_tls = 0
listen_tcp = 1
auth_tcp = "none"

Then edit /etc/default/libvirtd to add:

libvirtd_opts="-l"

Then:

sudo service libvirt-bin restart


I'm unaware of the -B switch, but it can be accomplished with the -d option which can be used get a relative time from an existing file.

Example

touch -r temp.txt -d '-30 seconds' temp.txt.touch

Output Log

ubuntu@fmdev:~/t$ stat temp.txt
  File: 'temp.txt'
  Size: 2732        Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d  Inode: 293005      Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1000/  ubuntu)   Gid: ( 1000/  ubuntu)
Access: 2016-12-22 17:57:48.354526423 +0000
Modify: 2016-12-22 17:56:52.682704422 +0000
Change: 2016-12-22 17:56:52.682704422 +0000

ubuntu@fmdev:~/t$ touch -r temp.txt -d '-30 seconds' temp.txt.touch
ubuntu@fmdev:~/t$ stat temp.txt.touch
  File: 'temp.txt.touch'
  Size: 0           Blocks: 0          IO Block: 4096   regular empty file
Device: 801h/2049d  Inode: 256151      Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1000/  ubuntu)   Gid: ( 1000/  ubuntu)
Access: 2016-12-22 17:57:18.354526423 +0000
Modify: 2016-12-22 17:56:22.682704422 +0000
Change: 2017-02-10 14:34:22.805519094 +0000


Color-leveling a tiff image via command-line

The .tiff format is not well supported in ImageMagick according to the support documentation for the program so it is unlikely to work as expected, try any other supported image format and you should be able to achieve the results you want.

  The TIFF format is the propriety format for PhotoShop.  However it is
  so   bloated with features, and has been modified by just about every
  application   that has cared to use it, that no program, not even
  photoshop can handle ALL   its variations.  Photoshop however has the
  best chance at reading it.

  I would steer clear of the TIFF image file format unless you are
  specifically working with photoshop, or the application accepts no
  other,   better defined, image file format.

  I don't use the TIFF image file format, or Photoshop. If you use
  this format   with IM extensively, perhaps you would like to submit
  your findings to me,   to include here.  That way you  can help your
  fellow TIFF users.

  Whether a specific software package can read a TIFF, all you can do
  is try   it and see.  That is the problem with this format.


Is there an easy way to email a link to each friend so they can see their video?

No, not really. You need some kind of sharing service. This can be anything from Owncloud, hosted at a computer you own, to YouTube or Dropbox. But you need some kind of publicly accessible server. A desktop computer that is on at random times is not a good fit. You can also install apache, and simply drop the files into the webserver's root directory (typically /var/www/html on Ubuntu).

The answer depends a lot on if this is a one time thing. If so? Use dropbox, youtube or whatever third party service you want. Owncloud or apache requires some maintenance, and takes time to set up. WHich is fine, if you plan to reuse it, or want to learn...

  It's fine if they want to download the video, but I don't want them to be able to edit the original file

Forget it. Hollywood's been trying DRM for ages - they have not succeded. If people can watch it, they can copy it. If they can copy it, they can edit it.

  I don't want them to be able to "browse" or access the other files in the directory (or any other directory on my server, for that matter)

How you do this depends on what kind of service you use for sharing it. If you use an http-server, limiting directory listing would be one way to avoid it.

  It would be nice if I could edit the appearance of the link (ie, not have the link as //server/file-location but maybe "thankyou-video")

//server... implies Samba share. Don't use that over the Internet. Use HTTP(S). The appearance of the link is typically handled separately; many mail clients support HTML e-mails which lets you define the link text yourself.


Dualboot with windows 8? Problems with partitions

Chances are the disk needs to be checked with a filesystem-check utility. You'll need to do this in Windows, with the FSCK utility or a GUI front-end to it, since there's no suitable utility in Linux. Once you've done this, be sure to shut down cleanly, since if you just hit the power button, the disk won't be properly unmounted and you're likely to run into the same problem again.

One more point: Windows 8 uses a "fast start-up" feature by default, but this is essentially a suspend-to-disk rather than a shut-down. You must disable this feature when dual-booting, or risk filesystem damage. You can turn this feature on or off in System Settings; see here for details, or do a Web search to find other descriptions.


The correct driver would be i2c-i801, of which Intel states that it's compatible with the Series 6 PCH: https://www.kernel.org/doc/Documentation/i2c/busses/i2c-i801

In recent kernels (2.6.12 and later), the option is in drivers/i2c/busses. From  2.6.0 through 2.6.11, the driver was present, but considered experimental.

To find out if the module is present on your system, use modinfo i2c_i801. If the module is found, try to load it using modprobe i2c_i801.


Merging Home Directories Breaks Readline/.bashrc

Try this:

sed -i -e 's/\r$//' ~/.bashrc

This will remove Windows-style line endings (CR characters - \r). Now, if you source ~/.bashrc you shouldn't get any error.

Next, before to copy any content from other file, run the same command for that file:

sed -i -e 's/\r$//' /path/to/file_from_where_you_copy


Can't resize gimp toolbox below certain width on Ubuntu 16.04

The minimal size of the Gimp-toolbox is different in single-window-mode and depends on the tabs added to the lower section of the toolbox. With only the tool-options-tab the minimal size is three columns.

If you add other tabs, the minimal size will increase, for instance adding the gradient-tab limits the minimal size to 5 columns, adding the layer-tab increase the minimal size to 6 columns.

We can add these tabs to the dock on the right side of the window which is a bit wider then the toolbox by default. Already to the toolbox added tabs can simply be dragged to the other dock.


How do you install and configure TuxGuardian in Ubuntu 12.04?

You might try Leopard Flower instead. TuxGuardian hasn't been updated since 2006.

http://leopardflower.sourceforge.net/


Safety of installing Ubuntu alongside Windows

Having done this several times, I have never encountered any problems with installing Ubuntu alongside Windows.  It has always worked for me exactly as advertised.  However, I would still never do it without making sure I had backups of all my important data and documents.

As for creating new partitions and resizing them, it seems to work extremely well in the Ubuntu installation process, but if you need to move a Windows partition, I would highly recommend doing it with Windows tools; Windows doesn't generally like to be moved.


How can I install multiple versions of Firefox (4.0 and 3.6), preferably using apt

If you use ubuntu-mozilla-daily ppa from mozillateam, it won't replace your 3.6. However, you won't get stable versions. For instance, that ppa is distributing Firefox 7.0a1 now.

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get install firefox-trunk

If you want Firefox 5 Beta, use ppa:mozillateam/firefox-next.

For more info see http://www.webgapps.org/tutorials/firefox/general/installing-other-versions and the Firefox 4 Mega Thread.

If you want to test multiple versions, then check my FoxTester extension:

http://www.webgapps.org/add-ons/foxtester

https://addons.mozilla.org/en-US/firefox/addon/foxtester/


When is $TERM replaced from "dumb" to "xterm"?

The value dumb that you're seeing is probably set by systemd for LightDM (which sources .profile when you login, see /usr/sbin/lightdm-session).

The value xterm is set by GNOME Terminal, or, rather the VTE library that it uses. GNOME Terminal itself doesn't provide a way to change the setting, unlike other VTE-based terminals like XFCE Terminal. See src/pty.c:

/**
 * VtePty:term:
 *
 * The value to set for the TERM environment variable just after
 * forking.
 *
 * Since: 0.26
 */
g_object_class_install_property
        (object_class,
         PROP_TERM,
         g_param_spec_string ("term", NULL, NULL,
                              "xterm",
                              G_PARAM_READWRITE |
                              G_PARAM_STATIC_STRINGS));


How to disable password prompt for switching users in graphical session?

add user

sudo adduser -m -s /bin/bash

-m means add home directory, -s means the following is their login shell

remove user password

sudo passwd -d USERNAME

now to allow passwordless logins you need to edit a text file

pico /etc/pam.d/common-auth

OR

gedit /etc/pam.d/common-auth

AND REPLACE THE LINE

    auth    [success=1 default=ignore]      pam_unix.so nullok_secure

WITH

    auth    [success=1 default=ignore]      pam_unix.so nullok

.

.

.

To revert your change simply re-add "_secure" at the end. Or just make a backup of the original file

cp /etc/pam.d/common-auth /etc/pam.d/common-auth.BACKUP

I believe the main reason *nixers are so obnoxious about passwords is actually to protect network data moreso than physical drive data. That said there is a time and place for EVERYTHING. imo. I run apache/ircd/smtp as root because its on my old android on a sandboxed network.


Go into sound settings and check that the left/right balance is in the middle, and not completely on one side of the spectrum (in GNOME this is in System Settings>Sound>Balance).


Cannot install/enable shell extension "Vitals"

From the comments...
To install/enable the Vitals GNOME Shell extension:
In terminal do the following...
sudo apt update
sudo apt install gir1.2-gtop-2.0 lm-sensors

Go to https://extensions.gnome.org/local/ and follow the instructions to enable managing your GNOME Shell extensions. You may have to register and login at https://extensions.gnome.org/.
Go to https://extensions.gnome.org/extension/1460/vitals/ and click the ON switch to install Vitals.
Click the BLUE settings icon to adjust your Vitals preferences.


How to install Sketchup 2016 64 bit on 16.04?

found this nice tutorial
SketchUp running on Ubuntu 16.04 - Tutorial
which was pretty helpful
hope it helps


Docker: Keep a container from starting automatically

After some research, I was able to figure it out...

First, Inspect the restart policy of the container (optional) by typing

docker inspect --format '{{ .HostConfig.RestartPolicy.Name }}' 'your container name'

Second, remove the mistaken container instance by running this command...

docker rm -f 'your container name'

Third, restart the container with a different policy if needed...

docker run -d -p 80:80 -p 443:443 --restart=on-failure:10 'Your Image Name'

Fourth, reboot and the container should be gone!

Mike

More Information:

http://www.brandpending.com/blog/2014/11/21/setting-and-re-setting-the-restart-behaviour-of-a-docker-container


How to make my Ubuntu show on a Windows Workgroup

Did you add yourself to samba users?

You can try this GUI to configure it: system-config-samba

I did this to configure mine:

Preferences > Server settings > Basic: input your Workgroup

Preferences > Server settings > Security: Authentication Mode=User, Guest Account=No Guest Account

Preferences > Samba Users > Add user:

Choose a Linux account (the one Samba will use when accessing the shared files. Usually, you want to choose yourself.)
Type in a user name and a password (does not have to be a real windows account or password, its just the input that Ubuntu will ask when someone tries to access the share. It can be "aaa" / "bbb")

So, basically, sharing folders involves two different authentications: first, the one that SAMBA, via SMB protocol, asks for from anyone that tries to access a share. That's step 2 above. Then, after Samba grants that person rights to access the share, Samba itself will need OS authorization to access to the filesystem and its files (the Linux owner-group-world security model). For that, Samba uses the user selected in step 1 above. So any folder (and files) you share must be accessible, inside Linux, by the user selected.

In the Windows world it works the same: there's the share authentication and the NTFS one.

Last but not least: whatever user you select (usually yourself), make sure that it has the Share Files with the Network privilege in Administration > Users and Groups > Advanced Settings button > Privileges tab. I think Ubuntu already grants this privilege to the first user it creates, but it doesn't hurt to check it out.

Also, to share folders, I don't use this GUI, I use Nautilus:

Right-click the folder you want to share
Select "Sharing Options"
Give the share a name, and select read/write or anonymous access

Hope that works for you too!


If it is the graphics what are slow, you can also try with the proprietary Nvidia driver (which, as of now, is much faster than the open source one).

Or you can try an alternative Desktop Environment, such as XFCE (used by Xubuntu, and way faster than Unity/Gnome/KDE) or MATE.


What does the "sudo apt-get install gnome-*" command?

Use the -s option of apt to simulate the results of an apt install command without actually installing anything.

Example:

apt install -s gnome-*

Because you are not actually installing anything you don't need to preface a simulated command with sudo in order to run it.

-s, --simulate, --just-print, --dry-run, --recon, --no-act
      No action; perform a simulation of events that would occur based on
      the current system state but do not actually change the system.
      Simulations can also be executed by non-root users which might not
      have read access to all apt configuration distorting the simulation.
      A notice expressing this warning is also shown by default for
      non-root users.

The -s option of apt can be applied to any apt command such as update, upgrade, dist-upgrade, install, remove, purge, autoremove, etc.

Example:

$ apt -s autoremove
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

The -s option of apt is also useful after upgrading Ubuntu to a newer release in order to show the results of removing a package which seems to be no longer useful without actually removing that package.


Eventually, just copied the line from the default config and it all worked.


Problem with the persistence of a live CD?

It is not possible to have a live cd with persistence, a persistence file is only possible on a usb thumbdrive or external hdd. For more information:

https://help.ubuntu.com/community/LiveCD/Persistence


Why is Firefox trying to use Okular to open downloads?

Looks like your mimetypes are messed up.
Have a look at my answer here: Chromium "Show in Folder" opens in text editor If this is not what is wrong with your setup please leave a comment!


code blocks 13.12 unexpectedly turned off in Ubuntu 16.04

Sometimes, Code::Blocks-13.12 doesn't work properly in Ubuntu 16.04. I also faced similar problem in it. Maybe there is some bug which is the cause of this unexpected behaviour of Code::Blocks-13.12.
I would recommend you to install Code::Blocks-16.01 instead. It is the latest version of Code::Blocks and is much better than Code::Blocks-13.12. First you uninstall/remove Code::Blocks-13.12 using Ubuntu Software. Then you can install Code::Blocks-16.01 by typing the following commands in your terminal one-by-one :-

sudo add-apt-repository ppa:damien-moore/codeblocks-stable

sudo apt update

sudo apt install codeblocks

One helpful link you can see is given here :-
How to Install Code::Blocks IDE 16.01 in Ubuntu 16.04