You probably haven't removed your per-user .wine folder.
If you want to reset Wine to the way it was before you ran it, the main thing to do is to remove or rename the Wine profile in your home directory. This is the .wine directory. You can show files and directories whose names start with . in most graphical file browsers (including Nautilus) by pressing Ctrl+H. (Pressing it again re-hides them.)
If you want rename that directory from the command line, you can open a Terminal (Ctrl+Alt+T) and run:
mv ~/.wine ~/.wine.old

That names it from .wine to .wine.old.
Or if you know you want to just remove it altogether:
cd
rm -r .wine

Please remember, however, that Windows applications run through Wine will usually default to saving documents in what they see as their C: drive, which is kept in that folder.
After your Wine profile is renamed or removed, Wine will re-create it automatically next time it runs.
You can probably fix this your underlying problem without actually starting from scratch, but since it sounds like you haven't done much with Wine yet, just removing or moving aside your Wine profile and starting over is likely the simplest solution.


Specific Wine Applications don't have Internet Access

There is a solution suggested in this post: How to configure wine to install Evernote?, explained further here: instalar-evernote-en-linux (is in Spanish but it has a lot of images)

You could install playonlinux. Once PlayOnLinux is installed, goto manage wine versions, and install wine 1.4.1 32bit.

Then click install program -> install a non-listed program -> Install a program in a new virtual drive.

Give a name for your application virtual drive ("evernote" or whatever you like), then mark Use another version of wine and select the 1.4.1 that you've just installed. Kind of virtual drive I choose 32bit windows installation.

Browse for the installer in your drive, wait for the installation to finish and close Evernote, so PlayOnLinux can notice that the installation has finished.

This works for Evernote_5.8.13.8152 in Ubuntu 15.04.


A simple method from the command line would be to read the output from pulseaudio to list properties of a sink input by running the following command in a terminal

pacmd list-sink-inputs

By this we can see the application that initiated a stream as well as other song properties from metatags (including artist, title, etc.) if available.


Why is a LTS release not using the Extended Support Version of Thunderbird?

Because we use Firefox 11 instead of ESR and most of the same reasons apply to Thunderbird as Firefox for using the rapid release version. The decision to not use ESR by default in the LTS was surprising to me, so I asked on the mailinglists (you can find the thread here: https://lists.ubuntu.com/archives/ubuntu-desktop/2012-February/003672.html) and Jason Warner from Canonical answered:

  Firefox adopted a rapid release model for various reasons, but among them
  was that they needed the browser to keep up with the pace of innovation on
  the internet. Ubuntu needs to be out in front of these things and be
  pushing the very edge of what is possible, particularly in the browser. I
  do not think we can ship a browser that will lag by 12 months in any sense;
  the risks too far outweigh the rewards.

  I'm afraid that even a year lag (ESR update period) would put Ubuntu at
  severe disadvantage to other platforms. Imagine a world where G+ or
  Facebook or some new whizbang product didn't work on Ubuntu because the
  browser shipped didn't support some new technology/javascript
  engine/platform component. That is neither something we want nor can
  afford. We have to be better, we have to be faster and we have to be
  braver.

Anyway, you'd like to install Thunderbird ESR, you can donwload it here: http://mozilla.org/en-US/thunderbird/organizations/all-esr.html
You simply need to extract it into your home folder and add a script called ~/bin/thunderbird
to launch
~/thunderbird_folder/thunderbird $@
every time your user calls thunderbird

You can also see this blog post from Chris Coulson on why the ESR was not selected.


Can not solve Unmet dependencies while installing or upgrading any packages

I can't reproduce your problem on clean Ubuntu 16.04 LTS.

You should install the problematic package manually with

sudo dpkg -i --force-all \
/var/cache/apt/archives/libsnmp-base_5.7.3+dfsg-1ubuntu4.1_all.deb

and then remove locally installed net-snmp package with:

sudo apt-get purge net-snmp

and then resume installation

sudo apt-get install snmpd libsnmp30 libsnmp-base
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get upgrade


Can't run Apache 2.4.7 on Ubuntu 14.04 - Forbidden

In order to change DocumentRoot from /var/www/html to /srv/www/html, open apache.conf and change:

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

with:

<Directory /srv/www/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

Save apache2.conf and restart apache:

sudo service apache restart


Problems during share files using samba protocol in ubuntu 20.04

OK, how far do you want me to go into showing you how to set up a Samba AD DC ? ;-)
You are probably running Samba as a standalone server, with 'map to guest = bad user' in [global] and 'guest ok = yes' set in the share (note: 'public' is a synonym for 'guest ok'), so without Samba users, all your users become the 'guest' user (usually 'nobody').
If you want Samba users on a standalone server, then there must be a corresponding Linux user, sorry, but that is just the way it is.


NFS server generating "invalid extent" on EXT4 system disk?

This problem was solved by the OP:

  I finally solved this problem by ditching ext4 and going back to ext3
  after ext4 started playing up again. There's something weird going on
  in that particular VM, but I can't spend any more time on trying to
  find out what it is.


Will the aptitude/multiarch bug allow a successful upgrade from 10.04 LTS to 12.04LTS on a 64bit workstation?

No, because we don't use aptitude to upgrade between releases. We use update-manager for that (it uses APT under the hood, but not aptitude).


how to change read only to rewrite , sudo mount - o remount,rw/ not working

The correct command must be

sudo cp /home/phablet/Pictures/background.png /usr/share/unity8/graphics/phone_background.png

You missed a space between "from" and "to" path.

The command in the question title is also wrong. It should be

sudo mount -o remount,rw /

I suggest to copy & paste commands, not to re-type them.

Entering commands like you do can lead to wiping everything from your phone.


How to move files over samba share with gnomevfs cli

gnomevfs is deprecated, you should use gvfs instead.

To move a file :

gvfs-mount smb://user:WORKGROUP:password@server/directory
gvfs-move file smb://server/directory/file


The font kerning on the Gnome Terminal is broken

The Terminal font seems to be set to a non-monospace font.

The solution is to set the Terminal font to Ubuntu Mono (default Terminal font — or any monospace font you like).

In the Terminal, go to Edit → Profile Preferences:

Check the Custom font checkbox and click on the big button next to the checkbox and choose Ubuntu Mono regular:

then click Select. You should be fine.


Took me a bit of digging to find out what is going on here. Basically, the new systemd nonsense has forced itself into the DNS space. If you read /etc/resolv.conf, you'll see it refers to systemd-resolved. You'll also see your nameserver entry is 127.0.0.53.

netstat -pntul | grep :53 show:
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 29133/named
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 27505/systemd-resol

But systemd-resolved passes queries NOT to your bind9 server, but to glibc. Unfortunately, glibc isn't a resolver. It will pass queries, but does so in a way that breaks +trace. +notrace works just fine.

To get around this, I removed resolvconf, turned off systemd-resolved, and changed the /etc/resolv.conf entry from 127.0.0.53 to 127.0.0.1.

Before you make the change, you can dig @127.0.0.1 +trace google.com and see that dig +trace works as expected proving the systemd implementation is broken and should be removed.


Bootable DVD 12.04.3 LTS works on some Windows XP PC's, not on others

Have you made sure that you are 'burning' the ISO as bootable?

How to for USB - https://help.ubuntu.com/community/Installation/FromUSBStick

How to DVD/CD - https://help.ubuntu.com/community/BurningIsoHowto


How to recover from uninstall of gnome-shell-extension-ubuntu-dock in Ubuntu 17.10

Ubuntu Dock is a fork of Dash to Dock, so installing and running both at the same time might cause problems. If you want Dash to Dock only, follow these steps.
Uninstall Ubuntu Dock

Open the terminal and run these commands:

$ sudo apt-get remove gnome-shell-extension-ubuntu-dock

$ rm -rf ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com

Reboot.

Install Dash to Dock

Go to https://extensions.gnome.org/extension/307/dash-to-dock/ and install the extension by clicking on the On/Off button. You might need to install Firefox or Chrome GNOME extensions plugin


Why network button not working when I clicked it

Try this when it doesn't work - sudo service network-manager restart . That will restart the network-manager applet.


QQ - small, unidentifiable icons on desktop

Edit > Preference > tab Views > Icon View Default :change the Default Zoom level in Nautilus file manager. Nautilus is on your desktop as well not only the default file browser.


Wifi stopped working after update to 15.04

Try the following command in your terminal as suggested in this thread:

sudo mv /lib/firmware/iwlwifi-3160-12.ucode /lib/firmware/iwlwifi-3160-10.ucode


Instead of using the read command in order to get the value ofNEW_DIR from the input, You can set hard-coded value for the NEW_DIR variable in the following way:

replace the following line in your script:

read NEW_DIR

with the following line:

NEW_DIR="new_dir_hard_coded_value"

  Link for more info about bash-scripting-tutorial/bash-variables


connect my galaxy s duos phone as mass storage or drivers

You need not to install any extra driver for your Smartphone to use it as a mass storage device. I am also having Samsung galaxy duos and there is no problem like this. What you have to do is, simply connect your phone with laptop/desktop using data cable. It will automatically detect your phone. Ubuntu12.04LTS is preloaded with the necessary drivers.


When I tweak ~/.config/gtk-3.0/gtk.css and reload the theme I instantly see the result, so at least the GTK applications that matter to me instantly pick up the changes. (I'm not sure what a GTK app needs to do to subscribe to theme changes, but that may be behind WinEunuuchs2Unix's question.)

To make my life easier when tweaking gtk.css, I'm using Ikbel's bash function reload_gtk_theme (see https://askubuntu.com/a/1110354/304643). It basically saves, clears and restores your GTK theme using gsettings.


Rhythmbox doesn't change files on iPod (Lubuntu 16.04)

From help.ubuntu.com -

  A number of music players may or may not interface with an iPod.

  Rhythmbox - Although Rhythmbox will list the iPod on the left sidebar
  in its Devices section, it will not show any playlists that are on the
  iPod so you will need another Linux tool to load the files into the
  iPod's playlists.

  Banshee - Banshee's integration with the iPod is much better than
  Rhythmbox. The iPod shows up in the left sidebar in the Devices
  section and you can drag-and-drop playlists on top of the iPod device
  and it will load in the files names into the library, convert them to
  a format suitable for the iPod and synchronize between the iPod and
  Banshee all very smoothly without crashing as gtkpod does. What it
  does not do is manage iPod playlists as it cannot see them. For
  getting tracks into the iPod it is very efficient.

  Of all the music players, most are basic players, some like Rhythmbox
  and Banshee offer better integration with the iPod, but ultimately
  gtkpod is needed to manage the iPod.

In short, gtkpod and Banshee can be used to get tracks onto the iPod, but Rhythmbox cannot. More information at the link above.


cannot find /etc/proxychains.conf after installing proxychains

First, make sure the proxychains files are indexed by the
locate command
sudo updatedb

Once updatedb completes, use the locate command to see the location of the .conf file.
locate proxychains

Finally, use the command to access the configuration
sudo nano /etc/proxychains.conf


Any app like Slingscold or Slingshot Launcher for Ubuntu 16.04

I found no way to install slingshot (the one used in elementary os). I tried a lot of guides but none works and compiling from source code is a struggle because of a lot of unmet dependencies... too much software, too much time... But for slingscold this works:

sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install slingscold

I think they have recently changed the repository name. It works on Ubuntu 16.10.


GRUB2: black screen when booting Windows

When grub start windows, everything shall go on win7 hands... so I think the problem start before. It's a graphical problem, so I let grub work in no grafical mode at all:

sudo gedit /etc/default/grub

# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console

sudo update-grub

if don't work, I shall look bios setting looking to uncorrected configuration on pci or graphics CPU capability.


Multiple issues: Not regnizing second monitor, authentication failed & no Power Off

This resolved my issue- turned off machine using sudo shutdown now a couple of times.


After you have disabled "dynamic" workspaces using (GNOME) Tweaks and enabled "static" ones (with a fixed number, 4 in this case), install a GNOME extension called Workspace Grid. It

  Arranges workspaces in a configurable grid.
  Also:

  implements keybindings for left/right workspace navigation (up/down are already implemented)
  updates workspaces sidebar with grid configuration (use Remove Workspaces Sidebar if you don't want it).

From the extension's preferences you will be able to set your preferred layout (e.g. 2x2, 2x3, 3x3 etc.).

You may see its GitHub page for more detailed info.

Officially it doesn't support GNOME v3.26 yet, but it should work fine. Otherwise, you may be able to make it work adding "3.26" to its metadata.json file.

Update from the asker:
It worked out of the box without changing anything. Even my old custom shortcuts worked.

Update 2: Ubuntu 19.04

Currently the extension doesn't work with Gnome 3.32 and it might take a while before (if) it again will, because it's the current maintainer (thanks zakkak) is looking for for volunteers to take over maintainance). Suitable replacement can be Workspace Matrix which has a bit less features, but the main features are present.


Looking into the casper scripts I found that the system takes a casper-rw file only if it is on a vfat device.

If I want to use nfs, a device with the label "casper-rw" must be there, not a file.


8 and 9 are not valid.   Unfortunately, your list of options does not clearly have a 'not valid' option.  Though, all you had to do was try this in unix to find your answer.


I managed to solve my problem by removing nomodeset from the GRUB_CMD_LINE_LINUX_DEFAULT variable in /etc/default/grub and then running update-grub. I'm not sure why this change made any difference but apparently it doesn't work for me any more.


On which hard-drive is the home folder? (Using a USB Boot Disk)

The simplest way is to open the System Monitor by clicking the dash icon (top left) and entering System Monitor as the search. When it opens, click the File Systems tab and it will show you where everything is placed.

/dev stands for device. HDDs will normally be named SDA, SDB, SDC, etc.

The above shows 3 HDDs and 1 DVD rom. My linux installation is on HDD "b" (Hence, dev/sdb) and includes 3 partitions, one for Root "/dev/sdb/", one for boot "/dev/sdb/boot" and one for home "/dev/sdb/home".

A second way of determining would be to use fdisk. Open a terminal (Press ControlAltT), enter sudo fdisk -l and input your password when prompted. It will output your drives and how they are configured.


Characters in filesystem replaced by Unicode boxes after upgrading to 20.04 LTS

Not sure if this will work for the Calculator app, but I found that for my terminal I simply had to go to Preferences and choose a new font. As soon as I selected a new font all the rest of them showed up correctly. This after trying all kinds of updates to font families, replacing the .bashrc file, changing font file permissions, etc...


Unable to install some programs due to CD/DVD prompt

You can either insert your DVD

else

remove cdrom as software source

To do that go to Ubuntu Software Center --> Edit menu --> choose software sources then uncheck the option installable from CD


Why can't I unset the executable bit on my files in a Veracrypt vfat partition?

Is this behavior normal?

Yes. VFAT is not a POSIX-style filesystem. Neither are NTFS, exFat, FAT.  Why do you expect Microsoft to follow Linux/Unix permissions?

  my files are always executable.

No, your -mount point- is set executable. As this is a Microsoft filesystem all Linux styled options (user, group, read, write, execute, etc) are set when mounting.

  How do I make it not-executable?

Don't mount it executable.

man page mount:

  showexec

  If  set,  the  execute  permission  bits  of  the  file will be allowed only if the extension part of the name is .EXE, .COM, or .BAT. Not set by default.


How to disable screen lock timeout from a script?

Partial answer (I didn't try to change configuration)

I think that new Ubuntu(s) use dconf and not gconf --- try to look for parameters in dconf-editor (settable via command line with the confusing-named gsettings).

I think that the relevant schemas are around org.gnome.desktop.screensaver, at least for gnome. I do not have Unity installed so I think you need to research a bit around to adapt...


How to change the theme of Ubuntu 13.10 in Ubuntu builder to mac OSx Lion

You should save it to a flashdrive and set it to have 2500MB of space reserved. then change the OS to look like a mac.


SSL/HTTPS website stop working after Server Changes

I got it working now.
Lightsail disable port 443 by default


Ubuntu 14.04 showing as external device, not separate OS beside Win8

Updating Windows, if it updates the bootloader, will make it so your computer boots into the Windows bootloader instead of GRUB. To fix this, you can try using boot-repair, which should bring GRUB back to the default.


I simply edited the /etc/fstab using

sudo nano /etc/fstab

and removed the recently added partition entry from the file. Mine was /dev/sda2 which I removed.

Then I rebooted using sudo systemctl reboot and it worked.

Taken from this answer to the question “Welcome to emergency mode!” Think it is a fsck problem.


Asked to replicate an issue with certain version of Ubuntu. Which ISO should i download?

By googling gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6) you will find this page. From there you can see that this is from version 14.10 Utopic Unicorn. You can download the appropriate image (desktop/server, 32bit/64/bit etc) from there.

With the info you shared I think you want the 64bit server image which according to the mentioned page is this.


I have already tried 2 wacom models and just yesterday a student who I am teaching Ubuntu to brought a Wacom tablet, the Bamboo Create one. For 12.10 and 13.04 (The ones I tested yesterday for the class) you can simply connect the device and it will work out of the box.

If you need to configure anything for it (Like sensibility, orientation...) you will need to go to the System Settings panel and select Wacom Tablet.

It should give you all options available for that particular tablet.

For programs that work with it, well we tested yesterday Gimp, Inkscape and even the Compiz Fire effect. It could also be used as a touchscreen to select items in the Desktop.


Travis CI: apt-get installs one version of Firefox, firefox executable is still another?

On Travis CI, Firefox is pre-installed at /usr/bin/X11/firefox, which seems to be the build geckodriver was using, regardless of whether I used update-alternatives to specify which one I wanted.

So I started my build with:

whereis firefox | tr ' ' '\n' | grep bin | xargs sudo rm

to remove all existing versions of firefox. Then sudo apt-get update and sudo apt-get install firefox as in my question. This worked.

Thanks Ravexina for your debugging help!


Emacs column editing CUA mode - is it possible to select rectangular region with mouse?

try this:

(require 'cua-rect)
(defun hkb-mouse-mark-cua-rectangle (event)
  (interactive "e")
  (if (not cua--rectangle)
  (cua-mouse-set-rectangle-mark event)
(cua-mouse-resize-rectangle event)))

(require 'cua-base)
(global-unset-key (kbd "<S-down-mouse-1>"))
(global-set-key (kbd "<S-mouse-1>") 'hkb-mouse-mark-cua-rectangle)
(define-key cua--rectangle-keymap (kbd "<S-mouse-1>") 'hkb-mouse-mark-cua-rectangle)


Ubuntu 20.04 HP Pavilion installation problem

Try installing it on safe graphic mode. I got a HP Pavilion 15-cx0010ca and that did it for me.


How to install Windows Media Feature Pack? (Required by a game)

The minimum requirements on the games website are:

Minimum OS: Windows 8.1 64 Bit, Windows 8 64 Bit, Windows 7 64 Bit Service Pack 1, Windows Vista 64 Bit Service Pack 2.
DirectX 10

I remember that there was such a package for Windows Media Player 10 (the last version for XP) which basically added playback functionality for newer formats, but I'm not sure if that will solve your problem. You are probably just misguided by the installers requirement for this platform and how the target OS or Wine interprets it to satisfy this dependency (play video similar H.264 with Windows Media, I assume).

Since you trick the installer with Wine, make sure that your Wine configuration is set to correctly mimic at least Windows Vista and try to install Windows Media Player 11. WMP10 is the latest version PlayOnLinux and Winetricks seem to support and WMP12 is available since Windows 7, but might be even trickier to install than WMP11.

This is the mess you get, when you don't use the actual target platform but another implementation that tries to mimic it with best effort. A solution to this problem would be implement the functionality that results in this dependency by using another software component like gstreamer (and probably replace the DirectX 10 dependency), that would make it more interoperable or even a good Linux port. However that was not the intention of the game designers or staff responsible for the "PC port". The intention obviously was to provide the best experience and performance on Windows without researching what the best cross-platform solution to video playback is, and I can't blame them.


I don't know what you did ("accidentally messed up my menu" is pretty vague), but I suspect that you if you reinstall Firefox, it should be re-added to your menu.
sudo apt install --reinstall firefox

If that doesn't work, try:
sudo dpkg -P firefox
sudo apt install firefox

This should reinstall the /usr/share/applications/firefox.desktop file, hopefully re-adding it to your menu.


How to make Unity launcher change colour periodicaly

Intruduction
The script bellow loops over hex values of colors incrementally. It can be started at login or can be ran manually when one wishes so
Getting the Script
One can copy the source code from this post directly or through github using the following steps:

sudo apt-get install git
cd /opt ; sudo git clone https://github.com/SergKolo/sergrep.git
sudo chmod -R +x sergrep

The script file will be /opt/sergrep/unity_launcher_rainbow.sh
To make the script start automatically on every login, refer to How do I start applications automatically on login? . Provide /opt/sergrep/unity_launcher_rainbow.sh(full path) as the command
Script Source

#!/usr/bin/env bash
#
###########################################################
# Author: Serg Kolo , contact: 1047481448@qq.com
# Date: March 20,2016
# Purpose: Color changer script for Ubuntu Unity launcher
# Written for:
# Tested on: Ubuntu 14.04
###########################################################
# Copyright: Serg Kolo , 2016
#
#     Permission to use, copy, modify, and distribute this software is hereby granted
#     without fee, provided that  the copyright notice above and this permission statement
#     appear in all copies.
#
#     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
#     THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
#     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
#     DEALINGS IN THE SOFTWARE.
ARGV0="$0"
ARGC=$#
main()
{
  renice -n 10 $$ > /dev/null
  num=0;
  while true
  do
    set_unity_launcher_color   $(printf '%6.6xff' $num)
    num=$(($num+510))
    if [ $num -eq 16777215 ]
       then num=0
    fi
    sleep 0.05
    done
}

set_unity_launcher_color()
{
  schema="org.compiz.unityshell" # relocatable schema
  path="/org/compiz/profiles/unity/plugins/unityshell/" #must end with /
  key="background-color"
  hex_string=$1
  gsettings set "$schema":"$path" "$key"  "'#$hex_string'"
}
main


Total Blackness after Bumblebee uninstall

The problem is that you've uninstalled bumblebee without uninstalling the graphics driver. When you see the black screen, press CTRL + ALT + 1 (or F1 - try both) to bring up a console. Log in with your username and password. From here, uninstall your graphics driver (sudo apt-get remove nvidia-driver) or re-install bumblebee (sudo apt-get install bumblebee-nvidia). Afterwards, restart.

The black screen you're experiencing is because of the normal nvidia driver. See, everything in Linux happens through something called X. When you install nvidia-driver, it edits the config file for X (or you do) in order to avoid the black screen. But with optimus laptops, you need to pay around with it quite a bit more (aided only by Nvidia's own vague instructions). The only reason it's like this is because nvidia doesn't feel like doing anything about it.

It's no wonder Linux Torvalds cursed at NVIDIA.


If you don't plan on using any 3D applications at the moment, then I would stick with the Open-Source video drivers.  I don't have nVidia graphics, but I do have AMD's Radeon HD 4200.  In my experience, I have found that certain programs on Ubuntu 12.04 Precise Pangolin run better on my Toshiba Satellite L505D laptop when I use my Open-Source video drivers (packages look like "xorg-xserver-video-(radeon or ati)" and I will give you a few examples.

I found Google Chrome wouldn't work & display pages correctly and would crash when I used AMD's FGRLX proprietary video driver.  I think Compiz was affected by the FGLRX driver too.  I couldn't even change the brightness of my laptop's screen.  But after I correctly and safely uninstalled the proprietary FGLRX video driver and switch back to X.Org's open drivers, I noticed the above programs worked much better/correctly again.  Google Chrome started up and loaded web pages much faster going at light speed! I could've sworn Chrome worked faster on Ubuntu 12.04 Precise Pangolin than on my Windows 7 partition....

The downside was that my 3D gaming suffered, and I couldn't play Team Fortress 2 through WINE.  You could start the program, but you just couldn't play it.  Lol.


I had the same problem, then I solved it this way:

Turn off Bluetooth.
Open a terminal window (Ctrl+Alt+T) and run sudo service bluetooth restart.
Turn on Bluetooth.

Good luck.


Permission denied to to transfer files from remote server

If you are copying files from your remote server

Then why is the address you specify local 127.0.0.1

When entered from your local prompt. The command should read

scp REMOTE_USER@REMOTE_ADDR:/remote/file/location /local/file/location


Have system not try and use connected Wireless USB Adapter on Ubuntu, but be available to VMs to bind to

How ironic the easiest solution to solve the issue happens to be one of the solutions I already knew how to implement.  I now feel silly for asking in the first place...

I took an old-school power user approach to the issue.  It's already well known that any interface defined in /etc/network/interfaces will be considered "Not Managed" by NetworkManager - thus is the case of my Ethernet card on my laptop and my external USB ethernet adapter when it's connected.

Basically, I put a udev rule which assigns a specific name to the adapter, vm_wlan0, in /etc/udev/rules.d/70-persistent-net.rules:

# USB device 0x:0x (rtl8192cu)
# EDIMAX EDIMAX EW-7811Un N150 USB 2.0 Wireless nano Adapter
# Typically used for Kali VM
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="vm_wlan0"

Now that the interface name is 'static' on the system, in comes the /etc/network/interfaces file changes.  I basically borrowed these from the Debian wiki on Network Configuration which utilizes the /etc/network/interfaces file to bring a device 'up' without giving any real IP, then I tweaked it:

allow-hotplug vm_wlan0
iface vm_wlan0 inet manual
    pre-up ifconfig vm_wlan0 up
    post-up ifconfig vm_wlan0 down

This permits the computer to boot without failing to configure the network interfaces; at the same time, it brings the wireless adapter 'up' then takes it back 'down' so the device is still present on the host computer, but it is not 'on' from a networking standpoint, nor is it managed by NetworkManager.


No booting device after last ubuntu 18.04 update

If your screen looks like this:

Follow these instructions.


Bigger operator (>) shows up when I enter arguments in terminal

The > comes from bash's $PS2 variable. man bash says:

PS2    The value of this parameter is expanded as with PS1 and used as the secondary prompt string.  The default is ``> ''.

I often see > when I have an unmatched quote (") or apostrophe ('), or some other input that bash views as incomplete.


The combination of Chrome version 52.0.2743.116 and NVIDIA drivers 361.45.18 has fixed the crashing issues with WebGL. I may be wrong, but this commit looks related to fixing the issue.


Window decorations

The appearance of window borders, titlebars and buttons.

You will need an engine and a theme.

KDE Style

The elements of a graphical user interface, such as buttons, scrollbars, tabs, and menus.

You will need an engine and a theme.

In this case - QtCurve,Emerald

The QtCurve is in the official Ubuntu repositories. The QtCurve engine can be installed with the package: qtcurve

  Description: Unified window decoration for KDE and GTK+ (meta-package)
  This package installs all packages related with QtCurve:   *
  kde-style-qtcurve   * kwin-style-qtcurve   * gtk2-engines-qtcurve   *
  qtcurve-i18n  .  QtCurve is a set of widget styles for KDE and GTK+.
  It provides a consistent  look between KDE and GTK+ applications,
  which is easy on the eyes and visually  pleasing. Homepage:
  http://www.kde-look.org/content/show.php?content=40492

The Smaragd (Emerald for KDE): http://kde-look.org/content/show.php/?content=125162

  Description: Smaragd is a window decoration engine for the KDE window
  manager KWin. It allows you to use Emerald theme files (from
  Compiz/Beryl) with KDE SC 4.

The Smaragd can be found from the PPA repositories: https://launchpad.net/ubuntu/+ppas?name_filter=smaragd

Download the deb and install it.

Ice cream Theme

Download - unpack the tar package.

Extract the Ice cream QtCurve.emerald to the $HOME/.emerald/theme.

KDE System Settings > Workspace Appearance > Window Decorations > Smaragd

KDE System Settings > Application Appearance > Style > Widget style: QtCurve -> Configure -> Import QtCurve Settings File


Installing Ubuntu on and External Hard Drive and boot in a Mac

I don't know if it's possible to achieve this without it, but I managed to get my Mac to boot Ubuntu from an external hard disk by installing an Refind (a boot manager).

Hope this helps.


This seems to be a problem with permissions for the external drive to which I am backing up, not in principle related to sbackup. Will keep working and submit another question if needed. Thanks and sorry, John


fstab is a file, found in /etc - it belongs to root so you must use sudo to edit it - it controls where all the components of the filesystem go.
mkdir is just a command to create a directory.

If you wanted your drive to appear as, say, ~/windows, you would want to create that directory;

cd ~ ; mkdir windows

You then want to find out how the system  sees /dev/sda3:
sudo blkid /dev/sda3

/dev/sda3: LABEL="Var" UUID="4b0b7c0f-c09e-47a4-a5a6-c9ac3c8184a9" TYPE="ntfs"

This is because if you ever add another drive, the lettering may alter but the UUID won't. You can also see what format it has: ntfs most likely.

Then, you're ready to make the change -

sudo nano /etc/fstab or whatever editor you like.. and add the line

UUID=b0b7c0f-c09e-47a4-a5a6-c9ac3c8184a9 /home/you/windows ntfs defaults,user   0   2

to /etc/fstab - note that the UUID quotes are not used in the fstab. I have used ntfs in the example - use whatever format it gave from blkid! The final 2 numbers are 0 - pretty much always, see man fstab if you really want to know, & 2 - mount this after all the pass 0 & pass 1 drives so as not to delay boot.

Try sudo mount -a to check it actually works.

This doesn't take account of what seems a long delay in mounting at present - it may be a good idea to run a drive check in Windows?


WireShark Version 1.6.7 Uninstallation Ubuntu 12.04 LTS 64 bit

How did you install wireshark? Probably should have used Software center or Synaptic or apt, they can remove it for you.

Or if you downloaded some file yourself and extracted it, then just delete the extracted files, but that can be tricky to find them all & know whether or not any other programs depend on them (probably not in this case), that's why tools like apt are used.


14.04 - Can't print since 3.16-0-51-generic kernel update - how to report bug

The preferred method of reporting kernel bugs is done by using the terminal. To open the terminal press CTRL+ALT+T. When the terminal is open you enter ubuntu-bug linux and press the ENTER button.

When you're submitting a bug it is important to give as much information as possible. They'd like you to include a few things so be prepared for and include at least the following information:

The majority of kernel bug are hardware specific so be sure to note what hardware/device is being used.
Document any known steps to reproduce the bug.
Also note whether the bug exists in previous kernel versions of Ubuntu or if it's a regression from previous kernel versions.
Finally, it's critical to also make sure to test the latest development Ubuntu kernel version as well as the latest upstream mainline kernel.

This should cover most use cases. If you find this impossible or need additional information then please see the official Ubuntu Wiki page about filing bug reports.


Most games will run at 100% CPU utilisation, its part of their event loop to ensure high priority for what they have to do.  The event loop wants to stay in the CPU cache to ensure a smooth gameplay.

Most of the time choppy gameplay is down to reading textures from the HDD or network latency.

If you have a single core processor, other processes can interrupt the smoothness of the game.


How do I prevent being kicked back to the login screen every time?

I had the exact same issue after upgrading from 13.04 to 13.10.
None of the solutions here worked for me, so I found this bugreport. I removed Cinnamon/Nemo with sudo apt-get remove --purge cinnamon* and sudo apt-get autoremove and now everything works fine.


Compiling Intel-phc says I don't have headers

That kernel version  is strange, should be 3.13, are you sure it is not a case of Wrong kernel after upgrade --- old kernel still installed??

In that case a

sudo apt-get install linux-generic
sudo apt-get update
sudo apt-get dist-upgrade

then removing the hand-installed kernel and a reboot should solve the problem.

If you really need a different kernel and have it manually installed, you need to install the corresponding header packages, you have that explained here: https://wiki.ubuntu.com/Kernel/MainlineBuilds?action=show&redirect=KernelMainlineBuilds#Installing_upstream_kernels


How do I import OpenCV library into python 3.1?

According to this answer on StackOverflow, OpenCV doesn't support Python 3 and no one is working on Python 3 support either.


Failed to download repository information | Ubuntu 12.10

Are you sure that your computer has access to the Internet?
You can always download from other repositories.
Try pinging them first prior to downloading from them.
Maybe try wget or apt-get?


This works.

 sudo cp test.txt /usr

You need to be root to add files to /usr, it will ask you for your root password and, if you are the owner, you can move it.


Startup USB drive made with "Startup Disk Creator" is reported to have multiple issue with its GPT

Short answer ;-)

Well, in a way yes, in another way it should not be expected.

Long answer - cloning from the iso file

The Ubuntu Startup Disk Creator in Ubuntu 16.04 LTS and newer versions is a cloning tool. It clones the content from the iso file to the USB pendrive (or SD card or whatever mass storage device, that you intend to make a live drive).

Since several years (around 2013) Ubuntu iso files and most modern other linux iso files are hybrid iso files, which means that they can be burned to DVD disks and cloned to mass storage devices and the target devices will be bootable drives, that you can use to run a live system or installer.

Unfortunately there are still several tools, that do not understand the partition structure and file systems of iso files, the iso 9660 file system, and think that something is wrong.

lsblk has worked for years, and you can use

sudo lsblk -f
sudo lsblk -m

to list the partition structure and file system of USB boot drives cloned from Ubuntu iso files.

Recently there is a new version of gparted, that is recognizing it (instead of complaining). So things are improving :-)

gdisk is a special case. It is a tool to analyze GUID partition tables, GPT. The boot structure from a hybrid iso file is no GPT, and should not be expected to comply to it.

Examples:

Cloned (live-only) drive:

$ sudo lsblk -f /dev/sdc
NAME   FSTYPE  LABEL                     UUID                                 MOUNTPOINT
sdc    iso9660 Lubuntu 18.04.1 LTS amd64 2018-07-25-03-21-51-00
├─sdc1 iso9660 Lubuntu 18.04.1 LTS amd64 2018-07-25-03-21-51-00               /media/olle/Lubuntu 18.04.1
└─sdc2 vfat    Lubuntu 18.04.1 LTS amd64 0D5F-1DB6

Extracted (persistent live drive) created with mkusb:

$ sudo lsblk -f /dev/sdc
NAME   FSTYPE  LABEL                    UUID                                 MOUNTPOINT
sdc
├─sdc1 ntfs    usbdata                  1EA5276164CB00DA                     /media/olle/usbdata
├─sdc2
├─sdc3 vfat    usbboot                  902D-6496
├─sdc4 iso9660 Lubuntu 16.04.1 LTS i386 2016-07-20-12-17-32-00               /media/olle/Lubuntu 16.04.1
└─sdc5 ext4    casper-rw                737997c9-acf2-49bd-b7ae-ad34300775d5 /media/olle/casper-rw


What about adding something like this

[keyfile]
unmanaged-devices=mac:01:23:45:67:89:AB
# the mac address is only an example

to /etc/NetworkManager/nm-system-settings.conf, or blacklisting the wifi kernel module?


gpg2 -K seemed to work. I was able to decypt using 'gpg2' instead of gpg

Then you're already using GnuPG 2.1, which stores the secret keys in the pubring.gpg. Either never use gpg (GnuPG 1) at all, or copy the secret key to secring.gpg used by GnuPG 1 by exporting and importing it:

gpg2 --export-secret-keys [key-id] | gpg --import

You might also need to apply ultimate trust to the key:

gpg --edit-key [key-id]

On the GnuPG command line, now run the trust command and select ultimate.


The solution is two-fold:

Because you have a space in the file name, you need to enclose it in quotation marks. Either single quotes ' or double quotes ", in this case that doesn't really matter. Although perfectly legal to use spaces in file names, it is considered bad practice by many Linux/Unix specialists.
Linux is case sensitive when it comes to file names. So use Program Files rather than program files.

This should solve your issue:

gksudo gedit "/opt/limbo/support/limbo/drive_c/Program Files/limbo/settings.txt"


Listening to, and changing tracks on another PC on a LAN?

There are plenty of ways to do this; here are a few of them:
Web interface
Easy, convenient, cross-compatible, but hard to bind media keys.

Rythmweb
rythmote

SSH + Scripting
Very lightweight option.

rythmbox-client
amixer

MPD
This involves switching to an entirely different application than Rythmbox, but it may be worth considering if you have a setup in which you would usually prefer to control music remotely.

MPD Wiki

XMMS2
Similar to MPD; not as widely used but more recent.

XMMS2 Wiki

Remote Desktop/VNC
A little overkill unless you regularly have a session running anyway or very rarely control your media remotely.

Ubuntu Documentation: VNC


Is there a wifi driver for AR5523 chipset, on linux kernel 3.2+?

I found this have you looked at it yet? Atheros AR5523 devices

Hope it helps you.....Have an awesome day!


Support for Dell XPS 15 and HDMI working on hybrid graphics?

I have a Dell XPS, the HDMI is hard wired to the discrete card. I normally want that card turned off too save battery.
I use only the mini Display Port which works out of the box with an adapter to DVI/hdmi.
On the rare occasions I need the graphic accelerations of the discrete card I use bumblebee. I normally totally ignore the HDMI port, as the mini DP just works and the HDMI port has issues.


x-tile on Ubuntu MATE 17.10 : seg fault (error 4 in libX11.so.6.3.0 && error 5...)

As far I can understand, giuspen's PPA does not have x-tile package for 17.10.
After adding it to my system I have the following:

$ apt-cache policy x-tile
x-tile:
  Installed: (none)
  Candidate: 2.5-3
  Version table:
     2.5-3 500
        500 http://ru.archive.ubuntu.com/ubuntu artful/universe amd64 Packages
        500 http://ru.archive.ubuntu.com/ubuntu artful/universe i386 Packages

So we get x-tile package from universe repository.

Just installed it with sudo apt-get install x-tile.

On launch from terminal it crashes and writes similar error message to /var/log/syslog:

  Jan 26 23:31:58 artful-mate kernel: [ 544.374814] x-tile[3880]: segfault at fffffffff96324e0 ip 00007f86797a3c30 sp 00007ffd67a56c58 error 5 in libX11.so.6.3.0[7f8679778000+134000]

By the way libX11.so.6.3.0 library is installed with package libx11-6:amd64.

So I can confirm  this problem, I reported it to LaunchPad as bug 1745676.

On 16.04 LTS x-tile works normally.

Update: thanks to Giuspen for adding corrected version to PPA. Problem is fixed.

sudo add-apt-repository ppa:giuspen/ppa
sudo apt-get update
sudo apt-get install x-tile


Removing sources after building from them

You don't need anything except the binaries. Those should already be copied to another location by make install. The rest can be removed. If you're unsure make a backup before removal. Remove, test if still working, if still working remove the backup.

Note:
 As ændrük pointed out: Using checkinstall  over make install has the virtue of enabling Ubuntu to track the installation. Later you can revert any changes made using the regular Ubuntu package management.


Steam says I am missing 32-bit libraries

Use the following commands in a terminal (ctrl+alt+t):

mv ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1{,.disable}
mv ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6{,.disable}

When steam has started then update and you might want to use the commands again.


How to use setvcpus from libvirt command line?

For setvpcus to work you need to have "free" vcpus for the VM configured already. An example xml config extract where the cpu count is 4 and maximum 16

<vcpu placement='static' current='4'>16</vcpu>

I only tested this on CentOS 6 but it should be the same in Ubuntu. Some more info here:

https://serverfault.com/questions/617797/kvm-how-to-update-amount-of-cores-procs-during-runtime/617798#617798


here is the driver that Epson release
http://download.ebz.epson.net/dsc/du/02/DriverDownloadInfo.do?LG2=EN&CN2=&DSCMI=69276&DSCCHK=fbc915ed48294804d44c46bfcb92136c9bb78bd0

if you have 64bit Ubuntu, it comes down as epson-inkjet-printer-escpr2_1.0.11-1lsb3.2_amd64.deb so installs as a debian package: are you happy to do that? It was released Jan 2018

This is the link for the Epson portal for linux http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX so you can see where I started


Why is Python 2.7 still the default Python version in Ubuntu?

According to the release notes of Bionic Beaver:

  Python 2 is no longer installed by default. Python 3 has been updated to 3.6. This is the last LTS release to include Python 2 in main.

And the above statement is true. Python 2 isn't installed by default in 18.04 and versions released after that. Ubuntu has already moved almost all of its projects from Python 2 to Python 3. For example, according to release notes of Disco Dingo:

  Samba was updated to version 4.10.x, and one of the big changes here is python3 support. In Disco, samba and its dependencies are all python3 only now, with the exception of tdb. tdb still builds a python2 package, namely python-tdb, but all the others, including samba itself, are python3 only.

Moreover, even before the release of Ubuntu 18.04, Ubuntu/Canonical started asking developers to move to Python 3 because the end is near. From Python - Ubuntu Wiki:

  All Ubuntu/Canonical driven development should be targeting Python 3 right now, and all new code should be Python 3-only. If you can't do this because of your dependency stack, let's talk.

It seems that on your system Python 2 was installed intentionally or may be as a dependency of some other package whose developer haven't moved to Python 3. You can check the packages you have installed which are dependent on Python 2 by running

apt rdepends python --installed

The reason why Python 2 is invoked when python is run lies in the one of the historical point of PEP 394 -- The "python" Command on Unix-Like Systems:

  The python command should always invoke Python 2 (to prevent hard-to-diagnose errors when Python 2 code is run on Python 3).

On newer releases such as 20.04, Ubuntu provides two packages:

python-is-python2/focal,focal 2.7.17-4 all
  symlinks /usr/bin/python to the DEPRECATED python2

python-is-python3/focal,focal 3.8.2-4 all
  symlinks /usr/bin/python to python3

As the name suggests the earlier one would make python to invoke python2 and later will invoke python3. If you have no application which is dependent on Python 2, you can install python-is-python3 to make python to invoke python3. Alternatively, you can also edit the shebang of the script to /usr/bin/python3 to make script to directly use python3 as the interpreter.


Gave up waiting for root device - dropping to a shell

From terminal:

sudo -H gedit /etc/default/grub

From gedit add  rootdelay=15 inside quotation marks in the line GRUB_CMDLINE_LINUX="" to make

GRUB_CMDLINE_LINUX="rootdelay=15"

Save and close.

From terminal:

sudo update-grub

And reboot. Repeat the process, adding 15 to rootdelay until the problem is resolved. For me 75 did the trick.


How to create internet tunnel to my port http 80 like NGROK to show my website to my clients

You can use the ssh remote forwarding feature
In OpenSSH, remote SSH port forwarding is specified using the -R option
You can find free ssh servers providers online : https://www.fastssh.com/, https://www.sshkit.com/, https://www.vpnjantit.com/, https://spotssh.com/

# on the VM lamp server

ssh -nN -R 80:vmhost:80 public.external.com

-R for remote forwarding
-n prevents reading from stdin
-N do not execute remote commands

# this will make the external server forward tpc/80 traffic to vmhost:80 via an ssh tunnel


You need to click on the drop down icon on the right of the text searched.

For sorting from the columns that appears not to be the default settings anymore. As of now the bug is reported here.

You can try other file managers like Thunar or PCMan File Manager which may offer same functionality.


3 cpus in idle state and CPU4 50~100% usage

What you're seeing here is just a single-thread process running as fast as possible, with no pauses for user or storage inputs, no sleep cycles, etc.

This isn't unusual, at least for short times, and won't harm your CPU (Ubuntu will automatically throttle the clock speed as needed to keep core temperatures within limits, even if speeding up the cooling fan doesn't do the job).  If this behavior persists for more than a few minutes, you might have a script on an open web page that's in a loop (due to a bug, usually), or a process that's performing a relatively long-running task (I get this all the time for all eight of my cores because I run BOINC tasks).

Still, it won't harm the machine.


Don't know how to get launcher icons bigger?

In System Settings → Screen Display, you can move the Scale for menu and title bars slider in the lower left corner to a value greater than 1 to zoom all text and icons by the specified factor.


Compton: Incorrect shadow display (favourite settings)?

If you are talking about Privacy Badger shadow, then this problem could be solved by adding following line to your shadow-exclude list:

"class_g = 'Firefox' && argb"

It will remove shadow from such windows, but leave it on menu (if not disabled) and main window. Source is here & here. There're some explanation about the issue.


To remove Fluxbox Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below.

apt-get --purge remove xfree86-common
apt-get --purge remove fluxbox
apt-get --purge remove xfs
apt-get --purge remove xlibs-data
apt-get --purge remove xdialog

Source: damnsmalllinux

To remove OpenBox Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below.

sudo apt-get purge openbox obconf obmenu

To remove XFCE Under Ubuntu 12.10Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below.

 sudo apt-get remove abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview alacarte bison blueman brltty-x11 catfish espeak exo-utils flex fonts-droid fonts-lyx gigolo gmusicbrowser gnome-system-tools gnome-time-admin gstreamer0.10-gnomevfs gthumb gthumb-data gtk2-engines-pixbuf indicator-application-gtk2 indicator-sound-gtk2 leafpad libabiword-2.9 libbison-dev libdigest-crc-perl libexo-1-0 libexo-common libexo-helpers libfl-dev libgarcon-1-0 libgarcon-common libgdome2-0 libgdome2-cpp-smart0c2a libglade2-0 libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libgsf-1-114 libgsf-1-common libgstreamer-perl libgtk2-notify-perl libgtk2-trayicon-perl libgtkmathview0c2a libgtkspell0 libido-0.1-0 libindicate-gtk3 libintl-perl libjpeg-progs libjpeg-turbo-progs libkeybinder0 liblink-grammar4 libloudmouth1-0 libnet-dbus-perl liboobs-1-5 libotr2 libots0 librarian0 libsexy2 libtagc0 libthunarx-2-0 libtidy-0.99-0 libtie-ixhash-perl libtumbler-1-0 libunique-1.0-0 libvte-common libvte9 libwv-1.2-4 libxfce4ui-1-0 libxfce4ui-utils libxfce4util-bin libxfce4util-common libxfce4util6 libxfcegui4-4 libxfconf-0-2 libxml-parser-perl libxml-twig-perl libxml-xpath-perl lightdm-gtk-greeter link-grammar-dictionaries-en m4 orage parole pastebinit pavucontrol pidgin pidgin-data pidgin-libnotify pidgin-microblog pidgin-otr plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text python-configobj rarian-compat ristretto screensaver-default-images scrollkeeper shimmer-themes system-tools-backends tcl8.5 thunar thunar-archive-plugin thunar-data thunar-media-tags-plugin thunar-volman ttf-droid tumbler tumbler-common xbrlapi xchat xchat-common xfburn xfce-keyboard-shortcuts xfce4-appfinder xfce4-cpugraph-plugin xfce4-dict xfce4-indicator-plugin xfce4-mailwatch-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin xfce4-notifyd xfce4-panel xfce4-places-plugin xfce4-power-manager xfce4-power-manager-data xfce4-quicklauncher-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-verve-plugin xfce4-volumed xfce4-weather-plugin xfce4-xkb-plugin xfconf xfdesktop4 xfdesktop4-data xfwm4 xscreensaver xscreensaver-data xscreensaver-gl xubuntu-artwork xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-icon-theme xubuntu-wallpapers && sudo apt-get install ubuntu-desktop

Or you can use synaptic package manager.

For other Ubuntu releases, click on the desired version. 12.04, 11.10, 11.04, and 10.10.

Source: psychocats

To remove mate-core packages from your Ubuntu installation use following command.

sudo apt-get remove atril atril-common caja caja-common engrampa engrampa-common ffmpegthumbnailer-caja libcaja-extension libmarco libmate libmate-common libmatecanvas libmatecomponent libmatecomponentui libmateconf libmatecorba libmatedesktop libmatekbd libmatekeyring libmatemenu libmatenotify libmatepanelapplet libmatepolkit libmateui libmatevfs libmateweather libmateweather-common marco marco-common mate-applets mate-applets-common mate-backgrounds mate-conf mate-conf-common mate-control-center mate-corba mate-core mate-desktop mate-desktop-common mate-dialogs mate-icon-theme mate-keyring mate-media mate-menus mate-mime-data mate-panel mate-panel-common mate-polkit mate-power-manager mate-power-manager-common mate-screensaver mate-session-manager mate-settings-daemon mate-settings-daemon-common mate-settings-daemon-gstreamer mate-system-monitor mate-terminal mate-terminal-common mate-text-editor mate-themes mate-vfs mate-vfs-common mate-window-manager python-mate

To remove mate-desktop-environment packages use following command.

sudo apt-get remove libmatesensorsappletplugin mate-calc mate-desktop-environment mate-netspeed mate-sensors-applet mate-system-tools mate-utils mozo python-mate-menu system-tools-backends

Source: webupd8


Prevent duplicate script run at the sametime

Better approach would be to use a wrapper script, that will call the main script.  This would look like this:

#!/bin/bash
# This is /home/user/bin/wrapper.sh file
pkill -f 'main_script.sh'
exec bash ./main_script.sh

Of course wrapper has to be named differently. That way, pkill can search only for your main script. This way your main script reduces to this:

#!/bin/sh
cd /home/user/spiders/goods
PATH=$PATH:/usr/local/bin
export PATH
scrapy crawl good

Note that in my example I am using ./ because script was in my current working directory. Use full path to your script for best results

I have tested this approach with a simple main script that just runs infinite while loop and wrapper script. As you can see in screenshot, launching second instance of wrapper kills previous

Your script

This is just example. Remember that I have no access to scrapy to actually test this so adjust this as needed for your situation.

Your cron entry should look like this:

0,30 * * * * /home/us/jobs/scrapy_wrapper.sh

Contents of scrapy_wrapper.sh

#!/bin/bash
pkill -f 'run_scrapy.sh'
exec sh /home/us/jobs/run_scrapy.sh

Contents of run_scrapy.sh

#!/bin/bash
cd /home/user/spiders/goods
PATH=$PATH:/usr/local/bin
export PATH
# sleep delay now is not necessary
# but uncomment if you think it is
# sleep 2
scrapy crawl good


How can I make centering images in LibreOffice Impress easier?

Just go to View → Snap Lines  and tick all of the options. Also enable View → Ruler :

If you do this you will be able to see the center points of slides and stuff. You can also right click on the object and go to Alignment :


To produce the ã character, press first the ~ (red box 1 in picture) and then a (red box 2 in picture).

ç is produced by pressing the key designated in the green box.


In theory, yes, but you'll need to experiment, and the solution may be ugly or require a lot of work. A few approaches spring to mind:

The generic EFI user interface provided by Tianocore includes options to load drivers. This interface is used by VirtualBox and DUET, but the only hardware I know of that uses it is the Minnowboard. I've never seen a similar option in a regular PC, so as a practical matter this is unlikely to work. (I've also never tested this feature, so I don't know if it would properly bind the drivers once they're loaded.)
You could experiment with efibootmgr in Linux and/or bcfg in an EFI shell to load the driver from a FAT partition as the first boot option, with gummiboot on the ext2fs partition as a second option. I'm skeptical that this would bind the driver to the filesystem(s), though, so I suspect this wouldn't work. I might be wrong, though. If it did work, the driver would load and exit, and the EFI would then launch gummiboot.
An EFI shell script could load the driver, bind it to the filesystem(s), and then launch any program you like from the ext2fs partition. I'm pretty confident that this would work. On most computers, you'd need to install an EFI shell program as the default boot program. The big problem is that the EFI shell binaries I've seen all seem to impose a delay on startup to give you the option to not run the startup.nsh startup script, so this would slow down the boot process.
You could write a custom program that loads the driver, binds it to your filesystem(s), and then launches whatever program you like. In fact, rEFInd can do this job; however, that would be overkill, and the question then becomes: Why use rEFInd to launch gummiboot? If you have the skill to write the customized program, it would almost certainly be easier to modify gummiboot to load the ext2fs driver and then launch a kernel from an ext2fs partition.

All of these approaches would require putting the ext2fs driver (and an EFI shell or custom driver-loading program) on the normal FAT ESP. The only way to rid yourself of the ESP, if that's your goal, is to build your own custom firmware with built-in ext2fs support. (I suppose that could be another bullet-list item, but it would be a lot of work for a very minor benefit.)

A logical question at this point becomes: Why do you want to use gummiboot rather than rEFInd? rEFInd has most of gummiboot's capabilities and many more of its own, so it may be that rEFInd will do what you need. If you dislike the graphical display, you can set the textonly option in refind.conf to get a text-mode display similar to gummiboot's.


OSX Lion won't mount or read from Ubuntu 12.04 on a USB

i have been unable to boot Ubuntu from USB drives on my MacBook. It is tricky because your USB drive has to be formated in a special way. I am not sure about the details, but there are some guides here. Installing REFIT might you with booting, but i would simply use a Live CD for booting.
There is a special version for Macs available here: http://cdimage.ubuntu.com/releases/12.04/release/ or simply use this direkt link: http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-desktop-amd64+mac.iso


I cannot see a Ubuntu PC in my windows 10 network

I would recommend you follow the instructions here : https://itsfoss.com/share-folders-local-network-ubuntu-windows/

the folder should now be visible from windows.


APT is stuck because it can't remove an old kernel

Ok, after being stuck with this for a week, this is how I solved this.

Reboot, pick advanced options for ubuntu on grub selection then select your current kernels recovery mode.

After recovery mode boots up, just fix packages and clean, this will remove the broken undeleteable linux-image-extra package. And then reboot.


working dockingstation for lenovo carbon x1

The Matrox DualHead2Go will allow you to run two monitors from your laptop with Linux.


Which mode to choose for do-release-upgrade?

Good afternoon

If what you want is the ssh service you can use on both Ubuntu Desktop and Server. The difference is that the Server is already installed and not on the Desktop, however with this command line can install and use the same way.

Installation command: sudo apt install openssh-server

Print the SSH server status: sudo systemctl status ssh

You should see something like active:

  active (running)


Change screen colour depending on time of day

Redshift is the app just for you then! Install it with:

sudo apt-get install redshift-gtk

And then run it with the same package name.

Though you will have to turn location services on by going System Settings > Privacy and then turning them on if they are not already on (this should be roughly in the same place on other flavours):

Description:

Adjusts the color temperature of your screen with GTK+ integration
The color temperature is set according to the position of the sun. A
different color temperature is set during night and daytime. During
twilight and early morning, the color temperature transitions smoothly
from night to daytime temperature to allow your eyes to slowly
adapt.

To configure it to autostart just launch it and then turn on Autostart in its appindicator menu:

I am sorry that I cannot provide screenshots for comparison as the shading does not affect the screenshots, which is probably for the best.


Your HDD use a msdos partition table that can only hold 4 primary partitions.

So your main problem is to make room for another partition on the HDD: this might mean delete(backup before !) a primary partition to create an extended partition and be able to create logical partition inside it.

Then once you have room on HDD, you can use gparted (from a live CD/USB) that can simply copy/paste the whole root(/) partition from SSD to HDD. And after a reboot, it should be ok.

Or you can attempt an in-place conversion from MBR to GPT partition table. But this is for expert: How can I change/convert a  Ubuntu MBR drive to a GPT, and make Ubuntu boot from EFI?

Note:
Why, oh why do you need 250Gb for /usr/share ?? Mine is only 1.5Gb here...


Run the following commands to install cuda 5 on 14.04:

sudo apt-get update
sudo apt-get install nvidia-cuda-toolkit cmake build-essential

Then, extract and cd into the extracted archive and run the following commands to build:

mkdir build; cd build
cmake ..
make

This will build a bin file called currennt. Place this file in your PATH and you should be good to go.

Checking out the cmake files it looks like it just requires CUDA and not necessarily version 5. It checks for CUDA and does not actually specify a version although version 5 is available through apt-get anyhow.


Mount SMB share with gvfs from command line

At least with Ubuntu 18.04, the following works:

$ gio mount smb://<server>/<share>
Password required for share <share> on <server>
User [<user>]:
Domain [<workgroup>]:
Password:

The mount points are located in /run/user/<uid>/gvfs/ (idem $XDG_RUNTIME_DIR/gvfs).


Fixed it myself by installing Compiz configuration settings manager and following the steps below.

Choose Window Management from the left panel.
Click on Place Windows.
Make sure Placement Mode is Smart
Make sure the checkbox Enable Place Windows under Use This Plugin is checked.


Why does e-cryptfs keep filling up /tmp?

It seems this is a reported bug. Though supremely hard to discover.

https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1156398

  This bug was fixed in the package system-config-printer - 1.5.3+20141027-0ubuntu1

And, in the changelog,

 o Fixed infinite loop generating millions of links in /tmp when PPD file
   requested from a print queue is not readable (LP: #1156398,
   Closes: #764253).


After doing chmod 400 on /usr the sudo command is not working

Well - so you made /usr readable only to root, I guess (if no further changes). More over - you removed "x" by that which made the folder pretty much not accessible. Hence you can't now - as regular user - run sudo, which, if I remember correctly, is in /usr/bin/.

The best idea for now would be to start a system from LiveCD, mount your disk/filesystem and change the permissions back to 755.

And next time to be more careful with this kind of changes ;)


System upgrade 13.04 to 13.10 Filesystem check or mount failed

Hold down Shift when booting to open up the GRUB menu. Select the latest version of the kernel (recovery). Then run your commands that are supposed to fix it.


There is no universal wrapper (not that I've found), but the best thing (that I did find) is copy and learn...

1) Some documentation.

2) Many indicators with their source from which to choose and model.

3) My own indicators are a good starting point ;-)


The source code on github has mentions of Qt5 and KF5, so I was preliminary wrong about its obsolescence.

We can compile and install it:

sudo apt-get install git build-essential cmake extra-cmake-modules \
qt5-default dh-buildinfo docbook2x libcdparanoia-dev pkg-kde-tools \
qtscript5-dev libqt5x11extras5-dev libkf5plasma-dev \
libkf5completion-dev libkf5crash-dev libkf5iconthemes-dev \
libkf5kcmutils-dev libkf5kio-dev libkf5cddb-dev

cd ~/Downloads
git clone https://github.com/KDE/audex.git
cd audex
cmake .
make -j3

sudo make install

And then use it as usual.


They are the same or 1 is a predecessor of the other.
So note the SNAPCRAFT reference with the 2nd as this denotes that the installation is method using snap.
You can install different firefoxes from

regular Ubuntu apt repository
snapstore
directly from Mozilla

Depending on versions and packaging those can be 3 different installs.


Lighttpd configuration multiple subdomains

You have two solutions.

First one

Redirect traffic to the www if the domain is domain.com:

$HTTP["host"] =~ "^domain\.com" {
        url.redirect = (
                "^/(.*)" => "http://www.domain.com/$1",
                ""       => "http://www.domain.com/"
        )
}

Second one

Handle traffic for both www.domain. and domain. (be careful about the duplicate content then). Replace the old rule for www.domain. by:

$HTTP["host"] =~ "(^domain.)|(^www.domain.)" {
    alias.url = ( "/system/" => "/var/www/system/" )
        proxy.balance = "fair"
        proxy.server  = ( "" => (
            ( "host" => "127.0.0.1", "port" => 5750)
             )
        )
}


How to open Terminal with last tabs open?

I would strongly recommend the use of tmux or screen for this. They are what are called terminal multiplexers and allow you to run many terminals with different tab and pane configurations.  They both have powerful configuration files that allow you to specify tab and pane configuration on startup.


Can adobe reader run from 64-bit Ubuntu?

Adobe Reader can run on 64-bit Ubuntu, but it's a 32-bit program, so you need to install the 32-bit version of the libraries it depends on.  Since 12.04 Ubuntu uses the Multi Arch system to install dependencies like this.

First, install the 32-bit version of Adobe Reader's dependencies:

sudo apt-get install libgtk2.0-0:i386

Now we can install the 32-bit Acrobat Reader package downloaded from Adobe's Website:

sudo dpkg -i AdbeRdr9.5.5-1_i386linux_enu.deb


How do I make my current installation of 12.04 like when I first installed it?

I'm afraid this news will come too late, but it will be of use next time: you would have been able to return to your old situation -- as a matter of fact, to switch between the mess and your pristine Ubuntu -- if you had set up a root jail (using e.g. pbuilder) before starting to mess about.

However, not all is lost. From /var/log/apt/ you should be able to trace the packages you installed. An apt-get --purge remove of all of these should get you back to just where you were. That's one of the good things of the Debian packaging system.

If your mucking about involved not only apt-get installs, but also sudo make installs, then your luck depends somewhat on how well that software was packaged. Do however try the corresponding sudo make uninstalls. And remind yourself again to next time set the installation prefix to /usr/local :-/


Wifi usb adapter not working/ how to install drivers?

Try to build this: https://github.com/terence-deng/mt7601u
$ sudo -s
# apt-get update && apt-get install -y git wget gcc make build-essential linux-headers-$(uname -r)
# git clone https://github.com/terence-deng/mt7601u
# cd ~/mt7601u && mkdir -p src/mcu/bin && \
wget -c 'http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/mt7601u.bin' \
-O 'src/mcu/bin/MT7601.bin'
# make clean && make all
# ./load.sh


No. Visual Basic is a Microsoft product that does not work with Linux/Ubuntu. VB does also not properly work using a tool like wine (let alone that a bank should be working with wine).

If you want to become independent of Microsoft and that software you use was built in-house someone will need to re-code all your software from Visual Basic to something like Python or Perl for it to work on Linux/Ubuntu.

The Oracle 8i database is still supported by Oracle? Oracle 12c works on Ubuntu but that is a newer system and probably also requires you to upgrade.

Besides security related problems: if that Windows XP is not connected to the internet you can keep using it while creating an alternative. It is going to take time and money to transform software from Windows XP to Ubuntu or even to another Windows. You should have started creating alternatives the day Microsoft announced it was going to stop support for XP.


Dell inspiron WiFi disconnecting Qualcomm Atheros AR9485 on Ubuntu 18.04.2 LTS

Because there are 8 people in your area using the same channel that you are using (Channel 1) but there are only two people using channel 6, you should get the best performance by switching to one of the following channels:

Channel 08 : 2.447 GHz

channel 09: 2.452 GHz

or

Channel 13 : 2.472 GHz

You can set the channel frequency in the settings of your wireless router.

Usually, this will fix the issue. Because this is only happening at home, I believe this is the core issue that you are dealing with. If you try this and you are still having the same trouble, there are a few more tricks we can try to solve the issue so please post a comment to let me know if this does not work for you. Thanks!

image source: Wikipedia

iwlist channels shows:

wlp7s0    13 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Current Frequency:2.412 GHz (Channel 1)

iwlist scan shows the channels in use in your local area:

Channel occupancy:

      8   APs on   Frequency:2.412 GHz (Channel 1)
      3   APs on   Frequency:2.422 GHz (Channel 3)
      2   APs on   Frequency:2.437 GHz (Channel 6)
      4   APs on   Frequency:2.462 GHz (Channel 11)


KDE no longer available on Kubuntu instead boots gnome

Try
Reinstall package and its installed dependencies
for the package kubuntu-desktop.

That should fix the problem.


Apparently this was a bug in the Nvidia driver. The new version specifically fixes this problem, but it is only available on Nvidia's website as of yet.


libdbus-java - CreateInterface fails with [Fatal Error] introspect.dtd:1:3:

Just run the following:

gdbus introspect --session --dest org.freedesktop.Notifications --object-path /org/freedesktop/Notifications --xml | sed -e '/DOCTYPE/d' -e '/introspect.dtd/d' > org.freedesktop.Notifications.xml
CreateInterface --system --create-files org.freedesktop.Notifications.xml


Frequency not supported when booting / Frecuencias no soportadas al arrancar

Maybe your grub uses a resolution your Monitor does not support. I suggest to try the following:

boot ubuntu
edit the file /etc/default/grub as root and search the following line:

#GRUB_GFXMODE=640x480
if applicable remove the leading '#'
set the setting to a value supported by your screen. You can as well set the color depth
e.g.:

GRUB_GFXMODE=800x600x16
invoke the command update-grub as root:

sudo update-grub
reboot

Be careful, mistakes in the grub configuration could lead to an unbootable system!

edit: also it might be necessary to increase the time you have for OS selection in grub2, if your monitor is too slow with adjusting grub could be gone before the monitor showed the bootloader menu use the setting:

GRUB_TIMEOUT=

also make sure that the following line is commented out with a leading '#':

#GRUB_HIDDEN_TIMEOUT=0

dont forget to invoke update-grub after editing /etc/default/grub, else your changes wont become set.


I think Suspending your system keeps parts on, like you said.  That is the default for Ubuntu. Windows, on the other hand, uses Hibernate by default.  Try using Hibernate instead

How to enable hibernation?


Command line podcatcher with per-podcast automatic/nonautomatic download

I use hpodder (sudo apt-get install hpodder;man hpodder). It lets me automate my downloads, I can set podcasts to be excluded from auto-download, I can set the status of individual podcast episodes so that they will or won't be downloaded. I run hpodder at night, when my mp3 player is plugged in to recharge. A command I use after subscribing to an existing podcast, with say, 1000 episodes, and I want to skip the first 995:

hpodder setstatus --status=Skipped --castid=82 $( seq 1 995 )


Using ffmpeg to encode from yuv to m4v with MPEG-4 encoder

You have placed your bitrate option in the incorrect place as the error is telling you:

Option b (video bitrate (please use -b:v)) cannot be applied to input file
akiyo_cif.yuv -- you are trying to apply an input option to an output file
or vice versa. Move this option before the file it belongs to.

Remembering that the FFmpeg options always use this flow:

ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

The following adjusted syntax applies the corrected bitrate option to the output file rather than the input file:

ffmpeg -s cif -r 30 -i akiyo_cif.yuv -c:v mpeg4 -b:v 64k -bt 32k -g 30 a02.m4v

The quality of the output file is not all that great as you have specified a quite low bitrate, but this can of course be adjusted. Something like the following better quality video encode settings looks great on my system:

ffmpeg -s cif -r 30 -i akiyo_cif.yuv -c:v mpeg4 -q:v 5 a02.m4v

But perhaps you have a very specific need for your output video that this will not suit...


How do I list folders with underscores first?

Since you have not specified the locale that you are currently using, this solution assumes that you are using en_US.UTF-8 as your default.

You can check this by running the command locale from the command line(Ctrl+Alt+t).

For example:

~ $ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

The variable that affects the sorting order of files is called LC_COLLATE.

According to the Ubuntu help pages, the LC_COLLATE variable determines "How strings (file names...) are alphabetically sorted. Using the "C" or "POSIX" locale here results in a strcmp()-like sort order, which may be preferable to language-specific locales."

The sort order will need to be changed from LC_COLLATE="en_US.UTF-8" to LC_COLLATE=C.

From the command line(Ctrl+Alt+t), enter:

update-locale LC_COLLATE=C

Important: You need to log out of your system and then log back in for the changes to take effect.

Running the locale command again, it should show that the LC_COLLATE variable has been successfully changed. Running the command ls -l again should reflect this change.


I've resolved in this way:

sudo chmod -R 777 /opt/lampp
sudo chown -hR nobody /opt/lampp
sudo chmod -R 755 /opt/lampp

then I noticed that I have another mysqld instance running and stoped it with:

sudo service mysql stop


sed - replacement group in command line double quoted

Problems were 2:

Unescaped backticks (Those are used to spawn a new process)
Unescaped parenthesis, so after fixing the backticks, the error was about not having a capture group.

sed -i -e "s/'\(\${RConstants\.staticPath}\/dist\/img\/app\/icons\.svg#[a-z_-]*\)'/\`\1\`/g" test

So this worked OK.


How do I install Qolibri from source code?

You can install EB library from repository:

sudo apt-get install libeb16-dev eb-utils eb-doc

Then you can compile and install qolibri with the following actions:

sudo apt-get install build-essential qt4-qmake libqt4-dev

cd ~/Downloads
wget http://acc.dl.osdn.jp/qolibri/29711/qolibri-1.0.4.src.tar.gz
tar -xzf qolibri-1.0.4.src.tar.gz
cd qolibri-1.0.4.src

qmake
make
sudo make install

After these steps you can launch qolibri.

For your information - Ubuntu also has EBView (EPWING dictionary viewer) in the repository, you can install it with

sudo apt-get install ebview


Why isn't Fluendo software showing up in 12.04 for purchase?

I believe this issue is now resolved.  When you launch the Ubuntu Software Center you will need to wait a few minutes as the package information is updated.  If you continue to experience problems please report them into the launchpad URL as I am subscribed there.

Thanks for your patience.


It has gone nowhere, its in the current directory. It has been renamed as .... (four dots).

As any filename having a . in front is treated a hidden file, so it has become hidden. So, if you do ls, you won't find it. Like always, you need the -a (or -A) option of ls to view the hidden files i.e. ls -a (or ls -A) to see it.

Let me break it down, you ran mv filename ..\.. , the first two dots would mean the parent directory if it were ../, but you have used backward slash ..\ which indicates shell to escape the next character but a dot . has no special meaning to shell. So, it will treat it as a literal . and the last . also added, so you got four dots .... as a filename.

To revert back to the previous (original) name, run mv .... filename.


How do I decrease touchpad sensitivity in KDE/Kubuntu on Dell Inspiron?

Make sure you've installed the kde-config-touchpad package. An "Touchpad" configuration module is then available in your "System Settings", aliased "synaptiks". It provides various configuration options for your touchpad, such as multi-touch options, cursor speed, scrolling options, "tapping", etc.


Keyboard shortcut for "Lock screen" not working

In the top panel right corner choose System Settings to select Keyboard in the   Hardware section, or type "key.." in the Dash then select Keyboard:

In the Shortcuts tab all key combinations are listed. You may change them there or add your own custom shortcut. To have the poweroff shortcut back add it with a custom shortcut for the following command:

gnome-session-quit --power-off

Note: to be able to add a custom shortcut we may have to clear an already existing shortcut if this uses the same keys.

The GNOME lock screen feature depends on the gnome-screensaver . In case you have removed it or did not install it in a custom environment you will have to install it first.


Kompozer was removed from the repository as it is no longer being maintained by its maintainer in the upstream(Debian).
References:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690251
http://packages.qa.debian.org/k/kompozer.html

As for your second question,
a suitable alternative for it would be Bluegriffon.

This is what it looks like:

To install it do the following steps:

Download the installer.
Right click on the Installer file. Pick the "Permissions" tab and
check the Allow executing file as program checkbox. (For security
reasons, most files aren't executable by default.)
Double-click on the installer file, and the GUI to install BlueGriffon will start.

About Bluegriffon, from its website:

  BlueGriffon is a new WYSIWYG content editor for the World Wide Web.
  Powered by Gecko, the rendering engine of Firefox, it's a modern and
  robust solution to edit Web pages in conformance to the latest Web
  Standards.

Partially reference: https://askubuntu.com/a/136849/11932

The latest bluegriffon can also be installed from the getdeb repository, by doing the following steps:

wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu precise-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

sudo apt-get update && sudo apt-get install bluegriffon

Courtesy: http://www.sourceslist.eu/software-tramite-repository/how-to-install-bluegriffon-editor-wysiwyg-on-ubuntu-12-04-from-ppa/


Here is your problem

error: X Error: GLXBadFBConfig error: Failed to create OpenGL context. error: Failed to create context!
error: device_create (GL) failed

You need at least OpenGL 3.2. Therefore install a better or proprietary driver for your GPU.


How to set LANGUAGE in locale permanently

grep to the rescue - the following 2 files need to be edited with sudo gedit to remove the locale:

/etc/default/locale
/home/<user>/.pam_environment


How do I disable the swipe to unlock curtain?

Open Ubuntu Software Center, click search sign at the right upper corner of the window and type in the search field "Gnome extensions disable screen shield" phrase. You'll see the "Disable Screen Shield" Gnome shell extension.

Install the extension and voila - the curtain has disappeared.


Stopping System V run level compatibility

The error messages seem to indicate that this is a missing-file problem, not a sysvinit runlevel problem.
Reinstall the missing files using apt.

Since, in your case, you are missing AppArmor files and you are using 14.04:

sudo apt-get install --reinstall apparmor


If you are using network-manager, the location of the connections is:

/etc/NetworkManager/system-connections/

You will find all the Wired and Wireless connections here, you can modify or delete any connection if you want.

After making any change run sudo service network-manager restart.


How to download Firefox 34 onto Ubuntu 14.04

You only need to either open the Ubuntu Software Center and look for Firefox, or run sudo apt-get install firefox in a terminal.

Most software that you'll need can be downloaded from a central repository, that you can search through the Ubuntu Software Center.


How do I stop  XML Copy Editor from crashing when opening a file?

It's known issue: link

You'll have to build it from source, or wait for it author.
And I'm not quite sure, but I think you'll need 1.2.0.6 version, and not the latest, which wont build because of dependencies


Ubuntu 16.04 unable to open after update and upgrade task, how to resolve that issue?

In the GRUB menu at startup, you should start Ubuntu in recovery mode. Later, once it's booted (if it does, I don't want to assume), select an older kernel (likely the second to most recent one) to install and reboot.


The weather information in METAR format was being downloaded from the NOAA website (it was world wide information) via the libgnomeweather library (and later via the libmateweather library). Around four years ago the NOAA announced it would discontinue that service. Apparently nobody noticed and when the service was discontinued a couple of weeks ago people started to find the message Failed to get METAR data: 404 Not Found in the syslog log (or in my case Falló al obtener datos METAR: 404 Not Found., as my computer is in Spanish).

UPDATE: this has already been fixed in the latest libmateweather (1.12.2) released for Ubuntu Mate 16.04, so this solution is not needed anymore. (However, that version may not work behind a proxy, but that's a different problem).

The fix to this has already been implemented in libmateweather, you can see the patch in the Mate Desktop GitHub repository as commit 835055e0d0b950d3f66ad236de7e40942f6f7d8e. However, it is not clear to me if this fix will be distributed for this Ubuntu Mate LTS (16.04) or not (as this is not really a security fix). Apparently it will be distributed for 16.10, as according to a post in the Mate Desktop blog regarding "known issues" with 16.10:

  Weather reports in the Clock and Weather applets are currently unavailable. A fix has already been committed and an updated package will land soon after Beta 1.

This is how I fixed it in my computer (recompile the libmateweather using the Ubuntu sources):

Enable sources downloading in APT. You can do this in the System / Administration / Software and Updates dialog, by checking the Source code item in the Ubuntu software tab. You can also enable them in the /etc/apt/sources.list file.
Using the MATE Terminal (or any other terminal program or directly in the Linux console), create a temporary directory where you can compile the libmateweather sources (for example, mkdir newlibmateweather) then change to that directory (cd newlibmateweather).
Download the sources of libmateweather (apt-get source libmateweather), note this does not require to use sudo).
Install the dependencies required to build the package (sudo apt-get build-dep libmateweather). Also install the fakeroot package (sudo apt-get install fakeroot).
Edit the ./libmateweather-1.12.1/libmateweather/weather-metar.c file, changing the following lines:

At line 525, change "National Weather Service" to "AVIATION WEATHER CENTER"
At line 553, change "http://weather.noaa.gov/mgetmetar.php" to "http://aviationweather.gov/metar/data"
At line 554, change "cccc" to "ids"

Change to the library source directory (cd libmateweather-1.12.1/).
Create .deb packages (dpkg-buildpackage -rfakeroot -uc -b). This may take a while. At the end you will find several .deb files in the parent directory according to the architecture of your computer (for example, in mine, that created libmateweather1_1.12.1-1_amd64.deb, libmateweather1-dbg_1.12.1-1_amd64.deb, libmateweather-common_1.12.1-1_all.deb and libmateweather-dev_1.12.1-1_amd64.deb.
Install the main lib package you just compiled (sudo dpkg -i libmateweather1_1.12.1-1_amd64.deb).
You may need to restart the applet(s) or the whole panel or remove it and then add it or logout and login again.

This is the result:

Notes:

All required packages to recompile libmateweather will be installed automatically when you run the apt-get build-dep command and when you install the fakeroot package.
I'm not sure what will happen if a new version of libmateweather is released and distributed for 16.04 (my guess is that this change will be overwritten). However, if a new version is released for this LTS then it may include (or not) this fix. A way to avoid that (the overwriting) is to use sudo apt-mark hold libmateweather1.
If you have multiple computers, just compile this once per-architecture and use the .deb file in all your computers. If you have lots of computers to maintain (in your company, organization, school or whatever), a more complete solution would be to create a local private repository so that APT can install the package automatically from it.


WiFi AP's have no internet connectivity after seting up IPTABLES

There is no ability to create an outgoing internet connection from your clients. At the outset iptables doesn't know to deal with the packet, which would thereafter traverse the FORWARD chain.
In your INPUT chain, perhaps before your port 67,68 stuff, add this line:
sudo iptables -A INPUT -i enp1s0f1 -s $INTNET -d $UNIVERSE -j ACCEPT

where:
$INTNET is your internal network definition,
i.e. INTNET="192.168.111.0/24" in my case.
$UNIVERSE is anything,
i.e. UNIVERSE="0.0.0.0/0"
Also change this:
-A INPUT -m state --state ESTABLISHED -j ACCEPT

to this:
sudo iptables -A INPUT -i enp1s0f0 -s $UNIVERSE -m state --state ESTABLISHED,RELATED -j ACCEPT


How to install Windows 7 from Ubuntu without burnning a disc

If you’re running on ubuntu and want to install Windows 7 without burning a disc, you can try following steps to install Windows 7 with the iso file.

Step1:

Download grub4dos from:http://download.gna.org/grub4dos/grub4dos-0.4.4-2009-06-20.zip Decompress the grub.exe and put this file into root directory of Ubuntu partition (“/”).

Step2:

Create a 4GB ntfs partition and paste all files from Windows7 iso into this partition.(use this GUI tool:sudo apt-get install gparted ntfsprogs.launch from system->administrator menu).
use this command to mount the Win7 iso(change “/path/to/your/iso”):

sudo mount /path/to/your/iso /mnt -o loop

then cope all files in /mnt and paste them into root directory of previous created ntfs partition.

Step3:

For Ubuntu 9.10 (use grub2):
run:

sudo gedit /etc/grub.d/40_custom

paste following into the end:

menuentry "Grub for Dos" { insmod ntfs

set root=(hdx,y)

linux /grub.exe
}

Note:  here “set root=(hdx,y)” need change,my ubuntu was installed in /dev/sda11,so it

should be “set root=(hd0,11)”

then,run:

sudo update-grub

For ubuntu 9.04 and old versions(use old grub boot loader):

run:

sudo gedit /boot/grub/menu.lst

add following:

title grub4dos

root (hdx,y)

kernel /grub.exe

boot

Note:“root (hdx,y)” is different to previous one,my ubuntu partition:/dev/sda11,and here

it should be “root (hd0,10)” (without quotes).

Step4:

Reboot and there is a new entry in grub:”Grub for Dos”or”grub4dos”.Select it and press c

to access to grub>,then:

grub>find --set-root /bootmgr

grub>chainloader /bootmgr

grub>boot

Now,we get into Win7 installation guide interface.Press Shift+F10 to cmd command

line,and run following in X:/sources loation to start:

setup.exe

hope it helps


Shell script options with parsing arguments

Something like this:

#!/bin/bash
CONTROLLER_IP=""

while [ "$1" != "" ]; do
  case $1 in
    -c|--controller-ip)
      if [ -n "$2" ]; then
        CONTROLLER_IP="$2"
        shift 2
        continue
      else
        echo "ERROR: '--controller-ip' requires a non-empty option argument."
        exit 1
      fi
        ;;
    -h|-\?|--help)
      echo "Usage: $(basename $0) --controller-ip <ip>"
      exit
      ;;
    --)              # End of all options.
      shift
      break
      ;;
    -?*)
      echo "WARN: Unknown option (ignored): $1"
      ;;
    *)               # Default case: If no more options then break out of the loop.
      break
  esac
  shift
done

echo "$CONTROLLER_IP"

Examples

$ ./foo --controller-ip 192.168.2.1
192.168.2.1

$ ./foo -c 192.168.2.1
192.168.2.1

$ ./foo --controller-ip
ERROR: '--controller-ip' requires a non-empty option argument.

$ ./foo --help
Usage: foo --controller-ip <ip>

$ ./foo -help
WARN: Unknown option (ignored): -help

As OP commented:

  I don't want help option.

#!/bin/bash
CONTROLLER_IP=""

while [ "$1" != "" ]; do
  case $1 in
    -c|--controller-ip)
      if [ -n "$2" ]; then
        CONTROLLER_IP=$2
        shift 2
        continue
      else
        echo "ERROR: '--controller-ip' requires a non-empty option argument."
        exit 1
      fi
        ;;
    --)              # End of all options.
      shift
      break
      ;;
    -?*)
      echo "WARN: Unknown option (ignored): $1"
      ;;
    *)               # Default case: If no more options then break out of the loop.
      break
  esac
    shift
done

echo "$CONTROLLER_IP"


wifi setting missing - No additional drivers available. -Network UNCLAIMED

Intel 8260 adapter is not supported by the 3.19 Linux kernel.

You installed Ubuntu 14.04.3, not 14.04.4 with the 4.2 kernel.

There are two options to get Wi-Fi working:

Upgrade the kernel in your 14.04 installation by running in terminal

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

Upgrade your system to 16.04 or do a fresh install of 16.04.


Need to downgrade a package with many dependents

I think ppa-purge would solve your problem.

Install it:

sudo apt-get install ppa-purge

Then run:

sudo ppa-purge ppa:andrikos/ppa


ZFS Pool not auto mounting after upgrade to 20.04

Here are some more suggestions.
Try adding the pool to the ZFS cache file:
sudo zpool set cachefile=/etc/zfs/zpool.cache pool

Make sure the ZFS service is enabled:
sudo systemctl enable zfs.target

Also make sure ZFS import cache service is enabled:
sudo systemctl enable zfs-import-cache.service

I can confirm that my own ZFS pool is imported via the /etc/zfs/zpool.cache file on bootup.
Let me know if this works for you.


My laptop stuck after trying to install ubuntu

From Comments , You started parting disk so windows was deleted . you need a new install . if you will get same error , try another version of ubuntu . like 12.04.1 LTS


Possible to use variables in a preseed file?

Yes. bootparam has this important part:

  Anything of the form 'foo=bar' that is not accepted as a setup function as described above is then interpreted as an environment variable to be set.

And appendix B.2.2 of "Automating the installation using preseeding":

  B.2.2. Using boot parameters to preseed questions
  If a preconfiguration file cannot be used to preseed some steps, the install can still be fully automated, since you can pass preseed values on the command line when booting the installer.

  Boot parameters can also be used if you do not really want to use preseeding, but just want to provide an answer for a specific question. Some examples where this can be useful are documented elsewhere in this manual.

  To set a value to be used inside debian-installer, just pass path/to/variable=value for any of the preseed variables listed in the examples in this appendix. If a value is to be used to configure packages for the target system, you will need to prepend the owner ( The owner of a debconf variable (or template) is normally the name of the package that contains the corresponding debconf template. For variables used in the installer itself the owner is “d-i”. Templates and variables can have more than one owner which helps to determine whether they can be removed from the debconf database if the package is purged.) of the variable as in owner:path/to/variable=value. If you don't specify the owner, the value for the variable will not be copied to the debconf database in the target system and thus remain unused during the configuration of the relevant package.

  Normally, preseeding a question in this way will mean that the question will not be asked. To set a specific default value for a question, but still have the question asked, use “?=” instead of “=” as operator. See also Section B.5.2, “Using preseeding to change default values”.

  Note that some variables that are frequently set at the boot prompt have a shorter alias. If an alias is available, it is used in the examples in this appendix instead of the full variable. The preseed/url variable for example has been aliased as url. Another example is the tasks alias, which translates to tasksel:tasksel/first.

  Note: Current linux kernels (2.6.9 and later) accept a maximum of 32 command line options and 32 environment options, including any options added by default for the installer. If these numbers are exceeded, the kernel will panic (crash). (For earlier kernels, these numbers were lower.)

  Note: The ubuntu.parmfile is limited to 11 lines only, each 80 characters long. (The precise limit is 11 lines with each * 80 characters plus additional 10 characters.) Hence it's recommended to try specifying more than just one parameter per line, separate parameters by single spaces and use as much (shortened) aliases as possible. But do not specify a single parameter (incl. it's value) across multiple lines! The case of the parameter as well as the sequence don't matter.

And B.2.4 has a list of aliases:

  B.2.4. Aliases useful with preseeding
  The following aliases can be useful when using (auto mode) preseeding. Note that these are simply short aliases for question names, and you always need to specify a value as well: for example, auto=true or interface=eth0.

priority    debconf/priority
fb          debian-installer/framebuffer
language    debian-installer/language
country     debian-installer/country
locale      debian-installer/locale
theme       debian-installer/theme
auto        auto-install/enable
classes     auto-install/classes
file        preseed/file
url         preseed/url
domain      netcfg/get_domain
hostname    netcfg/get_hostname
interface   netcfg/choose_interface
protocol    mirror/protocol
suite       mirror/suite
modules     anna/choose_modules
recommends  base-installer/install-recommends
tasks       tasksel:tasksel/first
desktop     tasksel:tasksel/desktop
dmraid      disk-detect/dmraid/enable
keymap      keyboard-configuration/xkb-keymap
preseed-md5 preseed/file/checksum


How to install ROS Melodic on Ubuntu 19.04?

Melodic is not supported on 19.04. Target platforms are listed at: https://www.ros.org/reps/rep-0003.html

You can see the planned release schedule here: http://wiki.ros.org/Distributions#Release_Schedule

With the next release, noetic, planning going on here: https://github.com/ros-infrastructure/rep/pull/202/files

Related: https://answers.ros.org/question/322377/unable-to-install-ros-melodic-on-ubuntu-1904/


since my own installation of firefox developer edition did not show up in my list of installed programs, I got rid of firefox developer edition by manually doing common sense backtracking its installation via deleting it via > downloads > next > programs > etc... then finally a "delete" wizard installation box! ...lastly, do a pc restart. tom, 12-17-14.


What would cause a system freeze from navigation to /proc?

Just found https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1395880 - it seems to have something to do with a bug in Broadcom's proprietary Wi-Fi drivers.

The first thing that comes to mind is /proc/brcm_monitor0, a non-standard Broadcom interface that allows putting the Wi-Fi card in monitor mode. There was another bug that causes the entire kernel to crash when attempting to write to that file; I wouldn't be surprised if Nautilus tries to read the file to thumbnail it, triggering that bug and causing the kernel to crash. However, I have no idea if the two bugs are related or not.

EDIT: looks like reading the file triggers the bug too, and the file is chmodded 644, meaning that any user can read that file and thus trigger the bug. Simple hack to test this (too lazy to potentially crash my computer right now) would be to run sudo chmod go-r /proc/brcm_monitor0 in a terminal and see if Nautilus still freezes.