Xubuntu 14.04 (and Mint 17.1) will not detect Canon scanner MP237 (MP230 series)

For anyone experiencing this or similar problem, here is what I got that helped solve my situation.  Here is what I got from the XSane developer(s) ...

  On Wednesday, 13 May, 2015 03:13 AM, Rolf Bensch wrote:
  Hi xxxxxxxx,

  For your scanner you need to install libsane >= 1.0.24 or MP230 series
  scangearmp from Canon.

  To upgrade libsane, you can add my ppa (in a terminal):
  $ sudo add-apt-repository ppa:rolfbensch/sane-git

  Hope this helps.

  Cheers,
  Rolf

I added to PPA for future updates/upgrades.  This cleared up my problem with both XSane and SimpleScan.

Good Luck.


Can I add a newer network manger to 18.04?

You have a problem that might require reinstalling Ubuntu. But, let's try this first...
sudo apt update # update the software databases
sudo apt upgrade # make sure all updates have been installed
sudo apt install --reinstall network-manager # reinstall NM
reboot # reboot the system


ubuntu 12.04 starts up in 40 seconds, 11.10 it was 16 seconds

Its still in beta and loads lots of debug stuff in background, would be correct to assess it when final version comes.


I am running 32 bit widows 7, which version of ubuntu do I need to install, 32 or 64 bit?

It depends on with Atom CPU you have. Some are 64 bit capable and some not. If your CPU number starts by Z then it's a 32 bits CPU, if it starts with N,D,S or a number then it's a 64 bits one.

Anyway, the safe option here is to install the 32 bit version. You only have 1 Gb of memory, so you are not really gaining a lot installing a 64 bit OS.


How do I set 14.04 to use two separate network?

Your file is a bit busy and misses some crucial details. I suggest that you try:

auto lo
iface lo inet loopback

# purpose of eth0 is private lan
auto eth0
iface eth0 inet static
address 192.168.2.44
netmask 255.255.255.0
gateway 192.168.2.1

# wlan2 or wlan0

# purpose of wlanx is internet access
auto wlan2
iface wlan2 inet static
address 192.168.1.44
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1 8.8.8.8
wpa-ssid your_network_name
wpa-psk your_secret_key

Then either reboot or:

sudo ifdown eth0 && sudo ifup eth0
sudo ifdown wlan2 && sudo ifup -v wlan2


What keyboard shortcut should be implemented for a search & replace dialog?

Microsoft uses Ctrl + H in WordPad and Microsoft Office.

Gnome recommends Ctrl + H.

KDE recommends Ctrl + R :-(

It looks like Mac & LibreOffice use Ctrl + F since their normal search can replace too.

See also Wikipedia.

Therefore, it is a bug for any non-KDE app to use something other than Ctrl + H for Replace, except when Replace is not separate than Find.


No, you can't have wildcards in /etc/hosts.

One easy way to set this up where you can have wildcards is to install a local Squid proxy, and then use squid ACLs to ban access to *.facebook.com, askubuntu.com, etc.  You can make these ACLs active only for particular times of the week.  Then you just need enough selfcontrol not to turn off your browser's proxy settings.


"Authentication is required to update SMART data from" in 16.04

It's caused by lm-sensors.
Click on the thermometer indicator (which is lm-sensors) -> Preferences -> Providers.
Then untick 'Enable support of udisks2'. That seems to make it go away. (Source)


Have you modified the settings to pass through USB devices to guests on an Windows host in VirtualBox?

A note of caution: USB support is only available in the closed-source edition of VirtualBox.

On youtube a person managed to get it working by editing the registry a bit. It's a little bit of a cumbersome process but it's reported to work.

See below video:
https://www.youtube.com/watch?v=WDAxrVzBTmM


How do I make a Lenovo (ALPS?) touchpad faster than system allows?

you can use this command:

  xset m 50 1

Where m stands for setting the mouse and the first integer represents the acceleration  and the second represents the threshold.
check this answer for more information.


Is it possible to customise the search engine buttons in GNOME Shell?

Gnome-Shell search providers are described by XML files in the folder /usr/share/gnome-shell/search_providers

You will notice two XML files - google.xml and wikipedia.xml

Lets create a new search provider - copy the google.xml file as a template

11.10

sudo cp /usr/share/gnome-shell/search_providers/google.xml /usr/share/gnome-shell/search_providers/duckduckgo.xml

12.04

sudo cp /usr/share/gnome-shell/open-search-providers/google.xml /usr/share/gnome-shell/open-search-providers/duckduckgo.xml

Now lets open the file and change some details to search with duckduckgo:

11.10

sudo nano /usr/share/gnome-shell/search_providers/duckduckgo.xml

12.04

sudo nano /usr/share/gnome-shell/open-search-providers/duckduckgo.xml

Change the following XML tags:

<ShortName>DuckDuckGo</ShortName>
<Description>DuckDuckGo Search</Description>
<Url type="text/html" method="GET" template="http://www.duckduckgo.com/?q={searchTerms}"/>

The only difficult part is finding out how a search engine searches - in duckduckgo I searched for something - you see in the title bar how the search provider adds its search terms

final result

In order to see the changes, you need to restart GNOME Shell by pressing Alt+F2, typing "r" and pressing enter.

Linked Questions:

Is it possible to re-arrange the search providers on the GNOME Shell Activities Overview display?


"Unmet dependencies" when installing SQLite driver in PHP7 on 16.04

There are few ways i'll tell you two

You first need to install this and run the commands through Terminal, and if it still didn't work then try these steps :

open up Terminal by searching it up or just pressing

CTRL+ALT+T

first do

sudo apt-get -f install

then

sudo dpkg --configure -a

and run this again

sudo apt-get -f install

if you get this :

0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

then it didn't work then you try this second method

sudo apt-get -u dist-upgrade

If it shows any held packages, it is best to eliminate them. Packages are held because of dependency conflicts that apt cannot resolve. Try this command to find and repair the conflicts:

sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade

then it should look like this

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

if your still getting errors try :

make sure they are all ticked


You have to put the volume in the /etc/fstab,
see https://help.ubuntu.com/community/AutomaticallyMountPartitions


Alsaequal does not affect my sound - Lubuntu 14.04

try this sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio  pulseaudio-utils
after that restart the computer and test it out
It worked for me!


Well, user tana is not member of group pravdomil. With chown pravdomil:pravdomil you set user pravdomil and group pravdomil as owner of /home/test.txt.

Try with chown pravdomil:www-data /home/test.txt.


The pcmanfm-qt is dead on my Lubuntu 20.04

pcmanfm-qt does handle the background & much of the window for LXQt...

As you suggested it's the wallpaper change, change your wallpaper by editing

~/.config/pcmanfm-qt/lxqt/settings.conf

to point to a different file (change the Wallpaper= line)


Ubuntu hangs on Freeing SMP alternatives memory

Remove your PC battery and PC AC cable for few moments (10 minutes) and restart your PC after putting the battery or your AC. Your pc will boot completly. Try... It work for me


Surface Arc Touch Mouse not working with Ubuntu 15.04

I've finally been able to solve this issue.

Grab the bluez packages named 5.23-1ubuntu1~mtrudel1 and indicator-bluetooth from the following PPA.
You need to modify the bluez package and remove the dependencies init-system-helpers and lsb-base, otherwise you're going to have some dependency issues when you perform a system update.
Manually install that modified package and the indicator-bluetooth.
Download and install the 2.0.1 version of blueman from here.
Reboot and you should see the new bluetooth indicator icon in the panel. Open it up and setup your Arc Touch mouse. It should pair and connect without any problem.

To solve some auto reconnect issues I was having, I had to install the 14.04.3 LTS point release that just came out.


To know whether they work weh would have to try it. You'll have to try yourself by booting Ubuntu from DVD or USB stick and see whether these devices work properly.

If they don't, you may likely find drivers on the manufacturer's website.


How to install mullvad VPN using terminal on ubuntu 20.04

Download the latest version of mullvad VPN:
Open a terminal and run:
cd ~/Downloads
wget https://mullvad.net/media/app/MullvadVPN-2020.6_amd64.deb

Install it:
sudo dpkg -i MullvadVPN-2020.6_amd64.deb


Is downloading a pdf from google drive resource intensive? (firefox)

That tracker-miner-fs is a background process that indexes documents on the off-chance that you might want to use a full text search on them some day.
I personally resent the very thought of that, and I believe that Linux desktop development has taken a wrong turn when they introduced that kind of thing: When I want to do a full text search in a lot of documents, I am prepared to wait for a moment, even a minute or two. But I am not prepared to let my system get bogged down every time I handle documents, such as you did: Downloading a lot of them.
I try my best to keep my system clean of such software, but that is getting increasingly harder as pretty much all desktops come with something like that preinstalled, and it's not that easy to get rid of them.
See also here:

How to uninstall all trackers (tracker-miner: fs, apps)
https://www.linuxuprising.com/2019/07/how-to-completely-disable-tracker.html
tracker-store and tracker-miner-fs eating up my CPU on every startup


I had the same issue on my MacBook4,1 and the following worked for me (using an older distro):
I added a file at /usr/share/X11/xorg.conf.d/10-synaptics.conf with the following:

# See: http://manpages.ubuntu.com/manpages/lucid/man4/synaptics.4.html
# For current settings: `xinput list-props bcm5974`
Section "InputClass"
    Identifier "touchpad catchall"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "synaptics"
    Option "FingerHigh" "10"
    Option "PalmDetect" "on"
    Option "LockedDrags" "on"
    Option "JumpyCursorThreshold" "90"
EndSection

However, in the newest updates of the distro I use (Linux Mint Debian), that file no longer was being picked up at startup for some reason. I edited the existing synaptics.conf file at /usr/share/X11/xorg.conf.d/50-synaptics.conf (even though the file clearly says not to ;)

Just edit the section that starts with Section "InputClass" to something like this:

Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
    Option "FingerLow" "2"
    Option "FingerHigh" "4"
    Option "PalmDetect" "on"
    Option "LockedDrags" "on"
    Option "JumpyCursorThreshold" "90"
    # This option is recommend on all Linux systems using evdev, but cannot be
    # enabled by default. See the following link for details:
    # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
    # MatchDevicePath "/dev/input/event*"
EndSection

Those settings aren't perfect, but work much better.

Note: If all else fails, you can try looking at synclient from the command line and running it with synclient FingerHigh=5 && synclient FingerLow=3 or something similar at startup.


Every script is executed in its own subshell, that is a separate
process that cannot modify its parent working directory.  The only
way to change a working directory using a script written to a file is
sourcing it using . or source (they are equivalent) like this:

$ . cd-backward

or

$ source cd-backward

Note that in such case you don't even need shebang (#!/bin/bash) at the top of your script.


Ubuntu 18.04 from VirtualBox sometimes has small window

In VirtualBox --> Ubuntu 18.04 --> Settings --> Display --> Graphics Controller is set as default VMSVGA, change it to VBoxSVGA


How do I tell Unity to mirror my display, using the command line?

The option with xrandr for mirroring displays is --same-as. What you will need to configure as well is the resolutions. I have a laptop and a VGA external monitor. Doing xrandr --output VGA-0 --same-as LVDS mirrored the displays, but because VGA output is larger in resolution than laptop screen , the laptop screen got stretched too much. In other words, you may need to configure them to match in resolution. For instance, this answer on unix.stackexchange.com shows example:

xrandr --output HDMI1 --mode 1920x1080 --output LSVD1 --mode 1600x900 --same-as HDMI1


Google translate says it's french for "Error: MultiSystem does not accept spaces in disk labels".

So reformat again with a different name without spaces.


Ubuntu 18.10 does not seem to find my MX150

Have you tried installing nvidia-driver-430 driver from Graphic Drivers PPA? You can then switch between Intel graphic card or MX 150 using Nvidia X Server Settings.

These commands may be helpful:

$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt update
$ sudo apt install nvidia-driver-430 nvidia-settings nvidia-prime

You can then run NVIDIA X Server Settings to switch between Inter or Nvidia graphic cards.

PS: I use Ubuntu 18.04.3 on my Acer Swift 3 with MX 250 (the same model with yours, but with higher graphic card), and I can switch between my MX 250 or Intel graphic card.


While installing Ubuntu 20.04 on my device i had the same Firefox issue, a reboot fixed that.
For the issue with the sound refer to this page if its only broken with Bluetooth devices.


How can I specify a more appropriate font substitution?

Create a rule in your .fonts.conf file. If it's not in your home folder, create it. Here's a full example of a .fonts.conf file:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

  <match target="pattern">
    <test name="family" qual="any" >
      <string>TimesNRMT</string>
    </test>
    <edit name="family" mode="assign" binding="same">
      <string>Times New Roman</string>
    </edit>
  </match>

</fontconfig>

If you already have the file, just paste in the part enclosed by the match tags.

If you're using Font Manager the file is in a different place(~/.config/font-manager/local.conf).


Can I re-download the Adobe Flashplugin 11 installer (Update Manager)?

You could try to uninstall it and reinstall, either in Software Center or by command line:

sudo apt-get remove  flashplugin-installer
sudo apt-get install flashplugin-installer


adobe-flashplugin provides out of date Flash

Did some research, and found an issue with the adobe-flashplugin package. Reported as bug #1767476.

Since you are using Firefox, I would recommend these steps for now:

Uninstall the Flash related packages you may have installed:

sudo apt purge adobe-flashplugin browser-plugin-freshplayer-pepperflash

Install the flashplugin-installer package:

sudo apt install flashplugin-installer

Restart your web browser.

Edit 2018-04-28:

The bug seems to have been fixed, so this page ought to apply as usual again.


How can I submit an App to MyApps that is already in a PPA?

It is great you already have your App in Launchpad, this makes lots of things easier.

We do require an upload, however if you want to submit via a ppa just upload a  text file that with a http reference to the ppa). The reviewer will see it (and see your feedback) and review the details in the ppa. We do plan to add the ability to simply reference a launchpad ppa in the future.

Second is your App Open Source software and have you read the publishing guidelines for the Open Source review process by the App Review Board (ARB)
https://wiki.ubuntu.com/AppReviewBoard


IRQ Conflicts Causing Video Card and Boot Problems?

You likely need to fix the IRQ assignments in your BIOS settings.  If at all possible, set it to "automatic", since you shouldn't have to manually set them on hardware made this millenium.

Here's a screenshot from a different Dell machine:

http://en.community.dell.com/techcenter/extras/w/wiki/bios-irq-screen-shot.aspx


The answer was Here

Issue the command virsh edit testmachine to open the XML, where testmachine is your machine name seen in virt-manager, and added the following lines to the <devices> section:

<controller type='usb' index='0' model='ich9-ehci1'>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
  <master startport='0'/>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
</controller>


I has never been like that - usually only one Python version is preinstalled, or maybe one Python 2 and one Python 3 version.

Have you activated deadsnakes ppa by any chance? There you'd get all these mentioned versions - and Python 3.9, too.

I would strongly discourage you from deinstalling Python versions you seemingly do not need, as the Ubuntu Os could rely on them, e.g. you terminal, the apt command and many more need Python to work properly.


install monodevelop-database (4.0.12+dfsg-1) from GIT repository

It seems you don't have the mono-addins package from this line: No package 'mono-addins' found

Install it using this command in the terminal and then try again:

sudo apt-get install mono-addins


Deleted Myself from Admin Group - Now Getting Error usermod: cannot lock /etc/passwd; try again later

I finally figured out why I was receiving the "usermod: cannot lock /etc/passwd; try again later" error message. The root cause of the issue had to do with the fact that when I booted into Recovery Mode, by default the filesystem was mounted as read-only. Because the filesystem was mounted as read-only, the adduser and usermod commands were not able to perform their functions and produced the error message.

What got me thinking the issue was not a file corruption or *.lock related issue was that there were no passwd.lock, group.lock, or shadow.lock files in the /etc folder. Also, I got a different error message when I tried to copy, rename or delete the .pwd.lock file that was in the /etc folder when I was booted into the Root Session in Recovery Mode. I got a different error message, something like unable to rename file read-only. I did some web searching on "Recover Mode Read Only" and came across the following post: http://www.linuxquestions.org/questions/linux-general-1/cannot-edit-fstab-in-recovery-mode-filesystem-is-read-only-540195/.

The post talks about the Recovery Mode being in read-only mode by default. It suggested remounting as read-write to allow changes to be made to files in the /etc folder. So here's what I did to resolve the issue:

Shutdown the computer
Boot into Recovery Mode
--After BIOS load, hold down Shift key to access the grub menu
--Once in grub menu, select the entry ending in "(recovery mode)"
From the next menu selected option to enter Root Session
At the root session, execute the following command to remount the filesystem as read-write :

mount -o remount,rw /

Execute adduser command to add my userid back to the admin group. Command executed "adduser username admin" where I replaced username with my actual system username. This time I did not receive an error executing the command since the filesystem was mounted as read-write.
Exit Root Session, exit recovery mode, and rebooted.

Once rebooted into Ubuntu, I could see that my userid was now listed as being a member of the admin group, by executing "Groups" command from the normal terminal session. I also verified the same in the GUI by going to "User Accounts" in the Ubuntu System Settings menu. There my userID was also listed as an "Administrator".

I went further to try to replicate my original issue to see if rebooting back to Recovery Mode and skipping Step #4 above (to remount the filesystem as read-write) would reproduce the "unable to lock /etc/passwd" error, and it did. The root cause of the issue had to do with how the filesystem was mounted in Recovery Mode.

It seems odd to me as a new user that booting into Recovery Mode would be read-only by default. Isn't that the idea of recovery, that you would need to make some changes to correct update files, correct issues that would otherwise not be possible as a normal user?

Anyway, I'm just happy to now have at least one user on the computer with Administrator access. Thanks again to all who responded to my issue.


MySQL dump script runs manually but not via cron

set Path for mysqldump in bash or shell script like whereis mysqldump and add full path in scrip

/usr/bin/mysqldump -u root -p database > /backuppath/mysqldumpdate.sql


For newer versions of Ubuntu, Xmodmap works but after you reboot, you lose your keymappings! Instead what I did was to edit the xbd file (/usr/share/X11/xkb/symbols/pc).

In this case you would add the following entries:

key <FK09> { [Print] };
key <FK10> { [Scroll_Lock] };

Then clear the xkb settings cache:

rm -rf /var/lib/xkb/*

After a reboot your keys are mapped corectly. If you need more help with this see my post on remapping keys in Ubuntu 15.04


do-release-upgrade eats precious disk space on the VPS

I have used du -m --max-depth=1 to find directories that got bloated during an upgrade from 10.04 to 12.04.

My findings:

/var/cache/apt/archives/ - 200M
/var/lib/apt/lists/ - 78M
/var/cache/apt-xapian-index - 78M
/var/cache/apt/*.bin - 40M

You can safely clean up /var/cache/apt/archives/ using rm /var/cache/apt/archives/*.deb. I'm not sure how you can safely clean up the other directories.


Running XScreenSaver on ubuntu 18.04, how can I return to user login lockscreen instead of XScreenSaver lockscreen (so we can switch users)?

The XScreenSaver locks the screen inside your user session, in which you logged in.
So there is no chance to get out of your X-Session from the XScreensaver.
When you log out, a "GDM" (Graphical Display Manager) takes over and resets the X-Session.
You could start more than one X-Session, but changing to another from within the XScreensaver will not be possible.
You might look at this question how to change between 2 opened X-Sessions.


Want to view contents of boot/efi in Xubuntu - don't have permissions

I'd like to collect some information from the comments, and add more information, in a formal answer:

rEFInd's main configuration file is refind.conf. It exists in the same directory as the rEFInd EFI binary, which is normally refind_x64.efi (or variants for non-AMD64 architectures; or bootx64.efi or variants if it's installed using the fallback filename). This configuration file will normally be /boot/efi/EFI/refind/refind.conf, or sometimes /boot/efi/EFI/BOOT/refind.conf, from Ubuntu.
In Ubuntu, the default location for rEFInd is /boot/efi/EFI/refind; however, /boot/efi/EFI/BOOT is the fallback location, which is used when installing rEFInd to a USB flash drive, if the installation script runs in BIOS mode, or if mvrefind is used to move rEFInd to the fallback filename. The fallback filename is used if the EFI's NVRAM-based variables don't exist or if they all point to non-existent boot loaders or boot loaders that fail. In theory, rEFInd can be installed anywhere on the ESP, so it could exist in other oddball locations.
Because the EFI System Partition (ESP) can be mounted at different locations in different OSes, the rEFInd documentation generally refers to files without specifying a mount point. In this context, rEFInd is installed in EFI/refind or EFI/BOOT; you'd add the standard Ubuntu ESP mount point of /boot/efi/ to the start of these values to get /boot/efi/EFI/refind or /boot/efi/EFI/BOOT.
The rEFInd binary and configuration file are stored on the ESP, which is a FAT partition. FAT does not support Unix-style ownership or permissions, but because Linux requires these features, they're faked in a crude way by mount options, which are typically specified in /etc/fstab. See this question and its answers for an introduction to how this is done.
FAT is a case-insensitive filesystem. Since the ESP is mounted at /boot/efi, that means that any directory or filename component after that point is case-insensitive. Thus, /boot/efi/EFI/refind is equivalent to /boot/efi/efi/rEFInd; but these two are not equivalent to /boot/EFI/EFI/refind, since /boot/efi is normally on a Linux-native filesystem like ext4fs, and Linux-native filesystems are case-sensitive.
The green text in ls listings identifies executable files. Files on an ESP are not normally executable in Linux, although rEFInd and other EFI binaries are executable in EFI. Ubuntu mounts the ESP in such a way that all files appear to be executable. I suspect that's because the executable bit does double duty as a way to identify directories that can be searched/entered, so it's required to make directories useful. The easy thing to do is to ignore this. If you're annoyed by it, you can edit the mount options in /etc/fstab, using separate dmask and fmask options, which set directory and file permissions separately, rather than a single umask option, that applies to both directories and files.
See this question and its answers for more on color coding in ls listings. Note that you can get more detailed information on individual files' permissions and ownership by doing long listings, as in ls -l ~/foo; however, on a FAT partition, all files will have identical ownership, and permissions will be identical with the possible exception of write permission being denied on some files. (Directories might or might not have identical permissions, depending on the mount options.)
Recent versions of Ubuntu have set rather restrictive permissions on access to the ESP because it's such a critical partition; an ordinary user should not be able to modify its contents because the boot loaders it contains are required to boot the OS. Indeed, there's little reason for ordinary users to even see what's on that partition, and knowing settings in files like refind.conf could conceivably be a security threat, particularly on a multi-user computer. To access this partition, you can use sudo, as in sudo ls /boot/efi/EFI/refind. If you're not so concerned with security, you can edit /etc/fstab to give yourself greater access to the partition; but even then, I strongly recommend against giving universal read/write access to it. The risk of accidentally trashing a directory is too great.
If you do change mount options in /etc/fstab, you can unmount the ESP (with sudo umount /boot/efi), make the changes, and then re-mount the ESP (with sudo mount -a).


Cannot access my second internal HDD 1TB on latest Ubuntu

Since this is an internal HDD, we can add an entry to /etc/fstab to make Ubuntu mount it on boot every time. First, pick a directory you want to mount it on (like /home/marius/internal, where marius is your username. Make sure the directory exists (make a new one if you need to). Then, do:

cat <<EOF | sudo tee -a /etc/fstab
/dev/sdb1 /home/marius/internal ntfs-3g rw,exec,uid=$(id -u),gid=$(id -u),umask=022 0 0
EOF

This will add an entry to /etc/fstab giving you proper read/write permissions.
Then, do:

sudo umount /dev/sdb1
sudo mount /dev/sdb1

The first command will undo the previous mount, then the second will mount it with the new settings.

If it is a new hard disk, you can format it afresh, and start using it. Open the Disks program, select your new hard disk from the right hand pane, click on the gear icon in the top right corner, and choose Format.

Use the default option (both GPT and MBR work fine). Once it creates a new partition table, click on the +, choose a size. For the type, if you wish to use it on Windows as well, select "Compatible with most systems (NTFS)" instead of the default (ext4).  Give a nice label. Click on the play icon to mount it. (Or on the corresponding icon in the file browser.)

I'm sorry I can't give you more information about the hidden RAID part.


Biting the bullet and revising only the fglrx-core package, simple compared to wine, really looks less hazardous, and easier, than somewhat corrupting the package manager data to be able to still install other packages.

1) Have wine installed without fglrx.

2) From a directory with the package,

fglrx-updates-core_14.201-0ubuntu2_amd64.deb

make a place to unpack the package,

mkdir abc

3) Unpack the package with two commands,

dpkg -x fglrx-updates-core_14.201-0ubuntu2_amd64.deb abc

dpkg --control fglrx-updates-core_14.201-0ubuntu2_amd64.deb abc/DEBIAN

4) edit the text file "control" that has the dependencies,

gedit abc/DEBIAN/control

This is what "control" looks like changed:

Package: fglrx-updates-core
Source: fglrx-installer-updates
Version: 2:14.201-0ubuntu2.1
Architecture: amd64
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Installed-Size: 121292
Depends: libc6 (>= 2.3.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), lib32gcc1, libc6-i386, dkms, make, linux-libc-dev
Conflicts: fglrx-driver-core
Replaces: fglrx-driver-core, libopencl1
Provides: fglrx-driver-core
Section: restricted/misc
Priority: extra
Homepage: http://support.amd.com
Description: Minimal video driver for the AMD graphics accelerators
 Minimal video driver for the AMD Radeon and FireGL graphics accelerators.
 .
 This package provides 2D display drivers.

Only Version, Conflicts and Provides are changed. Leaving the version unchanged is OK, but then the package manager will say the original file in the repo is an update, something you want to be sure NOT to do.

Save, and exit gedit.

5) put the results back into a package of some different name,

dpkg -b abc fglrx-updates-core_14.201-0ubuntu2_amd64-hey.deb

Actually you could use the same name, but don't confuse yourself.

6) install,

sudo dpkg -i fglrx-updates-core_14.201-0ubuntu2_amd64-hey.deb

7)Then,

sudo apt-get install fglrx-updates

8) Thank the people who posted.

Thanks so much to the people that posted here who figured out what the problem was. My Utopic works perfectly, including the package managers. The Utopic upgrade was black-screening with the "open" drivers, so I went back to my usual fglrx (originally giving up wine.) The Ubuntu people who do the fixing have said that, due to predetermined procedure, the easy fix, already done, cannot be in repos until after April of 2015, if at all, because the "wine" conflict is caused by the not-Ubuntu-supported "universe" repo. I would upload the entire changed file if I knew a place to do so.


Installing updated BIOS for Dell 530s, keep getting "insufficient memory" error?

Try this when you have installed the 2 GB RAM.  If the problem persists at that point, please revisit this post with an update.


Logins Getting Stuck on Wallpaper After Ubuntu 14.04 Base and Security Update (but not when logging in as Guest)

nautilus --force-desktop &

Found something that says by running the above line will get you wallkpaper back.  Also, possibly gnome-tweak-tool will also fix the issue


How to supress 0 deletion in bash script arithmetic operations?

Add the zeros when you print it.

#!/usr/bin/env bash
s=0
until ((++s == 60 )); do
    printf '%02d\n' "$s"
done

Numbers with leading zeros will be treated as octal, so values like 08 and 09 will fail. Therefore it's best to operate on the numbers without the leading zeros and only add the leading zeros when you need to print it.

Also see http://mywiki.wooledge.org/BashFAQ/018


Gpodder not downloading TED Talks subtitles

Looks like TED Talks subtitles downloader is currently broken, here what I get in terminal:

1399579128.331572 [gpodder.download] INFO: Download was redirected (http://video.ted.com/talk/podcast/2014/None/TEDMusical_2014-480p.mp4). New filename: TEDMusical_2014-480p.mp4
1399579128.336851 [ted_subtitles] INFO: subtitle url: http://www.ted.com/talks/subtitles/id/1962/lang/eng
1399579128.996226 [gpodder.gtkui.main] INFO: All tasks have finished.
1399579129.035496 [gpodder.gtkui.main] INFO: All tasks have finished.
1399579129.099886 [ted_subtitles] INFO: episode url: http://feedproxy.google.com/~r/TedtalksHD/~3/DKXNGZwfYwo/daffodil_hudson_is_this_the_cure_for_stage_fright
1399579130.692832 [gpodder.extensions] ERROR: Error in /usr/share/gpodder/extensions/ted_subtitles.py in on_episode_downloaded: list index out of range
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/gpodder/extensions.py", line 83, in handler
    cb_res = callback(*args, **kwargs)
  File "/usr/share/gpodder/extensions/ted_subtitles.py", line 92, in on_episode_downloaded
    intro = episode_data.split('introDuration%22%3A')[1] \
IndexError: list index out of range

But it's Python and can be easily fixed!

As I see, TED description page format changed.

To fix it:

replace 'introDuration%22%3A' with 'introDuration":' and
replace '%2C' with ','

in /usr/share/gpodder/extensions/ted_subtitles.py.

I.e. starting from line 89 this code:

    INTRO_DEFAULT = 15
    try:
        # intro in the data could be 15 or 15.33
        intro = episode_data.split('introDuration%22%3A')[1] \
                            .split('%2C')[0] or INTRO_DEFAULT

should became:

    INTRO_DEFAULT = 15
    try:
        # intro in the data could be 15 or 15.33
        intro = episode_data.split('introDuration":')[1] \
                            .split(',')[0] or INTRO_DEFAULT

After this subtitles should be downloaded in the same directory with downloaded video (under same as video with but with .srt extension).

Tested on Ubuntu 14.04 with gPodder 3.5.2.

EDIT: I made pull request to gPodder with fix: https://github.com/gpodder/gpodder/pull/121


If you mean by that you can type symbols and you can't type letters as it is on the onboard, it looks like your language packs are installed with missing libraries.

to fix this:

go to system settings.language support
click on install/remove languages (a list if installed languages will pop-up)
see if the language you are using is checked or not (if not)...
check it and the system will starting updating the language pack.
wait until the update finish and click apply system-wide.

Try to run onboard and ckeck if it is now working.


Have you tried Ubuntu 12.04 LTS release to see if that works ok on your system ?  12.10 is an incremental build but if you want 5 years support and stability then stick with 12.04...

Note: To speed up your desktop you could install the propriatary driver if you are using Nvidia or Ati graphics which would help...


I know you (Kit Sunde) don't need all this, but for everyone else..

This assumes you have CompizConfig Setting Manager (compizconfig-settings-manager) installed.

Go to System -> Preferences -> CompizConfig Settings Manager if running classic Gnome, or search for CompizConfig Settings Manager in the Dash if running Unity.
Find the Resize Window plugin; it's under Window Management. Open it and go to the General tab. The top setting is Default Resize Mode.

Normal resizes the windows content on-the-fly.
Outline doesn't change the window until you release it. It shows an empty rectangle to indicate the size the window will be.
Rectangle is the same as Outline, except the rectangle is filled in.
Stretch doesn't resize the window on-the-fly, but instead stretches the window content as if you were stretching a video.

In all cases, the window content should continue to change as appropriate, e.g. a video will continue playing.


glob expansion suddenly not working properly in loops

If you need sudo to remove anything in this directory, you most certainly don’t have read permissions either, which prevents bash from performing the glob expansion – run your loop in a root shell instead:

sudo bash -c 'for i in *; do rm "$i"; done'


mysql cron job - Email only when restarted

There are a couple of issue in your if statement.
The! at the beginning of condition test means that you're looking for whether the expression "$(/usr/sbin/service mysql status)" is false, which is not what you want to achieve. You want to check that the outcome of service status command is not a string that contains 'start/waiting'. != is the best way to say not equal to.

Also, the =~ is expecting a regular expression, where you're just supplying a part of the string that you expect to see. As the double bracket syntax of if statements supports shell globbing, you can search for the 'start/waiting' with *start/waiting*.

If you change the line:

if [[ ! "$(/usr/sbin/service mysql status)" =~ "start/running" ]]

To:

if [[ "$(/usr/sbin/service mysql status)" != *start/running* ]]

Your script should work properly, otherwise, I think you're restarting the service, and emailing, every time the script runs.

EDIT:

The following is not an ideal solution, I'm just posting it to try to help with the current situation you're facing.

To try to cope with output from systemd-sysv-generator you could try replacing the first line of the if statement with:

if [[ "$(/usr/sbin/service mysql status)" = *inactive* ]]


"Unsafe permissions on configuration file `/home/david/.gnupg/gpg.conf" What does it mean and how to fix?

gpg: WARNING: unsafe permissions on configuration file /home/david/.gnupg/gpg.conf'
  gpg: WARNING: unsafe enclosing directory permissions on configuration file/home/david/.gnupg/gpg.conf'
  gpg: external program calls are disabled due to unsafe options file permissions

This means that your ~/.gnupg/gpg.conf has unexpected permissions for the user you are running as, like write access to "others", another user or the executable bit. This file should always for security reasons only be readable and writable by the user, and no one else:

$ ls -l ~/.gnupg/gpg.conf
-rw------- 1 braiam braiam 7890 Jul  8 18:51 .gnupg/gpg.conf

Yours probably has different user or permissions. Check them out using ls -l ~/.gnupg/gpg.conf. To fix this is simple enough:

chown $(whoami):$(whoami) ~/.gnupg/gpg.conf ## if this fails read at the bottom
chmod 600 ~/.gnupg/gpg.conf

If some of the commands fails, or you keep getting the error message you mentioned after following these instructions, you should delete the ~/.gnupg directory, because it cannot be trusted anymore.

rm -r ~/.gnupg/gpg.conf ## If this fails, use sudo

You can then try to run gpg command with the same user that is going to run the script, this way your user with create ~/.gnupg directory with appropriate permissions.


Is there a way to have an extended Desktop in Ubuntu a la Windows?

I have this setting as default. I have two monitors and they make just one desktop. I can move windows from one to another moving then from bottom to top, and I can even manually stretch a window to use both monitors.

I used the monitor app in the preferences menu to set it up. I expect all the cards that support xrandr work the same.

So the answer is usually yes, at least with most cards.

BTW mine is an Intel.


You could try I/O on /dev/lp* or /dev/port (as mentioned here & here) using scripts though I have no idea if I/O redirection to those from bash scripts or using something like 'dd' will work as expected.
Use

~# echo -e '\x4' | dd of=/dev/port seek=1 oflag=seek_bytes


Can't reset title bar right-click behavior in Unity, Ubuntu 12.10

I don't know about 12.10, but maybe it's the same as 13.04 ? In 13.04, the schema is :

 org/gnome/desktop/wm/preferences : action-right-click-titlebar

You can check the value with:

gsettings get org.gnome.desktop.wm.preferences action-right-click-titlebar

If it's not 'menu', you can set it with:

gsettings set org.gnome.desktop.wm.preferences action-right-click-titlebar menu


Wubi.exe doesn't install ubuntu on windows 7 64 bits

You're running version 266 of wubi.exe - the original 12.04 version.

This will not work anymore. You need the one for 12.04.2 (version 273). You can get it here: http://www.ubuntu.com/download/desktop/windows-installer


Can an NVM device attached via USB adapter be forced to be /dev/nvm* instead of /dev/sd*?

Use it as intended a nvme drive and you will have access to it as one, as a USB device it is always going to be a /dev/sd?  device. That is how that protocol works for all them devices by faking its true identity to the system giving it that interface to work with for access.


Internet isn't working on Ubuntu 14.04 running as VirtualBox guest OS

This is how I fixed it.

On Windows 8, go to Network and Sharing Center → Virtual Host-Only Network → Properties and tick the VirtualBox Bridged Networking Driver option. Then click on the Ok button.
On VirtualBox, go to the Devices menu → Network → Network Settings.... In the Adapter 1 tab, select NAT from the Attached to drop-down menu.

That's it. Internet is working perfectly now on my guest OS.


How to put "sudo apt upgrade" on terminal background

You can always use -y flag to avoid this.

sudo apt upgrade -y


I had this problem before too. this will disable Energy Star (DPMS) features:

DISPLAY=:0 xset dpms force off

for more info ...

man xset


How can i remove Ubuntu 12.04 completly from my System?

In XP setup, delete the existing ubuntu partition by pressing d and then create new partition.

Be careful while deleting. Take a backup of data if possible.


Tool to convert a sequence of numbered PNG files to an animated GIF?

Yes, using imagemagicks convert tool:

convert   -delay 20   -loop 0   frame*.png   animated.gif

This will take all of the source frames and will make them into one animated GIF image.  The -delay 20 argument will cause a 20 hundredths of a second delay between each frame, and the -loop 0 will cause the gif to loop over and over again.

As for setting the background color for the gif, that can be done with the background and flatten flags:

convert -delay 20 -loop 0 frame*.png -background white -flatten animated.gif


How to generate a list of categorized list of applications?

You can use an application that gives you all your apps in categorized. The app is called alacarte. Install it:

sudo apt-get install alacarte

You can find it from dash searching for "main menu" or "alacarte".


Maybe You removed it by mistake reinstall it

open terminal :

sudo apt-get update

sudo apt-get install software-center


How to run an Application as another user?

xhost +SI:localuser:uname
gksudo -u uname -l "firefox"
xhost -SI:localuser:uname

Where uname = the name of impersonated user. Seen there:
http://ubuntuforums.org/showthread.php?p=10399617

Works on my maverick box, there's no sound in the forked skype and ~/.profile.d is not executed as it might.


Applications lose link to dock in ubuntu 20.04

Not only is your application not available on the dock, it is also not listed in the Alt+Tab switcher. Indeed, going to the overview is the only way to get to the application.
This is likely due to the Startupnotify system. When this is set for an application, it indicates to the desktop that the applications will notify the shell when it is ready. This allows the shell to provide some feedback while the application is still loading.
That does not work always well on Gnome Shell. Sometimes, it cause an application's icon not to appear or to appear only after maybe 30 seconds or more.
To get rid of the issue, turn StartuNotify off in the .desktop launcher of the program. Create your own copy of the system wide .desktop file in ~/.local/share/applications. Edit that copy to set StartupNotify to false, as: StartupNotify=false. That copy will override the system wide launcher.
For applications that are installed through the regular APT system, the system wide launchers are under /usr/share/applications. These from applications installed through snap are under /var/lib/snapd/desktop/applications/.


Remove or cancel OneDrive-d afther starting ubuntu 14

Run the uninstall script.

Should be ...

./inst reinstall

from the directory where you installed it.

  how can I stop the automatic running afther reboot

That will happen automatically after uninstalling it.

Normally I would look in /etc/init.d and check the startup scripts. The daemon is called onedrive-d so it might be there and you can use service onedrive-d stop. That would be the Ubuntu way.

But chances are, if you followed the instructions, that you added onedrive-d to your start-up applications. Remove it from there.


Ubuntu grub customization through terminal ?

This community page has lots of details and links. What you need to know is to edit /etc/default/grub and files in /etc/default/grub.d/ then run update-grub to make the changes live. I've not used boot-repair yet but it looks interesting though it's not part of a default Ubuntu installation.


Can I install `libssl-dev:i386` on x86_64 system without losing important packages?

libssl is not multiarch compatible at the moment.

See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689093


Upgrade form 16.04 to 18.04 libvirt ssh no longer working?

It turns out that the problem was caused by the base address for the  guests being changed from 192.168.122.1 to 192.168.123.1.
virsh net-edit default

change the three 123s to 122s, reboot and all is good again.
Seems crazy that the addresses should be changed without asking as so much depends on them, but there it is.


/etc/mysql/my.cnf isn't owned by the mysql-server package.  It's owned by mysql-common (I used dpkg -S /etc/mysql/my.cnf to find this out).

This should work for you:

apt-get purge mysql-common (which will also remove mysql-server)

And then:

apt-get install mysql-server (which, of course, will pull in mysql-common and should repopulate your /etc/mysql directory).


12.04 will not install on XP/Dell Dimension E310

I installed 12.04.4 in the last week on my Dimension 8400. It is also a Pentium 4 at 3.2 GHZ. I supped it up to 4GB RAM, with 3.2GB available, a number of years ago. I am also running XP SP3. I tried the Ubuntu disk that makes a boot disk and it kept wanting to make ISO copies of itself. I finally went out and got the download from the Ubuntu site and had the same results. I did some research and found that my DVD burner program was not capable of decoding the download or the Ubuntu disk and I had to find another ISO decoder. The free one on the Ubuntu site kept telling me that there was a bug in the free decoder. Good luck if you can make it work. Long story short, the problem was in the ISO decoder.

My advice is to take the free download, make sure that your burner program is able to decode the download, if not get one off of the net that will decode the ISO download. After I did this, the sailing was smooth and now I am completely happy. My machine runs like it is a new machine.

FYI The boot, after it is burned, it should have visible icons and files and not simply another ISO icon referring to your burner program.

The only thing that I feel a little guilty about is not paying anything to these people for their hard work, but I think that I will look into finding a way to repay their kindness by contributing in some manner.


How to solve the error : "Sorry, installation of this driver failed. Please have a look at the log file for details: /var/log/jockey.log"

First uninstall the bcmwl-kernel-source package by issuing the following command on a terminal:

sudo apt-get remove bcmwl-kernel-source

Install firmware-b43-installer and the b43-fwcutter packages if they are not installed

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

Type into terminal:

cat /etc/modprobe.d/* | egrep 'bcm'

Copy this and see if the term 'blacklist bcm43xx' is there

if it is, type cd /etc/modprobe.d/ and then sudo gedit blacklist.conf

put  # in front of the line: blacklist bcm43xx

Now save the file then reboot.

For more info check this


Error: "Untrusted application launcher" for desktop-shortcuts

You do not say which version of Ubuntu you are using.

However on most systems, if you can find the program in the dash (the equivalent of the Microsoft Windows start menu ), it should just be a case of right clicking the relevant icon and choosing 'Add to desktop'

Sometimes (on Xubuntu for example) the first time you launch the desktop icon, you will get a one time message asking if you wish to make the file executable.Root access should not be required.


Music player that can sort or filter by number of tracks (per artist)

After a little back-and-forth with the lead developer, it's clear that gmusicbrowser actually does everything I want.

In the Artist pane, right-click and do Options → Sort By → Number of Songs in Filter.  For additional goodness, right-click and check Show Buttons, and adjust the numeric dropdown that appears in the button bar to select a minimum number of songs that an artist must have in order to appear.

I've found the UI a little unintuitive, but in terms of features gmusicbrowser is turning out to be terrific.


When you lock your screen manually with Super + L just hold it a bit longer, then the screen will not blank immediately.
It blanks after the time interval you set at Settings > Power > Blank Screen.

Edit:
I tested it once again (this time it was chaging) and the screen did not blank when I locked my PC this way. It did not blank even after a few hours of idle time. So it probably only blanks when running on battery.


Wifi connected but no data transfer: "ping: sendmsg: No buffer space available"

Myself and many others (according to my Google searches) are having this same problem with Ubuntu 11.10, whereas for me also I never had any trouble with network drivers in 10.x or even 11.04.

EDIT: Cause of problem NOT resolved, after all :'(. The following might still be involved in some way, so I'll leave it here for others to reference. But it turned out NOT to solve the problem. Neither did reverting to a 2.6.x kernel.

My system is using the r8169 driver for my Realtek 8168 chip Ethernet port (on the motherboard in my case. Note: 8168 -- not 8169!)

I finally got onto this issue when I found this post. I quickly confirmed that my 8168 card was using the r8169 driver by running ...

sudo lshw -class network

..., which takes a while -- just be patient. :-)

You can see the driver being used in the configuration: line ... Example: ...

configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.026.00-NAPI ...

Then I mostly followed the instructions in this post to install and activate the correct driver, changing specific paths as required to match my system. Note that the driver download site does not mention the v3.x.x kernel (only 2.4.x and 2.6.x) But it works just fine anyway.

If you have only one network interface, then you should be all set by this stage.

Unfortunately, it wasn't quite that simple for me, because I also had a second card installed, which did have an actual 8169 chip on it! :-/ So, I couldn't just leave the r8169 driver disabled.

To fix this, I renamed the /lib/module/your-kernel-version/drivers/net/r8169.bak file (the autorun.sh driver installer script renamed it) back to r8169.ko and edited /etc/modules as follows ...

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

loop
lp
r8168
r8169

... [last two lines added] hoping that this would force the modules to be loaded in that same order, thus avoiding modprobe picking up the r8169 driver for the wrong card. It worked!

To the OP ... I'm updating this for the benefit of other people searching for a solution, because it comes up pretty high in Google results. Hope you don't mind.


This is what you are looking for:

Brothers Linux Drivers


Unable to install mysql under Ubuntu 12.04 LTS

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


launcher (lh toolbar?) no-show in 13-10 installs

I first tried to preserve /home in the installation.  That failed.  Once I did a full install, formatting /home, the problem left.  perhaps some of the many things I did to my home directory screwed up unity.


installing r-base error: Unable to correct problems, you have held broken packages

You have an older verion of R or its dependencies. Thus newer version are conflicting. Remove them and try again.

This should solve your problem.


Your processor doesn't support 64bit operating systems.
Download the 32bit Ubuntu installation image


You cannot do any real calibration without extra hardware. Bare minimum is a colorimeter but you really want spectrometer. Unfortunately, spectrometers come with high costs (second hand devices cost at least $150) and colorimeters not really suitable for LED backlighting which majority of the LCD displays are using nowadays. The ColorHug2 is claiming to be an exception because it uses much higher quality sensor than typical colorimeters.

The best you can do without any extra hardware is to adjust monitor settings according to test images (e.g. http://www.lagom.nl/lcd-test/) and then adjust gamma ramp by running xgamma -gamma <some number between 0.5 and 2.0> until the gamma test image reads that the actual gamma is 2.2. Figuring out the correct number for the -gamma argument is trial and error. Try 1.0 first and if gamma is below 2.2 according to test image, you have to decrease your current gamma value. (My monitors have always used xgamma gamma between 0.9 and 1.2 but low quality displays can be all over the place. My "factory calibrated" monitor requires 0.92.) After that, just pretend that your display is a calibrated sRGB monitor. If you have a laptop where only display adjustment available is the brightness of backlight, there's really not much to do.

And if you're happy with your display currently, do not visit http://www.lagom.nl/lcd-test/ because the more you understand the flaws in your display the less happy you will be...


How do I produce a multi-page sandwich pdf with hocr2pdf?

I found a workaround to this issue. Hocr2pdf has issues with producing multi-page pdfs so I produced single-page tifs, ran tesseract-ocr, ran hocr2pdf then combined the results with the following script:

for f in ./*.tif; do
   tesseract "$f" "$f" -l fra hocr
   hocr2pdf -i "$f" -s -o "$f.pdf" < "$f.html"
done
pdftk *.tif.pdf cat output "output.pdf" && rm *.tif.pdf && rm *.tif.html


Boot from an existing VHD with Ubuntu installation

You can boot from a VHD file using the windows 7/8 boot manager.

See the technet article Deploy a Virtual Hard Disk for Native Boot, Step 4: Deploy the VHD with native-boot capabilities.

Best regards,

Shocky


Unable to access internet on ubuntu 12.04

Type Ctrl+Alt+T and type echo on | sudo tee /sys/class/net/eth0/device/power/control

After that, logout your machine, pull out the ethernet cable and then plug it in again after logging it in. This should work


Assuming you are using Windows 10, hold shift and click restart in the start menu. Then click Troubleshoot, then click Advanced Options, then click Command Prompt. This will reboot your computer and boot to a prompt asking for an admin password. Enter the admin password, then in the Command Prompt that appears, type:
bootrec.exe /fixmbr

Then restart, and grub should be gone.


I had the same issue on my GT 60 20C and was able to get it to work after a little bit of work.

First, I created a bootable USB disk with the 13.1 installation. I was experiencing the black screen issue after the first purple screen from the bootable USB disk. To avoid that issue, press CTRL right when the screen first shows up. You should see the language selection screen and right after, mode options. Before installing, press F6 and select

nomodeset

This step is very important, the installation will not continue unless that step is executed. After the installation is complete, boot up again with with the USB disk. Select the "nomodeset" option again but this time boot up the live installation (Try Ubuntu...)

Download boot-repair utility. I was not able to follow the steps from the Ubuntu webpage (something broken about apt). I installed all the debian packages manually from the sourceforge website.

There, make sure that GRUB is on your Ubuntu partition and as an advanced option set as a kernel parameter "nomodeset"

Reboot your computer and now you should be good to go.


Massive amount of data being generated somewhere, filling up disk space

You can see large, open files with

sudo lsof / | \
awk '{if(\$7 > 1048576) print \$7/1048576 \"MB\" \" \" \$9 }' | \
sort -n -u

(Change 1048576 (1GB) to a smaller number to see other files).

To see open, deleted files,

sudo lsof / | egrep 'PID|\(deleted\)'


Ubuntu 13.04: Set Terminator as default terminal emulator with nautilus "open terminal"

Here's how to add an 'Open in Terminator' option:

Install 'Nautilus-Actions Configuration Tool'

sudo apt-get install nautilus-actions

In 'Nautilus-Actions Configuration Tool', add a new rule with the following (as a guidance):

In the Actions tab, tick both boxes and select an appropriate name (e.g. Open in Terminator):

In the Command tab, set:

Path: terminator
Parameters: --working-directory=%f

In the Mimetypes tab, set:

Mimetype filter: inode/directory

Go to File > Save to save the rule and you're all set.

I recommend that you also change the preferences in Nautious-Actions Configuration Tool to get rid of the two level context menu by unticking the following in Edit > Preferences:

(untick) Create a root 'Nautilus-Actions' menu
(untick) Add an 'About Nautious-Actions'  item in the Nautilus context menus

Log out and Log in again.

Now you're all set and should see a 'Open in Terminator' option if you right-click in Nautilus.


It sounds like you've managed to install the default grub wallpaper for Debian!

Anyway, there are instructions here for changing the wallpaper to anything you like, but I don't know where you'd find the 'default' Ubuntu wallpaper for grub.

The basic idea is to define 3 environment variables similar to the following:

WALLPAPER=/usr/share/images/desktop-base/desktop-grub.png
COLOR_NORMAL=light-gray/black
COLOR_HIGHLIGHT=white/black

WALLPAPER names an image file to use as a background, and the other 2 define the menu colors. (`/etc/default/grub' is probably a good place to put them)


System monitor in corner of Desktop whenever I boot into Ubuntu 16.04

It looks like it is a conky window. Conky is a system monitor for X Windows that displays statistics about your system and can be configured in the .conkyrc file that is in your home directory. If your intention is removing it you should be able to by running:

sudo apt-get purge conky*


Got error E: Unable to correct problems, you have held broken packages. while installing Ruby on Rails

Try this, it will solve your dependency problem:

~$ sudo dpkg --force-depends --purge libsqlite3-0:amd64
~$ sudo dpkg --force-depends --purge libsqlite3-0:i386
~$ sudo apt-get update
~$ sudo apt-get install -f
~$ sudo dpkg --configure -a


Its possible netplan left some stray settings depending on how you configured it. Check the usual suspects for "static ip" settings such as /etc/network/interfaces, /etc/hostname, and /etc/hosts.


I can't install xulrunner 1.9.2 on ubuntu 14.04

sudo nano /var/lib/dpkg/info/xulrunner-1.9.2.prerm
remove all contents except that this

#!/bin/sh

set -e
sudo dpkg -P --force-all xulrunner-1.9.2

result

Suppression de xulrunner-1.9.2 (1.9.2.28+build1+nobinonly-0ubuntu0.11.04.1) ...
Purging configuration files for xulrunner-1.9.2 (1.9.2.28+build1+nobinonly-0ubuntu0.11.04.1) ...

reference >> https://www.skyminds.net/ubuntu-resoudre-lerreur-xulrunner-bin-error-while-loading-shared-libraries-libhunspell-1-2-so-0/

good luck :)


How do I boot from ubuntu on my USB drive so I can wipe the ubuntu file system on the hard drive?

You can boot from your USB stick and do dd on it, but be carefull not to wipe other drives.

Usually the command I do is simple:

sudo dd if=/dev/zero of=/dev/sdx bs=16M

NOTE: sdX should be the drive you're wiping. I only have an internal HD so the name is "sda", but for external drives could be sdb, sdc etc.

For my 1TB drive it takes about 3 and a half hours to wipe it with zeros.


Does Ubuntu 18.04 allow snap packages to be reviewed / rated, and if so, where do I see that information?

The ability to add ratings and reviews to snaps in "Ubuntu Software" was only recently enabled.

The version of Ubuntu Software from the deb repositories, shipped in 18.04 doesn't yet have this feature enabled. However, there is a Snap Store snap which does have this capability. It's essentially a newer build of Ubuntu Software, which only allows installing snaps.


Update install JAVA SE developement kit 8(JDK)8 ubuntu 32 bit

I'll try to answer all your questions, but please break them into separate Q&As in the future. It makes it easier for one person to answer.

You seem to have a bit of a misunderstanding in regards to 32-bit. x86 is actually 32-bit. x86 is named after a line of old Intel CPUs (I think), but they didn't really have anything to name 64-bit after, so it became x64.

Get the x86 version

You'll have to adapt the file names a bit, since Java versions have changed, but this Ask Ubuntu Q&A has very extensive installation instructions: How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?.
As for default Java version, you need to have the one you want as default installed, and then you need to select it as the default. How to set default Java version?.

The command you want, since it looks like you're dealing with javac, is:

sudo update-alternatives --config javac

Replacing javac with java will allow you to change defaults there too.

Honestly, I'm having a hard time understanding your question fully, and I see you don't speak English natively. Hopefully, what I have below will make the whole thing easier.

There's an alternative to Oracle's JDK, called OpenJDK. It's a very simple installation, and I believe it sets itself as the default Java version. To install:

sudo apt-get install openjdk-8-jdk


Connecting to a VPN on a remote linux server (VPS) fails

the server doesn't shut down or freeze, it gets disconnected from the shh because the traffic is being forwarded from the vpn ip.
I reboot multiple times my server trying to connect with a vpn on, but the vpn was starting with the system reboot.
I realize that it was still possible to connect to the server using the web console of linode.
I checked for the vpn service status and it was connected through US-C UDP (443). Typing:

curl http://ipinfo.io/ip

I checked for my ip. It was a different ip.

I think if you need to change VPS internal IP multiple times you could use a firewall to be able to connect to the ssh while vpn is connected, or you could use a shh script to disconnect  the vpn once the task you need the new ip for is completed.


What versions of linux work on Dell dimension 4600 i386 system

You should install Lubuntu 14.04.

Here's a direct link to the latest ISO image: http://cdimage.ubuntu.com/lubuntu/releases/14.04/release/lubuntu-14.04.4-desktop-i386.iso


Lightlocker and Xscreensaver conflicting

I have also had problems with lightlocker/xscreensaver conflicts in the past with Lubuntu.

I prevented lightlocker from automatically starting by executing

sudo mv /etc/xdg/autostart/light-locker.desktop /etc/xdg/autostart/light-locker.desktop.bak

This is totally reversible should it cause problems.

I did this a while back when I was even newer to Ubuntu so there is probably a more elegant way.


Keyboard starts as English even being configured for Spanish

You could try checking the Keyboard Layout Chart to make sure that the key configuration matches up with your physical keyboard. Or, if your physical keyboard isn't a spanish keyboard, you can change the settings to English (International) which will still allow you to type accented characters.


How can I export MySQL database manually - without phpmyadmin

I have always used mysqldump -u username -p databasename > backup.sql with no issues.


Trouble setting up git error: could not lock config file

See if any of those tips help you:

Verify if there's some file called ~/.gitconfig.lock. If that's the case just delete it.
The file ~/.gitconfig belongs to you (use ls -la ~/.gitconfig to check). If it does not you can change the ownership using sudo chown <your_username>:<your_username> ~/.gitconfig

If none of these solves the problem you can always edit ~/.gitconfig using your favorite text editor. It is just a INI like file. An example:

$ cat ~/.gitconfig
[user]
    name = my_username
    email = me@email.com
[core]
    editor = editor
    pager = most
[color]
    ui = auto
[merge]
    conflictstyle = diff3

I am assuming the correct location is ~/.gitconfig. If that's not the case replace it with the correct path.

Hope it helps.


Package System Broken AMD FGLRX Unmet Dependencies

Use broken package filter in Synaptic to locate failed package, then uninstall.  This will fix broken dependency but no idea how to get either propriety graphics drivers to reinstall.  Open to suggestions...


how to get compiz visual effects at startup

Adding "compiz --replace" at Startup Applications is a perfectly fine workaround. I found that sometimes this problem is caused by some configuration file. See this bug report at launchpad.

In my case, the problem was caused by a file named "gnome-wm.desktop" at "~/.local/share/applications/" and was solved after deleting it. The content of this file was:

[Desktop Entry]
Exec=gnome-wm
Hidden=true
Name=Window Manager
NoDisplay=true
Type=Application
X-GNOME-Autostart-Notify=true
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Product=gnome-session
X-GNOME-Bugzilla-Version=2.32.0
X-GNOME-Provides=windowmanager
X-Ubuntu-Gettext-Domain=gnome-session-2.0


I'm not sure about any complete list of codecs but in order to play most "oncommon" codecs e.g. mp4 you have to install some libraries. You should be able to play avi if you install the ubuntu-restricted extras library.

sudo apt-get install ubuntu-restricted-extras

You can read more about it here

You should of course also be aware of the Consequences of using apt-get in ubuntu touch.

That being said I'n not sure if there is any equivalent of e.g. VLC app or anything you can use that wraps the necesarry codecs. Hovever, if you do find one I'm intrested in hearing about it.

Also see simmilar question.


How do I remove another distro without damaging Ubuntu

As far as I can see, after removing Fedora partitions nothing will happen to Ubuntu or windows.

First login into your Ubuntu, find the correct partitions and remove them using a utility like fdisk of gparted.

Then run sudo update-grub to get rid of Fedora menu entries in GRUB, you can run sudo grub-install /dev/sda to make sure MBR still lives on boot sector (just in case).


Open a terminal and run:

alsamixer -c0

Press F6 and select your sound card (in my case HDA Intel PCH).
Go towards the right and disable Auto-Mute M.

This worked with a Lenovo Y 410P.


MY HP 650's Bluetooth/Wifi has defied all solutions

it's my first reply!

I own an HP 650. When I purchased it, there was 12.04 LTS installed and the WiFi/Bluetooth card didn't work out of the box. So I followed the instructions available here: http://ubuntuforums.org/showthread.php?t=2104690 Everything worked perfectly afterwards.

Now I've upgraded my PC to 14.04 LTS. Since I did this upgrade I got problems with the WiFi again. I was able to fix them following these instructions: http://www.dailylinuxnews.com/blog/2014/09/install-ralink-rt3290-wifi-driver-in-ubuntu-linuxmint-elementaryos/ The WiFi network is now working perfectly, but the Bluetooth. Since I don't use the Bluetooth, it's not a big issue, but the WiFi/Bluetooth button on my HP 650 is always "switched off" even if I press it many times.

I hope it helps.


How can I store /var on a separate partition?

First prepare a new partition (e.g. with parted and mkfs).

Say the partition is /dev/sda5

Mount the new partition:

mkdir /var2
mount /dev/sda5 /var2

Sync your current var:

rsync -a /var/ /var2

Add the entry to /etc/fstab

/dev/sda5    /var    ext4    defaults      2 2

Reboot.

If you happen to need to go back you your old /var just comment out the entry in fstab.


Ubuntu 18.04 can't ping outside IPs or domains

To fix my connectivity problems, all I had to do was set and export the HTTP_PROXY, HTTPS_PROXY, and FTP_PROXY environment variables in my /etc/profile to the appropriate values for my company's corporate proxies.


Not able to add repo when APT is using a proxy connection

This problem was solved in a thread in the Ubuntu forums. Look here and scroll to the bottom.


Use Redshift, a program much like f.lux, that can reduce the blue-ness of the screen as soon as the sun has set. This makes your display more suitable for nighttime activities, as the color of the screen matches those of the lights around you (orange/reddish 3200K), instead of the sun (lightblue 6000K).

I use it every day and I think it has helped me reduce eyestrain for a long time now.


Do I need a graphics card driver for Linux?

Here's a complete guide for how to install the driver: How to install Nvidia drivers in Ubuntu 13.04


Open the terminal and type:

sudo apt-get install python3-pip

python3-pip is the Python 3 version of the alternative Python package installer. This program is run from a terminal using: pip3.

Another program that is bundled with the default implementation of Python in Windows and is a separate package in Ubuntu is the IDLE Integrated Development Environment for Python 3 (idle3). I don't use IDLE myself. I much prefer Spyder (spyder3).


flash drive is not visible for mount and fdisk

Try Gnome Disks.
Search for Disks under Activity.  Generally, it can help you work with volumes even when not mounted.
Used in concert with lsblk should get you more details on what the actual format is, and then you may need to install additional tools to work with that format.
For example, if it's NTFS or ExFat formats, you might need to run
     sudo apt install exfat-fuse exfat-utils

to work with that type of format in your flash drive.
Good luck,
mondotofu


How to set static IP via script on Ubuntu 18.04?

18.04 use netplan. Have a look at its man page

You can make your script write a .yaml file in /etc/netplan and "compile" it with netplan apply or netplan try or netplan generate

One example of such a file would be:

ethernets:
  match:
    name: enp2s0
      addresses: [10.0.4.5/8]
      gateway4: 10.0.4.1
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4, 1.1.1.1, 9.9.9.9]
        search: [mycompany]

I am not very familiar with netplan. So I let you explore and fix my possible errors.


I had the same problem.
I have not fully solved it, but got further.
I was trying to install Ubuntu 14.10.

Here is a partial solution:

Use F2 at boot time.
Disable Secure Boot mode (I don't have the machine with me, so I can't offer exact navigation right now).
Save the settings
Reboot.
Then both the live Ubuntu mode and install will run.

BUT - after install, it crashed on the first boot (lots of "got data interrupt even though no data operation was in progress"), and then get hung on the purple screen the next time(s) I booted.

On my own, I'm planning to boot Ubuntu while showing boot messages, and/or installing more recent Ubuntu (15) - just to see what works.

Good Luck!


It sounds like you are using the new Unity user interface.  The panel at the top is not provided by gnome-panel, so tutorials about gnome-panel won't necessarily be correct.

There is no way to move Unity's panel to another edge of the screen.


How to get sudo access to shares mounted by Gigolo

Gigolo is a frontend to gvfs. gvfs uses FUSE (Filesystem in Userspace) in order to mount network devices (such as Windows shares). Such mountpoints cannot normally be read by other users than the user who mounted it, even by root. Why? Karl Auer suggests here that the reason is that

  Just because you have root access on one system doesn't mean you should
  be allowed to see the files to which other people have access on other
  systems. I'm pretty sure that is why the .gvfs directory is managed the
  way it is.

That is, if you are user A on machine X, and you mount some directory from machine Y (where you also have a login) to some place on machine X, then root on machine X shouldn't be able to read that, because root on machine X may not usually have any access to machine Y at all.

Bearing that in mind, if you do want to allow root to acces your ~/.gvfs directory, you can proceed as follows.

1) Edit the file /etc/fuse.conf and uncomment the line that reads #user_allow_other. This will later allow your user to start the gvfs-fuse daemon with the allow_root option, which is what you want. The following command does it quickly for you:

$ sudo sed -i -e 's/#user_allow_other/user_allow_other/' /etc/fuse.conf

2) Add your own user to the fuse group, so that you may read the the file /etc/fuse.conf. Otherwise the change in the previous step would have no effect.

$ sudo addgroup USERNAME fuse
$ newgrp fuse

Replace USERNAME with your username, of course. The newgrp command avoids the need to log out and back in again for the group change to take effect. Check that it works by issuing the command:

$ groups

and verify that fuse is listed among the groups that your user belongs to. If it does not work, log out and back in again. At any rate, your user should be able to read /etc/fuse.conf before you proceed with the next step.

3) You are now able to restart the gvfs-fuse daemon with the allow_root option. First, unmount your ~/.gvfs directory:

$ fusermount -zu $HOME/.gvfs

Next, to restart the daemon, issue the following commands on Ubuntu 13.10:

$ killall gvfsd-fuse
$ /usr/lib/gvfs/gvfsd-fuse -o allow_root $HOME/.gvfs

In older Ubuntu versions, the latter two commands may instead be:

$ killall gvfs-fuse-daemon
$ /usr/lib/gvfs/gvfs-fuse-daemon -o allow_root $HOME/.gvfs

4) Restart Gigolo and mount your Windows share again. root should now be able to read your ~/.gvfs directory.

That's it!

In order to make these changes permanent:

To make the changes permanent, you can write the three commands from step 3 into a small script that you autostart at login time. There may be cleaner ways to do this, but this should work. Your script would contain something like the following:

!#/bin/bash
fusermount -zu $HOME/.gvfs
killall gvfsd-fuse
/usr/lib/gvfs/gvfsd-fuse -o allow_root $HOME/.gvfs

Save that to a file and make the file executable:

chmod 755 /path/to/the/file

This script should now be automatically executed at login time. To find out how to autostart applications, refer to How do I start applications automatically on login?.

Some more discussion on the issue can be found here:
https://lists.ubuntu.com/archives/ubuntu-users/2008-November/165644.html


How to enable the DVD Writer `Passthrough` checkbox in VirtualBox

Obviously, you have to shutdown Windows 8, then go to VirtualBox's Machine, Settings, Storage to enable Passthrough for the DVD drive.


19.04 -> 19.10 - Frozen at Login Screen / Black Screen (Can boot in via recovery mode)

See this answer:

https://askubuntu.com/a/1183357/976775

Notable, you are installing the 435 driver, I found this driver still had issues, I had to go back to the 430 driver specifically to resolve the issue.

I disregarded the "auto-login" step at first, but this is actually a crucial step. It seems to log your account in automatically and when trying to login again it gets stuck.


Will it cost money to upload a phone application?

The important part of the answer can be found here:

http://developer.ubuntu.com/publish/commercial-software-faqs/

For commercial software you have to register, but:

"The Ubuntu Application Developer programme is free of charge, there are no fees to join."

Of course if you want to sell your Apps, there will be a percentage of charge:

"The application publisher chooses a global price to sell their application for. For each sale Canonical retains a transaction fee of 20% after tax. If you sell an application for 10.00 USD, then the fee will be 2.00 USD."

Apple:     99$/year   30% commission on revenues
Google:    25$ once   30% commission on revenues
Microsoft: 0-99$/year 30% commission on revenues
Ubuntu:    0$         20% commission on revenues

(more details at Wikipedia)


Upgrade to 13.04. Dell Laptop fan running excessivly

for automatically controlling the fan, it is just to use 'i8kmon' inside the package i8kutils.

The latest version of i8kutils is at https://launchpad.net/i8kutils


Gwenview is too slow to load image from a directory containing many images

Try these steps:

Check if your disk is low in free space. IF YES, Try Empty space.
Check if RAM is small.
Try to split small number of images in separate folders.
Also see if the file explorer like dolphin/ Nemo is also taking too much time opening these large images.
Try disabling animations in settings

This may Help you: https://forum.kde.org/viewtopic.php?f=14&t=164924

Also in another post one suggested set desktop as folder and not as a desktop solved the issue.


Problem booting after latest software update.

I just had the exact same problem about 5 minutes ago (I was updating Ubuntu 13.04).
This is how I solved it:

When you see the message "The system is running in low-graphics mode", click on "OK"
Then you'll see "What would you like to do?". Select "Run in low-graphics mode for just one session" and click "OK".
You'll see the message "Stand by one minute while the display restarts...". Click "OK" and wait. DO NOT touch anything (especially the power button). Just wait for the display to come up.
You will enter a terminal-like mode. The last word in that text mode will be "Login". Type in your user-name and press Enter.
It will then ask you for your password. Type in your login password and press Enter (no text will be displayed when you type your password. It will be blank. But don't worry. Everything is working fine).
If your user-name and password were correct, you'll be logged in. (if not, type them in again).
Now you need to type "sudo reboot" and press Enter.
Wait for your desktop to restart. Your desktop will then work just fine.


Wget: convert-links and avoid redownloading already fetched files?

Here's why it doesn't work: it was disabled on purpose by the developers - http://savannah.gnu.org/bugs/?31781

As for how to fix it? Try installing a version of wget older than 1.12.1 - which seems to be the version when the aforementioned "bug" was fixed by the developers.


Can't login to Ubuntu 14.04 with domain user without network connection

You can't login as a domain user, when network is not available. Because it pulls the user information from the domain server.


New dual boot of Ubuntu 17.04, no wifi, no additional drivers availabl

This wireless adapter is not supported by Linux. It is an ath10k USB device. The ath10k driver does not have USB support yet.

For very advanced users I can give a link to a patch enabling USB support, but it needs some work to apply to a specific kernel.

https://www.spinics.net/lists/linux-wireless/msg158150.html

I don't think a regular user can make any use of this patch.

Some time later the USB support should be added to mainline.


How to install Unity Web Player in Ubuntu?

When you visit the official site https://unity3d.com/webplayer you can notice the following message:

UNITY WEB PLAYER
The Unity Web Player can be downloaded to run browser-based Windows
and Mac games and apps made with Unity. Unfortunately the Unity Web
Player is not supported for the device you are currently using.

And since I'm using Ubuntu, so in simple This will not work native in Ubuntu, or any other Linux distribution .
Now could it be installed in Wine?
Just visiting the wine tests site  shows you can install 4.3.3f and newest in Linux systems using wine.
The test done on Fedora 19 x86_64. Now you can take a look to try for ubuntu.
So How to Install it using wine

downloaded & installed Firefox (tested with 33.0.2)
downloaded & installed Unity Web Player (full version) from here


There are some utilities that you'll need installed before you can effectively read from (and sometimes write to) an HFS+ partition.
Try this:

Open Terminal (if it's not already open)

Install the hfsprogs package
sudo apt-get install hfsprogs

Mount the external drive:
sudo mount -t hfsplus -o force,rw /dev/sdb1 /media/mntpoint

Note: Be sure to replace /dev/sdb1 with the proper partition that you would like to read, and /media/mntpoint with the actual location you want to access the files from.
If the drive is already mounted, you will need to re-mount it:
sudo mount -t hfsplus -o remount,force,rw /dev/sdb1 /media/mntpoint

Note: Same notes as above

Access your files

One important thing to pay attention to is whether the HFS+ drive is journaled or not. If it is journaled, then you will likely not be able to write files to the disk. If it is not journaled, then you may have two-way access with the device.


How come Ubuntu is slowed down even after all resource-hungry apps have exited

This is indeed a typical situation and the most likely cause is memory swapping. Look at the memory usage.

Your resource-hungry task A has probably used a significant amount of RAM. Consequently, an other application B has been swapped to disk. The CPU can quickly change it context back from A to B, you should not feel any delays caused the CPU load after quitting A. However, application B is no longer completely hold in physical RAM. Thus, a trivial tasks inside A may require loading the memory used by application A back into the physical RAM.

A similar situation occurs when the the resource-hungry task reads and writes many/large files from/to the HDD since Linux generally uses memory to cache disk I/O. (That means, task A will quit before the files have been committed to the physical HDD. The slow writing process is delayed until Linux needs to free memory for other applications.)

Both processes (swapping and disk caching) are I/O-bound (limited by your HDD read/write rate, not the CPU). However, they may cause a certain computational overhead.

Theoretically, some time after quitting A, application B should automatically come back to normal speed. Instead of rebooting it may help to restart application B.


Laptop doesn't hibernate when I close the lid in Ubuntu 14.04

For my script (lid.sh) to be called in /etc/acpi/, I had to create the correct file in /etc/acpi/events/.

The file has to be called lm_lid and the content is as follows:

event=button/lid.*
action=/etc/acpi/lid.sh

Reboot your system to let this take effect.

Note: I moved back to Linux Mint (now 17) before I figured this all out, and this, with the correct file, now works. I'd like to hear from Ubuntu users though.


run sudo dpkg-reconfigure keyboard-configuration and when you see this window just select "yes".

And the next time use Ctrl+Alt+Backspace  to kill X.


How to get a normal application menu in the top- or titlebar in Gnome

I guess Gnome Global Menu Extension is what you're looking for.

It was a work in progress back in April (see OMG Ubuntu), some applications would work, but there were problems with others (like Blender).  Don't know what's the current state, but if you feel like giving it a try, detailed install instructions are to be find in GitHub.


Ubuntu 13.04 on a preinstalled Windows 8 system w/ UEFI

Your Windows system is installed in UEFI GPT partitions. All hard drive is formatted as GPT, so when you trying to boot as Legacy, you are not able to make dual boot.

Why don't you use UEFI-boot for installing Ubuntu? It supports EFI partitions as well.
It differs a bit from Legacy mode booting, but still works good.

Check this out

Installing Ubuntu Alongside a Pre-Installed Windows with UEFI


18.04 Full screen recordings when trying to record w/OBS turn screen black

Yes, it's a laptop. Only a monitor. It has 2 graphics cards. Nvidia And Intel Graphics. So, I put 5 images and you can see this. Fourth image is a full screen and fiveth image is only a window.
Img1
Img2
Img3
Image4
Image5


You need to boot from Ubuntu LiveUSB and start gparted there.

I see that you have 19.53 unallocated space. You can use it to extend sda7.

Move left side of sda4 left.
Move left sda5, or remove it, if you do not need this "New Volume".
Now you can extend sda7 left.

Do not forget to press "Apply" button in gparted

After you move the Ubuntu boot partiton you will have to restore-grub.

It can be done this way from LiveUSB.

sudo mount /dev/sda7 /mnt
sudo chroot /mnt
sudo update-grub
exit


Chrome browser is diagonally splited on Ubuntu 18.04

Short-term: resize the window, some sizes show up normally.
Long-term: Upgrade to 90.0.4430.72 to make the problem go away.


It's available in the Software Center.
Just open the Ubuntu Software Center and search for its name.
Or install via the terminal:
sudo apt-get install codeblocks


Problem installing Dropbox on Ubuntu 12.04 (Crouton)

I solved this following the steps here

  Use apt-get if you can:

sudo apt-get install nautilus-dropbox

  If not, this is a work in progress to help compile dropbox by source. Note the missing packages may differ for your distribution. This is for the default XFCE.

sudo apt-get install libnautilus-extension-dev python-gtk2 python-docutils

  Download the source and follow instructions at https://www.dropbox.com/install2

./configure; make
sudo make install
./dropbox start -i


Well it seems Adobe has turned its back on the Linux community so I have to update this answer. I suppose you have moved to the latest Ubuntu or at least one that can use the more capable open source applications below.

Viewers With Annotation Viewing Capabilities

Open source viewers

Okular

A KDE based application, runs ok and looks ok in Gnome, one of the best open source applications that can both view and create annotations, note that this application can do standard and non standard annotations. You can create annotations that can be viewed by all viewers that support the pdf standard for annotations.

you can create annotations that does not interfere with the document, you will need to use Okular to view these, these can then be converted to standard annotations if you need to.

Evince

The default viewer on Ubuntu and most Gnome based desktops, the latest now have a somewhat limited support for standard pdf annotation viewing.

Proprietary Solutions

PDF Studio Pro

A very good fully capable PDF viewer and editor, from Qoppa Software, there are trial versions available for standard and pro, the pro verson has most of the features of Expensive tools from Adobe.

Some notable features of the pro version

Redaction, block out parts of documents you do not want people to see.
OCR, Make scanned pdf searchable
Digital Signature, sign documents adding image of signature.
Create and fill forms
Measure Tool, measure using scale factors, CAD type dimensioning.

Kami (Formerly Notable PDF)

Kami is a browser based solution, can view standard annotations, can create non standard annotations, this works with Google Chrome browser, you can save annotated PDFs on Google Drive read PDF documents from web pages,and download to desktop or save to Google Drive this can replace Chrome's default PDF viewer, there are free, premium and Work versions available the premium version is $15.00 a year and the work version is $50.00 a year.

Some work features

Ocr, create searchable pdf.
Unlimited e-Signature
Unlimited Files to Split
Unlimited Files to Merge


Or instead you can try Dash... You can view a list of all installed applications or you can type in the names for quick search...

Unity, the default UI since Ubuntu 11.04, has this wonderful Dash desktop search utility. You can access Dash by hitting the Super key (aka      key in Windows keyboard).

At the bottom of the Dash, click the application lens among others, as shown in the snapshot (in Ubuntu 12.04 you can directly access this using Super + A):

Click "Installed: See ... more results" to view a menu list of all installed applications.

Click to launch the application you want. Use arrow keys or the scroll bar to browse for more application down the list.

Or you can create a bookmark for the directory. For this browse to the /usr/share/applications directory and in there press Ctrl + D and the bookmark will show up in the Nautilus' side bar (use F9 to toggle side bar visibility).


suppose you still have Ubuntu iso boot from it and within live environment install boot repair GUI tool and fix GRUB using it it will automatically restore your GRUB and list,


Problem after logging out the sytsem in Ubuntu 10.04

This issue had been reported before with several possibilities to the error.

This issue have several possibilities.

One of the most common possibility is  hardware incompatibility. If you are using a latest version laptop, the hardware may not be supporting Ubuntu 10.04 operations.

Second one is, your lightdm may be crashing. This is the program responsible for display systems in Ubuntu.

Different people have different solutions for this issue like
http://ubuntuforums.org/showthread.php?t=1477795
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/549632
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/529882

You could try one of the solutions mentioned in these thread.

My opinion is, when you experience this issue, Try to go to one of the non GUI terminals of Ubuntu. This could be achieved by using the key combination alt+ctrl+(f1/f2/f3../f6). Once you get hold of one of these screen, login into the terminal.
Then restart the lightdm  using

sudo service lightdm restart


Black screen with GNU GRUB version 2.04 when i turn on my laptop

It is not a bad idea to reinstall Ubuntu, maybe an incorrect update of Ubuntu caused it. Create a live USB/DVD and boot it through BIOS settings.
Also suggested that Ubuntu File System should be in a separate drive than where Windows drive is, and also initialize a swap partition for Ubuntu, both of which are done during disk management of the installation process.


How to I authenticate against a private PPA on LaunchPad?

I've found it out:

Go to the PPA's page.
Click on Manage access in the top right corner.
Click on Add access in the top left corner.
Enter the name of a person (yourself) or a team (you're a member of), click Add at the end of the row.
Go back to the PPA's page.
Expand the Technical details about this PPA section which now includes the credentials in the URLs.


Is there a way to make the launcher get out of the way of open windows?

Unfortunately there is no way to do this in Unity on 10.10.

This feature is enabled (and turned on by default) in 11.04.


Sony Noise-Cancelling Headphones (WH-1000XM2/3) and bluetooth initial autoconnect

The "ambient noise" you're hearing is a loopback from your computer's mic coming out through your headphones.

This is apparently due to a bug with A2DP's implementation.

I fixed this in Ubuntu 19.04 by installing Blueman and pairing my headphones as an Audio Sink rather than a headset:

Unpair your headphones, if they're currently paired.
sudo apt install blueman
Open Blueman, click on "search".
Select your headphones, right click, select "Setup"
Make sure they're paired as an Audio Sink rather than a Headset
Select your headphones as an audio output in your sound settings

If you have Spotify open throughout the process you have to restart it.


How I can upgrade gnome to latest(Testing or Unstable release) on ubuntu?

Currently gnome-shell version 3.16 is not available for ubuntu 14.10 (Utopic Unicorn). But It's available for ubuntu 15.04 (Vivid Vervet) and ubuntu 15.04 was released on 23 April 2015.

So now you can upgrade to 15.04 by sudo do-release-upgrade.
And to upgrade gnome-shell to 3.16, add following ppa repository  and run sudo apt-get update && sudo apt-get upgrade.

ppa:gnome3-team/gnome3
ppa:gnome3-team/gnome3-staging
ppa:ricotz/testing (click here to check all packages in this repository)

To add repository run sudo add-apt-repository [repository-to-add]


Edit your /etc/vsftpd.conf so it looks like this:

For allowing local users to log in:

local_enable=YES

For limiting the users logging in:

userlist_enable=YES

For only allowing users in userlist, instead of denying:

userlist_deny=NO

Defining the userlist file:

userlist_file= /etc/vsftpd.user_list

Add the 'robin' username to the /etc/vsftpd.user_list file.

Add the IP address 192.168.1.7 to your /etc/hosts.allow file so it looks like:

vsftpd: 192.168.1.7

Restart vsftpd and you should be good to go.


How to use 'grep' with characters like * and _?

There is a -F option:

-F, --fixed-strings
Interpret PATTERN as a list of fixed strings, separated by newlines, any of which is to be matched.  (-F is specified by POSIX.)

This will disable searching by regular expressions and interpreting characters like * or .. Example:

$ cat test
a**__
$ grep -F 'a**__' test
a**__


Unity Displays Black Borders Upon Return from Suspend?

This problem is similar to this one. The last solution, making a css-file, mitigates the problem permanently but does not fix it. Restarting unity (write unity in a terminal window, fixes it, but only until the next suspend.


Is there a way to record how many time applications are running in the foreground?

I'm not aware of any out of box solution.

If you're running X Window, you might easily write a shell script based on this answer. You'd have a loop where you run xprop -root _NET_ACTIVE_WINDOW, cut out the window id from that, then pass it to xprop -id ..., process its output (e.g. grep for a few relevant keys) and store it somewhere (e.g. append to a text file). Finally, sleep for maybe 10 seconds in the loop.

Meanwhile, write some scripts that process the log files (or upload that to a database, etc.).

Such approach cannot work under Wayland due to its security model, I'm afraid there you would need to hack the compositor to do this logging for you.


That setting is available in nm-connection-editor (just run this cmd in terminal).


How do I print a value obtained from a command or a fallback value if the command returns empty?

Use parameter expansion:

passed=`sed -n 's/.* \([0-9]*\) passed.*/\1/p' evaluation.output`
echo "Passed: ${passed:-0}"


As you have found - you cannot "upgrade" this way.  Repositories are usually stable code bases updated only with stability and security fixes - rarely newer versions of applications.

The eclipse team have packaged v1.8.2 of ant via their PPA.

If you want to go down that route

sudo add-apt-repository ppa:eclipse-team/debian-package
sudo apt-get update


How to fix/diagnose this problem: outlook.com does not load in Linux (all browsers)?

From what i see http://outlook.com makes several redirects until it lands on https://login.live.com/login.srf?....

You can test where it stop (if it stops) with curl from command line

curl -vL 'http://outlook.com'

I tested also https://col125.mail.live.com/default.aspx, and it redirects also to https://login.live.com/login.srf

I know this is not an definitive answer, but it can determinate where the redirect issue may be, also you can test the final url directly.


Ubuntu 16.04 job on crontab not executed

you need to replace

<user>

with the appropriate user as well as

<path>

needs to be replaced with the path to cron-mongodb.sh within home directory of the user you specified above


Ubuntu 14.04 and Dell E6440 - sound and mouse working after suspend/resume

With more digging on the launchpad i've found an answer to the mouse scroll issue. My mouse is Microsoft Wireless Mobile Mouse 1000 and during dual booting (MS Windows -> Ubuntu) the mentioned bug can happen. Solution is to use resetmouse. More detailed answer is on: Mouse wheel scrolling too fast


Cisco Packet Tracer 6.2 not working Properly when Desktop icon is used

If i understood, when you connect the computer to the switch through straight cable the indicator light does not turn to green on the switch.

Simply because your account doesn't have full access to the PT shortcut on your desktop unlike if opened from terminal with sudo which has (admin privilige) it will work straight away.

So Please do the following,

chmod -R 777 /Your/File/Path


To view how much ram your system has, you can use the free command

[sol Build]$ free -h

              total        used        free      shared  buff/cache   available
Mem:           15Gi       3.0Gi       6.5Gi       842Mi       6.0Gi        11Gi
Swap:         8.0Gi          0B       8.0Gi

if you're interested, you can also check out whats going on in /proc

cat /proc/meminfo

or to get the total physical ram installed in the system

awk '/MemTotal/ {print $2}' /proc/meminfo


AMD Radeon HD 7770 (Cape Verde XT) and AMDGPU PRO drivers

The AMDGPU PRO drivers are in beta, and don't support the AMD Cape Verde cards yet.  (Note that the page you link to doesn't list the card.)

I can't find the link now but remember reading that support is planned for next year, and that it will require kernel version 4.8.


Try to boot your system using nomodeset parameter. You can set this parameter when grub loads press E button. Look for the line that starts as

linux /boot

and add in the end of the line word nomodeset. So it should look like this

linux /boot ********* quite splash nomodeset

After that press CRTL+ x and see if you can boot now. If it successful I recommend you try to install FGRLX frivers for your card. You can find HOW-TO here

What is the correct way to install proprietary ATI Catalyst Video Drivers (fglrx) directly from AMD?


Ubuntu keeps installing old kernels even though I don't need them

Running

sudo apt autoremove

causes update-initramfs to be run, which generates the initrd for the old kernels, which causes /boot to fill up again, even if you have cleared up space.

This is a long-standing problem.


Diagnostics for intermittent trouble accessing Data DVDs and CD-Roms

This is not a problem about ISO 9660 but about
drive and/or CD/DVD medium. Since you have this
with several media, probably the drive is going bad.

The message "mount: no medium found on /dev/sr0"
indicates that the DVD drive did not yet recognize
the medium when the system tried to mount it.
The fact that it sometimes works after some waiting
indicates that the drive needs a long time to inspect
the medium, if it succeeds at all.
Its unhealthy light show supports that theory.

Maybe there are some error messages in the system
log. You could execute command dmesg after the
problem happened next time.

You could use a burn program to watch the
SCSI command traffic and error replies.

xorriso -scsi_log on -outdev /dev/sr0

or

wodim -V dev=/dev/sr0 -inq

They will probably report error conditions like

START/STOP UNIT
1b 01 00 00 00 00
+++ sense data = 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00
+++ key=2  asc=3Ah  ascq=01h

or

Executing 'test unit ready' command on Bus 0 Target 0, Lun 0 timeout 40s
CDB:  00 00 00 00 00 00
Errno: 5 (Input/output error), test unit ready scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0