Ubuntu 14.04 randomly freezes on Dell Precision M4500 I know this has been asked several times, but many of them are tagged as duplicates and sent back to what should I do if the computer freezes.  I don't want the computer to freeze and only want those methods as a last resort, not something I have to do every time I boot up!

I am dual booting and Windows works fine.  I was wondering if perhaps it was trying to do something with the nVidia driver on the comp? (It's a Dell Precision M4500 laptop). It just happens to randomly freeze sometimes, no idea what causes it. It just froze when reading an article online (not taxing the system at all). It also froze once when I shut the lid to the laptop and only the mouse was working.

It has frozen several other times as well. Is there perhaps a driver I should install (I have no idea where I would get that) or something else? I would really like to fix this without having to disable the graphics card and "knowing" how to restart it when it freezes.  As I said before I know their are several other posts similar to this, but I didnt see any that really helped me all that much.

Edit: After installing the "current nVidia driver" from the Ubuntu Software Center it has been running very smoothly and I have not had any freezing issues.  If anybody is having the same problem you should definitely try this.  Thanks for the help guys :)

I use Ubuntu 14.04 and at first I had this problem. I installed nVIDIA driver on My Ubuntu and it has never freeze since I install nVIDIA driver on it.
nVIDIA driver is available in Ubuntu Software Center.
Hope it helps.

I have Ubuntu 14.04 running on Dell Inspiron 17R. I also had same freeze problem of terminal due to inactivity or even after locking. But I finally got a solution.

Follow the steps:

Press Ctrl+Alt+F2 at least 2 times. Wait for some time. You will see login screen.
Log in as root.
Run command: reboot
When Ubuntu reboots, select Advanced Setup Options while, using the arrow keys.
It will take you to recovery mode.
Run in recovery mode.
It will prompt to boot as normal boot.
Press OK. And it will solve the problem forever.


Bus 001 Device 003: ID 13b1:003a Linksys AE2500 802.11abgn Wireless Adapter [Broadcom BCM43236] driver Does anyone know how exactly to get the driver installed for this and give a step by step guide? Everything I've tried so far goes to a dead end.

The device only works with ndiswrapper. With a temporary working interet connection by ethernet or any other means, open a terminal and do:

sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9

Download the driver file to your desktop here: http://downloads.linksys.com/downloads/driver/AE2500xp_WHQL,0.zip Right-click it and select 'Extract Here.'

Find out if you need the 32- or 64-bit files:

arch

64-bit returns x86_64. If yours is a 64-bit system, you will need to make an edit to the driver file. Open "bcmwlhigh5.inf" in gedit or any text editor and add this line, around line 170:

[Linksys_AE2500.files.NTamd64]
  AE2500xp64.sys,,,6

Proofread carefully, save and close the text editor. Now do:

cd ~/Desktop/xp
sudo ndiswrapper -i bcmwlhigh5.inf
sudo ndiswrapper -ma
sudo depmod -a

Reboot. If the wireless is not working, see if you can see any problems:

ndiswrapper -l

That's a lower-case L for 'list,' not the number 1. Also:

dmesg | grep ndis

sudo apt-get purge bcmwl-kernel-source

then run

sudo apt-get install firmware-b43-installer b43-fwcutter

Remove from blacklist if found.

check the file /etc/modprobe.d/blacklist.conf

if it contains an entry for bcm4* then put # to comment it or remove the whole line.

also notice if there is a file called bcm4* under the directory /etc/modprobe.d/ then remove it.

Now run the command:

sudo modprobe -r b43
sudo modprobe b43
sudo rfkill unblock all


How Ubuntu plans to support PHP7? Tomorrow will be release PHP 7, how Ubuntu plans to support it? It will be available at least in official LTS repository or we need to wait the next Ubuntu release?

The new upstream PHP 7.0 won't be supported in existing releases.  The policy on bringing new stuff to existing releases is very clear on that -> only security releases go in.  You can read about the Ubuntu policy here: https://wiki.ubuntu.com/StableReleaseUpdates

The good news is that Ubuntu 16.04 LTS will be released with PHP 7.0 packages.  Nish from Canonical made an heroic effort to push my Debian packaging into Ubuntu 16.04 and he has also updated many packages that depend on PHP and cleaned up the rest that doesn't support PHP 7.0 (yet or never will).

If you want to use PHP 7.0 on older Ubuntu releases, the only way is to use some external means, like my ppa:ondrej/php PPA that carry co-installable PHP 5.6 and PHP 7.0 for Ubuntu 14.04 and later.

PHP 7.0 is currently available in Ubuntu 16.04 LTS BETA. I run it myself and it works.

Additionally, PHP 7 appears as package "php" and php5 as "php5".


problem to install Ubuntu alongside Windows 7 I am trying to install Ubuntu 14.04.1 (64-bit version, from http://www.ubuntu.com/download/desktop) on my computer where Windows 7 is already installed. I would like to have both Ubuntu and Windows 7 installed on the computer.
I have downloaded the Ubuntu, burned it to a disc, and started the installation. In step 4 where I should partition the disk I got the text "This computer currently has no detected operating system. What would you like to do?" Erase disk and install Ubuntu, or Something else.
I am interested is it possible to easily install Ubuntu 14.04.1 alongside Windows 7 on my computer (I have limited experience with installation of operative systems), and could I install some earlier Ubuntu version without these problems?

The main problem is that during the installation Ubuntu couldn’t see Windows nor partitions on the disk. I have clicked on Something else, but after that on the next screen I am not asked to install Ubuntu alongside Windows. Instead, I am asked to partition the disk, and the only row that I see displays the full 500GB disk. I partitioned the disk from the Windows and released 200GB on hard disk, but even after that Ubuntu sees just full disk capacity of 500GB. If it could help, my computer is Acer Aspire E15 E5-511G and I installed Windows 7 in legacy boot mode.

Does somebody have any idea how to solve the problem?

On that screen, Click on SOMETHING ELSE.
In the next screen, Click on Install Ubuntu alongside Microsoft Windows...
Next Screen, Most likely you'll see one row showing /dev/sda  (SDA is 1'st Hard Disk).

VERY IMPORTANT,  STEP
highlight the free space row & only then Click on ADD button, enter how many GB you want for Linux.

you will see 2 extra rows now,
Ubuntu Linux & temporary swap partition.

Hope this helps.

If you need screenshots, Plz use the below link.

http://www.techspot.com/community/topics/step-by-step-beginners-guide-to-installing-ubuntu-11-10.172128/

It is possible to dual boot Windows 7 and Ubuntu. Follow this link  from ubunutu documentation

NOTE : to avoid data loss Keep Important files backup


Grub never shows, always boots to Windows 8.1 - Sony Vaio I hope this won't be marked as a duplicate as I've tried almost all answers to similar questions I could find on this site. My Sony Vaio runs Windows 8.1 and I wish to dual boot Ubuntu 14.10 on it.

Here's how I installed Ubuntu:

Disable secure boot and fast startup.
Boot from USB and install.
I selected 'install beside windows 8.1' and did not select 'something else'

After the installation the laptop rebooted, since my USB was still plugged in, it booted into it and realized I made a mistake. I powered off the laptop, pulled the USB stick out and then turned it on. It booted straight to Windows 8.1.

My boot order was CD > External > Internal. Network boot is disabled.

Here are some of the things I tried after looking at similar questions on this site:

I tried the following commands bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi , bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi, with secure boot enabled and disabled accordingly but still no sight of grub.
I then shift clicked restart > selected use a device in the menu that came afterwards > and selected ubuntu from there and the laptop rebooted. But unlike the other questions I've seen on this site, once again Ubuntu did not load and instead windows booted up. This method works for this individual.
Afterwards I tried the boot-repair after booting into the live CD but that did not work either. Here is the file that was generated from the boot-repair tool :(http://paste.ubuntu.com/10551408/).

A very similar question that I don't understand the solution to:

This question on AskUbuntu seems similar to mine except he manages to get the grub menu showing using his little hack, but that does not work for me (mine boots right into Windows).

Also, I do not understand how to carry out the most voted answer to that question.

More details about my laptop:

It's a Sony Vaio E14P: SVE14A290X with a 240 gig Intel SSD, added by myself. I noted that other Sony laptops (different models) had issues with SSD's but all of them managed to load the grub menu without a problem.

EDIT:

Something else I found when following this tutorial:

To set GRUB2 as the default bootloader follow these steps:

Login to Windows 8
Go to the desktop
Right click on the start button and choose administrator command prompt
Type mountvol g: /s (This maps your EFI folder structure to the G drive).
Type cd g:\EFI
When you do a directory listing you will see a folder for Ubuntu. Type dir.
There should be options for grubx64.efi and shimx64.efi
Run the following command to set grubx64.efi as the bootloader:

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

Reboot your computer
You should now have a GRUB menu appear with options for Ubuntu and Windows.
If your computer still boots straight to Windows repeat steps 1 through 7 again but this time type:

bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi

Reboot your computer

When I type dir, to check the directory contents, instead of a folder called Ubuntu I get a huge list of windows related files. Does this mean my ubuntu is not installed in the correct place?

FINAL UPDATE:

After trying so hard for so many days, running codes and messing with things I didn't know, I tried installing EasyBCD (something I missed out on somehow) and using that I deleted the Sony boot loader entry, the Windows 8.1 boot loader entry and just left Windows 8.1 and ubuntu and rebooted, and guess what? Grub loaded up!! Windows works fine too. I followed this tutorial. Thanks everyone who tried to help me! I really wish it hadn't been this daunting but oh well!

Try use the recommended Boot Repair from a Ubuntu Live CD/DVD/USB

Run these commands in a terminal in number order with a internet connection:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Press the enter/return key after typing each command

Answer source.

I had a very similar issue and had it resolved last night. Try this and see if it works.

If you don't see any boot leader and Ubuntu starts directly then you have to edit your grub file. Follow these steps. Press Crtl+Alt+T to open Terminal or search Terminal from dash.

Then enter following command:

sudo gedit /etc/default/grub

Change values as below wherever necessary:

GRUB_HIDDEN_TIMEOUT=0

GRUB_HIDDEN_TIMEOUT_QUIET=false

GRUB_TIMEOUT=10

Then save the file (Crtl+S) and run following command in terminal.

  sudo update-grub

Reboot your system


Could not find driver error When I try to run index.php using this command -

php -S localhost:8080

I get "could not find driver" error.

But php files not using mysql runs correctly. What may be the issue and how do I fix this?

I am using Ubuntu 16.04 64 bit.
Please refer to the following outputs-

https://paste.ubuntu.com/17427857/

https://paste.ubuntu.com/17427866/

You are missing the php7.0-mysql package.

So you should install the php7.0-mysql package.

PS: Why are you downvoting this? It has solved OP's problem.


Touchpad scroll not working on Acer Aspire One I just installed Ubuntu Netbook Version 10.04 LTS on an Acer Aspire One and it works perfectly, but For some reason I'm not allowed to use the little scrollpad at the side of the trackpad to scroll like I would on Windows. I checked the settings and it appears to be enabled there, so do I need to install any extra drivers?

May be you are experiencing, this bug:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/549727

Try this open a terminal by pressing ctrl+alt+t then type:

sudo modprobe -r psmouse
sudo modprobe psmouse proto=imps

Then if it works please create a file "/etc/modprobe.d/touchpad.conf" and put "options psmouse proto=imps" in it, so, type:

gksudo gedit /etc/modprobe.d/touchpad.conf

put the row:

options psmouse proto=imps

into the file, save and close, then reboot to test if it works...

sudo modprobe -r psmouse
sudo modprobe psmouse proto=imps
/etc/modprobe.d/touchpad.conf
options psmouse proto=imps
gksudo gedit /etc/modprobe.d/touchpad.conf

options psmouse proto=imps


Any way to remove Totem but still have video thumbnails in Nautilus? I prefer to use VLC because it never gives me problems while Totem does. I'd like to uninstall Totem, so all file associations point to VLC. However I still want to have video thumbnails in Nautilus.

It's not actually uninstalling it but if you do sudo cp /usr/share/applications/totem.desktop ~/.local/share/applications/totem.desktop and then gedit ~/.local/share/applications/totem.desktop and add a new line Hidden=true the desktop will completely forget totem exists. It will no longer be used for file associations and will not show up in the menus but the thumbnailer should continue to function.


Can't shutdown and logout from top panel in Ubuntu 14.04 LTS I recently installed Ubuntu 14.04. Shutdown and logout from the top panel are not working.

They worked fine when installing the OS, but a few days back I installed fglrx drivers for my ATI graphics card. They didn't work and I got low resolution problems and Ubuntu didn't boot. I solved it by removing the fglrx graphic driver from the recovery mode and Ubuntu started to boot and work just fine, at least that's what I thought.

But now the shutdown and logout options in the top panel don't work. I have to logout using ctrl+alt+delete and shutdown with the shutdown option in the top panel (shutdown option works after logging out but not when logged in as a user).

I re-installed Ubuntu 14.04 LTS and shutdown options worked fine but after installing updates they stopped working again. I thought its the graphic driver fglrx installation problem but now i know its not that. I think its a problem with some file that got installed from Ubuntu updates.
Does any one know how to solve it?

No need to remove cairo-dock from start-up applications.

Use one of the these solutions:

Find cairo-dock.desktop file ~/.config/autostart and add this code,X-GNOME-Autostart-Delay=20

Steps to solve easily (tested in Ubuntu 14.04)

Run gedit without root
Click open file menu and press Ctrl+H
Open file ~/.config/autostart/cairo-dock.desktop
Add this

X-GNOME-Autostart-Delay=20

Save and close
Reboot your unity/gnome

Delay time more than 20 works fine.

or:

Select cairo-dock startup application from startup application and change command option to:

sh -c "sleep 30; exec cairo-dock -o"

source here and here

or

Create a script called startdock, with the text

#! /bin/sh -e
sleep 20
cairo-dock
exit 0

Make it executable, and in the startup items add a new command with path to this script.

This is a bug as indicated in a comment. The bug report states that

Unity's shutdown/restart dialogue is not working when another application is registered to LauncherEntry interface of Unity DBus.
It seems we have this bug when Cairo-Dock (and its Launcher-API-Deamon), DockbarX or Plank are launched before Unity.

To solve the same problem with Plank dock, replace cairo-dock with plank in one of the above solutions. The same for other applications.

try this

sudo -i
gedit /etc/default/grub

find the line

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and change it to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"

save the file and close it.

now run

update-grub

now i think your problem solved.


converting epub files to PDF format I would like to know the ways in which epub files can be converted to pdf in ubuntu. Any method, GUI or command line conversion is fine as far as my epub gets converted to pdf. Thanks.

You definitely want Calibre.  You can use it to convert virtually any file type to any other file type, as long as the source file doesn't have DRM (like Amazon, Adobe, etc.).  If it does have DRM, check out Apprentice Alf's blog for help stripping it out with Calibre plugins.  Don't use the DRM stripper to pirate books or otherwise violate your agreement with the vendor.  Use it so you can enjoy your books on any device in any format.

Calibre is also an awesome e-book management program that can do virtually everything.  It can manage Kindles, Android phones/tablets, etc.  It can even email your books with one click to your Kindle's email address if you want.  You won't be disappointed :-)

From a terminal:

sudo apt-get install calibre

Or search for it in Ubuntu Software Center

To actually convert the EPUB file you can use the following command:

ebook-convert file.epub file.pdf (For details, check this other answer)

Or you can check the details for the conversion dialog using the Calibre GUI.

Please fist install calibre by running the following command

sudo apt-get -y install calibre

Afterwards you can simply convert yout epub file into pdf with:

ebook-convert my-book.epub my-book.pdf --enable-heuristics

PS: I really liked the answer that I saw on a similar post here: https://askubuntu.com/a/170119


How can I upgrade my OS from the terminal? Each time I try, I'm told everything is up to date So I've been checking around on how to update my Ubuntu OS from 13.10 to 14.04 LTS, and each thing I see says to use commands in the terminal.  Some of the commands I've tried are:

sudo apt-get install update manager-core
do-release-upgrade

and several others. Each time I try I am met with something that says everything is up to date, or in the case of do-release-upgrade I got:

Checking for new Ubuntu release
No new release found

Am I missing something?  Is there a file I'm meant to download for this to work, or does it look through the internet for whatever it needs, in which case it is failing to find anything?

So is there any way I can upgrade through this method, as I can't download an .iso as my computer doesn't have a disk drive, nor can I go through a flash drive, as I don't have any that I can use right now?

Test this procedure:

First: You need to update the system.

Open a terminal,Press Ctrl+Alt+T

Run it:

sudo -i
apt-get update
apt-get dist-upgrade

Reboot your system to finish installing updates, and to upgrade to new available version:

Open a terminal,Press Ctrl+Alt+T

Run it:

sudo -i
nano /etc/apt/sources.list

In the open file, delete the content and paste this:

deb http://ar.archive.ubuntu.com/ubuntu/ trusty main restricted
# deb-src http://ar.archive.ubuntu.com/ubuntu/ trusty main restricted
deb http://ar.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
# deb-src http://ar.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb http://ar.archive.ubuntu.com/ubuntu/ trusty universe
# deb-src http://ar.archive.ubuntu.com/ubuntu/ trusty universe
deb http://ar.archive.ubuntu.com/ubuntu/ trusty-updates universe
# deb-src http://ar.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb http://ar.archive.ubuntu.com/ubuntu/ trusty multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://ar.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb http://ar.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
# deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
# deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
# deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://ar.archive.ubuntu.com/ubuntu/ trusty-proposed universe multiverse restricted main

Ctrl + O, save file. Ctrl + X, close nano.

Continue run in a terminal:

sudo -i
apt-get clean
apt-get update
apt-get dist-upgrade
apt-get autoremove
apt-get -f install
dpkg --configure -a
apt-get clean
reboot

Try the below command

sudo do-release-upgrade

The problem may have been because you aren't root.


No display after resuming from suspend The laptop is able to suspend. After resuming from suspend, there is simply no display, the screen remains off. Based on all the other answers, I have tried the various Ctrl+Alt+Fn (1 - 12) combinations as well as Ctrl+Alt+Del. There is no terminal, no error message, no nothing. The only thing that does happen is the fans go louder and faster.

The model/make of the laptop is HP 630 Notebook PC.

The solution was to update the BIOS.

The old BIOS which didn't work was version F.19.
It worked after updating to version F.39.

I had the same problem. In my case, I discovered a method for this: start swiping the touch pad fully and very fast, immediately after opening the lid.


Progress bar for scp command Is there any way to display a progress bar while copying from server to local (or vice versa) using scp?

I don't think that this can be done with scp. Last time I needed something like this i.e. progress shown, I used rsync instead. It shows progress in a bar-like manner. See if it works for you.

You will need to use the --progress option of rsync. You can use the following command:

rsync -r -v --progress -e ssh user@remote-system:/address/to/remote/file /home/user/

I don't know how to do this in a command line. I'm sure it's possible but there is a graphical method for doing this.

Nautilus (the default file browser in Ubuntu) can mount ssh/sftp servers. They act like a local filesystem after that and you can copy files around like you normally would. And you get the usual progress bar that you would with a normal copy.

Look under the File menu for Connect to server...


Boot Linux on hard disk from USB key Most of the questions here are about creating a live/installation bootable USB key, but what I need is different and I can't find an answer.
I have a Linux installation on the hard drive, which, after installing Windows 10, is (obviously) not bootable. "Start with a liveCD and reinstall grub" I hear you say, but I don't want to do that: I don't want to install grub because the Linux installation is only temporary. What I need is really just a way to boot (once or twice, to run some tests) into the Linux partition. I'm pretty sure what I have to do is start from a LiveCD and enter some custom boot parameters, but I'm pretty ignorant in the matter so I have no idea what the command line should look like. Help please!

Grub makes it very easy to edit its commands, but first determine a few things on your hard disk installation. Boot the live media and :

Start a terminal (Ctrl-Alt-t) and determine  what partition the Ubuntu installation is on and its filesystem with the blkid command.

sudo blkid
Make a note of the UUID for that partition just in case the device fails to work (unlikely)
Mount the hard disk's Ubuntu partition, say at /mnt, and look at the boot directory for the most recent kernel (highest number) with a name like vmlinuz-3.8.0-25-generic.efi.  Note this number, you will use it in the grub edit.

Reboot the live media, and at the grub menu screen, read the instructions at the bottom.  Type "e" to edit, then using the arrow and delete keys change a few things to use the hard disk.
Change the "set root=" to be the Ubuntu's partition (probably hd0 and whatever partition you found above (for example, 7).  Your UEFI machine came with Windows so it uses GPT partitioning, so the command should be edited to:

set root= 'hd0,gpt7'

Next there are a couple of "search" commands, you can edit the items to reflect your disk and partition, or just delete them, all they do is to set the root to the UUID.  If delete doesn't work, edit them next time.  The next two lines are the ones identifying the kernel you want to boot.  Change them to the number of the kernel you found on the hard disk (probably a smaller number than is seen on the live media since the hard disk installation is old).

linux /boot/vmlinuz-???
initrd /boot/initrd.img-???

With those changes, try to boot with ctrl-X or F10.  The hard disk should boot.

I currently run Kali and Windows 10 side by side. When I did the install I hit the same problem as you. There is something with newer windwows (8 and up) and the UEFI settings that makes what your asking for not possible. (As far as I know)

If you just need Linux for a couple uses then you need to use a Live USB or CD. There is really no reason you wouldn't want to do this. If you are insistent on keeping Linux as a dual boot you will HAVE to install GRUB to manage the boot sectors. I will share the Link that I used to do this. It is for KALI but Kali and Ubuntu are both Debian and everything WILL work for you.

Remember that any roadblocks you are hitting is likely because of UEFI and not Ubuntu. It may benefit you most to research UEFI configurations.

http://docs.kali.org/installation/dual-boot-kali-with-windows


I can't get it to replace windows 8! I have a windows 8 installed laptop, and have installed ubuntu, but when I reboot my system, I am given a choice to choose Ubuntu or windows 8, when I choose Ubuntu, the screen loads up and then repeats the question, this cycle is repeated endlessly, please tell me what I am doing wrong.

Sounds like windows is still on your hard drive just in a separate partition. Grub is configured, done during the ubuntu install, to let you choose between ubuntu and windows. Grub will boot windows or linux... it is an advance bootloader. If you do not mind windows being on the hard drive then the easiest thing you could do is just edit windows out in the /etc/grub.conf file. Warning: You may create additional  boot problems if that is not done correctly. If this were my computer I would just erase the entire hard drive and install ubuntu thereafter. Windows is taking up uneeded drive space. Many ways to erase the hard drive. This is how I do it. I use the gparted live CD. The live CD is on sourceforge for download. http://gparted.sourceforge.net/livecd.php

It sounds very much like an issue with uefi settings. I haven't had to do this myself but try disabling uefi boot in bios. I think there is a better way do rather than disabling uefi as well. Hope this helps.


Ubuntu 14.04 LTS crashes often I have a brand new thinkpad (x250) with Memory: 7,9 GiB - Processor: Intel Core i5-5200 CPU 2.20GHz x 4 - Graphics Intel HD Graphics 5500 (Boardwell GT2) x86/MMX/SSE2 - Disk 243,8 GB.

I installed ubuntu 14.04 on it (32-bit) about 2 months ago, and it was fine.
Since last week it crashes often (it logs out automatically while i am working), mostly when i am working with the Emacs texteditor (writing in clojure). What could the cause be?

On a *50 series ThinkPad (Intel Broadwell) you should install the newest available kernel (4.2 from Wily) and graphics stack (from Vivid):

sudo apt-get install --install-recommends linux-generic-lts-wily xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid xserver-xorg-input-all-lts-vivid libwayland-egl1-mesa-lts-vivid

Refer to https://wiki.ubuntu.com/Kernel/LTSEnablementStack

I also strongly suggest to reinstall with 64 bit.

I could also experience this problem before i had a raw install of ubuntu 14.04 LTS. But it had stopped when i had created a new user. It is now working perfectly on my pc (hope it would work on others too).

How to ceate new user:

Login to guest account
Then logout. Press ctrl+Alt+F2.
Now it Goes full black screen, log in with administator user.
Create a new user. Open-up terminal and type:

sudo adduser username
sudo adduser username sudo

Now log out and login using new user & Delete the old user you'd have probs.

Hope this had helped for you.


How can I get Ubuntu working on my G4 Powerbook 1ghz 17" Completely new to Linux but very keen to get it working on my G4 Powerbook 1Ghz 17

Have tried install of MintPPC 11 which failed to boot xorg and gave error:

[drm] failed to open device
Fatal server error: no screens found

Have also tried install of Ubuntu 14.04 from netboot, and that gives a black screen at boot, sometimes also offers a repeating message:

[   55.504281] nouveau E[     DRM] DDC responded, but no EDID for TV-1

I have tried various Xorg files, but not found anything to work.

Has anyone out there successfully installed to a 1Ghz 17" G4 Powerbook?

well i had the same problem did may research and her it gos
link for Ubuntu that works with G4 Powerbook 1ghz 17
http://cdimage.ubuntu.com/releases/12.04.4/release/
download the Ubuntu 12.04 PowerPC


How to solve the problem booting FGLRX 8.780 + Kernel 2.6.35-25? Possible Duplicate:
  Boot screen in low graphics/text mode

The situation before this all happened is pretty standard. I have a HP Pavillion dv5 laptop with an ATI Mobility Radeon 4200 series. It always worked fine with Ubuntu for as long as I can remember. However, at one point, something happened and truly made a majestic mess of things. It might've been extra repos I enabled with Ubuntu Tweak - I do not know. But something made it so that my system would not boot any longer.

And when I say "won't boot", this is what I mean:
- Durning a normal bootup, any entries (except Windows) selected with GRUB (or BURG, not even sure which one I'm using anymore) will spawn the Ubuntu loading screen - then try to start X (or GDM) 5 times. The screen goes to dark, black and back to the Ubuntu loading screen. Then it just stays there until I spawn another TTY.

I have no idea what is happening or why. There are no errors in my logs, and I'm truly at a loss here.

I've linked three files: Xorg.0.log, the output of dmesg and the GDM log:

Xorg.0.log: http://ubuntu.pastebin.com/tpVKc2tc
dmesg: http://ubuntu.pastebin.com/Nd5aYj45
gdm's :0.log: couldn't post due to lack of points :(

Let me know if any of you more knowledgeable folks can restore some sanity in my life. Any help is greatly apreciated.

Try to reinstal fglrx with

sudo apt-get purge xorg-driver-fglrx
sudo apt-get install xorg-driver-fglrx


How to make videos show thumbnail in ubuntu 13.04? I have ubuntu 13.04 and many of my videos do not show thumbnails whereas some do, they are all Mp4 formats including the ones that do show thumbnails.

Is there a way to make all videos show thumbnails?

The ones that do show them were on my old operating system when i had windows 7 so after movinng them from pc to external hardrive to pc (with new os, ubuntu 13.04) the thumbnail remained, whereas new videos do not show the thumbnail.

From: Gnome 3 not displaying thumbnails?

Had the same problem with Ubuntu 13.10 - Gnome3.
Solved it deleting whole folder thumbnails in /.cache and remaking it.

1) Disable preview in nautilus by opening home folder, Edit-> Preferences-> Preview.

2) sudo rm ~/.cache/thumbnails

3) Empty trash can

4) sudo mkdir ~/.cache/thumbnails

5) Reboot

6) Enable preview, again home folder, Edit-> Preferences-> Preview.

Done.

Worked for me.

k.


How to install Telegram Desktop in Ubuntu 14.04 LTS I want to install Telegram Desktop software on my Ubuntu 14.04 LTS. I have downloaded the tsetup.0.6.15.tar.xz file. Now I want to know how to proceed further.

How to install Telegram Desktop in Ubuntu 14.04

Download the Telegram Desktop client and extract tsetup.0.6.15.tar.xz. You can easily do this in the file manager (nautilus). Just right-click the file and click extract here. Now you have a folder called Telegram.

Move this folder to /opt. You can do this using the file manager, but you'll need to start it with root privileges. You can do this by typing the following in a terminal: (you can find the "opt" folder in "computer")

sudo nautilus

After the move, double-click the telegram binary /opt/Telegram/Telegram. The last thing we need to do is add Telegram to the "applications" menu. This happens automatically if you right-click the icon of the running app and choose "lock to launcher".

Other options for using telegram in Linux

Telegram is also available as:

Google Chrome app
web-app
scope, and other platforms.

You can find different alternatives here: https://askubuntu.com/a/456121/172367

Extract it from folder tsetup.0.8.36.tar.xz and put this folder wherever you want...and run the file named telegram in executable mode by double clicking it..that did for me


How to purge all bluetooth settings How do you uninstall, purge and reset all bluetooth settings?

I'm running Ubuntu 14, and my bluetooth is incredibly unreliably. Sometimes, bluetooth devices connect just fine. Sometimes they don't. Sometimes they connect several times so that three duplicate sound profiles show up for one bluetooth headset.

I tried doing sudo apt-get purge bluetooth* and then reinstalling, but that doesn't seem to remove any of the settings files. How do I completely reset all Bluetooth settings short of reformatting my hard drive and reinstalling Ubuntu?

There is probably a better way than digging through the file-system. I'll share what I know. Hopefully somebody smarter knows a better way.

1) Check for duplicate running processes

If you had the same process running multiple times, that could create the conflict that you described and you might be able to stop here.

ps -ax

if you know the process name, then try:

ps -ax | grep <name-here>

2) Make sure that the package is really uninstalled:

If you run the command below, you'll see that it's not installed or you'll see the corresponding files that are still on your system.

dpkg -L <name>

If you had a few package with similar names, you could do the following:

dpkg --l | fgrep <name>

Once you found what the package was, you could then use the first dpkg command to find all of the files associated to it.

3) Reinstalling and then searching

If you wanted to search through the file system directly, you might not find results right away. Because the package might be partially uninstalled with pieces of it left behind, you might have to know exactly what you're looking for or re-install and then actually view all of the directories and files it touches. You might try reading the man pages on find. Just know that it's not hard, but it's also not straight forward like locate.

4) Package maintainer

You could type the following:

apt-cache show <name>

This is neat for two reasons. If there is a package currently installed, it will show the package twice. The top one is available and the bottom one is the installed version. You may find some information that can lead you to the package maintainer.

I'm hoping one of these will get you up and running until you find a nugget or get a better solution.


14.04.3 xrdp "gnome-session --session=ubuntu-2d" not Work I installed ubuntu 14.04.3

I installed xwindows

sudo apt-get install --install-recommends ubuntu-desktop
sudo reboot

sudo apt-get install xrdp
sudo apt-get install gnome-session-fallback

and .xsession setting..

echo "gnome-session --session=ubuntu-2d" > ~/.xsession
sudo service xrdp restart

and windows 7 - remote desktop connect

id & password insert -> login ok.

My Screen

all grey.. center "X" mark..
2~3 seconds later screen close!

Why not connect "Ubuntu 14.04.3" "gnome-session --session=ubuntu-2d" or
"gnome-session --session=gnome-fallback" session?

unity-2d and gnome-session are not working anymore with xrdp since Ubuntu 12.10.  Unity-2d does not exists in Ubuntu 14.04. xrdp and gnome session are not working well together.

So to be able to use xrdp and Ubuntu 14.04 is to install an alternate desktop interface that will be used while connected through xrdp.

step 1 - install xrdp

sudo apt-get install xrdp

Step 2 - install alternate desktop (we will install mate-desktop because similar to gnome 2 desktop)

sudo apt-get update
sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon

Step 3 - tell xrdp to use the mate-desktop when performing remote desktop session

echo mate-session >~/.xsession

Update info - Important:

witht the final release of ubuntu 16.04, Step 3 seems not to work anymore. To be able to connect via remote desktop and access the mate desktop, you will need to
modify the /etc/xrdp/startwm.sh.  add after the fi line the following command

mate-session

Save it and give it a try.  You should then be able to access your remote desktop

Reference links Install xrdp on Ubuntu 16.04

Have you tried this:

Enter the tty

and type this in

startx

and then this from the terminal:

sudo apt-get install --reinstall unity2d
sudo add-apt-repository ppa:yaunnu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

and it might work fine this way.


Error sudo: add-apt-repository: command not found I’m running Ubuntu 14.04. When I run:

sudo add-apt-repository ppa:ubuntu-wine/ppa

I get the following error:

sudo: add-apt-repository: command not found

I tried to run

sudo apt-get install software-properties-common

but it shows:

software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

For Ubuntu 14.04 or later you need to install the software-properties-common package:

sudo apt install software-properties-common

I found the solution in this blog:
Ubuntu Server 14.4 (Trusty Tahr) – add-apt-repository: command not found

If you are using an older release of Ubuntu, i.e. before 12.10, it is necessary to install the package python-software-properties.

sudo apt install python-software-properties


I Want Download Skype 16.04 LTS I want install skype. I'm opening terminal and writing sudo apt-get install skype but terminal says:

E: Malformed entry 53 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 53 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.

Why? Help please.

See my answer for this..
How to run Windows Skype on Ubuntu using Wine?
 Scroll down to Native Skype on Ubuntu. I just edited it without seeing this question...  In short.
There is a native Skype client for Ubuntu. You can open the Software and Updates applet included All Ubuntu flavors and click on the tab that says "Other Software". Make sure the Canonical Partners is ticked. Then you will be able to install the program through your favorite standard Ubuntu install method (software center, synaptic, or terminal).

or simply type:

sudo apt-get update
sudo apt-get install skype


In 13.04 using Unity Tweak Tool hot corners stops working after reboot I have 13.04 64 bit Ubuntu installed and I'm using Unity Tweak tool to enable hot corners everything works as it should as long as I don't reboot as soon as I do hotcorners stops working.  In order to get them functioning again I have to open the tweak tool and turn hotcorners off and then back on after every reboot.  This I admit isn't a huge issue but is annoying is there anyway to get hotcorners to work properly after reboot with out having to reset them every time?

Install dconf-editor:

$ sudo apt-get install dconf-tools

Run dconf-editor (don't use sudo as the changes wont affect your account)
Navigate to org -> compiz -> profiles -> unity -> plugins -> core.
Copy the field active-plugins into Gedit, and edit it so unityshell is the last item. Paste it back into dconf.
Restart your computer.

(Tried on 14.04, it works.)

I've had mixed luck with this, which used to fix this reliably in 12.04: Scale plugin keeps forgetting hot corner settings on restart :

  Run gconf-editor from Terminal or Alt+F2
  Navigate to apps > compiz-1 > general > screen0 > options
  Edit the key: active_plugins
  Move "Scale" to the bottom of the list.
  Move "Expo" to bottom right above "Scale" and underneath Unityshell.

Try moving Expo to after Scale at the absolute bottom in 12.10+


How do I find and install the right driver for a GeForce GT 440? The system is still behaving exactly the same, and I have not received any further direction on how to fix it.  Is there another piece of information I need to provide?

Update:  No response from the gentleman who was helping me, I got tired of waiting and just did a complete wipe, repartition, and reinstall.

Installed the latest nvidia driver through the additional drivers application, but still have the same behaviour - underscanning saved to xorg.conf will not be used at reboot because xorg.conf disappears at reboot.  Google Chrome is still launching in what looks like 640 X 480 mode (but nothing else is), the screen is extended past the border of the screen to the right and down, and the mouse pointer/cursor/arrow is still using a hotspot that is 35 pixels down and to the right of the actual arrow tip.  The screen goes back to normal after I re-set the underscanning on the Nvidia control panel, but that change (saved to xorg.conf) will go away at every reboot.  That is consistent with the bug report here.  I cannot believe that bug report is just wrong, but maybe I just don't understand the issues I am having.

Current dkms status says:

bbswitch, 0.7, 3.13.0-55-generic, x86_64: installed
nvidia-331, 331.113, 3.13.0-55-generic, x86_64: installed
nvidia-331-uvm, 331.113, 3.13.0-55-generic, x86_64: installed

After the major system error resulting from using the latest kernel, I am hesitant to try it again.

Any other suggestions before I try that again?

I followed the suggested solution below,  now all I get is a black screen, and no further instructions from the gentleman who was helping me.   Does anyone else with experience on this issue have any idea what the next step is?

Ubuntu 14.04, Nvidia GeForce GT 440.

64-bit system.

the 'duplicate of' link is not the same...  That solution has an answer that says to use 'sudo apt-get install nvidia-304 nvidia-304-updates', but one of the highest upvoted answers says to NEVER DO THAT. I've also tried that, and I get daily updates that report System Problems with that driver, then sent to a bug report that is 18 months old, and is still receiving 'not fixed' reports as recently as this morning.

dkms status
bbswitch, 0.7, 3.13.0-24-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-43-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-44-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-45-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-46-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-48-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-49-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-51-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-52-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-53-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-54-generic, x86_64: installed
nvidia-331, 331.113, 3.13.0-45-generic, x86_64: installed
nvidia-331-uvm, 331.113, 3.13.0-45-generic, x86_64: installed
virtualbox, 4.3.10, 3.13.0-45-generic, x86_64: installed
virtualbox, 4.3.10, 3.13.0-53-generic, x86_64: installed
virtualbox, 4.3.10, 3.13.0-54-generic, x86_64: installed

I would suggest upgrading kernel to 3.19 and installing 331 driver.
Run

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

reboot

sudo apt-get install --reinstall nvidia-331

reboot.

Try this link: http://www.geforce.com/drivers/results/49072.  This is the GeForce driver for 32 bit systems.   You did not specify what you had, so if yours is 64 bit then http://www.geforce.com/drivers/results/86390 Should do the trick.


find everything besides directories How can I use find command to find every type of the file (not just -type f but also specials such as sockets, device files etc.) but ommiting dirs?

Use negation.

find . ! -type d -print

Also see http://mywiki.wooledge.org/UsingFind

You can have o look at find manual, but I doubt it is the proper way to find sockets and/or device files... I think the program to find such a device is a different one, don't remember what exactly right now, sorry!


Need to skip lost+found when using find I am new to Ubuntu and I do not have alot of experience with Linux/Unix, so please bear with me while I try to get through this.

I have a camera system that records footage and takes screen shots and stores them in a folder. The problem is that the new files do not overwrite the older files, so the file system fills up and all new files are discarded.

So I installed Scheduled Tasks in the Ubuntu GUI and created a task to run every day. Here is the task:

find /media/dvr/* -type f -mtime 0 -exec rm -rf {} \;

I have the -mtime set to 0 for testing purposes, it will be set to 7 if I can get this to work.

The problem I have is there is a lost+found folder in the /dvr folder. When it gets to that folder it says I do not have permission to view it and it never finishes its search. I have used sudo to get in and change the ownership and rwx permissions, but that still doesn't help.

Is there a way to accomplish what I want to do by using find? Is there a more efficent way of cleaning out the /dvr/ folder?

Like I said, new to this and trying to get better. Any help would be greatly appreciated!

Just do:

find /media/drv -name lost+found -prune -o -type f -exec echo '{}' ';'

In general it is a very very bad idea to redirect stderr to /dev/null. The whole point of stderr is to show unexpected errors. If you are expecting a certain error then construct your command to avoid it.

Setting the permissions correctly should do it.  What does ls -ld /media/dvr/lost+found say?  Also drop the * at the end of /media/dvr/.  You want find to start its search in /media/dvr/, and when you add the *, the shell replaces that string with the name of every file it finds in /media/dvr/.

You also can just delete the lost+found directory.


How to install PhpStorm in Ubuntu 14.04 LTS? I have a JetBrains PhpStorm 7.1 and I want to install it in Ubuntu 14.04 so I installed wine for windows compatibility and I run PhpStorm-7.1.exe then it was successfully installed (I guess). But when I run the installed PhpStorm it gives me an error it says

  Failed to create JVM: error code -1

How can I fix this?

Instructions here: https://web.archive.org/web/20161207101644/http://sysads.co.uk:80/2014/08/08/install-phpstorm-7-on-ubuntu-14-04/

Please note that PhpStorm is not FREE, this is a 30-day trial!

Install dependencies

sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer oracle-java8-set-default

Install PhpStorm

wget http://download-cf.jetbrains.com/webide/PhpStorm-2017.1.4.tar.gz
tar -xvf PhpStorm-2017.1.4.tar.gz
cd PhpStorm-171.4694.2/bin/
./phpstorm.sh

Install dependencies

sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Latest version till July, 29

wget http://download-cf.jetbrains.com/webide/PhpStorm-2016.2.tar.gz
tar -xvf PhpStorm-2016.2.tar.gz
cd PhpStorm-162.1121.38/bin
./phpstorm.sh


HP Pavilion G6 at 12.04 LTS - boot failure. In rescue mode boots successfully 12.04 LTS AMD64 fails if boot is not in rescue mode with HP Pavilion G6.

At boot, grub presents 2 boot options:

normal boot
rescue mode

If I choose rescue mode, Ubuntu loads okay.

if I choose normal boot, I see only a black screen with console cursor at left-top corner of screen and nothing else, any keys work.

How I can fix problem?

If need technical details (logs/configs/hardware) please tell which exactly.

There is a ppa for it. but be careful. This is a kernel update.

ppa description

read this carefully AND FOLLOW THE DESCRIPTION AN THE PAGE.


How do I reset my Network settings to default (Ubuntu 16)? I messed up my network settings through the command line. I have a headless Ubuntu Server 16.04 without any desktop environment installed for a lighter-weight installation and connected to my local network through ethernet, and I use a Windows 10 laptop with SSH to access it, so I do not have a extra screen to use to reinstall Ubuntu. Is there any way to reset all my network settings through the command line?

What exactly happened was:
I was playing around with the command line because I wanted to access my server through SSH without typing in an IP address every time I connected, so I used sudo hostname with all its possible arguments to change its hostname from an IP address to my name. Now, SSH, SFTP, FTP, SMB, HTTP and almost everything possible is a million times slower than usual and sometimes returns "Took too long to load".

I don't mind resetting the entire OS, but I don't have an screen/monitor to use with a bootable USB/DVD.
I need a solution because my website is getting affected - It takes about 45 seconds to load a 8.2MB webpage although my internet speed is above 10MBPS.

SSH is working relatively better, so is there any command-line solution to my problem?

Run

ifconfig

and see the name of your network adapter. Mine is: enp0s3

now run this command

sudo nano /etc/network/interfaces

and you should get something inside....delete everything and paste this (but change the network adapter name where enp0s3 is):

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp0s3
iface enp0s3 inet dhcp

save the document and reboot...

use sudo  systemctl restart NetworkManager.service to restart of the network manager.


Disabling Password and Key Login I want to disable the login prompt to access the Passwords and Keys. Right clicking the prompt does not bring up a change password dialogue. Under Applications > System Tools >Preferences there is "Passwords and Keys" but right clicking that does not allow me to change the password either. There is no Password and Keys selection under Accessories. I used to be able to change the password to a blank character, which allowed it to automatically login, but there doesn't seem to be an option for that now.

Using Gnome 3 in 12.10
Thank you

Sorry, I got confused by Automatic login mentioned in the question. For reset the keyring setting, delete all the files with .keyring exntention from ~/.gnome2/keyrings/ location. Open Pasword and keys setting, create a new Password Keyring entry with name login and enter the same password as your login account. Then it will accept your login password as keyring password and you won't get the keyring password prompts.


Error creating kit for Nexus 4 when creating Click target I'm trying to autocreate a kit for my Nexus 4.  It is erroring out with a missing dependency.  How do I proceed?

 build-essential is already the newest version.
 apt-utils is already the newest version.
 apt-utils set to manually installed.

 Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the
 situation:

 The following packages have unmet dependencies:
 ubuntu-sdk-libs:armhf :
     Depends: liboxideqt-qmlplugin:armhf but it is not going to be installed

 E : Unable to correct problems, you have held broken packages.

 Command returned 100: schroot -u root -c
 source:click-ubuntu-sdk-15.04-armhf -- /finish.sh
 Traceback (most recent call last):

 File "/usr/bin/click", line 86, in sys.exit(main())
 File "/usr/bin/click", line 82, in main return mod.run(args)
 File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 266, in run return args.func(parser, args)
 File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 68, in create return chroot.create(args.keep_broken_chroot)
 File "/usr/lib/python3/dist-packages/click/chroot.py", line 592, in create self.full_name, ret_code)) click.chroot.ClickChrootException:
     Failed to create chroot 'click-ubuntu-sdk-15.04-armhf' (exit status 100)
 There was an error creating the click target, cleaning up

 click target was removed successfully
 ---Click exited with errors, please check the output---

Following this previously answered question, I used the commands at the bottom which appear to create the Click targets themselves outside the Ubuntu SDK.

$ sudo add-apt-repository ppa:ubuntu-sdk-team/tools-development -y

$ sudo apt-get update

$ sudo apt-get install ubuntu-sdk-ide ubuntu-sdk-api-tools

$ sudo apt-get install ubuntu-sdk-api-15.04-armhf ubuntu-sdk-api-15.04-i386

The armhf Click target is now appearing in the Ubuntu SDK options.

It's telling you that, along with ubuntu-sdk-libs:armhf, you must install liboxideqt-qmlplugin:armhf.


Bluetooth won't find devices! So the other day, I turned-off bluetooth via the system tray to save power... When I connected to mains power again, I was unable to turn bluetooth back on through either the system tray or the bluetooth settings, though this was rectified after a restart.

Following this was Ubuntu's refusal to work with any of my (previously) paired bluetooth devices... It showed them in the list as before, by simply would not connect to them.

In an attempt to rectify this issue, I deleted my bluetooth devices with the intention of pairing them again... But now Ubuntu won't "find" any devices!

As a test, I also made Ubuntu discoverable so that other bluetooth devices can "see" it and interestingly, none of my other bluetooth devices can "see" Ubuntu...

I'm not too sure what's going on, but any help would be appreciated.

In the past I had luck in reloading the bluetooth driver in the repository. Another option is if Bluetooth device is external then reinsert it into another USB port.


How to change username in Connect to server? Once I entered a wrong username and gave "Remember Forever", I can't change the username later. There are answers for change password but I want to change username

Even though it is an old post, I just had the same problem so I will write my solution.
I deleted the related password keyring from "Passwords and Keys" on Ubuntu 18.04. Then I restarted the computer and this time it asked the password again, and putting the right username, domain and password, I could connect to the server.

You can use "Connect to Server" option in Nautilus default file browser and login using
ssh://USERNAME@IPAddress/home/


Changing default app for PDF I'm using ubuntu 14.04. I want to set acrobat reader as a default app for PDF files. Right clicking and going "open with" does not get me anywhere because app is not listed. not even under "other  applications. Same thing with going through properties and selecting "open with".

I also tried doing it this way:
going to  /etc/gnome/defaults.list and change the line:

application/pdf=evince.desktop

to:

application/pdf=acroread.desktop

This just gave me an error and would not open PDF file at all. Please help.
I'm new to Linux and I'm not computer savvy.

Right click on the pdf file, then select Properties.  In the Properties window, select the Open With tab.  Find Acrobat Reader in the list of applications and select it, then press the button that says Set as Default.  That should do it!

Here's an example of what that window looks like (it was taken from this How-to-Geek article):

Navigate to a PDF file with "Files", right click on the file and choose "Properties", choose the "Open With" tab in the dialog, choose your application, click on "Set as Default".


Why does an error appear every time I try to open the Ubuntu Software Center? There is a glitch on the Ubuntu Software Center and whenever I open it an error appears and it keeps loading and never opens.  Why does this happen?  I have installed Ubuntu 13.04 on a disk and partitioned it.  Please help me and ask for excess information if you need it.  If you know of any duplicates please show me them!!

I get the following error in a terminal

SystemError: E:Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/medibuntu.list

The /etc/apt/sources.list.d/medibuntu.list file contains a HTML document.

The Medibuntu repository, which is referred to in your SystemError output, has now been shut down, the packages were either obsolete, unnecessary or moved to the official Ubuntu archive. Now that you can no longer pull packages down from the Medibuntu archive, you no longer need the medibuntu.list file in the /etc/apt/sources.list.d/ directory.

Open the terminal and open the /etc/apt/sources.list file for editing in nano editor:

sudo nano '/etc/apt/sources.list'

Delete any lines in sources.list that have medibuntu in them. Press the keyboard combination Ctrl+O and after that press Enter to save the sources.list file. Press the keyboard combination Ctrl+X to exit nano.
Remove the medibuntu.list file from its location in the /etc/apt/sources.list.d/ directory. This command will create a backup directory and save a backup of the medibuntu.list file called medibuntu.list.bak in it:

sudo mkdir backup && sudo mv '/etc/apt/sources.list.d/medibuntu.list' '/etc/apt/sources.list.d/backup/medibuntu.list.bak'

Tell your system to update the latest list of software from each archive it knows about:

sudo apt-get update

Try this command in a terminal

sudo sed 's/<!DOCTYPE//g' /etc/apt/sources.list.d/medibuntu.list

Then check if it works with this command:

sudo dpkg-reconfigure software-center

If it doesn't work, then edit your question with the output of this command:

cat /etc/apt/sources.list.d/medibuntu.list


How to completely remove kubuntu-desktop from Ubuntu I installed kubuntu-desktop just to experiment with its interface.
Then I decided to remove and did the traditional apt-get purge and autoremove
but it seems elements of kubuntu are still there.
For example interface elements, scrollbars, bootscreen etc are still there.

Is there any method I can completely remove without installing a fresh copy of ubuntu?

I would recommend you to use aptitude to do this operation, this will search the packages that would remove the KDE environment and leave Ubuntu's default:

sudo apt-get install aptitude
aptitude search '?and(?and(?and(?reverse-depends(kubuntu),?not(?reverse-depends(ubuntu-desktop))),?automatic), ?not(?or(?priority(required), ?priority(important))))' ubuntu-desktop+

This will search for any package that kubuntu-desktop depends to, but doesn't depends of ubuntu-desktop. Also, this method is a bit greedy. It will remove Qt packages, ergo mplayer2, VLC and any package that depends on Qt libraries may be deleted. Add those packages with a plus sign (+) at the end, like ubuntu-desktop package in this case. For other flavors:

Xubuntu

aptitude search '?and(?and(?and(?reverse-depends(kubuntu),?not(?reverse-depends(xubuntu-desktop))),?automatic), ?not(?or(?priority(required), ?priority(important))))' xubuntu-desktop+

Lubuntu

aptitude search '?and(?and(?and(?reverse-depends(kubuntu),?not(?reverse-depends(lubuntu-desktop))),?automatic), ?not(?or(?priority(required), ?priority(important))))' lubuntu-desktop+

Gnome

aptitude search '?and(?and(?and(?reverse-depends(kubuntu),?not(?reverse-depends(ubuntu-gnome-desktop))),?automatic), ?not(?or(?priority(required), ?priority(important))))' ubuntu-gnome-desktop+

As you can see, only replace the last packages name with the name of your preferred to leave. If you used kde-core or other metapackages you should replace "kubuntu" with the name of the metapackage.

Making sense of aptitude search

To explain exactly which package are selected, lets explain the search command more deeply:

?and(
    ?and(
        ?and(                          // we're searching for packages that are
            ?reverse-depends(kubuntu), // reverse dependencies of kubuntu
            ?not(?reverse-depends(ubuntu-desktop)) // and not of ubuntu-desktop
            ),     // that fulfills the condition above
        ?automatic // and is automatically installed
        ),
     ?not(                        // and also that are not
         ?or(                     // either required nor important
              ?priority(required),
              ?priority(important)
             )
         )
    )

The answer is at :
https://help.ubuntu.com/community/PureGnome
and
http://www.psychocats.net/ubuntu/puregnome

1) Choose the method corresponding to your ubuntu version

2) Check which programs from the KDE environment you would like to keep because you need it and a) remove it from the removal list (with dependencies) or b) leave it in the list and reinstall it later.

3) Copy/past the command
The command is as stated in this webpage and depends on your version, but generally looks like :

sudo apt-get remove akonadi-backend-mysql akonadi-server akregator amarok amarok-common amarok-utils apport-kde apturl-kde ark bluedevil cdparanoia cdrdao
.... and a lot of packages

The command will not remove configuration files anyway, only the programs. If you want to also remove the config files, you will add the --purge option to the command.

4)

Warning: The list of packages below is for a plain default install of Ubuntu with Kubuntu. You may want to keep some of the below packages and you should review what apt is going to remove before accepting.

These removal commands were created based on what Kubuntu, Xubuntu, etc. packages were added to a default Ubuntu installation. It's possible that the commands might remove some other packages you have since added to the default and want to keep. If that's the case, keep track of which packages those are and reinstall them. Your settings should still be there.

As always,backup your partition before modifying it.

Cheers, Raph


Can't boot a live usb .iso in UEFI mode on Lenovo Edge-15 laptop I was trying to install Gentoo on my laptop Lenovo Edge-15, but I'm having problems booting a live usb .iso in UEFI mode.  I then tried to install Ubuntu, Arch, and Fedora, and seem to be having the same problem with all of them.

Through copious amounts of experimentation/trial/error, I've gathered that my laptop is refusing to boot my USB flash drives into UEFI mode for some reason.  Secure boot is disabled.  I've and enabled/disabled USB booting with expected results, and I've also enabled/disabled support for Legacy/BIOS mode booting.  When I support only BIOS mode booting, no Linux installation will ever start, but when I enable support for BIOS/Legacy mode booting, all linux installations can begin but they randomly crash during the installation process.

EDIT to be more specific, when loading from USB media with Legacy mode/bios mode allowed, when installing Linux, the liveCD environment always begins to load, but then randomly crashes before the system is fully set up.  At this point, I am dropped into a shell with no drivers, no internet and no distribution utilities, just a few shell built ins.  When I tried to install Gentoo, I actually wrote the Gentoo install .iso to it's own partition on my hard drive beforehand.  Then when I tried to boot from the Gentoo USB, the Gentoo pre-install live environment loaded from this disk partition as if it was an install CD and couldn't detect the USB.

During my attempt to install Gentoo, when I reached the step for writing the boot instruction to the GPT, I got an error message saying UEFI variables are not supported on this system, despite the fact that this occurred right after (in the Gentoo process) I had just compiled the Linux Kernel and manually and specifically enabled support for UEFI variables.  The same error message ocured weather I tried to write an instruction to load GRUB2 or when I used uefiloader.

My guess is that this means the fact that the live environment was booted in BIOS mode makes it impossible for a new kernel to be loaded and interact with the GPT, despite if the kernel supports it, and that the same problem is occurring with other distros.

I have a separate laptop (it has a BIOS mode drive and no Windows OS) and I have tried the same procedures and was able to install a fresh Kubuntu.

The procedure I have been using to attempt each Linux install was to download the *.iso file on my old linux laptop, sudo su, dd bs=4M if=linux.iso of=/dev/sdb && sync (after checking the correct /dev/ with lsblk), and then booting the usb on my new laptop.

This related question directed me to check out This tool.  I tried using it (with Legacy/BIOS booting enabled) and curiously, my laptop refuses to boot it.  Don't know if that helps.

I had installed Kubuntu before, so I know it's possible with this hardware, but something has changed that is making it fail.  It could possibly be due to the original Kubuntu installation itself a several months ago, a failed Arch Linux installation attempt later, and a failed Kali Linux installation attempt a little later.

So can anyone help me figure this out?  Why is my system not booting usb ISOs in UEFI mode?

First, let's clear up a terminology issue that may be leading you astray (although it's unlikely to be the cause of your main problem). You wrote:

  My guess is that this means the fact that the live environment was booted in BIOS mode makes it impossible for a new kernel to be loaded and interact with the GPT, despite if the kernel supports it, and that the same problem is occurring with other distros.

The GUID Partition Table (GPT) is a disk-based data structure that defines your partitions. It does not control the boot process, although the boot process will use GPT to help it find boot files. GPT may be used in either a BIOS-mode or an EFI-mode boot, but in different ways:

In a BIOS-mode boot, the BIOS reads the first sector of the disk and executes code stored there. This code normally loads code stored elsewhere on the disk, which then loads other code, and so on until the kernel is running. Details vary with your boot loader.
In an EFI-mode boot, an entry in the computer's NVRAM (off the disk) points to a file on the EFI System Partition (ESP), which is a FAT partition that holds boot loaders and related data. The EFI runs this file as an EFI program, and this file (the boot loader) loads the kernel and executes it.

Note that in EFI mode, the boot process relies on data stored in NVRAM. This NVRAM-based data may be accessed and changed in an OS, but to do so, the computer must be booted in EFI mode; you can't change EFI boot variables in BIOS mode. These variables are not stored in GPT data structures, though; and the only relationship they have to GPT data is that they encode a partition's GUID value so that the EFI can load the right file from the right partition.

That out of the way, there's an elephant in the room:

  when I enable support for BIOS/Legacy mode booting, all linux installations can begin but they randomly crash during the installation process.

When a program or OS (especially a mature and robust OS like Linux) fails "randomly," that's almost always a sign of a hardware problem. If I had to put money on it, I'd say "bad RAM," but there are other possibilities, too, such as a bad CPU, a bad hard disk, a damaged trace on your motherboard, or a bad power supply. You might be able to work past your EFI issues, but it's very likely it won't be any more reliable than your BIOS-mode boots. If this is a new computer, you should seriously consider returning it for a refund and get another one for this reason. If it's not new, the question is whether it might have exhibited problems before now. For instance, if you're trying to install Linux because Windows was crashing, it could well be that those crashes were caused by the same bad hardware that's causing your Linux installs to fail.

Moving on to the installation issue, your steps for booting in EFI mode sound reasonable; however, you should carefully review the boot options in your boot manager (whatever key you hit to get a menu of boot options that include your USB drive). Most EFI-based computers that also support BIOS-mode booting provide two boot options for USB drives and optical discs: One includes the string "UEFI" and the other doesn't. The string with "UEFI" in the description boots in EFI mode and the other one boots in BIOS mode. To start the installer in EFI mode, you must select the "UEFI" option.

If you're doing this, it's conceivable that your firmware is flaking out on the Frankenstein's monster nature of a dd-created USB drive. If your computer has an optical disc, try that instead. If it doesn't, try using another tool to create your USB drive. Unfortunately, this can be tricky to get right, because some tools (especially older ones) lack the ability to create an EFI-bootable image. Read the instructions for whatever you use to be sure it supports EFI-mode booting. Some tools require you to select particular options to make an EFI-bootable disk. I can't be more specific than this because I don't recall the details of what I've seen; I generally use dd-created images myself.

Another option is to use my rEFInd boot manager to control the boot process. You can download several images, including ones intended to be written to CD-R or USB flash drive. rEFInd may be able to redirect into your USB-based installer; or you can install in BIOS mode and then use rEFInd to boot the installation. (EFI-mode and BIOS-mode installs of Linux typically vary only in their boot loaders, and rEFInd on a USB drive or CD-R can fill that role.)

If you want to install ubuntu in UEFI mode you can do that by following these steps.
You need a Windows OS to write the USB.

You have to burn iso image to your USB using a different software and then you can install it as usual, without turning UEFI or fastboot off. Just follow these simple steps

Download Ubuntu 14.04, 14.10 or 15.04 Disk Image.

Download and install wind32Diskimager http://sourceforge.net/projects/win32diskimager/

Open the software, locate your downloaded Ubuntu Image and removable drive and click write.

Boot from usb and install ubuntu. (Remember to not chose the option which says install alongside windows but the option which says something else).

Diskimager creates a UEFI partition in your USB which works with UEFI mode.

Also make sure you reboot to windows when USB writing is finished so the USB drive disappears from This PC, you can go to Disk Management and see if it has written it correctly. Your USB will have three partitions, two unallocated partitions and a UEFI.


SSD temperature sensor readout with hddtemp It seems hddtemp cannot detect the temperature sensor of my SSD (Samsung EVO 840) properly.This is the bash output when running hddtemp:

WARNING: Drive /dev/sda doesn't seem to have a temperature sensor.
WARNING: This doesn't mean it hasn't got one.
WARNING: If you are sure it has one, please contact me (hddtemp@guzu.net).
WARNING: See --help, --debug and --drivebase options.
/dev/sda: Samsung SSD 840 EVO 120G B              @:  no sensor

I looked in the most recent .db file posted on http://nongnu.mirrors.hostinginnederland.nl//hddtemp/hddtemp.db, but it doesn't seem to list any SSD drives at all.

Was anyone able to readout the temp-sensor of a SSD with hddtemp?

Sorry but I can't comment...anyway

Hddtemp usually reads field 194 from the smart data of the hard disk but in this case the info from the sensor is stored in field 190. With that command you tell hddtemp to read the value of field 190 for that particular model.

To check:

smartctl -a /device

hddtemp --debug /device

In both cases field 190 shows the temperature of the hard disk, (eg. 190 Airflow_Temperature_Cel)

Do:

sudo echo '"Samsung SSD 840 EVO 120G B" 190 C "Samsung SSD 840 EVO 120GB"' >> /etc/hddtemp.db


Can't log into Ubuntu 14.04. tried various solutions already So I came to start up my computer as usual and was prompted to log in unusually. I couldn't log into my account or the guest account. It just kept bringing me back to the log in screen. I then searched for solutions, of which I tried

sudo chmod -R u+w /home/[username]
sudo chmod -R ug+rwx /home/[username]
chown -R [user-name]:[user-name] /home/[user-name]
sudo mv .Xauthority .XauthorityBak

None of these worked so I then created a live usb with boot repair on it, but still nothing.

These might make sense to some people though:
http://paste.ubuntu.com/12336440
http://paste.ubuntu.com/12336605

How can I fix this login issue?

try to install

sudo apt-get install gdm

and

sudo apt-get install lightdm


Subversion stops working on http:// checkouts I've upgraded from 10.04 to 10.10 and subversion checkout from http:// just refuses to work anymore. Always timeouts.

I tried a 10.10 Live version and that works and all my packages are upto date.

The symptom is:

hendry@x201 tmp$ svn co http://tc.labs.opera.com/svn/apis/XMLHttpRequest/
svn: OPTIONS of 'http://tc.labs.opera.com/svn/apis/XMLHttpRequest': could not connect to server (http://tc.labs.opera.com)

I am out of ideas since subversion is too difficult to debug. Do I just re-install everything? Anyone seen a similar problem?

svn, version 1.6.12 (r955767)

I strongly suspect it has some thing to do with the neon library.

ii  libneon27                             0.29.3-2                                          An HTTP and WebDAV client library
ii  libneon27-gnutls                      0.29.3-2                                          An HTTP and WebDAV client library (GnuTLS enabled)

It works fine for me - I am also using 10.10. Can you browse to the repository in a web browser OK?

Have you tried again later? Maybe it was a temporary problem with their website that has since been fixed.

Another possibility is that there is something in your subversion config causing an issue. Maybe you could try

mv ~/.subversion ~/.subversion_old

And then try the checkout again.

I think the subversion adress is wrong (http://tc.labs.opera.com/svn/apis/XMLHttpRequest/)
When i browsed the http://tc.labs.opera.com/ there is no svn library


internet says it is connected but it doesn't work Ok so I am totally new to the ubuntu system but my friend hooked me up with a computer and installed the software. I have no idea what's going on. The internet says it is connected but I can not get on the internet at all. I have restarted it over and over and still nothing. I don't see any errors and the only time it worked was when my friend tested it with ethernet. After that, nada. Please help me. I don't want to end up breaking the thing by either pressing the wrong thing or throwing it against the wall, which I am considering if I can't make it work. Lol. Not really though. But still. I'm getting really infuriated with it.

I am using wireless. Sorry if I wasn't clear earlier.

It seems that you are using wireless ,for using wireless in ubuntu you must install wireless driver first.
press alt+f2 and type driver and choose hardware driver (additional hardware driver).then active the last one.
cheerz


No Screen Sharing option on Ubuntu 20.04 I need to allow screen sharing on my machine. In setteings>sharing there is no option of screen sharing at all. Vino is installed. I have looked in gdm3 and lightdm but it is the same.  I have installed dconf-editor but I do not know which is the correct setting in  /org/gnome/desktop/remote-access/ to allow screen sharing.
The require-encryption is off.
Thank you

I also had faced this issue. I just installed vino and it solved my problem
sudo apt install vino

Now I can see Screen Sharing option in Ubuntu Server 20.04 LTS

Reinstalling Ubuntu 20.04 from USB drive solved the problem. Probably some tweak I did after installation caused this option to disappear.


grub-efi-amd64-signed package failed to install into /target/ using ISO and UEFI mode I am installing Ubuntu-18.04 using PXE ISO install in UEFI mode. The installation is failing with the below message:

I looked into this thread grub-efi-amd64-signed failed installation but they are for manual installation. My query is for Unattended Installation over PXE server on client machine.

Please comment if I need to add more details to the question.

Thanks.

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install boot-repair-ubuntu

Search app "boot repair".
Use the advance boot option.
Finished.


How to delete a non-empty directory in Terminal? How do I delete the following directory?

I typed:

rmdir lampp

This error comes up:

rmdir: failed to remove `lampp': Directory not empty

Is there a command to delete all the files in the directory and delete the directory folder?

Use the below command :
rm -rf lampp

It deletes all files and folders contained in the lampp directory.
In case user doesn't have the permission to delete the folder:
Add sudo at the beginning of the command :
sudo rm -rf folderName

Otherwise, without sudo you will be returned permission denied. And it's a good practice to try not to use -f while deleting a directory:
sudo rm -r folderName

Note: this is assuming you are already on the same level of the folder you want to delete in terminal, if not:
sudo rm -r /path/to/folderName

FYI: you can use letters -f, -r, -v:

-f = to ignore non-existent files, never prompt
-r = to remove directories and their contents recursively
-v = to explain what is being done

I was having some trouble with that today, but I overcame it with sudo.

Caveat: Be very certain you want to delete the entire thing before using the command below.

$ sudo rm -R [Directory name]

I successfully did this today, and removed many non-empty directories that I confirmed I didn't want/need.

I'm using 14.04 LTS


14.04 Cannot create/delete/manipulate files on my Android device via USB I've always had issues with compatibility between my Android phone and Ubuntu, but now it's gotten to the point that I can't do anything with it over USB.  It's always been that when I plug in my device, an error message appear:

"Unable to mount Android phone
"Unable to open MTP device '[usb:001,035]'"

Regardless, I was able to manage my files as long as the phone was unlocked when I plugged it in.  However, I now seem to get a new error message (or at least one that I don't recall getting before), which reads:

Unhandled error message:  No such interface 'org.gtk.vfs.Mount' on object at path/org/gtk/vfs/mount/1

I'm not sure if this is the root of my problem.  I can view all of the files on my Android device, but when I try to do anything like creating/deleting files, I receive a message saying something like:

Error while creating directory Untitled Folder.
There was an error creating the directory in mtp://[usb001,037]/Internal%20storage.

Under "Show more details", I receive the error:

libmtp error:  Could not send object info.

I can do everything I need to over FTP, but it ridiculously slow for large files.  Any help getting my Android and PC to talk to each other is greatly appreciated.

The conflict is between Banshee and the file manager (Nautilus), both are trying to access the device. So if you want to copy the playlist to the device, you must deactivate all the extensions that access your device, in Banshee's Preferences.

Then open your device's music folder in Nautilus, and copy/paste your playlists from Banshee to the Nautilus' window.

This worked for me with Ubuntu 14.04 + Jolla phone with Sailfish OS.

I had encounter the same problem after a period when the files transfer worked well.
But, after some tries, I've got the cause; that the device's file system showed by the mtp protocol on the computer is not correctly synced by the real one: it not show a file/dir that is physically exist on the device, and a creation/renaming of the same entity on the file system occur this error.
Solution: keep manually (explorer app)  the file system to the same state of the presented one.

I don't know the cause of this mistake.

I hope that can be useful for someone.


I need to add a new route (terminal) and have my c++ server go through it I am on a Ubuntu VM version 16.04.

I need to add a new route in terminal and have my c++ server application go through it.

I tried figuring this out, but I'm a beginner and am having trouble.

I need to use the route command and (maybe)ifconfig.

I was also told this can be accomplished with 1 line and something of the lines of this:
route add -net 192.168.98.0 netmask 255.255.255.0 gw 192.168.99.1

You need to run commands as root or with sudo.
Use ip route istead:

sudo ip route add 192.168.98.0/24 via 192.168.99.1

NOTE: The IP 192.168.99.1 needs to be direct connected to your PC, in other words you need to have and IP address from that subnetclass asignet to an local network interface.

Check your IP address via command ifconfig | grep "inet " and check if you have and IP from that subnet you wish to add

Use ip route list to list your current routes and check if your new route have been added.

A friend helped me figure it out:

sudo route add -net 192.168.0.2/32 gw 192.168.1.1 netmask 255.255.0.0

Obviously, change the IP addresses.


Workspaces are copy of default workspace I am having trouble with workspaces. All workspaces are exact copy of the default one, i.e., I can't start a blank workspace and do something new. There are no blank workspaces, all of them are replicas of current workspace and if I try switching I only get back to where I was.

I'm using Ubuntu 14.10 and running GNOME Shell 3.12.2. Note: I have enabled workspaces using GNOME Tweak Tool.

I unchecked "workspaces only on primary display" in the gnome tweak tool and it fixed it for me. Maybe that will work for you too.

You need to set Workspaces to be on. Go to All Settings> Appearance> and confirm that Enable workspaces is checked.


Nautilus 3.4 on Ubuntu-Gnome 14.04 LTS I'd like to get Nautilus 3.4 on a fresh install of Ubuntu-Gnome 14.04. Nautilus 3.10 is the earliest version available through the default repositories.

There are instructions around for earlier versions of Ubuntu but they don't directly work for 14.04 and I don't know enough about apt-get to tell why or adapt them.

If you want to install older version of packages on Ubuntu ,theortically possible this but not pratically.

$apt-get install -f <old vesrion>

But your system will have broken packages.
Thus you should rebuild the packages in this case.

The process is as following:

1) Get the repository from the Nautilus 3.4 version (you can get it from launchpad).

2) Rebuild this on 14.04.
In the sources directory.

$dpkg-source -x nautilus-3.4xxx.dsc
$cd nautilus-3.4xxx
$debian/rules build
$dpkg-build package

3) After then you can install nautilus rebuilt from the local directory.

$dpkg -i nautilus-3.4xxx.deb


HDMI Audio output not working on Ubuntu 14.04 When I plug in the HDMI,the video works fine, but the sound does not. I've poked around and I think that the HDMI audio may not be being detected.

When I ran aplay -l:

  **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC663 Analog [ALC663 Analog]   Subdevices: 1/1
  Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 1:
  ALC663 Digital [ALC663 Digital]   Subdevices: 1/1   Subdevice #0:
  subdevice #0

I've tried installing the pulse audio control and going to the "configurations" tab, but nothing there mentions HDMI.

I've tried reinstalling the alsa mixer and unmuting everything. No dice.

I've tried turning it off and on again. No dice

I'm running Dual Graphics NVidia (proprietary driver) and the open source driver for the Intel N56VZ (Don't know if thats relevant, but there you go)

Just plug it in with the output settings open, and if you see it there click on it and close the window. It should work, because it worked for me

HDMI output from devices such broadband set top boxes seem to output audio.  I am not remotely convinced that computer graphics cards do this as well.  Please check with the graphics card manufacturer to determine if yours is supposed to do that.  Nothing is nearly as difficult to accomplish as the impossible.


Error while mounting a USB device Error mounting system-managed device /dev/sdc2: Command-line `mount "/mnt/pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:0-part2"' exited with non-zero exit status 32: mount: block device /dev/sdc2 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sdc2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

 (udisks-error-quark, 0)

dmesg | tail gives the following output :

[ 1520.034123] EXT4-fs (sdc2): write access unavailable, cannot proceed

I am receiving this error for quite some time and i cannot find a way to remove the write protection on the disk.

I have had the same problem, an you could try enter this in the terminal:

sudo umount -a
sudo mount /dev/sdc2 /media
sudo mount -a

and it might work fine this way.


Upgrade to 14.04 and Keyboard and mouse will not load I recently upgraded from 13.10 to 14.04 and now I have to unplug the keyboard and mouse and plug them in after the system is booted. I have a Razer Black Widow keyboard and a Corsair mouse. My system is a dual boot Ubuntu/Windows 7 - i7-4770 in a Dell XPS8700
I have no problem with Windows and the USB problem(I assume it's a USB problem) only started after this upgrade. I'm not very familiar with Linux software repairs although I've used Ubuntu for years. I'd like to continue to use it without wearing out my USB ports

I was having the same problem with my XPS8700 in a dual boot with Windows 8.1. What fixed it so far was disabling acpi when booting Ubuntu.

When the Grub screen appears,choose the Advanced options for Ubuntu and with the latest kernel selected press "e" on the keyboard to edit the boot options.
Navigate with the arrows down to the line that starts with LINUX and just add acpi=off to the end of that line.
Hit Ctrl + X or F10 to boot, and you should have your mouse and keyboard back.
To make this change permanent, so you don't have to do it every time, open a terminal and type:

sudo gedit /etc/default/grub

Find the line GRUB_CMDLINE_LINUX_DEFAULT and append acpi=off so that it looks like this: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"

Save and close the file, then update by running this command from the terminal:

 sudo update-grub

It worked for me, hope it helps!!!

Here is my answer long and short, Long first, Look in the box your PC came in for your USB and motherboard drivers, they help.
In specific the USB drivers for the ports that are on your specific motherboard.

A trick I learned just to get Windows going, when it freezes at the log in screen: plug a USB mouse in the USB 3.0 port, leave it in while you push the kill button, unplug it after computer shuts down and reboot. Hard to believe but that will get it going one time.

Or

Think, if you do not have a GPS, or special device that requires Windows.

Install Ubuntu on the disk, let it kill Windows and you will have a trouble-free computer. Ubuntu has better office, video, and things you pay for in Windows. I use only Ubuntu in my work computers, I can't afford the problems with Windows.


Unability of opening documents in Microsoft Word 2010 I am not able to open certain documents in Microsoft Word 2010. When I double click on the document there is a program error displayed saying

  The program DW20.EXE has encountered a serious problem and needs to close. We are sorry for the inconvenience.

And later PlayOnLinux opens saying

Error in POL_Wine
Wine seems to have crashed
If your program is running, just ignore this message

Configure PlayOnLinux to use wine 1.7.33 instead of 1.7.22 for Office 2010. That should fix it.

See also: Wine forum: "DW20.exe error trying to run Office 2010"

You must install msxml6 dll and set the enviroment to 32 bits.

However, if you must install office 2010 from zero:

Install:
   https://apps.ubuntu.com/cat/applications/playonlinux/
and:
   https://apps.ubuntu.com/cat/applications/wine1.4/

Then, using playonlinux, you must install office 2010.

Then select Microsoft Word  2010, select configuration (left menu) , configure wine -> libraries -> add msxml6 . Then return to Microsoft Word 2010 config (playubuntu)  add the msxml6 lib from the libraries tab.

Thats it, worked for me. Upvotes please, this is the answer, i got the same error.


Ubuntu keeps going to log-in screen on Oracle VM VirtualBox I installed Ubuntu on an Oracle VM VirtualBox and when I log in, it seems to load, but then goes back to the login screen again. The same problem happens when I "try" or "install," except "try" brings me to a desktop for 0.5 seconds, then returns to a log-in screen.

Computer information:

Clean install Windows 10 64-bit, all automatic updates

Intel Pentium CPU Dual Core G4400 # 3.30 GHz, Intel Core (Socket 1151) ,  (2 x 3.3GHz CPU - 3MB Cache +Iris Pro 510 Graphics)

8 GB RAM

Motherboard: Asus H170 Pro
AMD Radeon HD 6800 series
Oracle VM VirtualBox 5.0.12 r 104815

VM:

Ubuntu 14.04.3 LTS 32-bit from http://www.ubuntu.com/download/desktop

Base Memory: 2048Mb

Acceleration PAE/NX, KVM Paravirtualizaiton

Video Memory 12 Mb

SATA Port 0: 8Gb, VDI, dynamic allocated

Errors while loading:

ACPI PCC Probe failed...
43.88350 piix4_smbus 0000:00:07:0 SMbus...

Thank you!

Try disabling EFI under Settings => Enable EFI. It worked for me.

Check the BIOS if the Virtualization option (VT) is enabled.
Let me know also if you installed VirtualBox 5.0.12 Oracle VM VirtualBox Extension Pack.


Copy Songs from iPod? I've found a lot on the web about being able to manage your iPod through Ubuntu. Is it possible to take songs off the ipod onto disk in a usable form, as my song drive has crashed1 and that's the only back up I have.

The closest question I found has the answer using gtkpod (Same with this one), but looking in the software centre reviews, that seems busted in 12.04 and I don't want to throw something buggy at my iPod.

If it makes a difference, it's an iPod classic.

1Yes, I know I should have been taking regular back ups to either the cloud or another disk.

The standard Ubuntu music player, Rhythmbox, is able to do that. Just select all the songs/artists you want to copy from your iPod and drag them to the Music tab under Library (all on the left hand side). Once it's done, you can find them in the folder that's under "music library" (edit > preferences > music). Rhythmbox also syncs. I don't use that myself but that might be even easier.

Songbird Media Player is a media player which can manage iPods on Linux but they discontinued their stable Linux version. So you may be able to manage your iPod with Songbird on Linux by using an old stable version (the last one is 1.4.3 if I remember well) or by using a more recent but unstable Linux build of Songbird. Have also a look at Nightingale, a functionnal fork of Songbird on Linux and which might handle iPods too.


How do I install a specific lower minor version of gcc using package manager? I am running an Ubuntu 14.04-4 64bit. gcc --version returns

(Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4

Yet, I need version 4.8.2-10.
What I tried:

I found the specific gcc version in a debian snapshot repository.
I adapted my /etc/apt/sources.list to contain the following two lines only:

deb http://snapshot.debian.org/archive/debian/20131213T160912Z unstable main
deb-src http://snapshot.debian.org/archive/debian/20131213T160912Z unstable main

As suggested here I added the required key
I did sudo apt-get -o Acquire::Check-Valid-Until=false update
sudo apt-get remove gcc
sudo apt-get install gcc. This returned:

 ...
 Preparing to unpack .../gcc_4%3a4.8.2-1_amd64.deb ...
 Unpacking gcc (4:4.8.2-1) ...
 Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
 Setting up gcc (4:4.8.2-1) ...

Unfortunately, gcc --version still returned
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4

Removing and re-installing gcc-4.8 and gcc-4.8-base returned in an error (unmet dependencies) or a strange warning (uninstalling more than 700mb).

How can I install this specific gcc version?

You can find the packages you want over here and install them using gdebi.

You can have as many versions of gcc as you want, installed at the same time :
The default versions for Ubuntu 14.04 are → →

$ sudo apt-get install g++-4.4 g++-4.6 g++-4.7 g++-4.8

... where "4.8" = version 4.8.2 is the system compiler, /usr/bin/{ gcc, g++ }

Using one of the other compilers, examples : $ gcc-4.4 file.c ,,,
$ export CC=gcc-4.4 CXX=g++-4.4 && [other command] ,,,
like  $ export CC=gcc-4.4 CXX=g++-4.4 && ./configure


Unable to create a new partition for Windows I have only Ubuntu installed and now I need to install Windows 7. I'm using GParted for that, however, I can't create a new partition since most of the menu items are disables including Partition -> New.

You are not able to create partitions because you have installed ubuntu in the total size of the disk.  So Gparted can't do the partitioning because the partitions are 'locked' because Ubuntu is running.
So you should make a live CD of ubuntu and boot from that live CD to make the partitions.
OR you can use GParted live CD.

My suggestion is install windows from scratch; during the install you can tell it to blow away all existing partitions. Get yourself an external USB hard drive and follow the answer I gave to another question posted in this forum "How to create an external USB bootable Linux hard drive (without dual-boot)


How safe encfs encrypted files are Just recently got interested in encryption and some things are unclear. Say my ubuntu user is password protected and i have an encrypted folder. Now let's say someone takes my laptop, checks if i have encfs installed and because i have, he knows there are some encrypted files on the laptop. How hard would it be for that someone to get to those files?
The user password is fairly easy to bypass. I have read this https://help.ubuntu.com/community/FolderEncryption and as much as i understand that someone would have to know the location of the enrypted and visible folders and since he's already bypassed the user password he could also access those files using an encfs command right?

At first, I am recommending to use the manual command: man encfs. The encfs command makes an encrypted filesystem.
In case of Single password mode configuration it doesn't matter how strong is your filesystem encryption, if the hacker crack your easy login password. He will be also able to access your filesystem.
There are different cases when you have separate passwords for the login and the encrypted files/partitions, etc.

The whole SSD/HDD encrypted. In that case the attacker cannot access your file until he cracks your encFS password. In that case your user password is also encrypted.

Another case when the system partitions are not encrypted, but there are files/partitions which are. So in this scenario, an attacker can mount your sys partitions and may have access to your hashed, or encrypted password (by a password hash algorithm). But the attacker will not able to read your encrypted files/partitions until he brute forces the password of the encFS.

To answer your question:
If you used the laptop in Single Password mode with weak password, the likelihood is high, because you reused the weak password.
If you used 2 passwords and the encFS password is strong, it would be very hard to get those file.
Further information:
https://wiki.archlinux.org/index.php/EncFS