HP 2133 Lubuntu: chrome9 screen driver conflicts with wifi

I am the developer of OpenChrome DDX graphics device driver.
I am responsible for breaking the code of OpenChrome DDX Version 0.5 that inadvertently disabled HP 2133's WLAN.
Someone else complained about the same issue back in December 2016, and the issue was resolved in Version 0.6 (March 2017).
At the time of Version 0.5 release, I did not have HP 2133 for testing, so had no way to avoid breaking the code.
VIA never made VN896 chipset graphics hardware programming guide public (they did it for the newer stuff like VX800 chipset).
If you want a fix, you will likely have to compile the latest OpenChrome code from the code repository and install it.

https://lists.freedesktop.org/archives/openchrome-users/2016-February/007237.html

Please note that Canonical rarely fixes serious bugs during the support period of the OS, and I think the bug is present even with Lubuntu 17.04.
I will assume Lubuntu 16.04.3 HWE (Hardware Enablement) or Lubuntu 17.10 should resolve the issue.

Regards,

Kevin Brace

The OpenChrome Project maintainer / developer


How to rename an application so as to affect alphabetical order of right-click "open with" applications list?

If acroread has a .desktop file in /usr/share/applications, you could simply make a back up and then sudo (or gksudo) edit that file and change the name to z_acroread or whatever. Alternatively, you could copy the .desktop file over to ~/.local/share/applications and change the name in the copied file and not in the original without the need for sudo. That way, only the specific user will see the difference.

In other words, look for a line that begins with Name=. That would be the one to change from acroread to z_acroread.


Wrong rendering of inconsalata in terminator

It's quite possible that one in the 'package' is a little funky and may not be the font you actually want, which was the case with me. So, I solved this by manually installing the font in my user space.  Note that I prefer Inconsolata-dz to pure Inconsolata, if only because of straight format single and double quotes.

First, let's set up the directory we need.  mkdir -p /home/$USER/.local/share/fonts/.  We'll put the font here for use.

Secondly, download the font.  Here and here (Google Fonts) are such download locations.

Finally, get the font file out of the downloaded files (probably it's inside a ZIP file), and put it into /home/$USER/.local/share/fonts/.  That will make it available to your user for use.


will apt-get autoremove break other dependencies?

None of the apt-get or other APT tools will ever break dependencies (except for bugs).

You don't run apt-get autoremove liba, just apt-get autoremove. The whole point of autoremove is that it discovers what there is to remove.

When you run apt-get autoremove, check the list of packages to make sure you aren't relying on any of the packages that it will remove. A package that you use all the time could have been pulled in as a dependency of another package without you having noticed that.


How to make workplace selector 2x2 instead of 4x1?

First you need to install compizconfig-settings-manager. The quickest way is from the terminal. Open a terminal (CNRT + ALT +T) and type:

sudo apt-get install compizconfig-settings-manager

Open the newly installed compizconfig-settings-manager and under "General Options" set the desktop size to 2 horizontal and 2 vertical, it should look like this:

Note that you should be careful with compizconfig-settings-manager you can break your system if you do not know what you are doing!


Laptop not properly suspending after I close lid

I have/had the same problem and found this link helpful.
Laptop does not suspend when lid is closed

Like one of the people with "solutions", I found that I have to manually suspend my laptop initially before closing the lid on subsequent occasions will work.

Good luck with it.


Gparted shows errors on unformatted partitions.
But bios_grub and Windows MSR system reserved partition are required to be unformatted partitions. They do have unique GUIDs with gpt and gparted should eventually be updated to recognize they really are not errors or not formatted standard partitions.

The bios_grub exists for grub2's core.img. With MBR(msdos) partitioning the core.img is written to the sectors just after the MBR and before first partition. With gpt, the protective MBR has no space after it, so a separate partition is used.

Similarly Microsoft uses the sectors after the MBR to write some security info or other info. Grub & Windows flexnet used to conflict in sectors after MBR. That the is eliminated with gpt.

GPT vs MBR. Why not MBR?


Minimalism in the calendar in the top bar Ubuntu 18.04

The extension Notification Center will do what you want. It separates the notifications out to a separate icon on the top bar.

To remove the notifications part of the calendar drop down, you need to disable "Keep Events List besides Calendar" on the notifications tab in the options of the extension.

Everything related to notifications, media control, etc. will now happen under that separate notification button.


Ubuntu 12.04 gets very slow after waking up from suspending or sleeping

I have discovered that this bug is coming from the CPU Governor,
on "ondemand" mode, it was never giving me the full power of my CPU's, only 800Mhz of 2.8Ghz.

So I installed https://launchpad.net/indicator-cpufreq and now I can: see why everything is slow and set the CPU frequency I want.

This does not fix the issue (as the Governor does not get smarter) but I do not have to reboot the system anymore.


Was trying to do a fresh install of 16.04LTS and got into issues

Finally after a lot of followups I was able to get the original installation media for Windows 10 from Costco Concierges(as they were covering the desktop for the 2nd year)..almost 2 weeks plus of efforts....have to wipe everything and reinstall Windows 10 and then trying to install Ubuntu Linux 16.04 LTS alongside.

With new install media...it seems Microsoft tracks the license based on the MAC address of the computer...so it worked for me at least.


Nodejs and Node show two different versions. How can this be?

The problem here is that node has been installed with nvm. Whenever you want to upgrade to the latest version of node, just run nvm install node.

I would also uninstall nodejs: sudo apt purge nodejs

Using nvm is much better than the nodejs binary.


You can contact Microsoft, or a Microsoft trusted partner and they can give you a recovery disk, so you can get your Windows 8 back.


Since the issue is related to the touch pad probably because you used the touchpad to scroll down whilst holding down the control key, that leads to the image becoming smaller overall, if you revert that action by scrolling up while holding the control key, it should come back to the size you wish.

Is this simply with web pages or is this an issue with all apps that you're running?


The problem was the kernel 'nomodeset' parameter. I switched between the open source and proprietary drivers extensively and the problem only got worse. Eventually I lost the good resolution modes even with the proprietary drivers.

The solution was to remove all fglrx* drivers and install the xserver-xorg-video-ati driver, then remove the 'nomodeset' kernel parameter.

Now I have good video modes, good refresh rate, and VTerms. All is well.


Another option is to try installing an older version of Ubuntu and then using the Software Updater to upgrade to 16.04.


How do I get the libxpcom.so file for Titanium Appcelerator Studio?

Download a deb package containing that library from http://http.us.debian.org/debian/pool/main/i/icedove/icedove_3.0.11-1+squeeze15_amd64.deb

Open it with Archive Manager (not Software Center), navigate to usr, lib, icedove, select libxpcom.so and libxpcom_core.so and extract them let's say to Desktop.

Open a terminal with Ctrl+Alt+T, cd ~/Desktop then

sudo cp ./libxpcom.so /usr/lib/libxpcom.so and after

sudo cp ./libxpcom_core.so /usr/lib/libxpcom_core.so

libxpcom.so probably is linked to libxpcom_core.so that's why I included it.


How to make my computer turn on automatically

This is usually a BIOS setting but one I've only really noticed on higher-end motherboards. Fish around in the advanced and power settings and look for items with "AC" in the title. Here's a Tom's Hardware Article on the power settings which includes such an option, called "AC Power Loss Restart" here... But the exact name does vary.

If you can't find or don't have a setting like that your alternative is better but more expensive: a UPS. Essentially a big 12V battery that you plug your computer in to. It'll handle surges and should keep the computer running for a period of time (determined by the size of the battery). Getting the battery size correct is important (too much load on a small battery can fry the UPS) but 1000VA is a good start for the average destkop.

I don't think there's a pure-software solution to this. My next alternative involved a Lego Mindstorm robot that presses your power (and then Escape) button on a schedule... But now we're getting weird.


Point Release upgrade from 14.04.1 to 14.04.2?

TL;DR: That series of HWE kernels actually came out before the 14.04.2 point release.

The real question here is, why does uname -v output #44~14.04.1-Ubuntu SMP Fri Mar 13 10:33:29 UTC 2015 on Ubuntu 14.04.2? That is, why does a 14.04.2 system receive HWE kernels whose build numbers are tagged 14.04.1?

Here's why your question boils down to that specific point:

lsb_release -a and cat /etc/os-release | grep VERSION= agree; they both say you have 14.04.2 (which you do). Therefore the only apparent discrepancy is between information given by uname about your kernel and information in both /etc/lsb-release and /etc/os-release about your system as a whole.
You ran uname -a, not uname -v. But uname -a prints all available information ever printed by uname (it is equivalent to uname -snrvmpio, when -i and -o are known). The output you're interested in is confined to the field confusingly called "the kernel version" in man uname.
Although it's sometimes called the "kernel version," it's really better to think of it as a build number--or build identifier, if you don't like calling non-numeric strings "numbers." The output of uname -v changes to enable users to distinguish kernels built as separate releases in a series, even if they are of the same underlying "kernel release" (uname -r).

The first step in understanding why your "kernel version" contains 14.04.1 and not 14.04.2 is to note that most kernel version strings, including for downstream Ubuntu kernels, don't contain any version information about the operating system as a whole. For example, on my 15.04 system:

ek@Io:~$ uname -v
#12-Ubuntu SMP Fri Apr 3 04:03:26 UTC 2015

This is the more common situation. The first word (#12-Ubuntu) indicates this is the twelfth downstream Ubuntu build of this particular kernel--or, in any case, that it is the twelfth in a series of builds, which may or may not consist entirely of kernels with the same uname -r.

An HWE kernel in Ubuntu contains numbers indicating a particular release of Ubuntu because it is backported from a later Ubuntu release and should be readily distinguishable from that Ubuntu release's builds. To distinguish HWE builds of Linux 3.16 provided through linux-generic-lts-utopic  for Trusty from those provided through linux-generic  for Utopic, the Trusty builds contain 14.04.1 in the kernel version string.

Why not 14.04.2 instead of 14.04.1? (After all, the 14.04.2 release notes say "this point release contains an updated kernel and X stack..." The 14.04.1 release notes say no such thing.)

The reason is that linux-generic-lts-utopic --and the first of the packages it pulled in as dependencies to actually install a 3.16 kernel--was released for and installable on Trusty between the 14.04.1 and 14.04.2 point releases.

To check this, you can visit Ubuntu on Launchpad and search for the linux-generic-lts-utopic package, revealing linux-meta-lts-utopic as the underlying source package. Then clicking on "View full publishing information" or "View full change log" reveals the history of the package.

In particular, in the publishing history, note:

All entires list Trusty as the target, so this pertains to your system; we are not looking at packages for the wrong Ubuntu release.
The first packages considered stable, i.e., rolled out to users in the updates or security pockets (rather than just the proposed pocket) begin with 3.16.0.25.19 on 2014-12-11 01:25:33 UTC.

That is, linux-meta-lts-utopic came out for Trusty on December 11, 2014, which was ten weeks before the 14.04.2 point release on February 20, 2015. When these kernels came out, they were built for and tested on 14.04.1 systems, not 14.04.2 systems, so their builds were (and should thus probably remain, for consistency) numbered with the pattern #N~14.04.1-Ubuntu.


I know this question is a little old, but have come across this twice now. Once with puppet, once with virtualbox. It cropped up again and I found something that worked. It's a variation on serverfault.com.

Instead of relying on dpkg-statoverride --remove /path/to/offending/file.ext which, throws the error

dpkg: unrecoverable fatal error, aborting:
syntax error: unknown group offendinggroup in statoverride file

You can get fancy with sed, or you can simply open /var/lib/dpkg/statoverride in your favorite text editor and remove only the lines containing the item(s) that were causing the error. I found that this is a documented bug, for both Debian, and Ubuntu,

https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/593615
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705752

That said, I just fixed mine by manually editing out any entry that threw an error, and I am happily downloading packages again. Hope this helps the next person, who visits this number 1 Google search result for this problem.


Write error : cannot write compressed block

After looking into this more I discovered that during the boot process the kernel has to mount the root partition. The modules needed to enable this are not compiled into the kernel but are located in the “/lib/modules/” directory which is on the root partition. The kernel cannot access the necessary modules for mounting the root partition which are located on the root partition without first mounting the root partition so its a catch 22. The initrd image exists to solve this problem. The initrd image contains the modules required for mounting the root partition. The initrd image resides on the same partition as the kernel image. During the boot process the kernel loads the initrd image into memory and is then able to access the required modules to mount the root partition.
As can be seen from my disk usage over half the space on the boot partition is taken up by three initrd images. Only one is required so I was able to create a lot of extra space by deleting the two older initrd images. I could also have deleted all the initrd images and made a new one with
sudo update-initramfs -c -k $(uname -r)


tightvncserver 1.3.10 for Ubuntu 16.04 can be manually downloaded and installed in your Ubuntu 14.04. No additional dependencies are required to install it in Ubuntu 14.04.

Visit the official Ubuntu - Details of package tightvncserver in xenial website and download the tightvncserver package that matches your OS's architecture.

Click the OS architecture printed in red in the Download tightvncserver table (amd64 or i386).
Select a mirror from the list of mirrors and download the tightvncserver .deb file (either tightvncserver_1.3.10-0ubuntu3_amd64.deb or tightvncserver_1.3.10-0ubuntu3_i386.deb depending on your OS's architecture) to your Desktop.
Double-click the tightvncserver .deb file that you downloaded to open it for installation in the Ubuntu Software Center.
Run the following command to prevent tightvncserver from being automatically installed, upgraded or removed.

sudo apt-mark hold tightvncserver


Impossible to log in after changing $PATH

You could have still startd the programs with their full path, for example /usr/bin/vim. Since most programs didn't work for you, you could have checked packages.ubuntu.com for their paths: http://packages.ubuntu.com/trusty/amd64/nano/filelist

Alternatively you could have booted into recovery mode and opened a shell there I guess.


The issue is hybrid graphics. You need to follow the instructions on this site here to setup your late model XPS. Its for an XPS17 but should work for you...

http://www.cmdematos.com/2011/10/ubuntu-1110-oneric-on-dell-xps17-l702x.html


Ubuntu Power options, Dim screen functions from Gnome unchangeable

Thanx everyone who tried to answer i was able to solve the issue.
If anyone is having that issue please have a loot at this link:

How to fix Unity locked disabled settings?


Can't update NetworkManager to latest stable version

Running into dependency issues while building from source is normal and painful. It's better to install using apt

First, let's see the package that's responsible for NetworkManager

dpkg -S $(which NetworkManager)

It's the network-manager package. Now let's see what we have avaliable

apt policy network-manager

On U18 I have 1.12.4 . Try upgrading the network-manager package.

sudo apt update
sudo apt install network-manager

If you want the ubuntu 18 network-manager package you can try the below

# WARNING! THIS IS DANGEROUS AND MIGHT BREAK YOUR SYSTEM. IT'S BEST TO REMOVE IT AFTER INSTALLING THE PACKAGE YOU WANT
echo 'deb http://us.archive.ubuntu.com/ubuntu bionic universe' | sudo tee -a /etc/apt/sources.list
sudo apt uddate
sudo apt install network-manager

One more thing (and this is a shot in the dark); a lot of the dev packages will have the header files you need. So try

sudo apt install network-manager-dev


Drag forward installed Python packages when upgrading

Regarding how to keep your Python packages when the system Python is
upgraded: I see two options:

You can install non-Ubuntu Python stuff with easy_install
--install-dir /usr/local/python Then you make sure that all your
webapps include that directory into sys.path, for instance by
including it into PYTHONPATH, or using a directory that is
automatically included by site.py (whose doc states that "Local
addons go into /usr/local/lib/python<version>/dist-packages")
You can use virtualenvs, provided you can place all your app data
and configuration in a directory independent of the code.
Here's a sketch procedure:

a. Place all the code-independent stuff into directory
    myapp-data/

b. Create virtualenv myapp-code.XXX/ (where XXX is some
    unique version number, e.g., date -I)

c. Place app code and all dependency packages in myapp-code.XXX

d. ln -s myapp-code.XXX myapp-code

When you have to upgrade, you just repeat steps b. and c. with a
different revision code YYY, then: stop currently running app,
symlink myapp-code to myapp-code.YYY, start app from virtualenv
myapp-code.YYY.  If something goes wrong, you can still roll back to the
old virtualenv quickly.

Apparently, 2. is more work (but pip plus some shell-scripting will
take you a long way towards automating it), but it should also be more
robust and will allow you to concurrently run applications that depend
on different versions of some Python package.

Regarding your question about an apt-get-like for Python packages:
pip explicitly disallows such a thing, and for a good reason:
package APIs and behavior may change across different versions.
Therefore, if your code runs fine against version X, it may fail when
run with version X+1.  This is exactly what pip tries to prevent
with its "freeze" and "requirements list" features.

Of course, the same argument can be applied to any program in a binary
distribution like Ubuntu; indeed, what makes apt-get useful is that
Debian and Ubuntu provide a coordinated release of interoperable
packages: a lot of effort from the maintainers goes into ensuring that
all Ubuntu packages in the main repositories are compatible.

There is just no such coordinated release of Python packages: each
package is independent and no information is available about what
version of other Python packages are compatible with it.  (This could
possibly be a good addition to PyPI metadata.)


How to fix X Error: BadAccess, BadDrawable, BadShmSeg while running graphical application using Docker?

You can set the option --ipc=host to enable the docker container to communicate with host processes and also accessing the shared memories .

The command to launch graphical application will look as follows:

docker run --ipc=host -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --user="$(id --user):$(id --group)" ubuntu:freemat

and will show the application window:

MIT_SHM is actually an extension for passing the XImages and some Pixmaps via shared memory. So if the container cannot access that , you cannot open almost any graphical application.

And if you're concerned with the security , you can use --cap-drop to drop some capabilities as stated here.


Ok i found a solution myself. But dont know why this have to be this way. First run it on 60Hz once, it will fail as 60Hz rate isnt supported on DVI single link. Observable on the Xorg.0.log Then run it on 30Hz, voila now it works! Tested this on multiple restarts, repeatable all the time Not sure why its happening this way, weird.


How to replace a faulty Java installation with a new one?

The version of Java 8 that WebUpd8 provides (8u151) is outdated and no longer provided by Oracle, so it gives an HTTP 404 (not found) error. Here's another answer that provides a temporary fix:

This problem occurred again because version 151 has been archived. This version is referenced currently by the PPA. You can use the following commands to update the reference to 161:

cd /var/lib/dpkg/info

sudo sed -i 's|JAVA_VERSION=8u151|JAVA_VERSION=8u161|' oracle-java8-installer.*
sudo sed -i 's|PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/|PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u161-b12/2f38c3b165be4555a1fa6e98c45e0808/|' oracle-java8-installer.*
sudo sed -i 's|SHA256SUM_TGZ="c78200ce409367b296ec39be4427f020e2c585470c4eed01021feada576f027f"|SHA256SUM_TGZ="6dbc56a0e3310b69e91bb64db63a485bd7b6a8083f08e48047276380a0e2021e"|' oracle-java8-installer.*
sudo sed -i 's|J_DIR=jdk1.8.0_151|J_DIR=jdk1.8.0_161|' oracle-java8-installer.*

Then, try sudo apt update; sudo apt upgrade.


Upgrading Python 3.6 to 3.7 in Ubuntu 18.04 LTS

No

Ubuntu uses a snapshot method of populating the software repositories. After release, the only changes are for security and major bugfixes. In addition, a great deal of the system depends upon a specific version of python - upgrading python may break those services (like apt).

Historically, Ubuntu has never upgraded to the next major version of Python or Python3 during a release. All upgrades occur during pre-release testing.


ubuntu freezes after login (even though driver installed)

By connecting an external monitor via HDMI, I found out that nvidia wasn't detecting my internal laptop display.

So I dug in to this problem and found this post

Internal laptop screen not detected when using Nvidia driver

by replacing the xorg.conf configuration file to the original one solved the problem.


pyotherside cannot be loaded on Ubuntu 16.10

The SDK is extremely broken in 16.10.

Issues include

Wrong packages are chosen by the updater (this is probably what you're experiencing): https://bugs.launchpad.net/ubuntu-sdk-ide/+bug/1647057
Emulator does not boot: Ubuntu Touch Emulator on 16.10
Graphical UI designer does not work
Random Crashes and instability

Given the development pace of the sdk up until now, i don't think it it will be fixed for 16.10 before the release of 17.04. I know this might not be a satisfying answer, but i recommend you downgrade to 16.04. It will save you a lot of hassle if you want to work with Ubuntu Touch.


Hp printers require qt4 installed so install with:

sudo apt install python-qt4

Then run the hp-setup again.


Making A Partition with Gparted - Unmount?

You cannot unmount a partition while you are using it.  The way to do it is to boot from a live CD or USB drive, and run gparted from there.  Then you will usually be able to resize any partitions on your hard drive.

The original Ubuntu disk will work, as will specialized utility disks like gparted magic, but all of them simply use gparted to do the work.


It was stuck. Even after leaving it for about 17 hours, there was no progress update or any other change, despite ntfsresize working at almost 100% IO according to iotop. Force Cancel didn't even work - I had to kill.

Upon rebooting, Windows actually booted fine (much to my surprise) and my files appear to be intact, but chkdsk flags up a lot of errors:

Stage 1: Examining basic file system structure ...
Attribute record (80, "") from file record segment 2B0
is corrupt.
Attribute record (80, "") from file record segment 771
is corrupt.
Attribute record (80, "") from file record segment 809
is corrupt.
Attribute record (80, "") from file record segment 826
is corrupt.
Attribute record (80, "") from file record segment 835
is corrupt.
Attribute record (80, "") from file record segment AC8
is corrupt.
Attribute record (80, "") from file record segment BD6
is corrupt.
Attribute record (80, "") from file record segment 14E1
is corrupt.
The total allocated size in attribute record (80, "")
of file 130000000018F5 is incorrect.
Deleted corrupt attribute list entry
with type code 80 in file 18F5.
Attribute record (80, "") from file record segment 22FB2
is corrupt.
Attribute record (80, "") from file record segment 22FBF
is corrupt.
Attribute record (80, "") from file record segment 22FD0
... and many more


I use it like that:

setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll,compose:menu -layout 'us,lt,ru' -variant ',,phonetic_winkeys'

The main thing is 'us,lt,ru' and ',,phonetic_winkeys'. In your case it will be -variant ',phonetic_winkeys'


Can not log into Ubuntu after update software and remove nvidia driver

It seems a lot of people are having boot issues with the latest update. It appears it has to do with the newest kernel. It happened to me as we'll and I had to reinstall everything before I did a little research. What worked for me was the following:

Restar your machine and press shift to get to the Grub menu and select a previous version from your kernel. Let me know if it boots. Tomorrow I once I'm at my office I can help you remove the new kernel.


Is it possible to extract desktop environments from an Ubuntu derivative Distro to an installed ubuntu installation

If I wanted to put a desktop environment onto a computer without a internet connection I would do the following. Find the package name you would use if you had the internet. We will call this PACKAGENAME. On the computer without the internet run:

sudo apt-get -qq --print-uris install PACKAGENAME | cut -d\' -f 2 > urls.txt

This should save the urls of the .deb packages it wants for the install to the file urls.txt. Go to another machine and download these packages onto a USB.

Put the USB into the computer you want to install on. Navigate to the USB folder, or move the files onto the computer and navigate to this folder in the terminal and run:

sudo dpkg -i *.deb

This should install all the .deb files you downloaded. Once it is done you should be able to logout and then choose the desktop environment and log back in.


How can I reconnect to a ssh session after a broken pipe?

The answer to your proper question is: you can't. I think the main problem is that the authentication procedures will be out of sync. It Just Doesn't Work Like That.

As you have yourself noticed, the solution is to use screen when possible (by the way, tmux is an alternative to screen).


screenshot now using $HOME not $HOME/Pictures

Install dconf-editor and run it.

Go to / org / gnome / gnome-screenshot
Click in auto-save-directory. Disable Use default value.

Add your desired folder in the text box, i.e. ~/Pictures

Hope this is what you want


I think that it's an issue with the program itself or with your Java installation, can you tell us what version of Java have you installed and also, what kind of packet you installed (I mean, from OpenJDK or from Oracle).


Prevent kernel modules  filesystems; (xfs,jfs,reiserfs) from loading

You can blacklist them in /etc/modprobe.d/blacklist.conf by adding blacklist xfs blacklist reiserfs etc. You can also create your own blacklist there. for example blacklist-mine.conf.

Still it's strange that all those are loaded. Have you started gparted before checking or are you on a live system maybe?


Anyway you can shutdown from terminal using the command,

sudo shutdown -h now

or,

sudo poweroff

Afterwards you need to put your sudo password. Here is an answer describes how you can shutdown from terminal without entering password. To do so,

Just run sudo visudo from terminal and add the following line:

%user_name ALL=(ALL) NOPASSWD: /sbin/poweroff, /sbin/shutdown

This allows you to run the above commands, using sudo, however with no password.
So, sudo poweroff or sudo shutdown -h now will now result in a password less shutdown.

If you want a step further ahead you can make a alias named stopnow or whatever,

alias stopnow='sudo poweroff'

That would enable you to shutdown the system by only running stopnow in terminal.


Ubuntu downloaded as a folder, not an image

It's highly likely that the file you downloaded was a ZIP or that you have a program that extracts ISO files when you try to open them. The original ISO should still be in your Downloads folder, so use that. If you are using IE or Firefox to download it, make sure you use the Save or Save As... option and not the Open one.

To burn the ISO, you're going to need a program to do that. Windows 7 doesn't really have the capability to do this, although Windows 8 and above do. My personal recommendation is ImgBurn.


Can't connect to the net with RTL8111/8168B from RealTek

Did you read evry errors appearing while installing r8168? Make sure so it is located in exact directory before blacklisting r8169. But, r8169 must work, but with horrible perfofrmance. For me it works great, until I change my video driver from Nouveau to NVIDIA 331.89. When I change them, r8169 almost does not work. I have tried to install r8168, but from my experience, that time my OS got broken. Just driver 8169 got deleted, 8168 did not install, and I had to pay 30eur to fix it(could not re-install OS- it blocked me).

Remember: To avoid problems like that, watch for errors and ask help to the ones, who places tutorials.


Error grub-efi-amd64-signed failed to install into /target/

Just to reply to you I've created this account and it's my first ever reply
Even I was facing the same issue from past 3 days.

Now I've successfully installed Ubuntu 17.10. I'll tell the process as short as possible.

Enable legacy.
When you boot up the OS live, click on install and reach to the process where you select the partition. Here instead of giving 2 partition (i.e swap & ext4), we'll give 3 partitions(ext4, swap and efi).
Now you give ext4 partition with / mount point.
Select how much swap you want as well.
Now, select more than 1 GB (I took 2GB) and give the partition as efi.
Now carry on the remaining installation.

You'll be able to install the OS.
Remove USB when reboot and Enjoy :)


It should be booting after Boot Repair has done its thing. You've probably got a defective EFI on your hands. I recommend you check your manufacturer's site for an updated EFI (it will probably be called a "BIOS update" or something similar). If you find one, update the firmware and then try running Boot Repair again. I don't actually hold out much hope that this will work, but it might. One complication with this advice is that you may need to be booted into Windows to update the firmware, so you may need to get it working well enough to boot before you can do this. Other times, though, you can update the firmware using the firmware's own setup utility -- you'll just need to write the setup files to a USB flash drive from another computer.

If that doesn't work, then my next suggestion is to disable Secure Boot, download the USB flash drive or CD-R version of my rEFInd boot manager, prepare a boot medium, and boot with it. This should enable you to boot either Ubuntu or Windows. Boot Windows, open an Administrator Command Prompt window, and type:

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

This creates a boot entry from Windows, which is occasionally more reliable than doing the job from Linux. If it works, you can re-enable Secure Boot.

If that doesn't work, then my (almost) final suggestion is to run Boot Repair again, but enter the Advanced menu and select the option to back up and rename boot loaders. (I don't recall the precise phrasing, but it should be obvious.) Run the repair with that option selected. This enables an ugly hack to work around the ugly EFI bug that's causing your problem.

Really, though, if you have to resort to that last option, your computer is broken. As in, broken so badly that it should be returned to the manufacturer as defective. If the computer is new enough to qualify for an in-store return, I suggest you do just that, then write to the manufacturer to report the reason for the return. Without such returns, and knowing the reason for them, manufacturers will continue to ship broken firmware.


1- check cron.daily did run

less /var/log/syslog

it did run in my case
2- run the main command contained in the cron routine

sudo less /etc/cron.daily/rkhunter
sudo /usr/bin/nice -n 0 /usr/bin/rkhunter --cronjob --report-warnings-only --appendlog > rkhunter20131127

if it does not work, add echos to /etc/cron.daily/rkhunter to display the parameters

sudo vim /etc/cron.daily/rkhunter
echo "cron_daily_run".$CRON_DAILY_RUN;

I found out the value for CRON_DAILY_RUN was empty
3- therefore

sudo vim /etc/default/rkhunter

changed

CRON_DAILY_RUN=""
CRON_DB_UPDATE=""

to

CRON_DAILY_RUN="true"
CRON_DB_UPDATE="true"


In tty1 you cannot to edit a file with gedit. Use vi for example:

sudo vi /etc/profile.d/[file]

where [file] is the name of the file that you edited (it cannot be /etc/profile.d because this is a directory).

And I think that you should reset your PATH to default (because of gedit : command not found.):

export PATH='/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'

Other thing that you can do is when you are in tty1 to run this:

sudo chown -R $USER:$USER /home/$USER/

You can replace $USER with your actual username.

Try logging in again.


How do I display network usage in GNOME top panel?

None of the answers fit my needs so I decided to do some more digging and found out the most suitable solution. That is to use both NetSpeed and Simple Net Speed

Simple Net Speed has the option of displaying total network usage and I use this to know how much data has been used and I use NetSpeed to know the current speed.


Ubuntu 17.10 freeze when external Mouse is used

Some regular updates later the problem does not occur any more.


Unable to locate package default-jdk on Ubuntu 16.10

It happened to me before, although my release version was a supported one (sometimes oracle repo updates Java and ppa tries to download installer from the old link).

In this link you can see the following:

Ubuntu 16.10 Yakkety Yak is no longer supported by Canonical (and thus, Launchpad and this PPA). The PPA supports Ubuntu 17.10, 17.04, 16.04, 14.04 and 12.04.

Although, if you require to install Java in Ubuntu, I'd rather recommend to install directly .tar.gz file from here, follow the instructions for installing, you just need to uncompress .tar.gz file and update alternatives for Java as this link explain.


Some MP3s have to be synced multiple times before tags are read properly

There doesn't appear to be a open bug for this on https://bugs.launchpad.net/ubuntuone

I suggest you open a new bug:
https://bugs.launchpad.net/ubuntuone/+filebug


Error while installing applications - "An error occurred while loading the archive."

It seems that you are trying to run Windows programs on Linux. Linux has its own set of software and cannot run Windows .exe files to install any software. Instead, software must either be installed from original developer's code, called source code, or the package manager must be used. The Ubuntu Software Center is the default package manager. You can install many different apps with that. A high percentage of the problems that new users have with Ubuntu relates to getting software, such as hardware drivers, to work.

Here are some links that you may find useful and will explain how to get started with Ubuntu:

Ubuntu Desktop Guide: https://help.ubuntu.com/12.10/ubuntu-help/index.html
Adding and Removing Software: https://help.ubuntu.com/12.10/ubuntu-help/shell-overview.html#addremove
A thorough explanation of how software management works in Ubuntu: (essential reading for any Ubuntu beginner) https://help.ubuntu.com/community/InstallingSoftware
Installing Windows programs on Linux using WINE: http://www.howtogeek.com/105271/how-to-run-windows-software-on-ubuntu-with-wine/

I hope things go well for you using Ubuntu!


How to build a computing cloud for scientific computing?

What you want, is a cluster, not a "cloud." MaaS isn't what you're looking for, if you want to combine the computing resources of all the machines into a single resource. MaaS and other similar "cloud" tools allow you to manage many machines or VM instances, but does not provide clustering features inherent in the system.

You need to go look at the available clustering tools instead, to build a clustered system.


Out of curiosity, I just installed apt-mirror
 and configured it to mirror maverick,  maverick-security, and   maverick-updates (i386 only). It reported:

68.6 GiB will be downloaded into archive.


Tool for managing RasPis with Ubuntu Core?

It's not the simplest to use, but Saltstack does pretty much what you're asking for. I use it to manage my Raspberry Pi security cameras from my Ubuntu 16.04 server. It's free, cross-platform, and once configured can be used to install/configure programs, distribute files and verify that services are running from a central master.


I managed to do this (finally) by:
- adding the ppa https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable
- reinstalling melt


How do I turn off the border around Unity launcher icons?

The launcher icon overlays such as borders and highlights can be removed quite easily by changing 4 icon overlays in Unity.

Make a backup of the following image files in the folder
/usr/share/unity/4/:

launcher_icon_back_54.png
launcher_icon_edge_54.png
launcher_icon_glow_62.png
launcher_icon_shine_54.png

Either make your own transparent images of the same size or download the files at

wget -O transparent54.png "https://i.stack.imgur.com/MiFpK.png"
wget -O transparent62.png "https://i.stack.imgur.com/0NvP0.png"

Replace those 4 files with the same 4 files downloaded from the above link.
Restart unity by pressing Alt+F2 and typing setsid unity (or logging out and in again).
If you don't like it then just replace the icons with the backed up icons and restart unity.

Example:


Is the output of cat /boot/grub/grub.cfg | grep "menuentry 'Ubuntu'" -A 15

menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-26e384d0-b064-49c9-98a1-dd92bdfc8174' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd1,msdos8'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  3d95e70d-8342-4c37-bf28-53e843f66a22
        else
          search --no-floppy --fs-uuid --set=root 3d95e70d-8342-4c37-bf28-53e843f66a22
        fi
        linux   /vmlinuz-4.2.0-16-generic root=UUID=26e384d0-b064-49c9-98a1-dd92bdfc8174 ro  quiet splash $vt_handoff
        initrd  /initrd.img-4.2.0-16-generic


I would definitely lean away from getting under upstart's hood. You can do this another way.

The Cookbook's section on the instance stanza has some example of how to do things like this. I do something like this with multiple PostgreSQL instances; see this answer.

The basic idea here is to create what I call a "pony engine" job that starts all your instance jobs. In your case you could have it iterate through the sub-directories of /home, or keep a separate conf file that lists users you want the service to run for. For each user start a sync.py instance.

You are correct that the start on/stop on is useless in the instance job. Move it to the "pony engine" job.

Unfortunately I don't have access to a Linux box right now, but see the aforementioned answer for examples.


Logout your current session

You should have the choice and select your display manager (click the little wheel) see here

Login


Synaptics: select by words (triple click) using touchpad

It seems like you want the touchpad to be more sensitive, try the first answer in this link:

https://superuser.com/questions/229839/reduce-laptop-touch-pad-sensitivity-in-ubuntu

But don't just copy the values he pasted, read carefully what he says about what values adjust what, and play around with it a bit.

The second answer there also might help you.

(also keep in mind that this is an answer for an older version of ubuntu so it might not work)


How to give device directly connected by wired ethernet a static ip?

Dnsmasq is very nice tool to setup DNS and DHCP Server for small LAN Networks.
Using it you can also make reservation for IP address. I suggest you to read guide here.  In your case b8:27:eb:ce:e9:46 is MAC of your raspberrypi device.

For reservation of Same IP in dnsmasq, Create new dnsmasq file.

sudo nano /etc/dnsmasq.d/example.dns

Write following content. Modify it as per requirement.

# General configuration

domain-needed bogus-priv
domain=home.lan
dhcp-range=10.42.0.90,static,48h
dhcp-option=10.42.0.1

 # Static IPs
 dhcp-host=b8:27:eb:ce:e9:46,rasberrypi,10.42.0.90


Yoga Laptop - Autodisable Keyboard when screen folded back to use as tablet? (Help with possible fix)

You probably need to install libinput-tools in order to get the actual libinput command. At the command line run:
sudo apt install libinput-tools

After doing this, that long command should run. In case it wasn't clear, you're supposed to run that command (which will just hang around waiting for something to happen) and then fold your Yoga into tablet mode and back - this will cause the waiting command to print out the event info that corresponds to tablet_mode.


Cant boot into Windows 8 through grub2 menu

Run the command sudo os-prober

If the output shows you Windows then you are in safe. So From your booted Ubuntu system, use the following command in a terminal:

sudo update-grub

This should help.

If the problem still then from the  windows recovery console:

bootrec / fixmbr

Then

bootrec / fixboot

then update-grub again from your Ubuntu


Wifi not working after suspend. No previously followed methods worked

I found a solution here:

  Step 1: Create a new script in the systemd system-sleep folder.

sudo nano /lib/systemd/system-sleep/reset_network.sh

  Step 2: Copy and paste the following into the newly created script.

#!/bin/bash
if [ $1 = post ] && [ $2 = suspend ] then
    service network-manager restart
fi

  Step 3: Exit nano by pressing Ctrl + X and save it.

  Step 4: Make the script executable.

sudo chmod +x /lib/systemd/system-sleep/reset_network.sh


I would imagine /dev/zero would be quicker. You could test by using the test command in the terminal.
Advanced recovery tools can analyse the residual magnetic fields left on the disk blocks in order to recover data that has been overwritten. The safest way completely destroy data is to write random data to the disk multiple times (this all assumes you are using a magnetic disk, and not an SSD).


Disable localhost postfix sending emails outside my machine

Try setting the relayhost to an nonexistent host. That way it would bounce (after some timeout) anything destined for outside your localhost.


KDE suspend after idle not working (but can suspend manually)

It seems that bluetooth was keeping my computer from auto-suspending after 60 minutes of idle activity. After turning bluetooth off, my computer started auto-suspending again. I'm not sure why this is the case, but just an FYI for anyone else who may have the similar issue. If someone knows why this is the case and posts a good explanation, I will be happy to accept your answer.


Kubuntu 14.04 - Can Oracle JDK 8 (for later use with NetBeans 8) be installed along with currently installed OpenJDK6 & 7?

Ok, everything went ok and here is how I did briefly:

I left OpenJDK 6&7 installed on my PC. Apparently no problem installing Oracle JDK8 along with them, in a dedicated directory. I only added these lines to my ~/.profile at the end of the whole installation process to be sure to be using JDK/JRE 8 at all times:

export JAVA_HOME=/usr/local/bin/jdk1.8.0_51
export PATH=$JAVA_HOME/bin:$PATH

Note: JAVA_HOME wasn't set previously.

followed tutorial http://www.tecmint.com/html5-mobile-web-development-using-netbeans-and-java/ to install JDK and NetBeans (adapted a bit to the most recent JDK/NetBeans releases and to my needs - no intention to develop HTML5 applications, so I downloaded the "Java SE" edition of NetBeans).
Installation directories I chose (I actually conformed to the tutorial):

/usr/local/bin #for JDK.
/usr/local #for NetBeans.

Addition:

Some time later I realized that double-clicking on a .jar file was still launching "OpenJDK Java 6 Runtime" (cautious-launcher %f /usr/bin/java -jar) by default.

So I added a new entry (later set as the preferred one) in KDE's File Association preferences, for known type "application > x-java-archive":

[Name = Oracle JDK 8 Runtime]
[Command = cautious-launcher %f /usr/local/bin/jdk1.8.0_51/bin/java -jar]

Note: as for existing entry "OpenJDK Java 6 Runtime", .jar applications will not be allowed to execute except if their Executable bit is set (to be set manually if needed) - refer to "cautious-launcher".


Replaced windows 8 with ubuntu. All partitions deleted

You have chosen the replace Ubuntu with Windows 8, this formats the entire partition table of Windows and creates new partitions for Ubuntu which includes '\','\Home' and 'swap'. So reinstalling Windows 8 and running a recovery 'll not fix the problem.


How should I determine if a user is logged in graphically while lightdm is running?

See the answer to this question. You will probably end up using D-Bus and ConsoleKit.


Not Able to turn off keyboard backlight in UBUNTU 18.04. Tried many solutions

I was having the same problem on my asus rog strix g 531gt and couldn't find a solution for a week, but in the end following the relevant section of this blog post got rogauracore working.

  Setting up RGB Keyboard

  As discussed above, ASUS AURA is a Windows-based application and it is bit tricky to get it working in Linux. However, thanks to Will Roberts, who developed the AURA CORE library for ROG laptops.

git clone https://github.com/wroberts/rogauracore.gitcd rogauracore
sudo apt install libusb-1.0-0 libusb-1.0-0-dev
sudo apt install autoconfautoreconf -i
./configure
make
sudo make install # Shutdown and restart the system
 Rainbow
sudo rogauracore rainbow
# Usage:
sudo rogauracore COMMAND ARGUMENTS
# COMMAND should be one of:
single_static
single_breathing
single_colorcycle
multi_static
multi_breathing
red
green
blue
yellow
cyan
magenta
white
black
rainbow

Hope it works for you too.


Kubuntu 12.04 Firefox and Rekong don't know how to open downloaded files

Here is a workaround for the Firefox problem from Canonical support:

1) stop firefox
2) rm ~/.mozilla/firefox//mimeTypes.rdf
3) start firefox
4) download a file
5) open it from the downloads menu and choose the application. Browse to /usr/bin  /xdg-open. then check to remember your choice

Now both open and open containing folder should work. You can then change the preferred programs through kde's file associations settings.
NOTE: I have confirmed that this solution works. It's a workaround, but in some ways it is an improvement over the original Firefox approach (for KDE users).

Regarding Rekonq, I was in the kubuntu-devel IRC channel recently speaking to a developer. He said he was putting through a fix for the Rekonq issue. I believe it is in place now. I'm told that that after 'apt-get upgrade rekonq' has been run on Kubuntu 12.04 beta1 that this Rekonq bug is gone. EDIT: yes, I have confirmed this fix too.


How to troubleshoot high cpu problems related to postgres and postmaster service?

This situation arises when you are running some seriously computationally heavy and complex queries against your database or you have a very high load of queries. Postgres has a few monitoring tools available, one of which is pg_top. Take a look here


Will an ultrawide monitor work with my Ubuntu laptop?

What I can tell is that the 29" models like 29EA93 do work out of the box using Dsplay Port. With HDMI you might have to modify the xrandr configuration as explained in this article at Debian forums.


Is it necessary to uninstall first before updating .deb package?

No, you don't have to remove previously installed one.
However, it depends on the package quality. Myself I don't uninstall first only if I already faced a problem.

The normal update installation just remove the previous keeping the configuration files then install new one. dpkg will ask you to overwrite or keep previous config file if it is in /etc and they are different.

If I'm going to remove 1st then I do purge instead that will remove all files including the configuration ones.

dpkg -P package...
dpkg --purge package...


Thank you very much for your comment!

The command you suggest worked for me too, and helped me to find how to fix it. I am still puzzled why this problem started.

Here is a solution:

Click  System Settings -> Universal Access -> Pointing and Clicking
Switch Hover Click to Off.
That's all!

Here is how I knew where to look.
I assumed that if this mousetweaking starts after restart, there is some setting that triggers it. Who might want such an odd behavior?
I looked for it with various grep commands. This one is a winner:
    grep -r mousetweak .*
It founds that file ~ /.local/share/gsettings-data-convert mentions it. It must be a Gnome setting. So I digged Gnome help for a while and found it :)


It applies to anything, increasing your total storage space to 25GB, and only lasts for the 6 months of the promotion.


Configuring internet to run off wifi instead of wired connection

On the Ethernet connection there should be no default route. With NetworkNanager you configure that via nmcli connection modify $NAME ipv4.never-default yes and re-activate the connection for the change to take effect (that is nmcli connection $NAME up).

You can also use one of the GUIs, for example in nm-connection-editor, go to the IPv4 tab, then "Routes", then "use this connection only for local stuff " (or something like that).


We found a solution, I post if it can help someone with the same kind of problem.

The problem was kerberos ticket expiration within the screen or tmux session. The kerberos ticket was use to mount nfsv4 folder where some file were written by the program, so after 12hrs the ticket expired and the program tried to write in unreachable file and get a segfault. nfsv4 was used for our server on ubuntu 16.04, nfsv3 on ubuntu 14.04...

The solution, in the screen/tmux session, lauch the program with the following command : krenew -K 60 ./a.out


How can I get bash/zsh to change some text from "foo.foo.foo" to "foo foo foo" with a script/alias?

You can use tr command to convert character.

% echo "foo.foo.foo" | tr '.' ' '
foo foo foo


First Question

There are two ways to get grub back.

Method 1

While running Ubuntu via Pendrive, install boot-repair, open up a terminal and type the following:

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

boot-repair will automatically launch, if is doesn't, launch it via Dash. Select recommended repair and boot-repair will take care of repairing and getting back grub for you. Reboot.

Method 2

While running Ubuntu via Pendrive, you can mount the root partition into which you installed Ubuntu. To mount the partition, you can either mount it via Places in Nautilus or via terminal, by typing sudo mount /media/label_or_name_of_root_partition. For example, to mount the Ubuntu root partition labeled as ubuntu, do this:

sudo mount /media/ubuntu

OR

sudo mount /mnt/ubuntu

After mounting the root partition of Ubuntu, reinstall grub by specifying the root Ubuntu partition and hard drive:

sudo grub-install --root-directory=/media/ubuntu /dev/sda

Do not include the partition number on /dev/sda because grub will be installed on the mbr of the hard disk not on a partition.

After the installation, you should see something like this:

Installation finished. No error reported.

Reboot.

Second Question

If the time comes and you want to completely remove Windows, you can use GParted to delete the Windows partition and increase the Ubuntu partition with the space gained. There are several tutorials you can find on the web or here to use GParted. This particular post would help you remove windows so Ubuntu fills the hard drive and this Ubuntu Community page remove Windows


Upstart not reopening log files on logrotation

I believe you have 3 options.

You modify the existing configuration by adding "copytruncate"

/var/log/upstart/*.log
{
    copytruncate
    daily
    missingok
    rotate 7
    compress
    notifempty
    nocreate
}
If you can't or (are not allowed) to change the existing logrotate config because of other log files that don't suffer and the existing config works for them, then move your "SERVICE_NAME.log" files to a new folder under /var/log if your wish, create a new config with the "copytruncate" and add it to the cron.daily.
a) If you're not allowed to change the host os logrotate config or add to the host OS's cron.daily, then your third option is to change the scripts or programs to either check that the file exists before writing out to the file.
b) Another way is a bit of point 2 above which is to move your logfiles somewhere else and within you script or program, execute the logrotate command specific for that program's logfile.

Point 3b above is more tricky but more elegant and it is what I use most of the time as it means the program is self-sufficient and self-managed and doesn't need the OS's jobs to babysit it.

To find out how to manually run logrotate and add it to your program or script just type:

man logrotate

or

logrotate --help

If you are using Python for your programs you can check out how this program uses it to self-manage its log files.
http://bazaar.launchpad.net/~ferncasado/keep.awake/trunk/files/head:/v4/


One thing you need to do is change/remove the Plymouth splash theme. Plymouth displays the splash image/animation.

You can install a new theme (like plymouth-theme-spinfinity, which has no distro-specific logos) and switch to the new theme by running sudo update-alternatives --config default.plymouth.

If you remove all Plymouth themes, Plymouth is likely to display various debug information instead (stuff like "mounting /dev/sda1" and such). I don't know if that would negatively impact the presentation you want.

You could also try making your own Plymouth theme, using the logo of the place where you plan to put this computer. I found a tutorial for Ubuntu here, but I'm not sure if I trust it.

To start Chrome faster, you can try adding it to your Startup Applications. It should start faster than your script, but I don't know if it will start fast enough to keep the desktop from showing. You can also remove other programs from autostart to make Chrome start even faster.

You may want to also configure Lightdm to to skip the login screen, but I think you already handled that.

Since you seem to be making a Chrome-only computer, have you considered ChromiumOS? It seems like a more logical way to do it.


You can find several sites that have a compatibility list. Some up to date, some not so much. In either case it would be a great idea to merge them all into one updated list that reflects the compatibility of the stable release of the kernel + changes for each popular distro.

http://www.linux-drivers.org/

I recommend the following to use as a compatibility finder:

http://hardware4linux.info - User added compatibility information

http://www.sane-project.org/sane-supported-devices.html - Scanner compatibility

http://www.alsa-project.org/main/index.php/Matrix:Main - Sound compatibility

http://openbenchmarking.org/ - Phoronix test site. shows Pcs tested and more.

But you can find the rest and the first link I posted.


how to connect vodafone k3800 dongle in ubuntu 12.04

The K3800 dongle have internal read only memory, which contains driver files for linux. Copy the driver file to your local storage
Extract the compressed file
Go to command terminal
Navigate to the directory in which the extracted driver files dumped in.
Use the command sudo ./install.sh


There are a few ways to achieve this. I installed Ubuntu Mate on a 1TB HDD, with Windows 10 on an SSD. I put the GRUB2 loader on the HDD, and therefore I have to use F11, and choose to boot from the HDD at startup, whenever I want to boot Ubuntu.

If you dislike this way, and want to continue booting from your SSD, but still be able to choose between OSes at startup, you put the GRUB2 loader on the SSD in the install procedure. That will put Ubuntu at the top of the boot menu list, but you can move Windows up.

Edit to answer comment: How to change the order of the boot menu, is explained in the answers to this question, so I'll link to it instead of repeating that info. The top entry will be the system booted into, unless you choose an entry further down the list, with the arrow keys and ENTER.

How do I change the GRUB boot order?


Since installing v. 16, computer won't wake up from display sleep

Try this:
Found the solution on another forum. Please confirm if it works.
The problem is with two GPU's, Intel & nvidia. If nvdia is the default GPU, suspend and hibernate will have issues.

Step1 : Run "nvidia-settings" on terminal.

Step2 : In "PRIME Profiles" tab, select the GPU as "Intel" instead of "NVIDIA".

Step3 : Save and restart your machine.

Lemme know if this solution works in Ubuntu 16.0.4. I tried this on 14.0.4 and it worked.

Edit: The solution also works in Ubuntu 16.0.4. I upgraded my 14.0.4 to 16.0.4 and this issue didn't reappear.


Install Dropbox and set my www folder as the synced folder on the server

If you want X folder in dropbox (~/Dropbox/X) to act as your www root folder, edit /etc/apache2/sites-available/default and replace /var/www/ with /home/<username>/Dropbox/X. Make sure that files inside the X folder are readable by www-data user.
If you want to add /var/www/ to your Dropbox, and keep it synced, create a symlink inside ~/Dropbox/ to point to /var/www

cd ~/Dropbox
ln -s /var/www www

(You might wanna chown the www folder, so as to add files to it, without using root.


The system menu is at /etc/xdg/menus/lxde-applications.menu and the customized version is at ~/.config/menus/lxde-applications.menu You could start by looking in that second place and see if it exists. If it does, rename it to something that doesn't end in .menu and restart your system. You should get the basic system menu.


How do I prevent Evolution calendar notifications?

I believe the change can be made in:

preferences -> calendar & Tasks -> Reminders


Why do grub.cfg and actual boot options differ?

After considering the discovery that reboot used a different partion for the /etc/grub.d files than the current OS version, I decided it must be using grub from the older install.  I looked at the grub configuration graphical tool and discovered an option to re-install the MBR and did this.  Problem solved -- I now boot from the proper grub.cfg file.

Thanks for the assistance.  The suggestion about grub.d by WindowsEscapest is what put me on the right track.
Steve S.


How to enable -keystroke option of unclutter in unity?

You can use xbanish to do this. It is well known that the unclutter keystroke function has been broken for quite some time. I have tested this solution and it works well.

First, install git if it's not already installed:

sudo apt-get update
sudo apt-get install git build-essential libxtst-dev x11proto-core-dev

Then, clone the repo and install xbanish:

cd
git clone https://github.com/jcs/xbanish.git
cd xbanish
make

Now, set an alias for xbanish:

echo "alias xbanish='~/xbanish/xbanish &'" | tee -a ~/.bashrc
. ~/.bashrc

You can now run xbanish by simply running the following command:

xbanish

or

~/xbanish/xbanish &

Additionally, here's a helpful tip that has helped me so much when it comes to "no such file" errors.

You can use apt-file search to find out what package contains a file you are looking for. Here's an example: apt-file search X11/X.h

However, apt-file needs to be installed and you must run sudo apt-file update before you can use it:

sudo apt-get install apt-file

and then run:

sudo apt-file update


It is possible it moved off screen. Change your display settings to something smaller, then back to what they usually were at. This will probably move the window back on-screen.

If it is still downloading stuff (check a network manager), you can safely cancel it, or even just restart if you want.

If it is using a lot of CPU, it is probably installing the packages, don't cancel here. If it seems to have idled, it is probably waiting for some user input during the installation. While not ideal, it would be safer to cancel or halt the installation mid-way here if necessary.


Backup Home Directory 15GB across multiple DVDs preferrably free

The best answer is to purchase an inexpensive external USB3 hard disk drive (1TB for ~$50), and just drag your home folder out to it. Not the best backup method, but it'll do what you ask. Cheers, AL


Step 1: Create a mount point for the partition to be shared (sda1 in this case)

Open a terminal by pressing Ctrl+Alt+T and create an empty folder called shared in not there:

sudo mkdir /media/shared

Find the UUID of the partition you want to share:

sudo blkid

copy the UUID of the partition you want to share (/dev/sda1 in this case).

Make a backup of /etc/sftab and then edit the file

sudo cp /etc/fstab /etc/fstab.original
sudo nano /etc/fstab

Add the following line:

UUID=your-UUID-here /mnt/shared ext4 defaults 0 1

Use the actual UUID you had copied before instead of your-UUID-here.

To make the changes you made take effect, run the command:

sudo mount -a

Step 2: Give everyone read and write permission for the shared partition

sudo chmod -R +777 /mnt/shared

Step 3: Install ssh-server if not installed

sftp is part of ssh and works with Ubuntu to Ubuntu file sharing If you are using Windows in the laptop, see How to share files through the local network? for using the sambaprotocol that works with Windows.

sudo apt-get install openssh-server

Step 4: Create a bookmark for the shared desktop drive in the laptop

Log into the laptop as gf

Open Nautilus and find the Menu item "Connect to server".

Under the server address enter. This assumes gf has an account in the desktop, if not replace gf with the user-ID of the desktop account holder below:

sftp://`gf`@192.168.blah.blah/mnt/shared

Press Connect. You will see a password dialog box:

Enter the password associated with gf (or the desktop user_ID) and select if you want the password is to be remembered or not. Again click Connect.

Now you should see your shared desktop drive.

Notice there is a new entry under Network on the left panel of Nautilus that begins with the user_ID used to connect to the shared folder. Right click on it and choose "Add Bookmark" to create a permanent bookmark for your laptop's home folder in the Nautilus of the Desktop.

Follow the same process for other users such as me.

Hope this helps


What book should I read to learn how to deal with networking issues?

Also you may want to look at Amazon.com for books on the subject. Many times there are used books at discount price that will give you want you need.

I found a "Linux Network Administration" that normally lists for ~35USD for 12!

Hope this helps.

Randy3011


You're running Ubuntu 16.04, so the essential drivers are already loaded on to your computer.

As of 16.04, AMD pulled fglrx from the repositories, making it unavailable for use. This move was made both because the X11 backend changed things that broke fglrx, and as a result of AMD's encouragement for people to move over to the open-source radeon and amdgpu drivers. These open-source drivers are automatically installed with Ubuntu, with the proper one automatically being chosen for your hardware.

If you actually need the full support that the fglrx package gives out (in most cases, this is untrue), you have no choice but to go back to Ubuntu 14.04 or another fglrx-supported version. Alternatively, you can just wait for the open-source drivers to just get better, which they inevitably will.


I did this recently on my laptop.

Are you able to burn a cd?

My suggestion would be to burn a LiveCD of the version of Ubuntu you are running, and reboot onto the CD (not your installed version of ubuntu). When the CD version of Ubuntu has loaded, you will be able to use gparted without your hard drive being mounted which will allow you to partition as you need.


How to add direct routes(proto kernel scope link) to non-main table automatically

Unfortunately I think you can't - this behavior appears to be hardcoded into the kernel.

When a new route is added, fib_add_addr in net/ipv4/fib_frontend.c is called (see here). Provided the IFA_F_NOPREFIXROUTE flag is not set on the request (which would come from the noprefixroute argument to the ip command in userspace), while adding the address the kernel will automatically create a route for the address prefix via a call to fib_magic(RTM_NEWROUTE, ...) (see here).

fib_magic decides what table to add the route to like so (source):

tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL;

Since the link prefix route is a unicast route, it gets added to the main table.

You can however stop the kernel from adding this route to begin with by passing noprefixroute to the call to ip addr add, however. And then add it yourself to the right table by issuing something like ip route add 192.168.10.0/24 scope link table 1000


Using virtio-win drivers with Win7 SP1 x64

There are signed and unsigned drivers available on fedorapeople.org. It is possible to install signed drivers only. However, there is a small issue. Several root certificates, included in Windows installer expired recently. Because of this Windows 7 installer is not able to verify latest releases of drivers, since corresponding root certificate is only available after update.
This way the easiest solution is to install a copy of Windows 7 SP1 using virtualized SATA HDD and later change it to virtio after series of necessary updates.


Ubuntu does not find connection to wireless router

Is your SSID not broadcasting? If it is a hidden SSID you need to add you Wireless Network manually.

If this is the case you just need to click in the Wireless icon and select Connect to a hidden Wireless Network .. just enter your settings.

Checking your MAC address filter (in your router) could be a good idea as well, just a suggestion. Good luck.


Boot time seems unusually long on MSI GX660R (bootchart included)

There seems to be a 17 second gap between these two lines in kernel log.

 ... [   13.402834] usbhid: USB HID core driver
 ... [   30.212288] ADDRCONF(NETDEV_UP): eth0: link is not ready

hinting at a usbhid device initialization issue.

More large gaps are here:

 ... [   31.633630] [fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000
 ... [  322.243797] usb 1-1.2: new high-speed USB device number 3 using ehci_hcd

which seems to indicate an issue with fglrx (fireGL graphics) device initialization

and here:

 ... [   30.688474] [fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000
 ... [   40.231355] wlan0: no IPv6 routers present

Again, a fireGL potential issue.

HTH

[edit: corrected based on insightful comment from ObsessiveFOSS]


It's done...I have looked for the nobody code in net. http://openbook.rheinwerk-verlag.de/unix_guru/node110.html It's a german web site....If somebody else have this problem copy the code and past it into the /etc/passwd file. :D


You should be able to reset unity by doing

  unity --reset

followed by

  unity --reset-icons


With Ubuntu 12.10 I didn't have any luck with ~/.gvfs... However, I'm able to access my camera on the command line using

/run/user/<username>/gvfs/gphoto2:host=%5Busb%3A002%2C008%5D/


Dell Lattitude E5400 CD Burner not working

That's strange have you checked your bios and in-program options? I know on my Dell Inspiron 6400 laptop with DVD Decryptor I had to make sure my bios settings were right and I had to change the in-program power options to get it to work. Also is this a DVD/CD drive, cd drive, or dvd drive? I had a toshiba satellite laptop that the dvd drive refused to work before i configured it with dvd decryptor. Keep me posted on your progress. :3


My file was not recognized by the cropping tools because I had not set up gnuplot properly.

As I had been working with eps before, I was using set terminal eps instead of set terminal pdf. After changing this, I can work normally with the pdf file.


Any Ubuntu/torrent friendly VPN Provider recommendations?

I've been using AirVPN - https://airvpn.org/ - for some months now and haven't had any problems.

You should probably also take a look at this for other suggestions:

https://torrentfreak.com/which-vpn-providers-really-take-anonymity-seriously-111007/


Don't know anything about Ubuntu, help me install a driver

More often than not, you'll find that devices "just work" on Ubuntu without the need to manually install any additional drivers. This is a concept that can be quite difficult for Windows users to get their head around.

The best thing to do is plug in an ethernet cable (temporarily) and do all your updates:

sudo apt update && sudo apt -y upgrade

... then reboot and see if your wifi adapter works. If not, then you can think about installing that 3rd party driver, but chances are it won't be necessary.


How to restore filesystem-backup made by rsync?

First, my compliments on having a current backup -- you've hit the 90th percentile of diligence right there. Now to proceed, I would do this:

Boot from the install CD into the Live Ubuntu envrironment (or if using a server CD, choose the Repair option.)
Open a shell window
Mount the root drive to /mnt, e.g.

sudo mount /dev/sda1 /mnt

Create a second mountpoint, /mnt2 and mount the backup drive to that.

sudo mkdir /mnt2
sudo mount /dev/sdb1 /mnt2

Now restore like this

for DIR in bin boot etc home lib lib64 opt root run sbin usr var; do
  sudo rsync -aH --delete /mnt2/$DIR /mnt
done

All of the directories I skipped, dev, sysfs, tmp, etc. should basically be empty.
Once the restore completes, try chrooting to /mnt and updating grub.

for DIR in dev proc sys; do
   sudo mount --bind /$DIR /mnt/$DIR
done
sudo chroot /mnt
update-grub

Restart

If this doesn't work, then it's time to reinstall and just restore your /home directory & any data files you want.


Why do I need to use lite mode in the new Google Maps? (Chrome)

Disclaimer: This is not supported by Google

Google Chrome disables hardware acceleration on many GPUs by default in Linux. To check if your GPU is disabled, open chrome://gpu/ inside Chrome. Mine looks like this by default:

To forcefully enable hardware acceleration, open the chrome://flags/ page.
Search for the Override Software Rendering list option and click Enable. It looks like this:

Restart Chrome. Check the chrome://gpu/ page again. It should say everything is enabled now, like this:

Now try out the New Google Maps and see if it works. I don't have an invite, so I can't check >.>

Be warned this may make your browser crash-prone!


How to reset Deja Dup login credentials for remote location?

Open the "Passwords and Keys" application (search for it in the Dash).  That holds all the remembered passwords for your system, including both your ftp login password and your backup encryption password.


aiptek graphics tablet not working on 17.10

Yes, indeed, it is a permission problem, quite irrelevant to the fact that this is an old device.

Simply add yourself to the input group, like this

sudo usermod -a -G input yourusername

At least this is what was needed to get this device working under Ubuntu 18.04 (Xorg)


Your error message suggests, that another process is using the dpkg lock.

From your screenshot, I can see that you have a second Terminal open with root login. You should check, if there is an apt process running there, wait until it is finished and then try again.


Fake RAID (dmraid) not seeing new SATA drives

I solved it with dmraid -x, which deletes all existing software RAIDs, so that the disks show up in /dev as usual.


How to edit GRUB after POST for text only console mode?

To start without the display manager edit the file /boot/grub/grub.cfg. Look for the default menuentry (usually the first line beginning with menuentry 'Ubuntu' and some lines later append 3 to the line starting your kernel:

linux   /boot/vmlinuz-4.13.0-38-generic.efi.signed root=UUID=3fbf407e-3505-42c7-82a7-7aceef817bcc ro 3

To start the display manager later on do

sudo init 5


Is this temperature report normal for an Intel Quad Core / Radeon

Yes it is absolutely normal...

To add a bit more info: below 75°C is great, anything below 95°C is fine!  From 100°C and upwards it starts becoming dangerous...

Low-quality reviewers: that's all the OP asked!


WiFi adaptor no longer found for Dell XPS 15 9500 (QCA6390 PCI device)

Install the linux-oem-20.04 package, it will install the following dependencies linux-headers-oem-20.04, linux-image-oem-20.04 and linux-modules-*-oem including the ath11k kernel module:
sudo apt install linux-oem-20.04
sudo reboot

Installing ath11k


What is better to install 10.04.2 or 10.10 or Debian 6.0.0?

If you want stability to the point of using somewhat old Linux technology, then Debian is for you - it's virtually bug-free. But if you want to enjoy newer technology with a good guarantee of stability, go for 10.04.

Be warned, if you're opting for Debian, getting latest packages will be no easy feat. Their repo will be full of thoroughly tried and trusted outdated packages, so if you want the latest not-thoroughly tried and tested by Debian, you need to compile and install them by yourself.


Ok I removed steam and then used

sudo apt-get install steam-launcher

instead of

sudo apt-get install steam

It downloaded an update and now when I run steam it tells me

Steam needs to install these additional packages:
    libgl1-mesa-dri:i386, libgl1-mesa-glx:i386

and asks for my password. Then

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

The following packages have unmet dependencies:
 libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.6)
 unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Press return to continue:

And then when I press return, a windows shows up saying

You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
libstdc++.so.6
libstdc++.so.6
libstdc++.so.6
libstdc++.so.6
libstdc++.so.6
libstdc++.so.6
libstdc++.so.6

Then I click "ok" and terminal shows

/home/user/.local/share/Steam/ubuntu12_32/steam: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
/home/user/.local/share/Steam/steam.sh: line 444: no match: ssfn*
user@user-desktop:~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-lin


I had a similar problem (lubuntu 16.04) with 'printing services being unavailable'.  This condition prevented the system from listing the local USB printer for selection.  This was overcome installing CUPS:

sudo apt-get install cups

Next bounce the service:

sudo /etc/init.d/cups restart

Finally, restart the machine.

I did not need to install CUPS on my instance of Ubuntu 16.04.


How can I enable one-finger scrolling in Unity?

with a touchpad: You use either the regular scrollbar or the overlay scrollbar on the right edge of your application window.

You can activate the overlay scrollbar by simply hovering near the right edge until you see it popup, and then tap and drag it up or down.


The correct way to give superuser permissions in Ubuntu is adding yourself to the sudo group, or manually editing the sudoers file using visudo, which has all the bells and whistles to prevent you from locking yourself out. See this page and this page on the Ubuntu Wiki for more details.


Sharing a mounted Truecrypt volume via Samba

Woohoo. Perhaps writing the question got me thinking about things more clearly but I figured out a method that works.

First edit your /etc/fuse.conf to allow other users by uncommenting the user_allow_other line at the bottom. (use gksu gedit /etc/fuse.conf)

Next you've got to mount the Truecrypt volume with read permissions for "other". Do that from the command line using:

truecrypt --fs-options="uid=1000,gid=1000,umask=0002" /dev/YourVol mount-point/

As long as you've got samba set up properly you are good to go.


Updated 2020/02/18 to reflect changes introduced in WSL2

Hi! Microsoft PM working on WSL & Command Line here.

WSL allows you to run native, unmodified Linux ELF-64 binaries directly on Windows, and enables you to run your favorite Linux tools atop your Windows "host" OS.

WSL1 took an approach of adding a Linux syscall compatible layer at the top of the NT kernel, allowing Linux binaries to run atop NT, sharing the same underlying filesystem, networking, process list, etc. as the host OS.

The soon to be released WSL2, on the other hand, runs distros' binaries within Linux containers, atop a real Linux kernel, inside a lightweight VM that allocates only the RAM needed by the apps it runs, and then releases freed RAM back to the host OS. This provides 100% Linux compatibility, and allows your Linux tools to run with near native performance, and consumes minimum resources necessary from the host, ensuring your machine runs fast and smoothly.

Prior to WSL2, one could run the Docker client in WSL1, using it to drive Docker for Windows running atop Hyper-V on the local host, or to manage a remote Docker server. But one cannot run Docker Engine on WSL1 for many technical reasons.

However, you can do the same in Docker on WSL2, but you can also run the Docker Engine itself atop WSL if you prefer. This is, Docker's preferred and future path for running Docker on Windows desktop.

To learn more about WSL, review the videos & docs here: https://aka.ms/learnwsl


Keyboard shortcut for input language change works in only one direction

You open System Settings -> Keyboard -> Shortcuts (tab) -> Typing (sidebar tab) you change either the "Switch to next source" or the "Switch to previous source".

By default I think the shortcut for the next source is Super + Space. Super Key stands for the Windows button in case you are using a pc / laptop and in Mac is the cmd button.


403 Forbidden for /home/my-username/Dropbox/Hemsidor as directory root

Set the user and group of the directory as www-data via chown and chgrp command


Realtek 2800 wireless card DISABLED while not shown as blocked

I too had similar problem and sorted it of my own ubuntu is a great operating system  to play with. ok coming to business. Follow these steps:

Go to Applications >> Accessories >> Terminal
Type sudo lshw -short.

Now it will display all the hardware components including networking ports attached to the system mostly it should be a broadcom device which is used for wlan.

And the funniest part is to check whether you have switched on the wi-fi, because the messages about wireless connection displays only if the drivers for the wi-fi is installed so check for the user manual for your laptop and go through how to switch on the wi-fi in your laptop?


use "boot-repair disk" google it. It is live CD about 600mb. Mandatory condition is it should be connected with WiFi before repairing boot loader.It will automatically scan your all bootable drives and will give you instructions on the spot. A menu will come where mouse will not work. In that condition you have to use tab to move courser and space to select.


Ubuntu 12.04: Minecraft's FPS is limited at 30 FPS

Do you get more fps in windows? If so, it is weird, because you seem to be using a integrated graphics chipset, which are not known to be that great in gaming (except for maybe the Sandy Bridge and later gpu chipsets, but even those are not suitable for anything but very casual gaming). It surprises me that the game is even playable, to be honest.


Can I install Ubuntu 13.10 64-bit alongside Windows 8 32-bit?

Yes, you can do it without any problems.


If using gmail you will have to enable "less secure apps" as done here
https://support.google.com/accounts/answer/6010255?hl=en

I ran across the same problem in windows using CDO.Message and had to inform gmail that I was using "less secure apps" before my text message would work.


Need Help to fix hmtl.sty not found error

I had the same problem and found more answers then questions, so I will give an answer.
install:

sudo apt-get install latex2html

then it should work :)
(it did on my system)


Middle mouse click emulation on trackpad, how can I set it?

leoperbo's answer worked for me with Ubuntu 12.04 but I
  had to change the 266 number at leoperbo's suggested command.
  You shouldn't use this command without carefully finding the 3-digit number

xinput set-int-prop NN 266 8 2 3 0 0 1 2 3

  The other command though should work without problems (had numbers for the setup which didn't make sense hence that I changed them)

xinput set-prop "ETPS/2 Elantech Touchpad" "Synaptics Tap Action" 2, 3, 0, 0, 1, 2, 3

  Just in case I wrote the following guide to find your NN and 266 for your
  touchpad. At the end also I explain the values you set so you can choose your optimal settings. Also you should probably read leoperbo's answer for setting it up permanently

1st use the following command in the terminal

xinput list

You will get something like this

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                  id=13   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ 1.3M WebCam                               id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Acer WMI hotkeys                          id=12   [slave  keyboard (3)]

What we need is the touchpad's id (in my case 13)

2nd use the following command in the terminal replacing the XX with the id number you found above

xinput list-props XX

You will get something like this

Device 'ETPS/2 Elantech Touchpad':
Device Enabled (144):   1
Coordinate Transformation Matrix (146): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (269): 1
Device Accel Constant Deceleration (270):   2.500000
Device Accel Adaptive Deceleration (271):   1.000000
Device Accel Velocity Scaling (272):    12.500000
Synaptics Edges (273):  56, 1352, 34, 606
Synaptics Finger (274): 1, 1, 256
Synaptics Tap Time (275):   180
Synaptics Tap Move (276):   68
Synaptics Tap Durations (277):  180, 180, 100
Synaptics ClickPad (278):   0
Synaptics Tap FastTap (279):    1
Synaptics Middle Button Timeout (280):  75
Synaptics Two-Finger Pressure (281):    282
Synaptics Two-Finger Width (282):   7
Synaptics Scrolling Distance (283): 30, 30
Synaptics Edge Scrolling (284): 0, 0, 0
Synaptics Two-Finger Scrolling (285):   1, 0
Synaptics Move Speed (286): 1.000000, 1.750000, 0.129366, 40.000000
Synaptics Edge Motion Pressure (287):   30, 160
Synaptics Edge Motion Speed (288):  1, 123
Synaptics Edge Motion Always (289): 0
Synaptics Off (290):    2
Synaptics Locked Drags (291):   0
Synaptics Locked Drags Timeout (292):   5000
Synaptics Tap Action (293): 2, 3, 0, 0, 1, 3, 0
Synaptics Click Action (294):   1, 1, 0
Synaptics Circular Scrolling (295): 0
Synaptics Circular Scrolling Distance (296):    0.100000
Synaptics Circular Scrolling Trigger (297): 0
Synaptics Circular Pad (298):   0
Synaptics Palm Detection (299): 0
Synaptics Palm Dimensions (300):    10, 200
Synaptics Coasting Speed (301): 20.000000, 50.000000
Synaptics Pressure Motion (302):        ... of unknown type CARDINAL

Synaptics Pressure Motion Factor (303): 1.000000, 1.000000
Synaptics Resolution Detect (304):  1
Synaptics Grab Event Device (305):  1
Synaptics Gestures (306):   1
Synaptics Capabilities (307):   1, 0, 1, 1, 1, 1, 1
Synaptics Pad Resolution (308): 1, 1
Synaptics Area (309):   0, 0, 0, 0
Synaptics Noise Cancellation (310): 7, 7
Device Product ID (263):    2, 14
Device Node (264):  "/dev/input/event11"

What we need to find above is this line

    Synaptics Tap Action (293): 2, 3, 0, 0, 1, 3, 0

and note down the number inside the ( ), which in my case is 293

3rd and final command at the terminal
( Replace XX with the id and YYY with the number inside the ( ) which for my laptop were XX=13 and YYY=293 )

xinput set-int-prop XX YYY 8 2 3 0 0 1 2 3

The values 2 3 0 0 1 2 3 are the following settings at the correct order
0=disabled 1=left click 2=middle 3=right

Option "RTCornerButton"
Which mouse button is reported on a right top corner tap.

Option "RBCornerButton"
Which mouse button is reported on a right bottom corner tap.

Option "LTCornerButton"
Which mouse button is reported on a left top corner tap.

Option "LBCornerButton"
Which mouse button is reported on a left bottom corner tap.

Option "TapButton1"
Which mouse button is reported on a non-corner one-finger tap.

Option "TapButton2"
Which mouse button is reported on a non-corner two-finger tap.

Option "TapButton3"
Which mouse button is reported on a non-corner three-finger tap.


From your question:

 # add the directory to the profile  gedit ~/.profile

 #then add this  PATH="$HOME/bin:$HOME/.local/bin:$PATH:/home/xquest/xquest/V2_1_1/xquest/bin

Though when the path was created:

sudo mkdir /home/xqxp/
cd /home/xqxp
sudo mkdir xquest

edit the ~/.profile again,modifying the path:

PATH="$HOME/bin:$HOME/.local/bin:$PATH:/home/xqxp/xquest/xquest/V2_1_1/xquest/bin

Logout of your session and back into it. And try the process again.


You can upgrade to kernel 3.16, which is default in Ubuntu 14.04.2 and see if this problem has been fixed. To do it, run the command:

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

And reboot.


ubuntu 12.04: Why my laptop is consuming more power than 11.10?

try to enable laptop mode tools via synaptic it improves battery life a lot


Will there be a way to install "Ubuntu for phones" on Apple mobile devices?

No it won't. Jailbrocken iDevice are only just having root access the device.

The bootloader to these devices are locked and they will only boot iOS.

And also the android phones whose bootloader are locked can't install it.


Testing Samba server on host machine results in NT_STATUS_INVALID_NETWORK_RESPONSE

I added -m SMB3 to the smbclient command and the problem has disappeared.
I found the solution here: https://github.com/dperson/samba#troubleshooting


Correct way to install nvidia-173 driver on Ubuntu 12.04?

At least for my part, I believe this is solved.

Recently, the driver I was reading much about - 173.14.35 - was released in a means that I could access and install using apt-get.  The link in the original question leads to the announcement that nvidia-173 on precise-proposed has been updated to xxx.xx.35, and so it's a matter of following the directions listed on this page: https://wiki.ubuntu.com/Testing/EnableProposed

As this is a rather new fix, I will not guarantee it works for everyone with a legacy Nvidia card under Ubuntu 12.04.  But for my money this was far favorable to downgrading Xorg or rolling back to an older OS.


Right-clicking on a synchronized folder in Nautilus, and choosing "Stop synchronizing on Ubuntu One" will result in the folder and its contents being removed from the server. It doesn't mean "only remove the connection for this computer, to this folder."

If you wish to unsubscribe a synchronized folder on a computer, you can do so by opening the Ubuntu One control panel application from the launcher, and unchecking the box under the 'Sync Locally?' column on the Folders tab, for the folder you wish to no longer sync to the local machine. Or, you can also use the u1sdtool utility on the command line, to unsubscribe a folder or share.


'Python.h: No such file or directory' while building pymedia

Do you have the python development libraries installed?
You can do that by running this command:

sudo apt-get install python-dev


Clonezilla
Clonezilla should help you backup your entire windows partition, which is the recommended way of backing it up. As an alternative,you should also try out the Backup Tool inside Windows itself, as it offers far more finer control over the backup process(such as backing up user account and profiles)
The default ubuntu backup tool, DejaDup is an excellent tool for backing up folders, but it won't help with a complete Windows Backup. It might be useful if you want to backup your windows documents folder, for instance.


I ended up fixing this as per the recommendations I read online: that is to update the Mesa Package.

 sudo apt-get install libgl1-mesa-dev


You can resize partitions using gparted.

Open a terminal (CTRL + ALT + T)
Install gparted using

sudo apt-get install gparted

Launch it via dash or by running

sudo gparted

Select the partition you want to resize and click the 'Resize' button.
When you're done making changes, hit 'Apply'.


Try first updating packages list:

sudo apt-get update && sudo apt-get install libx11-dev

if this don't work, please post apt-get error.


You might want to take a look at the How to mix C and C++ section of the C++ FAQ.


Your system has very little RAM, so I think Lubuntu 32 bits (x86) is the obvious choice. For more info, see: lubuntu.net.


Desktop wallpaper removed on reboot (Xubuntu 14.10)

First of all I didn't like your wallpaper (kidding).
When you choose a custom wallpaper you need to make sure not to delete from your hard drive. If you deleted the picture, then that is your issue (do not delete next time).


I also upgraded from 12.04. The best bet would be in my opinion to do a clean install. I am running a dual-boot on both my desktop and laptop. I will just do a clean install and this was referenced somewhere else to me by another member. Some things get messed up while upgrading, I knew this was going to happen.


I installed Ubuntu 13.04 alongside with Windows 8 64bit but after installation i cant boot Ubuntu?

*Note-*If anyone can help the gentlemen directly most welcome, i did not find a simple clearcut solution on the net so i have complied this list.

List of compiled links-

UEFI and Windows 8

https://help.ubuntu.com/community/UEFI

Installing Ubuntu Alongside a Pre-Installed Windows with UEFI

How to turn Secure Boot Off in Windows 8

http://www.maketecheasier.com/disable-secure-boot-in-windows-8/2013/02/25

http://tutorialforlinux.com/2013/01/windows8-howtodisablesecureboot-bootfromcddvdinstallationmedia/

Threads about installing Ubuntu Dual Boot with Windows 8

http://ubuntuforums.org/showthread.php?t=2152988

http://ubuntuforums.org/showthread.php?t=2123975&page=2&s=619cd6fc5d64a052c769cd8f076fc68d


extract information from a file with loop

If you file has exactly 3 whitespace-separated items on each line (no blank lines for example) then you should be able to use a simple while ... read loop:

while read -r var1 var2 var3; do
  ./otherscript "$var1" "$var2" "$var3"
done < "file"

If there are blank lines, then you should probably read complete lines and only parse the non-empty ones e.g.

while IFS= read -r line; do
  if [[ -n "$line" ]]; then
    read -r var1 var2 var3 <<< "$line"
    ./otherscript "$var1" "$var2" "$var3"
  fi
done < "file"


Samsung ultrabook usb stick install of Ubuntu fails, keeps booting windows

** -----> Found it! <----- **

The fix was pretty obsure and I had to test it out a bit to be sure.

Given how strange it was this may well help others who are stuck!

Reboot with f2 pressed.
Wait 10 seconds until you can use the left/right keys to change boot.
change the boot order putting the USB items first (3 in my case). Use f5/f6 keys.

and then...

on the advanced tab settings...

Change `Fast Bio Mode' to disabled.
Change USB s3 wake-up to enabled.
F10 to save and it will...
boot into Ubuntu from the USB key.

This took me 2 days to find!


accidentally installed Ubuntu in UEFI mode alongside with Windows in legacy mode

Install grub-pc, set your machine to boot legacy first in the UEFI Settings (formerly known as BIOS), and reboot.  There's not much different between the installs, just the bootloaders.  You can clean up a bit by removing grub-efi and the /etc/fstab mount of the EFI partition at /boot/efi, but that's optional.


Wired network cannot resolve hostnames(can ping by ip), however wireless works fine

I actually resolved it, wasn't an Ubuntu, but rather a router setup issue.

I tried to request a static IP in the router, which was already reserved, so it caused all kinds of problems.

If someone struggles with it, make sure you either set a fixed IP in the router by MAC address, and let DHCP handle everything normally, or set the desired IP in Ubuntu(or any other client), but not both.


Ubuntu 14.04 + Ncomputing x550 not working

N Computing supports only for < 12.04 Versions.

So , it is better you don't buy N Computing if you want to use ubuntu !!!


There is no way to give yourself a fully working virtual desktop on the top and bottom of the cube.

The best option might be to just screenshot your desktop and place the png as the cube caps. That would give the illusion of the 'perfect' cube you are after.


I found https://wiki.ubuntu.com/SecurityTeam/SecureBoot.
Reinstalling grub with the --uefi-secure-boot option fixed the problem for me.

sudo grub-install --uefi-secure-boot


Error messages flash up briefly during boot and shutdown - are these logged anywhere?

Some of the messages from boot go into dmesg, which can be read using the dmesg command or at /var/log/dmesg - particularly if they are kernel messages.

Some messages will go into /var/log/syslog, particularly if they are from services or startup scripts.


You could build your script from this one:

#!/bin/bash

if [ $# -ne 2 ]
then
 zenity --info --text="Usage: $0 file1 file2"  2> /dev/null
 exit
fi

feh -g 950x800+5+30 "$1" & pid1=$!
feh -g 950x800+963+30 "$2" & pid2=$!

# using xterm as a workaround to raise zenity to the top (so that is is not behind the feh windows)
#xterm -geometry 40x3-0-0 -e zenity --title="Done?" --info --text="OK or Enter when done"; 2> /dev/null

xterm -title "${0##*/}" -geometry 70x4+750+880 -e bash -c "read -p 'Press Enter when done'"

kill $pid1 $pid2

Add an outer loop that will guide you through the pairs of images that you want to compare. And of course, you can modify the geometry of the feh windows to match your image files and monitor resolution (this was made for a 1920x1080 monitor). And you can modify and move the control window (the xterm window).


How do I install libtool-bin on Ubuntu 14.04?

I think you do not need libtool-bin package on trusty, just install libtool packages.

You can compare package contents of libtool in trusty with libtool-bin in xenial - both have /usr/bin/libtool.

For sure do not forget to install build-essential package for successful compilation.


SOLVED
It was my HDD (not the SSD with the OS).
I actually have replaced both but the issue was on the HDD with many bad sectors.
Now everything is working fine and this specific issue is solved.
Thanks.


I found the reason it was piling up:
I had developed a console application and because I am still used to windows started the binary via double click and expected it to open up in the terminal, instead it started writing 50Mb/s to the syslog file...


Can I install my ubuntu /home partition in my mac extended journaled partition

Keep in mind that with MBR partition tables, you can only have up to 4 partitions (typically 3 primary and 1 extended). Weigh that into your decision. You may have formatted your drive as GUID (probably typical for current Macs), and as such, can take as many primary partitions as you can throw at it.

My recommendation? With the small size of your SSD, I wouldn't setup Ubuntu with separate /root and /home partitions. You'll be wasting a lot of space. I'd set it up as one separate partition of its own, containing the entire Ubuntu installation.

Cheers, Al