Aspire Acer V3-571G-9686: Wireless Issues

It is a hardware problem of the network adapter (qualcomm atheros) in that and other ACER models.

I have the same model and looking on the internet found a simple solution to this issue, though I don't know why it works.

Here it is:

Open the lid on the bottom of your notebook (there are two screws). Inside you'll see the wifi card with a white and a black cable attached to it (the antennas). Gently unplug the black cable, it's not sealed, so you can plug it back in anytime.

That's it! Now just close the lid leaving the black cable unplugged and try your wifi.

You should experience no more problems.


Why does usb-creator-gtk require root access?

Policy Kit foresees the following actions related to Usb Creator

$ pkaction --verbose | grep -A1 '\.usb' | less
com.ubuntu.usbcreator.bootloader:
  description:       Install the bootloader
--
com.ubuntu.usbcreator.format:
  description:       Format the device
--
com.ubuntu.usbcreator.image:
  description:       Image the device
--
com.ubuntu.usbcreator.mount:
  description:       Mount a device

These are actions that only root can execute, given that block devices are owned by root.


How to configure my login screen to remember last session I used?

After selecting the session at the Login prompt, that option will be the default upon next reboot.


How to place desktop icon titles in the center?

It seems to be bug 1598316.

I downgraded gtk2-engines-murrine from 0.98.2-0ubuntu2.1 to 0.98.2-0ubuntu2 which fixed the issue for me.

How to downgrade package


Make a desktop shortcut of Chrome Extensions

All you really would have to do is get the Chrome Extension ID of the app and then add it to a .desktop file.
Goto chrome://extensions and that will bring them all up.  Look for the app in question:

Then add that ID with a /index.html at the end of it to the command that Google Chrome will launch.  For example, a "Line Chat.desktop" with the following lines:
[Desktop Entry]
Version=1.0
Type=Application
Name=Line Chat
Comment=Line Chat
Exec=google-chrome --app="chrome-extension://ophjlpahpchlmihnnnihgmmeilfjmjjc/index.html"
Icon=
Path=
Terminal=false
StartupNotify=false

You can always find an icon you like and add it to the Icon= line.
The --app=<url> argument tells Chrome to launch in app mode, hiding UI elements.  If you want the extension page to open in an ordinary tab, use something like
Exec=google-chrome "chrome-extension://ophjlpahpchlmihnnnihgmmeilfjmjjc/index.html"

instead.
Hope this helps!


You need to enable workspace switching in Ubuntu 14.04LTS, by default, Workspace switching is off.

Settings > Appearance > Behaviour > Enable Workspaces.

That's all. ctrl+alt+arrow_keys will let you go through workspaces.


Well lesson learned, always read the man page!

There's a ncmpcpp config option playlist_disable_highlight_delay = 0 which solves the issue of the highlighting fading away. When you set it to 0 it will stay highlighted forever.

Although what would be ideal would be if I could highlight other parts of my playlist and still have some indicator on what is currently playing. But c'est la vie, this is a solution.


DNS nameserver gets changed after disconnecting from VPN on Ubuntu 16.04

I've found the root cause and the solution to the problem.
openconnect uses /usr/share/vpnc-scripts/vpnc-script script, which OpenConnect calls for all routing and DNS setup.
After a bit of googling I realized that I was running
openconnect in the background and was using wrong signal to disconnect
it. Here are the commands I was using:
Connect:
sudo openconnect -b -u MY_USER --authgroup=any HOST --pid-file=/var/run/openconnect.pid

Disconnect:
sudo kill `cat /var/run/openconnect.pid`

According to man kill, kill command, by default, sends TERM signal and
according to man openconnect -SIGTERM makes openconnect exit
immediately without logging off or running vpnc-script. So, here we
go, I was using the wrong signal to disconnect openconnect, which was why openconnect wasn't using the vpnc-script to restore the routing and DNS. The solution was simple, what I needed was to use
-SIGINT signal in kill command:
sudo kill -SIGINT `cat /var/run/openconnect.pid`

NOT
sudo kill `cat /var/run/openconnect.pid`

This is for version v7.06.
Another solution is to install openconnect version 8 from this PPA
https://launchpad.net/~dwmw2/+archive/ubuntu/openconnect
which uses the vpnc-script for both SIGTERM and SIGINT.
SIGNALS
       In the data phase of the connection, the following signals are handled:

       SIGINT / SIGTERM
              performs a clean shutdown by logging the session off, disconnecting from the gateway, and running the vpnc-script to restore the network configuration.


Ubuntu One provides data synchronisation through desktopcouch, which is a local version of CouchDB which is automatically synced with Ubuntu One and all your machines. Some documentation for the cloud and Python APIs is available at Ubuntu One here, which may be useful if you want to build web apps or mobile apps which work with the same data as your Ubuntu C++ app.

The C/C++ API isn't yet on the developer site (it will be soon!), so here's a summary which should be enough to get started.

For C/C++, you have couchdb-glib and desktopcouch-glib. couchdb-glib provides the generic CouchDB API, and desktopcouch-glib just provides one object, which creates a Session object with all that is needed for connecting to Ubuntu One's desktopcouch.

So:

DesktopcouchSession *dc = desktopcouch_session_new ();

DesktopcouchSession is a subclass of CouchdbSession, so once you get one instance of it, you can use the methods in CouchdbSession to access the underlying CouchDB instance:

GSList              *couchdb_session_list_databases (CouchdbSession *session,
                                                     GError **error);
CouchdbDatabase     *couchdb_session_get_database (CouchdbSession *session,
                                                   const char *dbname,
                                                   GError **error);
gboolean             couchdb_session_create_database (CouchdbSession *session,
                                                      const char *dbname,
                                                      GError **error);
gboolean             couchdb_session_delete_database (CouchdbSession *session,
                                                      const char *dbname,
                                                      GError **error);

With those methods you manage databases, and with get_database and create_database you get an instance of a CouchdbDatabase object, which allows you to manage the documents in the databases:

GSList       *couchdb_database_get_all_documents (CouchdbDatabase *database,
                                                  GError **error);
gboolean      couchdb_database_put_document (CouchdbDatabase *database,
                                             CouchdbDocument *document,
                                             GError **error);
gboolean      couchdb_database_delete_document (CouchdbDatabase *database,
                                                CouchdbDocument *document,
                                                GError **error);

As you can see, for managing the documents themselves, there's another object, CouchdbDocument. Also, there are subclasses of this one for managing specific types of documents, like CouchdbDocumentContact (for contacts).

You can get the complete API reference by installing the #libcouchdb-glib-doc  package. Installing #libdesktopcouch-glib-dev  should pull in all the libraries you need.

The API gives you access to CouchDB, so of course you'll need to know how CouchDB itself works, and how you store data in it. The short answer is: data is stored in JSON documents, and extracted by document ID or with pre-computed views. http://guide.couchdb.org/ is the CouchDB book which explains Couch's method of data storage in more detail.

If you have questions, do please ping me (aquarius) or rodrigo on #ubuntuone on freenode. I'd be more than happy to talk with you about what you're planning to do and good ways to model that data in the Ubuntu One data storage system.


Window decorations are now handled in Unity, by enabling the window deco plugin you have disabled the unity plugin.

Navigate in nautilus to /usr/share/applications, click on the CompizConfig Settings Manager icon. Once open re-enable Ubuntu Unity Plugin ( click on plugin entry to find the option to enable

If you don't have any folders on the Desktop to open nautilus then just r. click > New Folder to create one.


How to update virtualenv from Python 3.5 to 3.6 on AWS with requirement.txt?

Not sure why the first approach does not work, but here is a work-around:

$ pip install virtualenv --user
$ virtualenv -p python3.6 newenv
$ newenv/bin/pip install -r requirements.txt


Ubuntu on VirtualBox very very slow (revisited)

Edit:

  Alright, so it was kind of my bad. After installation I did my first
  sudo apt-get update and realized my network connection wasn't
  working correctly. It was due to the way I set up my VM where I set the network
  adapter to attach to bridged network. This must've had caused the installation
  process to choke up like that. When retrying installation I left the
  VM settings to standard and every was smoof. Hope this is helpful to
  someone out there.

I feel your pain. If indeed the issues you're referring are:

During the beginning of installation everything seems to run fine
further in the installation things starts to look like frozen
wait long enough (15+ min) to see progress
occuring multiple times during installation

To be honest, I have tried to figure it out. No it's not the 3D hardware acceleration. It seems to me like it is the Paravirtualization Interface which I have set both to KVM and Hyper-V for testing but in both cases the issues persists. I stopped trying other settings once I got my Ubuntu 14.04 Server setup because I couldn't risk another hour of waiting for the installation to complete, it's ridiculous.

So my best guess is try either setting your System > Acceleration > Paravirtualization to anything other than I mentioned above, or System > Motherboard > Chipset selection somewhere?


That's talking about console-setup, not console-tools. Is console-setup installed?

If it isn't, it probably left /etc/init/console-setup.conf behind.

If it is, maybe reinstall it? apt-get install --reinstall console-tools.


In Ubuntu 13.10 go to: System Stteings->Sound
The list on the left shows all working sound devices. Select the sound device you would like it to use, and it should direct all audio output to that device. I had to do this for my USB headset, but now once I plug it in, it automatically defaults to it.


How can I uninstall Ubuntu 12.10 if I installed it with the Windows installer?

Just go to
My computer > Uninstall or change a program
& find ubuntu installer and uninstall that.
or
Go to: Control Panel> Uninstall a program


The reason you are getting that error is that you aren't trying to mount a ZFS share, you are trying to mount an NFS share. You shouldn't need ZFS installed on the linux machine. To mount it do

sudo mount example.hostname.com:/ubuntu /local/ubuntu

From https://help.ubuntu.com/12.04/serverguide/network-file-system.html#nfs-client-configuration


I would start by adding physical memory; you need at least 2GB to run Ubuntu. Or, you could try one of the lightweight versions, like Lubuntu or Xubuntu, both of which use less system resources.


Why is the Gogh Terminal theme not working correctly?

You can write colors configuration in .bashrc file. There are several places to set the colors (for example, there is dircolors, in /usr/bin/ binary file to set the colors for dir, setvtegb file to set the virtual terminal colors etc.). You can also create your own .dircolors file in your home directory.

For the terminal, it has its own color config files. For ls, it has its own color config file, for any other component, which requires color profiles, they each have their own color config files. So, you need to dig more into it from your own operating system.

To dig more into it, do type

apropos "terminal colors" //apropos - search the whatis database for strings


How does Ubuntu handle looking at a Windows Raid?

It could be "fakeraid" or Windows software raid.

I think that if Ubuntu recognizes your Windows partition (meaning it's fakeraid with an onboard controller supported by the kernel), then it should be safe to use it.  If the RAID is not recognized (and thus the Windows partition isn't seen), I wouldn't try to use it...


Why won't Ubuntu Single Sign On allow me to register?

Try emptying the cache and the cookies of your Web browser.  After that, restart your web browser and it should work.


Best option to remove windows and expand Ubuntu is, boot to a live Ubuntu DVD/USB, and run

sudo gparted

Now right click your windows partition and delete it so it is empty space (back up anything you need first as it is now gone) and click the green tick to apply.

Now you can right click on the Ubuntu partition and choose resize/move here you can expand Ubuntu in to the rest of the blank space.

Now just click the green tick to apply the partition and wait for it to finish, (could take a while) and Ubuntu will be the only OS with all the space.

You may also need to reinstall grub depending on where you had it installed, from a live DVD/USB open a terminal and run

sudo grub install /dev/sda

Assuming your Ubuntu drive is sda.

In the event you still can't boot, use boot-repair, to fix grub


No GUI after Kubuntu 18.04 LTS upgrade from 17.10

TL;DR; Run sudo apt-get install lightdm to let the system discover and install missing dependencies. In this case, the upgrade appears to have removed bindfs, so it had to be re-installed.

It turns out that the lightdm package was left in a broken state after upgrading. The sudo dpkg-reconfigure lightdm command ended up exiting with an error and saying that the lightdm package was broken or not completely installed.

So, running sudo apt-get install lightdm again after the upgrade had completed showed that bindfs was not installed. While, according to apt-cache show lightdm, the bindfs package shows up under the 'Suggests' category, letting the process install the package actually allowed the service to run as expected and fixed the problem.

It seems that this package is actually required by lightdm to work, but is (incorrectly) not listed as such, so lightdm ends up in a broken state after upgrading.

To fix this, just re-install it to make sure dependencies are met.


Pitivi Crashes Ubuntu after minimising the window

This is a known bug. I reported it but they don't seem to be fixing it. They blame it on compiz. It might help if you also comment on the bug or file the bug for compiz in Ubuntu 14.04.

I have experienced many bugs in Pitivi. It looks nice on first sight, but OpenShot is a lot more stable...


What does /to/ mean in your convert iso to img for mac

You should replace ~/path/to/ with the path of the folder where you saved the ISO image, for example ~/Downloads/:

hdiutil convert -format UDRW -o ~/Downloads/target.img ~/Downloads/ubuntu.iso


How do I fix "cannot find -lccp4c" to install Gromacs with Density Fit?

Install the libccp4-dev package. The package should be available for whatever Ubuntu release you're using. One good way to install it is to run:

sudo apt update
sudo apt install libccp4-dev

The libccp4-dev package directly provides the header files for the CCP4 libraries, which you need in order to compile software that uses them, and also declares dependencies on the other packages that provide the library binaries and data files, causing them to be installed too. That includes the libccp4c0 package that provides the binaries you're linking against.

Then, to build Gromacs with Density Fit, I recommend you go to the top-level source directory (i.e., the directory that was created when you unpacked the archive) and run:

rm -r build  # omit if you already deleted the old build directory
mkdir build
cd build
CCP4INC=/usr/include/ccp4/
cmake .. -DCMAKE_C_FLAGS="-I $CCP4INC" -DCMAKE_CXX_FLAGS="-I $CCP4INC"
make

(For a parallel build you might use make -j5 or something instead of just make. For N parallel jobs, use make -jN.)

This is similar to and based on the instructions at the bottom of that page, but I didn't bother to specify where the actual library binaries are. It was able to find those itself. I tested this on Ubuntu 19.10, which as of this writing is the development release (i.e., not yet released) so you wouldn't be running that on a production system. But I expect this to work on earlier releases as well. You might not even have to tell it where the headers are--usually that's not necessary either, for libraries installed with the system's package manager--but I did need to do that.

If you do end up needing to specify the library locations, you can do that by adding -DCMAKE_EXE_LINKER_FLAGS=-L/usr/lib/x86_64-linux-gnu/, assuming your system is a PC or Mac with a 64-bit Intel or AMD processor, running the 64-bit version of Ubuntu.

All together, the cmake command would be:

cmake .. -DCMAKE_C_FLAGS="-I $CCP4INC" -DCMAKE_EXE_LINKER_FLAGS=-L/usr/lib/x86_64-linux-gnu/ -DCMAKE_CXX_FLAGS="-I $CCP4INC"

I tested that, too, on the same system, and it also worked, with the subsequent make succeeding.

Below are some tips for finding packages that provide libraries, even when you don't know the name of any particular file in the library, as often occurs when you attempt to download and build software and the build fails because it can't find the library.

In general, packages that exist to provide libraries have names that start with lib followed by the name of the library. The apt list command accepts globs, in which * in a package name represents a sequence of zero or more of any character. In this case, apt list 'libccp4c*' would have been imperfect, because it doesn't list the relevant dev package.

I tend to search for the smallest important-seeming substring of a library name that seems like it might narrow things down enough, and then follow up with a larger substring if there are too many results to skim quickly. I happened to start by running apt list '*ccp4*', which found exactly what I was looking for on the first try.

Then I ran apt show libccp4-dev to make sure it was what I thought it was, and apt -s install libccp4-dev to see what would be installed without actually doing the installation.

After installing the package, I ran dpkg-query -L libccp4-dev | grep -F cmaplib.h to find what directory contains the CCP4 headers, because I happened to see an error message in a previous build attempt that mentioned that file. Otherwise I could have run dpkg-query -L libccp4-dev and inspected a bit more output.

I didn't end up needing to find the directory that contained the library binaries (see above), whose names tend to end in so, sometimes folllowed by a .-delimited sequence of numerals. But if I had needed to, dpkg-query -L libccp4c0 would have done it.


unable to boot into windows 10 after ubuntu installation

Do you have the Windows Bootable USB/DVD ? If yes, try to repair windows. People do face problems after dual booting Linux & Windows.

Repairing might just work !

Another way,
GRUB Option, as mentioned by @maxcampman


loading "explicit" iptables rules on boot or interface up

I use softether vpn on my pi. I use this gist to set it up.

Softether (or at least this script) puts iptable rules in /etc/rc.local

As an example, this is mine

 # Start VPN Settings

 for vpn in /proc/sys/net/ipv4/conf/*; do echo 0         > $vpn/accept_redirects; echo 0 > $vpn/      send_redirects; done
 iptables -A FORWARD -i br0 -o br0 -m state --state RELATED,ESTABLISHED -j ACCEPT
 iptables -A FORWARD -i br0 -o br0 -j ACCEPT

 # End VPN Settings

 exit 0

This should run your iptable commands on boot. May be a more appropriate way, but this seems to work for me (at least as far as vpn concerned, never had any issues)

Just make sure you put tables before

 exit 0


This useful extension provided you an option to add places to gnome panel.

Also check out other extensions at the main site.


If it's hardware issue, I suggest you to slow your double-click function.

You have to go to System Settings --> Mouse & Touchpad --> Double Click (adjust it to "Slow")


Failing to generate keys in Thunderbird Enigmail

Encountered the same or at least a similar problem on Ubuntu 18.04.

I installed Thunderbird via software application, and then added enigmail within Thunderbird's add-ons.

Tried to generate a gnupg keypair, but failed. A look into the logfile

tail -f /var/log/syslog

showed permission / access problems with apparmor, like:

**apparmor="DENIED"** operation="connect" profile="snap.thunderbird.thunderbird" name="/run/user/1000/gnupg/S.gpg-agent" pid=6239 comm="gpg" requested_mask="wr" denied_mask="wr"

I only then learned that Thunderbird was installed as a container-like snap app, and thus is supervised (and detained) by apparmor.

To check if this applies to you:

snap list | grep thunderbird

If you see Thunderbird installed as a snap app, you might like to remove and re-install it in order to get apparmor settings which will no longer interfere with normal Thunderbird/Enigmail operations.

CAUTION: a snap app will put all app files in your home directory, beneath the "snap" folder (NOT .snap). The removal of a snap app will delete most content of this folder, and your mail and calendar etc. data would be lost. To avoid this backup the whole thunderbird folder, to be able to copy the data back after an eventual re-install.

To remove Thunderbird as a snap app, do:

sudo snap remove thunderbird

To install it anew do the common

sudo apt-get install thunderbird
sudo apt-get install enigmail

Copy back your backup'ed data / folders. Recommendation: keep Thunderbird closed. Go into your new folder /home/{user}/.thunderbird and rename

xxxxxxx.default-release

into something like

xxxxxxx.default-release.OLD

copy your backup'ed default-release profile folder into this place and rename it to whatever xxxxxx.default-release originally was.

Adapt the profiles.ini file to reflect the xxxxxx - folder.

Start Thunderbird, create your gnupg keypair and have fun with it.


This error code means that /var/run/mysqld/mysqld.sock does not exists
you probably did not install MySQL server or it is not running.

sudo apt-get install mysql-server
sudo dpkg-reconfigure phpmyadmin


How to resize & create exfat partitions on SDCARD

Gparted and KDE Partition Manager do not resize exfat because there are no (command line) tools to resize exfat.

The easiest thing you can do is to backup all data from your exfat partition and copy it back later after repartitioning.


Edit /etc/apt/sources.list using sudo nano /etc/apt/sources.list and comment out line 56 (place a # in front of it).

On a new line, enter the following rule:

deb http://archive.canonical.com/ubuntu trusty partner

Save the file using CTRL + X.

Run sudo apt-get update to verify that the problem has been solved.


Pretty old question, but hopes this helps someone:
You need the protocol for the keyserver, e.g.

gpg --keyserver hkp://keyserver.ubuntu.com --recv-key <ID>


Remove Windows XP after installation of Lubuntu

One way is to run GParted from a live CD/USB. This will allow you to safely remove the Windows partition and resize the Lubuntu one to fill the entire drive. As always, be sure to have any important files backed up to a separate media. If you need a step-by-step, this How-To Geek should help.

It is possible that if the operation includes moving the start of the partition containing /boot that you may need to reinstall Grub2. There are several ways to do this. You could try using Boot-Repair (GUI) or grub-install (CLI) from the live media: Guide


Local website not working internally except with hosts entry

SOLVED:  There was some strange script buried in my Asus Router.  A factory reset solved the problem.


If you have Ubuntu 11.04, then it comes with the open-source wireless drivers for the Broadcom card. There is a caveat with some of the Broadcom wireless cards that many not work well. In this case, the driver will be loaded but not work. And if you try to install ndiswrapper on top of this, there will be a driver mess.

For previous versions of Ubuntu, it's OK to use ndiswrapper with the closed-source driver, as it is the only option (no open-source driver possible).

So, which version of Ubuntu do you use?


Create an unattended ubuntu 18.04 live cd that run on demo (try ubuntu) environment with premade various steps

You can achieve this with CUBIC https://launchpad.net/cubic

Note:
Tested the created Custom ISO with live USB with UEFI Boot Mode
Custom ISO Created with Ubuntu 18.04 with CUBIC and the ISO Ubuntu 18.04.3

Please see the Short Videos first before proceeding:

customized Grub color: https://imgur.com/GLbps3y
gnome-terminal execution: Exec=gnome-terminal -- /usr/bin/myscript.sh https://imgur.com/o7n1Ehh
script running, language, fav-apps: https://imgur.com/iuslpRp

from the 9 Points you mentioned..

the order of Points varies like this..

  for point

  (4) enable the universe and multiverse repository (my guess is there's
  something that could be added via sed to /etc/apt/sources.list )

in chroot environment of CUBIC run the below command

add-apt-repository multiverse

  for points

  (2) set the keymap to sweden

  (7) remove all the icons from the launchbar (eg. the music player, the sound one..) adding instead only firefox, gedit and terminal

  (8) set the gedit size to 18

  (9) disable the previews of files inside nautilus

paste the below content in a text file out side CUBIC, named 20_my-settings.gschema.override

# Custom Settings for keyboard-layout fav-apps, gedit & nautilus #

[org.gnome.desktop.input-sources]
sources = [('xkb', 'se'), ('xkb', 'us')]

[org.gnome.shell]
favorite-apps = [ 'firefox.desktop', 'gedit.desktop', 'gnome-terminal.desktop' ]

[org.gnome.gedit.preferences.editor]
use-default-font = false
editor-font = 'Monospace 18'

[org.gnome.nautilus.preferences]
show-image-thumbnails = 'never'

in chroot environment of CUBIC, run

cd /usr/share/glib-2.0/schemas/

then drag and drop the 20_my-settings.gschema.override file & click on COPY (green-highlighted)

to compile these new custom settings, run

glib-compile-schemas .

  for Points

  (3) disable both WIFI and BlueTooth, basically what appens when you turn the Airplane mode ON

  (5) do an apt-get update then apt-get upgrade assuming yes to all file
  replacements (avoiding rebooting the machines because makes no sense)

  (6) do an apt-get -y install screen unzip unrar rsync lm-sensors htop
  sysstat iftop ncdu fuse sshfs curlftpfs netcat-openbsd cifs-utils
  nfs-common portmap ntfs-3g samba exfat-fuse exfat-utils hfsplus
  hfsutils hfsprogs ncdu iotop dstat nmap because often i like to have
  this packets mounted for operate

paste the below content in a text file out side CUBIC, named myscript.sh

#!/bin/bash

sudo rfkill block wifi bluetooth
sudo apt update && sudo apt upgrade
sudo apt -y install screen unzip unrar rsync lm-sensors htop sysstat iftop ncdu fuse sshfs curlftpfs netcat-openbsd cifs-utils nfs-common portmap ntfs-3g samba exfat-fuse exfat-utils hfsplus hfsutils hfsprogs ncdu iotop dstat nmap

in chroot environment of CUBIC, run

cd /usr/bin/

then drag and drop the myscript.sh file & click on COPY (green-highlighted)

chmod 777 myscript.sh

paste the below content in a text file out side of CUBIC named autostart.desktop

Content:

[Desktop Entry]
Type=Application
Exec=gnome-terminal -- /usr/bin/myscript.sh
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=run-myscript
X-GNOME-Autostart-Delay=20
Comment=Run's My Custom Script after 20seconds of Login
Name[en_IN]=autostart.desktop

run

cd /etc/xdg/autostart/

then drag and drop the autostart.desktop file & click on COPY (green-highlighted)

run

chmod 777 autostart.desktop

  for point

  (1) start as toram, like when you go in f6, additional commands and write "toram" at start so that all system goes in ram and
  you can remove the cd after the loading.

Proceed with Next (green Highlighted) in CUBIC and at "Generate" screen edit the kernel parameter to add the option toram

Click on Generate --> Finish --> Close in CUBIC.. and your Custom ISO is ready..

Some Screenshots while doing this work


Configure workspace to start applications

You could use a combination of two approaches:

Install devilspie (and optionally the GUI configurator gDevilspie) and use that to determine the workspaces.
Make a script or scripts that launch the programs you want started, and put it/them somewhere in your PATH.


It is a bit a hidden feature in LibreOffice, it is not where you would expect it to be, but it is there:

Make sure the Picture Toolbox is enabled: select from the menu:
View > Toolbars > Picture

(Probably at the bottom), the picture tools become visible. Edit the transparancy:

Right click on the image, set "Wrap" to "In Background":

Right click again on the image, set "Anchor" to "To Page":

And you're done:


Is there going to be a friendly Unity settings window?

Obviously, application like this will be developed some day (unless Canonical dumps Unity).

For now, it's not coming. 11.04 is not helping with this at all. I couldn't find anything related to this from ubuntu Brainstorm. There doesn't seem to be any bugs filed, so most probably it will not be be fixed anytime soon.


How to run an application using sudo without a password?

You need to edit the sudoers file. Be advised that success gives you a less secure system and failure can break sudo.
ALWAYS edit the sudoers file with sudo visudo , as visudo checks for errors and will not save the file if any are found.

It's a bad idea to give everything permission to run as root without a password, so to just let through the one executable you need(apache2ctl); append the following to the very bottom of the file:

YOURNAME ALL = NOPASSWD: /usr/bin/apache2ctl

You can replace the path to an executable with "ALL" if you choose, giving you complete passwordless sudo.

Replace YOURNAME with your username and press Ctrl + X to save and exit. If an error occurred, it will offer to revert, edit, or save anyway.

Be sure that you use the full path to an executable: ie. /usr/bin/apache2ctl instead of just apache2ctl. This is important because without explicitly stating the path sudo will allow any program named apachectl on the user's current path to run as root.


Can not login Dashboard / Unable to find the server at mykeystoneurl

You need to be running a keystone server, and point the dashboard toward it via the OPENSTACK_HOST settings in local_settings.py


While agree that this question is a possible duplicate of the Reset question, I do have a solution.

Log into the recovery console.
Run unity & gconf-editor & unity.*
In gconf-editor, navigate to /apps/compiz-1/general/screen0/options

Double click the value "active_plugins".
Remove the cube from the list.
Close gconf-editor and the terminal window (to logout).
Now when you try to log into unity it should work. If it does not, you can try from the first step again, and see if unity gives you any useful errors, leading you to the plugin you need to disable.

* This will start Unity (thus loading that compiz profile just in case), which will fail of course, but then launch the gconf-editor and metacity. It can also give you useful output when unity fails to start.


Take a look at http://www.openoffice.org/product/base.html it may help.
I have not taken a proper look yet.


How can I encrypt all data in /var/www so no one except root can access it?

If you means owner, I think you can try the chown command, also chmod. I think it will help you.


Running sudo file -s /dev/sdc returns:

/dev/sdc: x86 boot sector

Making it very probable that the LUKS header, which was raw on disk, was overwritten by a bootloader. The default for Ubuntu without LVM seems to be to install a LUKS volume directly to the disk.

The system is actually dual-booting Windows 10 and Ubuntu (should have mentioned this, sorry!). To find out the culprit (hint: It's always Microsoft): we parse the strings in the first sector of the disk:

sudo dd bs=512 count=1 if=/dev/sdc 2>/dev/null | strings

Which shows for the backup disk with the lost LUKS header:

Invalid partition table
Error loading operating system
Missing operating system

The default boot drive has Grub 2 and for the same command returns:

GRUB
Geom
Hard Disk
Read
 Error

The Windows 10 disk with the Windows 10 boatloader:

Invalid partition table
Error loading operating system
Missing operating system

Bingo! Now I know that I manually installed the Windows bootloader only to the Windows 10 disk, as I had accidentally overwritten it myself with a Grub bootloader and I know the LUKS volume was still there afterwards. However, I have run several automatic Windows 10 repair utilities, as my Windows 10 install keeps freezing/crashing. So it could be possible that one of them decided to appropriate the backup disk for an extra bootloader.


update ubuntu 14.04 to 15.10 interupted and now will not boot

Make a CD-ROM or bootable USB and upgrade from the bootable installation. I think the install process shall detect installed Ubuntu on disk and it will upgrade it. Take a look here: Upgrading to 14.10 from iso. Only in your case it will be upgrading to 15.10.


How to install SQLite backend for GnuCash on Ubuntu 18.04?

I found it myself.

Just need to install libdbd-sqlite3 package.

sudo apt-get install libdbd-sqlite3

I got this info from https://wiki.gnucash.org/wiki/Building#Ubuntu_14.04_LTS_.28Trusty_Tahr.29


This is because you have half-installed packages. You may fix that with

sudo apt-get install -f

or, if that gives you an error as well, try to uninstall (and possibly re-install) the problematic package(s). In this case:

sudo apt-get remove google-chrome-stable

Edit: If apt-get doesn't work, maybe dpkg will:

sudo dpkg --remove google-chrome-stable


How to map the keypad (NUM) keys in vim?

The default settings of PuTTY are just fine. Do not change anything in PuTTY-> Terminal -> Keyboard (see above) or disable in PuTTY-> Terminal -> Features anything:

You can map in vi the NUM keys in the following way:

inoremap <Esc>Oq 1
inoremap <Esc>Or 2
inoremap <Esc>Os 3
inoremap <Esc>Ot 4
inoremap <Esc>Ou 5
inoremap <Esc>Ov 6
inoremap <Esc>Ow 7
inoremap <Esc>Ox 8
inoremap <Esc>Oy 9
inoremap <Esc>Op 0
inoremap <Esc>On .
inoremap <Esc>OQ /
inoremap <Esc>OR *
inoremap <Esc>Ol +
inoremap <Esc>OS -
inoremap <Esc>OM <Enter>

This setting is an example for using the NUM key as they should be. Of course you can change the mappings as usual.


Ubuntu VM with no IPv4 connection, only IPv6

There is a few different transition technologies which will allow an IPv6-only client to reach an IPv4-only service. I would expect most IPv6-only hosting providers to offer one of those transition solutions in their default configuration. And I believe DNS64+NAT64 is the transition solution most often chosen for this.

You should ask your provider if they have a DNS64+NAT64 setup for you to use.

Should the provider not have any NAT64 there is a few public NAT64 that you can make use of. I know of two providers which are currently operational:

http://www.trex.fi/2011/dns64.html
https://go6lab.si/current-ipv6-tests/nat64dns64-public-test/


The answer is that scripts were not identical as i thought. Firstly, i added logging of cron with this

@midnight /opt/sas/system/cleansandbox.sh > .../cron.log 2>&1.

There was #!/bin/bash - no such file or directory error. So the script contained extra carriage return at the end of the first line, which i detected using this $ head -1 cleansandbox.sh | od -c and then corrected the script with this sed -i '1s/^.*#//;s/\r$//' cleansandbox.sh. Now it works from cron. Thanks everyone for the help!


I have found a solution. The wiki page here describes a process for installing the ATI drivers.
So in the end, the steps I took were:

Install Ubuntu Server 10.10
Install ubuntu-desktop package
List item
Restart
Follow the instructions on the wiki page linked above, stopping when you get to the EDIT: STOP! line.
Restart
open ATI catalyst control center in administrative mode.
Set the monitor resolutions and configurations via the display manager tab. I tried several methods to set the resolution, but the only one that actually worked was go to each monitor's Multi-Display tab, and set the value to Multi-display desktop with display(s) 2, and then use the arrow that appears in the image in the monitor layout window at the top to select the resolution of each monitor.
Restart


Will it be possible to autohide indicators in some way in the future?

If you have too many indicators then some of your indicators probably shouldn't be indicators. Perhaps take a look at the Design guidelines to work out which ones these are.

(This is my personal view, I'm not sure how it tallies with the view of the Ayatana team.)


Set custom names for vmlinuz and initrd so multiple distros can share boot directory

You can't change the names for Ubuntu kernels because so many programs refers back to the original names. Take for example my current kernel 4.14.34:
$ locate 4.14.34 | wc -l
70192
$ ll /boot/*4.14.34*
-rw-r--r-- 1 root root  1496011 Apr 12 05:53 /boot/abi-4.14.34-041434-generic
-rw-r--r-- 1 root root   213406 Apr 12 05:53 /boot/config-4.14.34-041434-generic
-rw-r--r-- 1 root root 58514444 Apr 28 13:36 /boot/initrd.img-4.14.34-041434-generic
-rw-r--r-- 1 root root        0 Apr 12 05:53 /boot/retpoline-4.14.34-041434-generic
-rw------- 1 root root  3952348 Apr 12 05:53 /boot/System.map-4.14.34-041434-generic
-rw------- 1 root root  8607504 Apr 30 03:52 /boot/vmlinuz-4.14.34-041434-generic

There are 70,192 files link to kernel version 4.14.34 but only five of them reside in /boot where you wish to do your renaming.
As mentioned in comments there is little danger of ArchLinux using the same kernel name as Ubuntu because they have their own unique numbering system: How do I map Linux Kernels to Ubuntu Kernels?
NOTE: At the time this was run I had two Ubuntu 16.04 partitions mounted so the 4.14.34 file count is 35,096 for a single 16.04 installation. Also note headers are included which I believe are optional but which I always install "just in case".
Large listing
Below is the beginning of the locate listing. If vmlinuz were to be renamed the module files would likely not be locatable:
$ locate 4.14.34 | head -n1000
/boot/System.map-4.14.34-041434-generic
/boot/abi-4.14.34-041434-generic
/boot/config-4.14.34-041434-generic
/boot/initrd.img-4.14.34-041434-generic
/boot/retpoline-4.14.34-041434-generic
/lib/modprobe.d/blacklist_linux_4.14.34-041434-generic.conf
/lib/modules/4.14.34-041434-generic
/lib/modules/4.14.34-041434-generic/build
/lib/modules/4.14.34-041434-generic/initrd
/lib/modules/4.14.34-041434-generic/kernel
/lib/modules/4.14.34-041434-generic/modules.alias
/lib/modules/4.14.34-041434-generic/modules.alias.bin
/lib/modules/4.14.34-041434-generic/modules.builtin
/lib/modules/4.14.34-041434-generic/modules.builtin.bin
/lib/modules/4.14.34-041434-generic/modules.dep
/lib/modules/4.14.34-041434-generic/modules.dep.bin
/lib/modules/4.14.34-041434-generic/modules.devname
/lib/modules/4.14.34-041434-generic/modules.order
/lib/modules/4.14.34-041434-generic/modules.softdep
/lib/modules/4.14.34-041434-generic/modules.symbols
/lib/modules/4.14.34-041434-generic/modules.symbols.bin
/lib/modules/4.14.34-041434-generic/vdso
/lib/modules/4.14.34-041434-generic/kernel/arch
/lib/modules/4.14.34-041434-generic/kernel/block
/lib/modules/4.14.34-041434-generic/kernel/crypto
/lib/modules/4.14.34-041434-generic/kernel/drivers
/lib/modules/4.14.34-041434-generic/kernel/fs
/lib/modules/4.14.34-041434-generic/kernel/kernel
/lib/modules/4.14.34-041434-generic/kernel/lib
/lib/modules/4.14.34-041434-generic/kernel/mm
/lib/modules/4.14.34-041434-generic/kernel/net
/lib/modules/4.14.34-041434-generic/kernel/sound
/lib/modules/4.14.34-041434-generic/kernel/virt
/lib/modules/4.14.34-041434-generic/kernel/arch/x86
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/events
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/kernel
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/kvm
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/oprofile
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/platform
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/aes-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/aesni-intel.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/blowfish-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/camellia-aesni-avx-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/camellia-aesni-avx2.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/camellia-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/cast5-avx-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/cast6-avx-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/chacha20-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/crc32-pclmul.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/crct10dif-pclmul.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/des3_ede-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/ghash-clmulni-intel.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/glue_helper.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/poly1305-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/salsa20-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/serpent-avx-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/serpent-avx2.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/serpent-sse2-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/sha1-mb
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/sha1-ssse3.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/sha256-mb
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/sha256-ssse3.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/sha512-mb
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/sha512-ssse3.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/twofish-avx-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/twofish-x86_64-3way.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/twofish-x86_64.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/sha1-mb/sha1-mb.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/sha256-mb/sha256-mb.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/crypto/sha512-mb/sha512-mb.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/events/intel
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/events/intel/intel-cstate.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/events/intel/intel-rapl-perf.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/kernel/cpu
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/kernel/cpuid.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/kernel/msr.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/kernel/cpu/mcheck
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/kernel/cpu/mcheck/mce-inject.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/kvm/kvm-amd.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/kvm/kvm-intel.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/kvm/kvm.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/oprofile/oprofile.ko
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/platform/atom
/lib/modules/4.14.34-041434-generic/kernel/arch/x86/platform/atom/punit_atom_debug.ko
/lib/modules/4.14.34-041434-generic/kernel/block/bfq.ko
/lib/modules/4.14.34-041434-generic/kernel/block/kyber-iosched.ko
/lib/modules/4.14.34-041434-generic/kernel/block/mq-deadline.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/842.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/ablk_helper.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/aes_ti.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/af_alg.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/algif_aead.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/algif_hash.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/algif_rng.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/algif_skcipher.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/ansi_cprng.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/anubis.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/arc4.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/asymmetric_keys
/lib/modules/4.14.34-041434-generic/kernel/crypto/async_tx
/lib/modules/4.14.34-041434-generic/kernel/crypto/authenc.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/authencesn.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/blowfish_common.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/blowfish_generic.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/camellia_generic.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/cast5_generic.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/cast6_generic.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/cast_common.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/ccm.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/chacha20_generic.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/chacha20poly1305.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/cmac.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/crc32_generic.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/cryptd.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/crypto_engine.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/crypto_simd.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/crypto_user.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/deflate.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/des_generic.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/ecdh_generic.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/echainiv.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/fcrypt.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/keywrap.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/khazad.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/lrw.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/lz4.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/lz4hc.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/mcryptd.ko
/lib/modules/4.14.34-041434-generic/kernel/crypto/md4.ko


Another copy of splashtop streamer is running

I recommend that you try dumping this into a script instead of a single command.

I have taken the liberty of making a script for you. Feel free to use it. If not, a template is below to help you create your own:

#!/bin/sh

sleep n; #Causes computer to wait n seconds before moving on to the next line
python /path/to/python/script.py;

This will work because it runs everything in a single sh process. Basically, it's the exact same as typing both of those commands, one after the other, into a SH prompt.

Once you have the script and have saved it to a safe place. (I like /home/$USER/.bin/run-this.sh, run this command in your terminal (any terminal):

chmod 755 /home/$USER/.bin/run-this.sh

Finally, add it to whatever boot-time solution you want, such as "Startup Items", init, rc.d, or whatever.


"E: There are problems and -y was used without --force-yes" when installing php

Try to re-run apt-get update before you finaly run the

sudo apt-get install php7.0* libapache2-mod-php7.0

without the -y and without --force-yes.


You may try this to check mouse parameters :

Open a terminal and Run this command:

xinput --list --short

output :

abcd@abcd-abcde:~$ xinput --list --short

Virtual core pointer

↳ SynPS/2 Synaptics TouchPad                id=11   [slave  pointer  (2)]

↳ Logitech USB RECEIVER                     id=12   [slave  pointer  (2)]

for me my pointing devices are a Lgitech usb reciver and synaptic touchpad

To list out device Properties :

xinput --list-props "SynPS/2 Synaptics TouchPad"

check properties like acceleration deceleration and see if they seam allright:

if you need to change any value like suppose this one :

Device Accel Constant Deceleration (267):   2.500000

using this command :

xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Constant Deceleration" 1.5

You may have to play around with this number a bit to set it exactly as you need.

If you need to set this value automatically every time Ubuntu starts then :

create a .sh file

 #!/bin/sh

 "SynPS/2 Synaptics TouchPad" "Device Accel Constant Deceleration" 1.5

change the file to executable :

 chmod +x

and Put this in the start-up applications list.


How do I add my printer to Google Cloudprint?

After installing Google Cloud Print, you need to run it in a terminal by hitting Ctrl-Alt-T and typing the following command:

  cloudprint

Your existing printers will be then imported into Google Cloud Print.

You can also view this article that gives details about Google Cloud Printer on Ubuntu Server - https://www.niftiestsoftware.com/cups-cloud-print/


Ubuntu 12.04 blanks the display unless the mouse is moved at least once after boot

I use synergy, so I can use one keyboard and mouse with two PC's (one windows7 and one with ubuntu 13.10) it might not be what you need it for but a side effect is that the power options and the screensavers are synced, so one will not fall asleep or activate screen saver unless the other does aswell. when i accidentilly leave the mouse active on the win7 screen neither PC will fall asleep, no matter how long the mouse or keys have not been moved. I seem to have the opposite error to you but it might be helpful in your case :) of course this will only help if they are all under the same network.


My Ubuntu MX4 is frozen after installing xubuntu-desktop with apt-get

The following Q&A from David Planella implies that you probably should never change your device to RW-mode if you don't have complete control over a mobile device to flash an image:

How to change the Ubuntu installation to read-write mode on a mobile device

Your phone is not a desktop. Installing desktop specific packages may break the configuration of your phone (similar to how non-desktop packages can break your desktop installation). You also shouldn't use apt-get on the phone unless you are fully aware of the consequences, which the average desktop user typically is not.

From a developer perspective you would just flash a working image from the image server to an unlocked phone. However for a normal consumer there isn't always an option to buy an unlocked or unlockable phone (fastboot oem unlock is specific to Google's Nexus devices). So you can't correct mistakes like above yourself and the device manufacturers customer service may charge you and require to send your device in for servicing.

Regarding apt-get being unavailable on recovery, this is probably how it is supposed to be. apt-get is not a vital part of the Android or Ubuntu Phone/Snappy infrastructure, so it shouldn't be surprising that it isn't included in the recovery image, which is different from the recovery mode on the desktop.

Remember that you are on the phone and you get updates through OTA images or the store. You also shouldn't use apt-get, since you would need to reinstall and configure all packages again after an OTA update, this is how the phone works: apt-get is available but not guaranteed to work like on the desktop. I also doubt that the store offered you this package for installation.

One thing you could try is to the read the system logs if these are available from the recovery or even do exist and try to find out what keeps the phone from properly booting up (probably a confusing desktop configuration that can be replaced by a more mobile friendly one). If you can modify the system you can poke around and compare the state of your device with contents from the OTA or factory image. The goal is to get the phone booting again and have it flash the next OTA update when it is released that may return the device into a pristine condition, though there is no guarantee for that because OTAs are differential updates not complete system images.


Windows users unable to access samba share of an external drive

Try sudo chmod -R 755 <path of external drive> and see if that fixes the permissions error. (Warning, this will give everyone read-write-execute access to everything on the drive).

If that doesn't work...

Make sure the external has a real mountpoint like /external or /shared-stuff.

If it is mounted to the temporary location (which is default behavior), samba might be looking at an old temporary location, get a read error, which is passes on as a permissions error to the windows client.

If that doesn't work, it is probably because the drive is ntfs. NTFS permissions are stored in a way that don't make sense to linux, and probably not to samba either. It would be good to use a native linux format, but that requires moving the data off and reformatting the drive, and copying the data back.


Bootable 16.04 LTS with Luks encryption on a single hdd

If you want Full Disk Encryption start with a Full install to USB

Unplug your internal drives so that they do not get overwritten.
Boot Live Ubuntu installer USB.
Plug in Target USB drive.
Start Install Ubuntu.
When you get to "Installation type' select Erase disk and Install Ubuntu, Encrypt the new Ubuntu installation..., Use LVM with the new Ubuntu installation.
Complete the installation.

Another method if you want an encrypted drive that will work on both BIOS and UEFI computers: How to Make BIOS/UEFI Flash Drive with Full Disk Encryption


Why don't hyperlinks open in evince document viewer?

You encountered a bug but there is a quick fix, I just did it and it worked, thanks to @maggotbrain by the way.
 He pointed me to this comment, and the suggested solution worked. So I was able to fix this issue with google chrome by doing the following:

Open a terminal, type gksudo nautilus and hit enter,type your password and hit enter again, so now you are running nautilus with root privileges.
On nautilus go to /etc/apparmor.d/abstractions/
Open the ubuntu-helpers file and locate this lines inside:

# Allow exec of libexec applications in /usr/lib*

/usr/lib*/{,**/}* Pixr,
You will insert this block of text after those lines:

# From https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/964510/comments/12
# While the chromium and chrome sandboxes are setuid root, they only link
# in limited libraries so glibc's secure execution should be enough to not
# require the santized_helper (ie, LD_PRELOAD will only use standard system
# paths (man ld.so)).
/usr/lib/chromium-browser/chromium-browser-sandbox PUxr,
/opt/google/chrome/chrome-sandbox PUxr,
/opt/google/chrome/google-chrome Pixr,
/opt/google/chrome/chrome Pixr,
/opt/google/chrome/lib*.so{,.*} m,

but before this line:

# Full access

Save the file, close nautilus.
Finally, type sudo apparmor_parser -T -W -r
/etc/apparmor.d/usr.bin.evince on the terminal and hit enter, wait a few seconds until there is a line break and the cursor is awaiting for new input, this means the command went through with no problems :) hope it was helpful.


Resized swap partition - swap space does not change?

You probably need to re-setup the swap partition, even if it was resized there's a step missing.

Turn off swap first:

sudo swapoff /dev/sda6

Reinitialize it:

sudo mkswap /dev/sda6

Then reenable it:

sudo swapon -a


items in notification area not coming up after startup

Is the notification area added to the panel? If it isn't you can add it again by right clicking the panel, choosing add to panel, and drag and dropping the applet to the panel.


Keyboard not working after suspend to ram (sleep)

The actual solution to this problem is:

Edit /etc/default/grub and change the line

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash atkbd.reset"

Then, run update-grub and reboot.

Credit: jmkhenka @ http://ubuntuforums.org/archive/index.php/t-1335007.html

Works for me on Lenovo Thinkpad X230.


How can I move a window without touching the titlebar in Ubuntu Touch?

This bug was fixed in the package unity8 - 8.11+16.04.20151112.1-0ubuntu1. The solution presented was to prevent windows from being moved under the panel.

https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1438465


It is looking for the file ./liblog4cxx.so in the default current directory, which is your home directory /home/sijoy.  You probably need to set the current directory to the directory the executable is in, /home/sijoy/Documents/stt_new/STT, to find the file /home/sijoy/Documents/stt_new/STT/liblog4cxx.so.

Try adding the following line to the end of your desktop file:

Path=/home/sijoy/Documents/stt_new/STT

Despite its name, this sets the current directory and has no effect on your $PATH.


Headset microphone not working on Ubuntu 20.04

So, trying various stuff I am not sure which step was effective. Ubuntu 20.0.4 using Cinnamon (no Gnome/KDE) on Dell XPS 9340:

rm -rf ~/.config/pulse/
Log out
Log back in
go to desktop settings/'sound'
insert headphones
Go to 'input' section
Do microphone audio test on each available device

Headphones start working...


Will there be an Ubuntu One sync extension for the Opera browser?

We don't currently have plans to bring contacts sync to Opera, but if someone is interested in building an extension to do that I am happy to provide all the Ubuntu One information that would be needed to do so! If you, or someone you find, wants to make Opera a better citizen on the Ubuntu desktop, that'd be really cool.


Calculate how long I was sitting at my computer

a=0
while true;do
    [[ $(qdbus org.gnome.ScreenSaver /ScreenSaver org.gnome.ScreenSaver.GetActive) == "false" ]] && a=$[ $a + 1 ]
    echo $a >.AwakeTime.txt
    sleep 1
done

It's a hack but that gives a way of keeping track of how long the screen saver was not active. modify to taste (eg, poll every 60 seconds, run in background from autostart etc) to view the time, just run cat .AwakeTime.txt. You can place a desktop file in ~/.config/autostart to launch this script on startup. you could reset the time in the middle of a logged in session with killall myscript.sh && /path/to/myscript.sh& disown


The line 52 of your /etc/apt/sources.list is wrong.

My guess being the deb prefix is missing.

Look at how the other (uncommented) lines are formatted.

Note: VirtualBox should be available using Ubuntu official repositories. You shouldn't need to install Oracle repository.


You can create an image and mount it.
Create iso with app like brasero or with dd from command line, as described here: How to create ISO images?
Then mount it with mount command as described here: How to mount an ISO file?


Install Elementary Pantheon desktop for Ubuntu 16.04?

I have installed the pantheon desktop on Ubuntu 16.04. Yes it works. I have some troubles with the desktop background and my conkys. But I think it is possible to solve the problems.

this was my way:

sudo add-apt-repository ppa:elementary-os/daily
sudo add-apt-repository ppa:elementary-os/os-patches
sudo add-apt-repository ppa:elementary-os/testing
sudo add-apt-repository ppa:mpstark/elementary-tweaks-daily

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

sudo apt-get install elementary-theme elementary-icon-theme elementary-default-settings elementary-desktop


eCryptfs will add a small amount of header data to a file, so if you have many thousands of files this could explain some of the extra space being used.

Also, Linux allows files to be non-contiguous and these can have "holes" in them which don't use any space.  However, eCryptfs has to encrypt these holes (they are effectively zero blocks which are encrypted) and so this uses up more blocks than the original file that has holes in it.  Perhaps that is the reason for the overhead.


How to remove obsolete shortcut from the Files launcher icon?

Open a new Nautilus window.
Click on "Files" on the menu bar.
Select "Bookmarks".

You will probably see the bookmark you wanted to remove there in the list.

Select it and click the - button.


basexserver is a bash script. Instead of calling provided bash script you should translate it to Upstart job. The article EVENTING UPSTART will give you good ideas how to do it.

I would start crafting Upstart job with a simple Upstart stanza exec java -cp BaseX.jar org.basex.BaseXServer. See Starting java processes with Upstart for more details.


Workspace options in gnome-tweak-tool are inactive

Ok, found the issue.

This is a UI glitch.

The widget is not a checkbox, but a radio. You need to click on the other option "Workspaces scan displays".

That's that simple ...


Multiple Problems Installing 12.04, now can't use Windows

To be clear lets recap what you did.

You installed Ubuntu via WUBI
You installed Ubuntu in separate partition twice.
The second thing installed GRUB2 and interfered with WUBI install
and now you have a unbootable system

We will try to uninstall all the Ubuntu installations and keep Windows. Then we will install Ubuntu again properly.

First, undo GRUB and fix MBR so that Windows can boot again.

Follow the first part of How to remove Ubuntu and put Windows back on? to remove GRUB and put fixMBR. in particular, boot from Windows 7 rescue CD and open the Command Prompt and type:

bootrec /fixmbr

bootrec /fixboot

bootrec /rebuildBcd
Take the CD out and reboot.

This should boot your Windows 7.

Second, Uninstall WUBI installation of Ubuntu. At this point WUBI installation is not bootable and there may not be an easy way to recover any data files you put in there. by uninstalling Ubuntu via WUBI, we will recover the lost disk space.

While in Windows 7, go to "Control Panel > Programs and Features" and scroll down to Ubuntu and uninstall. If all goes well, Wubi Ubuntu will be gone forever.

Third, Delete all the previous Ubuntu partitions.

Boot from the Ubuntu live USB and choose "Try Ubuntu."
Search for the program Gparted and run it. Delete all the ext4 and
swap partitions. Do not create any new partitions, Ubuntu
installation will find the unused space and create them again. make
sure you are not deleting any ntfs (Windows) partitions. Click
"Apply." Exit Gparted.

Fourth, Install Ubuntu

Now click "Install Ubuntu" icon while running Ubuntu from the Live
USB. It should recognize the presence of Windows 7 and offer to install Ubuntu in the unused space. If not abort installation and ask a question here again.

I hope this works for you, but I can't guarantee success. Follow at your own risk.


How can I change the default download action to gnome-open in Firefox?

The setting for mime types in firefox is stored in helpers.global_mime_types_file and helpers.private_mime_types_file. You can see their values in about:config :
Also default applications for mime types are stored in either ~/.local/share/applications/mimeapps.list or in /usr/share/applications/defaults.list. In my case, this line application/octet-stream=gedit.desktop; was present in mimeapps.list and hence firefox prompted to open some applications in gedit. You can change it to some different application of your choice.


Can't delete a route with 0.0.0.0 gateway

To delete a single route from a route table, you need to specify enough parameters so a unique match with one of the routes can be made.

If you want to delete a whole subnet (as opposed to a single host) you need to both use the -net flag and some indication of the scope of the network address, i.e. either the netmask parameter (e.g. 255.255.255.0) or a number like /24 (meaning that the first 24 bits are the network number, and the remaining 8 are used for hosts). In your case, both

sudo route del -net 192.168.76.0/24

and

sudo route del -net 192.168.76.0 netmask 255.255.255.0

would have worked.

(thanks to @nephente for useful additions)


How do I bind two different keyboard keys to the system mute function?

It is quite easy to do such a thing if you know the command for doing that function.
If you are using ALSA sound driver, the commands are :

amixer set Master mute` for muting the system

    "amixer set Master unmute" for unmuting the system
    "amixer set Master toggle" for toggling volume.
    "amixer set Master <vol>" to set volume level to <vol>

So, in the Keyboard shortcut option, click on Add and in the Command box, enter the functionality that you want.
Hope this helps.


The best thing to do would be to remove alsa and reinstall it. The same thing happened to me when I switched motherboards, and this fixed it.

Remove the ALSA packages.
 sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils

Reinstall the same packages.
 sudo apt-get install linux-sound-base alsa-base alsa-utils

Packages gdm and ubuntu-desktop are also removed in this process if you are using Gnome. They need to be reinstalled:
 sudo apt-get install gdm ubuntu-desktop
 # or
 sudo apt-get install gdm3 ubuntu-desktop

If you are using Xubuntu this will also happen to you.
 sudo apt-get install gdm xubuntu-desktop

Reboot.
 sudo reboot


Can I change directory to a Windows drive in Ubuntu Bash on WSL?

WSL stores your Windows drives in the /mnt folder, with the name of the drive as a subfolder. For example your C:\ drive will be present at /mnt/c/ for you to use.

Keeping this in mind, you can swap to your specific folder like so:

cd /mnt/e/username/folder1/folder2


Are there specific file extensions that aren't compatible with Ubuntu?

No there are no incompatible file extensions. Ububntu doesn't really care about file extensions and just sees a file.

It treats every file the same and doesn't break them up into different sorts that need to be treated differently.

The programs and apps themselves know how to deal with file extensions if they come across them, but if you ask a Ubuntu app to open a file it will not worry about the extension unless its own program logic needs to.


Select a particular result from completion suggestions

Assuming you are using bash, either add the following to your ~/.bashrc:

bind '"\e[6~": menu-complete'
bind '"\e[5~": menu-complete-backward'

Or to change the defaults for all programs that use the readline completion library, not just bash, create the file ~/.inputrc containing:

$include /etc/inputrc
"\e[6~": menu-complete
"\e[5~": menu-complete-backward

Now when you open a new terminal, you can press:

TAB as normal to see available completions.
Pg Dn to select the first completion or change to the next one.
Pg Up to select the last completion or change to the previous one.
Alt+n Pg Dn to select the nth completion or move forward n completions.

So for your example type Pg DnPg Dn or Alt+2Pg Dn to get the second file aww.txt.


Is it possible to use two file managers at the same time?

Yes you can run as many as you would like.  Examples: Nautilus, Commander, Dolphin etc...  Below is a link listing the most common ones used in Linux.

http://www.tuxarena.com/2011/06/20-file-managers-for-ubuntu/


Wine virtual drive set to network location?

Found a solution.

Network Locations are found in /home/user/.gvfs, so linking Wine to there works.


You should have Read and Write permissions for yourself on /home/sauron/.config/QtProject/qtcreator/qtversion.xml.

Right-click the qtversion.xml file →  Properties → Permissions tab and change the permissions if necessary.


User account password. Stuck in guest forever?

How To Reset Lost User Account Password For Ubuntu:

If you forget your password and cannot use another account to login and change it you can do the following instead.

Boot up & after bios but before bootloader hold down shift
Choose entry that says recovery mode and hit enter (Sometimes this entry is under Advanced Boot Options)
Scroll down to root and hit enter
type:
mount -rw -o remount /
type:
passwd username

replace "username" with the name of the account you are trying to change the password for.

You will be prompted to enter a new password, do so, and then you will be asked for it again so type it again.
Type:
halt -p

This will shut down your computer, then reboot and login.

sincerely, tapthoseshoesandwish

Sources:
http://candlelight.any.djun.net/x/1/index.php?topic=535.0


You have five options. You will need to decide which criteria (LTS, safe, easy, fast) are more important - no option meets all of them:

Wait for 18.04 LTS. This is safe, but it does not fix your problem.
Install 17.04 or 17.10 (non-LTS). This is also safe, but you seem to not like this one.
File a Stable Release Update request on Launchpad to get the fix backported to 16.04. This is reasonably safe - SRUs are well-tested. SRUs take time, and may be rejected entirely by the developers.
Try installing a systemd package from a newer release of Ubuntu. This is almost certainly not safe at all, and risks breaking your system horribly.
Learn to compile systemd, and install a newer version. This requires great skill and patience to do properly. Many, many opportunities for breakage and frustration, not safe at all unless you have years of experience with compiling and init.


The problem seems to have been solved after I deleted several files under

~/.config/autostart

There were some files there from programs I had deleted in the past but the autostart was left over.

I also ran the Ubuntu Autostart utility and unchecked a ton of stuff that didn't exist anymore.

logout , login and problem solved.


How to avoid delay in output stream pipe

Finally I found it. It can be done simply using perl.

perl -le 'open(P," top  |");  $|=1; while(<P>){ print }'

Take the example of

top | grep i | grep id
perl -le 'open(P," top  |");  $|=1; while(<P>){ print "------","$_"; }' | grep i | grep id

For nethogs

perl -le 'open(P,"sudo nethogs ppp0 |");  $|=1; while(<P>){ print "------","$_"; }' |  grep e | grep e |grep c


It looks like your graphic card is running VESA wich maybe causin your problems.

You should reinstall the graphic card driver with 3D support.

Users with ATI cards have the following driver options:

vesa - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards.
ati - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards).
radeon - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games. Power management is now comparable to the Catalyst driver.

Instalation

  sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

  sudo apt-get update

  sudo apt-get install fglrx

Catalyst (a.k.a fglrx) a proprietary "blob" (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD chips are supported on recent Linux distros.

Instalation

  sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases

If you're running 64bit

  sudo apt-get install ia32-libs

Next

  cd ~/; mkdir ATI; cd ATI/

  wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-2-x86.x86_64.run

  sh ./amd-driver-installer-12-2-x86.x86_64.run --buildpkg Ubuntu/precise

  sudo dpkg -i fglrx*.deb

  sudo aticonfig --initial -f

Reboot and done.

Great info here.


That is dropbox doing it's recent failing thing. Run this:

dropbox stop && dbus-launch dropbox start

I had the same problem. It's more of a workaround, but it works. It helps to create a custom command to just run that real quick. Create an alias in /home/<user>/.bashrc:

alias db='dropbox stop && dbus dropbox-start`

Or, I wrote a script with that in it, then did

sudo install db.sh /path/to/db.sh/commandname

where commandname runs db.sh from the terminal.


How can I install commonly used developer tools?

build-essential is the main one that springs to mind.

sudo apt-get install build-essential


Drawing a Chart From CLI Using LibreOffice

You could use gnuplot instead.

Ex. let's generate some simple tab delimited data:

$ for i in {1..100..10}; do printf '%d\t%d\n' $i $((RANDOM%100)); done > datafile

$ cat datafile
1   16
11  14
21  79
31  96
41  68
51  93
61  50
71  13
81  32
91  91

then for example

$ gnuplot -p -e 'plot "datafile" using 1:2 with linespoints'

gives the following


How to reset NFS client after interrupted connection?

You need to use the options soft, bg, and probably timeo like so:
sudo mount -t nfs -o soft,bg,timeo=30 IP:/share /mountpoint

Please see man nfs for information and usage.

When the connection to the NFS share is interrupted, refresh the mount-point with umount -f like so:
sudo umount -f /mountpoint

Then mount the NFS share again with the same options above.
Please see man umount for information and usage.


Your crontab editor has been switched to ed. To exit ed, press Q and subsequently Enter. This will quit the ed editor.

If you would like to change your crontab editor back to nano use:

sudo select-editor

This also might be helpful:

EDITOR=nano crontab -e


Change gnome-screenshot auto-save-directory in Ubuntu Gnome 14.04

Edit
after reading this article and this question it seems like in Ubuntu-Gnome 14.04 (gnome 3.10) the screenshots with Keyboard shortcuts eg:Print are handle by the shell (gnome-settings-daemon media-keys) saving the files to ~/Pictures and not by the gnome-screenshot application.
I have installed Ubuntu Gnome 14.04 to test it.
1) I set the auto-save-directory to /tmp:

gsettings set org.gnome.gnome-screenshot auto-save-directory '/tmp'

2) I disable the keyboard shortcut Print and I created a new one to run the gnome-screenshot command with the shortcut Ctrl+Alt+H . Then I pressed the new shortcut and the screenshot appears in the /tmp directory.

So, set the auto-save-directory value works for gnome-screenshot, but to solve this issue you can try to disable the default keyboard shortcuts for Screenshots and create new ones but running the gnome-screenshot command.
gnome-screenshots command examples:
Whole screen: gnome-screenshot
Grab a window: screen gnome-screenshot -w
Grab an area: screen gnome-screenshot -a
Send the grab to the clipboard: gnome-screenshot -c
Interactive: gnome-screenshot -i

You can set the directory with the dconf command.
Command line
In this example I'm going to set my Downloads directory.
dconf write /org/gnome/gnome-screenshot auto-save-directory \'/home/youruser/Downloads\'

Please put the full path to the folder... My case /home/virtual/Downloads
GUI with dconf-editor


Try running the following commands first to get everything up to date and running:

sudo apt update
sudo apt -f install
sudo apt dist-upgrade

These commands will re-initialize the package cache and repository information, as well as upgrade your system to the newest possible version, which will likely deliver a good number of security updates.

Finally, Linux provides this answer to you in the output you posted:

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Typically, apt is rather user-friendly and will provide helpful tips like shown above to users if/when something goes wrong.


configuration files mainly founded under ~/.gconf/apps/liferea While other files such as user data and subscriptions,etc... are founded in a SQLite3 database named liferea.db under ~/.liferea_1.8 directory.

If you open that db you can find the data inside:


This file has been moved. In your Kernel it will be at include/uapi/asm-generic/types.h

Solution

Update the reference in types.h but I'm not sure if it is possible.

or

Compile this program against it's supported Kernel version, if you have that info.


Yes, it is possible.

You have to select the File Transfer mode from a list of modes that are available when you connect your phone to the PC.

Then, a folder will appear which will give access to your phone's storage.

Then, you can go to "DCIM" or "Images" or whatever the name of the folder on your device is, and access the images.


Unable to Install Alfresco package in Ubuntu 20.04

If you need to install Alfresco Community components, here is an entry point for documentation :
https://www.alfresco.com/thank-you/thank-you-downloading-alfresco-community-edition
I quote :

1. Containerized deployment (7.0 GA)
Recommended and fastest option
The Alfresco Community Edition 7.0 GA is available for Docker and
Kubernetes. This is our recommended option for all technical
personnel. Containerized deployment allows for fast, standardized
deployments—perfect for a trial or PoC.
...
2. Non-containerized deployment using Ansible
Detailed option for experienced technical admins
The Alfresco Community Edition 7.0 supports Ansible playbooks to
simplify the deployment for organizations that prefer
non-containerized environments.
...
3. Non-containerized manual deployment
Manual deployment for advanced customization
The Alfresco Community Edition can be deployed manually in cases where
advanced customization is required. This method requires more time,
and is recommended only for experienced database and application
server administrators.

There is a video to explain the first method (using docker containers). And links to the instructions for the others methods relying on Ansible or a zip download :

https://docs.alfresco.com/content-services/community/install/containers/
https://docs.alfresco.com/content-services/community/install/ansible/
https://docs.alfresco.com/content-services/community/install/zip/

Does that help ?


The system natively includes the driver rtl8723be. We need to troubleshoot the native driver. Before we do so, please uninstall the two drivers you installed that caused kernel panics. Follow the process you followed previously for both, except instead of make and sudo make install, do sudo make uninstall.

Then do:

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

Use nano or kate or leafpad if you don't have the text editor gedit. Remove the line: blacklist rtl8723be. Proofread carefully, save and close the text editor.

Now do:

sudo modprobe rtl8723be swenc=1
sudo iwconfig wlan0 power off

Is your wireless working better now? If so, we'll amend a couple of files and make it permanent.

It appears that, somehow, the rtl8723be was deleted in the process of trying two replacements that failed by causing kernel panics. Let's try to reinstall the current linux-image. With a working internet connection:

sudo apt-get install --reinstall linux-image-$(uname -r)

After it's done, retry the steps above.


Disable specific Unity lenses in Ubuntu 15.04?

You can remove some scopes thru a package manager, synaptic works well.

The other way for any unwanted that remain is to open the Applications lens. Scroll down to Dash plugins, click on the 1st one listed. If wanted click on > to move to next plugin. If not wanted then click on disable, then > twice to go to the next scope. Repeat as desired to move thru all the scopes disabling ones you don't want.

A log in/out may be required to reflect changes.


You may have mixed ABIs. There are currently several ABIs for ARM processors in common use, due to the variety in ARM CPUs. Check that you have a gnueabihf binary, and not a gnueabi binary. You can install both kinds of binaries on the same system, but you can't link both kinds of libraries inside a single executable. It's like 32-bit and 64-bit executables on x86 systems.

With LD_LIBRARY_PATH, the right command to add the variable in the environment for the duration of the ldd command is

LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/ ldd /path/to/binary

You wrote ldd LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/ /path/to/binary which tells ldd to act on a file called LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/.


How do I connect to a WiFi network using nmcli?

Tested in Ubuntu 16.04 LTS

In case the wireless interface is already connected to some other AP, first disconnect it using

nmcli con down <AP name>

Example: Supposing interface is already connected to 'PreviousAP', then  disconnect it using

nmcli con down PreviousAP

Now for Connecting to new AP

Considering you know the AP name and password.

nmcli device wifi connect <AP name> password <password>

Example: AP name : Connect-to-this

WPA/WPA2 PSK : iampassword123

nmcli device wifi connect Connect-to-this password iampassword123

This will automatically create a file in /etc/NetworkManager/system-connections/ with the APname, which will contain the configuration.

ls /etc/NetworkManager/system-connections/Connect-to-this


OpenCL is a framework for writing programs that will allow its execution on CPU's (Central Processing Unit) and GPGPU's (General Purpose Graphics Processing Unit).  When executed on the GPGPU, the computer can offload the work to the Graphics card, freeing up the CPU for other work.

This is especially handy in single streams of data that require repetitive calculations, such as Video Encoding/Decoding; Cryptography; Computation such as R etc.

The short version is:

Most GPU's in recent years support OpenCL
Tensorflow is a computation library, so OpenCL support could speed up the process if you have a supported graphics card, and configure it properly
You do not NEED a graphics card to run OpenCL applications, as they will run on a CPU (albeit much slower)

There is some debate these days over the validity of using OpenCL/CUDA for these kinds of things, as it's almost as easy to manufacture a dedicated chip (NVENC for example, sometimes called an ASIC).

Speed increases using OpenCL can range from excellent, to below expectations.  If you have a spare card that supports OpenCL laying around, then it's well worth trying.  It can (in some circumstances) increase computational speed quite dramatically.

When it doesnt work though, it can be a nightmare of configuration and setup for minimal gain.


You should find out what is causing the large amount of messages, as if you fix this issue then you fix the large log file.

However, until then you can put in a log rotation base on one of the below.

time ( eg. rotate every day )
size ( eg. rotate when the file reaches 10mb )

This will already be setup on the system by default: /etc/logrotate.d/rsyslog

 /var/log/syslog
{
    rotate 7
    daily
    missingok
    notifempty
    delaycompress
    compress
    postrotate
            reload rsyslog >/dev/null 2>&1 || true
    endscript
 }

From this you can see that it will rotate he /var/log/syslog file daily and keep 7 copies of the rotated file.

You can change this to be rotate on a size limit, say 1mb or reduce how many copies it stores.

Warning: This will not fix the root cause of your issue, however it will buy you some time as it will stop the file system from filling up.

Source: /etc/logrotate.d/rsyslog
Source: man logrotate


The short answer is that you can't show emblems on icons on the desktop with the normal xfdesktop package at the present time, although there is a development patch available. On Xfce, xfdesktop actually manages the desktop and not thunar, the filemanager. If you go to settings > settings-manager > desktop > icons, there are few options to tweak the desktop icon setup, but no other hidden ones within xfconf-query under xfce4-desktop. It is possible to show thumbnails of items on the desktop because thumbnailing on Xfce is managed by default by another service called tumbler and not by xfdesktop or thunar by themselves.

However, there is a development patch for custom emblems at Xfce.org. Eric Koegel wrote in the patch summary that it:

  Adds support to display multiple custom emblems for file icons on
  the desktop. Regular file icons will display whether it's a symlink
  or the file is read-only in addition to any emblems the user sets
  in Thunar. This requires an optional dependency on libtdb to read
  the metadata for the user set emblems.

You must use git to clone the source, as the patch is set up to work with the source directly from git.

(This was tested with on Ubuntu 12.04 with the Xfce 4.10 and 4.12 ppas applied, not with the stock Precise version, so it should work on 12.10 and later also)

Please Note: The feature is very experimental, so it is up to you if you want to try it, and perhaps report back upstream if you have problems.

sudo apt-get install libtdb1 libtdb-dev git build-essential checkinstall xfce4-dev-tools
sudo apt-get build-dep xfdesktop4
git clone git://git.xfce.org/xfce/xfdesktop
cd xfdesktop
wget "https://bugzilla.xfce.org/attachment.cgi?id=4391" --output-document=xfdesktop4.patch
patch -p1 < xfdesktop4.patch
./autogen.sh --prefix=/usr
make
sudo apt-get autoremove --purge xfdesktop4 xfdesktop4-data
sudo checkinstall --pkgversion=4.10.3

Note: When the configure has finished, you should get this message (see the icon emblems part):

Build Configuration:
* Build desktop menu module:                    yes
* Build support for desktop icons:              yes
      Include support for file/launcher icons:  yes
      Include support for icon emblems:         yes
* Special treatment for mount points on UNIX:   yes
* Mount notification support:                   yes

Now after installation run xfdesktop --version and you will get:

Built with GTK+ 2.24.10, linked with GTK+ 2.24.10.
Build options:
    Desktop Menu:        enabled
    Desktop Icons:       enabled
    Desktop File Icons:  enabled
    Custom Icon Emblems: enabled

Lastly, logout and login again, as xfdesktop --reload won't be enough, and the emblems should be there. If xfdesktop is not running when you log back in, enter xfdesktop & and it will start. For a more permanent solution, add it as a startup item, as it should be starting up on login.

Be aware that this is development code (both the patch and the git code) and hasn't been classed as a stable version, so it might not always work as expected, but this is about all that is possible at the minute. Also, when you get a later version through any updates, it may remove your patched version unless you pin the version in apt settings.

I have experimented with the new version of xfdesktop and successfully returned to the old version by simply removing the package installed with checkinstall- it will be called something like xfdesktop4.10.3, but just type xfdesktop and press tab until the package appears. As an example, you could use

sudo apt-get autoremove --purge xfdesktop_4.10.3

Then just reinstall xfdesktop4 and xfdesktop4-data. The xfdesktop package is obviously not as critical as a window manager, but perhaps experiment on a virtual machine beforehand if you wish.

I can say that the emblems are quite small, although the symlink symbol can just be seen, although not all emblems appear, so it is clearly a very experimental feature. Emblems appeared on file icons, but not on folder icons.


Correct MX record, subdomain and Dynamic DNS settings for Namecheap Self hosted email @domain.com email & correct Hosts and Hostname for server

This is only a partial answer for NameCheap (Domain) settings, I just wanted to post the whole set up in one question for the public, I need help with correct (Server) etc/hosts & etc/hostname.

I know that this question is all over the internet, but I could not find simple answers, hopefully this post will help others including me!

MX Record is as follows

HOSTNAME      MAILSERVER-HOSTNAME  MAILTYPE   MX-PREF TTL

@           mail.domain.com                MX       10      180

Subdomain

HOSTNAME      IP Address/URL      Record Type   MX-PREF   TTL

mail        127.0.0.1      A(Address)     n/a      180

(Set record to loopback to test dynamic DNS, it should update to public IP)

Dynamic DNS Entry

So I use a Python script, but in general The point I want to make is that the hosts has changed from @ to simply mail or whatever the subdomain is.

IE: For my domain this is my script

#!/usr/bin/python
# -*- coding: utf-8 -*-
import urllib2

urllib2.urlopen("http://dynamicdns.park-your-domain.com/update?host=%s&domain=%s&password=%s" % ("@", "domain.com", "password"))

For my Mail Subdomain

#!/usr/bin/python
# -*- coding: utf-8 -*-
import urllib2

urllib2.urlopen("http://dynamicdns.park-your-domain.com/update?host=%s&domain=%s&password=%s" % ("mail", "domain", "password"))

Notice how I removed the @ and inserted the subdomain!

Now I would like help setting correct (Server) /etc/hosts and /etc/hostname in server settings.


recoll executable hogs CPU for days, index dir is 18GB, should I upgrade v1.17 -> 1.20?

It's not at all normal that recoll would hog the CPU during days, even with a sizeable index. You could check what it is doing by activating the log file, but I think that you should update the version first because 1.17 is ancient.

There are up to date packages for recoll on the recoll backports PPA:
https://launchpad.net/~recoll-backports/+archive/ubuntu/recoll-1.15-on

Once you have upgraded, you should stop the old indexer, delete your index: rm -rf ~/.recoll/xapiandb and rebuild it with the new version.

If the problem persists at this point, please use one of the recoll normal support channels, for example, open an issue on bitbucket:
https://bitbucket.org/medoc/recoll/issues?status=new&status=open


What's the difference between the nvidia-current, and nvidia-current-updates packages?

I'm not sure why the versions are different but the change seems quite small nvidia-current changelog.

The nvidia-current package contains the nvidia driver version that was packaged for 11.10 before the Feature Freeze. Which was driver version 280.13.

nvidia-current-updates is meant to contain the post release/feature freeze nvidia driver releases, which should contain 285 now. Not sure when it will be updated. This is for people who want their driver to be automatically updated as the newer driver versions are packaged.

So in short nvidia-current for a more stable drive that has received more testing and nvidia-current-updates for newer versions of the nvidia proprietary driver that will have received less testing. edit: The nvidia-current package base driver version will also never change

The Additional drivers application provides slightly more detailed descriptions of the packages.


Sendmail not working as desired in bash script

The previous answers have already mentioned:

bad end of "here document" (END)
missing empty line between headers and body

Additional fixes:

-i command line option to stop special treatment for lines starting with dot
-- to separate command line options from addresses of recipients
    (good style recomendation)

Corrected script:

/usr/sbin/sendmail -i -- myemail@email.com <<EOF
subject: Backup Error!
from:backup@server01

$error
EOF


Right click the Network Manager icon in the system notification area and click Edit Connections.
Click the Wired tab, select the connection and click Edit.
Click the IPv4 Settings tab and choose Manual from the Method drop down list.
Click Add and enter your IP address and other details. Enter the address of your DNS server too.
Click Apply. The network should now connect if you entered the settings correctly.


Ubuntu 14.04 wireless disconnects after a while

I suspect that power management is not manipulable by iwconfig because the driver has available several parameters related to power saving; from modinfo:

parm:           swlps:bool
parm:           swenc:using hardware crypto (default 0 [hardware])
 (bool)
parm:           ips:using no link power save (default 1 is open)
 (bool)
parm:           fwlps:using linked fw control power save (default 1 is open)
 (bool)

I suggest you try this; from a terminal:

sudo -i
echo "options rtl8723be fwlps=0 swlps=0"  >  /etc/modprobe.d/rtl8723be.conf
exit

Reboot and test.


Sharing External Drive using Samba in Ubuntu 18.04

You have 2 shares named "Public" that point to 2 differnt paths ( /var/samba and /home/jaxes/Public ). Samba is confused.

I would remove the one you have in /etc/samba/smb.conf or at least rename it to say ... [public2].

Then in order to access the [Anime N-Z] share you will need to go back to what I recommended originally: Right under the "workgroup = WORKGROUP" line add this one:

force user = jaxes

Then restart smbd:

sudo service smbd restart


Type killall -9 viber.

A SIGTERM or a signal 15 allows a process to end gracefully.
A SIGKILL or a signal 9 kills the process immediately.

By default, kill and killall will send a SIGTERM, so the process should end in a few seconds, but if a process is completely unresponsive, you can specify SIGKILL which will kill the process immediately:

Use SIGKILL only as a last resort.

The -v or --verbose option asks killall to be more elaborate on what it's doing. Hence it says it tried to kill the process with a signal 15, i.e SIGTERM.

Read more about the signals here.


ok I have done

sudo fuser -kv /var/cache/debconf/config.dat

and

sudo apt --fix-broken install

and now it works


how do I use upstart, instead of cron, to start a single instance of a job which should always respawn?

cron is not the right tool for the task. Ubuntu now uses Upstart for services and tasks. You can create a self-respawning service with the respawn stanza.


Without more information, this sounds like a boot problem rather than a particular graphics card issue.

Try using:

http://www.ubuntugeek.com/boot-repair-simple-tool-to-repair-frequent-boot-problems.html

to resolve the issue, this will also generate a pastebin link which you can paste here and someone will be able to point you in the right direction.


Well, either your USB drive has died, or the filesystem needs to be repaired.

You can try to repair it from Linux with:

sudo ntfsfix /dev/sdb1

And if that doesn't work, you'll have to run chkdsk on it from a Windows box.


Lubuntu and Belkin F5U103v usb to serial : can i make it work under WINE?

IMHO your easiest path ahead would be to install XP in a virtual machine on your Ubuntu computer.  I have had no problems with USB devices passing through to XP virtual machines using VirtualBox.


I can't update nvidia 340 in ubuntu 14.04

check for correct driver for your graphic card on nvidia page . download it and start manual installation. read nvidia readme and installation guide.

before installation or re-installation check compiler  version. linux kernel is normally compiled with gcc so should be nvidia driver.

if this is a re-installation make sure it is clean system.
          sudo apt-get --purge remove nvidia-340   (remove old driver)

nvidia NVIDIA-Linux-x86_64-xxx.yyy.run script is using cc for compiling. check version of cc with command cc --version it should be at same version an level as was used to compile the linux kernel.

cc is a link target to gcc. use command sudo update-alternatives --config gcc to select correct version for the gcc. cc can point to clang an that case is necessary to replace the cc link target with command: sudo update-alternatives --config cc

install nvidia kernel driver with command: sudo apt-get install nvidia-340 or manualy run NVIDIA-Linux-x86_64-xxx.yyy.run script as root user.

check is display is using nvidia driver with command: sudo lshw -C display.

check if nvidia driver is in use :lspci -k | grep -EA3 'VGA'

after instalation generate proper xorg.conf file with command sudo nvidia-xconfig. normally nvidia-xconfig set proper value of DPI for your monitor.

to adopt proper DPI setting for your monitor specify your desired DPI by placing desired value inside section "Monitor" of your /etc/X11/xorg.conf. for example: Option "DPI" "96 x 96"

logout an login to apply new settings for the X server.


Touchpad Doesn't Work on HP Spectre x360 with Ubuntu 18.04

I'm running Kubuntu 18.04 on end of 2018 model (diamond cut) with Nvidia GTX 1050, just to install you will have to edit (e) grub line while starting from uEFI Ubuntu pen drive and add at the end:

i8042.reset i8042.nomux=1 i8042.nopnp i8042.noloop

then after you finished with installation and starting new system you might need to press Ctrl+Alt+F2 to switch to console and add that to /etc/default/grub at the end of line GRUB_CMDLINE_LINUX_DEFAULT.

My whole grub line:

GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=! acpi_osi=\"Windows 2009\" acpi_enforce_resources=lax i915.alpha_support=1 i915.modeset=1 intel_pstate=enable rd.driver.blacklist=nouveau elevator=deadline i8042.reset i8042.nomux=1 i8042.nopnp i8042.noloop"


Inconsistent Naming for Historical Reasons

This will very likely have historical reasons. In the beginning, there was only PGP, which was (for reasons of export restrictions) somewhat open sourced. Some time later, there has been an initiative to write down specifications, released as OpenPGP, and the Gnu Privacy Guard GnuPG was developed on that base.

Having the roots in PGP, lots of early PGP adaptors (having used PGP long before GnuPG was started) still use the term "PGP" referring to both usage and keys; not adapting the changed naming of implementation and underlying standard.

Let's do Something About it

Especially in the free software world, one should put special attention on making a distinction between standards, implementations (and even more, non-free implementations); aside from PGP actually being a reserved trademark, probably without being licensed in this case. I created a bug report requesting more consistent naming in Seahorse.


How can I dual boot Ubuntu and Windows 10 but have my PC boot into windows without prompting me at start up

It is quite easy to do. You can install Ubuntu to HDD and install grub there.

Then set SSD as the first boot device in bios.

Then you will be able to use your bios boot menu to boot to Ubuntu.


You can see examples in the site documentation.
For example if you are using ftp you can:
var user='my_user'
var password='123456789'
var host='my_host'
var path='temp/backups'

var url=`ftp://${user}:${password}@${host}/${path}`
var storage = new FileStorage(url);

Formats at: https://www.npmjs.com/package/file-storage#url-string--supported-connections