how to make disk partition in ubuntu after installing ubuntu?

You can try gparted, but partitioning a system that is already installed can destroy it. For best results, run the installation again, and partition the drive from there.


Ubuntu 18.X and 16.X boot time take an hour or more from dual boot laptop

You're probably warm booting from Windows to Ubuntu and neither Microsoft nor the Linux kernel developers test side effects of one on the other and with UEFI nowadays it happens more and more.

The simple solution is to shut down Windows completely and then turn on your machine and cold boot into Ubuntu.


What worked for me was to change the /etc/default/grub file as follows:

Open a terminal (Ctrl + Alt + T) and type sudo gedit /etc/default/grub
Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" and modify it to one of the following:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"

or

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux
acpi_backlight=vendor" (try this if the first one doesn't work)
Save and close gedit.
Then type sudo update-grub
Reboot your pc.

EDIT

As from Ubuntu 13.10, this did not solve the problem for me on a Toshiba laptop. I needed one extra step for the problem to be solved.

I had to create an xorg.conf file in /etc/X11/ with the following contents:

Section "Device"
       Identifier      "Configured Video Device"
       Driver          "intel"
       Option          "Backlight"       "intel_backlight"
EndSection
#
Section "Monitor"
       Identifier      "Configured Monitor"
EndSection
#
Section "Screen"
       Identifier      "Default Screen"
       Monitor         "Configured Monitor"
       Device          "Configured Video Device"
EndSection

WARNING!! Getting the file wrong or if this configuration is not compatible with your hardware, might end up with an unbootable system! It happened to me.

In that case, you'll have to delete (or rename) the file, but to do so requires either booting from a liveUSB or liveDVD (the simplest way) or booting in recovery mode, making the Ubuntu partition rewritable and then delete the offending xorg.conf file.

EDIT2

Starting with kernel 4.4, the toshiba backlight device is blacklisted and doesn't appear any longer thus rendering these workarounds redundant.


This happened to me as well, after I thought I was installing the correct Nvidia driver.  Unless you want to do a whole re-install (like I did twice until I figured it out), you need to do this.  Right click your blank desktop, create a new folder.  Open folder then navigate to filesystem<--sidbar /usr/bin.  From there just right click any of the exec files and "open with other application". Find the ubuntu software center.  Of course this is going to error out, but we just need to get that open.  Search for "additional driver" install it, open it.  Here is where we download and "activate"<-- the correct nvidia driver. I hope you have an Nvidia graphics card, otherwise I have written all this for not.

I also had to use a lot of terminal to figure this out, but what I have for you is the easy 123 version.  Good luck, I know exactly how you feel.  4 hours deep!


Installing ubuntu to a specific disk drive alongside Windows 7 on separate disk

When you get the options on where to install Ubuntu you can chose between installing it alongside Windows, erasing the disk or something else.

Installing it alongside Windows will shrink your Windows partition and create a new one. If you already created one, that isn't detected. So what you want to chose is something else.

Just follow the official instructions on this.

If you already picked the first option you might now have ended up with a Windows partition that is too small to boot. You can fix this by booting the Live-CD/USB to the desktop ("just try Ubuntu, don't install"). Now run gparted to view all your harddrives and partitions. Delete the Ubuntu partitions and resize the Windows partition to the maximum. While you're at it, you can also use gparted to easily create the partitions you need on your second drive (chose it in the top right) and then just select them in the Ubuntu installer.

When manually installing Ubuntu on a second harddrive (/dev/sdb) you probably want the bootloader GRUB to be on the first harddrive (/dev/sda) so make sure your selection looks sound.


compose key for us international layout not working

The English (US, intl., with dead keys) keyboard layout uses Right Alt by default as the key to access 3rd and 4th level symbols. That way you can for instance press Right Alt+Q to type ä.
But since you defined Right Alt to serve as the compose key, you override its function as the 3rd level key.
So maybe you don't need a compose key. Or maybe you should define some other key but Right Alt as the compose key.


Try something like this instead:

//NAME_OF_ROUTER/External_HD  /media/public  cifs  guest,ip=192.168.29.1 0  0


change grub setting from readonly to normal

You should try using the sudo command.

The sudo command, in a nutshell, allows you to run commands as the Superuser. In other words, it allows you to do WHATEVER you want with your pc. WARNING: SUDO IS NOT A TOY.

Try opening a terminal and running the command sudo gedit /etc/default/grub. It will ask you for your password. Type it in. (Note that there will be no masking character, or any character for that matter). Then, it'll open GEdit with the ability to change that file.

You can substitute any text editor in place instead of gedit

There is also a graphical version of sudo, called gksudo. If you are more comfortable with ONLY GUI, hit Alt+F2 and type gksudo gedit /etc/default/grub.

To learn more about sudo, run man sudo in a command prompt.


Generally .bashrc and .profile should be sufficient. Maybe an .xsession? An .xbindkeysrc?
I guess a simple rule of thumb is that if the configuration file is useful to you, it might be to other users as well. The configuration files you copy to this directory will be copied to new users' home directories when they are created with useradd -m -k /etc/skel


Those are automatically added when you install OpenSSH server (sshd).  It allows you to use keys instead of passwords with ssh, making it more secure.  I believe the keyring is what allows you to have the server remember the key so that you don't have to constantly keep reentering it every time you do a command such as scp, which is very convenient if you are copying a number of files (or other ssh commands).


Can't install Ubuntu on HP Pavilion DV4 1514DX

You may want to try using the Alternate Install 32bit Method or Alternate Install 64bit Method.

The alternate install method differs from the live install, because its text based installation.

  The text-based installer is for computers that can’t run the graphical
  interface-based installer, either because they don’t meet the minimum
  requirements for the live CD or because they require extra
  configuration before the graphical desktop can be used.1

When you boot from the CD, you have to answer a few questions, follow some minor directions, and that's it.  When the installation is done, you will boot into Ubuntu, as if it was installed from the live CD.

1Source:Ubuntu


This seems to be a bug in the new "snap" architecture.  It breaks not only links to zoom, but other things as well (linke magnet links)
The bug is documented here: https://bugs.launchpad.net/snapd/+bug/1776873

Hopefully there can be a fix soon, this is a pain (it used to work in earlier versions!


Run the following command in terminal: xhost si:localuser:root
Until you logout, sudo applications, like gparted, will work fine.

Thats a wayland feature, so alternatively you can login in Xorg session and gparted will work.

Or add this command to startup applications if you need to run root applications often.


Why do dist upgrades still have to freeze and ask questions?

This would not be practical to do at the beginning of the process as in order to know which packages will ask a question, it has to unpack and evaluate their upgrade.

There is the possibility of doing this at the end, or defaulting to "keep config" but this adds complexities to the installer.

The installers are scriptable. Some have interactive parts that (if there) you would still want to run... Again, there might be the possibility of moving this to the end of the process.

The problem with both these ideas is they require changing significant portions of the dpkg system. As a result packages might need to be built differently for it to work and oh look, we're incompatible with debian! This is infinitely more of a problem than asking a few questions through the upgrade process.


Is there a way to suspend without turning off network?

No, that is not that simple at least. Some machines support wake on lan (WOL), such that you are able to wake the computer from a hibernation state, but I am not sure whether that works with suspend mode. Setting up WOL is not straightforward and known to cause headaches.

Suspend mode generally freezes the system and provides just enough energy to support RAM, so that even if you keep power your hardware network interface, you won't be able to do anything with it.


Kdenlive: Speed up the audio and video without losing pitch

With Kdenlive 20.08, you can right-click the clip in the timeline -> Change Speed. In the dialog choose the speed ratio, and check Pitch compensation.


It's not a "mobile version" of Ubuntu.

It's a special build of the Ubuntu OS that can be installed on Android dual-core phone, with this you can attach a HDMI monitor (and I think a bluetooth keyboard and mouse) and use your smartphone as a computer with Ubuntu.

As an extra, from that desktop you can access to phone data (like addressbook) and send / receive calls.

I think that this image clarify what is it:

Official page for more info:
http://www.ubuntu.com/devices/android


That might work, but it will not be easy, since it is not in the list of currently ported devices, so you probably have to write a lot of code to port it (drivers, firmwares and such).

In the linked pages there are all the instructions and links that you need to do it, but be sure to understand that it is not an easy task.


How to install ubuntu15.05 stand alone using UEFI mode and boot secure enable in lenovo flex 2?

EFI partition should be formatted to FAT32, not ext4.

It is a common mistake.


100% Packet loss when pinging my external IP

So biased on @vidarlo's comment I looked into NAT hairpinning or NAT loopback which is what allows computers in your network to access the external interface.  Some routers firmware simply does not have this functionality.  In some cases you can flash 3rd party firmware though.

However, in my case, I use the Xfinity supplied router, which I have confirmed neither has this nor has a way to enable it as per this thread:

  If this is a Comcast supplied gateway device, you will not be able to change it, nor will you be a ble to load anything but the Comcast firmware...

Which sucks...   Time to go router shopping!


Ubuntu 14.04 Apache2 VirtualBox Cannot Connect from Windows Host

For those of you that stumble across this post, I have resolved the problem.  It was due to a VirtualBox issue.  I had both NICs set to "Cable Connected" in my settings for the server in the Oracle VM VirtualBox Manager.

When I checked the server as it was running, I looked in Devices > Network > Network Settings, neither one had the "Cable Connected" box checked,  Once I checked this, I was golden.  I had my Ubuntu Internet connection for updates, browsing, etc., and I was able to connect to the Ubuntu server from my Windows host.


Ubuntu One storage is not encrypted with a user cryptographic key

Like Dropbox, Ubuntu One store is not encrypted with a special passphrase. Therefore, it would be technically possible for someone to get access to your data, either by an untrustworthy employee or by a security breach. See this bug report about UbuntuOne storage data encryption it is still a wishlist.

So I would not synced my ~/.ssh folder to the cloud. Unless you set an encrypted container which is then sent over to the cloud, but then for ssh keys, it is not always that handy. But I give you still handy ways of encrypting your data:

Safeguarding your storage on Ubuntu One
Using Cloud storage safely

More information

Ubuntu One is using encryption for the connection (as said in the fact), it means that basically the data are transmitted over some sort of HTTPS. You can use a really well done animation of what is visible to eavesdropper when using HTTPS, courtesy of the EFF (Electronic Frontier Foundation).

By clicking on the HTTPS button on the EFF animation, you will be able to see what is visible to everybody when you put your SSH keys in a Dropbox or Ubuntu One container. As the animation tells, many persons at site.com (e.g. one.ubuntu.com) would be able to view your data (and many more). Even if you would use something like Tor to route all your traffic, it would still mean that people at site.com can access the data.

So you have to encrypt the data before it leaves your computer. So it arrives encrypted at site.com with credentials they don't know about. Of course, you would have to use a strong encryption mechanism so that it would make it extremely slow for the people at site.com to crack it.

Of course in case of a bank, you can not encrypt your money, as you pay the bank to handle it for you. So you have no choice but to trust the bank to make their IT system as secure as their physical vaults so that only a small subset of employees (the ones managing your account) can view and modify your data.


Why can't I connect to unsecure open wireless networks?

Try connecting from the terminal and setting your IP manually

iwconfig [interface] mode managed key open
iwconfig [interface] essid [ESSID]

Set your IP Address ifconfig [interface] [IP address] netmask [subnetmask]

Add ip of router as default gateway route add default gw [IP of default gateway]

Configure dns
echo nameserver [IP address of DNS server]  >>  /etc/resolve.conf


I'm not sure this will apply to your 19.04 as I'm now debugging this on ubuntu 16.04.
First, it's useful to run hp-check, which tests many things about your installation of hplip.  It was telling me I'm missing 2 python libraries:
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
...
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             4.11.4          MISSING    'python3-pyqt4-dbus needs to be installed'

OK, sudo apt install python3-notify2 was easy enough, but there was no python3-pyqt4-dbus in 16.04.  However further down it says the same thing but suggest a different package name:
Missing Optional Dependencies
-----------------------------
error: 'python3-notify2' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible

and sudo apt install python3-dbus.mainloop.qt worked for me (fixing both messages)!

We can also find it in the code:
$ ag --before=5 'Unable to load DBus libraries.' /usr/share/hplip/
/usr/share/hplip/ui4/devmgr5.py
48-try:
49-    import dbus
50-    from dbus.mainloop.qt import DBusQtMainLoop
51-    from dbus import lowlevel
52-except ImportError:
53:    log.error("Unable to load DBus libraries. Please check your installation and try again.")

so your error message must be coming from one of those import lines.
By opening python3 interpreter and pasting these lines one by one (without leading whitespace!), I confirmed which one was failing:
$ python3
Python 3.5.2 (default, Apr 16 2020, 17:47:17)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
>>> from dbus.mainloop.qt import DBusQtMainLoop
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'dbus.mainloop.qt'
>>> from dbus import lowlevel
>>> exit()

I then did apt search dbus.mainloop.qt and arrived at same conclusion that I need sudo apt install python3-dbus.mainloop.qt.  (I actually did this before noticing the latter hint from hp-check :-)
Try this analysis on your ubuntu.

Now hp-toolbox launches successfully.


/var/www/ has nothing to do with shhd, it's for web servers.

You can install Apache or nginx if you want a httpd, but as I say, it's completely unnecessary for ssh and sftp.

The guide you're following is geared at giving each user their own website and limiting them to it.


Video runs locally but not on apache 2 server

Try downloading the videos from the page source. I guess its a permission issue. You may need to change the file permission.

To do that, run this command in the folder: chmod 755 test.*


Installing ubuntu 16.04.1 on mac OS X Yosemite: no mountable file systems

this is how i did it:

1- go to
https://www.ubuntu.com/download/desktop and download the ISO from there

2-download Virtual Box. that i assume you already have it.

3-install Virtual Box.

4-then open Virtual Box and on the left top corner it should be a NEW bottom, so press it.

5-So when it opens you should type on the name i recommend on naming it "Linux - Ubuntu"(VB should recognize immediately that is Linux and is Ubuntu 64 bits version). and then you press next

6-then you can set the ram size so i recommend on putting it on 1024. press next

7-select the option that says "create a virtual hard drive now". press next

8-then select the first option VDI(Virtual Box Disk Image).Press next

9-select dynamically allocated. press next

10-the you select how much memory you want to use for your Virtual Machine. press next

note: be sure you download the ISO of Ubuntu 16.04 for 64 bits

11-after preparing for the installation, you can select the OS you want to run and press START on the top menu of Virtual Box.

12-it will ask you for the ISO you download so select it by pressing the folder image and showing where you ISO is. then press start

the it should start running the Virtual Machine with Ubuntu and you should be able to install Ubuntu just fine.

that is how i did it.
my recommendation is, i didn't liked the Virtual Machine with Ubuntu so i actually did a Dualboot and i totally loved it.

this is the video where i learn how to do it:
https://www.youtube.com/watch?v=4SbTXqPk_1Y

hope it works.


I suggest following the Installation Troubleshooting Guide. The timestamp is a bit dated (for Ubuntu 8.04), but most of the content is still relevant, so you may be able to resolve your problem anyway. At the very least, getting your Installation Report (last step) would be helpful information to accompany your question.


Do WiFi networks see the MAC address the PC or the wireless card?

If something authenticates devices by MAC address, then it's the MAC address of whatever you're using to connect to the network. If it's by WiFi, then it's the MAC address of the WiFi card/USB. If it's by ethernet, then it's the MAC address of the ethernet card.


Microsoft Arc Touch Bluetooth Mouse not working on Ubuntu 16.04

I had the exact same problem. I tried multiple methods including the one described here. Nothing worked.

However I found a way to fix it.

I used this tutorial to get me there.

I think the problem was that I didn't have my bluetooth le set to on. Which is how the arc is discovered/connects

sudo btmgmt le on

This seemed to fix everything.

Not sure why it was off. Headphones work now also.


Is there a way to reprogram the thinkvantage button to assign a shell bash program to it?

xbindkeys should be able to do this. Install it with:

sudo apt-get install xbindkeys

Now run:

xbindkeys -k

and press the think vantage button.  Your output should look something like:

Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"NoCommand"
    m:0x0 + c:159
    NoSymbol

Now create a file named .xbindkeysrc in your home directory:

touch ~/.xindkeysrc

open the file in your favourite editor and add:

"bash /path/to/your/script.sh"
m:0x0 + c:159

Replacing m:0x0 + c:159 with whatever you got from your output earlier.

If you want a terminal window to open replace the first line with:

"gnome-terminal -e './path/to/script.sh"

Log out/back in or reboot for the changes to take effect.

(re)sources: ThinkWiki: ThinkPad Button


This is what I did for Ubuntu 16.04:

sudo apt remove --auto-remove open-vm-tools
sudo apt purge open-vm-tools

It complained about not being able to delete a directory since it is not empty so I manually removed one file that resides in that directory using:

sudo rm /etc/vmware-tools/scripts/vmware/network.old.0

And now you can run vmware-install.pl again.


logging in kicks me back to login screen, 14.04

There might be a problem with your Desktop Environment. Use the tty login to install an alternative DE, such as gnome or KDE. Then try logging in via lightdm or gdm(whichever you use) and install the Desktop Environment that you are comfortable with. I had the same issue a while back and I managed to solve it. Hope this helps!


Change root user's home directory in Ubuntu?

Here are the instruction, but be sure to know what you're doing.

On every *nix system you'll find a file called /etc/passwd which lists all users and some settings. Here is the syntax of that file:

username:password:uid:gid:additional_info:home:shell

So, for example, you'll find:

root:x:0:0::/root:/bin/bash

Which means the user is called root, the password is hidden (it's on /etc/shadow), uid is 0, gid is 0, no additional info, the home directory is /root and the default shell is /bin/bash.

Edit that file and change the home directory.

However, I don't see any reason to do it.


how do i make an executable java archive run automatically when i login?

METHOD 1

sudo mv /minecraftstartscript.sh /etc/init.d/
sudo chmod +x /etc/init.d/minecraftstartscript.sh
sudo update-rc.d minecraftstartscript.sh defaults

From Dave at Stack Exchange I do not recommend this for loading minecraft at start. Please note that this creates something that can break your startup if applied inappropriately.

METHOD 2

My recommend method.

You should also look into the scripts that gnome (/home/{username}/.config/autostart) & X server runs to add your

/usr/bin/java /path/to/minecraft

command to.

add the command to run Minecraft to somefilename.desktop as well as a method to verify the network has been properly loaded.
move somefilename.desktop to /home/{username}/.config/autostart/
Profit?


Cross Compiling with Linaro 7.1.1 arm-linux-gnueabihf

Not sure if this is the same problem as me, but I came accross this post when looking for an answer to my own issue.

I ran into similar issue when using an older linux-arm cross compiler from inside a docker container. The issue was the cross compile gcc binary was 32-bit, and the container running make was 64-bit. The make script was reporting "arm-linux/gcc not found"

You can check if it is 32-bit by doing

file absolute-path-to-gcc

for example

root@b61b0b938b8a:~# file /usr/local/arm-linux/bin/gcc
/usr/local/arm-linux/bin/gcc: ELF 32-bit LSB  executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped

To fix this I had to add i386 to the docker container, as in this question

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386


Update January 2020:  I am splitting this answer into 3 parts.

Part 1 (Dec 2016): Running multiple configurations of the same version of Chromium.

I launch four distinct copies of Chromium using the --user-data-dir as follows:

chromium-browser  --user-data-dir=/home/<user>/.config/chromium1
chromium-browser  --user-data-dir=/home/<user>/.config/chromium2
chromium-browser  --user-data-dir=/home/<user>/.config/chromium3
chromium-browser  --user-data-dir=/home/<user>/.config/chromium4

It appears the same command line option works for Chrome:
http://www.ericdlarson.com/misc/chrome_command_line_flags.html

All four copies of Chromium are running the same version of the software, but they have entirely distinct configurations, cookies, caches, etc.

Part 2 (Jan 2020): Manually installing multiple versions of Chromium from Snap.

Starting with Ubuntu 19.10, Ubuntu now distributes Chromium as a snap package.  Ubuntu no longer provides Chromium via .deb packages.
 Consequently, part 3 of this answer is now obsolete.  So... below are instructions for manually downloading, manually installing, and manually running Chromium from snap packages.

Warning:  The below instructions use snap packages in a way that Ubuntu/Canonical most certainly neither intends nor supports.  It is possible that installing Chromium via this method may reduce or compromise Chromium's security.  And/or this method may cause other problems.  Proceed at your own risk!!

Step 1 - Install prerequisites

$ sudo apt-get install curl jq squashfs-tools

Step 2 - Manually find and download a snap package of Chromium

Download a JSON list of the currently active Chromium packages:

$ curl -H 'Snap-Device-Series: 16' http://api.snapcraft.io/v2/snaps/info/chromium >> chromium.info

View the JSON list to find the URL of the package you want.  Note: The JSON list will contain multiple architectures, multiple "risk" levels, and multiple tracks, so be sure to find the right URL.

$ jq . chromium.info | less

Download the snap package of your choice.

$ wget 'https://api.snapcraft.io/api/v1/snaps/download/XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R_NNN.snap'

Note: Your URL will probably look like the above, but with a specific number rather than NNN.

Step 3 - Manually extract the snap package

$ unsquashfs KEcBqPM06H1Z7zGOdG5fbICuf8NWK5R_NNN.snap

As of Jan 2020, Chromium uses 149MB of disk space.

Step 4 - Manually run the extracted copy of Chromium

The extracted package will contain both the chromium browser executable and the libraries it uses.  In order for the browser to find its libraries, you will need to set the LD_LIBRARY_PATH variable.  If you wish to simultaneously run multiple versions of Chromium, you will need to set LD_LIBRARY_PATH appropriately prior to running each different version of Chromium.  Each version will need to find its libraries, and only its libraries.

$ export LD_LIBRARY_PATH=<full_path_to>/squashfs-root/usr/lib/x86_64-linux-gnu

Note:  If your architecture is not x86_64, then you will need change x86_64 in the above.

Then run chromium:

$ <full_path_to>/squalshfs-root/usr/lib/chromium-browser/chrome

Final thoughts:  You may extract the .snap file wherever you like.  You may rename the squashfs-root directory as you like.

Part 3 (Dec 2016): Manually installing multiple versions of Chromium from .deb packages

Regarding installing different versions of Chrome/Chromium, this appears to be trickier, but perhaps not too tricky.  Chromium is launched via /usr/bin/chromium-browser, which is a shell script.  If you look at this script, you see an variable named LIBDIR.  Almost all of the Chromium files are installed inside this directory, so I am hoping that I can manually extract Chromium .deb files to non-standard locations, and then just tweak this one variable.  (Use dpkg to do the extraction.)  Hopefully then I can have different versions installed and running simultaneously.  The chromium-browser shell script even seems to anticipate such a configuration:

LIBDIR=/usr/lib/chromium-browser
# [snip]
readonly UPSTREAM_VERSION="<version>"
if test -x "${LIBDIR}/${UPSTREAM_VERSION}"/chromium-browser; then
        LIBDIR="${LIBDIR}/${UPSTREAM_VERSION}"
fi
readonly LIBDIR

Update:  After attempting the above, multiple versions of Chromium seem to be working.  I have two sets (different versions) of the following packages installed:

chromium-browser
chromium-browser-l10n
chromium-codecs-ffmpeg-extra

The first set is installed by apt-get install.  The section set is installed manually via dpkg -x in a nonstandard location.

After changing the LIBDIR variable in the non-standard chromium-browser script to the appropriate non-standard path, both versions seem to be able to run simultaneously.  I am, of course, using a different --user-data-dir for each version.


How well does Ubuntu work with a dual CPU computer?

Yes, Ubuntu is more than capable of using the Xeon PC you want to buy and detect all CPUs (Physical and Threads). It can also detect, as far as I have tested 4 sockets (4 CPUs) but the kernel version that Ubuntu uses can detect even more. For this case I would suggest the 64 Bit version so you can max out on the performance benefit of all CPUs. Of course, this will also depend on the video editing tools you use. If they are not compatible with running multiple processors, then you will not see much improvement. I for one use for example Handbrake which takes advantage of multiple processors but at the end it all depends on:

Using 64 Bit version of Ubuntu for performance benefits when using multiple processors
Using a video editing app that can actually use multiple processors when doing any processing work.

Recommend reading this questions I just found:

Is Ubuntu optimized for multicore CPUs?

For better performance should I install 32-bit or 64-bit?

Understanding machine config, multiprocessor or multi-core or both?

And others found in the tag multi-core


What kind of harm there is from removing (purging) package apt-xapian-index?

There isn't anything severe. You might lose some functionality (see the description below), but if you don't need it, you can remove the package (just be careful it doesn't uninstall any other packages). If you later find out that it was a mistake, you can install it back again.

Description: maintenance and search tools for a Xapian index of Debian packages
 This package provides update-apt-xapian-index, a tool to maintan a Xapian
 index of Debian package information in /var/lib/apt-xapian-index, and
 axi-search, a command line search tool that uses the index.
 .
 axi-cache allows to search packages very quickly, and it also interfaces with
 the shell command line completion in a smart way, providing context-sensitive
 keyword and tag suggestions even before the search command is actually run.
 .
 update-apt-xapian-index allows plugins to be installed in
 /usr/share/apt-xapian-index to index all sorts of extra information, such as
 Debtags tags, popcon information, package ratings and anything else that would
 fit.
 .
 The index generated by update-apt-xapian-index is self-documenting, as it
 contains an autogenerated README file with information on the index layout and
 all the data that can be found in it.


unity-control-center icons missing when using xsession desktop with awesome window manager

According to https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html, the OnlyShowIn key is matched against the value of the XDG_CURRENT_DESKTOP environment variable.  So we can trick unity-control-center into showing all the panels by running

env XDG_CURRENT_DESKTOP=Unity unity-control-center

This seems to work fine.

Under Ubuntu 17.04 and above, Unity should be changed to Unity7.


Virtualbox recently had a few problems with newer kernels. It might be worth trying to use the latest version directly from virtualbox.org.

To do so, please uninstall the Ubuntu version of Virtualbox, e.g. using apt:

$ sudo apt remove virtualbox

Then, download the package file from virtualbox.org and install it using a package manager of your choice, e.g. using dpkg:

$ sudo dpkg -i virtualbox-5.2_5.2.12-122591~Ubuntu~bionic_amd64.deb

Make sure all necessary dependencies are installed:

$ sudo apt-get install -f

Reboot and try running your VM again.


How to install ubuntu on a lenovo thinkpad x131e

It sounds like you want to install Ubuntu on a school chromebook.

You can't, unless you put it in dev mode first. Also, .exe's don't run on ChromeOS.

Instructions on dev mode and crouton can be found on chromium.org.

https://github.com/dnschneid/crouton

(It'll wipe your machine)


No wifi options Ubuntu 16.04 LTS - running on an old MacBook Air

Evidently, the failure to build issue is a bug that was fixed in later versions of bcmwl-kernel-source. https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1724863

I suggest that you download this package on some other computer and put it on a USB key or similar. http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu3_amd64.deb Transfer it to the Ubuntu computer to some convenient place such as the desktop. Now, in the terminal:

cd ~/Desktop
sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu3_amd64.deb

Note any errors and post them. If there are no errors, load the module:

sudo modprobe wl

NOTE: This assumes yours is a 64-bit installation; check:

arch

If the terminal returns x86_64, then the 64-bit package referenced above is correct. If not, then this is the package you need instead: http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu3_i386.deb


Perhaps you're confusing two usages of the phrase "zero bytes"

a count (zero) of bytes (/dev/null)
a (non-zero) count of bytes whose value is zero (/dev/zero)

The difference is probably best illustrated with an example:

Reading from /dev/zero

$ dd if=/dev/zero bs=8 count=1 | od
1+0 records in
1+0 records out
0000000 000000 000000 000000 000000
8 bytes copied, 0.000207568 s, 38.5 kB/s0000010

returns a stream of bytes whose ASCII value is zero ("null bytes"); whereas attempting to read from /dev/null

$ dd if=/dev/null bs=8 count=1 | od
0+0 records in
0+0 records out
0000000
0 bytes copied, 0.000168108 s, 0.0 kB/s

returns 0 bytes.


if you're using Ubuntu 64bit. Using the following command (Change i386 library to amd64):

sudo chroot "/mnt/boot-sav/sda10" apt-get purge -y --force-yes grub*-common grub-common:amd64

It will work.


Please modify your question to include requested output from https://wiki.ubuntu.com/Audio/AlsaInfo and https://wiki.ubuntu.com/PulseAudio/Log.

EDIT: The key here is from your kernel ring buffer:

[   96.336021] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x10a90000
[   97.340025] hda-intel: No response from codec, disabling MSI: last cmd=0x10a90000
[   98.344037] hda_intel: azx_get_response timeout, switching to single_cmd mode: last cmd=0x10a90000

Firstly, make sure you're using the latest alsa-driver snapshot: https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules. Note that this isn't a driver problem per se but a bios+hardware+codec issue, and we may be able to work around it in the driver.

Secondly, try appending the following line to /etc/modprobe.d/alsa-base.conf and rebooting only once you've rebooted into the latest daily alsa-driver snapshot and verified it is insufficient:

options snd-hda-intel single_cmd=1


It looks like GNOME schedule isn't being actively developed, although you can still get the source code and try building it yourself.

There are some that suggest using GNOME when is a good replacement for GNOME schedule.  The Github page contains both a .deb file and PPA that you can install from if you don't want to build from source.  When even has an alternative GUI if you don't like the current interface.

To install When from the PPA, do the following (from the when instructions):

sudo add-apt-repository ppa:franzg/when-command
sudo apt update
sudo apt install when-command

Note: The update step should be unnecessary in 18.04, but it doesn't hurt to run it anyway.


Locate power-hungry USB device seen in powertop

You need to enable USB autosuspend mode for the bluetooth device.

I suggest to install TLP to achieve this. TLP's default configuration will enable autosuspend for all USB devices except (externally attached) mice and keyboards.

In case you don't use bluetooth at all, you may even disable it at boot time by enabling the following line in TLP's configuration:

    DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"

Btw: the XPS13 2015 Ubuntu 14.04 factory install contains TLP.


Ubuntu 18.04 on Macbook hangs *EVERY time in desktop environment

Well, I'm happy to report that my issue seems more or less resolved (I say more or less, because I have experienced one more hang). It took patience and persistence, and maybe a little luck, but here's what I did...

I made installing the NVIDIA drivers my number one priority.
It took several tries (hard reboots), but every time I logged into Ubuntu, I tried to install the NVIDIA and Broadcom drivers. This is well documented on the web, but just for completion's sake, I went the GUI route and opened Software & Updates>Additional Drivers.

After that was done, and I honestly don't remember at this point if it was during the same session, I wanted to wait a couple days and see if I got a response on this forum, and/or could find a fix on my own before I posted further... I opened up Terminal and ran the following, as one continuous line with spaces included:

sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
Apologies, I don't yet know how to do the nice-and-neat box thing, I may update that later. I originally found this on Medium at https://medium.com/@gspasov2/how-to-fix-ubuntu-18-04-lts-random-freezes-52bb75d55c70, but the line as shown there didn't work for me (I think it's a webpage rendering problem), so I found the correct line on Cannot fully install hwe stack on 18.04.2  when I Paste it into a web search. Thanks, Sergei, Brandon, and AskUbuntu community!
Luckily, I didn't seem to have the same issues that Brandon had, I restarted eventually and ran my first long Ubuntu session, and things have been working pretty smoothly so far, even with restarts, boots between different OS sessions, etc. Like I mentioned, I did have a hang yesterday, but no OS is perfect, and I had several flawless Ubuntu sessions before that one, so I think it's okay now, but I'll update if I start seeing the problem again soon.
So, my takeaways on this:

The installation of drivers appropriate for your hardware (graphics and networking) should probably be a number one priority after installation and successful booting. I don't think that alone made the ultimate difference in my case, but what I've gathered on many forums and articles seems to support this.

If the system freezes or hangs, you may have to reboot several times and simply wait and hope for the time where you can keep it going long enough to get to where you can install your drivers and apply any other fixes, possibly including the line
above which ultimately seems to have helped me and at least 2 other people. I know, waiting and hoping for that moment doesn't sound reassuring and in practice is excruciating. Give yourself and your system a chance to rest if you keep having issues.

Related to the last point, I theorize that Ubuntu has to "register" that you've finished the Welcome portion completely before you may get to a point where it will remain stable enough for you to install the drivers and run that command. The first several times in my case was where the system would hang.

If you're even reading this, you're hopefully either taking the same approach, or if you're not, it may be too late, but in my opinion, it's HIGHLY advisable to either keep a partition with your previous OS (with backups on an external drive), or have a second, stable computer to work with until you can get your Ubuntu running stably. That's just a noob's word to other noobs, and I'm sure I'll be asking noob questions for a while, but since no one else so far has added to this thread, I'll say that just to hope anyone may find it helpful.

There's the virtual machine option, of course, but I personally can't advise on the ins and outs of that yet, since I didn't try that here.
I know I've been lengthy here, and for more experienced Linux users, I bet much or all of what I've written here may sound trite and amateurish, which I'm sure it is, but I'm here to learn, and I welcome any feedback, corrections, or additional info. Just hope that someone will find this heplful.


Unable to use or open Notepad++ after installation

That issue is due to big changes made to the snap. This is now using 64bit version of Notepad++ with wine64 on amd64 systems and 32bit version of Notepad++ on i386 systems. This snap is now using wine-platform snap so this has both i386 & amd64 wine pkgs earlier it was using wine-platform-i386 snap which only had wine i386 pkgs. So currently migrating to wine-platform snap from older wine-platform-i386 snap which is not done automatically when user updates the snap caused issue. I'm currently pushing changes to detect if user is still connected snap on older platform should ask to do these commands.

Run these commands will fix your issue.

snap disconnect notepad-plus-plus:wine-platform-plug
snap install wine-platform
snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable

If issue still exists then you have to remove win32 WINEPREFIX in order to create win64.

rm -r $HOME/snap/notepad-plus-plus/common/.wine


Try the following methods

From the command line

Try to install with the following command

sudo apt-get install the-program-package  # general
sudo apt-get install htop                 # example (small package)
sudo apt-get install libreoffice          # example (big package)

Text after the # character are comments (not used).

If there are problems, run the following commands.

Oldfred's command list for cleaning and repairing

#houseclean
sudo apt-get autoclean # only removes files that cannot be downloaded anymore (obsolete)
sudo apt-get clean

#refresh
sudo apt-get update #resync package index
sudo apt-get upgrade #newest versions of all packages, update must be run first

#would upgrade you to the latest kernel in the repositories
#dist-upgrade is also able to remove existing packages if required
sudo apt-get dist-upgrade

# fix Broken packages -f
sudo apt-get -f install
sudo dpkg --configure -a

# Remove lock
# If you are absolutely sure you do not have another upgrade process running.
# Locked dpkg - only if sure you are not running another update.

sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a

added zika's tip for problems with hash sum mismatch

sudo rm /var/lib/apt/lists/*
sudo apt-get update

added 2F4U's tips for Package Manager & Update Manager problems

Does executing these commands help?

cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update

This will rebuild the cache.

If it doesn't help, this forum thread has additional suggestions:

http://ubuntuforums.org/showthread.php?t=1869890

Synaptic Package Manager

Try to install Synaptic with the following command lines

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

and start it

from  dash in standard Ubuntu or
from menu - system tools in the other Ubuntu flavours (Kubuntu, Lubuntu, ... Xubuntu).

Synaptic is a little more difficult to use compared to Ubuntu Software, but Synaptic is a very powerful and reliable tool. If you manage to install it, I think that you will be able to use it to install the program packages, that you want to install.

Other repositories

It is also possible that you need some other repository to download the program packages that you want. Please edit your question to tell us which program packages, that you are trying to install.


Ubuntu 16.04 - Wifi hard blocked in Acer ES1-521 laptop

I had same issue with Acer ES1-521 laptop. Following Link here, I did the following and it worked fine.

blacklist acer-wmi

to my /etc/modprobe.d/blacklist.conf. Then a quick reboot and wireless network detected and working fine from then on.


Is is possible to render ONLY Compiz with Unity3D using llvmpipe?

which driver are you using? best idea seems to install your drivers with jockey. as far as i know llvmpipe isnt supported yet. i had heard rumors that it will be introduced in ubuntu 12.10. But i wont expect too much from llvmpipe. It is most likely that llvmpipe will be much slower than using the properity drivers.


How to quickly access shared files in Ubuntu 14.04 from Windows XP in VirtualBox?

Windows sometimes doesn't see other machines, something to do with NetBIOS broadcasts?!. it should always be available through direct \\IP_ADDRESS in explorer (note the 2 backslashes). You can also access it using the PC name \\VBOXSVR.

This info here is windows 7 but its the same process, Just add the required shared network path as a Network drive so you can just access it with a drive letter in future.

I think it also helps if both machines are set to the same Workgroup name.


Copy xfce4 configuration files from one user to another

I got the error, it was so obvious but I didn't see it.

When I run

sudo cp -r --preserve /home/template/.config /home/user1/.config

the effect is that it creates a new directory .config inside /home/user1/.config.

The right script would be:

sudo cp -r --preserve /home/template/.config /home/user1/


Some characters like quotes only appear after pressing spacebar, how to change this?

It sounds like you have a keyboard layout with dead keys selected.  In this mode, pressing " followed by something like a will generate the character ä.  Pressing Space cancels the dead key behaviour to give you a plain quote character.

You can turn off dead keys support as follows:

From System Settings, open the Keyboard Layout control panel.
Click the button marked with a plus sign in the lower left of the window, and add the new layout.  For example, if you currently have English (US, international with dead keys) selected, add English (US).
Remove the old keyboard layout by selecting it in the list and pressing the "minus" button in the lower left of the window.


The Ubuntu Startup Disk Creator in the Ubuntu 14.04 LTS family (including Lubuntu) is buggy. The new version introduced in version 16.04 LTS is a cloning tool and much more reliable.

You can use another cloning tool in order to make USB boot drives in Lubuntu 14.04 LTS, for example Disks alias gnome-disks, which is part of the release, and mkusb, which you can install from a ppa according to the following link.

help.ubuntu.com/community/mkusb

sudo add-apt-repository ppa:mkusb/ppa  # and press Enter
sudo apt-get update
sudo apt-get install mkusb mkusb-nox usb-pack-efi

Cloning is a very reliable method to create an Ubuntu USB boot drive, and will eliminate several problems. But there are other things, that can cause problems, for example

Bad download: Please check that the md5sum of the iso file matches the listed value at

help.ubuntu.com/community/UbuntuHashes
ACPI, APIC ... : There may still be problems that can be worked around with boot options.
graphics: You may have problems with the graphics chip/card, that can be fixed temporarily with the boot option nomodeset and later on fixed in the installed system with a proprietary driver.

Edit: Now that I know that you have an nvidia card, I think that you need the boot option nomodeset to run with simple graphics, and after installation you should install a proprietary graphics driver. There are several questions with good answers about that at AskUbuntu, for example How do I install the Nvidia drivers?
wifi: You may have problems with the wifi chip/card, that can be fixed in the installed system with a proprietary driver.

You help us help you, if you specify your computer, at least

Brand name and model
CPU
RAM (size)
internal drive (size)
graphics chip/card (brand name and model)
wifi chip/card (brand name and model)


You could try to install the Cpufreq extension (https://extensions.gnome.org/extension/1082/cpufreq/) which should give you a gui to set the cpu limits.


How to install Ubuntu along side with Windows 8 in the legacy mode on a acer V5 laptop

If you've installed Windows in BIOS/CSM/legacy mode, then you should be able to install Linux in BIOS/CSM/legacy mode just as you would on an older computer. The main caveat is that, if you used Windows to repartition the disk in MBR mode (rather than the GPT that it presumably used before), Windows will not have completely wiped the GPT data, and this will confuse the Ubuntu installer. To fix this problem, run my FixParts program on the disk. It will detect the stray GPT data and offer to wipe it out. You can run either the Windows version of FixParts or the Linux version from a live CD.

OTOH, if you've installed Windows in EFI/UEFI mode, you should read my page on Linux EFI-mode installations and the Ubuntu wiki on EFI. Between the two, you ought to be able to get it running, provided your firmware isn't one of the most badly broken ones.


GUI won't load properly after update 19.04

Software Updater --> Settings... --> Additional drivers --> NVIDIA: Change using X.Org X server to NVIDIA driver from nvidia-driver-435, fixed my issue.


How to cleanly install Meteor on Ubuntu 16.04

You can do the download in steps

curl -o new_meteor  https://install.meteor.com/  # output to file new_meteor

bash  ./new_meteor  #  examine this file prior to executing it here

you will notice that curl command is just downloading a meteor download manager script new_meteor  ... then execute new_meteor  using that bash command to perform the actual install ... here is output

bash ./download_meteor

Downloading Meteor distribution
######################################################################## 100.0%

Meteor 1.5.1 has been installed in your home directory (~/.meteor).
Writing a launcher script to /usr/local/bin/meteor for your convenience.
This may prompt for your password.

To get started fast:

  $ meteor create ~/my_cool_app
  $ cd ~/my_cool_app
  $ meteor

Or see the docs at:

  docs.meteor.com


Is it possible to use hand cursor in evince?

As Nephente says, the middle mouse button does that.

From help documentation (Evince document viewer):

  Dragging the page around with your mouse, as if you are grabbing it. To do this:

  Move the mouse pointer over the page and hold down the middle mouse button to drag it around.
  If you don't have a middle mouse button, hold down the left and right mouse buttons at the same time, then drag.


GParted cant make new partition by resizing

WARNING: BACKUP ANY IMPORTANT DATA BEFORE MODIFYING PARTITIONS!
/dev/sda5 "looks" full (because it's not a regular partition)

you can't make it smaller unless you delete some stuff
you can't make it larger because it's already at its largest size, based on disk size
it's in an extended partition
there's no room to add a partition for Windows
its part of a lvm set

Your disk partition /dev/sda5 is part of a lvm set, and as such, you need to use lvm utilities to manage it. Install system-config-lvm, and start Logical Volume Management from the Unity dashboard to resize lvm partitions. Or use the Disks application, which is already installed in Ubuntu, and on the Ubuntu Live DVD.
Logical Volume Management
in terminal:

type sudo apt-get update
type sudo apt-get install system-config-lvm
quit terminal
open the Unity dashboard
type lvm
start Logical Volume Management

alternative Logical Volume Management

it was just pointed out that the Disks application supports lvm directly. Just start it from the Unity dashboard. It's also available on the Ubuntu Live DVD. It may be even easier to use than Logical Volume Management... but install it anyway, 'cause it's kind of fun to see it visually.


nslookup Non-authoritative answer wrong server

"Non-authoritative answer" is expected output when the DNS server that returned the result to you is not directly the authoritative nameserver for that domain.


Can I make a user's home directory be /var/www/html for vsftp?

Yes it is a permission error take a look on this tutorial:

  FTP is generally more secure when users are restricted to a specific
  directory.vsftpd accomplishes this with chroot jails. When chroot is
  enabled for local users, they are restricted to their home directory
  by default. However, because of the way vsftpd secures the directory,
  it must not be writable by the user. This is fine for a new user who
  should only connect via FTP, but an existing user may need to write to
  their home folder if they also shell access.

  In this example, rather than removing write privileges from the home
  directory, we're will create an ftp directory to serve as the chroot
  and a writable files directory to hold the actual files.

  Create the ftp folder, set its ownership, and be sure to remove write
  permissions with the following commands:

sudo mkdir /home/sammy/ftp
sudo chown nobody:nogroup /home/sammy/ftp
sudo chmod a-w /home/sammy/ftp

If you try to connect to the ftp and the user can write the folder then it wont connect, you need to add to the root folder the owner nobody:nogroup, so if you want to keep things simple just point your server to the folder where the user can write in your case:

sudo usermod -d /var/www exampleuser

This is because you want to write on HTML folder

sudo chown nobody:nogroup /var/www
sudo chmod a-w /var/www

Modify your server conf file and point to the new location which will be HTML this solution helps a lot if you really want to use Very Safe FTP


Let root (/) partition on external drive be loaded by /boot on internal HDD

/boot is a subdirectory of /, so not sure you can do what you think here. My suggestion is to install to the SSD in normal BIOS mode and simply enable legacy BIOS in the PC. Boot the PC and press F10 (or whatever) to select your boot device and choose the SSD whenever you need.

Also, UEFI typically works best with GPT partitions and BIOS with MBR. Trying to make something hybrid might just be more effort than its worth IMHO.

Don't be too afraid to use Legacy BIOS and MBR, it works. This is how I boot from my SSD across multiple machines. I have ISO images bootable from GRUB and a few installs I like to play around with all on one SSD.


Ubuntu 17.10 not detecting bluetooth mouse

Had the same problem after upgrade to 17.10.
For my intel bluetooth adapter disabling bt_coex_active solved it.

It uses iwlwifi so adding the text above in /etc/modprobe.d/iwlwifi.conf disables it, you can do it in one line:

echo "options iwlwifi bt_coex_active=0"|sudo tee --append /etc/modprobe.d/iwlwifi.conf

then you should restart your computer or you can reload your wifi modules. Again in one line:

sudo rmmod iwlmvm iwlwifi && sudo modprobe iwlmvm


Test this:

Open a terminal,Press Ctrl+Alt+T

Run it:

sudo -i
adduser $USER dip
adduser $USER dialout
pppconfig

You will be on the main menu ---- Choose ---- Create Create a connection.

Leave the name as ---- provider ---- hit Ok.

Select ---- Dynamic Use dynamic DNS ---- hit Ok.

Select ---- PAP Peer Authentication Protocol ---- hit Ok.

Enter ---- your user name for the ISP ---- hit Ok.

Enter ---- your password for the ISP ---- hit Ok.

Leave the speed at ---- 115200 as recommended ---- hit Ok.

Choose ---- Tone or Pulse dialing ---- hit Ok.

Enter ---- the phone number to your ISP (do not use any dashes) ---- hit Ok.

You can try to have your modem detected automatically.

If the modem wasn't detected, it will ask you for the port your modem is on.

Enter ---- the device name for your modem ---- hit Ok.

Choose ---- Finished Write files and return to main menu.

Choose ---- Quit Exit this utility.

Exit the terminal window, type:

  exit
  exit

Connecting to the ISP:

Open a terminal,Press Ctrl+Alt+T

Run it:

   pon

Disconnecting to the ISP:

Open a terminal,Press Ctrl+Alt+T

Run it:

   poff


How can I unmount user-mounted disks under /media/$username from the command-line?

The quickest way is to add your user in /etc/group under the group sudo which will give you the proper right to run sudo umount /media/$username/$diskname

If you don't want to enter your password, you can define a special rule with visudo:
$username ALL = NOPASSWD: /bin/umount


Extremely slow computer (Dell Optiplex 270)

Thank you for the comments and suggestions.  I have now installed Lubuntu (did so from scratch) and the computer is now quite usable.  Indeed, the hardware is very old but I am impressed that I am able to work with the latest version of Ubuntu and make it a decently running computer.

On the other hand, I had never worked with Lubuntu and, after being an Ubuntu user (exclusively) for over 10 years now, I feel I am going backwards in time as the user interface is lacking so much of Ubuntu's usability. Mainstream Ubuntu developers have done a tremendous job and I guess I have grown to take things for granted.  As for Lubuntu, it will just take a bit to get used to, it comforts me to know that under the hood it is still the same great OS.


sudo apt-get -o DPkg::options::=--force-confmiss --reinstall install unity-scopes-master-default

sudo apt-get -o DPkg::options::=--force-confmiss --reinstall install unity-scopes-runner

sudo apt-get -o DPkg::options::=--force-confmiss --reinstall install unity-scope-home


/var/log/Xorg.0.log is for X Window system level log.

For application log, or application related X Windows error, try ~/.xsessiion-error.


How to install a LibreOffice Language Tools (Spelling Check, Thesaurus...)

This is apparently managed at the system level. Go to the Language Support menu in the System Settings menu and add the languages you want to support. After that restart LibreOffice and you will see that the spellchecker for example will give you  the option of using the newly installed languages.


try reinstalling the graphics driver

first answer on link below
Graphics issues after installing Ubuntu 16.04 with NVIDIA graphics


Upgraded from Ubuntu 18.04 to 20.04. Xen now has problems with hvm VMs

Distribution upgrade log from 18.04 to 20.04 stated that it could not find
version 4.9 of xen utils (when it was supposed to be installing 4.11).
I tried removing xen and then reinstalling it (from Ubuntu using apt), but this
did not resolve the problem. So I removed both xen and qemu, then re-installed
xen-hypervisor-amd64.  This has pulled in a version of qemu that now supports
the -xen-domid switch on qemu-system-i386. xen-service now reports running OK
and my windows 10 VM now works as before.


Midnight Commander and Double Commander are already in the 18.04 repos, you just have to install it.

Judging by the errors you're getting, however, your system doesn't know that mc is actually installable and doesn't know what packages are available, so start with an update and then try and install:

sudo apt-get update
sudo apt-get install mc

You can install Double Commander by replacing mc with either doublecmd-gtk or doublecmd-qt in the command, if you wanted to.


The /usr/lib/x86_64-linux-gnu/samba/libmsrpc3.so.0 library came
from samba-libs package (checked on packages.ubuntu.com search) so consider to reinstall it with

sudo apt-get install --reinstall samba-libs


Can't send ENTER key in Vim and ncurses apps under Byobu and Tmux

That's very odd. It is working outside tmux, yes?
Does it still happen if you run tmux without a config? Start a new tmux with tmux -Ltest -f/dev/null new and see if the problem exists with it too. If not then you will need to look at your config and see what it causing it.
The only other things I can think are to check if your terminal is actually sending C-m for Enter (you can run cat then press the key and see what is sent), or something to do with the kent capability in the terminfo entries. But they would be fiddly to test and why should they be wrong on Ubuntu anyway and just for you? Maybe try making sure your ncurses packages are up to date.


Do the installation using the 'Alternate' version of Ubuntu and not the 'LiveCD'. Installation from a LiveCD really does require about 4.6Gb of space to do the installation, even though a fresh installation of Ubuntu does take up less than 4Gb.

The text-based Alternate installer will do it all in something like 3.5Gb so there'll be no disk space issues during the installation. I've done this a few times before with 4Gb flash drives so can verify that it works fine this way. You'll need to download an Ubuntu Alternate .iso image from here : http://www.ubuntu.com/download/ubuntu/alternative-download

The text-based installer can be a bit daunting the first time, so check this guide to get an idea of what you're in for : http://www.psychocats.net/ubuntu/minimal


That is not an error. To resolve this issue, simply open up a terminal window and enter the following command:

rm /etc/apt/apt.conf.d/20auto-upgrades.ucf-old


I don't know if it is still the case with gcc-4.6, but in earlier versions you needed to append the libraries you wanted to link against. Try:

gcc-4.6 -L/usr/local/oracle/product/11.2.0/dbhome_1/lib advarc.o wintbx.a winlib_o.a -lcurl -m64 -lpthread -lclntsh  -o advarc

(I changed the order of the arguments)


try using the proprietary nvidia driver and see if that helps. It may be related to the nvidia video drivers.

sudo apt-add-repository ppa:xorg-edgers/ppa

sudo apt-get update && sudo apt-get install nvidia-current nvidia-settings


Xenial doesn't ship with PHP 5.x packages, so I am assuming you are using Ondrej Sury's PPA

The bzip2 plugin is contained in php5.6-bz2, and you will need to install it.  Once it is installed, you will need to restart the PHP processor.

If you are using Apache with PHP, and the PHP module that can be embedded in Apache, restart Apache.  If you are using php5.6-fpm or similar, restart that service.

The bzip2 plugin should then be available.


Yes, I had this problem too, when trying out all the desktops on 17.04. All fine until I tried Gnome on Wayland...

From searching for an answer I believe this is some kind of problem with Unity 8.  To fix it, you have to remove Unity 8!  Not easy when all you have is a blank screen with our without a flashing cursor.

First, interrupt the normal boot process and go into Grub (ESC or sometimes TAB while booting)

In Grub, go into 'Advanced options for Ubuntu' and scroll down to the first (Recovery) entry - there may be a few.  Hit 'enter'

This will bring you to a white screen (looks a bit old school) with various options.  Select the root option.

Now you have a prompt and root privileges.  Type in:

apt-get remove unity8-desktop-session

You have root so probably don't need sudo

At this point, I got an error message to say my file system was read only!  All I did them was removed all my USB drivers and ran

sudo fsck -Af -M

Then went back and did the apt-get remove line again.

Rebooted and all now working.


Two easy options, both available in the Software Center:

GDMAP

Filelight

If neither of these meet your needs,edit your question with the specific features you want. That helps us understand your question better.


Trouble Dual Booting Ubuntu 14.04.5 and OS X

Before proceeding further, you should understand that EFI-mode booting is not about booting partitions; it's about booting files. This fact doesn't alter the mechanics of day-to-day booting, but it's critical for debugging boot problems and doing manual boot loader and boot manager installations. In BIOS, boot loaders reside in the Master Boot Record (MBR; that is, the first sector) of the hard disk and in the first sector (sometimes called the Partition Boot Record, or PBR) of partitions. Thus, it's sensible to talk about "booting a partition" or something similar, on a BIOS-based computer. Under EFI, though, boot loaders are stored in ordinary files on a FAT partition called the EFI System Partition (ESP). (On Macs, boot loaders can also reside on various HFS+ volumes.) Thus, "booting a partition" is pretty much meaningless under EFI. (One partial exception relates to the fallback filename, which is EFI\BOOT\bootx64.efi on AMD64 systems; this filename is booted if no other registered boot loader can be found. It's most often used on removable media to make them bootable.) If you think your EFI-based computer, such as a Mac, is "booting a partition," you're likely to go on a wild goose chase when trying to debug boot problems. That said, I don't think your problem is fundamentally about the boot process, although it could be there's a tie-in somewhere....

For your specific problem, I have three suggestions:

Re-install rEFInd from OS X. Chances are your initial installation lacked an EFI filesystem driver for ext4fs (or whatever filesystem holds your Linux kernel). Re-installing now, after Ubuntu has been installed, should cause the refind-install script to set up the ext4fs driver, which will enable rEFInd to boot the Linux kernel directly. This may work better than going through GRUB. Note, however, that if you're using a filesystem other than ext4fs, you should instead install the appropriate filesystem driver manually. (See this page of the rEFInd documentation for details.)
See this question and its answers for information on "black screen" problems. These problems were rampant about two years ago, but have become much less common today. Causes were varied, so you may need to try multiple solutions.
Instead of installing the 2.5-year-old 14.04, install the 16.04.1 or 16.10 version of Ubuntu. These distributions include newer software and so may work around the problem you're encountering. (Of course, the 14.04.5 you're using includes updates to some critical components, such as the kernel; but it's still behind the times on other software, which might be the cause of your black-screen problem.)


Install CompizConfig Settings Manager (via the software center)

open CompizConfig and click on desktop wall

now go to the Bindings tab and click 'Move with window within wall'.

Here you should be able to change the key bindings of moving up and down with window.


It seems this bug has been reported before:
https://bugs.launchpad.net/ubuntu/+source/indicator-applet/+bug/537383

Your information seems to be useful since the bug was closed due to lack of information (given the number of people who reported themselves as affected I don't believe this should have happened).

You could try to reinstall the packages:

sudo apt-get install --reinstall indicator-applet indicator-messages indicator-sound


Append multiple digits to the end of eatch lines

You can use a shell loop:
for f in /sys/class/hwmon/hwmon[0-9]/temp[0-9]_input ; do echo "$f" "$(< $f)"; done

Or, use grep -H to output the filename:
grep -H . /sys/class/hwmon/hwmon[0-9]/temp[0-9]_input


The WineHQ PPA does not have a Release file

You need to contact WineHQ for this.
As of right now, Wine upstream does not have a Focal version published in their repositories.  Only they can fix it.


I believe it is in:

System Settings -> Universal Access

under the "seeing" tab.


PDF:

In the terminal:

pdftotext YOUR_PDF.pdf YOUR_PDF.txt
grep -ci 'word'  YOUR_PDF.txt

Edit:

One-liner : pdftotext YOUR_PDF.pdf - | grep -ci 'word'


Persistent USB stick + installer + Windows-friendly storage

Casper-rw does not make for a Windows friendly file or partition. Linux home is not easily accessible in Windows
A persistent Ubuntu install uses the FAT32 filesystem, which Windows can see.
Any data that you save in the drives root can be accessed by Windows.
Any data saved in the drives root can be accessed while running the device by going to filesystem/cdrom.
You need to be root to do so.

In other words, do a persistent install, add a folder named Windows and save data to it as normal.

If you do not require the ability to install Ubuntu from the drive you can do a Full install using manual partitioning, ("Something Other")
You can make the first partition FAT32 or NTFS and the second partition ext2, 3 or 4 for use as /, you may also want swap space.

With a full install you can do updates and upgrades just like an install to internal drive.


Extending Apache charm to include Apache Modules

Including additional Apache modules is a great idea and seems like it could be very helpful in the core charm itself. What I'd recommend doing is implementing this via the config.yaml & hooks/config-changed so you could not only change what additional modules were installed but also add/remove modules on the fly. Then I would open a merge request against the current charm to have it included by default. Charms are pretty extensible and often time if you find a general need a charm doesn't fullfil, you won't be the only one.

So if you do make a change to a charm (and don't wish to maintain a fork) consider submitting it to be merged in to the Charm Store version of the charm by uploading the branch to lp:~<your-launchpad-username>/charms/<series>/<charm>/<branch_name>. Most of the time series will be the LTS name (precise, for example), charm would be "apache2", and the branch name can be anything, most people choose "trunk". Someone from the ~charmers team will review and provide feedback on your changes and, if it passes inspection, will just be merged to be part of the actual charm itself!


How can I delete my trash/move files to trash?

Because I think you are saying is that you want to move files to the trash.

All you really have to do with out using the terminal you just pick the file you want send to the trash right click and go down where it says Move to Trash.


ssh no longer allows public key authentication

If public key authentication doesn't work: make sure that on the server side, your home directory (~), the ~/.ssh directory, and the ~/.ssh/authorized_keys file, are all writable only by their owner. In particular, none of them must be writable by the group (even if the user is alone in the group). chmod 755 or chmod 700 is ok, chmod 770 is not.

What to check when something is wrong:

Run ssh -vvv to see a lot of debugging output. If you post a question asking why you can't connect with ssh, include this output (you may want to anonymize host and user names).
If you can, check the server logs in /var/log/auth.log.
If public key authentication isn't working, check the permissions again, especially the group bit (see above).


I have tried switching terminals and found out that the problem is caused by roscore command being run in another terminal. Once roscore was terminated, prompts started to work.


Resize partitions after migrating to larger SSD (extended partition)

Changing partitions on the fly is dangerous!  Make a full System backup using CloneZilla Live First!
As /dev/sda6 is inside an extended partition with no contiguous space behind it, you need to:

Grow the /dev/sda3 partition with the amount that you want to increase /dev/sda6.
move /dev/sda5 to rightmost boundary of the above
extend /dev/sda6 with the space now available to its right

To be able to resize /dev/sda2, I would:

move /dev/sda3 completely to the right
reboot to test
expand /dev/sda2 but leaving 10% of the disc unallocated!
(that way, you can still expand sda3 to the left or sda2 to the right in the future!)

Done!  :-)


To which user you want to change to?

The problem is that you are trying to "su" into a user that does not have a shell assigned to it. Most of the users such as mysql, pulse, etc, created by the system or by some packages when you install software does not have a shell assigned.

You can check if a user has a shell assigned by looking into the /etc/passwd file, just look at the end of the line of each user, if it says /bin/false it means that it does not have a shell assigned, if it has something like /bin/bash or any other shell, then you should be able to "su" into that user.

When i say "shell assigned" it basically means that it has "shell access"

still if the user does not have shell access, you can always execute commands as that user with

 sudo -u user command


How to override the system locale on a single command?

The environment variables to override with the locale you wish to use are LANG, LC_ALL, and LANGUAGE. Some apps will handle some of these differently, but generally just setting LANG should work. You can run a command in the terminal with it, like LANG=es_ES locale. The locale command will show the current environment variable settings for your locale.


System Settings doesn't close and continuously changes focus to itself from any other window

This was a bug that has since been patched. The version of unity-control-center shown in your output from apt-cache policy unity-control-center is out of date.

I issued the following commands:

sudo apt-get purge unity-control-center

sudo apt-get install unity-control-center

sudo apt-get install unity-control-center-signon

Note the change in output.

$ apt-cache policy unity-control-center
unity-control-center:
 Installed: 15.04.0+16.04.20170214-0ubuntu2
  Candidate: 15.04.0+16.04.20170214-0ubuntu2


LTS releases have two available kernel series, the GA versions and the HWE versions:

GA (General Availability) is the kernel version with which the Ubuntu release got initially releases, which was 4.4 for Ubuntu 16.04. The metapackage providing GA kernels is linux-generic
HWE (Hardware Enablement) is the backported kernel version from the latest Ubuntu release, i.e. currently from 17.10, which is kernel 4.13. It contains support for the latest hardware (therefore the name) and other feature updates. The metapackage for HWE kernels in 16.04 is linux-generic-hwe-16.04.

If you install 16.04.0 or 16.04.1 (the initial release or first updated point release of 16.04), you get the GA kernel series as default.

If you install a later point release (16.04.2 or later, released after the next normal Ubuntu release), you get the HWE kernels by default.

Not sure why exactly an apt dist-upgrade would install the GA line later, but if you're already booted from the HWE (4.13) kernel, it should be safe to uninstall the GA series using:

sudo apt remove linux-generic
sudo apt autoremove

This should remove all packages related to kernel 4.4, but still check the list of packages to get removed for any other things you wouldn't want to get rid of.


In short because git's configuration is a simple key/value database. To change the configuration, you need to tell it both the config key and the new value.

As for syntax, as long as it doesn't interfere with the Bash syntax, anything goes. The reason some people use named arguments (as opposed to positional arguments) is it makes them easy to be in any order and optional. The parser is completely application specific. One example is Python's argparse module.


Is XFS a distributed file system or a journaling file system?

It appears you may be confusing XFS (a journaling file system) with xFS which appears to be something entirely different. Case matters.......


Purple screen delay at Ubuntu 11.04 boot

ubuntero. Hello, ubuntero. You mean the screen is left in purple after giving Ubuntu in GRUB?
That is booting Ubuntu. Actually, you should see the logo and a moving dot , but often not. I send you a link to a post I found, and now I will try it on my PC:
http://lamaquinadiferencial.wordpress.com/2010/05/16/como-arreglar-el-logo-de-arranque-de-ubuntu-lucid-lynx/
Greetings from Spain;)
P.S if a command is called "sudo aptitude", change it to "sudo apt-get".

Hola, ubuntuero. ¿Quieres decir que la pantalla se te queda en morado después de dar a Ubuntu en GRUB?
Eso es el arranque de Ubuntu. En realidad, debería aparecer el logo y unos "ciculitos" de carga, pero muchas veces no es así. Te envío un enlace a un post que encontré, y que ahora voy a probar con mi PC:
http://lamaquinadiferencial.wordpress.com/2010/05/16/como-arreglar-el-logo-de-arranque-de-ubuntu-lucid-lynx/
Saludos desde España ;)


The following command gives you the installed version, if you installed the package via the ubuntu repository

apt-cache policy pure-ftpd


How can I remove a dpkg broken by the Brother MFC-8840 deb driver?

I just installed the package and could reproduce the problem.

This command has solved the problem:

sudo rm /var/lib/dpkg/info/mfc8840dlpr.*

This removes the installation files the mfc8840dlpr package, which will prevent any further automatic attempts to complete installation. This will also leave the system in a state of thinking that the mfc8840dlpr package is installed, when really it is perhaps not.


System does not boot up without connected to external monitor via HDMI

After regular updating my ubuntu I had issue with external monitor, but it may help you to see how to fixed it, there was no output in my HDMI monitor, no matter what I tried, changed the monitor and cable several times.

here's how I solved it:

I tried to boot using HDMI and it fixed everything!

inside BIOS I changed 'boot display' to HDMI

It may solve your problem


what is the best lightweight monitoring system run under nginx?

I've previously had experience deploying Munin. It's fairly good if you want to track the basics (CPU/Disk IO/RAM/Network IO) and you can extend it if you want.

It generates static HTML files in /var/cache/munin/www that you can just point nginx at.

It's pretty much as simple as that but you can also have Munin monitor the status of nginx. This tutorial as as good as any of the others.


Terminal says Chromium is installed but I can't find it?

If simple doing a reboot wont get you the chromium-browser in your dash you can as well kick-start it from terminal and at least lock its icon in the launcher. To do so open a terminal (ctrl+alt+t) and type:

chromium-browser

When it is opened you can right-click its icon in the launcher bar and choose lock to launcher.


I wish to find how the package was installed

If the package is installed by compiling manually then apt-get/dpkg would not have any track of the package, and hence it's contents.

You can check if dpkg has any track of the installed package:

dpkg --get-selections | grep 'package_name_or_pattern'

or

dpkg -l 'package_name_or_pattern'


EDIT

sucky solution:

unplug faulty screen
reboot pc
replug faulty screen
faulty screen now works, but another screen (on dvi) (i have 4) stayed black

working solution

1) go to display configuration

2) disable all screens apart from screen that also shows my bios and grub

3) reenable screens 1-by-1

still not happy, i want a working nvidia driver one day

/edit

I have the same problem with Nvidia. The nvidia drivers break my system (x doesnt start, i can only get to a terminal), so i have to use the nouveau driver

the problem might be connected to this: https://ubuntuforums.org/showthread.php?t=2398740 : the hdmi gives image but no sound output so the screen doesnt understand the signal.

However, i cannot solve it as i cant re-enable HDMI sound output: there is no mention of any hdmi sound output in pavucontrol or any other settings. so im in the dark (sorry for the pun), but maybe it helps us find the answer.

ps: i tried a HDMI to VGA adapter: same result


18.04 Chrome, spotify (Deb package) and snap lost sound, Firefox works

fixed:

killall pulseaudio
rm -r ~/.config/pulse/* ~/.pulse*


Does the Ubuntu One mobile client have an integrated music store?

We don't have an "Ubuntu One mobile client for android", and the Ubuntu One Music client for android is only a client of the music streaming service, and nothing more. So, no, sorry. You currently need to use the Rhythmbox plugin or, in Natty, also the Banshee plugin.


How do i execute a sh in a different directory?

There are many methods to do what you want. Just 2 others are likely to add more:

Put this in a script and make it executable with chmod 700 {file}:
cd /home/justphil/braddey && java -jar server.jar nogui && cd ~-

The last part changes back to the directory you started it in.

Change server.jar to /home/justphil/braddey


How to comply with this guideline for submitting an application to the Software Center?

The clause is meant to inform you, the developer, that it is your responsibility (obligation to use that terminology) to ensure your application runs on the supported versions of Ubuntu, not Canonical's. You are not forced to test on all versions, but it is in your best interest to ensure it runs on the latest Ubuntu release and prior versions.

For the purposes of the software center and paid applications, you should test 11.10, 11.04 and 10.10. You always have the option of only supporting the latest version if you wish and just need to inform the reviewer of that requirement when submitting your application.

In the case of ARB apps (FLOSS apps) you will want to ensure compatibility with all supported releases.

I hope that helps clarify the terms a bit better.


Reinstall new copy of ubuntu 14.04 keeping my data and installed programs

Yep it can be done but Ubuntu Install will reinstall your packages
This is no guarantee that you will have all your packages as the way you left it. I would Still back up the Data

I don't think you will lose any of your data as long as you use the same user name you once had.

Boot into You live/CD/USB Setup

When you get here select something else and click Contiune

click on your partition you installed Ubuntu on then click Change

Now be very careful on what you do here

Change the USE as to your File system mines ext4

Use the same mount point as in your other install. mine mount is / then click OK

Then this window will pop up. click on Go back

Now you can click on install now  Use you same user name.


Find a solution with comment from andrew.46. I have to activate 'use less secure apps' in Google-Account (https://myaccount.google.com/u/0/security?hl=de). Than following code works:

sendEmail \
-o tls=yes \
-f mymailaccount@gmail.com \
-t email-receiver@gmail.com \
-s smtp.gmail.com:587 \
-xu mymailaccount@gmail.com \
-xp some-safty-password \
-u Hello World \
-m This is an E-Mail text.


I'm curious about installing Windows XP after installing Ubuntu

If you've already installed ubuntu on your computer when you install xp on a (empty) partition you'll need to restore your grub (with an added boot line for xp).

To do this you'll need to create an empty partition where you want to install xp (since you do not want xp to install on top of you linux system, effectively wiping it). You can do this with partition magic. You can also do this with your program of choice but I just like partition magic because it's easy to use and quite save (you should still backup any data that cannot be lost just to be save). Please do keep in mind that if you re-size an partition with data that you do not make it smaller that the amount of data that's on the partition.

Next you'll need to install xp onto this partition which shouldn't be to hard to do. Just make sure you select your partition of choice at the pre-install settings.

After you've done that we're going to restore your grub since you can only boot xp at the moment.
burn a boot-repair cd and boot it. Select "recommended repair" and wait for about a minute til it's done.

Reboot your pc. It should automatically boot into linux but you can select to boot your xp install. To customize your grub menu or change the choice delay you'll need grub customizer.

This approach always worked for me.


apt-get update fails with "403 Forbidden: Category denied"

A transparent network proxy with a dedicated ruleset prevented downloading of data from the repository servers.
Once the rules have been deleted, apt-get update worked fine.
Since the proxy is a transparent one, it is not configured anywhere on the server.


Accidentally installed Lubuntu and want to revert to Ubuntu

To put 'ubuntu' back on...

sudo apt-get install ubuntu-desktop


Driver for Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller

I've been trying to get my speakers to run on my x5 z8300 atom laptop for a week, and this seems to finally have solved it:
Run
sudo -H gedit /etc/default/grub

and add 915.disable_power_well=0 to GRUB_CMDLINE_LINUX_DEFAULT. If you have for example
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

you'd replace it with
GRUB_CMDLINE_LINUX_DEFAULT="i915.disable_power_well=0 quiet splash"

Found here: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1256655


Use bash script to convert DHCP IP to static IP

Not so hard to do BUT:
The ip your dhcp server has given to your server will, a day, be given to another dhcp client.
And you will get an error for ip address conflict.

For static ip on your server, you should choose an ip from outside the dhcp ip range.


Dual-booting Ubuntu with un-activated version of Windows XP?

Download Ubuntu: http://www.ubuntu.com/download/desktop

Download Live Linux USB Creator: http://www.linuxliveusb.com/

Put the thumb drive in the computer.
Launch Live Linux USB Creator
Select the Ubuntu .ISO image
Start the OS image creation
Reboot computer, F8 into BIOS and select USB as first boot device and install


How to write a "@" with a French Canadian Keyboard


Sorry if this is the wrong answer, but it sounds like you're trying to install Ubuntu to a Windows Dynamic Disk:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa363785%28v=vs.85%29.aspx
http://technet.microsoft.com/en-us/library/cc737048.aspx

Neither Wubi nor the GRUB bootloader support this, you'll need to install to a Basic Disk.


I need some basic help installing ubuntu dual boot windows 10

There are a lot of ways to install Ubuntu along side windows.Please do a brief search on google for it. But you can refer below points to achieve so

Choose one drive where you want to install Ubuntu ( Since Ubuntu doesn't require much of space , you can choose the drive which is of the minimum space.20 to 30 GB will be enough.
Since Ubuntu can read NTFS file system, you won't require to format any other drive.You can always store and access your data from Ubuntu in any windows ( NTFS)  drive
The drive that you will choose for Ubuntu installation withh be converted into ext* format ,which is not readable by Windows.
Once to do the installation, on restart you will be welcomed by Ubuntu boot load screen since it has high priority , there you can choose for your desire OS.


How do I get Flash 10.2 RC + Crystal HD for HW accelerated video to work?

As of tonight, I've been able to successfully have hardware acceleration in Flash Player (youtube 1080p videos running smoothly). I had to:

Checkout and compile the latest crystalhd tree from git (http://git.wilsonet.com/crystalhd.git/)
Download Adobe flash player 10.2 (latest release, it should come as an update if you have flashplugin-installer - if you don't have that, do:

sudo apt-get install flashplugin-installer

Add the following lines to the /etc/adobe/mms.cfg file (create it if you don't have it already):

EnableLinuxHWVideoDecode=1
OverrideGPUValidation=true

Hope it helps!


start uget as superuser(administrator) from launcher icon

We  have fixed this issue for 1.10.5 so in the next release root will no longer be needed but in the meantime...

You first need to install "gksu" which is a tool to run a gtk app as root.

sudo apt-get install gksu

You can edit the uGet launcher by opening the .desktop file as root. This file is located at /usr/share/applications/uGet.desktop

gksu gedit /usr/share/applications/uGet.desktop
Another option is to install "alacarte" which is a GUI app to edit .desktop files.

sudo apt-get install alacarte

Both of these options will require you to enter your password every time but that is currently unavoidable.

We may release a beta version of 1.10.5 at some point for testing, at which time the fix for this will be testable.


Chrome Apps have no Icon and are not in Dash available anymore since 16.04

It looks like the problem your referring to is a bug in Chromium. Until it is fixed you could use Google Chrome which does not have this bug.

Update: Now the bug is fixed for me with the latest version of Chromium.


1. Add Belgian eid software archive

All the Belgian eid related software is in a seperate software archive not part of a default Ubuntu installation. You first have to add this archive by downloading and installing the archive .deb package.

Go to the Belgian eid middleware page and download the package called eid-archive.deb. Install the archive by double-clicking the .deb file** in the file browser.

2. Install the card reader drivers

After you installed the archive, you can install the drivers for the card reader. The drivers make sure your computer can talk to the card reader. For card readers of type ACR38U (the ones you get from the government) install the following components

sudo apt update
sudo apt install libacr38u libacr38ucontrol0 libacr38ucontrol-dev libccid

After installation, it might be necessary to restart your computer. These drivers also work for some Dell keyboards with built-in card readers

If you receive the error Unable to locate package libacr38u, it means you didn't install the Belgian eid software archive. Please repeat step 1. and run sudo apt-get update to make sure your computer knows about the Belgian eid archive.

3. Install the middleware and eID viewer

The middleware is a program to view your id information from your computer. To install the middleware, run following commands. The first command updates the repo's, this is necessary!

sudo apt update
sudo apt install eid-viewer eid-mw

Now you can check if the eID reader works with the program eID Viewer (It's in the Ubuntu Menu/Dash).

If you can see/use your eID using "eID Viewer" then you can continue configuring your browser. If "eID Viewer" cannot see the card reader and the card, then you will have to install additional drivers for the card reader.

3.a. How to setup in Firefox

After installation of the viewer and the middle ware, restart firefox and it should work. See below for how to test this.

3.b. How to setup in Google Chrome 64 bit

Copy these instructions to Gedit, or another text editor and Shut down google chrome and run the following commands

sudo apt install libnss3-tools
modutil -dbdir sql:.pki/nssdb/ -add "Belgium eID" -libfile /usr/lib/x86_64-linux-gnu/libbeidpkcs11.so.0.0.0

You have to restart Google Chrome every time you plug in your card reader for it to work. See "Testing the eID in your browser" to test if it succeeded.

4. Testing the eID in your browser

You can test this by going to the Belgian eID test page and following their instructions. If you start the test end you get a "page not found" or "ssl error", the eID is not working properly.

In Google Chrome: Restart the browser after you plug in your card reader for it to work.

Sources

Belgian eID middleware
Belgian eID FAQ
EID-SOFTWARE PROBLEEM NA UPDATE 14.04


Syntax for patching a package is:

sudo patch `which [NAME OF THE PACKAGE]` < [DIRECTORY OF THE PATCH FILE]/[PATCH FILE NAME].patch

Example:

sudo patch `which webcamstudio` < ~Downloads/diff_webcamstudio_uname.patch


is there any Ubuntu 15.10 USB 3 or USB-C to HDMI adapter that works

I also have the late 2015 Dell XPS 13. The jack is Intel's new multi-purpose connector. It is an integrated USB-C and Thunderbolt 3. So you can use a dongle that operates on either standard. (I'm not allowed to comment or I would put this there).


Ubuntu goes black after changing the nvidia graphics driver

Yayy!! The problem has been solved. After logging in for the disk encryption I pressed esc key and was able to get into a terminal style login. From there I was able to change the nvidia driver and after reboot it worked like a charm. Thank you guys for the support and tips! Hope this will be helpful to someone. And sorry I'm a noobie at linux


How to turn an encrypted disk/partition into a non-encrypted partition?

No, it is not possible, at least not in any way that is even remotely safe. Backup the data to some place, reformat the partition using the filesystem you want, and restore the data.


By default, hibernation is disabled on Ubuntu. To re-enable hibernate, run the commands below one by one to edit the config file:

sudo -i

cd /var/lib/polkit-1/localauthority/50-local.d/

gedit com.ubuntu.enable-hibernate.pkla

Copy and paste below lines into the file and save it.

[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=yes

After the config file has been saved, you may either log out and log in again or restart the computer to show the hibernate option in power menus.

After hibernation has been re-enabled, enter System Settings and select Power. Here you should find an option to change what the system does when the battery level reaches a critical level. Set that to Hibernate and all should work properly.

The original tutorial for enabling hibernation can be found here.


Ubuntu GNOME 14.04.3 desktop iso not booting from both DVD and USB

Boot into the Windows system and disable hibernation. Open command prompt as administrator and execute:

powercfg /h off

Open Windows Control Panel - go to  Power Settings.
Enable show hidden setting and uncheck fast startup.
Shut down the computer completely - do NOT reboot.
Create a new proper installation media.
UNetbootin is known to having issues.

Use the diskpart tool from within the Windows system.
Open command prompt as administrator and execute:

diskpart
list disk
select disk *
clean
create partition primary
active
format fs=fat32 quick
assign letter=**

Note: * = number of USB drive | ** = select a free drive letter
Mount the ISO file and copy the content to the USB drive.
Boot into BIOS and select the USB drive with the UEFI entry.


How do I install drivers for a Logitech webcam?

After installing package guvcview my c170 worked with that tool and cheese.


Blue screen and all programs not working after booting up from chrome os

Distros like Ubuntu on Chromebooks generally run into issues due to how the hardware and various drivers behave. I suggest using GalliumOS, it plays very nicely with Chromebooks and shouldn't break. It also provides a Xubuntu like experience (because it's built on Xubuntu). I've seen various people have issues with booting other OSes on Chromebooks, as they're such a small community most devs aren't willing to develop fixes for them. GalliumOS is designed for Chromebooks.


Memtest86+ does not start on Lenovo z5070

Need to press F1 for starting of memtest on my laptop
Worth to mention that it starts automatically on other notebook.


I am trying to share a file between windows 7 (host) and Ubuntu 12.04.4 (guest), using Virtual Box 4.3.12

By default VirtualBox Shared Folders are only accessible to members of the vboxsf group. To add your user to the vboxsf group in Ubuntu do:

sudo adduser $(whoami) vboxsf


clear command - terminals database is inaccessible

Path for Anaconda3 is set in .bashrc. It is interfering with clear command.
Removing Anaconda path from path solved the issue. Here is the github reference for the issue https://github.com/ContinuumIO/anaconda-issues/issues/331


There isn't Opera 32 bits for linux. Only 64 bits, an you machine seems to be a 32 bit one... You may try another web browser. Or install a old version of Opera form here


Vodafone Ubuntu Webbook: Keyboard and mouse-pad not working

try to connect external some another keyboard and mouse, which was not connected before. Tit will be detected as a new device and will be set enabled by default.  If this works, you have a hardware problem, or your devices inside of the notebook a re disabled in the config.


Cannot boot with 18.04 from USB stick on Acer Aspire 3 laptop with Windows

Thanks to @karel for the comment under the question.

In Grub menu I pressed e to edit the bootentries and could boot my system to the installer now with the nomodset option.

So, if you still need to try something:
On grub menu:
- select the entry you wish to use
- press to edit the entry before booting
- add 'nomodeset' to the entry and press F10


This in not really an issue with netplan; you appear to have bugs in your dnsmasq config.

Your dnsmasq config, which as I understand is running on the Ubuntu router that connects your WAN and LAN interfaces, and is serving DHCP config to the LAN interface, has an entry of:

dhcp-option=option:router,192.168.0.1

However, 192.168.0.1 is not an address on your LAN network; it is an address on your WAN network (your WAN gateway).  So it is incorrect to tell your DHCP clients on the LAN network to use this as their gateway, because they have no route to that gateway.

Instead, you should be providing the LAN address of the Ubuntu router as the gateway:

dhcp-option=option:router,192.168.1.1

You also need to have IP forwarding configuration on your Ubuntu router: How to make IP forwarding permanent?

Furthermore, you need to either configure your WAN router to know about your Ubuntu router and that it is a gateway for the 192.168.1.0/24 network, or configure NAT on your Ubuntu router: Configure Nat in Ubuntu 12.04


How to install and configure a DHCP server in NETWORK NAMESPACE

ip netns exec <NAME> <CMD>

So if you created a namespace called foo with a command like

ip netns create foo

After you configured the networking in that namespace you would start the service with a command that looks like:

ip netns exec foo service dhcpd start


How can Scala IDE be uninstalled totally

The Scala IDE is not installed nor removed. It is just a package of files that you copy to a directory that you create.

Delete the directory that you created for the Scala IDE files. The IDE is now gone.


The command to start system Upstart job is sudo start <service>. Since version 6.10. Upstart replaced the /sbin/init daemon handling starting and stopping tasks and services during boot/shutdown and supervising them while the system is running. [1]

Log files can be found in /var/log/upstart/<service>.log. You can increase log priority from the default message to debug to get more details. [2]

Your problem is caused by wrong use of the expect fork stanza creating job with the status job stop/killled, process nnn. [3]


How do I get the session option for KDE in the login screen? (installed kde-full)

Try this.  Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install kubuntu-desktop

After that you should get the KDE option at login.


I think you can do this with the PCM tools at https://github.com/opcm/pcm


Connect to my College's WPA from Ubuntu 14.04 LTS

The fix that I finally found is the answer in this thread: How to connect to WPA2/PEAP/MSCHAPv2 enterprise wifi networks that don't use a CA_Certificate, like Eduroam. I will sum it up here.

All I did was add the auth-alg=open to the file /etc/NetworkManager/system-connections/MYCONNECTION, at the bottom of the [802-11-wireless-security] section of the document. I hope this helps more people than just me.


Desktop Link will be broken after restart

The reason you get a broken link is that the host partition is not mounted on startup. You have to add the UUID of that partition to /ets/fstab.

This Answer will help you to get your correct UUID.