How do I enable accessibility alt-key shortcuts in GNOME window menus? I'm using Ubuntu GNOME 16.04 with GNOME Shell 3.18.5.

I have just switched from XFCE to GNOME, and I am used to pressing Alt+Space and then C to close a window, Alt + Space and then X to maximize, etcetera. But in GNOME, I can't press those keys for those actions, because they aren't underlined:

and I have to scroll through with the arrow keys or click. Is there a way to enable those shortcuts?

I find that is easy to remap the GNOME shortcut to achieve the same thing, but mapping 3 keys is unsupported of you use the space key, it appears, so there are two options that I know:

The first is remapping the close window command; currently in “Ctrl + Q” or “Alt + F4” to “ Alt + C”. You can do this by going to Settings -> Devices -> Keyboard and then scrolling to the Close window command, then remapping the command, then again, you can only type two keys. Do the same to maximize window, to “Alt + X”

You can use gnome global shortcuts to achieve your desired behaviour. The following page gives details of all the available options.

https://help.gnome.org/users/gnome-help/stable/keyboard-shortcuts-set.html.en

Here is a summary:

To change the key or keys to be pressed for a keyboard shortcut:
Open the Activities overview and start typing Keyboard.
Click on Keyboard to open the panel.
Select the Shortcuts tab.
Select a category in the left pane, and the row for the desired action on the right. The current shortcut definition will change to New accelerator…
Hold down the desired key combination, or press Backspace to clear.

Currently Alt+F4 is the designated shortcut for window closing. Super + up arrow is for maximizing. You can click on these to change them as you wish (Alt + space +c).


Problem with .deb packages on Ubuntu 16.04 This bug has now been fixed upstream. An update has been issued. If you still cannot install, ensure you have updated fully, and then restart your computer.

I am trying to install downloaded DEB packages. Each time, I see a warning like this:

And clicking install just loads and nothing changes.

This shows for all the packages I try and install. How can I install a package?

This is bug #1573026. Make sure you click the "this affects me too".

  This bug has now been fixed upstream. Hopefully an update will be issued promptly.

What are the workarounds?

You can use the GDebi package manager, available in the software centre or with sudo apt-get install gdebi via the command line.

Then, to install the package, open GDebi and click File -> Open and navigate to the downloaded DEB file.

It can take a little while to add the open the package - it took around 10 seconds for me.

Then check everything is OK, and click install.

It will finish, and the program will be installed.

Or we can use the command line. While apt-get cannot install from a DEB file, all apt-get does is download the file and then call dpkg. We can do those tasks ourselves really simply.

Open a terminal and navigate to our download location with cd.

And run the command:

sudo dpkg -i FileName.deb

replacing FileName with the name of the file.

Finally, run this:

sudo apt-get install -f

This "fixes" everything - it resolves all dependencies etc.

The simplest which ensures that it can download any dependencies alongside. Which sometimes the gdebi GUI does not download (faced this problem myself).

Install gdebi-core by using the following command

sudo apt install gdebi-core

Then cd in the folder in which your currently your .deb package is on. For example:

cd ~/debs/

Then use this command to install your application.again with example :-

sudo gdebi google-chrome-table_51.0.2704.63-1_amd64.deb

This should download dependencies if needed and will install your app successfully.


Programmes won't open in Lubuntu I decided to try Lubuntu to see what it was about. After setting everything up, I installed Libre Office, which works perfectly. I then attempted to install Spotify and Brackets. When I try to launch Spotify or Brackets, nothing happens, and after about one minute, I get the folllowing error:
Error Message that I received

I would greatly appreciate if someone could point me in the right direction as to how to resolve the issue. Thank you very much :)

I looked forward to your problem and found two solutions.

Try reinstalling Spotify and Barckets.

2.Reinstall your Ubuntu system with the command:
sudo dpkg-reconfigure -phigh -a

*Note that step 2 erases your data so back all your data before reinstalling.

Hope this works for you as this worked for my friend :D !!!


Installing Moonlight? Extracting .crx files? I am trying to install moonlight on my 13.04 64-bit ubuntu system. I am using chromium as my main browser and firefox as backup.

I read that to install the moonlight downloaded .crx file in chromium, first I have to extract the .crx contents.

Can someone help me with the how-to to extract .crx file?

Also, is there an easier way of installing moonlight? And would my install cater to both of my browsers?

If you point Firefox to http://www.mono-project.com/Moonlight/, get to the download page and click on download after selecting the 64bit architecture, it will automatically install the extension.

Chrome/Chromium/Iron, on the other hand, will prevent the .crx extension to be installed automatically.

In this case, after you have downloaded the .crx file from the Moonlight download page (using Chrome), go to the Tools | Extensions configuration page, and then drag the .crx file onto the Chrome extensions page. It will ask for your permission to install the extension.

The .xpi extension package "is simply a ZIP file containing the extension files", so you can open it just like any other .zip file. Note that you might need to change the extension of the file to .zip, depending on the method you use to extract the files.

One simple way to extract the contents of a downloaded .xpi, is with the use Midnight Commander, which can be easily installed:

sudo apt-get update && sudo apt-get install mc

Navigate to the folder where the file has been downloaded and it can be opened like a folder and its contents copied out with F5.

Type

sudo apt-get install mono-complete

then install the crx extension in the extensions page of chrome


Adding an existing user to another group I am having this strange problem. I am using usermod to add an existing user to another group. I want to create a new user and add an old user to this new user's group. To do this, I am doing the following things

Create a new user, -m creates the home directory for the user and -U creates a group by the same name, as that of the user.

useradd -U -m newuser

Then I add the old user to the new user's group as

usermod -a -G newuser olduser

-a appends this group to the already existing groups and -G is used to give the group name.

Now when I do groups olduser I get the following out put olduser newuser, but being the olduser I am unable to create a any file in the newuser home directory. I have set the proper directory permissions, the read, write and execute bit is set for group.

However if, instead of using usermod I manually edit the /etc/group file, and add newuser,olduser in front of the newuser group then everything works correctly. Is there a bug in usermod or I am doing something wrong.

Have you tried doing this with adduser instead? The Ubuntu Help page recommends not using useradd.  I think what your trying to do could be done like this:

adduser newuser
(automatically makes home folder)

adduser newuser olduser (this adds newuser to the olduser group)

Hope that helps.

EDIT:

This should at least help you figure out if the problem is related to usermod or not. Try to add the user and change groups without using useradd or usermod.

It is likely that you just need to logout and login again to let the new permission to become effective.


What version of ubuntu is to be installed in dell-mini-10? I am using Dell Ubuntu Mini 10 version of Ubuntu.

The problem is:
I tried both 12.04 and 13.04, but both are extremely slow on this laptop.So I am now running 11.04 which is near it's End Of Life and will give no further support.

So what should I do now? Is there any better option than using 11.04?

This has already been answered in the comments by mike:

You can try Xubuntu or Lubuntu, also, 12.04 with unity-2d should run well.

Here is the recommended distro for the Dell Mini10 netbook
http://old-releases.ubuntu.com/releases/9.10/ubuntu-9.10-netbook-remix-i386.iso

Here is tha page on the Ubuntu Wiki that details distros for Netbooks:
https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks


Wubi Install for Mac OS X I just installed Ubuntu 10.10 on my Windows 7 box using Wubi and I'm loving it so far. One feature that I love is the fact that because I used Wubi it doesn't seem to create a separate partition. Through what I can only imagine is some VM magic Windows and Ubuntu live together on the same hard drive without a partition and you can even access Windows files from within Ubuntu and visa versa. I also have a MacBook and I would love to be able to install Ubuntu on the MacBook as well but I don't want to surrender a portion of my disk space to a different operating system. Is there currently a way to do the whole Wubi VM "virtual partition" on a Mac?

The development of a Mac Ubuntu installer is currently blocked by the lack of journalling write support in the HFS+ filesystem driver.

As Mubi obviously needs to write to the Mac filesystem, and most Macs come with HFS+ journalling turned on, this functionality needs to be present in the Linux kernel before development work on Mubi can begin in earnest.

I don't think there is a Wubi on Mac OS X.  I have Ubuntu 11.10 on my 24" iMac and runs great.  I burnt an Ubuntu CD.  I installed rEFIt.
I used 'Disk Utility' on my Mac to resize partition on HD.  I shrunk Mac OS X to 100 gigs and made the other partition 399 gigs (type MSDOS and named LINUX) with a 1 gig swap. Or you can just resize the Mac OS X to 100 gigs and do the rest with the Ubuntu installer.  I rebooted my Mac and at rEFIt menu I chose the disk to boot from. Once Ubuntu was at desktop, I did a normal install.  At partition part, make sure to select your 399 gig partition, set it as '/' and continue.  Don't do or change anything on any other partition. You are warned!  After install, reboot into your new Ubuntu.  The only problem I had was with sound and that was easily fixed here.

Enjoy!


Chrome install failed on ubuntu 12.04 I have tried sudo apt-get install -f and then sudo apt-get update

but I still have the same dependency problems:

dpkg: dependency problems prevent configuration of google-chrome-stable:i386:
google-chrome-stable:i386 depends on xdg-utils

And idea how to fix it?

BTW, when I use sudo apt-get install -f, I got an output:

After this operation, 119 MB disk space will be freed.
Do you want to continue [Y/n]? y

which seems to remove the files.

As maximd's comment under your question has shown, the same error as yours occurs when trying to install 32 bit Chrome under a 64 bit Ubuntu system. These i386  error message always occurs when it is an architecture problem. In contrast, I successfully installed the same 32 bit deb on a 32 bit system today, so the issue is not due to a bad version of Chrome.

The architecture error is well known, as documented in a similar question at Superuser where similar dependency issues are discussed. On account of Ubuntu's multiarch feature (which enables the user to install 32 bit packages on 64 bit systems) these sorts of errors don't occur very regularly now, but are still possible. Sometimes it is still necessary to use the 64 bit version of the package.

There is no point in forcing the installation with something like sudo dpkg -i --force /location/of/deb, as that will not solve the dependency issues, so I should just remove the partial installation of Chrome with sudo apt-get install -f and install the 64 bit deb from the Google Chrome site with gdebi or Software Center, which will resolve the dependencies as well.

I'm not 100% sure about this, but here is my guess:
chrome depends on xdg-utils >= 1.0.2, but you have installed 1.1.0~rc1-2ubuntu6 (at least I have this on my linux mint 13 64 bit).

Somewhere there is a misunderstanding that leads apt to believe your 1.1.0 rc1 version is earlier than 1.0.2, thus not satisfying the dependency.

If I'm right the problem will disappear as soon as xdg-utils will have a final version number. In the meanwhile I personally enjoy a flawlessly running Chrome installed with dpkg -i --force-depend.


Dell Vostro 3360 laptop gets warm after 12.10 upgrade After my yesterday upgrade to Ubuntu 12.10 my laptop (Dell Vostro 3360) gets warm without the CPU fan cooling at all.
At 75° C the fan seems to be off. This will result in serious problems wen running heavier  processes such as video production.

Any suggestions what I can do to solve this?

Thanks :)

Install drivers if available via Additional Drivers (previously called Hardware Drivers) which is now part of software applet interface.

to turn on the fan click the power button(icon thing(top right)/suspend. turn computer back on,click switch user, then login and the fan should turn on and run normaly

this worked for me

ps. you have to do this every time u turn off your computer

sometimes you have to shutdown the computer and try again
i have an acer aspire 5720z so it may not work


How do I boot into single-user mode from GRUB? After changing a few lines in xorg.conf, I can no longer boot Ubuntu (I assume it breaks when trying to load up X), so I need a way to boot into a single-user mode. However, there seems to be zero guides on the Internet how to do it, because they all assume I can actually edit files on my computer, and I obviously can't.

So how do I load Ubuntu in single-user mode?

When I turned off splash, I figured out the problem: whenever Ubuntu can't load X server due to some error, it switches to tty1 and waits for the prompt, but doesn't turn off the splash.

To boot into single user mode you edit the boot instructions for the GRUB menu entry you wish to boot and add the kernel parameter/option single. Brief instructions for how to do this are below.

Hold down the left Shift key while rebooting to bring up GRUB menu
Select (highlight) the GRUB boot menu entry you wish to use.
Press e to edit the GRUB boot commands for the selected boot menu entry.
Look near the bottom of the list of commands for lines similar to

linux /boot/vmlinuz-3.2.0-24-generic root=UUID=bc6f8146-1523-46a6-8b\
6a-64b819ccf2b7 ro  quiet splash
initrd /boot/initrd.img-3.2.0-24-generic

Change the middle line in (4) by adding the kernel boot parameter single to the end of the line (i.e. after ro  quiet splash).

For this example you would change:

6a-64b819ccf2b7 ro  quiet splash

to

6a-64b819ccf2b7 ro  quiet splash single

Press either Ctrl+X or F10 to boot using
these kernel options.

Note: These changes are not persistent. Any change to the kernel boot options made this way will only affect the next boot and only if you start that boot by pressing either Ctrl+X or F10 while still in GRUB edit mode.

Not sure why the instruction is not permanent.

To make it permanent edit "/etc/default/grub"

pico /etc/default/grub

Make the same changes...

update-grub

I changed the line "ro quiet splash "

to "ro text single " and i start GUI with

startx


How do I set 'nomodeset' after I've already installed Ubuntu? I know that editing the boot options line and adding 'nomodeset' solves the problem of my laptop during LiveCD mode, what I don't know is how to set it at boot up through Grub2 after I've installed Ubuntu.

So, my question is; how do I set nomodeset before I boot into Ubuntu?

You should add this option to /etc/default/grub, firstly:

sudo nano /etc/default/grub

and then add nomodeset to GRUB_CMDLINE_LINUX_DEFAULT:

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
GRUB_CMDLINE_LINUX=""

And then save by hitting Ctrl+O, then exit nano with Ctrl+X, then simply run:

sudo update-grub

I had the same problem. The above solutions are all correct, but it's a bit more tricky when you have to fix this when running from a Live CD. I found this blog post very helpful.

The author basically proposes to mount the installed Linux from within the LiveCD. I did that, and it helped me a lot. So here are the steps:

Run from the Live CD, and either install Ubuntu or move on if already done
Check your installed partition with the command "gparted". It opens a Window telling you where you installed Ubuntu. In my case it was /dev/sda2 which contained an ext4 partition.
Mount the partition: sudo mount /dev/sdXY /mnt
Then mount/bind the directories Grub needs to access:

sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys
Then move on to this environment using chroot, which I found a supersmart idea: sudo chroot /mnt
You should now be able to edit /etc/default/grub, as the others pointed out. Like: sudo vi /etc/default/gruband change the line GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" I found it very useful to also remove quiet and splash so I could see something moving on behind the scenes.
The author originally noted, he needs that after an installation of Windows,  which broke Grub. He had to reinstall. In my case Grub was intact, but my computer (mac) didn't boot with the original Grub settings. So the only thing left for me was update-grub

The author unmounted, but I just rebooted and the new settings where in place. With the "nomodeset" option I was able to boot Ubuntu and Lubuntu from a MacBook Pro harddisk.


Can't start blender on Ubuntu 17.04 zetsy When I tried to run Blender3D nothing happens.
On terminal the output is:

blender: error while loading shared libraries: libavcodec-ffmpeg.so.56: cannot open shared object file: No such file or directory

libavcodec-extra57 already installed on my system.
I tried to uninstall, install libavcodec, blender3d. Nothing changed.

PS:I am using this system since 15.04, I may have messed up libav or system settings compiling/using/programing opencv.

Solved. All I did was:

sudo nano /etc/ld.so.conf.d/blender.conf

and add below to the this file

/usr/lib/x86_64-linux-gnu/

after I run

sudo ldconfig

Then blender starts normally.

Thanks for your help.

Blender was built and linked against the library named libavcodec-ffmpeg.so.56 which isn't there. The 56 at the end is the version which is one older than what you now have installed.

You can try creating a link with that name that points to the v57 version you have installed. ln -s /usr/local/lib/libavcodec-ffmpeg.so.57 /usr/local/lib/libavcodec-ffmpeg.so.56. If you don't have the exact filename libavcodec-ffmpeg.so.57 try something similar, maybe libavcodec-extra.so.57 For small version changes that may work, larger variations are more likely to fail.

Find a third party repository that has blender built against libavcodec v57. Or one that has libavcodec v56.

If you can find a copy of libavcodec-ffmpeg.so.56 and don't want to replace over your existing libavcodec version, you should be able to create a lib dir next to the blender binary and place it in there, this will be easier if you have a self contained copy of blender rather than a system installed copy.

If you do have libavcodec-ffmpeg.so.56 installed then it may be a case of not being able to find it, setting LD_LIBRARY_PATH in your environment can fix that.

Build blender yourself, which will always be linked with libraries you have installed.


Transparent window title bar Does anybody know how to enable the transparent window title bar in Ubuntu 14.04?

For previous versions (13.10 and 13.04) you can use this method, but it doesn’t work any more in 14.04.

I'm not referring to the top-panel in Ubuntu - I'm referring to the title-bar of the window.

This is a partial solution, as I couldn't figure out why it doesn't work for active window.

As mentioned by chaskes, decoration transparency now is defined by themes using CSS (property or external background image).

Tested with Ambiance theme:

modified

/usr/share/themes/Ambiance/gtk-3.0/apps/unity.css

by commenting background-image of UnityDecoration.top and UnityDecoration.top:backdrop leaving background-color: transparent;

UnityDecoration.top {
    ...
    background-color: transparent;
    ...
    /*
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@dark_bg_color, 1.5)),
                                     to (shade (@dark_bg_color, 1.04)));
    */
    ...
}

UnityDecoration.top:backdrop {
    ...
    background-color: transparent;
    ...
    /*
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (#474642, 0.92)),
                                     to (@dark_bg_color));
    */
}

I had the same question and unfortunately didn't really find a good answer. I can tell you, however, that there is still a theme "GnomishGrey" buried somewhere that works the way you want (I didn't really have time to go looking where it actually is, sorry, but it's not in /usr/share/themes ...) I'm pretty sure I haven't installed it manually and I'm running Trusty Tahr.
Enable it by simply typing

    gsettings set org.gnome.desktop.interface gtk-theme 'GnomishGrey'

in a terminal (note the 'e' in Grey, not 'a'). I don't really use it, but from what I quickly tested, it works fine also with other transparency settings (ccsm), see picture.

Another possibility would be using an emerald theme. As far as I read, it works for 14.04 (but you have to use a ppa to install it), but I don't want to try it out as there might be some issues and I quite like my setup as it is now...

Hope that maybe helps somewhat, even if it's not really an answer.


Upload Files(from the internet) to a dropbox or google drive I want to download a file from the internet and I have to store it on my dropbox/google drive. Is there a way to skip my PC.

So the dropbox server is downloading the file right in my folder?

This would speed things up a bit.

Thanks

PS: I am using Firefox and Chrome

Your dropbox/google drive is connected to your PC and not generally to the internet. Unless the site you download it from offers a direct upload to dropdox/google drivee you will need to use your PC as an in between.

There is a google extension that lets you save screenshots directly to google drive but not one for downloads.

I think you can use this website " uploadcloud.net " for download a file from the internet and transfer it to the dropbox or google drive. also you can use the chrome plugin for this matter.
plugin name : Save to Google Drive
link : http://chrome.google.com/webstore/detail/save-to-google-drive/gmbmikajjgmnabiglmofipeabaddhgne?hl=en
Source: http://mydownload.me


Is there a quality-saving photo zoom plugin for GIMP? For Photoshop there is Genuine Fractals plugin to increase image resolution with very little loss in visual quality. Is there an analogue for GIMP?

Go to this page
Right click the download link on the top right corner and click Save As and save the file somewhere.

Then browse to your home folder and press Ctrl + H.
Now navigate to .gimp-2.6 or .gimp-2.7 and then go to the scripts folder and copy and paste the downloaded file

Now launch GIMP,you will find a new menu FX-Foundry,now select Eg Stair Scaleup

Now you can enlarge or shrink the image with the dialog presented.

The GIMP doesn't have anything like this, but there is a freeware Windows program that has a fractal scaling plugin. Look up Meesoft Image Analyzer. The fractal plugin is a bit buggy, and is offered separately. Usually it works fine, but if it throws out an error, you can usually just try again and get it to work. It is kinda slow, though.

I'd give you a link, but I don't want to run into any spam filters. I hate that we can't just use the GIMP, but at least it's something. I've not tried it on WINE yet, but there's nothing about the program that should break it.

BTW, it will also do spline-based interpolation. Heck, that's the reason I originally found the program. Once I discovered it could also do fractal-based scaling, I figured I'd better spread the news to the other sites I found while looking.


Installing Ubuntu alongside Windows on 3TB HDD "exceeds the msdos-partition-table-imposed maximum" I'm trying to install Ubuntu alongside Windows. I have a 3TB hard drive, but when I installed Windows 7 it only allowed me to use 2.2TB.

I want to install Ubuntu in my free hard drive space (which isn't formatted). I supposed I should use the Something else option, but I really don't know what to do. I tried the Install alongside Windows option and it gave me an error message

  starting sector number, 4294967296 exceeds the msdos-partition-table-imposed maximum of 4294967295

What should I do?

motherboard : Asus Maximus IV //
Hard drive    : Western Digital Caviar Green 3TB

Select "something else" and it will take you to a partition manager screen on the installation, from there you can select where to go with your partitions. Select the hard drive space with the "free space" label and select the "add" button under the chart. Select the radio button "primary" as the type and then type in the size you want Ubuntu to be in the "new partition size" text field, make sure "beginning" is checked underneath this. You will see options like "mount point", you'll want to select that drop down tab and choose "/". You'll also see filesystem types such as EXT3 and EXT4. Select ext3 or ext4, as I've never really noticed a performance drop and select how much space you wish to take up.

It's best to leave some space spare, I use 2gb, to create ANOTHER partition next to the same drive and go through the same procedure only instead of selected filesystem type as something like ext4, select it as "swap space".

If all the settings are entered follow through to the next screen and resume the setup as usual.

Got the same error while installing debian so I think, this could also work with ubuntu because it is based on debian. To solve this problem I tried reducing the size of my last listed partition on this drive just a little (only 1.3MB or so) and it worked just fine then.

Hopefully this helps somebody with the same problem.


How do I install linux on my computer without using a usb or cd? I want to give my computer to my friend. He doesn't know how to use Windows, only Linux.

I would not like to keep windows on the system. The computer's BIOS does not support USB start-up. Also, I don't have a disk that has a large enough space to have the ISO image on it.

Help anyone?

Thanks,
djtravz

Since you cannot boot from USB, you could try booting over the network.

However, there's an easier method using CD's.  I see in your question that you cannot load the images onto CD because of size.  I assume it's because the computer has a CD drive and not a DVD drive.

In this case, please follow this link to download an burn a MinimalCD.  It's a tiny image that will start the installation, and pull all the data(packages) over the internet during installation.  This can easily fit on a CD since most of these images are under 60 MB, and a typical CD holds ~650-700 MB.

The most practical way to do this is to remove the hard disk, temporarily connect it to another computer that can boot from DVD or USB, and install Ubuntu to the temporary drive.  A few tweaks to /etc/fstab may be required to get correct recognition of the partitions on the side-loaded drive, but once done, reinstalling the drive with Ubuntu on it will let the computer boot to Ubuntu.

If your friend only knows Linux, though, he'd probably be more comfortable doing this than you would...


Ubuntu Server 18.04 install fails I'm trying to install Ubuntu Server to my HP ProDesk 600 G3 SFF. Clean install. I've checked the SHA1 of the ISO. It's not corrupt. I've tried every combination of booting the system in every which way. I've tried both UNetbootin (doesn't recognize as having a disk, when run legacy, and immediately drops to grub shell when UEFI) and Multibootusb.org's (both the multiboot method and install to USB disk method (again, both legacy and UEFI for both options)) installer. Secure boot disabled the whole time.
So then I had the genius idea of taking the hard drive out, plug into another computer, booting a VM off of the installer ISO, and installing to the hard drive. Install succeeded, but the desktop "couldn't find an OS...etc". Which makes me think it's a compatibility/drivers/kernel modules issue, because there's also this error, when first booting:
[Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0xb2 (or later)

I'm about ready to chroot the ISO and install intel-microcode because that has been the solution to the above error. (but that is an error that people are getting while their systems are up and running anyway...so...). I'll probably wait until someone more knowledgeable posts though...
The only other error that I can catch is a timeout waiting for the disk (probably related..?). And that hard drive is the only disk.
When trying to run the "Check disk for defects" boot option, it shows that error, goes to the purple Ubuntu splash screen with messages below the logo, and instantly reboots. When running the "Test memory" boot option, it says error: can't find command 'linux16'.
Note:
When booting via multiboot USB, I can get into the installer no problem, but it fails during the install process every time. Always at:
...
  configuring installed system
    running 'curtin curthooks'
      curtin command curthooks
        configuring apt configuring apt

Going to full log has these errors (bear with me, manually typing them and choosing what I think will be important)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all']
Unable to get lsb_release --all: unexpected error while running command - blah blah : error code 127
Stderr: chroot: failed to run command 'lsb_release': No such file or directory
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--pring-architecture']
Stderr: chroot: failed to run command 'dpkg': No such file or directory : blahblah : exitcode 127
Does some more 'Running commands' that succeed
Does some more 'Run commands' that error out because can't find files: error code 127

Would post full logs, but I can't seem to drop to shell...
Any help would be greatly appreciated. I've been working on this for about 5 hours straight now -_-
Fyi, not too great in Linux environment. I can get around a little, and cause havoc, but that's it. I'm a windows sysadmin.. :)

I had the same error.  Burnt a DVD and it worked.  NO clue why. I fought for half a day.  Same error messages you mentions. Then gave up on USB install.

My Ubuntu 64-bit dual-boot installation by USB portable ISO drive had failed To install. I had 100 GB allocated for the latest version, but then the installation ran into an error.
Version 20.04.1 64-bit.
I even tried the Universal USB Installer and the USB drive would not appear in the boot menu.
So why not try using a virtual machine within Oracle VirtualBox?
I tried that and plan C works.


Unable to install nodejs and npm correctly? I want to install nodejs its npm manager but when i try to execute its commands throwing the following error...I tried to install in different methods whatever i found in google and after installing also some packages from it are missing.

The following packages have unmet dependencies:
npm : Depends: nodejs but it is not going to be installed
   Depends: node-abbrev (>= 1.0.4) but it is not going to be installed
   Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
   Depends: node-ansi-color-table but it is not going to be installed
   Depends: node-archy but it is not going to be installed
   Depends: node-block-stream but it is not going to be installed
   Depends: node-fstream (>= 0.1.22) but it is not going to be installed
   Depends: node-fstream-ignore but it is not going to be installed
   Depends: node-github-url-from-git but it is not going to be installed
   Depends: node-glob (>= 3.1.21) but it is not going to be installed
   Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed
   Depends: node-inherits but it is not going to be installed
   Depends: node-ini (>= 1.1.0) but it is not going to be installed
   Depends: node-lockfile but it is not going to be installed
   Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed
   Depends: node-minimatch (>= 0.2.11) but it is not going to be installed
   Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
   Depends: node-gyp (>= 0.10.9) but it is not going to be installed
   Depends: node-nopt (>= 3.0.1) but it is not going to be installed
   Depends: node-npmlog but it is not going to be installed
   Depends: node-once but it is not going to be installed
   Depends: node-osenv but it is not going to be installed
   Depends: node-read but it is not going to be installed
   Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
   Depends: node-request (>= 2.25.0) but it is not going to be installed
   Depends: node-retry but it is not going to be installed
   Depends: node-rimraf (>= 2.2.2) but it is not going to be installed
   Depends: node-semver (>= 2.1.0) but it is not going to be installed
   Depends: node-sha but it is not going to be installed
   Depends: node-slide but it is not going to be installed
   Depends: node-tar (>= 0.1.18) but it is not going to be installed
   Depends: node-underscore but it is not going to be installed
   Depends: node-which but it is not going to be installed

Someone please help with proper way of installation.

Node.js package is available in two releases:  LTS release and the current release. You can install any version you want. I am installing LTS version for this answer.

Add Node.js PPA

You will need curl to download the script, so first, install curl by typing sudo apt install curl in the terminal.

Once, curl is installed successfully, run the command to download and install the installer.

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

Install nodejs

Now, run the below command install node on and Ubuntu using apt. This commmand will also install npm with nodejs. It will also install dependencies.

sudo apt install nodejs

Note: To check the version of node run the command

node -v

To check the version of npm run the command

npm -v

Hi Follow this here link to install nodejs, NPM, NVM. For UBUNTU related some documentation Digital Ocean has good documentation, it  will walk you trough every command.

Hop this Helps.


systemctl failed to connect to bus - docker ubuntu:16.04 container I'm trying to use the systemctl command in a ubuntu:16.04 docker container. I'm running the following command...

systemctl status ssh

However I'm getting the error...

Failed to connect to bus: No such file or directory

Why is this not working? Is this related to Ubuntu running in a docker container? How can I get systemctl to work correctly?

I assume you start your docker container with something like

docker run -t -i ubuntu:16.04 /bin/bash

The problem now is that your init process PID 1 is /bin/bash, not systemd.
Confirm with ps aux.

In addition to that you are missing dbus with would be the way to communicate. This is where your error message is coming from. But as your PID 1 is not systemd, it will not help to install dbus.

Best would be to re-think the way you plan to use docker. Do not rely on systemd as a process manager but have the docker container run your desired application in the foreground.

Inside docker container, I think you can update-rc.d if you are still struggling with systemd. I tried with update-rd.c and it works.


Why the wireless network is no longer listed? I've searched for answers but its seems there's no universal solutions.
I've run the script form wireless info gathering script website.

And here's the wireless info it generateswireless info.
Many thank to anyone who can take a look at it and help.
Thank you !

You should update your Ubuntu install to a supported kernel with
sudo apt-get install linux-generic-lts-xenial
This will install the 4.4 kernel and it will support your wifi

Disable Wifi and Enable Wifi again.
If you prefer command line, use following.

nmcli radio wifi off && sleep 5 && nmcli radio wifi on

This command will be restart wifi.

If you have issues with restarting Wifi and Network Manager, you can try following answer https://askubuntu.com/a/811738/640587.


I Have Problem with swap memory in ubuntu 20.04 LTS My swap memory was 7.7 Gig and I change it to 10 Gig with gparted

Now When I go into gparted it shows me that my swap is 10 gig
but in gnome system monitor shows it 2 gig
and in htop and top just shows swap is 2 gig

Like this picture -->  https://i.stack.imgur.com/lsNdt.jpg

Now What Should I do to see my swap 10 gig in all of them?

From the comments...

You're probably using the standard 2G /swapfile that comes with a fresh install of 20.04, instead of the carefully crafted 10G swap partition that you've created.

Decide which type of swap you wish to use.

To stick with an enlarged /swapfile, do this...

Note: Incorrect use of the dd command can cause data loss. Suggest copy/paste.

sudo swapoff -a           # turn off swap
sudo rm -i /swapfile      # remove old /swapfile

sudo dd if=/dev/zero of=/swapfile bs=1M count=8192

sudo chmod 600 /swapfile  # set proper file protections
sudo mkswap /swapfile     # init /swapfile
sudo swapon /swapfile     # turn on swap
free -h                   # confirm 8G RAM and 8G swap

Add this line to /etc/fstab...

/swapfile    none    swap    sw      0   0

To stick with the 10G swap partition...

sudo blkid | grep -i swap # identify the UUID

sudo -H gedit /etc/fstab # edit the file

If it exists, remove this line...

/swapfile    none    swap    sw      0   0

Locate your current swap mount, and change it to include the proper UUID, or add a line that looks similar to...

# swap was on /dev/sdb5 during installation
UUID=xxxx-xxxx-xxxx-xxxx  none  swap       sw       0       0

You can confirm your swap memory size using swapon --show.
It will show the current swap available.

After using the fallocate command in Linux to change the size of the swap file, make sure you mark this file as swap.

size = 16G // Size = 16GB (Assumed)
sudo fallocate -l $size /swapfile
sudo mkswap /swapfile

And most importantly, do enable the swap file after the allocation and marking:
sudo swapon /swapfile.


Migrate from a virtual machine (VM) to a physical system Aka: How can I convert a .vdi or .vmdk to a real installation on a physical disk?
Is it possible/feasible to migrate a Virtual Machine installation of Ubuntu onto a physical machine? If possible, how difficult would this be to accomplish and what steps would i need to take to prepare for the migration.
I'd like to do some testing on a VM and if it works out migrate that system to physical hardware instead of reinstalling everything. Is this possible?

Yes, it's possible. It's not even that hard, it just takes some time, a Ubuntu LiveCD, sticky-back-plastic, and an external USB disk (if you don't have more than one internal disks).

Preliminary step: Convert the disk to something useful

Both VMWare and VirtualBox (amongst others) use disk formats that don't lend themselves well to being written directly to disk. You can but I personally feel it's more convenient to write it to an intermediary, standard image first. You can do this from your current system without having to boot to a LiveCD.

Load a terminal and fire in:

cd /media/wherever-the-image-is/

# for VMWare
sudo apt-get install qemu-kvm
qemu-img convert your-vmware-disk.vmdk -O raw disk.img

# For VirtualBox
VBoxManage clonehd your-virtualbox-disk.vdi disk.img --format RAW

Move /media/wherever-the-image-is/disk.img somewhere that you're not about to write to. If you're planning to write it to the disk that it's currently sitting on, you'll want to stick it on a separate internal disk, or, worst-comes-to-worst an external disk.
The following instructions assume you've moved it to /media/dave/disk.img (dave is an external USB disk)
Before you do any serious writing, make sure you have backups. It's a cliche thing to say but one typo and there's a very real possibility you'll nuke your system. Assume that things will go wrong and be prepared. CloneZilla can help you take whole disk backups if you have somewhere for that data to be stored.

Write the image to a disk of its very own

You'll want to do something like this. This assumes you're going to overwrite a whole disk. If you want to do an alongside-Windows install, don't follow these instructions! Skip to after the bullets.

Boot into an Ubuntu Live CD and click Try Ubuntu.
Mount your the place where your vmdk image is being stored (eg the external USB disk as /media/dave). Do not mount the place where you want to write to.
Then we go to work:

sudo dd if=/media/dave/disk.img of=/dev/sdX

You want to replace sdX with the correct path to your destination disk. The sudo password is blank, just hit return.
You can then open gparted or something else and you should see your Ubuntu partition sitting on the disk. You should be able to expand it out.

Write the image to a disk alongside another operating system

This is perhaps an altogether safer way of doing things. The idea is very similar apart from you do a proper install of Ubuntu and then just sync over the files from disk.img.

Your LiveCD this time will need to be the same version of Ubuntu as your virtual install. Boot into the Live CD and, again, click Install.
Follow the installer through, repartition things as you see fit. About 10 minutes later, you'll be installed and it'll ask you to reboot. Don't reboot. Doesn't matter if you accidentally do, just make sure you're back in the LiveCD for the next instructions.
Mount your new install's partition and your external disk where you've stored the disk.img from earlier (just double click them in nautilus).
Mount your disk.img ISO in a terminal:

sudo mkdir /media/oldinstall
sudo mount -o loop /media/dave/disk.img /media/oldinstall

-Note - After creating the desired .img file, sometimes when you try to mount it as a loop device  you might get the following error

"NTFS signature is missing.
 Failed to mount '/dev/loop0': Invalid argument
 The device '/dev/loop0' doesn't seem to have a valid NTFS. "

A .img file sometimes contains a master boot record and a partition table before the actual partition that you might want to mount. Hence you need to find out the offset of the required partition. To this, one can use the parted tool. For an example, look at the answer by sisco311 in this link  http://ubuntuforums.org/archive/index.php/t-1576011.html

So, if you have determined your offset to be 'xxx' then you can mount your partition using

sudo mount -o loop,offset=xxx /media/dave/disk.img /media/oldinstall

From there you can either cherry-pick files or just copy over everything on top of your new Ubuntu install using something like:

sudo rsync /media/oldinstall/ /media/my-new-install/

Reboot and you should be greeted with your old VMWare install, but on bare metal. If you get nasty grub issues, you can fix it by going back to Live CD, chrooting and fixing things.

If you have the new physical disk attached to the machine the VM virtual disk is on, you can convert VDI to physical without an intermediate conversion, probably saving a bunch of time & disk space.  This is assuming your physical disk is the same or larger than the virtual disk's maximum size.  In my case, the goal was to convert a VDI to a ZFS zvol, but the approach should be the same with any block device.

First create a VMDK file pointing to your block device:

VBoxManage internalcommands createrawvmdk -filename physical.vmdk -rawdisk /dev/sdX

Then (with the VM shutdown!) you can clone the VDI to the VMDK:

VBoxManage clonemedium --existing virtual.vdi physical.vmdk

That'll take a while...  When it's done, you can delete the VMDK file since it was only used as a pointer for VirtualBox to find the physical device.

In my case, the new zvol was exactly the same size as the virtual disk.  Given that your physical disk is probably different, you'd need to employ some kind of partition resizing mechanism to fill the full disk.  Gparted or something perhaps.  You should be able to point that at the physical /dev/sdX device while still attached to the VM machine so you don't have to resort to boot CD's the physical host.

Once the resize is done, pop the drive in your physical machine, cross you fingers, and power up.

In the event you wanted to keep using the physical drive with VirtualBox, keep the VMDK around, and use VBoxManage storageattach to connect it to the VM.


Sharing files over Internet I'm running a headless Ubuntu server at home, and I’m wondering if there are any good programs for having a website with your files on it. Basically like Twonky, except less awful.

Why don't try the good ownmycloud software? This is a great web interface with public link on file.

First you will need the couple PHP/MySQL installed on your server. Then I suggest to view the page Installation | ownCloud.org to continue the installation.

Once done, you have to configure your router for two things :

Enable port forwarding, tcp 80 to your server. Configuration depends of your router manufacturer and model. Have a look here to have an idea of the goal

How To Forward Ports on Your Router

Create a Managed DNS | Email Delivery | SMTP | Domain Registration free account and domain and configure your router to use this domain. This will allow you to access on your server from outside.

Tonido is a good software, it can be installed onto any desktop and files can be accessed by a desktop end or droid end program that links it to the main computer. You do not need a server for it to work, just a desktop. Its native enviornment is windows sadly enough, though I have it running under Ubuntu 13.10 just fine with wine installed. It can be found here if you so choose. Tonido | Run your own Personal Cloud


Wireless not working in Wubi install? I just installed Ubuntu with Wubi and it never gave me the screen suggested in the installation steps to connect to the Internet. Now I cannot detect any kind of Internet.

Once you've rebooted after installation, and log in, you'll need to go to the upper right area of your desktop. In the image below, there are several indicator icons, if you'll notice the one that looks like an upside down pie piece. Left click on that to see what networks are available to you. If you don't see a checked option for Enable Wireless
You may need to connect your device up to a wired network cable and check for additional drivers as suggested previously. Hope this helps.

Based on your response, here is what I would try and do next as this worked recently when I helped an individual during a LUG meeting.

sudo apt-get update && sudo apt-get purge bcmwl-kernel-source && sudo apt-get install firmware-b43-installer

You might need to also do:

sudo apt-get -f install

If you notice any errors in the terminal.

I also believe on his installation that I had to go to additonal drivers once I had updated the firmware, then the driver appeared and let me activate it. It worked, and I had him reboot to verify that it was good to go (which it was!). Let me know how things work out!

I'm new to Ubuntu so probably someone already tried it but it worked for me:
I connected a LAN cable first and went to system settings. in there I clicked on software sources and additional drivers. clicked on "using broadcome 802.11 ..." and apply changes.
After that it took few minutes to update and my Wi-Fi was working.
You have to do it with a cable in otherwise it doesn't work.
Hope that helps and sorry if I'm stating the obvious.
good luck


What does Vi stand for? I was just wondering what "Vi" means in Linux (the command used for editing files)?

Wikipedia has a concise and properly cited explanation:

  The name vi is derived from the shortest unambiguous abbreviation for the command visual in ex; the command in question switches the line editor ex to visual mode.

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

Note that this does not mean that the full name of the text editor "vi" is still "visual" or, even, that "vi" currently stands for "visual" - the name of the editor is just "vi".  The above quote just explains how the name originally came into being.

As Ben Voigt helpfully points out, the people (and websites) claiming that it stands for "Visual Instrument" are confusing it with another product unrelated to the text editor.

Vi just stands for Visual, as in Visual Editor.  Vim stands for Visual Improved, as in Visual Editor Improved.wikibooks


How to enable 3D acceleration with an Nvidia Geforce GT 540M I have NVIDIA Geforce GT 540M. I have a problem with "3D acceleration".
Every game I install tells me "you don't have 3D acceleration". What can I do to enable 3D acceleration on my computer?

the GT 540M indicates that you have optimus technology. Optimus allows you to choose between the Intel GPU that is part of the Core i Series processors and the discrete chip (the Nvidia GT 540M).
There are two things I would do:
Check your bios settings and see if you can set the video card to use the discrete graphics only. This is not available on all bioses, but if it is there you will have the options of:

Optimus
Discrete
Integrated

Choose Discrete.
Then upon completing the boot ensure the Nvidia proprietary drivers are installed. There should be no need to use the PPA; simply use

System Settings > Additional Drivers

That should then give you options for your Nvidia card.
I hope that helps.

Please have a look at switcheroo or acpi-call in order to solve hybrid graphics card problems. google will help.


How do I get a Lexmark X2600 printer working? I can't get my Lexmark X2600 printer working. I tried a lot of things find over the net but without any success.

Is there a really big brain who can help me? I really love 12.04 release (64 bits) and I NEED my printer working.

After installing the driver, do this:

sudo modprobe usblp
sudo chown -Rh root:root /usr/local/lexmark
sudo chown -Rh root:root /usr/lib/cups
/etc/init.d/cups restart

gedit /etc/apparmor.d/usr.sbin.cupsd

Find:

# FIXME: no policy ATM for hplip and Brother drivers
/usr/bin/hpijs Ux,
/usr/Brother/** Ux,

Copy and Past after this:

/usr/local/lexmark/lxk08/bin/printdriver Ux,
/usr/lib/cups/backend/lxkusb Ux,
/usr/local/lexmark/lxk08/bin/lxkusb Ux,

Save the file

/etc/init.d/apparmor restart

humm srry for my bad english :(

i see that you use ubuntu 12.04 with 64 bits in my casse i make the installation of the driver on my laptop with ubuntu 11.04 64 bits.

try to follow the instructions step by step;

1/ download the driver: http://support.lexmark.com/index?page=content&id=DR860&docLocale=en_US&segType=driverSegmentLINUX_UNIX

2/create a folder and unzip "lexmark-inkjet-08-driver-1.0-1.i386.deb.sh.zip" in it

3/execute  lexmark-inkjet-08-driver-1.0-1.i386.deb.sh in root

4/normally you will receive this error message; Please Install CUPS Version 1.2 or Higher and Run the Installer Again

5/This error happens when Ubuntu, Debian and other operating systems that are DPKG package base also has an RPM package manager installed.

6/remove RPM package, use the command: sudo apt-get remove rpm and retry step 3

7/you will receive another error message that tell you the installation is failed

8/this error message is due to the uncompatibility of the 32 bits lexmark driver within your ubuntu 12.04 64 bits

9/so to success the installation you need to force the installation of the driver.

10/go to this site and follow the instructions: http://www.phoronix.com/scan.php?page=article&item=lexmark_linux&num=4


Command to append line to a text file without opening an editor Assuming i have a line that i want to add to a file without opening an editor.

How could i append this line

alias list='ls -cl --group-directories-first'

to this file

config.fish

You can append a line of text to a file by using the >> operator:

echo "hello world" >> my_file.txt

or in your case

echo "alias list='ls -cl --group-directories-first'" >> config.fish

Please take note of the different types of quotes.

Adding to Stefano's answer, you can also use cat:

Using a heredoc:

$ cat >> config.fish <<'EOF'
> alias list='ls -cl --group-directories-first'
> EOF

<<'EOF' means "take the following as input, until you reach a line that is just EOF". The quotes mean to take the input literally.
Or inputting the line on stdin:

$ cat >> config.fish

Then paste or type in the line, press Enter to go to a new line, then press Ctrl+D to mark the end.


Broken apt-get 12.04.5 when attempting to update php to 5.4, i seem to have broken apt-get! everything i try now will give me the below

You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies.
     libapache2-mod-php5 : Depends: apache2-mpm-prefork (> 2.0.52) but it is not going to be installed or
                                    apache2-mpm-itk but it is not going to be installed
                           Depends: apache2.2-common but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

running apt-get -f install will give me

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apache2-mpm-prefork apache2.2-common
Suggested packages:
  apache2-doc apache2-suexec apache2-suexec-custom
The following NEW packages will be installed
  apache2-mpm-prefork apache2.2-common
0 to upgrade, 2 to newly install, 0 to remove and 278 not to upgrade.
3 not fully installed or removed.
Need to get 0 B/229 kB of archives.
After this operation, 876 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 152370 files and directories currently installed.)
Unpacking apache2.2-common (from .../apache2.2-common_2.2.22-1ubuntu1.10_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/apache2.2-common_2.2.22-1ubuntu1.10_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man8/apache2.8.gz', which is also in package apache2-bin 2.4.16-4+deb.sury.org~precise+4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.22-1ubuntu1.10_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/apache2-mpm-prefork_2.2.22-1ubuntu1.10_amd64.deb (--unpack):
 trying to overwrite '/usr/sbin/apache2', which is also in package apache2-bin 2.4.16-4+deb.sury.org~precise+4
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/apache2.2-common_2.2.22-1ubuntu1.10_amd64.deb
 /var/cache/apt/archives/apache2-mpm-prefork_2.2.22-1ubuntu1.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Nothing ive tried seems to fix this.. can someone help please?

Thanks

You need to upgrade you kernel

First fix current packages

sudo dpkg --configure -a

Then run updates and upgrades

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

After installing updates (Some may not because the new package is in the new kernel)

sudo apt-get dist-upgrade

You may want to reboot


sudo apt-get update not working Ubuntu 15.04 Whenever I put in the command

sudo apt-get update

It returns:

Ign http://security.ubuntu.com vivid-security InRelease
Ign http://us.archive.ubuntu.com vivid InRelease
Get:1 http://security.ubuntu.com vivid-security Release.gpg [933 B]
Ign http://us.archive.ubuntu.com vivid-updates InRelease
Ign http://archive.canonical.com vivid InRelease
Get:2 http://security.ubuntu.com vivid-security Release [63.5 kB]
Ign http://us.archive.ubuntu.com vivid-backports InRelease
Ign http://archive.canonical.com vivid InRelease
Hit http://us.archive.ubuntu.com vivid Release.gpg
Get:3 http://us.archive.ubuntu.com vivid-updates Release.gpg [933 B]
Hit http://archive.canonical.com vivid Release.gpg
Hit http://us.archive.ubuntu.com vivid-backports Release.gpg
Get:4 http://security.ubuntu.com vivid-security/main Sources [26.4 kB]
Hit http://archive.canonical.com vivid Release.gpg
Hit http://us.archive.ubuntu.com vivid Release
Get:5 http://security.ubuntu.com vivid-security/restricted Sources [28 B]
Get:6 http://us.archive.ubuntu.com vivid-updates Release [63.5 kB]
Hit http://archive.canonical.com vivid Release
Get:7 http://security.ubuntu.com vivid-security/universe Sources [12.3 kB]
Hit http://archive.canonical.com vivid Release
Hit http://us.archive.ubuntu.com vivid-backports Release
Get:8 http://us.archive.ubuntu.com vivid-updates/main Sources [59.1 kB]
Get:9 http://us.archive.ubuntu.com vivid-updates/restricted Sources [28 B]
Get:10 http://us.archive.ubuntu.com vivid-updates/universe Sources [26.7 kB]
Hit http://us.archive.ubuntu.com vivid-backports/main Sources
Hit http://us.archive.ubuntu.com vivid-backports/restricted Sources
Hit http://us.archive.ubuntu.com vivid/main Sources
Hit http://us.archive.ubuntu.com vivid/restricted Sources
Hit http://us.archive.ubuntu.com vivid/universe Sources
Hit http://us.archive.ubuntu.com vivid-backports/universe Sources
Fetched 253 kB in 4s (62.5 kB/s)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/vivid-security/Release  Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/vivid/Release  Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/vivid-updates/Release  Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/vivid/Release  Unable to find expected entry 'partner/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/vivid-backports/Release  Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://archive.canonical.com/dists/vivid/Release  Unable to find expected entry 'partner/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Please help. I've been trying to install skype for a very long time and I've tried countless fixes.

  UPDATE:
  I can't install steam because of this either.

I had sometimes the same issue. I guess you can not install anything right? I fixed it with 2 solutions.
First try better mirror for updates.

Finding fastest mirror from the graphical mode is very easy. All you to do is open Synaptic package Manager, go to Settings -> Repositories. From the Ubuntu Software section, Select “Other” in the “Download From” drop-down box, and click on Select Best Mirror.

Source
And second remove any ppa that is not working.

Remove a PPA using a GUI: A PPA can also be removed by opening Software Sources (Ubuntu Software Center > Edit > Software Sources), then going to the "Other Software" tab, selecting the PPA you want to remove and then clicking the "Remove" button.
Each PPA should have two lines here, one for the compiled packages and one for the source, so remove both lines.

Source
One of these may help you.


"Not a COM32R image" error when trying to install from a USB key Not a COM32R image
boot

is a message that the console infinitely keeps spitting out when I try to install Ubuntu 10.04 from a USB. I created the USB using the StartupDiskCreator in 11.04.

What is the reason for this behavior? What do I do to set it right?

I have followed the steps perfectly, as enlisted in the Ubuntu Install from USB page.

A quick/dirty way to solve this issue is to press TAB, the computer will provide a text menu with your options, i.e. live live-install test etc.

Now just type the option you want, i.e. live Enter. This will boot it as a Live CD [sic], and then continue installation from there.

Im not an expert in anyway but....i do make USB boot drives for my company, what i use is

Unetbootin

you can find it in the software center or looking for it on Google. Also make sure to download an official .ISO from www.ubuntu.com

The reason i use Unetbootin/the startup disk creator is cause i have noticed that certain computers have issues with the startup disk creator's way of preparing the usb drive.


Reset the password in Ubuntu / Linux Bash in Windows I have installed Linux Bash on Windows 10 (available from Microsoft), but I've forgotten my password.

I've searched for a solution but I only find suggestions that involve doing something before the system boots, like accessing recovery mode, but that will not work in this case as this Ubuntu is just an application within a Windows system and doesn't have its own boot process.

How can I reset my password?

Run bash and make a note of your Linux username (this need not match your Windows username), see How can I find out my user name?
Close Bash on Ubuntu if it is running (or the next command will fail).
In Windows admin command prompt (Super+X, A) change the default user to root:

ubuntu config --default-user root

If you are using Ubuntu 18.04 in WSL, the command has changed to ubuntu1804 , so

ubuntu1804 config --default-user root

Now Bash on Ubuntu on Windows logs you in as root without asking password
Use passwd command in Bash to change the user password (the user whose password you want to reset):

passwd your_username

Change the default user back to your normal user in Windows command prompt

ubuntu config --default-user  your_username

If you are using Ubuntu 18.04 in WSL, the command has changed to ubuntu1804 , so

ubuntu1804 config --default-user your_username

Watch Full Video to Recover your password Windows Subsystem Linux
https://youtu.be/dTR232yvDCE

Note 1: The subsystem used in the video is not Ubuntu, but Kali    Linux. Hence the difference in the command.

Note 2: If you are still    using the original Ubuntu subsystem that came with the Anniversary Update, use the command lxrun. Upgrade to the subsystem version distributed via Microsoft Store is recommended.)

For those of you who lost the root password, what worked for me, was updating to Ubuntu 18.04 LTS via the Windows Store. Note, the windows store has two distinct options:

Ubuntu
Ubuntu 18.04 LTS (Pick this one)

To check your current version, run the following as any user:

At command prompt, enter:

cat /etc/*release

You should see a line in the output that says:

DISTRIB_RELEASE=16.01

If you see that, then definitely update to 18.04, and it will prompt you to create new UNIX credentials.


Nautilus no menu bar above Ubuntu 15.04 Hello my nautilus is missing the edit and go to options above in the toolbar when I hover the mouse above it. This happend since Ubuntu 15.04

Fixed by installing nemo:

open the terminal and do this

First remove nautilus with

sudo apt-get remove --purge nautilus

then download nemo

sudo add-apt-repository ppa:webupd8team/nemo

sudo apt-get update

sudo apt-get install nemo nemo-fileroller

then your folders might dissapear etc in the desktop. They should return after some time. If not the please restart the pc.

This is my solution. You don't have to delete nautilus but then you have to keep opening nemo and do all from there. BTW if you search nemo it will show you a application called files. Dont get confused on that, its still nemo.


How to set up USB for Virtualbox? I'm using Ubuntu Maverick and Virtual Box 3+. I have Windows 7 Ultimate. The problem is that it doesn't detect USB drives in Windows 7, but USB peripherals (mouse + keybord) are working.

I followed these instructions, but I can't find the user group vboxusers. How can I continue? I would also like to upgrade to the latest version without any risk (without losing my virtual hard disk drive).

1. Install Extension Pack

also see: How do I install the VirtualBox version from Oracle to install an Extension Pack?

USB 1.0 is supported in the version installed from the Ubuntu repositories (from VirtualBox > 4.x).

For USB 2.0 and USB 3.0 we need to install the free (but closed source) VirtualBox Extension Pack (NOT the "platform packages") from the VirtualBox download page. If you had installed VirtualBox from the repositories you have to make sure to choose the extension pack for the right version of VirtualBox. You can see the version of your installed VirtualBox in the help > About VirtualBox menu. For regular updates and bug fixes, it is recommended to install the most recent VirtualBox version from the Oracle repository.

  All virtual machines need to be powered off before installing the extension.

2. Become a "vboxuser" in Host machine (local machine)

To be able to get access to an attached USB device, the Ubuntu host user needs to be in the vboxusers group. Add your user to this group by running the following command

sudo usermod -aG vboxusers <username>

and reboot or logout/login.

3. Activate USB support in VirtualBox Manager

Shut down your virtual machine and open USB settings in the VirtualBox Manager. Tick Enable USB Controllerand USB 2.0 (EHCI) Controller or USB 3.0 (xHCI) Controller.

  If these settings are greyed out, you need to shut down the virtual machine.

4. Select host USB device for access from the guest

To grant access to USB devices we need to select a device to disable in the host and to enable in the guest (this is a precaution to avoid simultaneous access from host and guest). This can be done from the panel Devices menu or by right mouse click in the bottom panel of the VirtualBox Manager on the USB icon:

Tick the device you need in the guest, untick it if you need it in the host. If you can't see your USB device in that list, it means that VirtualBox cannot access your host USB devices. Make sure your user is added to the vboxusers group and that you restarted your host.

The selected device will immediately be accessible from the guest. A Windows guest may need additional drivers.

Windows 7 needs an additional driver for USB 3.0 support.
Windows 10 does not accept an NTFS formatted USB pen drive.

[optional] Use USB filters for permanent access in the guest

By defining USB filters we can define USB devices that will automatically be presented to the guest when booting the guest OS.

Click on the green + symbol on the right to add a known device.

  Note, that some devices may lead to a boot failure of the guest. We can not use these devices for filters.

Read more on USB support in the VirtualBox User Manual.

Also see: what are the proper values for usb device in virtual box

My solution was the following:

Power off virtual machine
Download the right extension pack
Install extension pack
Start virtual machine, put in Virtualbox guest additions and install them. If already installed, repeat the installation
Shut down virtual machine
Go to Settings>USB as shown in the images above and enable USB
Boot virtual machine

If not working, restart your whole host system and try again. Worked fine for me.
Watch out: At the first boot of the guest system after installing the guest additions, you will see all usb devices to choose, but it can take up to 10 minutes until the Windows guest activates them after you checked them. Just wait patiently.


Copying Files from Failing Drive I have a failing hard drive that I'm trying to copy the files off of, but it randomly hangs on damaged files and I/O errors. If I ctrl+c I can start back up. I need to preserve the file structure, so I don't want to dump all the files into a single archive, like gddrescue or get a dump of every file in a drive, like foremost. Can anyone recommend a program that will give a timeout and continue to the next file?

Using rsync will begin to copy files, but rsync will get stuck, when it has an I/O error or comes across a corrupt file. This is the command I tried:

sudo rsync --progress --ignore-errors -avh source dest

Correct way is to run ddrescue:

If you have new empty drive with size greater or equal to failing one:

sudo ddrescue /dev/sd_source /dev/sd_backup ~/log_file --try-again --force --verbose

If you have mounted partition of new drive with enough disk space:

sudo ddrescue /dev/sd_source /media/user/backup/backup.raw ~/log_file --try-again --force --verbose

And then you can work with copy in any way (for example mount it and save data). Do not touch original (failing) disk anymore before you are completely assured that copy works normally.

1 word:  rsync

rsync is very capable of copying files in one direction, and you can restart it if the process crashes.  Additionally, you can use the --ignore-errors flag to force it to keep going even when an error happens, and if you need to restart it, it will skip trying to copy files it already copied.


Auto-switch audio to HDMI when HDMI monitor/receiver plugged into laptop I have a laptop with an HDMI port. While we're homeless and staying with friends I've been plugging it into their surround sound receiver with an HDMI cable. To get sound working I have to open up the sound settings jobby and switch the hardware profile from "Analogue Stereo Output" to "Digital Stereo (HDMI) Output" to have sound coming from the surround sound instead of the laptop's mincey speakers.

I have to do the reverse when I unplug it to get sound coming out of the speakers.

I'm getting a little bored of doing this. I'd like to script this. I have seen this question and its answer but pacmd list-sinks only shows one sink when the sound profile drop down shows several options.

And is there a udev event I could hook this into so it can run the script whenever the HDMI status changes?

In Ubuntu 11.10 pulseaudio will  recognize when you plug hdmi (or phone jack) and will make the switch automatically.

See this:

http://voices.canonical.com/david.henningsson/?p=15

There is a tool in the ubuntu repositories, padevchooser, which claims to let you change the output on the fly. I tried this and it doesn't really work for me (trying to switch output between built-in sound card and external USB music centre). The tool only lets me select "Default" and "Other..." instead of listing my two output options.

You might, however, want to have a look at this blog post describing how to write a script to change the output device to HDMI. I don't know of a way to run this automatically, but at least it's only one click, so you can bind it to an unused button on your laptop.


How to find the Process ID (PID) of a running terminal program? I am running a program in the terminal that I can't escape with Ctrl-C and that I want to kill. How can I find its PID?

Open another terminal and run ps ax  | grep foo where foo is the name of the unresponsive program. This should return a line of output  that looks something like this:

$ ps ax | grep firefox
2222 ?        S      0:00 /bin/sh /usr/lib/firefox-3.6.9/firefox
2231 ?        Sl   514:36 /usr/lib/firefox-3.6.9/firefox-bin
30290 pts/2    S+     0:00 grep --color=auto firefox

The first field of each line of output is a number which represents the Process ID of the program matched by grep (you can safely ignore the last one, which represents grep itself.

To halt the offending process, do:
kill pid where pid is the Process ID of the program. You might have to use your judgment as to which of the matches needs to be killed, or you could use top instead. Using kill by itself sends SIGTERM, which you should try first as it allows the program to properly clean up after itself. If SIGTERM fails, try SIGHUP, which is stonger medicine: kill -HUP pid. If all else fails, send SIGKILL. But, you should only do so as a last resort, because SIGKILL causes the kernel to terminate the process immediately with no possibility for cleanup. This can at times result in data corruption or other problems. So again, only send SIGKILL as a last resort. To do so, do kill -KILL pid or kill -9 pid.

If you are running a graphical interface, of course, you don't have to fool with this crazy command-line stuff to get the job done. Just open "System Monitor", navigate to the Processes tab, choose the process you want to halt (Hm, could it be the one using 90% CPU?) and right-click it. Since the process is already stopped, (that's the problem, right?) choose End Process or Kill Process from the resulting menu.

  Credit to koanhead

You can also open another terminal (or switch to another tty) and run top, which is basically a text version of the System Monitor. The first column lists the PID of each running process, which you can kill by pressing K, entering the PID and then entering a numeric signal to send.


Is there a way to clone my desktop ubuntu to my laptop? I've been transitioning to Ubuntu for the last year and have my main PC running Ubuntu as the only OS now.

My issue is that I will going on the road for 2 months and taking my desktop PC with me is obviously not an option.

I have a laptop that I'm happy to wipe. Is it feasible to take an image of my desktop PC before I leave and transfer it to this laptop when I leave (and then when I return to reverse the process and put my laptop's image back onto my desktop PC?

I'm looking to transfer all directories such as /etc (for apache/phpmyadmin for example) as well as /home.

How to make a disk image and restore from it later?

-This may help, if you're looking to make a disk image of your whole system, therefore allowing you to restore another machine using the image.


Pressing enter produces ^M instead of a newline For example, if I am tail -fing a file or reading user input, <Enter> will produce ^M in the terminal instead of ending the read or adding a newline to stdout. ^J works fine.

I'm sshing into the ubuntu system, if that matters. This happens to me both in zsh and bash. One solution I played with is remapping the ^M to ^J in zsh, but that seems like it wouldn't fix the root problem. Anyone know what might be causing this?

Edit: To answer some questions, I'm sshing into Ubuntu from OSX. I'm using iTerm and zsh. I also forgot to mention that I'm using tmux on the Ubuntu machine.

Edit 2: Missed a question. When I type Ctrl-V Enter I get ^M (both on OSX and Ubuntu).

Edit 3: On OSX and Ubuntu echo $TERM produces screen-256color.

In case anybody else has this problem, it is most likely a problem with the stty terminal line setting rather than a TERM problem. If this happens to you again, try running stty sane and let us know if that fixes it.

Try running stty -a to view your terminal settings. My suspicion is that your icrnl setting is not set and will be shown as -icrnl (the minus sign means that it is turned off) instead of having its usual setting of being on. Here is how my terminal is normally set up when I log in:

$ stty -a
speed 38400 baud; rows 45; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon -ixoff
-iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

And I have no problem with line endings: either return (^M) or enter (^J) will end input lines. But if I turn icrnl off then ^M codes suddenly appear each time I am talking to a program and hit enter:

$ stty -icrnl
$ read line
Line of text^M^M^M^M
$ stty -a
speed 38400 baud; rows 45; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff
-iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

The code icrnl means “turn carriage returns into newlines” and hides from the running program that you might be typing ^M when Unix really wants ^J. Old keyboards used to have a separate Return and Enter key (where Return typically advanced you through a form and Enter submitted it), but today we generally have only one line-ending key and so this terminal setting helps combine the two meanings.

Add the stty icrnl command to your .profile or .bashrc if you find that this is indeed the problem setting.


Keystrokes Delayed or Missing in SketchUP Under Wine I am trying to use SketchUp 2016 Make under Wine 1.7.

Keystrokes seem to be delayed or missing. For example after choosing the Move/Copy tool, pressing the Ctrl key to invoke the Copy function sometimes works immediately, sometimes it has to be pressed several times or holding it for several seconds before the + sign emerges.

Same for selecting elements and hitting the Delete key. Sometimes it works, sometimes the same annoying behavior.

Ubuntu version is 15.10.

Thanks for considering.

Do you play games? Is there such a problem, or is it specific to only this app? If you have no such a problem anywhere else, then most probably it is caused by a partially (or not at all) implemented function — then I'd advice you to update to wine 1.8, and check if the problem persists. If it's still there, consider filling a bug.

I reset all my keyboard shortcuts didn't work. I changed my default to windows 8 in my wineprefix now everything works great. sketchup 2016 wine 1.9.5  xenial 16.04 Ubuntumate.


How to change the shortcut to move windows from Alt to Super/Meta? I use graphics software like GIMP, Inkscape & Blender extensively for my business. But most of them require the use of the Alt key in some way or the other. Come Ubuntu 11.10, I haven't been able to find any way to change the shortcut for window moving/resizing from Alt+LMB/MMB to Super/Meta+LLM/MMB. This option was present in the 'Windows' settings in Gnome2, but it is not present anywhere in Gnome3. And yes, I have tried searching through the Shortcuts tab in Keyboard settings, its not there.

Install compizconfig-settings-manager.

Open CompizConfig Settings Manager and navigate to the Resize Window plugin.

Click the <Super>Button2 button and rebind the shortcut.

Install compizconfig-settings-manager from Software Center. When you have installed (and opened) it, search there for "Unity plug-in" or something similar and click it. Select Switcher and there you can select the buttons which will open the Switcher.


PowerPC No OS How to install with USB I have a PowerPC G3 that does not have an OS on it. I dont have a disk, but I do have an USB. I plug it in but I am not getting anything to install

I recently got a usb to boot on an ibook g3.

You very likely already know this, but some "regular" iso's don't work for powerpc's. Rather one needs a different iso (look for PPC) : https://help.ubuntu.com/community/Lubuntu/PreviousReleases

I do recommend the "alternate" iso as I found it to install faster.

I found the following very helpful :

https://wiki.ubuntu.com/PowerPCFAQ#How_do_I_boot_from_a_USB_drive.3F

it looks really long, but that's because it addresses lots of things that could go wrong!

Being fairly command-line illiterate, I found the "dd" command discussed somewhat of a challenge to use, but after several tries at getting the path correct, it worked just fine. (Do note that it may take a while, with no indication of activity in the terminal).

Good luck.

I suggest you go to the start-up options by pressing ESC at the beginning, when you start your system and the name of your system manufacturer appears on the screen then from there go to the boot menu and over there choose your USB whichever one it is (eg: Kingston data traveller....), then you'd be able to boot from you're pen drive.


graphics card error on dual boot with windows 7 So I dual-booted with Windows 7 and this is my first time ever using Ubuntu.

As soon as I start Ubuntu it gives me this image and I don't understand what is happening.  I think this a graphics card error, it works on Windows 7.

Also it occasionaly gives me an option to run graphics in low settings. I do it but it still doesn't work, I usually just get a purple screen with black and green bars.

I have a custom computer:

Nvidia GTX 760
Intel core i5 4670k
Gigabyte z87-hd3 motherboard

I also have 2 hard drives and the SSD is for Windows and the 1 TB WD is for Ubuntu. I partitioned it so only about 150 GB are for Ubuntu.

Paste into a terminal

sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install nvidia-319

press Enter.


How to upgrade from 14.04 to 16.04? I would like to upgrade an Ubuntu system from 14.04 to 16.04. I ran the usually referenced command:

sudo update-manager -d

Which is strangely proposing to upgrade to 14.10:

If I then ask for the upgrade I get this error message:

How is it done exactly?

Try:

Edit the file /etc/update-manager/release-upgrades .
Change the value of "Prompt" from "normal" to "lts".
Then try sudo do-release-upgrade -d.

See if that works.

Failed to fetch
Fetching the upgrade failed. There may be a network problem

The message may indicate that you need to check your connection or the upgrade servers. They may be down for the moment. But it actually means that is trying to upgrade to 14.10, instead of 15.10 or 16.04 LTS, which is EOL and therefore the packages are missing on the server. I would suggest to open a bug report against ubuntu-release-upgrader-core or contact the Release team, as this shouldn't be the behavior of the upgrade manager.


Problems installing Nvidia drivers, Ubuntu 15.04 Using Ubuntu 15.04 on a desktop that has onboard Intel graphics. Recently installed add-in card with Nvidia GeForce GT-730.

I'm unacquainted with Nvidia drivers and wasn't aware of the complexities...
After considerable trouble in trying to install nvidia proprietary drivers from the Nvidia web site, and losing my graphics capabilities in the process, I realized that isn't the right thing to do.

So I switched to the apt package in http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu. Installation of the most recent driver pacakge (sudo apt-get install nvidia-358) runs successfully and does not report any errors. However, after a reboot I still don't get the nvidia driver - it seems that the nouveau driver is still being used.

I have also tried earlier packages, the results are the same.

Here are some technical details...

Xorg.0.log contains the follwing lines which suggest an error:

[    27.573] (EE) [drm] KMS not enabled
[    27.573] (EE) No devices detected.
[    27.573] (==) Matched nvidia as autoconfigured driver 0
[    27.573] (==) Matched nouveau as autoconfigured driver 1
[    27.573] (==) Matched modesetting as autoconfigured driver 2
[    27.573] (==) Matched fbdev as autoconfigured driver 3
[    27.573] (==) Matched vesa as autoconfigured driver 4
[    27.573] (==) Assigned the driver to the xf86ConfigLayout
[    27.573] (II) LoadModule: "nvidia"
[    27.573] (WW) Warning, couldn't open module nvidia
[    27.573] (II) UnloadModule: "nvidia"
[    27.573] (II) Unloading nvidia
[    27.573] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    27.573] (II) LoadModule: "nouveau"
[    27.573] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    27.573] (II) Module nouveau: vendor="X.Org Foundation"
[    27.573]    compiled for 1.17.1, module version = 1.0.11
[    27.573]    Module class: X.Org Video Driver
[    27.573]    ABI class: X.Org Video Driver, version 19.0

I have /etc/modprobe.d/nvidia-358_hybrid.conf which contains the following

# This file was installed by nvidia-358
# Do not edit this file manually

blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off

lspci -v | grep VGA outputs

  01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 730] (rev a1) (prog-if 00 [VGA controller])

glxinfo | grep -i vendor outputs

server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: VMware, Inc.

And here is the "Additional drivers" tab from "Software and Updates":

Any help would be greatly appreciated! let me know if more details are needed.

Edit: output of lspci -nnk | grep -A3 VGA

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208 [GeForce GT 730] [10de:1287] (rev a1)
    Subsystem: ASUSTeK Computer Inc. Device [1043:850c]
01:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1)
    Subsystem: ASUSTeK Computer Inc. Device [1043:850c]

I gave up and installed 14.04 LTS... that "solved" the problem - the nvidia card was detected during installation and I got the correct drivers. The default driver was nouveau, but the proprietary nvidia driver was also installed and I easily switched to it. After reboot I got 3d acceleration (the difference can't go unnoticed!) and dual monitor support with no issues.

Luckily it is a wubi installation so I could install alongside the original OS and then mount the original partition and copy whatever I needed... but I admit this solution sucks. I'm posting it just to let other miserable souls know it works.

If anyone has a better answer please add it. If this is the only answer, I would advise against trying to install new nvidia boards into existing 15.04 systems (or on any existing system? Perhaps new 15.04 systems too? I couldn't find any success stories...)

Have you tried this:

 sudo apt-get install nvidia:i386
 sudo apt-get update
 sudo apt-get upgrade

and it might work fine this way.