Virt-Manager error to create an images qcow2 on an external HDD

No, never mind .... I answer myself :-)

I've run Virt-Manager as root, created a new VM selecting "Import existing disk image" and continued with the tasks. At the end it will asked me whether I want to fix the permission issues, clicking 'Yes' it'll fixes the permission issue.

Close it and run Virt-Manager with normal user too.


Check with

loginctl show-session -p Type

or

echo $XDG_SESSION_TYPE

or

inxi -Fxz

what environment you have running.  Any of them should show Wayland or X11.

If Wayland you need to switch to an evironment that is X11.
If it is not set you can set XDG_SESSION_TYPE to X11 and it will all work again.


cpu fan always working and the air is hot

This system has nvidia optimus techonology enabled. Nvidia driver doesn't support optimus in linux. So in linux both graphics card are on which lead to high battery consumption and overheat.

In optimus tech, the intel graphics is always on. When you use GT323M, images generated by GT323M actully transported through  intel grphics card.

options available

Turn off nvidia GT323M and use intel only. Use Nvidia card with special command only when required. Also never install nvidia-drivers alone.

Instruction for installing Bumblebee to turn off  discrete  GPU and enable only when required

Type the following in terminal,

sudo add-apt-repository ppa:bumblebee/stable

then

sudo apt-get update
To install Bumblebee using the proprietary nvidia driver:

sudo apt-get install bumblebee bumblebee-nvidia
Run following

sudo usermod -a -G bumblebee $USER
Reboot.

If you just want to disable nvidia card, no need to learn followings

Usage Instruction :

To run a program with nvidia card, use optirun command prefixed in terminal.
Like to run glxspheres with nvidia card type

optirun glxspheres

To run firefox type : optirun firefox &

Note: If you intend to run 32-bit programs like Wine and using Ubuntu 11.10 Oneiric or later, install 32-bit libraries with:

sudo apt-get install virtualgl-libs:i386 libgl1-mesa-glx:i386 libc6:i386

Linked Questions:

How well will Nvidia Optimus cards be supported in 12.04?

Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?

Can't use nvidia card/driver on optimus notebook


Command to call shutdown-restart menu on Ubuntu Budgie 17.04?


How does WSL2 ubuntu 20.04 get its IP address?

An old'ish question that seems to have been bumped today, so I'll take a stab at it.
Short answer:  init is responsible for setting up the networking (and much else)
Longer answer:
init is the "PID 1" process on all WSL (both version 1 and 2) instances.  You'll find the same init in the root of all WSL instances, with the same size and timestamp.
It is responsible for the bring-up of the instance, including:

Reading /etc/wsl.conf and configuring the instance based on the contents of that file
Setting up networking, including auto-generating /etc/resolv.conf (assuming that isn't turned off in /etc/wsl.conf
Auto-mounting all Windows drives in /mnt/driveletter (e.g. /mnt/c) (again, assuming that feature hasn't been turned off)
Determining the current user - First checked from the -u flag on wsl.exe, then falling back to the /etc/wsl.conf setting, checking the Windows Registry setting for the user for the instance, and finally falling back to root if none of the above are found.
Appending the Windows path to the Linux path (assuming it is not turned off)
Setting WSL specific environment variables in instance
Probably a few other things, including setting up Windows interoperability through a socket in /run/WSL/, so that Windows executables can be run in WSL Linux sessions.

As far as I can tell, the WSL init is both closed-source and not really documented, so I'm honestly making some conjecture here, but some of this can be picked up from searching the WSL Github Issues repo for "init".
It's also likely that init is a proxy to other processes inside of the WSL subsystem that do the heavy lifting.  For instance, WSL2 VMs will get their networking information from the Hyper-V virtual NIC, while WSL2 instances are "bridged" with the Windows NIC.  The logic for this likely lives outside init in WSL "proper", but it is called by init during instance startup.
To test out the init functioanlity, I decided to remove just about everything else possible from a WSL instance to see how far I could take it before it broke:

I cloned an Alpine WSL instance, since this is about as "bare-bones" as you can get (about 8MB for the entire instance by default) and logged into it with wsl -u root.
Inside that instance, I removed everything but the passwd/group/shadow files from /etc
Removed everything from /lib except for libc.musl and its symlink
Removed /usr, /sbin, /root, /home
That pretty much just left busybox, groups, su, and login for the base executables in the instance in /bin.  And, of course, /init.
Exited the session and did a wsl --terminate on it
Restarted the session as root

With all of that gone, and as barebones a system as possible (no net commands, no net scripts, etc.):

Login to busybox's ash shell still worked (also as the default, non-root user)
/etc/resolv.conf, /etc/hostname, and /etc/hosts were still automatically regenerated at boot.
Networking was up -- Ping by DNS worked, cat /proc/net/fib_trie returned the IP address (NAT'd, of course, as WSL2 is).
Windows drives were still auto-mounted
Windows interop (running Windows executables such as "powershell.exe") still worked
The Windows path was still appended to the Linux path.

I do wish the init process was a bit better documented, since it's such an important part of WSL.  That said, at least the "how to configure it" doc is good, even if it doesn't go into the internals.


Problem

I agree with MichaelW that it contains same lib file with same version. However, the error you got is not related that but it is packages version conflict declared in one of the packages:

$ dpkg --info Downloads/libsigc++-2.0-0v5_2.4.1-2_amd64.deb
...
 Conflicts: libsigc++-2.0-0c2a
 Replaces: libsigc++-2.0-0c2a
...

If those lines are removed, we got the error related same files overwriting, similar to this one:

Unpacking libjline-java (from .../libjline-java_1.0-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libjline-java_1.0-1_all.deb (--unpack):
 trying to overwrite '/usr/share/java/jline.jar', which is also in package scala 2.9.2-400
Errors were encountered while processing:
 /var/cache/apt/archives/libjline-java_1.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Error Source: dpkg error: "trying to overwrite file, which is also in..."

As they are compiled to same version, it is not possible to put them together neither changing name manually will help. Tools on repository had already compiled to use libsigc-2.0.so.0.

Solution

Here is an easy solution with test case.

Test case:

I looked for package the depends on same library using:

$ apt-cache rdepends libsigc++-2.0-0v5
...
  libatkmm-1.6-1v5
  inkscape
  gparted
  gnome-system-monitor
  aptitude

Verify that the contained binary really depends on it, using:

$ dpkg -L gnome-system-monitor | grep /bin/
/usr/bin/gnome-system-monitor

$ ldd `which gnome-system-monitor` | grep libsigc
    libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f9491bec000)

Instructions:

Create a folder to contain the external shared lib (the other version you are unable to install), example:

mkdir ~/Desktop/sand_box/local_so_lib_test

Extract the library fro the package

$ dpkg-deb --extract ~/Downloads/libsigc++-2.0-0c2a_2.2.10-0ubuntu2_amd64.deb /tmp/libsigc
$ cp -a /tmp/libsigc/usr/lib/x86_64-linux-gnu/* ~/Desktop/sand_box/local_so_lib_test
$ ls -l
total 20
lrwxrwxrwx 1 sneetsher sneetsher    20 Dec 12  2011 libsigc-2.0.so.0 -> libsigc-2.0.so.0.0.0
-rw-r--r-- 1 sneetsher sneetsher 18488 Dec 12  2011 libsigc-2.0.so.0.0.0

Start the special dependent tools, by setting LD_LIBRARY_PATH

$ LD_LIBRARY_PATH=~/Desktop/sand_box/local_so_lib_test gnome-system-monitor

Check:

$ LD_LIBRARY_PATH=~/Desktop/sand_box/local_so_lib_test ldd /usr/bin/gnome-system-monitor | grep libsigc
    libsigc-2.0.so.0 => /home/sneetsher/Desktop/sand_box/local_so_lib_test/libsigc-2.0.so.0 (0x00007fabbe960000)

$ LD_LIBRARY_PATH=~/Desktop/sand_box/local_so_lib_test gnome-system-monitor &
$ lsof -c "gnome-system-mo" | grep libsigc
gnome-sys 28655 sneetsher  mem       REG                8,5    18488  2752572 /home/sneetsher/Desktop/sand_box/local_so_lib_test/libsigc-2.0.so.0.0.0


captstatusui -P LBP3300 Error in `captstatusui': double free or corruption

As noted in the installation instructions you followed:

captstatusui includes an unbounded call to strcpy in cnsktmodule.c which fails with error aborted *** buffer overflow detected *** on some system

This is a bug. Please report this bug to Canon support, email: sup-debian@list.canon.co.jp


As a very simple method, you can export a .wav file from Lmms and import that file as a track (or more tracks) in Ardour.  Then set your recording to an additional track in Ardour to get the vocals.

The Lmms track can be set to play through the system speakers while recording is happening on the vocal track, and you can set multiple vocal tracks to act as 'takes', so that you can chop up bits of the vocal tracks to get what you are looking for.

A much more complicated methos would be to utilize Jack to route the sound files being played by Lmms to the inputs of Ardour, but this would result in Ardour recording the Lmms tracks and the vocal tracks at the same time.

You could get Ardour to use the VSTs, directly.  I have not done that myself...


How do I download VirtualBox on Lubuntu 13.10?

@Fischer is correct, running:

    sudo apt-get install virtualbox

Will install VirtualBox on Lubuntu as well. They are actually pulling from the same repositories.

If you ever want to search for a specific package -- and would prefer not to use the Software Center GUI -- you can use:

    apt-cache search <what_you_are_looking_for>


Ubuntu 16.04.4 startup issues in UEFI mode

Try going into the Setup (BIOS) and reset settings to the factory default and the save and exit.


It happens because ubuntu is not detecting your nvidia graphics card.
To solve this

Go to Addition Drivers in ubuntu from the Menu.
Go to Additional Drivers Tab.
Select "using NVIDIA binary driver". And then Apply.
Restart Your Computer.

If its still not fixed try using "NVIDIA legacy driver".

Incase you have just installed ubuntu,no additional driver will be displayed. Wait till ubuntu detects all the additional drivers.


I only have 1GB of ram, what can I do to improve the performance on my 32-bit 14.04 system?

Try using Xubuntu, which is an official Ubuntu derivative that uses the more lightweight Xfce desktop environment.

I did and it really works good! :)


Installing Ubuntu 14.04 from a Flash Drive Issues

I'm sorry, I don't have enough points to use comments.

Which tool did you use to make your bootable USB?

There are some options this answer:
Installing Ubuntu Desktop on Windows 7


Unable to boot to Windows 7 successfully from the first try

This question is a duplicate of GRUB2: black screen when booting Windows but cannot be closed due to bounty rules. The solution as confirmed by OP in comments is:

sudo gedit /etc/default/grub

Search for the following and change the second line to look like:

# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console

Save and exit then run:

sudo update-grub


Can I allow a standard user to execute only certain sets of command in terminal?

Create a new group, let say restricted_group:

groupadd restricted_group

Add the user (that you don't wish to to have access some commands) to restricted_group:

usermod -aG restricted_group restricted_user

Use the chgrp command to change the group of /path_to_directory_with_restricted_commands/restricted_command to restricted_group:

chgrp restricted_group /path_to_directory_with_restricted_commands/restricted_command

Finally, use the chmod command to change file permission:

chmod 750 /path_to_directory_with_restricted_commands/restricted_command

You can also apply permissions to directory:

chmod 0640 /path_to_directory_with_restricted_commands

Source: http://www.cyberciti.biz/faq/protect-command-by-configuring-linux-unix-group-permissions/


You do not really need to compile PianoBuster by your own.

It is already in the repository. Install it as simple as:

sudo add-apt-repository universe
sudo apt-get install pianobooster


What is the recommended way to chainload separate Ubuntu /boot partition

First of all, the effect I need (joining grub menu from one distribution with other) does not need chainloading; it is enough to merely re-load grub configuration with the configfile Grub 2 command in file /etc/grub.d/40_custom, like this:

menuentry "Ubuntu Precise 64 bit" {
   configfile (hd0,gpt2)/grub/grub.cfg
}

where (hd0,gpt2) is the address of the /boot partition of the other Linux (it is 2nd partition on GPT sda disk in this example).

After the edit it is important to run sudo update-grub, so the changes are propagated into /boot/grub/grub.cfg

This way one can keep elegant and error-free way of maintaining two separate Linux instalations (which might for instance share the same btrfs root partition, but on different subvolumes)


Adding the packages manually to the command line solved the problem for me.
$ sudo apt-get upgrade base-files ubuntu-server
[…]
Die folgenden NEUEN Pakete werden installiert:
  motd-news-config
Die folgenden Pakete werden aktualisiert (Upgrade):
  base-files ubuntu-server
2 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
[…]

Surprisingly, this gives two updates and one new installed package, making it three packages being updated.


Package dependency problem while installing CUDA on Ubuntu 14.04

Option 1: apt-get

Install unmet dependencies

sudo apt-get install cuda-runtime-7-0
...
<more unmet dependencies>
....
sudo apt-get install cuda-7-0

Install main package

sudo apt-get install cuda

Option 2: aptitude

Install aptitude

sudo apt-get install aptitude

Install main package

sudo aptitude install cuda


Is there any solution to do per process based traffic shaping in Ubuntu?

You can use a download manager to limit the download rate of your files, several are available for the most popular browsers.

If you want to use wget for that, the option --limit-rate=amount can be used out of the box for that purpose.

No need to do traffic shaping of sorts when the tools you use allow you to do so. No?


How I can compute power and traffic for each vm to do accounting for client?

I don't think you can compute power for individual VMs, but one way to compute power for the entire rack is to install an intelligent PDU that allows SNMP management. For a vendor specific example, see here:

http://www.dell.com/us/enterprise/p/dell-pdu

A generic description of PDUs:

http://en.wikipedia.org/wiki/Power_distribution_unit

As for MAAS cloud can you be a bit more specific like provide a URL? Most cloud products support some kind of SNMP management so you could for example enable SNMP on the interface and then run an accounting program against the SNMP statistics. One example would be PRTG with it's billing API:

http://www.paessler.com/blog/2011/01/31/prtg-8/billing-tool-for-prtg-version-10-released

We've succesfully installed this in our environment but it's quite specific and had to be customized (we needed a Web/PHP developer to get it going).

Another way to account for traffic would be to use a Netflow collector and enable Netflow on the interfaces (if MAAS Cloud supports this).


EFI/GPT system partion with bootable RAID 1 system installation

Re copying the partition, you should be able to boot into a Ubuntu Live CD/USB and clone it from there. Furthermore, you need to insert the ESP into the boot chain. For details, I wrote a detailed instruction here.


You can use the options: in your bundle.yaml to add specific config values for a specific charm.

series: trusty
services:
  testcharm:
    charm: "./trusty/testcharm"
    num_units: 1
    to:
      - "0"
    options:
      config-option: "config value"
  neo4j:
    charm: "./trusty/test_neo4j"
    num_units: 1
    to:
      - "1"
    options:
      port: "7474"
relations:
  - - "neo4j:db"
    - "testcharm:db"
machines:
  "0":
    series: trusty
    constraints: "arch=amd64 cpu-cores=1 cpu-power=100 mem=1740 root-disk=8192"
  "1":
    series: trusty
    constraints: "arch=amd64 cpu-cores=1 cpu-power=100 mem=1740 root-disk=8192"

I edited the bundle.yaml. If there was a port options in your neo4j config.yaml you can overwrite that value by using options like in the bundle above.


Should I put .htaccess rules in 000-default or httpd.conf?

Generally speaking, if your rules are about a single website (or directory), they go in .htaccess (or the site's configuration file in /etc/apache2/sites-enabled/, if it has one) and if they're about the entire server, they go higher up in the global configuration tree...

But it's really up to you. It won't make much difference.


FTP sync over SSL/TLS started by command line

weex can be used for that purpose. I could not find it using search engines but via https://packages.debian.org/sid/web/sitecopy and the "similar packages" section on the right. It is interesting that https://packages.ubuntu.com/artful/sitecopy does not mention weex!


Create zip file with password protection in Ubuntu 18.04

To create an encrypted zip file in Ubuntu 18.04, open up "Archive Manager" (file-roller), click on the top menu (labelled "Archive Manager"), and select "New Archive". Designate the name and destination for your new archive, and change to extension to .zip. Under the "Other Options" sub-menu, create a password, thereby encrypting the archive. Click "Create", then drag or select the specified files into place, and you're done.


create partitions and install Ubuntu along with mint OS after that move all your personal data from mint to Ubuntu folder once you with that you can uninstall  mint.


wget interrupted by a certificate problem

You can preconfigure your wget calls in /etc/wgetrc or for a specific user in ~/.wgetrc. Perhaps on your friend's PC one of these files contained the directive

check_certificate = on/off

Further options see https://www.gnu.org/software/wget/manual/wget.html#Startup-File


Network printer (Canon) on Ubuntu via remote USB port

Canon does provide Linux drivers for many of their printers.

What you are suggesting should work if you successfully set the printer up on your server PC, then tick the box to share the printer.


I would put this as a comment but my rep isn't high enough at the moment so I will post this as an answer/workaround that may help...

EDIT: first purge any nvidia drivers that may have been attempted by running the following command before trying the below workaround:

sudo apt-get remove --purge nvidia-*

Rather than attempting to install from the .run file what you can do is go into command line and type the following. Keep in mind that it may get you a lower version of the nvidia driver but it will still install a proprietary nvidia driver regardless.

sudo apt-get install nvidia-current

I had a major problem with the .run file at first myself when I came back to Ubuntu after so many years away from it (tried different distros in the meantime) and that appeared to work quite well for me. Good luck, and please report back with results.


django - how to change localhost from 127.0.0.1 to 127.0.0.1:8000?

Finally I found the solution:
from Wagtail Admin/Settings/Sites/Example site change the site


My nokia s40 phone is not recognised as modem to connect to internet

When you first plug in the USB cable, you'll need to select "PC Suite" in the menu that pops up:

Afterwards, the UMTS connection should appear in the network manager. Click on the networking icon, go to Edit Connections → Mobile Broadband → Add and select your phone.

It's worth a shot. Let me know if this works for you too. :)


Where I can find a summary of Ubuntu's current functionality on touch screen devices?

Within my limited knowledge, I did little search about the information that you are looking for.

Found following links:

What hardware does Ubuntu Touch support?

Detailed Review of Ubuntu Touch 14.04 with Mir display and Unity 8

Hoping that will help you.


Unable to install paper icons theme [E: Sub-process /usr/bin/dpkg returned an error code (1)] 18.04.3 XFCE

It looks like you got conflict between paper-cursor-theme and paper-icon-theme packages.

The ppa:snwh/ppa PPA description contains the info that cursors and icons are provided with it:

  This PPA contains packages for the projects
      from snwh.org (by Sam Hewitt) including:
  ...
  - Paper icon and cursor themes
  ...

So to resolve the conflict you need to remove paper-cursor-theme package with:

sudo apt-get remove paper-cursor-theme

and then install paper-icon-theme with:

sudo apt-get install paper-icon-theme


Ubuntu Server 12.04 Apache httpd 2.2.22 mod_rewrite not working

I used

RewriteEngine on
RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

RewriteRule ^([\w.]+)/?$ index.php?a=$1 [L,QSA]
RewriteRule ^(\w+)/([\w.]+)/?$ index.php?a=$1&b=$2 [L,QSA]
RewriteRule ^(\w+)/(\w+)/([\w.]+)/?$ index.php?a=$1&b=$2&c=$3 [L,QSA]

As well as made sure my firewall (IPTables-based) was actually forwarding to the correct (new) webserver.

Thanks everyone! :)


12.04 is an excellent way to get started. It has been around so it is working well and it still has over 2 years of life (updates).

Make a usb drive it's faster than a disk. Get the iso from here http://releases.ubuntu.com/

The operating system you have on the laptop now might give you trouble when trying to install Ubuntu. If you have Win7 great no problems, you can dual boot (have both) or erase Win7 and just have Ubuntu. If you have Windows 8 then you might have trouble. Here is a guide from Ubuntu https://help.ubuntu.com/community/UEFI

I have found the easiest way is to completely erase the drive and partitions. Then it was easy to install Ubuntu, and fun to delete windows.


Laptop has no Wifi connection on boot, also disconnects when suspending

Check that you've got the configuration to connect automatically:

Right click on the Network manager icon
Click on 'edit connections' in the drop-down menu
Click on the 'Wireless' Tab
Select your connection and click the 'edit' button
Up the top left click on 'Connect automatically' and down the bottom left click 'available to all users'

If this doesn't work then it seems there may be a problem with Network Manager and the configuration.  You could try removing Network manager and the configuration completely and re-install

sudo apt-get purge network-manager
sudo apt-get install network-manager

Note that you will have re-configure the connection afterwards.  To re-install you will need a wired connection to plug into so that it can download and install network manager.  I'm not sure, but when you remove network-manager it will most probably stop all related services and disconnect from the network.


How do you remove Chrome and references to MyWay

I have Ubuntu 14.04.  I seem to have rid Chrome of Myway by
setting Google as my default search engine and deleting all other search options.  Now when I open another Chrome tab I see a Google search argument window.  Myway is gone.


Logitech webcam mic/combo doesn't work, only webcam no mic

I fixed it! It is a temp-fix tho! still looking for answeres:
For future ppl with the same issue: You have to build the linux kernel by urself. I Used this guide: https://www.cyberciti.biz/tips/compiling-linux-kernel-26.html
:)
Edit: I have plugged in a old usb condenser mic, which gets detected on boot, but not my webcam's. trick is to replug the webcam and voila, it is detected! i think the usb mic is forcing snd_usb_audio to start and thus loading my webcam later


11.10 and newer
The DVD contains extra software:

The new DVD image is an extension of our current CD image to include all the language packs and some other useful applications, such as Inkscape, GIMP, Pitivi, and a more complete LibreOffice suite. All the packages that used to be on the DVD are still available from the archive.

The list of extra packages is available in this seed file, and here's the full manifest.
Here are some of the major packages that are probably the most interesting for end users, (there are many more listed in the file so here are the highlights):
More drivers:

NVIDIA and ATI Drivers
bcmwl-kernel-source

Extra desktop Packages:

XChat GNOME (IRC client)
More complete LibreOffice suite
nautilus-gksu
GIMP (Image editor)
Inkscape (Vector image editor)
vim-tiny and vim-gnome (Text editor)
Liferea (RSS reader)
Pitivi (Video editor)
openprinting-ppds-extra (More PPDs for more printer support)
Screem (HTML editor)
Iced Tea plugin (Java)

Other:

Flac command line tools
More dictionaries
A bunch of documentation packages (monodoc, ubuntu-faqguide, basic HOWTOs from LDP, GIMP manuals)
The following language packs: en es xh pt de fr
Localization files and fonts

More about seeds here:

https://wiki.ubuntu.com/SeedManagement


Settings menu in Ubuntu 17.10 is obliterated

First check whether Settings (aka gnome-control-center) is installed. You may run

apt-cache policy gnome-control-center

If the output contains Installed: (none) install gnome-control-center by running

sudo apt install gnome-control-center

Otherwise this package may be corrupted. In that case purge gnome-control-center first and reinstall again.


So what seems to happen is that this script:

#!/bin/sh
case "${1}" in
    resume|thaw)
    nmcli nm sleep false
            ;;
esac

Sometimes executes directly upon logging in and sometimes only after half a minute after logging in again. So I'll just leave it at that and consider the issue fixed for the time being. If there is a way to make the script execute faster I'll try to find it and post it here.


How to install kompozer on xubuntu after downloading

well If you googled , you would have got this in first place. Any way here you go.

sudo apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0  libidl0 libnspr4 libnss3 libpango1.0-0 libpng12-0 libstdc++6 libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g

For 32bit systems:

wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8%7Eb3.dfsg.1-0.1ubuntu2_all.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8%7Eb3.dfsg.1-0.1ubuntu2_i386.deb
sudo dpkg -i kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb
sudo dpkg -i kompozer_0.8~b3.dfsg.1-0.1ubuntu2_i386.deb

for 64bit systems:

wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8%7Eb3.dfsg.1-0.1ubuntu2_all.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8%7Eb3.dfsg.1-0.1ubuntu2_amd64.deb
sudo dpkg -i kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb
sudo dpkg -i kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.deb

credit goes to Ubuntu Doc


Ubuntu on 2013 iMac 27" with Fusion Drive?

I'm running the new MacBook Pro with a multi-boot of Mountain Lion, Ubuntu 12.04, and Windows 7. Not exactly the same deal, but my machine works amazing otherwise.


I figured it out. I had xfce4-notifyd installed so a quick sudo apt-get purge xfce4-notifyd solved the problem.


Akonadi: How to deactivate push-IMAP (IMAP IDLE connections)

There is an option to check mail periodically rather than using IMAP idle.
Settings -> Configure KMail -> Accounts -> Click on your account -> "Enable interval mail checking"


Ubuntu 18 2nd monitor detected but no signal with vga-to-dvi adapter and AMD graphics card

I fixed this by reverting to the previous kernel version (4.15.0-36 -> 4.4.0-93) as per these instructions. I'm still not sure exactly what the problem was, but now my second monitor is being picked up as DVI-I so I guess the kernel update made it misidentify that connection as DVI-D?


Ubuntu Phone prevent text messages from lock screen

It is in System Settings -> Security & Privacy -> Lock Phone -> Notifications and quick settings.


Google Chrome keeps crashing in Ubuntu 18.04. Here is the error

The reason is that you are running Chrome with sudo. Browsers are not supposet to be run as root.


X-AIR Edit App not working - UbuntuStudio 19.10

I am currently having the same issue on Manjaro.

But I have switched to another VT. I started the program with the following command(I was on TTY5):

xinit ./X-AIR-EDIT -- :1 vt5

It started, and I was able to move faders, click mutes, etc.
I am not sure what does this prove though. Is this something XFCE related?


Interesting! I'd like to look into this: can you describe briefly what you like about appradio?


If you just ran make, then it is ok to just delete the folder...


Recommended testing tools to test MySQL performance?

Take a look at mysqltuner.pl  which can be found here


Create option to load Ubuntu or Windows 7 at start-up

Boot into ubuntu with your usb-stick and then bring up a terminal window and run:

sudo grub-install /dev/sda

(Assuming your boot device is /dev/sda, of course -- substitute this with a different device name if your boot disk isn't sda.)

Then, to build the menu for booting, run:

sudo update-grub

Before doing any of this, make sure that you have a way to boot into Windows from a USB disk, in case something screws up.


Where do I find llvm for compiling Qt documentation

A note in the documentation states that debian users will find the directory here:

Debian allows parallel installs of libclang-<version>-dev in /usr/lib/llvm-<version> so LLVM_INSTALL_DIR should be /usr/lib/llvm-<version> to build qdoc. Not /usr/llvm.

https://wiki.qt.io/Building_Qt_5_from_Git
It applies to myself as well. I went ahead and set an environment variable of my terminal
➜ echo $LLVM_INSTALL_DIR
/usr/lib/llvm-11

And now I am able to build Qt with documentation.


I have a similar problem.. I bought a second hand nexus . The screen has a very small scratch maybe caused by a fall.. This has disable a part of the screen and makes UT hard to use. The same problem with android.. I could understand it by opening a drawing app and trying to draw with my finger on all the screen.
A big part of it is disable.
Solution replace the digitaizer.
Many will tell you that is quite impossibile to change only the digitizer but better replace digitizer + lcd.
Another cheap but not full solution is to put your phone in the frizzer for 5 or 10 minutes..
Good luck


Is there anything to read and hand-annotate a pdf like on paper on a touchscreen with stylus?

Xournal++ is a feature-rich hand note-taking software:

Xournal++ is an cross-platform, open source, hand note-taking software
with the target of flexibility, functionality, and speed. It is a
modern rewrite and more feature-rich version of the wonderful Xournal
program.
Features:

Pressure-sensitive styluses and digital pen tablets (e.g. Wacom, Huion, XP Pen, etc. tablets).
Plugins support via the Lua programming language.
Customizeable toolbar, with multiple configurations, e.g. to optimize toolbar for portrait / landscape.
"Paper" backgrounds for notetaking, scratch paper, or whiteboarding.
Different pen types (e.g. eraser, highlighter) and stroke styles (e.g. solid, dotted).
Different shapes, such as lines, arrow, circle, rectangle, splines.
Shape resizing and rotation.
LaTeX support (requires a working LaTeX install).
Multiple "layers" for easier control over overlapping notes and strokes.
Sidebar with page previews and PDF Bookmarks.
Audio recording and playback alongside with handwritten notes.
Rotation and grid snapping.
Annotate on top of PDFs.
Export to a variety of formats including SVG, PNG, and PDF.
Multi language support (over 20 languages supported, with more added by the community!).

More info: https://xournalpp.github.io/

Xournal++ is also available from the snap store. You can install it like so:
sudo snap install xournalpp

It allows you to customize toolbars from the view menu so you can have a simple interface like this in the full screen mode:

Or even simpler custom interface by dragging and dropping adding / removing tools like so:

So that you only have the tools you need like so:


Why does LD_LIBRARY_PATH only works in ~/Desktop/?

You can add explicit path in LD_LIBRARY_PATH like this:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/me/Desktop/app/lib

(use example path to the library)

Also you can add this in your .bash_profile

Also you can create softlink in /usr/lib to your library


How to list boot to Windows and Ubuntu, Can't boot to Windows after installing Ubuntu on external drive

Just install rEFInd boot manager package:

sudo apt install refind

and automatically install the boot manager on the ESP/EFI partition:

sudo refind-install

or custom (like on a USB stick partition):

sudo refind-install --usedefault "/dev/sdX1" # X1 = example: /dev/sdb1

and reboot and it boots up auto-discovering all bootable partitions on all drives.

Another tip is to press F12 during startup to open up a bootmenu.

Troubleshoot? Boot a live stick like Ubuntu 18.04. Download and write to a USB stick:

dd if=Downloads/ubuntu-18.04.1-desktop-amd64.iso of=/dev/sdx
bs=$((1024**2)) /dev/sdx

/dev/sdx being your destination drive like /dev/sdb or /dev/sdc.

Use gnome-disks to open up all your ESP/EFI partitions and check the subdir structure type in terminal:

find \`mount | grep vfat | sort | head -1 | awk '{ print $3 }'\`

which could/should look something like:

/media/ron/DB9A-B328/ /media/ron/DB9A-B328/EFI
/media/ron/DB9A-B328/EFI/ubuntu /media/ron/DB9A-B328/EFI/ubuntu/fw
/media/ron/DB9A-B328/EFI/ubuntu/fwupx64.efi
/media/ron/DB9A-B328/EFI/ubuntu/grubx64.efi
/media/ron/DB9A-B328/EFI/ubuntu/grub.cfg
/media/ron/DB9A-B328/EFI/ubuntu/shimx64.efi
/media/ron/DB9A-B328/EFI/ubuntu/mmx64.efi
/media/ron/DB9A-B328/EFI/ubuntu/BOOTX64.CSV
/media/ron/DB9A-B328/EFI/BOOT
/media/ron/DB9A-B328/EFI/BOOT/BOOTX64.EFI
/media/ron/DB9A-B328/EFI/BOOT/fbx64.efi
/media/ron/DB9A-B328/EFI/BOOT/drivers_x64
/media/ron/DB9A-B328/EFI/BOOT/drivers_x64/ext4_x64.efi
/media/ron/DB9A-B328/EFI/BOOT/icons
/media/ron/DB9A-B328/EFI/BOOT/icons/README
/media/ron/DB9A-B328/EFI/BOOT/icons/arrow_left.png
/media/ron/DB9A-B328/EFI/BOOT/icons/arrow_right.png
/media/ron/DB9A-B328/EFI/BOOT/icons/boot_linux.png
/media/ron/DB9A-B328/EFI/BOOT/icons/boot_win.png
/media/ron/DB9A-B328/EFI/BOOT/icons/func_about.png
/media/ron/DB9A-B328/EFI/BOOT/icons/func_csr_rotate.png
/media/ron/DB9A-B328/EFI/BOOT/icons/func_exit.png
/media/ron/DB9A-B328/EFI/BOOT/icons/func_firmware.png
/media/ron/DB9A-B328/EFI/BOOT/icons/func_hidden.png
/media/ron/DB9A-B328/EFI/BOOT/icons/func_reset.png
/media/ron/DB9A-B328/EFI/BOOT/icons/func_shutdown.png
/media/ron/DB9A-B328/EFI/BOOT/icons/mouse.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_arch.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_centos.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_chakra.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_chrome.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_clover.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_crunchbang.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_debian.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_devuan.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_elementary.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_fedora.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_freebsd.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_frugalware.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_gentoo.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_gummiboot.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_haiku.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_hwtest.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_kubuntu.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_legacy.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_linux.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_linuxmint.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_lubuntu.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_mac.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_mageia.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_mandriva.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_netbsd.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_network.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_opensuse.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_redhat.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_refind.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_refit.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_slackware.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_suse.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_trusty.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_ubuntu.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_unknown.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_win.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_win8.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_xenial.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_xubuntu.png
/media/ron/DB9A-B328/EFI/BOOT/icons/os_zesty.png
/media/ron/DB9A-B328/EFI/BOOT/icons/tool_apple_rescue.png
/media/ron/DB9A-B328/EFI/BOOT/icons/tool_fwupdate.png
/media/ron/DB9A-B328/EFI/BOOT/icons/tool_memtest.png
/media/ron/DB9A-B328/EFI/BOOT/icons/tool_mok_tool.png
/media/ron/DB9A-B328/EFI/BOOT/icons/tool_netboot.png
/media/ron/DB9A-B328/EFI/BOOT/icons/tool_part.png
/media/ron/DB9A-B328/EFI/BOOT/icons/tool_rescue.png
/media/ron/DB9A-B328/EFI/BOOT/icons/tool_shell.png
/media/ron/DB9A-B328/EFI/BOOT/icons/tool_windows_rescue.png
/media/ron/DB9A-B328/EFI/BOOT/icons/transparent.png
/media/ron/DB9A-B328/EFI/BOOT/icons/vol_external.png
/media/ron/DB9A-B328/EFI/BOOT/icons/vol_internal.png
/media/ron/DB9A-B328/EFI/BOOT/icons/vol_net.png
/media/ron/DB9A-B328/EFI/BOOT/icons/vol_optical.png
/media/ron/DB9A-B328/EFI/BOOT/keys
/media/ron/DB9A-B328/EFI/BOOT/keys/altlinux.cer
/media/ron/DB9A-B328/EFI/BOOT/keys/canonical-uefi-ca.der
/media/ron/DB9A-B328/EFI/BOOT/keys/centos.cer
/media/ron/DB9A-B328/EFI/BOOT/keys/fedora-ca.cer
/media/ron/DB9A-B328/EFI/BOOT/keys/microsoft-kekca-public.der
/media/ron/DB9A-B328/EFI/BOOT/keys/microsoft-pca-public.der
/media/ron/DB9A-B328/EFI/BOOT/keys/microsoft-uefica-public.der
/media/ron/DB9A-B328/EFI/BOOT/keys/openSUSE-UEFI-CA-Certificate-4096.cer
/media/ron/DB9A-B328/EFI/BOOT/keys/openSUSE-UEFI-CA-Certificate.cer
/media/ron/DB9A-B328/EFI/BOOT/keys/refind.cer
/media/ron/DB9A-B328/EFI/BOOT/keys/refind_local.cer
/media/ron/DB9A-B328/EFI/BOOT/keys/SLES-UEFI-CA-Certificate.cer
/media/ron/DB9A-B328/EFI/BOOT/refind.conf
/media/ron/DB9A-B328/EFI/BOOT/BOOT.CSV /media/ron/DB9A-B328/EFI/refind
/media/ron/DB9A-B328/EFI/refind/refind_x64.efi
/media/ron/DB9A-B328/EFI/refind/drivers_x64
/media/ron/DB9A-B328/EFI/refind/drivers_x64/ext4_x64.efi
/media/ron/DB9A-B328/EFI/refind/keys
/media/ron/DB9A-B328/EFI/refind/keys/refind_local.cer
/media/ron/DB9A-B328/EFI/refind/keys/refind_local.crt
/media/ron/DB9A-B328/EFI/refind/keys/altlinux.cer
/media/ron/DB9A-B328/EFI/refind/keys/canonical-uefi-ca.der
/media/ron/DB9A-B328/EFI/refind/keys/centos.cer
/media/ron/DB9A-B328/EFI/refind/keys/fedora-ca.cer
/media/ron/DB9A-B328/EFI/refind/keys/microsoft-kekca-public.der
/media/ron/DB9A-B328/EFI/refind/keys/microsoft-pca-public.der
/media/ron/DB9A-B328/EFI/refind/keys/microsoft-uefica-public.der
/media/ron/DB9A-B328/EFI/refind/keys/openSUSE-UEFI-CA-Certificate-4096.cer
/media/ron/DB9A-B328/EFI/refind/keys/openSUSE-UEFI-CA-Certificate.cer
/media/ron/DB9A-B328/EFI/refind/keys/refind.cer
/media/ron/DB9A-B328/EFI/refind/keys/SLES-UEFI-CA-Certificate.cer
/media/ron/DB9A-B328/EFI/refind/icons
/media/ron/DB9A-B328/EFI/refind/icons/README
/media/ron/DB9A-B328/EFI/refind/icons/arrow_left.png
/media/ron/DB9A-B328/EFI/refind/icons/arrow_right.png
/media/ron/DB9A-B328/EFI/refind/icons/boot_linux.png
/media/ron/DB9A-B328/EFI/refind/icons/boot_win.png
/media/ron/DB9A-B328/EFI/refind/icons/func_about.png
/media/ron/DB9A-B328/EFI/refind/icons/func_csr_rotate.png
/media/ron/DB9A-B328/EFI/refind/icons/func_exit.png
/media/ron/DB9A-B328/EFI/refind/icons/func_firmware.png
/media/ron/DB9A-B328/EFI/refind/icons/func_hidden.png
/media/ron/DB9A-B328/EFI/refind/icons/func_reset.png
/media/ron/DB9A-B328/EFI/refind/icons/func_shutdown.png
/media/ron/DB9A-B328/EFI/refind/icons/mouse.png
/media/ron/DB9A-B328/EFI/refind/icons/os_arch.png
/media/ron/DB9A-B328/EFI/refind/icons/os_centos.png
/media/ron/DB9A-B328/EFI/refind/icons/os_chakra.png
/media/ron/DB9A-B328/EFI/refind/icons/os_chrome.png
/media/ron/DB9A-B328/EFI/refind/icons/os_clover.png
/media/ron/DB9A-B328/EFI/refind/icons/os_crunchbang.png
/media/ron/DB9A-B328/EFI/refind/icons/os_debian.png
/media/ron/DB9A-B328/EFI/refind/icons/os_devuan.png
/media/ron/DB9A-B328/EFI/refind/icons/os_elementary.png
/media/ron/DB9A-B328/EFI/refind/icons/os_fedora.png
/media/ron/DB9A-B328/EFI/refind/icons/os_freebsd.png
/media/ron/DB9A-B328/EFI/refind/icons/os_frugalware.png
/media/ron/DB9A-B328/EFI/refind/icons/os_gentoo.png
/media/ron/DB9A-B328/EFI/refind/icons/os_gummiboot.png
/media/ron/DB9A-B328/EFI/refind/icons/os_haiku.png
/media/ron/DB9A-B328/EFI/refind/icons/os_hwtest.png
/media/ron/DB9A-B328/EFI/refind/icons/os_kubuntu.png
/media/ron/DB9A-B328/EFI/refind/icons/os_legacy.png
/media/ron/DB9A-B328/EFI/refind/icons/os_linux.png
/media/ron/DB9A-B328/EFI/refind/icons/os_linuxmint.png
/media/ron/DB9A-B328/EFI/refind/icons/os_lubuntu.png
/media/ron/DB9A-B328/EFI/refind/icons/os_mac.png
/media/ron/DB9A-B328/EFI/refind/icons/os_mageia.png
/media/ron/DB9A-B328/EFI/refind/icons/os_mandriva.png
/media/ron/DB9A-B328/EFI/refind/icons/os_netbsd.png
/media/ron/DB9A-B328/EFI/refind/icons/os_network.png
/media/ron/DB9A-B328/EFI/refind/icons/os_opensuse.png
/media/ron/DB9A-B328/EFI/refind/icons/os_redhat.png
/media/ron/DB9A-B328/EFI/refind/icons/os_refind.png
/media/ron/DB9A-B328/EFI/refind/icons/os_refit.png
/media/ron/DB9A-B328/EFI/refind/icons/os_slackware.png
/media/ron/DB9A-B328/EFI/refind/icons/os_suse.png
/media/ron/DB9A-B328/EFI/refind/icons/os_trusty.png
/media/ron/DB9A-B328/EFI/refind/icons/os_ubuntu.png
/media/ron/DB9A-B328/EFI/refind/icons/os_unknown.png
/media/ron/DB9A-B328/EFI/refind/icons/os_win.png
/media/ron/DB9A-B328/EFI/refind/icons/os_win8.png
/media/ron/DB9A-B328/EFI/refind/icons/os_xenial.png
/media/ron/DB9A-B328/EFI/refind/icons/os_xubuntu.png
/media/ron/DB9A-B328/EFI/refind/icons/os_zesty.png
/media/ron/DB9A-B328/EFI/refind/icons/tool_apple_rescue.png
/media/ron/DB9A-B328/EFI/refind/icons/tool_fwupdate.png
/media/ron/DB9A-B328/EFI/refind/icons/tool_memtest.png
/media/ron/DB9A-B328/EFI/refind/icons/tool_mok_tool.png
/media/ron/DB9A-B328/EFI/refind/icons/tool_netboot.png
/media/ron/DB9A-B328/EFI/refind/icons/tool_part.png
/media/ron/DB9A-B328/EFI/refind/icons/tool_rescue.png
/media/ron/DB9A-B328/EFI/refind/icons/tool_shell.png
/media/ron/DB9A-B328/EFI/refind/icons/tool_windows_rescue.png
/media/ron/DB9A-B328/EFI/refind/icons/transparent.png
/media/ron/DB9A-B328/EFI/refind/icons/vol_external.png
/media/ron/DB9A-B328/EFI/refind/icons/vol_internal.png
/media/ron/DB9A-B328/EFI/refind/icons/vol_net.png
/media/ron/DB9A-B328/EFI/refind/icons/vol_optical.png
/media/ron/DB9A-B328/EFI/refind/refind.conf
/media/ron/DB9A-B328/EFI/refind/BOOT.CSV
/media/ron/DB9A-B328/EFI/refind/icons-backup
/media/ron/DB9A-B328/EFI/refind/icons-backup/README
/media/ron/DB9A-B328/EFI/refind/icons-backup/arrow_left.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/arrow_right.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/boot_linux.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/boot_win.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/func_about.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/func_csr_rotate.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/func_exit.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/func_firmware.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/func_hidden.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/func_reset.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/func_shutdown.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/mouse.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_arch.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_centos.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_chakra.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_chrome.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_clover.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_crunchbang.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_debian.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_devuan.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_elementary.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_fedora.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_freebsd.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_frugalware.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_gentoo.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_gummiboot.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_haiku.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_hwtest.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_kubuntu.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_legacy.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_linux.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_linuxmint.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_lubuntu.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_mac.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_mageia.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_mandriva.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_netbsd.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_network.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_opensuse.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_redhat.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_refind.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_refit.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_slackware.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_suse.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_trusty.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_ubuntu.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_unknown.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_win.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_win8.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_xenial.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_xubuntu.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/os_zesty.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/tool_apple_rescue.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/tool_fwupdate.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/tool_memtest.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/tool_mok_tool.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/tool_netboot.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/tool_part.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/tool_rescue.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/tool_shell.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/tool_windows_rescue.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/transparent.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/vol_external.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/vol_internal.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/vol_net.png
/media/ron/DB9A-B328/EFI/refind/icons-backup/vol_optical.png
/media/ron/DB9A-B328/EFI/refind/refind.conf-sample
/media/ron/DB9A-B328/EFI/tools

The above refind subdir structure is because I installed rEFInd.


Ubuntu upgrade to 11.04 from 10.10 no options

For the wireless, remove the broadcom driver source (in synaptic), and install fireware-b43-installer.


Sublime Text 3 - show whitespace charcters

To get your settings picked by sublime you have to edit the Packages/User/Preferences.sublime-settings file.

To access go to:

preferences > settings

The files will open into a split form with default settings which are unalterable on the left of sublime text, and the editable user settings on the right. Now add your settings there:

{
    "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
    "font_size": 10,
    "ignored_packages":
[
    "Vintage"
],
    "save_on_focus_lost": true,
    "draw_white_space": "all"
}

This will override the default settings version of this option.


Is there a VNC client that supports the default encryption used by vino

Not yet verified:
The enhanced TightVNC viewer should be able to do it.
http://www.karlrunge.com/x11vnc/ssvnc.html

More details to this issue can be found here
https://bugs.launchpad.net/ubuntu/+source/vino/+bug/1281250

There was also a hint for android users.


How do I change the boot order for Ubuntu?

You have to change the boot order in /etc/default/grub as root with nano or other text editor:

'sudo nano /etc/default/grub'
Find the line GRUB_DEFAULT=0 and change to GRUB_DEFAULT=saved
Update grub 'sudo update-grub'
Check your grub menu while booting. Probably Windows is at number 3 or 4
Since, grub menu numbering starts with Zero, so, number 3 is number 2(0,1,2), similarly number 4 is actually number 3(0,1,2,3)
To set the default os on boot, issue 'sudo grub-set-default N' (N is the number corresponding the preferred OS)

That's it. Sorry for the ill formatted response, typing on phone.


tv tuner will ubuntu install in place of windows media centre

If I'm not mistaken, you want to know whether some special hardware will be usable in Ubuntu. You could search for the product name and then search the internet for any reviews but there is an easier way.

If you burn a Ubuntu installation CD, you can use it not only to install Ubuntu, but also for trying it out without touching your installed system. Then you can just install some TV Software from the Ubuntu Software Center and see if it works.

If you can't use the TV Card immediately, that doesn't say that it's completely unusable with Ubuntu, but it would take some time to get it working.


Ubuntu Unity 16.04 Ctrl-Alt-T spawns terminal with lag

Finally, got it working by altering entry "SSH Key Agent" in Startup Applications to "/usr/bin/gnome-keyring-daemon --start --replace --foreground --components=ssh"

The discussion is here https://plus.google.com/+SamXu/posts/WNCf3cirGUG


Using libvirt with qemu://system right after install

The reason for the issues above is that two things are missing in your current shell (or script) right after install.

you lack the membership in the libvirt group. That membership is auto-added for all members of the wheel (who can run sudo) group, but isn't active until you log in (again) so that you pick up that group
The default URI can change (e.g. upstream), Ubuntu opted for users to stay as they are used to be by exporting 'LIBVIRT_DEFAULT_URI=qemu:///system' but that is done in a profile.d element at '/etc/profile.d/libvirt-uri.sh' which again is only picked up at a new login.

Messing with the users login as package install time was discussed, but discarded for having too much potential to break things for something that fortunately is a corner case. But if you want to e.g. in one script install libvirt and use it you need some minor adaptions to be able to do so.

export LIBVIRT_DEFAULT_URI=qemu:///system
sg libvirt -c virsh <...>

Thanks @marosg for the discussion about this!


You can fix this by increasing the number of open files.

Update /etc/security/limits.conf

* hard nofile 65535
* soft nofile 65535


Adding a tab and newline to my terminal prompt

According to the Bash manual there is no code for a horizontal tab, and \t displays the current time.

However, you can insert an arbitrary character into your prompt string by using \xxx where xxx is the octal ASCII code of the character. There is a Tab character for a horizontal tab, and its ASCII decimal code is 9. So you can get a horizontal tab in the prompt by inserting \011 (being the octal value of decimal 9) into your sequence.


How does the ubuntu Live CD check itself for defects?

There is a md5sum.txt file in the root of Ubuntu Live DVD. This file contains MD5 hashes of almost every file on the DVD. Installer just check all files listed in md5sum.txt with their MD5 hashes.


In order to redeem my reputation, I did some more research and tried a few things with my server. After doing the following I no longer get the error message and my server seems to be behaving normally. I used this page SystemdForUpstartUsers for guidance.

What it did I have not clue, but it seems to work. I have a feeling that Upstart and Systemd are conflicting. With forcing to install Systemd, Upstart is removed.

apt-get --force-yes install systemd-sysv ubuntu-standard
update-initramfs -u

here is my output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ubuntu-minimal upstart ureadahead
The following NEW packages will be installed:
  systemd-sysv ubuntu-standard
0 upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
Need to get 8,548 B/11.4 kB of archives.
After this operation, 723 kB disk space will be freed.
Do you want to continue? [Y/n]
WARNING: The following packages cannot be authenticated!
  systemd-sysv ubuntu-standard
Install these packages without verification? [y/N] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ utopic-updates/universe systemd-sysv amd64 208-8ubuntu8.2 [8,548 B]
Fetched 8,548 B in 4s (2,042 B/s)
(Reading database ... 132103 files and directories currently installed.)
Removing ubuntu-minimal (1.327) ...
Removing ureadahead (0.100.0-16) ...
dpkg: upstart: dependency problems, but removing anyway as you requested:
 friendly-recovery depends on upstart | systemd-sysv; however:
  Package upstart is to be removed.
  Package systemd-sysv is not installed.

Removing upstart (1.13.2-0ubuntu2) ...
Processing triggers for man-db (2.7.0.2-2) ...
Selecting previously unselected package systemd-sysv.
(Reading database ... 132056 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_208-8ubuntu8.2_amd64.deb ...
Unpacking systemd-sysv (208-8ubuntu8.2) ...
Selecting previously unselected package ubuntu-standard.
Preparing to unpack .../ubuntu-standard_1.327_amd64.deb ...
Unpacking ubuntu-standard (1.327) ...
Processing triggers for man-db (2.7.0.2-2) ...

Hope this helps somebody.


Why can't I install google-chrome-stable with a script?

Try this.

cd /tmp
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb

If you get errors, use sudo apt-get -f install


"CRON: Module is unknown" after upgrading to 10.04

This is a bug caused by a security update.

The solution is to restart cron: sudo service cron restart

Do an upgrade, a fix is already available.


Can someone help me set up dual boot Win7 and Ubuntu

Veracrypt/Truecrypt replaces the boot loader when you tell it to set up full disk encryption in Windows. This erases Ubuntu's boot loader Grub. It would be easy to restore the boot loader with a live system but that will in turn erase Veracrypt's/Truecrypt's boot loader and may render the encrypted Windows file systems unbootable and potentially inaccessible (unlikely but possible; see the recommendation below for more).

I recommend that you

either install Veracrypt for Linux in your live system and try to decrypt and mount the encrypted volumes without Veracrypt's boot loader to verify that you won't loose your data when you restore Grub
or, if you have a second internal drive, install Grub into the boot sector of that drive which, as a side effect, should allow you to "chain-boot" any other boot loaders on other drives or partitions.


Video playback causes Xorg Segmentation fault then Logout

I'm having the same problem. Worked around it by disabling video acceleration on VLC.


Can't boot Ubuntu Server on Dell PowerEdge R710 + RAID10 (PERC 6/i)

Can you boot ubuntu from installation usb then from terminal run
sudo grub-install /dev/sda

and then
 sudo update-grub


linux system both on /dev/sda and /dev/sdb

You've got two disk on your server, and the Ubuntu has been installed on the first partition of the second disk: /dev/sdb1.

The word "Linux" which you see in front of /dev/sda1 is just the type of partition:

  /dev/sda1   *        2048   366137343   183067648   83  ***Linux***

It doesn't have anything to do with which type of operating system has been installed on that specific partition, it might be empty or even haven't been formatted at all.

What I can suggest is to use a tool like rsync to move (clone) your root file system on /dev/sda1, there are different guide to do this:

Easiest way to move a Linux setup to another partition?
how to copy entire linux root filesystem to new hard drive on with ssh and tar
How to move Linux to another partition?


How can I find out which cards are supported by the fglrx driver?

Here's the link I found from the unofficial AMD Linux community.

Here's the list on Wikipedia.

You can also search about your driver on the AMD website, see if works for Linux.

The unofficial AMD Linux community hasn't provided an installation tutorial on Trusty Tahr yet. I'm kind of itchy about trying the 13.10 installation method.

From my own experience with Precise and Saucy, the current release 13.12 didn't work very well on both platform but the 14.3 beta worked sort of fine for me, but still caused some crashes when I was using VLC. After I switched to Trusty Tahr, the CPU fan is very quiet and the laptop isn't hot as fire without the Catalyst driver, unlike the previous releases.

I am using a DELL INSPIRON N5010 laptop and running on the Mobility Radeon HD5650 graphic card, for your information.


This happens if pcmanfm does not draw the desktop and then you try to open desktop prefrences when pcmanfm does not draw the desktop. If you changed some things in defualt applicatinos for lxsession you could make it so pcmanfm does not draw a wallpaper or you kill pcmanfm.

You can start pcmanfm in the background to draw the desktop with pcmanfm --desktop & from a terminal. Then since pcmanfm is drawing the desktop you can select desktop preferences. Then to make sure that desktop prefrences will work when you start up make sure default apps for lxsession has pcmanfm as the default manager in the launching applications and on the core applications to filemanager to have pcmanfm draw the desktop. For more refrence see  tab http://manpages.ubuntu.com/manpages/trusty/man1/pcmanfm.1.html


How to fix following error:

  Job for tomcat8.service failed because the control process exited with
  error code. See "systemctl status tomcat8.service" and "journalctl
  -xe" for details. invoke-rc.d: initscript tomcat8, action "start" failed.

$ sudo nano /etc/default/tomcat8

Set JAVA_HOME -> e.g. JAVA_HOME=/usr/lib/jvm/java-8-oracle

In my case:

JAVA_HOME=/usr/local/java/jdk1.8.0_151

If you do not have a clue about the JAVA_HOME constant:

 echo $JAVA_HOME

Thanks to @alexislucena @https://gist.github.com/alexislucena/89a046dc747123faf4496fb946c1fe79

The problem for me was that I replaced the openJDK that came with LinuxMint with the official JDK from oracle (installed new java jdk) and obviously tomcat is configured to use the default JDK - so the solution is to configure tomcat to use the new jdk.


This is more of a guess based on common sense and past experience.

ata4: limiting SATA link speed to 1.5 Gbps

If you're expecting a 3 or 6 Gbps link, this could indicate a broken cable/connector or severe radio interference.

Furthermore, (ATA bus error) also indicates in this direction.

It could also indicate that one of the endpoint is failing on the (S)ATA bus transmission. Read this as: hard drive or controller failure is imminent or has already failed.

I see these options from here:

Verify that AHCI is chosen in the BIOS setup. Deselect any 'IDE compatibility' if enabled.
Try another data cable.
Try another SATA port on your mainboard.
Verify if the disk is working or dead, by putting this drive in another machine you know is working.
See if there are firmware updates fixing incompatibilities with your (S)ATA chipset. For SSDs, I've seen examples of this in changelogs of SSD firmware updates.
Some mainboards feature two SATA controllers. Try using a port hooked to the second controller.


By default to invoke the HUD you should tap the Alt button.

What are Unity's keyboard and mouse shortcuts?


Deleting the kisak mesa PPA and falling back on the default open source drivers fixed my issues. I was worried I'd have to reinstall those drivers but simply deleting the PPA worked in my case since I never deleted the default drivers.


Why do fonts look bad in some applications?

I can't give you a fully qualified answer here but some hints:

Windows core fonts are heavily optimized for Windows. They look slightly off everywhere else.
The width of boldface and regular is different in most fixed-width fonts. Reconfigure your eclipse appearance settings so that no boldface is used or try 'ubuntu mono' which just works.
Droid Sans Mono, DejaVu Sans Mono are also viable alternatives to the Sans Mono default.
The Inconsolata font tries to reach the Consolas experience under Linux.


How to prevent switching Print key shortcut back?

The situation where both shortcuts use the same key should not happen, when I tried your settings, I've been prompted to confirm that the Fullscreen screenshot will be disabled.

So I got this:

To store such configuration in the dconf database you can use the command line. Open a Terminal (Ctrl+Alt+t) and type the following commands:

gsettings set org.gnome.settings-daemon.plugins.media-keys area-screenshot 'Print'
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot ''

You could even assign the Shift+Print to the fullscreen screenshot:

gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '<Shift>Print'

Now you can logout and login and keep your desired configuration.


How do I create a Windows 8.1 bootable usb stick in Ubuntu 15.10?

If you've booted in Ubuntu, you can use dd. In a teminal, type

sudo dd if=input.iso of=/dev/sdX

where input.iso is the source windows iso and /dev/sdX (X will vary) is the destination USB drive you want to wipe entirely and replace with the windows iso. I use gparted to make sure I'm writing to the device I think I'm writing to, as dd will nuke whatever you point it at.


I did receive this "ACPI PCC probe failed; starting version 219" error as soon as I received the latest version of Ubuntu (15.04) with the generic kernel 3.19. ???. As soon as I rebooted my laptop the screen went blank (or a black screen) and the laptop just "hung" and would not proceed further. The only option for me was to power off and then power on. Upon booting, Ubuntu went to the "  "advanced ubuntu options" in GRUB " and by selecting the prior available kernel 3.18. ??, my laptop booted successfully and was quite usable as before.

As from April 23, 2015 until this morning, May 20, 2015, I had to use the  ... power on, power off, power on, select the kernel 3.18. ?? to use my laptop ... . On the morning of May 20, 2015, Ubuntu made availble the latest Kernel 3.19.0.18 to download and now my laptop boots up properly as before with no errors.

As is the same with Microsoft Windows, the developers at Ubuntu must always update their operating systems and sometimes minor things do get missed.

My laptop is a Dell Inspiron B120 with a "Intel® Celeron(R) M processor 1.40GHz", "Intel® 915GM x86/MMX/SSE2" graphics card, 32 bit processor, and 2 Gigabyte RAM. It is a solid laptop but struggles with Windows as Windows can be quite hefty on older laptops which is why I chose Ubuntu as it is really quite a light operating system that offers similar functionality as Windows.

I appreciate Ubuntu very much and hopefully, future upgrades will explain a little more clearly some missed errors whether critical or not.

Anyway, I understand the tribulations for the operating systems programmers and the effort required to update operating systems to keep them secure.

I wish them well.


I added a ppa from https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers and updated my system.

I then added below lines to file /etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection

and restarted the System.

Now my system(with Intel graphics) is completely tear free and can use 'compositing' from "windows manager tweaks".


Can unattended-upgrades upgrade from Ubuntu 16 to 17 (major upgrade)?

The change you're inquiring about - upgrade from Ubuntu 16 to 17 - is a release upgrade.

unattended-upgrades does not upgrade the release, it install updates within the same release only.


EasyBCD is a windows program.

According to the author (see comments):

  Author of EasyBCD here. You can't run it in Wine, as it has many, many dependencies on the kernel and also uses .NET. – Mahmoud Al-Qudsi

This is confirmed by looking at winehq - both results are given as "garbage" - which basically means those versions tested do not work.

Thus, you will need to find another route - I would strongly advise finding a licensed Windows 7 CD and then fixing your MBR through this recovery CD as per this Q&A

How to completely wipe Ubuntu 11.10 from HDD?


How to choose between windows and ubuntu at startup

The installer is quite obvious, I suggest you do the partitioning manually, by selecting the "Something else" option during installation. But the others are straightforward too.


Install using built in repository

The Mondo Rescue Website says manually downloading install files is not needed as it natively available for for Debian/Ubuntu, using:

sudo apt-get install mondo

However THIS IS BROKEN

The website goes on to say you can download the repo file mondorescue.sources.list and add it to your /etc/apt/sources.list.d directory if you want to use upstream packages.

However THIS IS BROKEN

Deleted answer one year ago

On December 30, 2016 an answer was posted here and deleted because the user lacked reputation to post a comment. That answer tells us a lot:

  I used to use mondo for all Linux data center backups about 10 years
  ago. However, since then, each release has been spotty on installation
  for distributions that we use (RHEL, Fedora, CentOS, and Ubuntu). On
  top of that, I have gotten it to install and work on a VM but fail on
  the same install on a physical box.

  I'm sorry to rant. I miss this fantastic tool. I just don't have the
  time to debug each piece of the install only to get to the point where
  I'm managing compilations, repositories, versions, etc. for it to
  crash or worse, not restore properly...

One Man Show

On the surface it appears mondo development rests primarily on the shoulders of one man: Bruno Cornec which is a gigantic feat IMO. Unfortunately it seems time is primarily spent in Red Hat Linux arena first with UEFI recent support and Ubuntu not having UEFI support yet. But why woudn't you develop for a paying market place first and a free market place second? Not everyone is a Warehouse Receiver with a good wage by day that can help people in Ubuntu for free by night.

The best summary of problems installing mondo in Ubuntu I found was this Source Forge conversation between developer and user on January 8, 2017:

  About dependencies : i did not write down all that happened, sorry :-(
  I  wil install a new vm from scratch later. But at least :

  ftp://ftp.mondorescue.org/test/ubuntu/16.04/mondorescue-test.sources.list
  did not work, so I downloaded the packages by hand :

  wget \
  ftp://ftp.mondorescue.org/test/ubuntu/16.04/mondo_3.3.0-0.20161223223857.s3640M_amd64.deb
  \
  ftp://ftp.mondorescue.org/test/ubuntu/16.04/mindi_3.3.0-0.20161223223857.s3640M_amd64.deb
  \
  ftp://ftp.mondorescue.org/test/ubuntu/16.04/mindi-busybox_1.25.1-1_amd64.deb
  \
  ftp://ftp.mondorescue.org/test/ubuntu/16.04/libmondorescue-perl_3.3.0-0.20161223223857.s3640M_all.deb

  various packages where still missing : from my shell history :
  - I installed buffer from the Ubuntu repository
  - I took afio here : ftp://ftp.mondorescue.org/ubuntu/16.04/afio_2.5-1_amd64.deb
  -  ftp://ftp.mondorescue.org/ubuntu/14.04/libprojectbuilder-perl_0.14.2-1_all.deb
  was needed too

  and in the logs, I noticed that lzop was needed too (this one I
  noticed  !) so I installed it by hand as I installed mondo alone the
  first time with dpkg, it was left broken.

In the end it was finally installed to backup, but restore didn't work

Just the FAQs Ma'am

There is an older FAQs page from Ubuntu 12.04 era that describes installing mondo manually in Ubuntu:

  If you want to use the packages made upstream for Debian or Ubuntu,
  you need to know that numbering schema are different between upstream
  mondo (3.0.x) and Ubuntu / Debian packages (1:2.2.x), so you should
  adapt your /etc/apt/preferences file to avoid updates of mondo with
  apt-get with older versions. Do the following:

wget ftp://ftp.mondorescue.org/ubuntu/`lsb_release -r|awk '{print $2}'`/mondorescue.sources.list
sudo sh -c "cat mondorescue.sources.list >> /etc/apt/sources.list"
sudo sh -c "cat >> /etc/apt/preferences << EOF
Package: mindi
Pin: version 2.1.*
Pin-Priority: 1001

Package: mondo
Pin: version 3.0.*
Pin-Priority: 1001
EOF
"

I would double check these version numbers

What can I do to use Mondo?

If you really insist on using Mondo I would contact Bruno in his name link posted above. Offer to test out the install on your Ubuntu system and report back results to get fixes.

Ubuntu 14.04 does have instructions for installing mondo and these might work in version 16.04. Or at least they might be a better starting point that the other instructions above:

cd /tmp
rm *.list
wget ftp://ftp.mondorescue.org/ubuntu/`lsb_release -r|awk '{print $2}'`/mondorescue.sources.list
sudo cp mondorescue.sources.list /etc/apt/sources.list.d/mondorescue.sources.list
sudo apt-get update
sudo apt-get install mondo afio buffer lzop mindi mindi-busybox
sudo ln -s /sbin/parted2fdisk /usr/sbin/parted2fdisk
sudo ln -s /sbin/mke2fs /usr/sbin/mke2fs

Now Mondo Archive v3.2.120150305095420-0 is installed, including the required dependencies (afio buffer lzop mindi mindi-busybox)

Then you can run mondo using the following commands:

sudo mondoarchive

or

sudo mondorestore

Other Ask Ubuntu Q&As

These other users have asked questions / stated problems with installing mondo recently:

Mondo Rescue repository unsigned for apt-get
Bootable recovery partition or DVD
Making an iso backup of my system

Summary

For myself I just use cron to run a daily backup that creates a .tar backup file every morning when I boot up. The .tar backup file is then e-mailed to my gmail.com account and stored in the cloud.

You can simply search daily backup for list of options in Ask Ubuntu or google the search term for multiple Linux sites.

I wish my search had yielded more positive results.


Download the installer files from here: https://feem.io/#download, then

Umcompress: tar -xvf <file> -C /to/directory/of/choice
Make installer executable: sudo chmod +x <Feem Installer File>.sh
Run installer found in there, ends with .sh extension: ./<Feem Installer File>.sh

if it fails run with sudo ./<Feem Installer File>.sh

See: https://www.linuxslaves.com/2016/09/feem-alternative-shareit-for-ubuntu-linux.html


Vanishing window content (blank/white/black) using Unity with Nvidia graphics card

@Sayane actually answered this question but in a comment not an answer so I'm just repeating what he said, @Sayane takes all credit for this answer:

That is a known bug: bugs.launchpad.net/unity/+bug/753144 Workaround: install 173 version of nvidia driver.


(originally I recommened Okular but it didn't work as I expected)

1. Edit the document in a vector editor

I was able to open a PDF file in Inkscape, draw a rectangle over a piece of text and print it out. Inkscape is a vector editor so no rasterization involved. Some fonts looked wrong though - probably because the document was created on Windows machine with fonts which are absent on mine.

Note that any method that does not involve rasterization is only acceptable if you're going to print the redacted document on paper and not distribute it electronically, as the text still can be retrieved from under blackouts.

2. Increase the rasterization resolution when opening in a bitmap editor

Regarding "quality loss" when opening the page in Gimp: you can directly open a PDF file in Gimp. It will be rasterized in the process. The amount of quality loss in the process is a matter of resolution you choose when importing - 300 dpi should give you a very decent quality (the default is 100).

You can also get good results with ImageMagick's convert command if you tell it to increase resolution:

convert -density 300x300 ...


Postfix and Ownclound mysql authentication

One way you can acomplish that is with triger in my sql which will update additional field postfix_pass in owncloud user db every time new user is created or user pass changed.

This is not best solution because of sha encryption of postfix users pass field.

In postfix you configure auth.cfm to authenticate against owncloud user database but with pass from added field.

This can be a quick fix until you find a solution to use original owncloud user table for postfix authentication.


need help with getting laptop for daughter and dowload Ubuntu

You're probably asking your question at the right website, although some would differ and slight it because of the hardware topic. The fact is that Ubuntu has a different character from proprietary operating systems, and that is what makes it such a good operating system for development. Like any other work, development is dependent on having the right tools to do the job properly. By doing the job properly I mean being able to download and install the necessary software in order to not have to "reinvent the wheel" for every project.

Ubuntu has a very large repository of vetted software, and this is a great benefit, but in the end one has to face the eventuality of requiring additional software from untrusted sources and this means in real terms having to run such software in some sort of virtual environment, either a virtual envelope or if that is not possible a virtual machine.

The requirements for a virtual machine would be enough RAM (6GB is OK) and preferably an SSD. Although a spinning hard drive is possible, it's slow and unpleasant to use compared to an SSD. A touch screen is nice, but a 13" screen is in my opinion entirely too small. It's unpleasant to have to work with your eyes glued to a small screen squinting to read miniature lines of text on the screen. LCD screens become yellowish and off-color with age, so get a computer with an LED screen. A ten-year-old girl will have no difficulty at all appreciating the difference between an LED and an LCD screen.

For development, the difference between a laptop and a desktop computer is like the difference between a little gardening shovel and a full-sized shovel. They're almost like two completely different tools. You can't properly do gardening with a full-sized shovel and you can't properly shovel wet concrete with a gardening shovel. Lines of code on a screen have a virtual weight. For working with large quantities of code, you need a full-sized tool to do the job efficiently.


Using Git as off-line alternative for Dropbox

How about using SparkleShare?

SparkleShare is intended for synchronizing projects between multiple contributors automatically using Git. You can use it basically as a tool for automatically saving changes to files it a version controlled Git repository, and don't need to use its multiple contributor features.

It will connect to various services, including BitBucket:

Here you can see the history it presents of a folder:

SparkleShare only saves changes and keeps a list of the changes. There is no way (that I know of) to use it to view a file at a particular commit. Clicking on the file in the Recent Changes dialog just opens the newest version.

So, you can use a Git client, such as Giggle  to view changes at particular commits:

However, Giggle will not let you view the actual file at a particular commit, instead forcing you to view changes. So, you might want to use a different client such as gitg :

(The black everywhere is a bug because I'm using the GNOME 3.8 PPA.)

You can install SparkleShare by clicking on this button:

Or, you can use this command in a terminal:

sudo apt-get install sparkleshare


You can set up a socks proxy with ssh command with -D option.

  -D [bind_address:]port

  [...] allocating a socket to listen to port on the local side, optionally bound to the specified bind_address.
  Whenever a connection is made to this port, the connection is forwarded over the secure channel, and the application protocol is then used to determine where to connect to from the remote machine. Currently the SOCKS4 and SOCKS5 protocols are supported, and ssh will act as a SOCKS server.

Example:

ssh -D 8080 username@sshd_server

After that, set the browsers proxy option to use socks5 proxy 127.0.0.1:8080. (via)


CTRL+ shortcuts doesn't work after compiz-manager installation

I had a similar issue a little while back, and after going a little crazy I found that it was a small silly issue - I accidentally un-checked the Gnome Compatibility option in the CompizConfig settings manager.
The Gnome Compatibility option is what makes Compiz compatible with the Gnome desktop environment.
Hope this helps solve your issue :)


How to get Gnome3's "Vino" (VNC Server) to start on login

The command to start the server is

/usr/lib/vino/vino-server

Just place this command in whatever means your desktop uses to autostart things.

I use LXDE, so I place it in Preferences/Default Applications for LXSession/Autostart


You are simply not supposed to call mount -a unless you are init script or some other system program. Why do you need this?

but yes, you can test it in shell script

mountpoint -q /home/benubird/Music && echo is mounted || echo not mounted

however it does not work very well with bind mounts, sou you can grep /proc/mounts instead:

function is_mounted() {
    dir=$(echo "$1" | sed -e 's/\/\/*/\//g; s/\/$//g;')
    cut -d ' ' -f 2 /proc/mounts  | grep "^$dir$" >/dev/null
}


Encrypted backups on a NFS or SSHFS share

This isn't a complete answer, but I do want to clearly note that eCryptfs (the encryption technology used by your Encrypted Home Directory) will not work properly on top of NFS or Samba for the reasons detailed in this bug.

You could, however, easily backup the encrypted data that you find in /home/.ecryptfs using rsync or backintime, or any other automated backup utility.


This sounds like a problem with your cookie settings in your web browser. Not a problem with your internet service or connectivity.

To see if this is the problem, log out and log in as the Guest selectable from the login screen and attempt to log in via firefox from there.

Alternatively install an alternative browser and attempt to log in from for example; Chromium instead.

If you can sucessfully log in, then you must change the settings in your firefox browser to allow your sites to store cookies. If you don't have many bookmarks or important history you could just delete the .mozilla directory in your home folder (show hidden files first). Otherwise you should go into the profferences for firefox and allow cookies for those sites.

I'd also check to see if you have any extensions which could cause these issues.


What mount point should I use for HDD if I install /, swap and /home on SSD?

Easy:

/ and swap on sda (your SSD)
/home on sdb (your HDD)

That way, your OS and the swap are on the SSD and your videos, documents, music are on the HDD.

Start with that until you know more and for the next install read this first


Ubuntu's policy on this is described on the Stable Release Updates page in the Wiki.

These policies are all driven by the (perfectly reasonable) fear of introducing regressions and causing inconvenience to existing users for bugs which didn't otherwise affect them. If bind9 is updated in a stable release and production servers fail or unacceptably change behaviour as a result, then that's a disaster for Ubuntu. Users will legitimately complain that a stable release failed to remain stable for them, and many would not consider "upstream did it" as a reasonable excuse; especially for the majority of them for whom the bugfix update was unnecessary anyway. "Unacceptably change behaviour" can mean different things for different users; for a stable release, any change in behaviour may be deemed unacceptable.

The SRU policy of minimal, verifiable fixes to stable releases only serves to prevent this scenario.

If upstreams provide bugfix releases, then these can approved for acceptance on a standing basis, subject to the micro release exceptions policy.

But most packages in Ubuntu are based on Debian. Deviating from Debian always comes at the cost of extra work and so this kind of change can only be done if someone can commit to maintaining the extra burden that this creates.

The stable release team makes decisions on individual updates, and the technical board makes decisions on standing micro release exceptions.

Perhaps bind's bugfix release branch is suitable for a micro release exception. In this case, somebody needs to drive, gather the upstream policy, regression history and so forth, put together a proposal and put it forward to the technical board for consideration.


Ubuntu installation for previous versions. (16.04.4)

16.04.4 went EOL when 16.04.5 got released and that means it gets moved to  the archives server. All the versions from 16.04 through 16.04.4 can be found there.


npm install, npm -v, sudo npm install do nothing

sudo su

root@PC_NAME:/home/# : sudo apt-get

You need to have nodecode folder in directory else you will get

  bash: /root/nodecode$: No such file or directory

Info:

  apt-get is a command line interface for retrieval of packages and
  information about them from authenticated sources and for
  installation, upgrade and removal of packages together with their
  dependencies.

  npm is installed with Node.js npm is distributed with Node.js- which
  means that when you download Node.js, you automatically get npm
  installed on your computer. For checking the version of npm

StepI Install your nodejs

https://nodejs.org/en/

Ubuntu

Run the following on your command line to install the source for nodejs

curl -sL https://deb.nodesource.com/setup | sudo -E bash -

Then, run this to get the latest nodejs package

sudo apt-get install -y nodejs

Step II
Check that you have node and npm installed

To check if you have Node.js installed, run this command in your terminal:

node -v

To confirm that you have npm installed you can run this command in your terminal:

npm -v

A note on versions

npm versions

  npm is a separate project from Node.js, and tends to update more
  frequently. As a result, even if you’ve just downloaded Node.js (and
  therefore npm), you’ll probably need to update your npm. Luckily, npm
  knows how to update itself! To update your npm, type this into your
  terminal:

npm install npm@latest -g

  Node versions and Long Term Support Node.js has lots of versions! To
  use Node.js, and therefore npm, effectively, you’ll want to make sure
  that you are on a version that is supported by the Node.js team. In
  general, you should use the version of Node.js labelled “LTS”.

  Use a Node.js version manager Software is always changing, and so it’s
  often a good practice to use a version manager to help account for
  this change. For this reason (and many others!) we recommend that you
  use a version manager for your Node.js installation. There are many
  great options; here are a few*:

  NVM

  nodist

  n

  nave

All References from

enter link description here


Repo removed from software center and can't be installed from (16.04)

I had a look and started to download the local repo, before I found out that there's also a network repo. Installed it from here, using gdebi https://developer.nvidia.com/cuda-downloads

Synaptic shows

and also

and tells me http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 has to be set as the correct path for 16.04.


In 14.04 ubuntu should there be in the application menu-system some kind of scanner setting?

It looks like this scanner has no drivers for Linux provided by Canon. See
http://support-asia.canon-asia.com/P/search?category=Scanners&series=CanoScan&model=CanoScan+5600F&menu=Download&filter=0

The SANE backend (that works behind Simple Scan) also does not seem to support this scanner. Scroll down the official SANE list http://www.sane-project.org/sane-mfgs.html#Z-CANON

Hope this helps


Issues with Bluetooth Mouse in Ubuntu 20.04

And if this doesn't work do the following:
Type:
sudo nano /etc/default/grub

Completely replace line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

With:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash btusb.enable_autosuspend=n usbcore.autosuspend=-1 usbcore.autosuspend_delay_ms=-1"

Ctrl+X for saving.
Then type:
sudo update-grub


Trouble with Installing Daily Build Geary

This isn't an Ubuntu problem, it's a problem with the PPA you're using. If you view the packages available you'll see that Geary doesn't have any raring packages. As such, when you install geary via apt-get it's only going to grab from the archives, version 2.2, and not from the PPA as there are not packages built for geary for raring in the PPA.


Lets first check your file system for errors.

To check the file system on your Ubuntu partition...

boot to the GRUB menu
choose Advanced Options
choose Recovery mode
choose Root access
at the # prompt, type sudo fsck -f /
repeat the fsck command if there were errors
type reboot

Update:

Do you dual-boot with Windows? In Windows, have you installed any drivers that allow you to read/write to Ubuntu Ext2/3/4/ partitions? If so, uninstall this driver asap, as it's corrupting your Ubuntu partitions.


You won't get your databases back that way. If your old MySQL version was exactly(!) the same as the one you are using now, it would possibly work out but only if you would move the current /var/lib/mysql to something like /var/lib/mysql.old and move all content of the old backuped /var/lib/mysql including all subdirectories to /var/lib/mysql now.

Your problem is that you made only a raw data copy of the files containing the data but you didn't really backed-up the logic. See, if a database is created like gallery3, it inserts certain rows and data into the data dictionary of the MySQL DB itself and into the 'mysql' master schema. So only copying over a directory including datafiles won't work, as - let's call them links - to those datafiles inside the new MySQL setup are missing.

Also, if you ran the old MySQL installation with default DB type "innodb" and didn't backup the ibdata1 and ib_logfiles0/1 files in /var/lib/mysql your data is most certainly lost as InnoDB tables are completely stored inside the InnoDB tablespace file (ibdata1) and only a bit of metadata is stored in the files in the subdirectory.

Best way for a simple backup before such big hiccups is to make a mysqldump of your database (aka schema) into an .sql file and re-insert it. That is called a "logical" backup (instead of physical), as it dumps every information logically necessary to rebuild your db schema as it was before. A physical backup isn't recommended (only if you know exactly what you are doing and what risks are involved).

Hope that helps a bit


Run jupyter notebook within virtualenvwrapper

Although not absolutely necessary, using sudo mode for the installation makes the packages available across all users in the system (especially ones with a lower privilege). Again, there are pros & cons for the approach and I've had similar conflicts that prompted me use sudo mode for packages that are intended for use in multiple projects.

You seem to have package versions that should work in unison; must be some access permission issue.


Ubuntu 14.04.5 x64 - Perforce Helix and LAMP Server?

LAMP and Helix Visual Client (P4V) can be installed on the same OS without requiring any special partitioning and without them interfering with each other. The latest version of Helix Visual Client was released in 2018, so it's probably compatible with the latest software packages from the default Ubuntu repositories. Because you would be paying a lot for the Helix Visual Client software, you would probably be interested in running the latest Long Term Support release 18.04 instead of 14.04.


Help me I cant do updates with these two errors :(

Remove them with this command:

sudo add-apt-repository --remove ppa:upubuntu-com/office
sudo apt-get update


FlashGot is an awesome extension for Firefox that does that and much more. You can even send the download URL to an external manager like uGet to ensure that the download connection doesn't drop.

http://flashgot.net/
https://addons.mozilla.org/en-us/firefox/addon/flashgot/

http://uGetdm.com

Chrome has YouTube downloader extensions but none as powerful as Flashgot which is Firefox only.


Problem Loading UEFI:db X.509 certificate (-65) and Unable to find a medium containing a live file system

I have the same laptop as you and I get that text popping up too, but it then proceeds normally to boot up, have you tried waiting?


Ubuntu 17.10 Login screen now has choice of GNOME and Ubuntu

If you have upgraded from Ubuntu GNOME 17.04 the default GNOME session(s) will still remain for you to choose during login. On top of that the all-new GNOME session(s) customised by Ubuntu (simply named "Ubuntu" and/or "Ubuntu on Xorg") will be added.

You'll be missing a few modifications made by Ubuntu if you choose GNOME instead of Ubuntu, for example

Ubuntu Dock and Ubuntu appindicators extensions will be disabled by default in a GNOME session. You won't be able to access Ubuntu Dock settings from Settings application (aka gnome-control-center).
The all-new shell theme created by Ubuntu (with orange highlights and dynamic top bar transparency) won't be loaded by default in a GNOME session.


Why I cannot format the partition with Ubuntu?

You have formatted you partition as ext4 while installing Ubuntu and Windows do not recognize ext4 format . So it is not showing when you try to install Windows.

Also you have single partition and your ubuntu is installed on that partition. So you can not resize that partition when Ubuntu is running.

Try to boot with ubuntu in live mode . In live mode open Gparted and resize your partition to create new partition  and format it as ntfs so that windows can recognize it.


Use one password for administration and another for system login

There is a way to do this by overriding the PAM (Pluggable Authentication Module) settings for the sudo service. Do this at great risk to your machine - don't just copy and paste unless you understand what the command does, and always keep a root terminal open - test test test! - before logging it out, in case you need to go back and fix something.

I recommend reading some information about how PAM works so you know what to do if it breaks. I also recommend most users approach this problem from a different angle (making a separate user account for administration) because the solution may be susceptible to hash table attacks on your password if you haven't set your permissions correctly.

If you're determined to proceed, you'll need to install a new PAM module. pam_pwdfile uses the old-style /etc/passwd type file for authentication, which is great for using different passwords for different services. It provides no account recognition - you can create username/password pairs for users that do not exist on the system. Since we'll be using it for sudo, it doesn't matter, as we'll just let sudo check the account exists in the usual way.

sudo apt-get install libpam-pwdfile

I also recommend grabbing a handy htpasswd file editor. Benjamin Schweizer has created a handy editor in python which works well. Grab it from http://benjamin-schweizer.de/htpasswd_editor.html and install its dependency:

sudo apt-get install python-newt

Generate a htpasswd format file using the tool - sudo python htpasswd_editor sudo.passwd. Put in a username and password using the same username that you will be using for sudo - one for each user that will be using it. Copy it to somewhere secure (when testing this I put it in /etc/sudo.passwd) and make it unreadable to regular users: chmod 660 /etc/sudo.passwd as root.

Make sure the file is owned by root and unreadable to other users. This is a vulnerability as the file contains a hashed password, and if it is readable or writeable by other users, it breaks your security badly. It is for this reason I don't recommend this method on a machine that must be kept secure.

Finally, edit the /etc/pam.d/sudo file. Add the following line above the other @include ... lines:

auth    required    pam_pwdfile.so pwdfile /etc/sudo.passwd

Obviously replacing the last argument with the path to your generated htpasswd file. Comment out the next line: #@include common-auth to make sure it is using the new authentication method.

Word of caution - you will need to edit the /etc/pam.d/sudo file from a root terminal. Do not close this without testing! If you do, you may not be able to log back in (if you have broken something), and would have to boot from a Recovery disk to repair your system. Test before logging out by opening a new terminal and try using sudo. You should find that it will no longer work with your regular login password, but instead requires the new password you used when you generated the passwd file. To update the file, use the useful tool again.


A similar AU Question with your Graphics Card is described here.

I would suggest follow the same advice - go to your Hardware Drivers window.  Deactivate the nvidia-current driver and try installing the nvidia-173 driver.


BIOS settings:

use standard boot, not UEFI
set your Ubuntu HDD first the boot device list.

If still not booting, most probably you don't have a bootloader installed on the MBR of your Ubuntu HDD (maybe the wrong device was selected during GRUB setup ?).

No need to do a full reinstall here, boot a linux system (rescue CD or other PC), and go :

$ sudo grub-install /dev/sda

(adapt /dev/sda to your HDD letter)


Fresh install of Ubuntu, Virtual box no longer works

Assuming that you're running identical releases of VirtualBox, according to this thread on Virtualbox.org: https://forums.virtualbox.org/viewtopic.php?f=8&t=77554

You'll need to delete the saved state of your VM, as the change to the host OS is enough to cause the problem you describe with the VM.

That said, my own experience suggests that just moving between VirtualBox versions can cause problems with VM saved states. Again, the solution is to delete the saved state of the VM.

Rich


after upgrade to ubuntu 17.04 , telegram wont be work?

I also can't install Telegram in Ubuntu 17.04 x64. I downloaded the program from the Telegram website but when I double click on the program nothing happens.

The only solution that I found is to install Telegram through snap in the Terminal.

sudo snap install telegram-latest


Lubuntu upgraded from 15.10 to 16.04 with nvidia-361 and xserver settings are empty

Sad to say but I have had to resort to re-installing from scratch. I have opted for Kubuntu 16.04 instead of Lubuntu 16.04 this time around. The install was set to download all recommended third party drivers and updates and everything worked first time including recognition of my second monitor as well as correctly setting the native resolutions.

Upon attempting to install nvidia graphics drivers I then encountered the black screen issue. Whether or not using the sudo add-apt-repository ppa:graphics-drivers/ppa repository and installing sudo apt install nvidia-364 helped I do not know. But it seems that my major issue was that I had to disable secure boot in BIOS, changing from Windows to Other OS.

So if you have the nouveau drivers by default as I did (you can check with lshw -c video | grep -i driver where driver=nouveau would ideally be driver=nvidia, then add the above repository, sudo apt update and sudo apt install nvidia-364 with a reboot may work for you too.

If you do encounter the first issue my question is about, check to see whether you have secure boot mode on in BIOS and disable it if it is on. I can only hazard a guess that the nvidia drivers were defaulting to a fallback that at least allowed a GUI, though I never figured out the cause of  the problem.

It is also worth noting that I get this issue with my DVDROM drive plugged in via SATA cable. This is likely a misconfiguration on my part but it is also another avenue of investigation if you get this problem.


How to make a windows 7 installation usb in ubuntu?

You have to install a software for this purpose known as winUsb using following commands

sudo add-apt-repository ppa:colingille/freshlight
 sudo apt-get update
 sudo apt-get install winusb

else download a .deb file from this link
and then run following command

sudo dpkg -i [filename].deb
if you get any dependency problem or errors due to dependency problems use following command to resolve it

sudo apt-get install -f

check this for more info on .deb packages

you can check this link

for more details on installation and winusb check this website


Ominous "8.5 GB Volume" on MomentusXT under 12.10

It's just a regular disk partition that you, or somebody, created and it looks like it has a corrupted hfs filesystem on it.  If it doesn't have any data in it you care about, then blow it away.


In Ubuntu the network configuration is managed by Network Manager. As you suspected, if you change your IP by hand (using ifconfig), as soon as it detects the change it will revert it.

You can either disable it or use it to change the ip configuration.

To disable Network Manager:

From the GUI, click on the network icon, uncheck activate network.
From the commnad line : nmcli nm enable false

Or to stop the service

sudo service NetworkManager stop

You can use nmcli to control Network Manager from the command line, including creating new connections or changing between them. Or you can just use the GUI, click on the network icon and select edit connections. There, you can either change the default connection or add another one with a fixed IP.


Installation in mac from bootable usb stick

In step 7, if you cannot unmount the disk with the diskutil command, open up OS X's the graphical Disk Utility. You will see the unmount option there, which may work.