Can't recognize the microphone on an Hp Pavilion dv 2000la

Here is how I fixed non-working microphone on my HP Pavillion tx1000:

Open alsamixer by typing in terminal window:

alsamixer

If you have a built-in sound card and microphone, you'll see it listed in the upper left corner.  There should be the following labels in the upper left corner of the alsamixer:

Card: HDA NVidia
Chip: Realtek ALC861-VD
View: F3:[Playback] F4: Capture  F5: All
Item: Master [dB gain: 0.00]

The "View" is important.  The default screen is for PLAYBACK settings (your speakers), the "F4" is what you need for microphone settings tuning.

Press F4 and in the settings for Capture make sure  "Capture" is non-zero.

The setting next to "Capture" called "Input Source" is what fixed the microphone problem for me. Navigate to "Input Source" and press ↑ (up arrow key) to switch between different options - ATAPI Mic worked for me.

By default, after installation of Ubuntu 11.10 I had "Front Mic" there.


18.04 - Screen tearing with NVIDIA GTX 970

My laptop has the same card with no tearing. Note however I'm on version 384 and have no desire for a higher version number which might complicate my setup. During system setup I did the usual trick of consulting Arch Linux's bible that recommends:

Section "Device"
        Identifier "Nvidia Card"
        Driver     "nvidia"
        VendorName "NVIDIA Corporation"
        BoardName  "GeForce GTX 1050 Ti"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}"
    Option         "AllowIndirectGLXProtocol" "off"
    Option         "TripleBuffer" "on"
EndSection

Full Composition Pipeline and Triple Buffer are the most important.

Today my setup is like this:

$ cat /etc/X11/xorg.conf

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Monitor"
    Identifier "DP-1-1"
    Modeline "3840x2160_54.00"  637.50  3840 4152 4568 5296  2160 2163 2168 2230 -hsync +vsync
    Option "PreferredMode" "3840x2160_54.00"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "None"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

Notice Force Composition Pipeline and Triple Buffer aren't setup here. It used to be on nvidia-settings GUI configuration but I don't see it there anymore.


Adding Slide controls on Libre Office Impress[16.04]

Right-click a graphical object and select the option "Interaction". This will allow you to define, among several other things, an action to move to the next slide when the object is clicked during presentation.

Via the menu, you will reach the option selecting Format - Interaction.


Definitely a kernel problem, the text you're seeing is a logged stacktrace after a kernel panic. Specifically, the kernel panic appears to be caused by something wrong with the rtlwifi (Realtek Wifi) module. Blacklist that module through the GRUB command line to successfully boot into your Ubuntu installation, then try your luck installing newer or older kernels. Here's how:

When the GRUB loader appears, select Advanced Options for Ubuntu and press e to edit the boot line. On the kernel command/boot line that says something like linux /boot/vmlinuz-linux root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff quiet splash, append the following text exactly: modprobe.blacklist=rtlwifi then press Ctrl+x to boot with the module blacklisted. If you end up with the same kernel panic, then also try blacklisting the mac80211 module with the modprobe.blacklist=rtlwifi,mac80211.

That should at the very least enable you to actually boot into Ubuntu 17.10. Now you need manually install an older or newer kernel. First, try the newest kernel v4.14.2 http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14.2/, where perhaps that bug has been fixed. If you get the same kernel panic on bootup using the newer kernel, try the latest version of the lts stable kernel: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.65/

Considering it's the module your Realtek wifi card probably uses, you will be unable to access the internet and must load the debian packages from the mainline kernel repository onto a USB key. Manually install the kernel using dpkg with the precompiled debian packages (you most likely need the headers all, headers generic amd64 and image generic amd64 .debs) at the Ubuntu mainline kernel repository: http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

Inside your installation of Ubuntu, navigate to the downloads folder and manually install the .deb packages using sudo dpkg -i *.deb. Fiddle around and try to find the latest version of the kernel you can run until you receive a kernel panic. Then file a bug on launchpad for the Ubuntu kernel maintainers or directly with the kernel bug tracker at https://bugzilla.kernel.org/.


Try to boot into recovery mode and run dpkg


Headphones do not working on Ubuntu 12.04

There are a few things to try. First, check your headphones are not muted and the volume is up. In a terminal type alsamixer then in the terminal GUI that opens check your headphone volume.


How to add a MIME type with a project created in Quickly?

You can add mime types to a system by using xdg-mime.

command line tool for querying information about file type handling and adding
descriptions for new file types

Command to add a new mime type:
xdg-mime install [--mode mode] [--novendor] mimetypes-file

From the man page:

mode: can be user or system; for system you need root permissions.

install: Adds the file type descriptions provided in mimetypes-file to the
desktop environment.  mimetypes-file must be a XML file that
follows the freedesktop.org Shared MIME-info Database specification
and that has a mime-info element as its document root. For each new
file type one or more icons with name type-subtype must be
installed with the xdg-icon-resource command in the mimetypes
context. For example the filetype
application/vnd.oasis.opendocument.text requires an icon named
application-vnd.oasis.opendocument.text to be installed (unless the
file type recommends another icon name).

Alternatively you could use the ubuntu wiki on mime types. This uses manual instructions to edit in this text

gksudo gedit /etc/mime.types

and to edit it something like

text/extension                   extension

This editing of /etc/mime.types can also be accomplished with the command line stream line editor sed but I would suggest using xdg-mime.


Remastersys refuses to dist in Ubuntu 14.04 due to: genisoimage: Volume ID string too long

Actually I figured it out, I was having a brain fart when I posted this so I'm not that stupid if you think I am. The issue was that the CD Label name was too long for remastersys' liking, and I doubt it's a 64bit issue only. Easily fixable just condense the CD Label.

PS AskUbuntu won't let me claim this as an answer but this is the correct answer. This question should be closed now not in 2 days imo.


"Adding Printer" dialog asks for root password?

If you don't want to hassle with the root passwords you can just do:
gksudo system-config-printer


How do I edit the shortcuts in the Nautilus Elementary side bar?

1) and 2): I think it's not possible.

3) open gconf-editor, select /apps/nautilus/desktop and deselect volumes_visible from right pane.


Can APC ups wake powered off machine up when AC power is back?

This should be a standard feature of BIOS, and handled easily by apcupsd.

You are looking in BIOS for power-auto-return, power-return, OR after-power-loss.  This can be enabled, disabled, or (for more recent BIOS) last-state.  The 'last-state' option means: did you manually leave the machine on OR off, using the power switch.

I have used an APC UPS, with apcupsd and USB connection, to do precisely what you are trying to do.

The UPS givith and the UPS taketh away. (but in reverse):

When the UPS is low on battery, it halts power to the machine.  When it again has mains-power, it returns power to the machine.  From the machines viewpoint, the power was removed and restored, BUT outside its control.  It should just follow the BIOS setting for: 'after power loss".


Found out what was wrong: during the booting process, I needed to go to the "Try without installing" screen, and then set the nomodeset option:


By pressing ^z ( Ctrl+Z ) you send a SIGSTOP signal to the process, which stops it. You can re-start it using the fg command (foreground) or make it continue to run in the background using the bg command.


1. Yes, it does, and by default as you can see from man clamscan, it is turned on (the * indicates the default option):

   --scan-archive[=yes(*)/no]
          Scan  archives  supported  by  libclamav.  If  you turn off this
          option, the original files will still be  scanned,  but  without
          unpacking and additional processing.

2. The more important question you should be asking is "Does ClamAV scan for viruses that affect Linux as well?", because the majority of viruses ClamAV detects are Windows viruses.


How do I install amd legacy drivers in Ubuntu 13.10?

There is actually a pretty straight forward graphical way to do this.
Open your system settings and click on Software & Updates

There it should list some available drivers that have been detected for your System.
Just select the one you want, install it and reboot your system.

EDIT
According to AMD and this bug report: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1058040
your card is not supported by the regular amd drivers anymore. It is, according to AMDs download page, not possible to use the legacy drivers with linux kernel verisons higher than 3.4 (as of Ubuntu 12.04.2 kernel > 3.5.x is in use). See description section on the official AMD download site: http://support.amd.com/en-us/download/desktop/legacy?product=Legacy2&os=Linux%20x86_64

In other words: You can not use an official AMD driver for your card.Your options are:

Leave your system as it is and use the default radeon drivers already in use on your system (recommended!)
Get a newer card (HD 5xxx and above) and install the official drivers via terminal sudo apt-get install fglrx-amdcccle
Reinstall your system to a version prior to Ubuntu 12.04.2 and install the amd legacy drivers from the link provided above (SERIOUSLY NOT RECOMMENDED! ..just to be complete)


'configure.ac' or 'configure.in' is required for Ubuntu 14.04

From your comments on A.B.'s now-deleted answer, you want to build this software.  This answer addresses this fact.  Next time, tell us what software you're building, what steps you've tried so far, and whether you've read any documentation relating to building the given software, so you get help faster with issues such as these.

First, you need all the build dependencies, and the fastest way to install them all is this command, which installs not only the compiler but the additional boost libraries and Flex that you'll need.  sudo apt-get install build-essential libboost-all-dev cmake flex

Secondly, create a directory and go into it (you said ~/prefix/sw in your comments).

Thirdly, git clone https://github.com/redpony/cdec.git.

Fourthly, you probably did not read the README page on the GitHub repository which explains what commands to run to make the software build.  It lists these as the build steps, after cd-ing into the newly created cdec folder:

cmake .
make -j4
make test
./tests/run-system-tests.pl

Why you would run some other commands other than the ones listed in the repository documentation, I do not know.  You need to read up on how to build software, because it varies from software-to-software.  It doesn't look like you need autoreconf here.


Unable to install software for Huawei EC169 CDMA USB Modem

@araiqa, I assume that the .zip file you downloaded in the ~/Downloads directory and you extracted it in the same directory. If this is the case, then the commands you have to run as follows:

cd ~/Downloads/linux SW/Linux13.305.05.00.03/driver
sudo ./install

After the last command, you will be asked where it should be installed. Writed down /usr/local/Mobile_Partner

With this, the installation will be finished.

I hope this will help you.


If your Hard-drive is not encrypted or anything, you could boot into runlevel 1, where you own root privileges and reset your password.

To do so, you need to edit the boot parameters in Grub when you boot up. When you see the Grub screen (if you don't see it, you may press Shift after your BIOS screen) select the entry that is normally started and press e. You should get a editing window, now append 1 to the line starting with linux. Hitting F10 should start the modified entry.

If that worked, you should be left with a root console. Here you can reset your password using passwd username


`gpg --genkey` keeps asking for password when run from WSL2

It seems like gpg --full-generate-key works as expected.


add-apt-repository missing from mini.iso

The package was moved. I found it: Replace python-software-properties Depends with 'software-properties-common'

sudo apt-get update; sudo apt-get install software-properties-common


Best video recording & mixing software for Ubuntu

This answer was edited after Galya edited the original question. Refer to the list of changes in order to see the difference.

There is difficult to say something specific stand-alone piece of software for Ubuntu and even in MS Based Operating Systems you may find useful the usage of several tools at once. Notwithstanding I am going to try to cover the essentials of broadcasting while saving to disk procedure by using several tools at once in both Windows and Ubuntu.

Ubuntu related software recipe:

Ingredients:

Ustream web service account or similar (Justin.tv and other
available)
A fresh install of Webcam Studio (well, it can be secondhand, indeed)
1 or more live video devices, such as webcam, VCR, VTR, etc.
Optionally: live audio devices.
1 or more pre-recorded video sources
Optionally: pre-recorded audio sources.
1 or more pre-made pictures, graphics, transparent overlays,
animations, etc.
Anything else you wish to include in your broadcast. (who knows!?
you may wish to include something else, right?)

The Directions

First of all get a good computer, and I mean A GOOD ONE. Core i5 is
the basement. With enough memory and understand that "enough memory"
will be OVER 4GB for this recipe. Have in consideration that you are
going to run several high demanding processes at once, thus the
majority of the RAM will be consumed at the very launch.
Once you've sifted the computer with the proper pieces of software,
added to the latest Ubuntu OS, we need to start cooking in the next
order:

Make sure all your devices are well recognized in the Webcam Studio
Software. This can be done by checking out how many small icons
appears in the "Devices section" of Webcam Studio, see the next
illustration:

As you can see, I have 2 live Devices, I also included several
Images, a movie and a song by using the "Sources/Add a folder to
scan" option, so that I can choose between several sources for my
transmission.

Once you have all your live devices recognized in the software, make
sure you include everything you need for the broadcast in the
Sources section (upper left).
Next, let's reach our web based broadcast service. For this example
I am going to use the Ustream Website and use the "Live" button ("En
Vivo" for the Spanish Version), as shown in the next screenshot:

When Clicking the "Live" button, you will be shown with the live
broadcaster in which you can choose the audio/video sources (by
clicking the small gear icon), choose the "WebcamStudio video
device" and you'll be presented with the video output of your Webcam
Studio software. For this example I have chosen an image from my
collection with the internal audio source (switchable -of course-
through the sound preferences). See the next full screen
illustration:

And that's it. When you're ready simply hit the "Start Broadcast"
button (Iniciar broadcast in spanish) and if you wish to keep an
uploaded version of your broadcast hit also the "Start recording"
button (Iniciar grabacion in spanish) and you'll be on-air.
You can have as many webcams, hi-definition cameras
(USB/FireWire/iLink/iEEE1394,etc.), video sources (VTR, VCR, TV
Tuners, etc.) as you wish in each layout and unlimited layouts in a
single project. Projects can be saved inside of the Webcam Studio so
that you can bring them back when needed. Of course, you will need
to first make the devices to work in Ubuntu and be recognized by
WebcamStudio but I am quite sure that you will find a way to calm
down when needed and do a great job.

Serving suggestions

This recipe can be served individually on owned website or via social network (Twitter, Facebook, etc.) by hitting the corresponding buttons: Twitter and Facebook will deliver the proper message to the corresponding services while hitting the link in "Your URL" will take you to a page, where you can gather the proper portions of code (tuneable) that can be used for the embedding of the video player in your own website. See the next screenshot for an example:

When you finish the broadcast, you will have the recording (if you hit the proper button) to download a ready-to-use video file. Additionally you will be prompted for the ready-to-serve video link which will already be uploaded in the Ustream servers.

ALWAYS REMEMBER!!!

To serve it cold and in companion with your favorite drink.

Some extra useful explanations:

You will need to use the freshest and latest ingredients, specially the newest Java platform that you
can get in the market (I am using 7, I think).
If you can't get Java somehow, you can also run this process with
OpenJDK or another Java Alternative (IcedTea is doing an awesome
work also).
If you experience some issues when launching Webcam Studio, please
refer to comment 16 in this link for reference on how to patch it:
http://code.google.com/p/webcamstudio/issues/detail?id=75
Just for the record. For the examples and illustrations I am using
a Core i5 CPU M 450 (2.4Ghz x 4) with 4GB RAM in a 64 bit version of
the Precise Pangolin Ubuntu 12.04.1 LTS Operating System and if you
check, the average system load (lower left corner) of Webcam Studio
is reading a 100%, which means that you will need AT MINIMUM a
computer like this to run a broadcast with no problems. (Remember:
small portions won't satisfy any guests, so make sure you use bigger
portions for this recipe).
When serving, make sure you get a glass of 13 years old Havana Club
for me, just with mineral water, salt, lemon and two ices. :)

Good luck!

Oh! yeah! I almost forget it...

Windows Based OSs recipe.

Well, this is long enough and I don't feel like writing anymore. So I will only include this recipe on demand. Please drop me a link to a place where you have the proper question in order to continue. Thank you for understanding.


Here's how you should proceed:

Look for border-radius property.

Case I: If there is just a single value assigned to it, like border-radius: 18px;, then it means that the borders will be rounded from all the 4 directions (Top, Right, Bottom, Left) equally (18px in this case).

Case II: Shorthand Property: If there are multiple values, like border-radius: 18px 0px 0px 18px;, then remember the order (Top, Right, Bottom, Left). This means that the 3d value (0px in this case), represents the bottom radius. Set it to a non-zero value!

Note: It should not be very hard finding border-radius with shorthand notation. For example, my own gnome-shell.css has only 9 occurences where the border-radius shorthand property (2nd case) is used!

Hope it helps.


How to remove duplicate Chrome profile entries in Gnome applications menu?

I found the correct location. There were a ton of Chrome profile entries under:

~/.local/share/applications

I deleted all except the batch I created on the last occasion, and that cleared out the duplicates. What I don't understand is why there weren't more duplicates showing, as there were quite a lot for all the profiles. Anyway...


gimp 2.9.5 failed to update (2017-01-31)

The remedy is something like this, (I did more, but these steps seemed to be the steps that actually did it).

$ sudo apt-get update
...
Fetched 102 kB in 0s (110 kB/s)
Reading package lists... Done

$ sudo apt-get purge --remove gimp gimp-gmic gimp-plugin-registry  # the related packages
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gimp-data libamd2.4.1 libbabl-0.1-0 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6 libgegl-0.3-0 libgimp2.0
  libmypaint libtiff-tools libumfpack5.7.1 libwebp6 libwebpdemux2 libwebpmux2
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  gimp* gimp-gmic* gimp-plugin-registry*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 26,8 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 220804 files and directories currently installed.)
Removing gimp-gmic (1:1.8.0~pre-0x0~ppa~edge) ...
Removing gimp-plugin-registry (7.20140602ubuntu2) ...
Removing gimp (2.9.5~71-0x0~ppa~00faf17) ...
Purging configuration files for gimp (2.9.5~71-0x0~ppa~00faf17) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up gimp-data (2.9.5~79-0x21~ppa~5170980) ...
Setting up libgegl-0.3-0:amd64 (1:0.3.11~45-0x3~ppa~39ea9fd) ...
Setting up libgimp2.0 (2.9.5~79-0x21~ppa~5170980) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


I'm guessing that this is a permissions issue. Open a terminal, navigate to that drive, issue  ls -al and have a look at the owners and permissions. If the info for the problem directory is different than for the others then chmod, chown and chgrp will be your friends.


Wifi has trouble connecting/constantly disconnects in ubuntu

Assuming you named the file "/etc/modprobe.d/intel_11n_disable.conf"
Then do:

sudo rm /etc/modprobe.d/intel_11n_disable.conf

Then:

echo "options iwlwifi 11n_disable=1" | sudo tee /etc/modprobe.d/iwlwifi.conf
sudo modprobe -rfv iwldvm
sudo modprobe -rfv iwlwifi
sudo modprobe -v iwlwifi

Edit: Please do

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

Make this line:

options iwlwifi 11n_disable=1

Look like this:

options iwlwifi 11n_disable=1 swcrypto=1

Proofread carefully, save and close gedit.

Then do:

echo -e '#!/bin/bash\n/sbin/iwconfig wlan0 power off' | sudo tee -a /etc/pm/power.d/wireless

Reboot

Edit:

Go to network manager settings in the top right corner of the screen and set IPV6 to ignore then save and close settings and reboot.

Also it is not a good situation that you have so many networks in range of your wireless and many of them have the same name and all have pretty weak signal strength.

Edit:

You can manually set the mac address of the network you want to connect to and see if that helps.  Find the name of the network that you want to connect to by running:

sudo iwlist scan

then click on network manager in the top right corner of the screen>edit connections>click on wireless connection then enter the mac address, click save and reboot.


Is it possible to make all currently open windows minimize, whenever I open a new application?

You cannot make other windows be minimized when a new Window is opened. However, you can make all other windows transparent or dark.
Using Compiz to achieve a similar effect.
It may not be possible to minimized all other windows when a Window is opened, but you can make it seem as though all other Windows are minimized.
Before you continue, make sure to install compiz-plugins-extra .
Using the plugin "Dim Inactive":

First, install Compizconfig-Settings-Manager
Then enable "Dim Inactive"

Under Misc. Options, do the following:

Using Compiz "Trail Focus":

As above, if you have not already done so, install Compiz Config Settings Manager
Enable "Trail Focus"

Set up the options under "Behaviour" as follows:

And under "Appearance" as follows:

Results:
With trail focus:


Having problem with installing npm in ubuntu 16.04.3

After facing numerous errors, finally get success to resolve the issues. Here are the steps I followed.

First I installed "curl" by following http://sourcedigit.com/20782-install-curl-ubuntu-via-command-line/ . This article provides two ways to install curl and I successfully installed curl using "Alternate Method To Install Curl".

Then I executed commands in sequence

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install nodejs

By executing above nodejs command, node js version 8 is installed with npm version 5.3.0


Ubuntu search - how to change to the IDEA of the updated installation

Start the IntelliJ from the console.

For your setup this should be:
/opt/idea/idea-IC-191.7479.19/bin/idea.sh

When started use this to recreate a desktop entry:
Tools -> Create Desktop Entry...

After this it should be visible in the search.


JPGICC: What does the option described as "Precalculates transform" do?

I must admit I'm not a person that cares much about color accuracy. If colors are different enough between text and background, and I can read the screen, I'm happy.
7 year old email chain about precalculations
The differences between no precalculations, normal, low-res and high-res is not just speed but can lead to flaws in the shadows:

I had Cinepaint set in the color management options to use "don't
Precalculate" rather than one of the other Cinepaint options (Low
Resolution, High Resolution, CMM default). I wish I had realized that
particular setting might make a difference, because it would have
saved a lot of time and tedious testing.
I don't know of any image editing program besides Cinepaint that
offers the user the choice to use Low Res, High Res, CMM default, or
"Don't Precalculate". I would guess that most or all use something
like "CMM default", because I just checked, and Cinepaint, when set to
use "CMM default" and "use black point compensation" produces the same
halving of the shadow values as all the other image editors.
At any rate, at this point every image editor that I tested, other
than Cinepaint and the latest Krita 2.6 alpha, produces visibly
damaged shadow areas if there is a linear gamma profile involved in an
ICC profile conversion.

littleCMS's Author's take on precalculations
In his .pdf tutorial the author states if there are only a few colors to transform then precalculations can be turned off all together:

Optimization
Little CMS tries to optimize profile chains whatever possible. There are some built-in optimization
schemes, and you can add new schemas by using a plug-in. This generally improvesthe performance
of the transform, but may introduce a small delay of 1-2 seconds when creating the transform. If
you are going to transform just few colors, you don't need this precalculations. Then, the flag
cmsFLAGS_NOOPTIMIZE in cmsCreateTransform() can be used to inhibit the optimization process.
See the API reference for a more detailed discussion of the flags.


Install openssh-server on your server. That will provide ssh access to the server. Proftpd "only" provides ftp access.


AFAIK, No easy solution to this without kernel modification.

Linux kernel controls SYSFS tree /sys/...
Udev uses SYMLINK action only for device nodes in DEVFS /dev/.. which not the case for network interfaces.


How can I get communication with my Arduino Uno over the serial port to work?

Problem solved, Once I ran the program as root I was able to get it to work. In Terminal sudo arduino


Sure you can. you can use the Atmel tools to compile your code:
http://www.atmel.com/tools/atmelavrtoolchainforlinux.aspx

And Avrdude (http://www.nongnu.org/avrdude/) to upload it via the USBasb. There is a cool tutorial here:
http://www.ladyada.net/learn/avr/avrdude.html
Ignore the fact that for some unfathomable reason they use windows - the commands and explanations are the same.


Is this a laptop?

I've seen this kind of thing happen in laptops, where pressing keys on the keyboard has the side effect of tapping the trackpad or buttons. It could be a problem with the computer, or it might just be the user's fingers ever so slightly contacting the trackpad, just enough to register a click.
 Double-clicking the left button usually highlights whatever text is under the cursor, and middle-clicking will paste whatever was highlighted, so "random" clicks could have this effect easily.

If this applies to you, a few things to try:

Check this setting: System Settings -> Mouse & Touchpad -> Disable while typing (you could also try un-checking Tap to click)

For some reason this often does not work for folks, though. Many other people report that using the syndaemon utility works for them, though I've never needed to use it. The details on how to do that (and some other possibly useful suggestions) can be found in the answers to this question:

Disable Touchpad While Typing does not work


How do I change the size of an ext4 partition?

Take your server off-line for a little while and use Gparted Live CD to do the deed. It can increase the partition without loosing any data.


Packaging with Quickly and including extra files for application

I noticed that files stored in ./data/media are packaged with the app.

However, apart from pictures and videos, I don't know whether this is considered as a best practice or not.


How do I improve streaming performance with my setup?

Sounds like dropped packets and high ping times. If you say Windows works fine then the problem should be from your Ubuntu system to the router.

First find out the IP address of your default gateway. One way to do it is by running this in a terminal:

ip route list |grep default

you'll get something like this:

default via 192.168.108.1 dev wlan0  proto static

next, on the terminal, try pinging the gateway, to get an idea of packet loss and roundtrip times:

ping -i .200 -c 100  <gateway ip address>

You'll get a running count of pings, and a report at the end:

PING x.x.x.x (X) 56(84) bytes of data.
64 bytes from x.x.x.x: icmp_req=1 ttl=64 time=8.55 ms
64 bytes from x.x.x.x: icmp_req=2 ttl=64 time=4.82 ms
64 bytes from x.x.x.x: icmp_req=3 ttl=64 time=3.67 ms
64 bytes from x.x.x.x: icmp_req=4 ttl=64 time=2.87 ms
64 bytes from x.x.x.x: icmp_req=5 ttl=64 time=3.16 ms
64 bytes from x.x.x.x: icmp_req=6 ttl=64 time=17.5 ms
.
..
64 bytes from x.x.x.x: icmp_req=100 ttl=64 time=0.971 ms

--- 10.153.108.1 ping statistics ---
100 packets transmitted, 100 received, 0% packet loss, time 19856ms
rtt min/avg/max/mdev = 0.888/2.408/16.572/2.469 ms

You'd want to see no packet loss and an avg rtt time of maybe 100 ms for things to run smoothly. If you lose packets or you notice that the running count shows some wild variations in rtt times, that may be what's causing the glitchiness. A mismatched or wrong driver may be the cause.

Are you connected through your wired or wireless interface? Also, your HW info suggests it's a laptop. If that's the case, could you check if you get the same results when it's plugged into AC power? some wireless adapters go into "low power" mode which may adversely affect performance.


Ubuntu 13.10: wpa_supplicant crashes on login

Running this command fixed the problem for me

sudo apt-get --reinstall install network-manager-gnome network-manager-pptp

Note: after running this command, my custom keyboard shortcuts seem to have been reset.


Check you have not setup keys in Dash->Wacom Tablet, Map buttons... As I know this method and xsetwacom cannot work together.

Also, I use script to detect current application and setup wacom config:
https://github.com/flyasky/wacom-profile-switcher


Static IP configuration causing apt-get errors

It sounds like you aren't able to resolve domains via DNS. Assuming this is the case, you can likely fix it by adding a dns-nameservers line  to /etc/network/interfaces

auto eth0
iface eth0 inet static
    address 192.168.2.2
    netmask 255.255.255.0
    gateway 192.168.2.1
    dns-nameservers 192.168.2.1

and then running

resolvconf -u

as root to update /etc/resolv.conf. Feel free to include a DNS search domain record (which is also typically handed out via DHCP). Refer to resolvconf(8) for more information.


You must configure network. Maybe you can put network card to grab ip via dhcp if you router is configured on that way.

On this links you can see manual and configuration using a network manager

http://www.sitepoint.com/ubuntu-12-04-lts-precise-pangolin-networking-tips-and-tricks/

and

http://www.php2s.com/linux/how-to-configure-network-using-cli-ang-gui-in-ubuntu-12-04.html


This is surely a bug since the only way to automatically assign DNS servers is via DHCP.

When using static IP addressing (manual) you must enter the DNS server(s) manually.
When using dynamic IP addressing (DHCP) you will get the DNS server(s) assigned to you automatically. But you can override the automatic DNS assignment from DHCP by entering one or more static DNS servers to use.


Multiple files in program tar.gz installation package. What should I compile?

You don't compile an header file (altough it's possible to do so), you compile a source file which might include some header files, but whether the required header files have been included in the source file it's not (or shouldn't be) something up to you, it's something up to the developer: if program.c has been written correctly, it will list its needed header files in its #include statements, which will be then replaced by the preprocessor at preprocessing time with the lines contained in the corresponding header file before the compilation takes place: so to compile it just either use make:

make

or gcc:

gcc program.c

But if you really want to make sure that protocol.h has been included into program.c you can run:

grep protocol.h program.c

And if the command returns #include "protocol.h", protocol.h has been included into program.c.


To install Thunderbird, you can open the terminal and type sudo apt install thunderbird. This will install Thunderbird onto your computer. If at anytime you want to uninstall it. You can just type sudo apt remove thunderbird. You should not need a portable version.


How do I convert a svg to a png using dithering for gradients?

Try Gimp "Spread" filter (Filter > Noise > Spread) with 40px value for your sample

I found it in a comment in Inkscape bug tracker and it produces great results IMHO


Relinux No default or ui configuration problem

Ah yes, you are one of the few who managed to get relinux 0.4a1 to actually make an ISO =P Try using relinux 0.3a3 =)

(I was really sick when I coded 0.4a1, don't blame me XDD jk)


"Unknown unclaimed register" System76 Gazelle, Haswell

If boot continues as normal, this is not something of great concern. It is a bug in the kernel that has been fixed upstream. Soon, with an update of your kernel, the error message will be gone. For example, if you try drm-intel-nightly, the error message should be gone.

So just be sure to keep installing those updates, and the message will go away. It is erroneous and misleading, and only results due to the kernel's confusion about certain BIOS options.


Steam games won't open. It just says, "Running," then "Syncing," then it doesn't do anything after that

There are two lines that are quite interesting inside your logfile
ERROR: ld.so: object '/home/icebunny08/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

and

/bin/sh: 1: /home/icebunny08/.steam/steam/steamapps/common/Team Fortress 2/hl2.sh: Permission denied

First one seems like it tries to load a 32 bit libary into a 64 bit process.
The second one: you don't have the permission to the file located at /home/icebunny08/.steam/steam/steamapps/common/Team Fortress 2/hl2.sh. Either it don't exists, or it can't be executed, or you just don't have the permission.


Install/Remove Language show only English, no other choice

I don't know why the options are not coming up. A work-around is to try install languages from the terminal.

The following command will list language packs that can be installed:

apt-cache search language-pack

The packs can be install by entering (for French):

sudo apt-get install language-pack-fr-base
sudo apt-get install language-pack-fr

Replace 'fr' by the language code of your choice found by running the very first command.


Bluetooth/Wi-Fi Troubleshooting: Ubuntu 20.04 LTS, Intel AX200

Sorry this is not an answer on how to debug bluetooth, but I cannot post comments yet, so I'm giving you these information here.
Intel AX200 is having major problems with linux (for instance, i have the same card and sometimes, on boot, the card stops working and it won't come back to life unless I temporarily disable the battery of my laptop directly from the BIOS)^[1].
According to the answer of this post, what you see on the additional drivers is not actually a real problem.
Nonetheless, if you search for errors with dmsg or with journalctl you will find errors of this kind:
[   44.601884] iwlwifi 0000:52:00.0: Direct firmware load for iwlwifi-cc-a0-49.ucode failed with error -2

If you check this thread, this seems to be a kernel problem, which is trying to load the wrong driver.
Recent versions of the kernel (5.5+) seem to solve it, but ubuntu 20.04 is still on kernel version 5.4 and I bet it will not change until the next kernel LTS version (2021?).
I don't think this answers your question, but I really hope it does help you.

[1] You could call it "forced electronic reset", unplugging and re-plugging the wifi card itself works the same, but I have no idea on why I need to do it.


I would recommend first upgrading your 12.10 version. I have right here when running uname -a the version 3.5.0-26

So let's do an sudo apt-get update followed by a sudo apt-get upgrade and then reboot. When doing that, verify that any bluetooth related package (including python) gets updated. This update might be the solution. You would have to reboot to see if it works.

The output of bluetoothd suggest that it needs an update or a python library update. In both cases, the suggested update of the system might fix it. At least it worked for me but on a Desktop PC and a bluetooth dongle.

If not, maybe you can add the output of dmesg to include more information but am very positive that it will work after the update.

UPDATE: Ok now am certain that after upgrading you have a 99% chance of getting it to work. Right now you have the 4.101 version. most likely the first version for it. The current package version is the 4.101-0ubuntu6 which can be found in https://launchpad.net/ubuntu/+source/bluez/4.101-0ubuntu6/+changelog

I mentions the following changelog:

* debian/rules: add --enable-gatt (and remove the unrecognized configure
  options left over from previous releases). This fixes a regression in the
  support for Low Energy bluetooth devices such as thermometer probes and the
  like. (LP: #1055616)


Samsung SCX - 3205w printing wierd symbols

OP posted:

  After the first update from the repositories in http://www.bchemnet.com/suldr/ my Samsung Printer started working beautifully,no more weird symbols, no more lags, only perfect printing :)


It looks to be the case. I really could only find one discussion of the practice from 2010 but that gives me hope that it as even matured since then:

http://ubuntuforums.org/showthread.php?p=8874139


after adding .sh file to profile.d, desktop background does can not change, can't mount other partitions, and can't access trash

Files in profile.d are sourced, not executed. Therefore the shebang (#!/bin/bash) is not necessary. However that is not relevant to your problem. You can check that by moving that source file out of the way. You have to look for other things that have change, I am afraid.


How do I make space to resize the root (/) partition? No free space on root, cant uninstall software nor update

system by default reserve 5% memory for superuser . so you can use that memory by reducing 5% to 2% .  let up suppose you have 100GB hard disk then system will keep 5GB memory for superuser reserved. it will not use all 5% memory so you can reduce it by 2%.

tune2fs -m 2 /dev/sda1

if you are going to create partition and you want to assign less memory to superuser then use

mkfs.ext3 -m 2 /dev/sda1

don't reduce it to 0% that will harmful for system .


I have similar problems installing Mint 12, Oneric, Precise Beta and some others. I think the free Nouveaux Drivers don't support this board yet, so can't launch an x-server. I have posted a bug in the hope someone will pick it up and fix it.

https://bugs.launchpad.net/ubuntu/+bug/969121

I have been told that you can use Ubuntu Customisation Kit to respin Ubuntu to load the non-free proprietary drivers when your live system boots. However, I don't know that it would be an easy fix because it takes more space on the disk, which would mean you would have to do a USB mounted burn of the .iso, not to mention you would have to tell the installed version to load those drivers also. If I find a way to triage this, I'll let you know.


I believe this is a bug in Sound Juicer. I installed K3b and can change the preferences in the usual manner. Ripping MP3s with K3b is quick and easy.


How can I get Ubuntu 14.04 look like my old Ubuntu 11?

Gnome 2 is dead, long live Gnome 2.

Mate is a fork of Gnome 2 and Ubuntu Mate starting at 15.04 is officialy part of the Ubuntu family.

You can download Ubuntu Mate from: https://ubuntu-mate.org/

To install Mate in Ubuntu 14.04:

Instructions from the official wiki

The Ubuntu MATE Developers utilize a MATE 1.8.1 PPA Repo ported from Debian for use with the Trusty (14.04) Ubuntu MATE Remix.
Add Repository

You may add this repo to your apt sources via the following commands:

sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate

Install MATE 1.8.1

First make sure your package list and packages are up-to-date by running:

sudo apt-get update
sudo apt-get upgrade

You can choose to install Vanilla MATE by picking one of the apt-get options below.

This will install the base packages required for a minimal MATE desktop

sudo apt-get install mate-desktop-environment-core

This will install the complete MATE desktop

sudo apt-get install mate-desktop-environment

This will install the complete MATE desktop including a few extras (Most Users Will Want This)

sudo apt-get install mate-desktop-environment-extras

Ubuntu MATE

Alternatively you may choose to install Ubuntu MATE.

Ubuntu MATE is a more comprehensive option that offers a slightly tweaked layout, configuration, and themes to integrate into Ubuntu in a more seamless fashion. This will install the complete MATE Desktop Environment as well as LightDM and numerous other applications to provide a full and well rounded desktop.

  sudo apt-get install ubuntu-mate-core ubuntu-mate-desktop


rtmpdump can capture live and not live rtmp streams well (plain rtmp and encrypted sessions too). But it looks like youtube is not using rtmp flash  streamin for their live broadcasts. Instead they come up with some other idea.

Check out Stefan Sundin's instructions on how to capture youtube live streams.

For Ustream rtmpdump should work. Helper scripts and instructions for Ustream can be found here or here.


Sequential hook before entering runlevel?

I managed to solve my problem with this:

kill timeout 70

start on runlevel RUNLEVEL=[016] PREVLEVEL=[2345] and (starting rc RUNLEVEL=[016] or stopping mysql or stopping portmap or stopping idmapd or stopping statd)

task

exec the-script-that-shuts-clients-down.sh

Well, almost, because it looks like Upstart has a little bug that is specific to hooking on rc. At least in Ubuntu 10.10 it does. I don't have an 11.04 at hand to confirm it.

The work around right now looks like this:

In the-script-that-shuts-clients-down.sh, before exiting I do

touch /etc/init/my-job.conf

where my-job.conf contains the stuff above. So far it unstuck rc from start/starting everytime.

Another catch is that if I write starting rc rather than starting rc RUNLEVEL=[016] then upstart gets stuck on rc at boot too (and the same touch command unsticks it).


Is there any open source software to make a Online Streaming radio?

Icecast is a well-known streaming media server that can do what you need. You're not too specific if you want to make a single radio station stream or just be able to have a network media player, in that case check out Ampache.


After Installation of Ubuntu, VMware now not showing it, why?

Try pressing F9 to bring up the Library pane on the left in VMware Workstation (not in the player). It'll look like this:

The highlighted part shows the pane I refer to.

If you don't see any VMs listed:

Ctrl+O to Open (to be found in the File menu)

Navigate to the directory with the VM files and choose the .vmx file (should be the only one shown)

Now click the Open button and the VM should be added to your Library.

Also in the preferences you can choose where VMware looks for VMs by default:


This issue is often caused by either a hardware failure with your drive (as suggested by Error 5, which is almost always an I/O error), or a problem with the disk image you are using. More rarely, it can be a memory error, but this seems unlikely in your case.

You can remedy this particular issue by downloading a clean ISO from the official Ubuntu website, and then verifying the MD5 hash of the file using the below command:

 md5sum /path/to/the/ubuntu.iso

You can find the valid MD5 sums for 16.04.1 below, sourced from this file. Be sure that the results from the command you've run and that file (or below) are the exact same.

c94d54942a2954cf852884d656224186 *ubuntu-16.04-desktop-amd64.iso
610c4a399df39a78866f9236b8c658da *ubuntu-16.04-desktop-i386.iso
23e97cd5d4145d4105fbf29878534049 *ubuntu-16.04-server-amd64.img
23e97cd5d4145d4105fbf29878534049 *ubuntu-16.04-server-amd64.iso
494c03028524dff2de5c41a800674692 *ubuntu-16.04-server-i386.img
494c03028524dff2de5c41a800674692 *ubuntu-16.04-server-i386.iso
17643c29e3c4609818f26becf76d29a3 *ubuntu-16.04.1-desktop-amd64.iso
9e4e30c37c99b4e029b4bfc2ee93eec2 *ubuntu-16.04.1-desktop-i386.iso
d2d939ca0e65816790375f6826e4032f *ubuntu-16.04.1-server-amd64.img
d2d939ca0e65816790375f6826e4032f *ubuntu-16.04.1-server-amd64.iso
455206c599c25d6a576ba23ca906741a *ubuntu-16.04.1-server-i386.img
455206c599c25d6a576ba23ca906741a *ubuntu-16.04.1-server-i386.iso

After you've verified that the MD5 hashes are actually EXACTLY as they appear here, you may proceed to actually burn it to a known-good flash drive. You can verify a good flash drive by running the read only check specified in the accepted answer to this question.

Once you're sure that both the ISO and your flash drive work properly, you can use the Ubuntu ISO Tool or just dd to burn the ISO to your flash drive.


Can't select Ubuntu menu categories to show

Found a solution, you have to create and check an item in a menu/category for it to be shown.


You can try the cryptsetup Wiki, which is pretty good:
https://gitlab.com/cryptsetup/cryptsetup/-/wikis/FrequentlyAskedQuestions
Edit: To complete that, the always excellent ArchWiki:
https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_a_non-root_file_system


Assuming that with "plain text" you actually mean "raw", Liferea offers no ways to do that.

You can however user your favorite web browser: just open the feed and save it. For example, you can download the feed of Planet Ubuntu in Firefox visiting http://planet.ubuntu.com/rss20.xml and selecting File → Save Page As... from the menu.

If you prefer the terminal, you can use wget or curl:

wget http://planet.ubuntu.com/rss20.xml


Imho GEdit is far from being an ideal base for an IDE. You would be better off with an actual IDE like Eclipse and its various plug-ins.
In my experience it's also better to use IDEs specialized to a particular language, task set, or framework like JetBrains' IDEA (Java), PyCharm (Python), WebStorm (JavaScript, non-free), and CLion (C/C++, non-free) – they all have very similar user interfaces in case you're worried about that. Qt Creator is an excellent fully open-source alternative for C/C++/QML development.
If you really want to start with a text editor as a base and enhance it with developer features go with something highly customizable like Atom, Sublime Text, or Emacs and their various plug-ins and extensions. While GEdit is very customizable itself the existing supply of useful, up-to-date plug-ins is far smaller than for the other three.


Do I need any additional Java packages if I'm running the Oracle JRE?

It won't do any harm if you leave them installed. If you do decide to uninstall them (because I don't think they're needed since you're using Oracle's JRE), make sure it does not offer to uninstall other important packages with them.


Ubuntu 16.04 Vertical Tearing (NVIDIA with Dual Screens)

Below are the steps which worked for me using two screens:

Run xrandr to reveal the monitor connection names, resolutions and offsets:

  Take note of the following two lines which are needed later

HDMI-0 connected 1920x1080+0+0
DVI-I-1 connected primary 1920x1080+1920+0

Use the following code as a template to fix screen tearing:

  Replace the screen names, resolutions and offsets for each screen as per your configuration:

nvidia-settings --assign CurrentMetaMode="DVI-I-1: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+1920+0, ForceFullCompositionPipeline=On}, HDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceFullCompositionPipeline=On}"

Add the previous command to the Startup Application Preferences to ensure the fix persists across reboots.

Upon running the 2nd step command, your screens may blank to black momentarily before the fix is applied. You might like to watch this video to test whether the tearing has gone.

Credit here for the dual screen code which was adapted.


error install and run Anbox in Ubuntu 18.04

the answer is simple, you are using a 32-bit(i386) OS. Unfortunately Anbox don't support a 32-bit system(i386).It only exists on 64-bit(amd64).Try installing android on a Virtual Box


Why aren't my pictures appearing in the "pictures" section of the change wallpapers window?

GNOME's background customisation option is very limited. Along with system background images and solid colours, it allows the user to choose images only from Pictures, not even from any subfolder of Pictures. You may do one on the following:

Place the image you want to set as background in Pictures folder, not inside any subfolder.
Recommended option: Use GNOME Tweak Tool to set images from wherever you like as your background image. Open the application and select your preferred image in Background Location option under Desktop.

Advanced option: Use dconf Editor to set any image as background. Open the application and navigate to /org/gnome/desktop/background/picture-uri, disable Use default value, and set the path to your image in the Custom value field.


How do I squelch specific messages from being logged in syslog?

You can use the stop keyword action to end processing of a message. To match the message you need to know where the pia-daemon string appears in the input. It might be the tag, or it might be $programname. You can try
if $syslogtag=="pia-daemon:" then stop
if $programname=="pia-daemon" then stop

To find out you could list all the fields using a builtin template RSYSLOG_DebugFormat:
*.info /var/log/debug;RSYSLOG_DebugFormat

Or you can just look anywhere in the raw input:
if $rawmsg contains "pia-daemon" then stop

Make sure these filters appear early in the config file, before other filters.


when I connect using VPN, I couldn't access any website

That is normal behavior when using a VPN. The only one that can fix this is the admin of the system that has the VPN installed.


What is the difference between cat and tee?

TL;DR: cat reads from files whose names you pass it, but tee writes to them. Only when you pass no filenames to them do they have the same effect. Otherwise, using tee when you mean cat can overwrite files you meant to read, causing accidental data loss.

cat and tee behave alike when you don't give them any filenames. That's what's happening in your example; the commands have output redirections (>) but no actual command-line arguments. When you do pass the cat and tee commands filenames, they behave differently from one another, and you can even accidentally overwrite files and lose data by passing their names to tee when you meant to pass them to cat.
The reason cat and tee do the same thing without any arguments, but different things with filenames passed as arguments, can be discerned by considering the behavior of each. In general, they have almost opposite behavior. cat reads potentially many files and sends their output to one place, while tee reads one input and sends it to potentially many files.
cat
cat copies the content of all its input files to standard output, one after the other. This is to say that it concatenates the files. For example, cat x y outputs the contents of x followed by the contents of y. When passed a single filename, it copies that file's contents to standard output and then, since it has no more arguments, stops.
When you run cat with no filenames, it defaults to reading from its own standard input. Basically, that means it reads whatever is piped or redirected to it, or otherwise whatever is typed into a terminal. (Another way of putting this is that, with no filenames, cat behaves like cat -, since cat, like various other commands, treats - specially and takes it to designate standard input.)
tee
tee copies the content of its standard input to all of its output files as well as its own standard output. This is to say that it functions like a T-junction--or, more precisely, N T-junctions where N is the number of output files whose names you pass to it. For example, tee x reads its input, writes it to the file x, and also writes it to its own standard output. tee x y reads its input, writes it to the file x and also to the file y, and also writes it to its own standard output.
The most common use of tee is to insert it into a pipeline with a single filename argument. For example, suppose you were piping the output of a command called foo to the input of a command called bar. You could write foo | bar. But if you also wanted to log the output to a file called logfile so you could inspect it, you could use foo | tee logfile | bar.
tee overwrites the files whose names you give it, unless you pass it the -a option, in which case it appends to them. For example, to append to that log instead of overwriting it, you could use foo | tee -a logfile | bar.
Unlike cat, the tee command doesn't treat getting no filename arguments as a special case. Instead, simply writes its input to all zero of the files whose names you gave it, and then passes it along to its standard output as usual. The effect is that, as with cat, running tee with no filenames also copies standard input to standard output.
Culture favors cat when you just want to copy stdin to stdout.
While you can use either cat or tee with no arguments for this purpose, if you use cat then people will know what you mean. tee without arguments is fine, but it looks like a mistake. Sometimes this is described by saying that cat is the idiomatic way to do it.
Note also that the command-line options supported by cat and tee are different.  You would probably expect this, since they mostly do different things, and thus are capable of having their behavior customized in totally different way. See man cat and man tee for details, especially about this.


I have exactly the same issue and it seems to be known. I've found this during my researches: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1252733 .

Apparently a fix has been made but don't know when it will be available and how we can apply it for testing. (the fix: https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=493a52a9b6645f61954580c7d4bd52fa62110934)


Is /var/tracprojects/YourProject the directory name you passed to trac-admin?

According to the instructions on the page you posted, you are meant to create that directory before calling trac-admin (the two commands before hand create the directory and set its permissions).  The error you received would indicate that you haven't done so.


Changing to a project directory slows down the terminal on ubuntu

This question is not entirely clear. Problem is almost certainly not the "terminal" per se, but your virtual machine, the hardware where the VM host is running, the disk it is accessing, and/or your identity.

Your Ubuntu is an appliance in a Virtual Machine.  Are you logging in remotely to the Ubuntu VM? What OS is the virtual machine?  How powerful is the hardware? If your VM host is a Windoze computer, well, we have a suspect.  Where is the disk with the ruby material.  How is it partitioned, mounted, etc.

If you are only using one computer in this setup, and the disks are all local, and none are mounted through cross-platform adaptation (ext4 offered via cifs to Windows host, then offered back to Ubuntu VM as samba share), then we will know where to look.  In the Ubuntu vm session, make a new directory in the ~/home folder and fill it up with a few 100 MB of crap. If that is slow like your ruby disk, it will mean your VM host does not work well.

From your Ubuntu session, can we see output from "df" in the terminal?  Figure out where the ruby directory lies in that output.  That might be enough for us to get a guess.

Can you log into that VM host hardware directly in its native OS to interact with the problem directory?  Does it have slow interaction with the partition in question?

Off the wall, I can name 2 contexts where we have seen slowdowns like you describe.

1). Your user identity comes from a domain name server. The VM or your OS are asking for permission for your user to use a device over and over again, and not caching the answers.  It may be necessary to turn on nscd or similar caching of user identities.

2) Your hard disk holding the web code is not local to the VM and there's some software or hardware trouble between the two.

We see these nutty setups.  There is a Linux web server, which accesses a large storage device via NFS. That web server's directory is offered up to a Windows VM host as a samba share and the Host mounts the storage.  Then your Ubuntu client sees that Windows share mounted in the VM and says "ah, I'll use that windows share." So the VM host is translating the same stuff back and forth over. You'd be much better to mount the web file share directly in Ubuntu, rather than letting the Host be involved at all.

Recently, there was a flaky router between my system and a network file server that caused intermittent slow behavior that you describe.

Good luck, I think you won't get a good solution until you pin down the separate aspects of the problem and rule them out one at a time.


You need at least 2 GB USb disk and then use Startup Disk Creator on Ubuntu

https://www.ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu

(btw it is the first hit I got on Google when I specified "ubuntu on usb")


Timestamp in mail is always Dec 31 while system time is correct

I modified the /etc/s-nail.rc file to set datefield and this solved the problem. Now
U 17 Don                     07:10 09-15   14/456   crontest
 U 18 Don                     07:15 09-15   14/456   crontest
 U 19 Don                     07:20 09-15   14/456   crontest
 U 20 Don                     07:25 09-15   14/456   crontest
 U 21 Don                     07:30 09-15   14/456   crontest
 U 22 Don                     07:35 09-15   14/456   crontest

  N 23 Don                     07:40 09-15   14/456   crontest
   N 24 Don                     07:45 09-15   14/456   crontest
   N 25 Don                     07:50 09-15   14/456   crontest
  ?


X11 over SSH allows you to run a graphical program on the remote machine and have it display on the X server on the local machine.

So, for instance, you could log in with PuTTY and then type gvim and the graphical Vim window would appear on your local display instead of the desktop on the remote server.

It isn't a tool for cloning the display of a X server on the remote system to the local system. For that you'd want to use a tool like VNC.


DNS not working in recovery terminal mode

This helped me in a similar situation.

As Official Ubuntu Documentation says:

  If you require DNS for your temporary network configuration, you can add DNS server IP addresses in the file /etc/resolv.conf. In general, editing /etc/resolv.conf directly is not recommanded, but this is a temporary and non-persistent configuration.

This will only work for this session and you can reinstall GDM3 and ubuntu-desktop. The file will be overwritten on reboot. So check the DNS settings after reboot in graphic mode.

CMD:

cat /etc/resolv.conf

If no DNS in there try:

echo "nameserver 8.8.8.8" >/etc/resolv.conf

This worked for me in a situation like this.

If you want changes to persist see this.


Should I use ZimageZ in Xubuntu xfce to store my screenshots?

From their FAQ(roughly translated):

"Only anonymous images that have been inactive for several months (thumbnails not clicked) are automatically deleted, so there is no risk to see your collection go up in smoke :)"

You would probably have to contact them directly to get more specific answers.


To install it run gem install bundler and check this for more configurations


Syncing the folder will be enough for all the files in the folder to upload.


Pre-requisites:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove

Those will make sure your current system is up to date.

Edit /etc/update-manager/release-upgrades and set Prompt=normal to avoid the "No new release found message."

This will start the upgrade:

sudo do-release-upgrade -d

Big fat warnings:

Please do not do this on a production server. 18.10 is not ready for general usage and breaking your system is more likely than having a working system. Every new update might break something.
If you have personal data do make a backup every day and save them all. At some point you might need to re-install as every update could break your boot procedure. Knowing a little not more then average about the inner workings of Ubuntu so the base system, Linux, systemd, the boot process would be good to have.
Biggest problem probably will be 3rd party drivers. I would remove them and stick to the open source versions when upgrading and re-enable them when there is a working newer system.


Intermittent (each startup) Wi-Fi with an Edimax EW-7318USg

Find out if any log entries are helpful - I usually do:

touch $HOME/now

Record the time right now.
Then, make the event happen (or, wait until the event happens, doing periodic touch $HOME/nows.

Then, after the event has happened, do find /var/log -cnewer $HOME/now to get a list of the log files that were changed between the most recent touch $HOME/now and the find command. Look at the last N lines of each.


No shell log-in prompt in Ubuntu 14.04 server

I was able to fix it by the following command.

sudo pico /etc/default/grub

Change

GRUB_CMDLINE_LINUX=”"

to

GRUB_CMDLINE_LINUX=”text”

this makes Ubuntu boot directly into Text Mode.


Set proxy globally in Ubuntu server for ALL application

A solution is to set environnement variables in each process .
I suppose that 192.168.88.88:3128 is the ip port for my squid proxy .
On ubuntu 18.04 ( my test machine )
You must :

modify /etc/environment by adding these lines :

FTP_PROXY="http://192.168.88.88:3128/"
HTTPS_PROXY="http://192.168.88.88:3128/"
HTTP_PROXY="http://192.168.88.88:3128/"
NO_PROXY="localhost,127.0.0.0/8,::1"
ftp_proxy="http://192.168.88.88:3128/"
http_proxy="http://192.168.88.88:3128/"
https_proxy="http://192.168.88.88:3128/"
no_proxy="localhost,127.0.0.0/8,::1"

modify /etc/systemd/system.conf in the section [Manager] by adding this one big line :

DefaultEnvironment="FTP_PROXY=http://192.168.88.88:3128/" "HTTPS_PROXY=http://192.168.88.88:3128/" "HTTP_PROXY=http://192.168.88.88:3128/" "NO_PROXY=localhost,127.0.0.0/8,::1" "ftp_proxy=http://192.168.88.88:3128/" "http_proxy=http://192.168.88.88:3128/" "https_proxy=http://192.168.88.88:3128/" "no_proxy=localhost,127.0.0.0/8,::1"

You must reboot the server to restart process .

You can verify that every process has the right setting you can run this command :

(
for PROCPID in /proc/[1-9]* ;
do
    FENV=${PROCPID}/environ ;
    C=$(sudo strings $FENV | grep -c -i 'proxy.*=' ) ;
    PCMDL=$(sudo strings ${PROCPID}/cmdline | tr '\n' ' ') ;
    PID=$(basename $PROCPID) ;
    PCOMM=$(sudo strings ${PROCPID}/comm) ;
    printf '%s:%s:%s:%s\n' "$C" "$PID" "$PCMDL"  "$PCOMM"
done
)

This command do a loop for each process currently running and will count environnment variables that a name that contains proxy .
if a line start with 8:, that means you have 8 env variables that have this process .


alt keys broken after upgrading from Ubuntu 18.04 to 20.04

I have fixed this by changing the keyboard model via dpkg-reconfigure which then gave options to map the alt key which I could not figure out how to do using the keyboard settings in the GUI.


ntp.conf error. unexpected T_String, expecting T_EOC

I've ran into the same error while setting up an NTP client on my Windows workstation.

It turns out, there was a typo in the 'server 127.127.20.1 ...' line, but not specifically in the column that the error referenced.

In my case, the typo was in the word minpoll, which I'd written as minipoll.
(server 127.127.20.1 minpoll 4 prefer)


Ubuntu 'Videos' Application has 'Unknown' in Taskbar when Playing .mp4

This is disappointingly common on Ubuntu, possibly naming mismatches. First try overriding the Suru Icon Pack (default for Ubuntu 18).

Install it

sudo apt-get update
sudo apt-get install suru-icon-theme

Apply it

gsettings set org.gnome.desktop.interface icon-theme Suru

On Unity you can use the Tweak tool

sudo apt-get install unity-tweak-tool

In case you have any issues installing Suru from the repo's, try downloading it through this article.

Another solution is to switch to a new icon pack, I've had far less occurrences since using the Pop Icon Pack.


Open a terminal and run the script again with a leading strace.

sudo strace -e write ./SolarCoin_2.0.8_64bit.run

and check the written files. These files were written and/or created during the installation.

And as you say, you can see a SIGCHLD; this means that the installation has been completed incorrectly. For this reason you may not see the expected files.


Is there anyway to change themes using a program?

You can take a look at Epidermis theme manager.  Epidermis combines wallpaper, GTK, metacity, icon, splash, usplash, cursor, grub and Xsplash themes in one GUI program.  Install Epidermis theme manager in Ubuntu, you can download it from Here

Also you may want to look at Conky


Go to amd.com to find the driver for your exact card. After downloading, extract the package and find the amd....sh inside the folder. Right click on it, select "Allow executing file as program" and then double click the file. If you are 14.04 then select the generate distro option. If you have an older version then select the install on x.org6.9+. After isnztallation reboot and then use the Catalyst Control Center to configure the monitor.


replace Windows8 on Lenovo Ideapad with Ubuntu 12.04 server

I think you are running into issues because the usb stick does have the .iso but is not bootable. Check out http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ This utility will help you make a bootable usb stick so you can install linux from it.

Good luck.


What can resolve my hardware issues with linux 3.11.0-15 in Saucy Salimander?

OK, if you think it's a kernel issue then open a Terminal window and enter these commands:

cd /tmp

wget http://goo.gl/kOhnhZ -O kernel-3.13.3

chmod +x kernel-3.13.3

sudo sh kernel-3.13.3

sudo reboot

...after reboot you will be using the new 3.13.3 which has had a lot of improvements for your ati chipsets and graphics, hopefully it will help...


What file I need to edit to change the text color in a theme?

If the theme is a system theme (installed by default), you can find it in the  /usr/share/themes/ directory. So for example if it is Ambiance, you will find it in /usr/share/themes/Ambiance/gtk-2.0/gtkrc file.

If you have installed it on user mode you can probably find the theme in ~/.themes/ directory. Then go to the relevant themes gtk-2/0 and open the gtkrc file.

At the top you might find a line as gtk-color-scheme =. There you can find the text colors.

But one can also change the color from right-click on desktop, them change background. Then under Theme tab select Customize and then after selecting the relevant theme, go to colors tab. Here you can change the text colors.


Xorg X server tries to delete ubuntu-desktop, help!

For anyone wondering, after much digging, I eventually solved this.

it turns out that from version 12.04.02 onward Ubuntu uses newer xserver-xorg versions, which the installation for the graphics driver have not been updated to support.

The solution is to install Ubuntu 12.04.01 (from here) and everything went smooth from there.


Why is there no option to install alongside win7 with the 12.04 LTS CD?

Not sure. But you can boot into the LiveCD, then use gparted to shrink your windows 7 partition, and then reboot into windows 7 to make sure it's clean. Then you can reboot to the LiveCD and install Ubuntu. If windows 7 craps out on you from changing the partition size. You can fix the boot repair process with the free CD downloads from: http://neosmart.net/blog/2009/windows-7-system-repair-discs/ . You may want to download those and have them ready, if you don't have a windows cd.


How to set, permanently, my own directory instead of /home/bin in $PATH in ubuntu?

Add this to the end of your ~/.profile

It checks to see if the directory exists, and if it does, then it adds it to the existing path.

# set PATH so it includes user's private /workspace/myproject/bin if it exists
if [ -d "$HOME/workspace/myproject/bin" ] ; then
    PATH="$HOME/workspace/myproject/bin:$PATH"
fi

then log out, and log back in.


Ubuntu 18.04 does not suspend using physical power button of the computer when screen is locked

I found a superuser answer that applies to your situation:

How to suspend from lockscreen in Gnome 3?

Someone pointed me to the file /etc/systemd/logind.conf. I was able to set parms that allowed the suspend key to work in any situation regardless what the system requests. Here is an example of my settings.

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=lock
#PowerKeyIgnoreInhibited=no
SuspendKeyIgnoreInhibited=yes
#HibernateKeyIgnoreInhibited=no
LidSwitchIgnoreInhibited=yes
#IdleAction=ignore
#IdleActionSec=30min

For some reason a restart was not applying the changes, so I had to run the following command:

sudo systemctl restart systemd-logind


How to change chrome bookmark bar font sizes

There was a bug in Chrome 35 that caused Chrome's UI fonts to be too small for many Linux users.  If you are using that version of Chrome, you should update to the latest.

If that isn't the issue, and the fonts are still too small for your preference, you can change Ubuntu's system fonts, and Chrome will respect your settings (after restarting Chrome).

Taken from this answer:

# check current font
# for me, this returns Ubuntu 11
gsettings get org.gnome.desktop.interface font-name

# set it to something larger
gsettings set org.gnome.desktop.interface font-name 'Ubuntu 14'

If you prefer not to use the command line, you can change these settings using Unity Tweak Tool

Note that this will change more than just Chrome's UI.  As far as I know, there is no way in Chrome's settings (or chrome://flags) to change the font size of the interface.

Before and after, with the default 11 and my change to 13:


You can try the Clonezilla Live CD/DVD/USB: http://clonezilla.org/

Personally, I use FSArchiver, but that's command-line only.


Issues dual booting Ubuntu 14.04 and Windows 8 on Lenovo z50-70

I've heard of this problem a few times before, but it's pretty rare, and I'm not sure of the cause.

My first suggestion is to disable Fast Startup in Windows. Note that this is not the same as "fast boot" or similar options in the firmware. The Windows feature turns shutdowns into suspend-to-disk operations, which results in all mounted filesystems (often including the ESP) being in an unstable state. Attempting to mount and write to these filesystems in Linux can then result in failures of various types.

Another thing you can try is creating a second EFI System Partition (ESP) and using it in Ubuntu in preference to the one that already exists on your disk. You said you can't do this because GParted "isn't loading," but you've provided no details about what's wrong with GParted. If you need help with that, you must post failure details, such as any error messages you see.

A third thing you can try is manually installing another boot loader. You might try my rEFInd on a USB flash drive or CD-R (images for both are available); you can try this without touching your on-disk configuration. If nothing else, that might get your existing Ubuntu install working, which might help you with further diagnostics.


Cannot add languages to Spellcheck in TeXWorks

Have you solved your problem?

Have you installed the required hunspell dictionaries? TeXWorks uses hunspell to access the spelling dictionaries.


Remove unwanted Mount option from Places Menu

you must have using wrong mount command to auto mount the partition. I was facing the similar issue and resolved by using a small utility called : "Storage Device manager".
You can install it from "Ubuntu Software Center". Remove any mount option you have added in the /etc/fstab and use that utility to auto-mount the partitions.

This will Definitely resolve your problem...


SSH need password but i have generated rsa key

You need password to Unlock generated keys. It requires only first time when you want use SSH. Then for a specific session no need to enter password.

(from man pages)

When the user logs in, the ssh program tells the server which key pair it would like to use for authentication. The server checks if this key is permitted, and if so, sends the user (actually the ssh program running on behalf of the user) a challenge, a random number, encrypted by the user's public key. The challenge can only be decrypted using the proper private key. The user's client then decrypts the challenge using the private key, proving that he/she knows the private key but without disclosing it to the server.


Adding a xkill icon in gnome-shell's dock

Create a launcher with the command gnome-desktop-item-edit --create-new ~/Desktop as suggested by @maythux, but just add /usr/bin/xkill as the command.
(Do NOT use gnome-terminal -e).

This creates the launcher on the desktop.

Simply drag it to the dock and remove it from the desktop if you like.


Try this:

Launch "VLC media player".
Go to "Media"
Select "Convert or Save"
Add "corrupt .mov file" to be fixed.
Press "Convert or Save"
Provide the file name for the destination file
Select the desired Codec from the profile list.
Press “Edit Selected Profile” button to check a specified profile settings
You can also select to add a new profile or delete any existing profile
Press "Start"

Or

Create a copy of the "corrupt .mov file"
Rename the copy of .mov file to .avi file
Launch the "VLC media player"
Select "Preferences"
Press "Input or Codecs"
Select "Always Fix next to Repair avi files"
Press "Save"


How to switch from dual boot Ubuntu/windows10 to only Ubuntu

In the video you linked to, right around the 4:46 mark, there is a screen that gives you options for installing ubuntu. The second option, "Erase disk and install Ubuntu" will wipe out your entire disk drive (including whatever data you have in Windows) and install Ubuntu, using the entire drive in the process.

If you don't have any data you want to retrieve from your existing Windows installation, or you have already backed up your data somewhere else, then this is the option to choose if you want to single-boot Ubuntu.

On the other hand, I strongly recommend you hold on to your windows installation by dual-booting, as shown in the video. As a beginner, I'm not sure you have fully explored Ubuntu yet, and may regret removing Windows from your computer for the following reasons:

Although most windows programs have equivalent programs in linux, these are usually not exact replacements. You may find yourself having to use windows specific apps.
Some devices on your computer may or may not be fully supported by Ubuntu, or may require some tinkering to get them to work. For example, it is possible that after installing ubuntu, your network device doesn't automatically connect to the internet upon boot. Unless your have an alternative way to go on-line, you will be caught in a chicken-and-egg situation of needing to go on-line to get help for your connection problems. It is not a pleasant situation to be in.
Even if your present needs are totally supported by Ubuntu, a situation may arise in the future that would require you to use a proprietary Windows-only program. For example, you switch jobs, and your new company requires you to use a Windows-only program.

Note that you can always remove Windows later on, after you have already explored Ubuntu in its entirety.

At the very least, make sure that you have the means to reinstall Windows should the need arises, either by making a back-up of your current Windows installation, or having a Windows installer/recovery disk.


Is there a way to gain superuser access from a Qt app

Simplest way, start your application with sudo application name
or
Quoting from man pkexec

To specify what kind of authorization is needed to execute the program /usr/bin/pk-example-frobnicate as another user, simply write an action definition file like this

           <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE policyconfig PUBLIC
            "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
            "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
           <policyconfig>

             <vendor>Examples for the PolicyKit Project</vendor>
             <vendor_url>http://hal.freedesktop.org/docs/PolicyKit/</vendor_url>

             <action id="org.freedesktop.policykit.example.pkexec.run-frobnicate">
               <description>Run the PolicyKit example program Frobnicate</description>
               <description xml:lang="da">Kør PolicyKit eksemplet Frobnicate</description>
               <message>Authentication is required to run the PolicyKit example program Frobnicate (user=$(user), program=$(program), command_
line=$(command_line))</message>
               <message xml:lang="da">Autorisering er påkrævet for at afvikle PolicyKit eksemplet Frobnicate (user=$(user), program=$(program)
, command_line=$(command_line))</message>
               <icon_name>audio-x-generic</icon_name>
               <defaults>
                 <allow_any>no</allow_any>
                 <allow_inactive>no</allow_inactive>
                 <allow_active>auth_self_keep</allow_active>
               </defaults>
               <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/pk-example-frobnicate</annotate>
             </action>
           </policyconfig>

and drop it in the /usr/share/polkit-1/actions directory under a suitable name (e.g. matching the namespace of the action). Note that in addition to specifying the program, the authentication message, description, icon and defaults can be specified. Note that occurences of the strings $(user), $(program) and $(command_line) in the message will be replaced with respectively the user (of the form "Real Name (username)" or just "username" if there is no real name for the username), the binary to execute (a
       fully-qualified path, e.g. "/usr/bin/pk-example-frobnicate") and the command-line, e.g. "pk-example-frobnicate foo bar". For
       example, for the action defined above, the following authentication dialog will be shown:

       [IMAGE][2]

           +----------------------------------------------------------+
           |                     Authenticate                     [X] |
           +----------------------------------------------------------+
           |                                                          |
           |  [Icon]  Authentication is required to run the PolicyKit |
           |          example program Frobnicate                      |
           |                                                          |
           |          An application is attempting to perform an      |
           |          action that requires privileges. Authentication |
           |          is required to perform this action.             |
           |                                                          |
           |          Password: [__________________________________]  |
           |                                                          |
           | [V] Details:                                             |
           |  Command: /usr/bin/pk-example-frobnicate                 |
           |  Run As:  Super User (root)                              |
           |  Action:  org.fd.pk.example.pkexec.run-frobnicate        |
           |  Vendor:  Examples for the PolicyKit Project             |
           |                                                          |
           |                                  [Cancel] [Authenticate] |
           +----------------------------------------------------------+

If the user is using the da_DK locale, the dialog looks like this:

       [IMAGE][3]

           +----------------------------------------------------------+
           |                     Autorisering                     [X] |
           +----------------------------------------------------------+
           |                                                          |
           |  [Icon]  Autorisering er påkrævet for at afvikle         |
           |          PolicyKit eksemplet Frobnicate                  |
           |                                                          |
           |          Et program forsøger at udføre en handling der   |
           |          kræver privilegier. Autorisering er påkrævet.   |
           |                                                          |
           |          Kodeord: [___________________________________]  |
           |                                                          |
           | [V] Detaljer:                                            |
           |  Bruger:   Super User (root)                             |
           |  Program:  /usr/bin/pk-example-frobnicate                |
           |  Handling: org.fd.pk.example.pkexec.run-frobnicate       |
           |  Vendor:   Examples for the PolicyKit Project            |
           |                                                          |
           |                                [Annullér] [Autorisering] |
           +----------------------------------------------------------+

Note that pkexec does no validation of the ARGUMENTS passed to PROGRAM. In the normal case (where administrator authentication is
       required every time pkexec is used), this is not a problem since if the user is an administrator he might as well just run pkexec
       bash to get root.

However, if an action is used for which the user can retain authorization (or if the user is implicitly authorized), such as with
       pk-example-frobnicate above, this could be a security hole. Therefore, as a rule of thumb, programs for which the default required
       authorization is changed, should never implicitly trust user input (e.g. like any other well-written suid program).


I found that a good "free" solution is to setup a pfsense gateway, installation here, and use aliases to allow all lan connections, but block internet to specific ips, in the lan firewall section as shown here. I also found that setting up an ltsp server, instructions here, will allow blocking the user from signing in as well, by this means. As for the content filter, dansguardian will do with group specific settings shown here.


Program that helps you find the Meta of each key on your keyboard

If understand your idea correctly, then on X11 session, the application is named Event Tester, the xev executable from x11-utils package.
Its output is usually the following:

for left Windows/Super key:
KeyPress event, serial 83, synthetic NO, window 0x6000001,
root 0x134, subw 0x0, time 37174913, (-1,423), root:(0,507),
state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,

for Fn+TouchPad:
KeyPress event, serial 87, synthetic NO, window 0x6000001,
root 0x134, subw 0x0, time 37421164, (712,327), root:(713,411),
state 0x42, keycode 199 (keysym 0x1008ffa9, XF86TouchpadToggle), same_screen YES,

It opens terminal and small window to track mouse/touchpad activity.
Getting the meaning of keyboard shortcuts for selected window manager depends on the window manager.


Windows list (alt+tab) is not centered after disconnecting from external monitor

I find that I need to explicitly disable the external monitor (via Display Settings) before unplugging it. Otherwise, I get problems similar to yours.


Stuck in some kind of test pattern loop after installing NVidia Drivers

I seems to me that the display driver has been set (probably by its self!) to the wrong resolution.

On your next reboot, at the Start up options,

move the mouse cursor down to the Ubuntu Advanced options section of the menu. Click on the second
At the Next Screen, choose the following option:

And finally on the third screen click on the following option:

This should allow you to boot up and adjust your screen resolution.

Hope this helps


You can turn your screen off with the command:

xset dpms force off

Explanation from man xset (shortened excerpt only):

NAME
       xset - user preference utility for X

OPTIONS
       dpms flags...
               The  dpms option allows the DPMS (Energy Star) parameters to be
               set.  The option can take up to three numerical values, or  the
               `force'  flag  followed  by  a  DPMS  state.  The `force' flags
               forces the server to immediately switch to the DPMS state spec‐
               ified.   The  DPMS  state  can  be one of `standby', `suspend',
               `off', or `on'.  When numerical values are given, they set  the
               inactivity  period (in units of seconds) before the three modes
               are activated.  The first value  given  is  for  the  `standby'
               mode,  the  second  is for the `suspend' mode, and the third is
               for the `off' mode.  Setting these  values  implicitly  enables
               the DPMS features.  A value of zero disables a particular mode.


NVIDIA GT430 HDMI/HDTV - No input after selecting Ubuntu from Grub

Install the nvidia-current driver in the TTY (Ctrl+Alt+F1 to F6) , then do sudo nvidia-xconfig and reboot.


How can I converge the touchpad and touchscreen interface?

You need to edit xinput, which interprets the input methods for interaction with applications. Allow it to see both the touchscreen and the mouse via the same abstraction, then configure this abstraction to accept both styles of input.
Then merge the wacom tablet app with the mouse and touchpad app.


The Cloud LED is a single colour LED, your only control is to set the line high or low.


Main DocumentRoot refuse to go and i tried everything

First we want to make sure you have a working website before we can really proceed. Here are some steps I would like you to follow so we can test that.

First go to the /var/www/ folder and rename owncloud to owncloud-test.
Create a new folder called owncloud.
open that folder and create a file called index.html
Open that file and type in it "This is a test" and save it.

Now make sure that the permissions are set correctly on the www folder type the following in terminal:

sudo chown -R www-data:www-data /var/www

Once that is done type

sudo service apache2 restart

Then open a web browser and go to

http://localhost

That should bring up a white page that says "this is a test"

If it doesn't please let me know what errors the page gives you in the browser and check /var/log/apache2/error.log and see if there is errors listed in there.

If it works let me know and I will try to help get owncloud working at that point.

Communication stopped at this point  so I will just consider that it worked and explain how to put the original owncloud back and make sure the owner is proper on the folder so that hopefully owncloud will work.

Go back to the /var/www folder .. delete the owncloud folder we just created.
Rename the owncloud-test folder back to owncloud.
Run sudo chown -R www-data:www-data /var/www again just to make sure the owner didn't get changed when you renamed or changed anything.

And now you should be good to go .. when you go to http://localhost it should launch with the owncloud login screen. You should be able to access it though any computer connected to your network by your computers local IP address such as... if your computers local address on your network is 192.168.0.20 then any other computer on your network could access owncloud by using http://192.168.0.20 If you want it accessible from the net you will have to open the proper ports in your router which I won't go into here


Finding all .cpp files in the users home directory

find can select files on various time conditions:

find ~ -type f -name '*.cpp' -mmin -5 -ls

The command lists the files

in the directory ~ and it's subdirectories; There can be multiple directories.
of type f: plain file, so a directory like ./foo.cpp is not found (it is of type d)
matching the shell glob expression '*.cpp' - which needs to be quoted, so the shell does not expand it before find it even sees.
which have a modification time (-m...) up to (-) 5 minutes (-...min) ago.
and shows the details similar to a ls -l

-mmin selects by modification time in minutes,
-mtime would select by modification time in days.

-mmin -5 selects files changed in the last 5 minutes,
-mmin 5 selects for changed 5 minutes ago,
-mmin +5 for more than 5 minutes

-newer otherfile compares to the age of another file

-iname '*.cpp' would also match foo.CPP and bar.cPp

-ls shows file details like modification time. To get only filenames, leave it out.

That's a short summary, there are many more useful options - see man find.


openstack: conifgure vm with static ip on eth1

Its difficult to answer without more information.
As your on the same network, I don't expect firewall rules to be an issue.

Are you using neutron or nova.
Can you check all the neutron services are running ok?

neutron agent-list

It maybe worthwhile enabling dhcp, so that you can at least verify if the network is functioning.

Also are the VMs co-located on the same physical hypervisor, or are they spread across two.  If they are spread across two, then are you using VLANs and have you configured your switch to support it ?

Its worth pointing out that statically configuring IPs, not reserved by Openstack worked prior to Icehouse, but changes in that release maybe causing you problems.

On the compute node hosting one of the VMs if you run

iptables -S | more

Search the output for your VMs MAC address e.g. mine is 'FA:16:3E:D0:1A:5D'

You will se some output like this:

-A neutron-openvswi-see719639-9 -s 192.168.0.83/32 -m mac --mac-source FA:16:3E:BB:75:7E -j RETURN
-A neutron-openvswi-see719639-9 -j DROP

This means it will only accept packets to that MAC address destined for 192.168.0 .83/32.


I opened a bug ticket on this here: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1366854 might wanna say you have the same problem.


How to upgrade ubuntu 14.04 to 16.04 offline

The easiest way is to download from the official page

http://www.ubuntu.com/download

the last version and install it to your devices, one-by-one.

Installation does not need internet connection. Once you download the last version, you can install offline on your machines. (But better to connect them, before or later, to update the system.)

Here's how you create a bootable USB in linux http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu


There are two ways to do this.

1:

Download the files and double-click them in your file manager. This should open the Ubuntu Software Center, where you can install them.

The quicker way (2:)

Download the files and install a program called gdebi. sudo apt-get install gdebi. Gdebi will handle dependencies for you. Then, run gdebi on the files from the terminal with sudo gdebi ./FILE.

You could also try your luck with just using sudo dpkg -i ./File, but that won't automatically resolve dependencies for you.


Ubuntu Server (14.04 LTS) System-Wide Socks5 Auth Proxy

Install proxychains with sudo apt-get install proxychains

And add the configuration for your current user:

mkdir ~/.proxychains  # create this dir if not exists

cat >> ~/.proxychains/proxychains.conf <<EOF
strict_chain
proxy_dns
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
localnet 127.0.0.0/255.0.0.0
quiet_mode

[ProxyList]
socks5  127.0.0.1 1080    # proxy server
EOF

Now test it with: proxychains4 curl http://www.askubuntu.com/


How do I install an app on a device running ubuntu touch?

You can use Qt Creator: Connect your Ubuntu Touch Device through usb open your project and simply press Ctrl+F12.

This works only if you have once installed ssh-server on the device.

Alternatively you can do it manually. Copy the necessary files (*.qml and *.desktop) to the device and start the application via ssh

qmlscene --desktop_file_hint=/usr/share/applications/qmlscene.desktop YourApp.qml

Source


New to Ubuntu: Have "old" MSI netbook with XP. Will Ubuntu work?

Yeah. If XP works reasonably, you are going to have awesome experience with Ubuntu. 2GB is totally enough! Most likely your laptop is going to gain another life if you install Ubuntu 12.04 on it. So go ahead and give it a try!


Install and launch the CompizConfig Settings Manager
Select the Ubuntu Unity Plugin
Set the Hide Launcher option to 'Never'


What is the correct driver for an nVidia GeForce ION 1300 LE on a Lubuntu 16.04 system?

"correct" is the wrong word here.

Simplest answer: The one that works.

I myself would start with the open source driver. If that does what you need from your machine use that. Pick the 3rd party one if the open source shows problems (like glitches or crashes). The 3rd party one is more likely to be better when you want to game on Ubuntu.

The only real difference is the fact that the 3rd party are binaries (ie. they "taint" your kernel).  So you can not check what is inside it. For all we know there could be bugs, backdoors, and for the really paranoid a backdoor by the NSA.

So it is not a matter of "correct" but more of you being being able to know what is installed on your machine than anything else. If that is a priority for you then pick the open source no matter what.

  Should I use any of the drivers listed in the software center in the photo, or should I be downloading and installing from another place?

That is your choice. I would avoid it if it is not needed: if 1 of the listed drivers work why look elsewhere? Installing from other locations than software&updates has its risks. You need to know a bit more about your system, linux/Ubuntu than I consider average.

  Should I be changing anything at all? (I'm worried about things like the screen suddenly going blank, the resolution never being able to fix itself... it's my kind of luck!)

Make sure you know what to do in case of problems. Video card drivers you can fix by using a live dvd or a rescue prompt from grub. Lots of people have re-installed their system due to a problem with a 3rd party driver where reverting the driver is probably easy.  Experience is what you need here :)

See Graphics issues after/while installing Ubuntu 16.04/16.10 with NVIDIA graphics for a good check list.

  my GPU is 10-15c warmer in Lubuntu than in Windows XP, I'm wondering if switching drivers would help, and how I should do it.

That might be a solution yes and a good reason to try out the proprietary driver.

Do check though if the fans are working and if installing a software for manipulating fans is an option too. Ubuntu 16.04, how to get my GPU temp and fan speed? has some good pointers on this.


I'd like to edit the window style for gVim is that possible?

Well the only way I know of is to edit the themes on gnome.  The easiest way to do that is install gnome-tweak-tool in apt, then install elegance theme editor (this allows you to completely modify the shell color)

sudo add-apt-repository ppa:satyajit-happy/themes
sudo apt-get update && sudo apt-get install gnome-shell-theme-elegance-colors

to use this you will have to install user themes gnome extension. You will be propted with the install link upon making any changes in elegance.

Next would be to either google gnome themes maybe use the theme name that you are using in vim.  Or look at gnome-look.org.

Also in your ~/.vimrc file you can make changes to gVim.  I prefer to remove the side scrollbars and the icon menu

set guioptions-=T  "remove toolbar
set guioptions-=r  "remove right-hand scroll bar
set guioptions-=L  "remove left-hand scroll bar