How to set up bluetooth in ubuntu 18.04? I've installed Ubuntu 18.04.I have a headset and I'm trying to connect it to my laptop(hp),when I try switching bluetooth to "On" it displays:"No bluetooth found,plugin a dongle to use bluetooth",I tried to install Blue Managerand blueZ but it displays me :No adapters !,Any one knows the steps of bluetooth configuration ?

1-

I've tried lspci -nnk | grep -iA3 net;lsusb;dmesg | egrep -i 'blue|firm commands and the results are :

:~$ lspci -nnk | grep -iA3 net
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
    Subsystem: Hewlett-Packard Company RTL8188EE mini-PCIe card [103c:197d]
    Kernel driver in use: rtl8188ee
    Kernel modules: rtl8188ee
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
    Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller [103c:1970]
    Kernel driver in use: r8169
    Kernel modules: r8169
:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 19d2:1405 ZTE WCDMA Technologies MSM
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 04f2:b3a6 Chicony Electronics Co., Ltd
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

:~$ dmesg | egrep -i 'blue|firm
>

Edit 1:
 After some googling ,I found that I need to buy a Bluetooth adapter to connect my PC to headphone,I bought one (Bluetooth Dongle (Cambridge Silicon Radio, Ltd)) and it plugged to my pc and my bluetooth is "On" but my laptop can not detect my device.

After I plugged the bluetooth adpater and run  lspci -knn | grep Net -A2; lsusb the result is :

07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
    Subsystem: Hewlett-Packard Company RTL8188EE mini-PCIe card [103c:197d]
    Kernel driver in use: rtl8188ee
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 014: ID 19d2:1405 ZTE WCDMA Technologies MSM
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 04f2:b3a6 Chicony Electronics Co., Ltd
Bus 003 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

When I run hcitool ,it does not detect the adapter (Bus 003 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode),and the result is :

 hcitool dev
Devices:

I've struggled for years with bluetooth. The bluetooth stack is very complex and has issues but it gets better year by year.

Here's what I have done and it works great

get yourself a Plugable usb bluetooth adapter (Amazon)
hot plug it, no need to reboot
find and install blueman from the repos (bluez never has worked well for me)
power up your headphones, ready to pair
open blueman, select devices, find your headphones in the list
select setup, choose how you want to connect and click next
after a couple seconds, it should pair
open sound, scroll to find and select your headphones from the list

Note: You'll have to pair again and select in sound after every boot.

I've searched a lot because I got the same problem, Finally I found a code in ubuntu forums that instantly worked:

sudo apt remove bcmwl-kernel-source && sudo apt install git dkms
git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
sudo dkms add ./rtlwifi_new
sudo dkms install rtlwifi-new/0.6

  Reboot
  If you notice weak signal try:

sudo modprobe -r rtl8723de && sleep 5 && sudo modprobe rtl8723de ant_sel=1

  and see if it is better, if not do

sudo modprobe -r rtl8723de && sleep 5 && sudo modprobe rtl8723de ant_sel=2

Hope it works for you.


BUG: soft lockup - CPU#2 stuck for 23s! EDIT: I've changed the title from 'Ubuntu Freeze // Lenovo T440' to what I believe is the actual bug. Hopefully this will generate more answers.

EDIT 2: Bizarrely, this freeze only occurs when the laptop is using a Wifi network. When using an ethernet connection, as I have done for around 12 hours done, the freeze did not occur once.

I'm running Ubuntu 14.04 on a Lenovo T440. It has been running okay for months, until a few days ago the computer started randomly freezing. It doesn't appear to be dependent on what program is running -- it has happened during word processing and regular internet browsing.

Once the computer freezes, the usual reset method of Alt+PrtSc+REISUB doesn't work.

How can I diagnose the problem, and does anyone have an idea of what it might be?

EDIT: Upon doing a hard reset, Ubuntu prompted me to report a problem. I'm not sure if this report is the problem leading to the computer freezing, or whether it is a result of the hard reset. Regardless, here it is:

Package: linux-image-3.16.0-38-generic 3.16.0-38.52-14.04.1
ProblemType: KernelOops
Title: BUG: soft lockup - CPU#2 stuck for 23s! [swapper/2:0]
Annotation: Your system might become unstable now and might need to be restarted

I just had this same issue...like today. So I thought it was my 5500 series video graphics. Nope. Drivers? Nope. A dual-boot problem? Idk. I tried to update my kernel but it wouldn't show up on the GRUB menu.

Try this:

Install a newer kernel (I installed 4.1 rc3)(http://sourcedigit.com/16629-install-linux-kernel-4-2-rc3-on-ubuntu-15-04-ubuntu-14-04-ubuntu-14-10/)

Follow the link for instructions.

Do this command to update your GRUB menu:

sudo grub-mkconfig -o /boot/grub/grub.cfg

After booting into GRUB, select advanced options for ubuntu, then select the one you installed.

I hope this solved your problem as it did for me.

Good luck!

Try using a Livecd, and just let it run for a while, if the problem persists then you have a hardware problem.


Apple Magic mouse on ubuntu 13.04, how can I prevent crashing one >=3 touch points? I'm trying to get my magic mouse to work on Ubuntu 13.04. When I connect it, everything works fine (haven't tested gestures). However, when I touch it with more than 2 touch points, it crashes and fails to work. My guess is that I need specific drivers for this mouse on ubuntu but I can't find which ones.

The magic mouse I'm talking about is the 100% touch, one button wireless. It seems that ubuntu can't handle more than 2 touch points, but how can I get it to work so it supports 3 or more?

So after trying out numerous things, including different bluetooth managers, different USB ports, searching for drivers etc.. The problem lies within the hardware. I have tested it with another Bluetooth dongle and it works better.

Issues that remain:
 - Can't fix the mouse speed without hacking
 - Can't fix the scrollspeed without hacking
 - Mouse randomly stopped working

Therefore I have decided to stop trying.

This article will help you in your quest.


Why does the / directory have .. and what does it mean? While in the / directory and use ls -a  the result will contain . and ..

I can understand the existence of the . that is a pointer for the directory itself. What it is the meaning of having the .. in the / directory while there is no parent directory for the /?

Many softwares work on the assumptions, not in fact guaranteed to them by POSIX.1 but traditionally the case on UNIX systems and enshrined in much UNIX literature, that (to quote one such piece of UNIX literature): Every directory contains the file names dot and dot-dot (. and ..) whose inode numbers are those of the directory and its parent directory, respectively. […] The program mkfs initializes a filesystem so that . and .. of the root directory have the root inode number of the file system.— Maurice J. Bach (1986). The Design of the UNIX Operating System.  Prentice Hall. p. 73

For example: The old getcwd() library function (on systems that provided no special kernel support for it) relies upon this to know when to stop tracing up the chain of .. entries when composing the current directory name.  It stops when it reaches a directory that is its own parent, or cannot traverse to ...

So the reason that the root directory has (or as far as applications-mode programs are concerned at least appears to have as seen through the system API) a .. entry is that a lot of stuff is based upon the assumption that every directory has .., and that .. in the root being a loop can be used for detecting that one is at the root.

POSIX.1 does not in fact guarantee that the root directory has a .., merely specifying that programs have to account for the possibility of a loop if there is a .. in the root directory.  This is to permit non-UNIX systems to be POSIX-conformant too.  There are file systems where the absence of .. indicates that a directory is a root directory.  And there are, as Bach himself discusses, systems where there is a directory above the root, which POSIX.1 allows for in its discussion of absolute pathnames that begin with two slashes (similar to the Universal Naming Convention used in Microsoft local area network systems).

Linux (and thus Ubuntu Linux), however, provides the stricter guarantees of the UNIX paradigm.

Very simply:
by means of file directory, ./ means this folder, while ../ means where the file is (e.g when I'm in the directory user/home/me/Desktop, then ../ will bring me to /user/home/me).


Ubuntu not showing progress bar while installing I have been struggling to properly install Ubuntu. After creating all the partitions, and setting up things they way they are supposed to be set, I clicked on "Install now" and it started the process. The thing is that while is installing I can see the "Install" dialog with the different pictures, but I can't see in the bottom of the page the progress bar or console. At this point, more than 30 minutes have passed since I started to install it and I am not sure if it is actually installing and not showing anything, or its simply stuck and it wont install.
If you guys can provide any advice, it will be very appreciated.
Thanks in advance.
Abraham

Check in Gnome Disks and see the first partion (ex. sda1) if it's showing there are less space like (23gb free (17.6% full)) it means it's installing

I'm having the same problem right now. Any help would be appreciated.

Edit: I fixed the problem. Turned out that I had not allocated enough memory for Ubuntu partitions.


How to stop mysql from running at boot time? Currently, my MySQL server starts on every server boot. For a couple reasons, this is undesirable behavior. Is there a way to disable this behavior?

Since 15.04 you can simply do:

sudo systemctl disable mysql

You can use chkconfig tool package

$ chkconfig --level 345 mysqld off


Why adding a PPA doesn't ask (y/n)? On ubuntu and few other distros I've tried, when the user is prompted with a yes or no question, 99% of the time it prompts the user to input y or n depending on the choice. But the only exception to this --that I have seen so far-- is when adding a ppa using the add-apt-repository command. It asks you to hit ENTER to continue, or ctrl-c to cancel. Is there a specific reason behind this or is it just the way it was designed?

You can read script by command : cat /usr/bin/add-apt-repository. In which following lines are related to this:

 # display more information about the shortcut / ppa info
    if not options.assume_yes and shortcut.should_confirm():
        try:
            info = shortcut.info()
        except ShortcutException as e:
            print(e)
            sys.exit(1)

        print(" %s" % (info["description"] or ""))
        print(_(" More info: %s") % str(info["web_link"]))
        if (sys.stdin.isatty() and
            not "FORCE_ADD_APT_REPOSITORY" in os.environ):
            if options.remove:
                print(_("Press [ENTER] to continue or ctrl-c to cancel removing it"))
            else:
                print(_("Press [ENTER] to continue or ctrl-c to cancel adding it"))
            sys.stdin.readline()

Hence it asks Press [ENTER] to continue or ctrl-c to cancel adding it which is designed and if you want to get rid of this then use : -y or --yes to Assume yes to all queries.


Offline package installation I want to install some packages without internet connection.

Please suggest the ways to copy already installed packages on "System1" to "System2" (System2 without internet connection).

Copying files

Take a look at /var/cache/apt/archives. You could copy them to System2 using a USB disk or via ssh (if it has local network access).
This might not work if your don't repeat this each time you update System1, because you might miss dependencies which were installed in  the meantime. So: Not recommended.

Local network mirror

Also, you could setup a local network apt mirror, which is possibly the best solution.

Create a CD or USB-Disk

For this, try APTonCD, reprepro or AptMedium. All do more or less the same - choose your flavour.


How do I remove virtualbox.list from etc/apt/sources.list.d/virtualbox.list I am trying to update software of my Ubuntu 14.04 but there is an error:

malformed line /etc/apt/sources.list.d/virtualbox.list (dist) ; access to this source denied.
E:opening etc/apt/sources.list.d/virtualbox.list-ifstream::ifstream(13: Permission denied)
E: List of source could not be read
E:The package lists or status file could not be parsed or opened.

Could you please help me to remove this virtualbox.list.

I really appreciate yourhelp.

You'll need super-user privileges to delete that file. The easiest way would be to open a terminal (e. g. with Ctrl+Alt+T) and run

sudo rm /etc/apt/sources.list.d/virtualbox.list*

This will prompt for your password and (after supplying the correct one) delete the pertaining files.

Jus enter to the root that the error gives you /etc/apt/sources.list.d using Nautilus and delete the file virtualbox.list

I was having the same problem:

E: Tipo «http://download.virtualbox.org/virtualbox/debian» desconocido en la línea 1 de lista de fuentes /etc/apt/sources.list.d/vbox.list
E: No se pudieron leer las listas de fuentes.


Ubuntu won't boot after successful installation (Black screen appears and nothing happens) I recently installed Ubuntu 12.04 LTS (dual boot win 8) via live usb created using pendrive linux. I have a sony vaio multi-touch screen with nvidia geforce CUDA. You can check the specifications here : http://www.sony.co.uk/product/vaio-j-series/vpcj11m1e-b

After successful installation, it shows the boot menu (purple screen) and upon selecting ubuntu, it shows a black screen and nothing happens.

I tried the recovery mode and chose failsafeX option, the next screen said that "you are running on low graphics" and wont go any further.

I upgraded grub using root option and the very same problem persists.

i tried the very same version of ubuntu without installing and the behaviour wont change.

Do i have to find another iso file that would support the hardware of my system or is there a fix available?

Kindly help me out....i am really struggling with this OS but i want to make it work

Thanks

Try reinstalling your nvidia drivers:

When the low graphics mode window appears, press ctrl+alt+f1
login with your username and password
use sudo apt-get purge nvidia to remove all nvidia drivers
reinstall the proper drivers using sudo apt-get install nvidia-current
reboot you machine using sudo reboot

I hope this helps you solve your problem.

Choose second line option in grub menu to enter recovery mode, then again there will a menu with host of options out of which choose the re-boot in normal option or the similar and now it starts off successfully ... this solution is applicable for dual boot of windows vista business with ubuntu 12.04 ... HTH


Is it possible to mount windows drive in Ubuntu and make it writeable? Running Ubuntu 12.04. I have Windows Server running in VBox... I can mount the Windows drive just fine, but no matter what I try I can't get it mount writeable.

The latest attempt looks something like this...

sudo mount -t cifs -o user,rw,username=USERNAME,password=PASSWORD //192.168.1.20/websites /media/websites

The mount works just fine, but everything is readonly.
Any advice would be appreciated.

I am not sure but try to give the file privileges
I mean  sudo chmod +x "File name or path to it"

Hi YES its possible mount windows folders in vbox ubuntu 12.04 as full access, if you declare the folders in virtualbox as permanent and automount then a folder is created in /media/sf_FOLDER , to make it writeable you need to umount then change permissions to the folder and then mount again, and now is writeable.


What is the simplest Debian Packaging Guide? I went to the Ubuntu wiki but got confused,there were too many ways. Please tell me an easy guide to Debian packaging.

This is a good HOWTO for creating a basic .deb file. It is suitable for creating .deb files for personal use but not stringent enough if you want to the package to be included in Debian / Ubuntu - for that you should read the Debian New Maintainer's Guide and/or the Ubuntu Packaging Guide (which I believe you've already tried).

A good tool for checking your .deb file for compliance is lintian (installable from the repositories).

There were two sessions here in the Ask Ubuntu chatrooms.

The Basics of Packaging on Ubuntu (Packaging: Part 1)

Ubuntu Packaging for Launchpad PPAs (Packaging: Part 2)

No, the simplest and clearest  packaging guide in this world is

Packaging Java Applications for Ubuntu and Other Debian's

Few days ago, for my first application, I created DEB package by following this tutorial. Very clear and my app packaged succesfully. Yes, at least it is simplest for me.

You can compare it with Debian Packaging Guide.


Minecraft performs horribly I recently installed Minecraft on my system. It does work, but it has 10-15 fps on my system. Although on windows it performs better. Can anyone tell me how to fix this?

4.0 GB of ram ( 3.7 GB is useable)

AMD A6-6400k apu with radeon HD graphics

Try installing Optifine
Try giving Minecraft more RAM
Try setting the graphics lower.

I won't go into detail how to do all that, google it.


Hibernate Option not available in Ubuntu 12.04 My Ubuntu 12.04 is missing Hibernate option so after searching a little on Google I came to know that this can solve my problem

sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

Fill it with this

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

Here is the link : How to enable hibernation?

After doing this I restarted my system. when the system booted it hanged ike anything No mouse movement no terminal no nothing. I waited for more than 1 hour Hibernate option appeared but i was not able to use my system anymore. any ideas ?

In this site are a very good how-to.

http://www.howtogeek.com/113923/how-to-re-enable-hibernate-in-ubuntu-12.04/

Sorry for my bad english, but i speak spanish.

One possible cause of being unable to hibernate is if you encrypted your home directory (and with it your swap partition).


Bluetooth firmware problem in Ubuntu 13.04 I have a [Dell Inspiron][1] 15R 5520 laptop. Bluetooth is not working at all.

rfkill list all gives

0: hci0: Bluetooth

    Soft blocked: no
    Hard blocked: no

1: phy0: Wireless LAN

    Soft blocked: no
    Hard blocked: no

2: brcmwl-0: Wireless LAN

    Soft blocked: no
    Hard blocked: no

dmesg|grep -i bluetooth gives

[   13.644428] Bluetooth: Core ver 2.16
[   13.644445] Bluetooth: HCI device and connection manager initialized
[   13.644453] Bluetooth: HCI socket layer initialized
[   13.644455] Bluetooth: L2CAP socket layer initialized
[   13.644461] Bluetooth: SCO socket layer initialized
[   15.861363] Bluetooth: hci0 command 0x1003 tx timeout
[   15.903443] Bluetooth: can't load firmware, may not work correctly
[   17.332535] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   17.332538] Bluetooth: BNEP filters: protocol multicast
[   17.332544] Bluetooth: BNEP socket layer initialized
[   17.393768] Bluetooth: RFCOMM TTY layer initialized
[   17.393781] Bluetooth: RFCOMM socket layer initialized
[   17.393783] Bluetooth: RFCOMM ver 1.11

hciconfig gives

hci0:   Type: BR/EDR  Bus: USB
    BD Address: E0:06:E6:D5:DB:46  ACL MTU: 1021:8  SCO MTU: 64:1
    UP RUNNING PSCAN ISCAN
    RX bytes:687 acl:0 sco:0 events:56 errors:0
    TX bytes:2024 acl:0 sco:0 commands:52 errors:0

I have visited the site http://wireless.kernel.org/en/users/Drivers/b43 and according to it

lspci -vnn -d 14e4: gives

08:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365]
 (rev 01)
    Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at c1500000 (64-bit, non-prefetchable) [size=32K]
    Capabilities: <access denied>
    Kernel driver in use: wl

So I got my PCI-ID as 14e4:4365 which it says is not supported. The alternative is wl.

What should I do?

My Wi-Fi is working normally without any problems, but Bluetooth is not working.

sudo dpkg -i wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb gives following error
(Reading database ... 208543 files and directories currently installed.)
Unpacking wireless-bcm43142-dkms (from wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb) ...
Setting up wireless-bcm43142-dkms (6.20.55.19-1) ...
Loading new wireless-bcm43142-6.20.55.19 DKMS files...
Building only for 3.8.0-23-generic
Building initial module for 3.8.0-23-generic
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms_packages.py", line 22, in <module>
    import apport
ImportError: No module named apport
Error! Bad return status for module build on kernel: 3.8.0-23-generic (x86_64)
Consult /var/lib/dkms/wireless-bcm43142/6.20.55.19/build/make.log for more information.

Could it be that your laptop's bluetooth device is attached to USB, not PCI bus?
Try lsusb and see if it comes up. E.g. (on my machine):

$ lsusb
...
Bus 001 Device 005: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]
...

You should also update BIOS first, if you have any hardware detection problems.

This will probably come as off-topic here, but I'll briefly describe how I managed to update BIOS on a Dell laptop:

download FreeDOS pre-built ISO image and use it to make a bootable USB drive;
download BIOS update from Dell support site, make sure you get the version that will run under DOS
boot into FreeDOS and run the BIOS update.

For a 64-bit Ubuntu installation, you can[1]:

Download the file http://jas.gemnetworks.com/debian/pool/main/w/wireless-bcm43142/wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb
Issue sudo apt-get install linux-headers-generic build-essential dkms
Issue sudo dpkg -i wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb

Even more answers are in the Ask Ubuntu question Lost WiFi after 12.10 upgrade.

 1. From the official Ubuntu forum, Broadcom BCM43142 Driver Ubuntu 12.10 64 Bit.


read only problem with usb drive and data loss? I encountered a read only file system for my flash drive and I can't see my data (one folder which had all the data is empty).

I did dosfsck -a /dev/sdf1  (as I read here) and now I can write to the us drive.

But I can't see anywhere my data although the drive shows about  "3GB used" , "4GB free".

I have lost my data or there is something to do?

sudo fdisk -l /dev/sdf

Disk /dev/sdf: 8019 MB, 8019509248 bytes
102 heads, 38 sectors/track, 4041 cylinders, total 15663104 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x04030201

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1            2192    15663103     7830456    c  W95 FAT32 (LBA)

ls -la /media/KINGSTON

drwx------ 4 me      me  4096 Jan   1  1970 .
drwxr-xr-x 6 root  root  4096 Aug   3 17:04 ..
drwx------ 0 me     me      0 Aug   3 16:44 cc
drwx------ 5 me      me  4096 May  11  2012 .Trash-1000

I'm not an expert but the problem seems to come from the 1/1/1970 date for .

You can resolve it saving file from firefox as indicated here: http://forums.linuxmint.com/viewtopic.php?f=47&t=141529. The date will be updated and the problem will be gone after remounting the USB stick.


How do I get an HP StorageWorks MSA1500 working? I have a : HP storageworks msa 1500, with 12 disks and a total capacity of 6TB.

I want to connect it to a computer running a linux distribution, more precisely Ubuntu 10.10

Do you think that such thing is possible and if so could you please point me some tips or documentation that could help me configuring such a system.

I want to be able to connect the PC to my home network.

Any help will be greatly appreciated

A quick search shows that this is a Fibre Channel connected array
that can support SAS or SATA disks. You'll need something like a
Qlogic or Emulex HBA to connect to it. The connector should look
like a fiber optic cable. In re-reading your question, this is
not an array for home use, it's quite sophisticated. It doesn't
support iSCSI so it must be directly attached to a host and shared
to your network through other means.

The array itself is well documented, there's no shortage of docs
on the HP site surrounding the MSA 1500, like this one MSA 1000/1500 CLI Guide.

Even without multipath, you should be able to see the LUNs attached to your system
to begin with. A tool like lsscsi is a nice way to aggregate the listing of all SCSI based storage on your system. You should see several LUNs with a make of HP.
If you don't, that means the array hasn't even provisioned a single LUN yet. It's up to you to setup the SAN, provide network connectivity, log into, and provision the storage. After that, a LIP event lip event example must be issued on your side to force a rescan on the fabric, or you could just reboot.

If you don't have multiple routes to the SAN than you can use it as is. If so, it get's a little more complicated. Considering your level of expertise, I would leave
multipath alone, which means only one port should be attached from the host to the SAN.

Overall, it sounds to me like you need to commit to understanding this array and
how to administer it. This is no plug and play affair. There's copious documentation on this equipment to assist you in this exercise. Good luck!

I have an MSA1500 CS at home for VMware testing. I use a Windows 2008 Server to manage the MSA using HP's raid management software (downloaded from the MSA support page).

Its likely you can manage it all from the command line using a serial connection but I have never tried.

The Windows storage manager actually uses the Fiber HBA to manage the MSA. The MSA requires a special management cable which will cost you about 50 bucks to order. I can get you the part number if you need it.

The Sata enlosure is called an MSA20 and can be directly attached to a server using an HP raid card. Since the MSA20 is older technology the raid cards are only available in the PCI-X format not the new PCI-E.

In a RAID5 configuration the MSA's performance is pretty painful so hopefully you are not looking for fast access.


What happened with my time display? I'm using Ubuntu 19.10 and the display of time has an extra space between : separator, see images.
I notice this in gnome's top bar and in Files.

EDIT:

The spacing between hour and minute should look like this:

I also tried creating a new user account to see if the problem persists with clean account.

This has been resolved.

I installed Onlyoffice which also installed dejavu fonts as a dependency then suddenly my issue was gone. So maybe the problem was missing dejavu fonts? odd.. I did not confirm this with removing the fonts to see if issue came back.

Try the following below on your machine:

Step 1: Launch ‘Terminal’.

Step 2: Copy and paste the following commands one at a time followed by pressing enter.

gsettings set org.gnome.desktop.interface clock-show-date true

gsettings set org.gnome.desktop.interface clock-show-seconds true

You should immediately see the Day, Date, and Time including Seconds in the Top panel.


Dash (from Unity) does not showing Applications I have a weird issue with Unity, it just stopped showing applications in the unity dash search menu.
I can't launch application unless I run them from the terminal.
I have tried to force unity re-installation with no success, and I could not find any other information regarding to this issue. Prior to full re-installation (I prefer not to, since my disk is encrypted) I am seeking for help. (I am a developer and would love to help with more information as needed).

An image to applications is shown like this, when looking at Ubuntu dash search feature.

Try to remove and re-install unity-lens-applications

sudo apt-get purge unity-lens-applications
sudo apt-get install unity-lens-applications

Edit: Log off & login. If doesn't work restart your system (see comments)

I had this problem. To solve it i deleted the recent files I had downloaded that were not on the software centre (i.e livewallpaper and the files related), used 'sudo apt-get autoremove' and then 'sudo reboot'.


Can't use both mouse and keyboard at the same time When I use the keyboard, my mouse stopped. This is terrible when I playing a game.
But I can temporarily make them work together: while pressing shift, they can work together.
How to fix it?
I'm using GNOME or awesomewm, and my Linux is ubuntu 20.04.

With Gnome Tweaks... This can easily be fixed! :D
In gnome tweaks click the "Keyboard and Mouse" tab and uncheck the slider called "Disable while typing" in the Touchpad section
Your trackpad being disabled while typing is how the trackpad works by default :D

Here's an Ubuntu Forums thread I found with the same question:
their method doesn't require you to install Gnome Tweaks:
Run the command
gsettings set org.gnome.desktop.peripherals.touchpad disable-while-typing false


Boot drops to a (initramfs) prompts/busybox I am running an HP pavilion dv6000 dual boot win7 and Ubuntu 12.04. (well, up until today).  After a reboot, the boot process drops to the BusyBox shell and I end up at the prompt:

BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

I've been researching others who have had this same problem, but haven't been able to find any of those solutions to work for me.

I tried the method described here, and after the final command

mount -t ntfs-3g /dev/sda1 /root -o force

it does nothing and gives me another (initramfs) prompt.

I can boot to a live CD (USB) and get to a terminal, but it doesn't seem to do much good, as I can see the /dev/sda1 in the ls command, but it doesn't recognize it when I try to cd to it.

One more question: using the command fdisk -l how can I tell which mount point (sda1/sda2) is my windows partition and which one is Ubuntu?

While at initramfs console, I passed a command exit to come out of the shell. The same console was presented before me but this time with the exact name of the partition that got corrupted.
BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) exit

/dev/mapper/ubuntu--vg-root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4.
The root filesystem on /dev/mapper/ubuntu--vg-root requires a manual fsck.

BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) fsck /dev/mapper/ubuntu--vg-root -y

fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
/dev/mapper/ubuntu--vg-root contains a file system with errors, check forced.

After the checking is done, I rebooted the system.
BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) reboot

If reboot doesn't work, try exit.
and that's it, I got back into the filesystem without any errors.

I just tried a lucky shot by booting the system with the "Parted Magic" tool from a Live CD. Looking at the partitions, there was a declared "unknown space" of some GBytes on the Linux partition.

So I just widened the Linux space over the whole Partition and voila - since then my Linux boots as before without any fail so far.


Where is the Ubuntu file system root directory in Windows Subsystem for Linux and vice versa? I have installed Ubuntu subsystem on Windows 10 (after enabling feature in settings), but where is the Ubuntu file system root directory located in the drive?

For Ubuntu installed from the Windows store:

  Each distribution you install through the store is installed to that
  application's appdata directory. For example:
  C:\Users\<username>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState - benhillis

For WSL2 you can access to home directory from windows (Windows 10 build 18342) like this :

\\wsl$

In earlier iterations of Windows Subsystem for Linux, the Ubuntu file system was at %localappdata%\Lxss (e.g., C:\Users\Username\AppData\Local\Lxss - replace the Username with your Username on Windows). See the WSL blog post on File System Support:

  The primary file system used by WSL is VolFs. It is used to store the
  Linux system files, as well as the content of your Linux home
  directory. As such, VolFs supports most features the Linux VFS
  provides, including Linux permissions, symbolic links, FIFOs, sockets,
  and device files.

  VolFs is used to mount the VFS root directory, using
  %LocalAppData%\lxss\rootfs as the backing storage. In addition, a
  few additional VolFs mount points exist, most notably /root and
  /home which are mounted using %LocalAppData%\lxss\root and
  %LocalAppData%\lxss\home respectively. The reason for these separate
  mounts is that when you uninstall WSL, the home directories are not
  removed by default, so any personal files stored there will be
  preserved.

CAUTION

Creating/modifying any files within the Linux subsystem using Windows apps & tools can cause Data corruption and data loss in Ubuntu subsystem! (Thanks to Rich Turner for suggesting these words of caution!) This is absolutely not supported. From the same blog post:

  Interoperability with Windows

  While VolFs files are stored in regular files on Windows in the
  directories mentioned above, interoperability with Windows is not
  supported. If a new file is added to one of these directories from
  Windows, it lacks the EAs needed by VolFs, so VolFs doesn’t know what
  to do with the file and simply ignores it. Many editors will also
  strip the EAs when saving an existing file, again making the file
  unusable in WSL.

Your Windows file system is located at /mnt/c in the Bash shell environment.

Source: Dustin Kirkland's blog, howtogeek

For those who are looking for the image location:
C:\Users\[username]\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\ext4.vhdx


DualBoot: Windows doesnt load anymore I have a dualboot system with Xubuntu 14.04 and Windows 8.1 on my pc. When I boot the pc grub shows up with Xubuntu and Win 8.1. I can load Xubuntu normally but if I try to boot Windows I'm getting a 'peep' sound out of my pc and a black screen appears.

Ive tried to reinstall grub boot nothing changed.

Do you have some ideas?

This sounds like an issue beyond the grub in the Windows boot process.
I would suggest to boot with your Windows installation DVD or with a Windows recovery USB (You can make one in Windows 10, if you have another PC with Windows 10) an do a repair/recovery (F8) .

You will probably need to reinstall grub afterwards since the repair process will most likely "repair" the masterboot record and remove grub.

Alternatively: This might be a sign that your way should rather go via free open source  GNU/Linux than via proprietary  Windows. Just continue to use Ubuntu. ;-)

Try to use Boot-Repair Disk depending on your architecture
If the windows still not booting like it should is a Microsoft issue.


How to use Snap Packages when $HOME is not /home/$USER? Trying to use any snap package, I run into following issue:

$ gimp
cannot create user data directory: /local/home/user/snap/gimp/40: Read-only file system

(Gimp is just an example).

I have my $HOME in /local/home/$USER/ (I cannot change this!) and found that people have the same issue on the snap-store forum:
https://forum.snapcraft.io/t/how-can-i-use-snap-when-i-dont-use-home-user/3352 and https://bugs.launchpad.net/snapcraft/+bug/1620771

In this thread, people say /home is hard-coded in snap and they suggest to use a bind-mount to solve this.

What I tried:

$ sudo mount --bind $HOME /home/$USER

ls correctly lists the content of my $HOME

$ ls /home/$USER

I also added the additional home dir to /etc/apparmor.d/tunables/home.d/my-homes:

$ cat /etc/apparmor.d/tunables/home.d/my-homes
@{HOMEDIRS}+=/local/home/

and to /var/lib/snapd/apparmor/snap-confine/my-homes:

$ cat /var/lib/snapd/apparmor/snap-confine/my-homes
mount options=(rw rbind) @{HOMEDIRS}/ -> /tmp/snap.rootfs_*/home/,

Running the snap again with bind-mount AND as well as OR changing files, the same error occurs as before.
How can I solve this ?

$ snap list gimp
Name  Version  Rev  Tracking  Developer     Notes
gimp  2.10.0   40   stable    snapcrafters  -

$ snap --version
snap    2.32.9
snapd   2.32.9
series  16
ubuntu  16.04
kernel  4.4.0-127-generic

snapd developer here

I'm sorry that this is a problem for you, because you didn't give details about the version of snapd you are using (tip, run snap version and paste that here) or the detailed arrangement of what your real home directory is on (it sadly also matters).

I haven't personally tried this myself but you should be good enough with a bind mount like this:

sudo mount --bind /some/random/place/home/zyga /home/zyga

You can make this permanent if you add it to your /etc/fstab file. After this you must also change your home directory to really be in /home/zyga and not in the original location.

If this fails please snap install hello-world and add the output of the following commands:

SNAP_CONFINE_DEBUG=yes hello-world
dmesg | grep DENIED


Installing Ubuntu on a 32gb Notebook with a failed Windows 10 Installation I tried to update Windows 10 on a Toshiba Notebook, but after formatting the main Partition it just keeps going into a loop and won't install. The notebook only has 32gb max storage, so have decided I would like to run Ubuntu instead. I have downloaded the Ubuntu ISO on may main Laptop. I have a 32gb SD Card. How do I install Ubuntu either from  the SD Card or a USB Stick. My notebook does not have a CD drive. Many Thanks

Enter the BIOS of your netbook and set it up to try to boot from USB first. Then use your USB drive to install Ubuntu. You can see instructions for that there.

If you encounter a problem make sure to note the error message. If googling doesn't find something mention it here (editing/updating your question) so we can help.

Regarding dual booting with Win 10 this answer may be of help.

There is a tool calls "Startup Disk Creator", you just have to chose the Ubuntu ISO and the Pen Drive. Don't foget to download the most recent Ubuntu. http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu


Blank page when trying to access phpmyadmin I would like to access phpmyadmin. I have access it before but, now, I'm just getting a blank page and I really don't get why.

I've installed phpmyadmin using

sudo apt-get install phpmyadmin

I've run

sudo gedit /etc/apache2/apache2.conf

And there added:

#Include phpmyadmin:
 include /etc/phpmyadmin/apache.conf

But I was getting a warning when I restart apache, telling me:

  The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will
  probably never match because it overlaps an earlier Alias.

How can I solve this, so that I can see phpmyadmin interface again, when I do http://localhost/phpmyadmin instead of seeing a blank webpage?

Dump -

I've tried apt-get remove phpmyadmin and then apt-get install phpmyadmin - still the same blank page. :(
/etc/phpmyadmin - I've chmod o+w permissions to phpmyadmin folder and it's contents. - still the blank page...

All the previous answers did not help me, but then I found the solution:

apt install php-gettext

this fixed phpmyadmin white blank page issue.

My problem was different: the page rendered white but, inspecting the HTML, I could see the login and password fields. The problem was in the space on the HDD:

  No space left on device

Freeing some made phpMyAdmin work again.


making more space on ubuntu 12.04 Possible Duplicate:
  How to re-partition?

I been running ubuntu 12.04 with a lot of problems blured status texts,no sound, and now running out of space on my 80G hard drive. I think I gave ubuntu too much of my hard drive (74%). I was wondering if it is possible to make more free space on my hard drive by cutting back on ubuntu's partition.

I think you had done your partitioning wrong.
Please partition your HDD in this way.....

/boot  ext2    500 MB
swap           3000 MB
/      ext4    12000 MB would be fine.
/home  ext4    "Minimum 5000 MB."

And after installing you can create new partition with free space.


How do I add minimize / maximize buttons to GNOME shell windows? Just installed Ubuntu 12.04, then I did

sudo apt-get install gnome-shell

and windows have only a close button, how can I enable minimize / maximize? The old gconf-editor doesn't seem to work cause it has the three buttons in the config.

You need gnome tweak tool.

Click the Download button to install with Ubuntu Software Center:

Or you can install in Terminal:

sudo apt-get update; sudo apt-get install gnome-tweak-tool

Then open Advanced Settings to change the minimize and maximize buttons.

To right align buttons, put the colon in the beginning:

gsettings set org.gnome.shell.overrides button-layout :minimize,maximize,close


What software can join videos? What's the best & easiest GUI software that can join a video that I have downloaded in several parts?

mkvtoolnix-gui
Notes:

there is no re-encoding involved, so
the merging process takes only a
couple of seconds
it can merge other  video formats,
like avi, mp4, but the  output is
always mkv
it can't merge videos  with different
apect ratios

For more info see the documentation here

Quick how-to:
Click "add", select the first video, then click "append", then select the other videos to append. You can select multiple videos as long as you select them in order or you can append one by one. Then click "Start muxing". You might want to change the output filename. The other options are not really necessary for basic merging. Nevertheless, you can also add multiples subtitles in various formats or languages and also multiple audio tracks.

PiTiVi is included in current versions of Ubuntu. You can add both file parts to it and then arrange them on the timeline. You then export the video to whatever format you want.


Python: module not found after manual install I've recently updated to the current version of Ubuntu, 13.04 and Python 2.7.4. Since then I have problems importing the gobject module and dunno what to do to fix it. I'd like to use dreampie which currently fails at startup with the ImportError below. Here are more details:

kiri:/home/kiri% uname -a
Linux megfigyelokocsi-2 3.8.0-17-generic #27-Ubuntu SMP Sun Apr 7 19:39:35 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
kiri:/home/kiri% sudo apt-get install python-gtk2 python-gobject python-gobject-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-gobject-2 is already the newest version.
python-gobject is already the newest version.
python-gtk2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
kiri:/home/kiri% python
Python 2.7.4 (default, Apr  9 2013, 19:58:39)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gobject
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gobject

I also did try to install dreampie from source before:

git clone git://github.com/noamraph/dreampie.git dreampie
cd dreampie
sudo python setup.py install

Installation succeeded but it didn't help. How can I make python recognize the gobject module?

EDIT: The module does exist at the following path, but importing still does not work:

/usr/lib/python2.7/dist-packages/gobject/

EDIT2: I already tried to fix my assumably corrupt python installation (w/o success):

sudo zsh
apt-get remove --purge python2.7-minimal
apt-get remove --purge python2.7
apt-get autoremove
apt-get install python2.7-minimal
apt-get install python2.7

also tried to upgrade my distribution, but it says everything's up-to-date:

sudo zsh
apt-get clean && apt-get update
apt-get dist-upgrade
apt-get upgrade

EDIT 3: sys.path:

kiri:/home/kiri% python -c "import sys; print sys.path"
['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages']

After inspecting sys.path I've realized that the interpreter was loaded from a wrong location (/usr/local/bin instead of /usr/bin/), so I did:

sudo rm -rf /usr/local/bin/python*

And now it works! Earlier I tried to build & install python from the source tarball (with success) and it seems it put its binaries to an Ubuntu-unfriendly location. The problem was rooted in the fact that /usr/local/bin precedes /usr/bin in the PATH variable.

I may be completely wrong, but I've got a hunch you should use from gi.repository import GObject


What is the difference between "Redirection" and "Pipe"? This question may sound a bit stupid, but I can not really see the difference between redirection and pipes.

Redirection is used to redirect the stdout/stdin/stderr, e.g. ls > log.txt.

Pipes are used to give the output of a command as input to another command, e.g. ls | grep file.txt.

But why are there two operators for the same thing?

Why not just write ls > grep to pass the output through, isn't this just a kind of redirection also? What I am missing?

Pipe is used to pass output to another program or utility.

Redirect is used to pass output to either a file or stream.

Example: thing1 > thing2 vs thing1 | thing2

thing1 > thing2

Your shell will run the program named thing1
Everything that thing1 outputs will be placed in a file called thing2.  (Note - if thing2 exists, it will be overwritten)

If you want to pass the output from program thing1 to a program called thing2, you could do the following:

thing1 > temp_file && thing2 < temp_file

which would

run program named thing1
save the output into a file named temp_file
run program named thing2, pretending that the person at the keyboard typed the contents of temp_file as the input.

However, that's clunky, so they made pipes as a simpler way to do that. thing1 | thing2 does the same thing as thing1 > temp_file && thing2 < temp_file

EDIT to provide more details to question in comment:

If > tried to be both "pass to program" and "write to file", it could cause problems in both directions.

First example: You are trying to write to a file.  There already exists a file with that name that you wish to overwrite.  However, the file is executable.  Presumably, it would try to execute this file, passing the input.  You'd have to do something like write the output to a new filename, then rename the file.

Second example: As Florian Diesch pointed out, what if there's another command elsewhere in the system with the same name (that is in the execute path).  If you intended to make a file with that name in your current folder, you'd be stuck.

Thirdly: if you mis-type a command, it wouldn't warn you that the command doesn't exist.  Right now, if you type ls | gerp log.txt it will tell you bash: gerp: command not found.  If > meant both, it would simply create a new file for you (then warn it doesn't know what to do with log.txt).

I've hit a problem with this in C today. Essentially Pipe's have different semantics to redirects as well, even when sent to stdin. Really I think given the differences, pipes should go somewhere other than stdin, so that stdin and lets call it stdpipe (to make an arbitrary differential) can be handled in different ways.

Consider this. When piping one program output to another fstat seems to return zero as the st_size despite ls -lha /proc/{PID}/fd showing that there is a file. When redirecting a file this is not the case (at least on debian wheezy, stretch and jessie vanilla and ubuntu 14.04, 16.04 vanilla.

If you cat /proc/{PID}/fd/0 with a redirection you'll be able to repeat to read as many times as you like. If you do this with a pipe you'll notice that the second time you run the task consecutively, you don't get the same output.


Upgrading VirtualBox 3.2.10 breaks my guest Ubuntu screen resolution I had Ubuntu 10.4 working fine with the previous version of VirtualBox on a Windows 7 host.

Then I upgraded to VirtualBox to 3.2.10, reinstalled the Linux Guest Additions, and now I am limited to 1008 x 584 resolution in full-screen mode!  I have reinstalled Guest Additions and rebooted the guest OS several times.

Virtualbox 3.2.12 has been out for a while, maybe that will fix your issue

http://ubuntuforums.org/showthread.php?t=1153437  This worked for me.

EDIT:

I spoke too soon. After a "sleep" it changed to a low resolution again.  And now that I think about it, I really would prefer that Guest Additions would detect things properly instead of me having to edit the xorg.conf myself, mainly because it can probably make it more ideal than what I copy and paste from a web forum.  Any chance of fixing Guest Additions?  Or should I try upgrading to Ubuntu 10.10?


"Failed to load the torrent...." when I try to open pdf files on another partition I have qBittorent installed on my system Ubuntu 14.04. When going to my DATA partition which is NTFS. When trying to open the pdf I get this:

Failed to load the torrent: /media/justin/DATA/Documents/eBooks/calculus/
James Stewart-Calculus, 7th Edition  -Cengage Learning (2011).pdf.
Error: metadata too large

I don't know what this means and it does not let me open the pdf files even if I copy them to my Home folder. What should I do to open my pdf files?

For some reason qBittorent became the default program to open pdf files. Just reassign the file association with evince.

In order to do this:

RIght click file then select properties
Choose "open with" tab For
    default application
Select document viewer and click "set as default"

Why are you trying to open pdf file in qBittorent? As I know qBittorent is not a pdf reader. I suggest you to use pdf reader as Foxit Reader to open pdf files or the default one which is already installed in your Linux System.


Compact disk software and PlayOnLinux I am trying to install a software that came with my USB interface on PlayOnLinux. I am not getting very far. How do I install software that’s on a compact disk on Linux? Oh I am using Ubuntu 13.4 by the way.

If you want to install some packages in wine, try wine explorer.exe and It would show you an file manager. Then you can double-click the installation media (EXE).

If you want to install some packages in your OS (Linux, probably Ubuntu), Try deb or yum to install the package.

For .deb I use gdebi. You can install this program from the Softwarecenter. Afterwards you have a rightclick option - open with - "Install with Gdebi", or something like this.


how to find the current version of gnome I'm using ubuntu 12.04.

I tried

$ gnome-about –gnome-version
gnome-about: command not found

$ gnome-session --version
gnome-session 3.2.1

Why I need is because my desktop environment doesn't look like
http://www.gnome.org/gnome-3/
though wikipedia states that the default gnome version on 12.04 is 3.4.1.

Type

gnome-shell --version

in a terminal

Your gnome version is 3.4.1 and is alright.

But you have to make sure at the time of logging in--that is, at the beginning of the session--that you select the "gnome" desktop environment among many. The other options may include:

GNOME Classic [which provides a "GNOME Fallback" session]
GNOME Classic (no effects) [which may provide an even lighter weight GNOME Fallback]
Ubuntu [which provides Unity]
Ubuntu 2D [which provides Unity 2D]

When you log in (when the machine boots up, or even now by closing all applications you can log out and again log in), there is a small round symbol on the right hand side of your user name on your log in dialog box. By clicking over it you can find a drop down list of options. Select GNOME.


How can I add more wallpapers? How do I increase the amount of wallpapers that appear on the menu for customizing the desktop with my backgrounds in 11.10?

I added more images to the respective folder in /usr/share/background as root, but the list does not remain persistent.

The images in 11:10 changes alone. So I want to add funds to enhance the environment. When I copy the images to the folder /usr/share/backgrounds the list is updated and increased. But only for the first time. Thereafter, the system ignores the other images, and the list of funds has become original as first.

Any help?

You might want to install wallch  from Software Center and add it to the Startup Applications. That is an application made for that purpose, as described before.

I think it's in /usr/share/backgrounds.

just make a ~/Pictures/wallpapers
and make a link from /usr/share/wallpapers to that folder, so then they'll appear as a subfolder in the wallpaper selection, and you won't have to enter the root password every time.
that might help


Differences Between 10.04 and 11.10 I have no experience with Linux.  I bought a book (Beginner's Guide) but it is for 10.04.  Should I download 10.04 so it matches the book or use 11.10 with the book, assuming they are pretty similar?

The key difference between 11.04/11.10 and 10.04 is the default interface called Unity.

 picture from this AskUbuntu question

This compares to the Gnome-2-Panel interface used by 10.04

Some of the terminology changes between the two due to the incorporation of elements from Gnome-Shell & Unity compared to the standard Gnome-2-panel interface.

Thus - as a beginner, can I suggest you use 10.04 until you feel more comfortable before progressing to later versions of ubuntu.  However saying that - if you are feeling adventurous - jump straight into 11.10.  If you have any issues, come back here or the ubuntu-forums.  You'll find us a friendly lot offering lots of advice.

As an alternative/or addition to your book, can I suggest the second edition of the Ubuntu Manual Project book - written by many contributors specifically from the new users point-of-view.

Graphics Card 2D or 3D
Stay with 10.04 with 2D
Try 12.04 or 11.10 with 3D
Personally I like 10.04-only 2D
but it works for me
Thunderbird was buggy for me 12.04
Evolution has been the 1st choice 10.04
Sylpheed 2nd but very close to 1st(an option)
newer isn't always better-just supported with updates


rtl8192eu driver does not work since the kernel upgrade to 4.0.1, because I had a version 3.1x, when you update the driver rtl8192eu not work for me, I get the following error

make [1]:  [_module_ / home / kevin / Desktop / install_folder / driver / rtl8192EU_linux_v4.2.2_7585.20130524] Error 2
make [1]: Leaving directory '/usr/src/linux-headers-4.0.1-040001-generic'
Makefile: 1043: recipe for target 'modules' failed
make:  [modules] Error 2

Compile driver make mistake: 2

Please check mistake Mesg

I tried to go back to the kernel version 3.1x but the problem persists you could do, not much information about this device chipset is 0bda: 818b

otherwise when compiling the 4.0.1 kernel drivers looking in the menuconfig meeting almost every family realtek drivers 8192ex, 8192eu least, is why? Please I need help I've been almost a week with this

the end of the log output (not copy everything because they are almost 500 lines) is as follows

cc1: some errors as warnings Being Treated
make [2]: [/home/kevin/Escritorio/install_folder/driver/rtl8192EU_linux_v4.2.2_7585.20130524/os_dep/li$
make [1]:  [_module_ / home / kevin / Desktop / install_folder / driver / rtl8192EU_linux_v4.2.2_7585.20130524] $
make:  [modules] Error 2

I need help

The procedure described above fails for new kernels (>4.3)

For me it worked fine with as below:

uname -r
4.8.10-040810-generic # output of uname -r

Download the .zip folder from https://github.com/Mange/rtl8192eu-linux-driver.git and expand it

cd  /path_to_the_driver_folder/rtl8192eu-linux-driver-master/
make
sudo make install
sudo depmod -a
sudo modprobe 8182eu

You may need to install some packages (linux-headers-generic build-essential dkms..)

You can also patch using the procedure described on the downloading page : https://github.com/Mange/rtl8192eu-linux-driver.git

For the next arriving kernel linux-4.9 (today = December, 2016), it works too but, in my hands,only after unplugging and re-plugging the device.

I also had this problem, but I found a solution, in this topic: https://forum.ubuntu-nl.org/index.php?topic=86081.25

In Ubuntu 15.04 I had to do the following:

Install this .deb file:
     http://users.telenet.be/x86_64/Debian/dkms_rtl8192eu_4.3.1.1.11320.20140505_all.deb

Edit the file:

sudo gedit /usr/src/rtl8192eu-4.3.1.1.11320.20140505/Makefile

And add the following line: EXTRA_CFLAGS += -Wno-date-time

For example:

    EXTRA_CFLAGS += -Wno-unused-variable
    EXTRA_CFLAGS += -Wno-unused-value
    EXTRA_CFLAGS += -Wno-unused-label
    EXTRA_CFLAGS += -Wno-unused-parameter
    EXTRA_CFLAGS += -Wno-unused-function
    EXTRA_CFLAGS += -Wno-unused
    EXTRA_CFLAGS += -Wno-date-time

    #EXTRA_CFLAGS += -Wno-uninitialized

Save the file, and run this command:

sudo dkms autoinstall

Reboot and your wireless internet will work!


Guake Doesn't Start When Session Starts I've Ubuntu 12.04 installed.

I've added guake to startup applications but it doesn't work. All programs listed in startup application are working except guake. What should I do?

Finally solved.

From Guake Preferences, uncheck "enable popup notifications on startup".

Then add guake to Startup Applications and that's all.

Startup Applications can be found via the dash, this image shows an example of editing a startup but adding would be exactly the same.

If you want to easily find the path to an application you can issue the which command

$ which guake

Which would return

/usr/bin/guake

Should not happen again with the latest Guake version.


Thought Ubuntu was installed, when I run PC I get 'non-system disk or disk error message' I have been trying today to set up a new pc with ubuntu.

The tower is a HP ProLiant that a local computer shop gave away a while ago
The hard drive is a new 1TB drive I bought today
I tried to install ubuntu from a USB stick (I got a local computer shop to put ubuntu on there for me - they installed this thing called rufus so the usb could be used as a boot cd.

I had a few failed attempts to start installing before I realised I hadn't put the power lead into the hard drive

Then I went for the first option 'erase disk and install ubuntu' - clicked install now and it seemed to go through the installation process fine. Got to the point where it told me to restart the computer. I restarted the machine and when it came back on it went back into the installation menus and i realised the boot usb was still in. so I switched the machine off, re-installed ubuntu to be sure; after restarting i removed the usb stick as soon as the light went off. Thought it must be fine now.

Computer starts up - on first bios screen there is a line saying no disk (i had got that during installation as well) and then It went to a screen with options for setup (F9 - i think) and something else. It said 'non-system disk or disk error' There was a countdown of 4 seconds before the system rebooted and the same page was displayed.

What is happening and what to I need to do to get ubuntu up and running?

thanks for your time and help, much appreciated

download UNETBOOTIN and re-flash your Ubuntu .iso to your USB drive. in BIOS select boot from USB, or USB/CD (depending on BIOS and drive group). reboot, and proceed to install as normal.


Mouse arrow disappear after computer wake up from suspend mode in ubuntu 13.10 At ubuntu 13.10. While I wake up my laptop from suspend mode, my mouse arrow disappear. But still can click on items.

Is it a bug? Or where should I configure it?

Running this solved the issue for me:

$ gsettings set org.gnome.settings-daemon.plugins.cursor active false

If that doesn't work for you, then you can try running these commands as a workaround:

$ sudo modprobe -r psmouse
$ sudo modprobe psmouse

Start editing the config via:

sudo nano /etc/UPower/UPower.conf

and change IgnoreLid=false to IgnoreLid=true.

Reboot and that's it!!


Use ubuntu laptop as external screen for windows PC so i would like to use my ubuntu laptop as a external screen for my windows machine. Is this possible? I read this but this is for the other way around.

Thanks for the help

I had a requirement of using windows laptop as second screen for my windows desktop. But the solution I used isn't really specific to an OS, hence I'll share.

Idea:

Use synergy software to share mouse and keyboard between desktop
and laptop. This requires both devices to be connected over a
network, so that they can access each other's ip address. Here,
desktop becomes server as it is sharing mouse and keyboard attached
to it. Laptop becomes client, so that its screen can be accessed.
You need to configure screen position, like laptop is to the left or
right of desktop monitor. Accordingly, moving mouse past the edge of
desktop screen will make it go to laptop screen.
synergy (atleast the free version i use) doesn't solve requirement of sharing sound. For this I use NoMachine. I make laptop the server and my desktop
the client. Nomachine allows forwarding sound from server to client
(and even mutes it on server if desired, so that sound doesn't come
from laptop's speakers as well!). Once you connect to nomachine
server on laptop, from desktop, you can control laptop screen from
desktop. However, we don't care about this so we will just minimize
the screen. This screen however will allow listening to all sounds
produced on laptop, on desktop.

End result:

Synergy allows moving mouse connected to desktop, on laptop screen.
It also allows using keyboard attached to desktop, to type on laptop
screen.
Nomachine allows listening to any audio playing on laptop,
from desktop speakers.

Thus, even though laptop screen is running a video session on laptop's own operating system, but the input can be given using desktop peripherals and audio output can be listened through desktop speakers.

Software links (you will have to install appropriate version for your desktop and laptop OS). Google has lot of resources to help with installation:

https://www.nomachine.com/
https://blog.symless.com/2014/12/16/download-synergy-free/

NOTE
It is still not a complete external screen because drag and drop doesn't work across screens. In my case I needed to only access resources from cloud, so  I could access them through any system. For locally saved files, you'll have to transfer them to laptop. NoMachine, fortunately, supports that as well!
https://www.nomachine.com/sharing-files-between-computers

rdesktop (Remote Desktop client) will let you open a Windows login session on your Linux machine's screen.  Now this is a separate login session (separate from what you are doing on the keyboard and native screen of the Windows machine) so it may not be exactly what you're looking for.


I can't delete old kernals Hopefully, this is not a duplicate question. I tried searching for answers before posting, but I'm pretty new to Linux and I couldn't find anything that I could understand. I might need some ELI5 help.

I'm running Ubuntu 16.04.
I've got a full boot drive.
I determined that it's because there are A LOT of extra kernels that I really don't need.

At least 23 extra kernels:

The thing is, when I try to remove the oldest (I think it's the oldest. It's the one with the lowest number) using:

sudo apt-get autoremove linux-image-4.4.0-31-generic

This error is thrown multiple times:

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-75-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.4.0-75-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Removing linux-image-extra-4.4.0-92-generic (4.4.0-92.115) ...
depmod: FATAL: could not load /boot/System.map-4.4.0-92-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-92-generic /boot/vmlinuz-4.4.0-92-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-92-generic /boot/vmlinuz-4.4.0-92-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-92-generic /boot/vmlinuz-4.4.0-92-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-92-generic
depmod: WARNING: could not open /var/tmp/mkinitramfs_AjLDSQ/lib/modules/4.4.0-92-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_AjLDSQ/lib/modules/4.4.0-92-generic/modules.builtin: No such file or directory

I'm not sure if I'm reading this right, but I think it's saying that I need more space in order to clear up space. I have no idea what to do. Please help me.

I'm sure anyone wanting to help me will need more information. Please let me know if you do. I'm just sorry I can't anticipate them.

And thank you!

You can try sudo purge-old-kernels (utility from byobu package).
Then sudo apt-get autoremove.


Skype 4.2 in Ubuntu 13.04 won't open in nVidia Optimus Laptops Actually this is an answer. Im not asking a question. Last day, I tried to install skype 4.2 on my dell N5110 with nvida Optimus, after the installation when I tried to open skype from dash it didn't open. So then I opened it with Terminal via skype and it gave me an error error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

So I did the following steps with the help of method mentioned in this link.

Steps:

Open a terminal and type sudo nano /etc/ld.so.conf.d/skype.conf
Add the code /usr/lib/i386-linux-gnu/mesa/ in the next console window, and press ctrl+x to exit, when prompted enter y to say yes
And finally run sudo ldconfig -v

Try this:

Install the package libgl1-mesa-glx:i386

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libgl1-mesa-glx:i386

Launch Skype via:

LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1 skype &

You can put the last statement into a shell script, e.g. ~/bin/skype , or create a .desktop-File with this content:

Name=Skype
Terminal=false
Exec=LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1 skype
TargetEnvironment=Unity

UnityLaunchersAndDesktopFiles

Have you tried to enter in the terminal:

 sudo apt-get update

and then enter in the terminal:

 sudo apt-get install libgl-mesa-glx:i386

and then enter in the terminal this:

 sudo dpkg-reconfigure -a /etc/ld.so.conf.d/Skype.conf

and it might work fine this way.


Will there be a new lock screen for 12.04? I have read in many blogs that old lock screen is replaced by new lock screen in Ubuntu 12.04

But when I installed 12.04 Beta 2 (and updated my system) , its still showing old lock screen. Any idea if its delayed ?

It was suggested and I do remember seeing this on my system somewhere down the road in one of the alphas but later updates removed it.

As you can see from comments 22 and 23 this probably wont land on 12.04 since it introduced major regressions that could not easy be fixed on time to test, after all 12.04 is a LTS, we want things to work as good as they can get.

A far as I can tell, it was really awesome but I do remember having some issues that already described on the bug report. Think you will have to wait for 12.10 to see this implemented properly.

Remove gnome-screen saver and install xscreensaver:

sudo apt-get remove gnome-screensaver

sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra

Set the option to lock the screen after 1 minute.


How to automatically fetch missing dependencies when installing software from .deb? I'm trying to install MySQL Workbench on my Ubuntu box (11.04). The website has a Ubuntu .deb available for download (for 10.10 and 10.04 so I chose 10.10).

However,

sudo dpkg -i mysql-workbench-gpl-5.2.34-1ubu1010-amd64.deb

yields:

(Reading database ... 194069 files and directories currently installed.)
Preparing to replace mysql-workbench-gpl 5.2.34-1ubu1010 (using mysql-workbench-gpl-5.2.34-1ubu1010-amd64.deb) ...
Unpacking replacement mysql-workbench-gpl ...
dpkg: dependency problems prevent configuration of mysql-workbench-gpl:
 mysql-workbench-gpl depends on libctemplate0; however:
  Package libctemplate0 is not installed.
 mysql-workbench-gpl depends on libpython2.6 (>= 2.6); however:
  Package libpython2.6 is not installed.
 mysql-workbench-gpl depends on libzip1 (>= 0.8); however:
  Package libzip1 is not installed.
 mysql-workbench-gpl depends on python-paramiko; however:
  Package python-paramiko is not installed.
 mysql-workbench-gpl depends on python-pysqlite2; however:
  Package python-pysqlite2 is not installed.
dpkg: error processing mysql-workbench-gpl (--install):
 dependency problems - leaving unconfigured
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Errors were encountered while processing:
 mysql-workbench-gpl

My question is, is there a way to tell dpkg to automatically fetch missing dependencies, or do I need to manually apt-get install missing packages like libctemplate0 and  libpython2.6?

(Or alternatively, is there some other way to get MySQL Workbench easily up & running?)

You can install a package and get dependencies from repositories with

sudo gdebi package.deb

If you already installed the package with missed dependencies, you can dowload and install dependencies automatically with

sudo apt-get -f install

Also available is a graphical version gdebi-gtk, linked to .deb nautilus right click action "Open With GDebi Package Installer".

AFAIK, dpkg provides no mechanism for dependency resolving. It checks/warns for dependencies, but does not do any further action. You'll have to solve the problems on your own.

As the Debian wiki states here:

  dpkg checks dependencies and will refuse to install a package whose dependencies aren't met, but it won't help you find and install those dependencies. You need a higher-level tool (eg dselect or apt-get) for that.

So I think that you'll have to use apt-get or aptitude in order to install the package you're interested in, as well as any dependencies involved.

Since this package is not in the 11.04 repositories, just run:

sudo apt-get install libctemplate0 libzip1 libpython2.6 python-pysqlite2 python-paramiko
sudo dpkg -i mysql-workbench-gpl-5.2.34-1ubu1010-amd64.deb

and you should be ok.


Windows is not load from GRUB So I installed ubuntu. And a little time it continues - i could to load windows from grub, and all was right.

But something happened and now when I choose Windows 7 x64 on my grub list It says that cant find my Windows bus i see my Windows folders on my hard disk (that is all right).

I have updated my grub, Windows string disappeared.

As I understand, i need to find the way to windows loader, and write it to any config file in my grub configuration. But it is only theory. Help me please. How to recover Windows in my GRUB.

Ubuntu is installed to other disk than windows, so it is separated. Also I had checked file system status in my ubuntu disk utility - it says that my file system (where 7 installed) is damaged. I don't know how to care it.

UPD: output of sudo fdisk -l:

Диск /dev/sda: 320.1 Гб, 320072933376 байт
255 головок, 63 секторов/треков, 38913 цилиндров, всего 625142448 секторов
Units = секторы of 1 * 512 = 512 bytes
Sec size (log/phys): 512 байт / 512 байт
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk id: 0xf2efcaf5

Load dev. Beg       End       Блоки     Id Система
/dev/sda2    206848 599878722 299835937+ 7 HPFS/NTFS/exFAT
/dev/sda4 599879678 625141759  12631041  5 Расширенный
/dev/sda5 621045760 625141759   2048000 82 Linux своп / Solaris
/dev/sda6 599879680 621043711  10582016 83 Linux

Boot Repair logs:

Initial.
After doing Custom Repair.

UPD: Executed bootrec /fixboot in system repair. Windows string appeared again. But can't load: error of type 000000xc000000000 end to 428

You should boot from your Windows installation media (either DVD or USB) and select System Recovery. Then select Command Prompt.

In the window, you have to run

chkdsk /F C:
bootrec /fixboot
bcdboot C:\Windows /s C:

You should now make the partition active.

diskpart

DISKPART> select disk 0

selected disk 0

DISKPART> select partition 1

selected partition 1

DISKPART> active

partition 1 marked as active

Your partition number may differ from mine so run list partition before you select it. And if you select wrong partition, you can destroy Ubuntu, so be careful.

Then return to System Recovery Options and select Startup Repair. Then you can boot Windows from it's disk, but it's not the goal. You should now reboot to Ubuntu and run in the Terminal:

sudo update-grub

This should find Windows and place it's entry inside GRUB menu.

Based on my experience I found that if you have Windows/Ubuntu dual OS, it is always easier to use the windows boot loader instead of GRUB. You can install EasyBCD in windows and use it to manage the bootloader. It is a free software. If you cannot boot into your local windows right now, try Win PE in a bootable USB drive.


USB devices don't get detected I've upgraded to Ubuntu 13.10. My USB ports don't detect USB devices connected to them. When you connect and disconnect anything to/from USB ports and monitor with lsusb nothing changes. Every now and then, when I reboot, it suddenly works. Then it stops working again after another reboot.

I tried to watch dmesg while plugging in a USB device and unplugging it, nothing changes either. I used sudo watch 'dmesg', also sudo tailf /var/log/dmesg.

you can try installing DISK Utility from :https://apps.ubuntu.com/cat/applications/precise/gnome-disk-utility/
.Then open Disk-> select the usb device ->go to the gear icon and turn auto mount option on.


Ubuntu 12.04 & 13.10 won't boot from USB pen I tried with both 32bit versions, 12.04 & 13.10, but none of them will boot.
I create the usb drive with pendrivelinux, i pick the destro, iso, format and go.
As mentioned below, i also tried unitbootin and lili, but same result.

When machine turns on it doesn't matter if i use f12 or go through bios. When it tries to boot it shows one line of text for less than a sec, then goes on to a blinking _ in the top left corner and then nothing happens until i shut it down.

I'm using a packard bell dot se, aka netbook with win7.

Try booting from usb second time,
with me every alternate boot attempt with LiveUSB is successful.

Try LiLi USB creator
http://www.linuxliveusb.com/

Wipe the USB disk with the disk utility under accessories.
Then use unetbootin.


When I log in there is nothing except the default wallpaper, is there anything I can do? Last night I was browsing the internet while I had VLC and a text document open, suddenly the screen jumped to VLC with the text document in front of it. The video was playable and the document editable but the I couldn't move the document or do anything else. I restart the computer and everything is normal until I log in then there is just the default wallpaper(I had changed the wallpaper) and that is it, no icons no nothing. Is there anything I can do or is reinstalling necessary. I was on Ubuntu 14.04 My other operating system is OS X 10.7.5

Press Ctrl + Alt + F2 to open tty. Here, run sudo apt-get install --reinstall unity ubuntu-desktop. After that finishes, run sudo dpkg --configure -a before rebooting.

First, restart X with this command:

sudo -S restart lightdm

Sometimes this is a quick fix for running processes.


How can I configure a service to run at startup I have a daemon that runs fine if I start it manually with the service command:

ricardo@ricardo-laptop:~$ sudo service minidlna start
 * Starting minidlna minidlna                                                              [ OK ]

but it's not configured to auto start when the PC reboots.

How can I configure it to start automatically, even if no one is logged into the PC?

sudo update-rc.d minidlna defaults

This should add the service to the automatic startup system. But if you get:

System start/stop links for /etc/init.d/minidlna already exist.

Do the command

sudo update-rc.d minidlna enable

P.S.: For further detail look at the man page for update-rc.d by typing the command man update-rc.d

In ubuntu version 18.04 TLS, I found that update-rc.d does not work fine if there is no specific comment block in the start script that looks like this:

### BEGIN INIT INFO
# Provides: myprogram
# Required-Start: $ local_fs $ remote_fs $ syslog $ network $ time
# Required-Stop: $ local_fs $ remote_fs $ syslog $ network
# Default-start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: myprogram some description
### END INIT INFO


amdgpu-pro install on Ubuntu 18.04.2 LTS I have Ubuntu 18.04.2 and Graphics card asus rx580 8gb.
Driver installation problem on ubuntu 18.04.2

I go on "https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-580"
for download driver. I have last driver just only "Radeon™ Software for Linux® Driver for Ubuntu 18.04.1".  Ok, I try install.
I open terminal and try install this, but I have problem.
I run in terminal:

  $ sudo ./amdgpu-pro-install

returns me:

  WARNING: amdgpu dkms failed for running kernel

This dosen't work. Whay I can to force work it?

You appear to be affected by this bug.

The DKMS will not compile on the 4.18 Linux kernel in 18.50.

Some workarounds are:

A) Wait for the 19.10 driver, which reportedly will be released within the coming months.

B) Downgrade to kernel 4.15 which is reported to work. If this didn't work for you install linux-modules-extra-4.15.0-47-generic and linux-headers-4.15.0-47-generic as well as linux-image-4.15.0-47-generic and try again.

C) Use the no-dkms switch when installing with kernel versions 4.17 or later. amdgpu-pro-install --no-dkms Also reported to work.

Note: I do not have your hardware so I cannot test. This answer is the result of research and nothing more.

Sources:

https://bugs.freedesktop.org/show_bug.cgi?id=109440

https://unix.stackexchange.com/questions/501267/how-to-fix-amdgpu-dkms-failed-for-running-kernel-when-installing-amd-gpu-drive

If you are getting a dkms not found error refer to this answer.

I have had simmilar problems with amdgpu-pro (19.Q4) drivers, but I'm using WX 7100.

Note: Customers who have upgraded to the latest 4.15 Kernel for Ubuntu will need to use an 18.20 based driver such as Radeon™ Pro Software Adrenalin Edition 18.Q3 for Linux.

I've installed latest 4.14.* mainline kernel and that solved my problem with installation.
Then I've discovered that amdgpu-pro drivers works fine with 5.0.0-37 kernel, but must be installed on previous (4.14.*) kernel.
After that I've removed old kernel.


Why don't the Ubuntu repositories have the latest versions of software? Why are packages in the official Ubuntu repositories older than the latest (upstream) versions from Debian Sid, PPAs, the authors, etc.?

An Ubuntu release goes through several stages before it actually makes it to the public as a finished product:

Some time before Ubuntu launches a release it freezes its packages at a certain point.

Before a release is out but after the package freezing, work is done mostly to fix all the bugs and issues that there might be in those packages. New package versions are not imported into the repositories anymore after package or feature freezing.

Once the release happens additional changes to those packages only happen for bug fixing and security issues. There are no more upgrades done to the packages in the official repository even if new versions of the packages are released.

Some packages have an exception to this, such as web browsers (which need to be kept up to date all the time) or certain cases.

New version of packages are consistently being imported (from Debian) for the next release of Ubuntu, until the next freeze happens and the same process repeats itself.
As an example, you can have a look at the release schedule of 12.04.
You can see that even though 12.04 was released in April, in January 12 something called _Debian Import Freeze_ happened.
This is just the first of many freeze stages happening before the actual release and means that at that point the import of packages from Debian testing or unstable stops and work starts on them to customize and fix issues with them.
No upgrades are done after that point in a lot of packages and the version that package had at that point is the version present and maintained through a release's lifetime.
So even though there are higher versions of the same package in developers' PPAs or in Ubuntu+1 repositories those will only be included in the next release of Ubuntu.
This is done for stability, security and functionality. New bleeding packages being imported all the time to the main repository would mean issues and a lot more problems to be solved. A freeze in the packages version helps to sort that out and make Ubuntu safer and more stable for the end user.
A new version of Ubuntu is released every 6 months, so every 6 months new packages are prepared, tested, customized and released with a new version. Future versions of a packages can be installed in your system via a PPA or just by downloading it from a web site, but the version of the package in the official repository remains the same.
For more understanding and an interesting overview of what happened to Ubuntu from 10.04 until the launch of 12.04 have a look at ReleaseSchedule - LTS to LTS and Stable Release Updates page for a complete overview and explanation of an Ubuntu stable release.

The answer is not full.

There are SOME packaged, than can be installed in a backport version from Software Center. In the right side of the window, just on the left of Install/Change button, there is a select box where you can change the version.

Exempli gratia: Default conky is now 1.8.x and you have there 1.9.0 (precise-backports) as backport. Of course, backports should be first enabled.

Source: http://bugs.launchpad.net/ubuntu/+source/conky/+bug/1003727

EDIT: As stated below, not every package has a backport, but you may have an early access sometimes if you are lucky enough.


cannot install Ubuntu (message about PAE) I received the error message below on the black terminal screen after waiting for a reboot.. I tried to find "forcepae" in the available options but couldn't. Can Anyone please help?

ERROR: PAE is disabled on this Pentium M
(PAE can potentially be enabled with Kernel parameter
"forcepae" - this is unsupported, may cause unknown
problems, and will taint the kernel)
This kernel requires the following features not present on the CPU:
pae
Unable to boot - please use a kernel appropriate for your CPU

Press tab when you see the Ubuntu loader, select your language, press F6 (for "Other Options") then add the word forcepae at the end ie. the whole boot options line will be:

file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash forcepae -- forcepae

Your CPU doesn't support PAE.

Ubuntu ships with PAE kernels by default.

You can still install Ubuntu using one of these options.


MRIcro not running on Ubuntu 14.04 LTS I did a normal installation of Ubuntu 14.04 LTS 64-bit last week, and then installed MRIcro

But it just cannot run, with the error

/usr/local/bin/mricro/mribin: symbol lookup error: /usr/local/bin/mricro/mribin: undefined symbol: initPAnsiStrings

My machine is 64-bit, but I'm not sure the author's instruction applies to my situation or not. I googled for a while but found very few related info.

I remember MRIcro runs smoothly on old Ubuntu, like 11? can't remember the exact version number.

Does anyone have similar problem? Thanks in advance.

I had to run the following to make it work:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 libx11-6:i386 libjpeg62:i386

Then  edit /usr/local/bin/startmricro64 to

export GCONV_PATH=/usr/lib32/gconv

and you should be able to run it by /usr/local/bin/startmricro64.

On 64bit systems, after you install libjpeg62:i386, you may have some other missing libraries.

in my case:
ldd mricro/libborqt-6.9-qt2.3.so
....
libSM.so.6 => not found
libICE.so.6 => not found
...

for these you need to install ia32-libs through:
sudo -i
cd /etc/apt/sources.list.d
echo "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe
multiverse" >ia32-libs-raring.list
apt-get update
apt-get install ia32-libs
sudo ldconfig


ubuntu 14.04 sound issue suddenly stopped working when I started my computer this morning my sound was not working i searched google and found the this topic (second answer)

sudo apt-get remove --purge alsa-base pulseaudio

sudo apt-get install alsa-base pulseaudio
And force reload Alsa again:

sudo alsa force-reload

I did that didn't work in fact I lost that setting panel from that left app tray.

I went on and found this and I tried the following command too

Step one: Reinstall alsa-utils

sudo apt-get install alsa-utils --reinstall

Step two: Download and install alsa-lib

Here is a link to version 1.0.25-4(the stable version)

Extract the archive and run the following code in the extracted directory

./configure && make

Then

sudo make install

that too but nothing is happening please help I need my computer in working order, please help

Regards

Muhammad

after the upgrade, in AlsaMixer my Automute was enabled, I've  disabled it and sound is back


How to boot from a flash drive? I've installed Ubuntu on a Surface (which no longer has windows). That was an accident. Now I am trying to reinstall Windows over Ubuntu. Eventually, I'd like to successfully dual-boot Windows and Ubuntu on this thing.

I have a bootable flash drive with Windows 7 on it, but how do I get GRUB to boot from it? I've searched for a while, but I only see "Create bootable flash drive!" instructions.

You wouldn't boot a live system from GRUB, but rather from the BIOS' boot device selection menu.

Microsoft gives an instruction on how to do this. It cuts down to these points:

Press and old the volume down button and press the Power button
Release the volume down button as the Surface logo shows up and it should automatically boot the USB stick.

Windows 7 will most likely not acknowledge the existence of any non-windows-supported file system, like EXT4, which is used for Ubuntu by default. So you may have to reinstall Ubuntu after that.

Most probably you will need to use GParted to create a partition for your Windows OS and set it as NTFS or FAT32 so Windows can recognize the partition where to install it.


bash: ./flash_tool: cannot execute binary file: Exec format error I try to run SP Flash Tool under Ubuntu MATE but after I chmod +x the executable file, I get this error:

bash: ./flash_tool: cannot execute binary file: Exec format error
bash: ./flash_tool.sh: Permission denied

Anyone have any idea why?

The Exec format error means you are using the wrong file for your computer.  Most likely you were trying to use the 64 bit version on a 32 bit Ubuntu.  You need to download the right one.

Type arch in a terminal to be sure which you should use.

If you get something like i386 as I suspect, download the "Linux 32 Bit version" under the heading "Direct links for SP Flash Tool Download" from http://spflashtool.com/

Currently, the supposed 32-bit version hosted there is in fact also 64-bit, and so no usable version is available for 32-bit Ubuntu.  You might be able to find a 32-bit one elsewhere, but be careful.  You cannot be certain any of these downloads (including the above link) are virus-free.

If you get x86_64 choose "Download SPFlashTool for Linux - 64 Bit Tool"

Run it as non root user. I'm on Kali Linux with root user by default and I was able to run the flash_tool using a non root user , through gksu:

<< gksu -u my_non_root_user ./flash_tool.sh >>

On Ubuntu it should work without sudo I suppose.

That works for me. I hope it may help!


How to enable hardware acceleration of video decoding in mplayer with Intel HD3000 on Vivid? There used to be a vaapi build of mplayer but it doesn't seem to be maintained any more and doesn't work in Vivid.

Default mplayer2 build from the repo uses 40% of CPU during 720p playback. Same as totem. VLC does have some hardware acceleration support and uses 13% but I liked mplayer's UI more and it used less than 5% with.

Is it currently possible to use mplayer with hardware acceleration on Intel integrated graphics?

OK, I found mpv (a fork of mplayer) which does everything I wanted and carried all the good UI qualities from mplayer2.

To enable vaapi support, run it with mpv --vo=opengl-hq --hwdec=vaapi file.mkv

or add

vo=opengl-hq
hwdec=vaapi

to  ~/.config/mpv/mpv.conf.

Previously the answer suggested using vo=vaapi and hwdec=vaapi but this is not a recommended setup anymore. See comments.

SNA is the best acceleration method. You should check your config file if you have one. Another way is to renice the process. For example:

ps ax|grep mplayer

find the given process and renice it

renice -20 43332

You can do it as root only (maybe it is possible with sudo: sudo renice -20 43332 ).


Unable to install mysql under Ubuntu 12.04 LTS Possible Duplicate:
  How to get MySQL back on Ubuntu 12.04?

i'm getting the following error when trying to install MySQL Server under Ubuntu:

Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.5; however:
 Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error    from         a previous failure.
                          Errors were encountered while processing:
 mysql-server-5.5
 mysql-server
 E: Sub-process /usr/bin/dpkg returned an error code (1)

I've tried all kinds of solutions I had found on the web, but none of them works: I've tried apt-get purge mysql-server* mysql-common, I've deleted all directories, I've tried installing by apt-get install -f mysql-server, I checked dpkg -S and also dpkg --configure mysql-server-5.5

More info:

Kernel : 3.0.8+
Ubuntu 12.04 LTS
Hardware : MK802 ( a chip ARM )
login as root with password

Try downloading the .deb file from launchpad and install it.


How to pair Wiimote in Ubuntu 15.10? there are other posts about the Wiimote pairing, but none of the answers helped me, most of them are form ubuntu 12.10 and ubuntu 10.04 soe they are pretty old.
the question is that Wiimote should be paired without any code, but the option to pair without entering a code is there any-more. is there a way to manually pair the wiimote without any GUI? maybe via config file or something like that?

Using the standard Ubuntu bluetooth GUI, the solution is not to use the 1+2 button method, but to use the sync button behind the wiimote, you can setup the wiimote without pairing, the wiimote will remain recognized but apparently unpaired (no lights in the wiimote), and then you can "activate" the wiimote from the GUI and press again the "sync" button, now it will remain paired (without inputting a pair-code) one of the single LEDs will remain on (it will not rumble though)

then with the "+" "-" buttons you can control the volume of Ubuntu, and with the dpad you can move the focus on whatever is selected according to the direction you press amongst other things, so the wiimote is active and working, now you're set! :)

apparently there is a secundary way of doing it:

http://wiibrew.org/wiki/Wiimote#Bluetooth_Pairing

I haven't testested it yet


Netflix on Firefox / Ubuntu 12.04 I am trying to watch Netflix on Firefox 50.0 on my Ubuntu 12.04. Netflix keeps asking for Silverlight and HTML 5. I tried to download Chrome but found out much to my dismay that Chrome installation package for 32 bit Ubuntu has been discontinued. My Ubuntu is a 32 bit. So what do I do now? Please please help.

You may try to install Chrome on Ubuntu, but, it is not advisable. If possible, upgrade to 64 bit Ubuntu. However, as an immediate solution to your problem will be installing Chromium. It is an open-source version of Chrome. In the terminal type:

sudo apt-get install chromium-browser

You can also install it through Ubuntu Software Center.

Many other browsers (like Opera) are based on Chromium. If your Netflix working has been stymied only by the lack of Chrome on the system, this should do the trick. I myself, am using Chromium as an alternative to Chrome for years.


Firefox cannot draw the new Google Maps Google released the new Google Maps.

Unfortunately, it doesn't work on Firefox 21.0 on Ubuntu 13.04.

When I open the page, Firefox just draws white grids on the screen.
Dragging or clicking the screen does not cause anything.
However, when the screen is resized, Firefox draws the current status of the map.

I tried opening it on the Safe Mode, but the result was the same.

Does anybody know how to work it on Firefox?

Note that it works flawlessly on Chrome.  In addition, it also works on Firefox on Windows 8, on the same machine.

My machine's graphics card is the following:

 $ lspci | grep VGA
 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)

I solved the problem.

Just open about:config and set webgl.force-enabled to true.

OpenGL seems to have been disabled somehow.

(June 2, 2013) Update:

The above answer no longer works for me. (Or that was my misunderstanding...)

Use Lite Mode instead.

I had the same problem with an NVidia graphics card. I installed the "nvidia(-313-updates)" driver instead of "nouveau". It's now working...


11.04 boot takes over 4 minutes I did a fresh install of Xubuntu 11.04 on a clean disk. CPU Athlon 64 X2 3600+, 1 GiB of RAM. The machine is about 5 years old and works like a charm normally.
Buuut: The normal boot takes about 4 minutes with XU 11.04, including a 3 minute pause time where the machine does nothing (see bootchart 1, kern.log (see lines around 742). If I add "noapic nolapic acpi=off" the boot time is reduced a lot, but there's still a pause of approximately half a minute (see second bootchart image in above link). I also tried disabling legacy USB support in BIOS (didn't change anything).

Especially since there's still a lot of pause in the second boot I'm wondering if there's anything else to help it.

Secondly the first bootchart is making me wonder how the times in there are given. It states the boot process finished after less than a minute which obviously is wrong if you look in the kern.log. Is there something that makes the system like completely frozen in that period of time where it does nothing so bootchart can't even account the time?

Regards,
Chris

Seems like blacklisting the sound module did the trick. Boots in about 30 seconds to desktop. Thanks a lot =) – Christian Aug 2 '11 at 18:20

Sounds like you have 64-bit XU 11.04 installed instead of 32-bit.

64-Bit over 4 Gig of RAM or more (which you do not have) and a 64-bit processor(which you do have )

Without having 4 Gigs of RAM or more your system will be extremely slow and sluggish.

32-Bit 4 or 3.512 Gig of RAM or Less (which you have 1 Gig of RAM) standard single core 32-Bit processor or better (which you have Athlon 64 X2 3600+ ) your 64-bit processor will clock down to 32-bit

With 32-bit XU 11.04 your system should run alot better if not then I recommend either downgrading to 10.10 or upgrading your video card (nvidia or ati  preferably)