I've done some research myself, and it appears that this error is due to Android NDK support being disabled. Re-enabling NDK support fixed this issue for me.

To re-enable Android NDK support, go to Settings > Plugins and enable the Android NDK Support and NDK WorkspaceManager Support plugins.


Your initrd.img-4.15.0-96-generic file is corrupt. And you can see that the file size is quite different from the -48 and -91 versions.

-rw-r--r--  1 root root 55577646 Aug 28  2019 initrd.img-4.15.0-48-generic
-rw-r--r--  1 root root 56163066 Mar 18 06:25 initrd.img-4.15.0-91-generic
-rw-r--r--  1 root root 12625827 Apr  7 12:28 initrd.img-4.15.0-96-generic

To fix:

In terminal...

sudo update-initramfs -c -k 4.15.0-96-generic

Then do...

ls -al /boot/initrd*

And compare file sizes. They should be close. If they are, try and reboot to the -96 kernel, and it should boot.


Ok, I believe I understand what was happening.

The problem is that I was using a display tied to a VNC server (TurboVNC), since the machine is a headless server. I was able to get a VNC server with modern OpenGL enabled by using VirtualGL.

TurboVNC: https://www.turbovnc.org/ (I guess any VNC server would work)
VirtualGL: https://virtualgl.org/About/Introduction


Thank you so much. I followed your instructions to the letter, however it seems that Apple runs a non-standard EFI system, and this was causing issues with the installer.
However if anyone else has this issue and wants to know the solution that worked for me as follows...
I created a 2mb 'bios-grub' partition at the beginning of the disk, re-ran the installer, and it exited with the same grub-fatal error as mentioned before. However I then downloaded boot-disk repair, went to Advanced Settings and selected install a legacy version of grub. Followed the instructions from the boot-disk repair app (copy and pasted commands into the terminal) this then installed a legacy version of grub. I rebooted the system and to my joy, grub loaded and booted to the Lubuntu desktop. I presume it is running a bios version rather than standard EFI version that causes issues with Apple's non-standard efi.


NOTE: you must do these command as root

You have to create the folder that you have to be authenticated. Since the default location in apache is /var/www/ then create your folder there. You will do this by using the mkdir command.

 mkdir /var/www/html/testfolder

Add the .htaccess & .htpasswd files to the personal folder.

 cd /var/www/testfolder
 gedit .htaccess

Add thos commands to the .htaccess

AuthUserFile /var/www/testfolder/.htpasswd
AuthGroupFile /www.null
AuthName "Authorization Required"
AuthType Basic
require user USER_NAME

Change "test folder" to the name of your folder and change "USER_NAME" to the user name you wish to use.

Now create the .htpasswd file. We want to run htpasswd on the path of the folder we want to protect.

 htpasswd -c /var/www/html/testfolder/.htpasswd USER_NAME

You should see something like this:

 New password:
 Re-type new password:
Adding password for user USER_NAME

you have to edit the apache httpd.conf (on some systems called the apache2.conf) file.

 gedit /etc/apache2/httpd.conf

add the following .

#FOR MY TEST FOLDER
 <Directory "/var/www/html/testfolder">
 AllowOverride AuthConfig
 </Directory>

Now restart apache

  service apache2 restart


Apache2-bin can't install, lubuntu must be ugraded to 2.4.29-1ubuntu4.5?

Your sources.list is problematic, it refers to xenial repos although you have a bionic install. Here is a sample bionic sources.list. I don't enable the source code repos and your country may vary as well. I removed all the comments.

deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse


As you are still "noob", I strongly recommend you to remain, for now, on the rock solid long term release edition, Ubuntu 20.04. This way, you will be able to remain on very stable ground while you are getting more familiar with Ubuntu. Functionally, differences between the 20.04 and 20.10 release are small, and not really worth the upgrade.
Upgrading between Ubuntu releases works good in a majority releases, but not uncommonly, small issues arise, the so called "upgrade pain". It is by far better to go to a new Ubuntu version through a fresh install, although that requires putting your data back and reconfiguring your system. Staying at 20.04, which is fully supported with bug and security patches for another five years, avoids both hassles.
If you do the upgrade, you will be required to upgrade every nine months or so. Interim versions have only a short support period. Staying on 20.04 will leave you at ease for up to five years with a system that is more stable and more error free than the interim releases.
If using newer application software is your concern, do not worry. You can do that safely on 20.04 as well. The browsers, Firefox and Chromium, are always updated to the latest versions on any supported release. Snap software, i.e., software distributed in a way that is less dependent on the specific linux version, gives you, out of the box, the ability to run newer versions of software on your trusted LTS operating system. (Somewhat) more experienced users can add newer versions through third party PPA's.
In summary, there are not much reasons to upgrade from the LTS release 20.04 to 20.10, especially if you are just a "user", and especially also if you are rather new to linux.


Is there any way to make a live CD from my current installation?

Relinux is a fork of Remastersys that seems to be actively developed.


It can be toggled in Mozc Tool -> Configuration Tool -> Input Method. Set the method to Romaji and the latin characters will automatically transform into Kana, and ultimately, Kanji. Case closed.


I had the same issue on a Lenovo W530 Laptop and fixed the issue using the following command

sudo apt-get remove nvidia-current.

But this can only be a temporary solution.


I've had a number of BioStar motherboards with Linux installed on them and never experienced any problems.  Also, I very rarely use proprietary drivers from motherboard manufactures on Ubuntu.

I have on rare occasions had motherboards that were shipped defective and received either a refund or replacement.

Checking the Biostar N3150NH specs it is using the Intel HD Graphics, of which Ubuntu Supports.  I have the same Graphics in my Gigabyte Brix and don't experience any problems.  I also used the Additional Drivers update to check for optimization.  I didn't notice any difference between the default installed drivers and the alternate proprietary drivers.  I wasn't experiencing any problems, I just checked out of curiosity for testing.


Can't boot Wubi after upgrading to 14.04 from 12.04: "Target filesystem doesn't have requested /sbin/init"

From https://answers.launchpad.net/ubuntu/+question/247265

  Steven, I've found a solution that works, that is, if you haven't
  tried to reinstall yet:

  If you can find your boot commands, find the line that says:

  linux /boot/vmlinuz-3.13.0-24-generic root=UUID=D014E45... etc...

  Change "ro rootflags= sync" to "rw rootflags=sync"

  That's it. Just that one character. Nothing else. Worked for me,
  hopefully it does the same for you. Here's hoping.

and

  Daniel - thanks for posting that solution, my dad's laptop was
  suffering from this, and I managed to get a remote session on it and
  repair it for him thanks to your post. He's very pleased :)

  For what it's worth, I also updated the grub regeneration files in
  /etc/grub.d/10_linux to ensure that it remains set to "rw" after a
  kernel update. Just replace this line:

    linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}

  with

    linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} rw ${args}

  In summary, to recover, I did (from memory):

  boot from xubuntu cd (Try ubuntu without installing)
  open terminal, locate root volume on the windows drive, mount it
  with:

sudo -i

mkdir /mnt/recovery

mount -o loop /media/xubuntu/Data/ubuntu/disks/root.disk /mnt/recovery

apt-get install vim

vim /mnt/recovery/boot/grub/grub.cfg  # set "ro" flags to "rw" as per Daniel's comment (#8 above)

vim /mnt/recovery/etc/grub.d/10_linux  # change "ro" to "rw" as above

reboot


Can I convert a live Ubuntu USB to one with persistent memory?

Changing Live Pendrive to Persistent Pendrive

This works both with BIOS and UEFI.

Many people prefer a Persistent Pendrive that will save changes;

Create a Live Pendrive using Rufus or similar;
Boot the pendrive toram to make the drive editable:

Press Shift when booting; press Esc from Language; press F6; press Esc;

Type a Space and toram after quiet splash ---, and press Enter.
Create a casper-rw file:

sudo dd if=/dev/zero of=casper-rw bs=1M count=512

sudo mkfs.ext3 -L casper-rw -F casper-rw

(where count=512 is the persistence size in megabytes, with a max of 4GB).

Move the new casper-rw file from home to the root of the Live Pendrive;
Add a Space and persistent after quiet splash --- in the following files:

/isolinux/txt.cfg, (for BIOS boot persistence Rufus);

/syslinux.cfg, (for BIOS boot persistence UNetbootin);

/boot/grub/grub.cfg, (for UEFI boot persistence).
Shut down and reboot the persistent drive.

It's also possible to turn a Live USB into a Full-Install USB which has some advantages, except it won't install Ubuntu: Can Ubuntu be installed to the pendrive it was booted from?


Is Ubuntu 14.04 using some old Gnome libraries for WPS Office?

Try to install this dependencies:

sudo apt-get install libcanberra-gtk-module:i386 gtk2-engines-murrine:i386

  Daniel Renninghoff (renninghoff) wrote on 2012-05-09:
  Better description of the bug: QGtkStyle tries to find the current gtk theme
  but is not able to do so and falls back to clearlooks. This applies to
  all 32bit Qt applications on a 64bit system. I believe QGtkStyle uses
  libgnomeui to find the correct GTK Style but is not able to do that
  because the lib is only available in 64bit form. Trying to install the
  i386 version will replace the 64bit version. The other problem is that
  QGtkStyle also expects the GTK Theme Engine to be in 32bit, so you
  have to install gtk2-engines-murrine:i386 for the default
  light-themes.
  https://bugs.launchpad.net/ubuntu/+source/skype/+bug/863218


Any open source data analysis software around?

I reccomend R for data analysis and visualization.

  R is an open source programming
  language and software environment for
  statistical computing and graphics. It
  is an implementation of the S
  programming language combined with
  lexical scoping semantics inspired by
  Scheme. R was created by Ross Ihaka
  and Robert Gentleman and is now
  developed by the R Development Core
  Team. It is easily extended through a
  packaging system on CRAN. Further
  information on R can be found on the
  project website www.r-project.org

Have a look at these links =

http://www.r-project.org/

https://stackoverflow.com/questions/tagged/r

https://stat.ethz.ch/pipermail/r-help/


I cannot install any application anymore

You should reinstall it, otherwise it won't get removed:

sudo apt-get --reinstall install ttf-mscorefonts-installer
sudo apt-get install -f

That should solve your issue.


Unable to install new software or update the OS and sudo apt-get -f install fails

Can you try this:

sudo apt autoremove

sudo apt-get autoclean

sudo apt-get upgrade -f

Then:

sudo dpkg --configure -a

sudo apt-get -f install

Hope it helps, greetings. :=)


How to monitor if a network connection is stable during the day

Use icpld from http://icpld.northernmost.org

ICPLD is a connection monitor which allows you to keep track of your network connection perfomance. It will log each occasion of broken networking. It runs as a background process, and sends ICMP requests to an ip of your choice. When a reply isn't received within proper amount of time, it will consider the connection as unavailable and put a stamp in its log.


How to share a wireless connection through ethernet with fixed ip addresses?

I've managed so far, but I don't know if that's the ideal solution. Anyhow, it might be useful enough for someone else:

I created a wired internet-share connection (click on the network icon on the top left corner of the screen -> edit connections... -> Wired tab -> Add -> IPv4 settings -> Method -> Shared to other computers; also made sure that the box "Available to all users" in the same window was checked). Once I connected to this connection, I checked my ipaddress (10.42.0.1) and netmask (255.255.255.0) with ifconfig. Finally, I set the static ip address of the raspberry pi to be the one I had with the shared connection +1 (= 10.42.0.2) and set the gateway to the address of the laptop (10.42.0.1), ending up with the following contents in the /etc/network/interfaces on the raspberry pi:

auto lo

iface lo inet loopback

#iface eth0 inet dhcp

iface eth0 inet static
address 10.42.0.2
netmask 255.255.255.0
gateway 10.42.0.1

So far, this is working.


Expanding a virtual disk Ubuntu 64-bit on Vmware does not work

You need to increase the partition. Resizing the virtual disk, just changes how big partitions can be. You can't resize an active filesystem so the easiest way to do this is:

Boot the VM to a LiveCD ISO of Ubuntu (what you installed from should do but a later/earlier ISO will work too)
When asked click Try Ubuntu
Load gparted aka Gnome Partition Editor. I think it's installed on every CD but you might have to grab it from the Software Centre.
Find your disk, right click it and go through the resize wizard.
Restart the VM without the LiveCD and you should have more free space.


How to repair Chrome 75 video playback with freezes and crashes?

In my case, the Laine gnome-shell extension was causing all the problems.
when I turned the Laine extension off both google-chrome and chromium versions 75 (newest updates) worked again.
Both video and audio playback ran normally again.
It may be an MPRIS or pulseaudio, or other gnome-shell media extension interaction with chrome or chromium 75.
this link may have further answers.
https://bugs.chromium.org/p/chromium/issues/detail?id=983203#c24
see also
https://chromium-review.googlesource.com/c/chromium/src/+/1715233

Re: Laine | Laine extension breaks video and audio playback in google chrome and chromium versions 75 and newer! (#52)
Inbox
x
Updates
x

Tommy Steimel  Unsubscribe
Tue, Jul 23, 3:10 PM (20 hours ago)
to me

Tommy Steimel commented:

Chrome 75 doesn't correctly follow the spec for the xesam:artist attribute. It's supposed to be a list of strings, but Chrome just returns a string. I have a fix out for that here: crrev.com/c/1715233. Some MPRIS clients gracefully handle that case though, so it may be worth updating Laine to not break when given just a string. Thanks!


Ubuntu 13.04 icons look weird, please help

Install Unity-tweak-tool by -

sudo apt-get install unity-tweak-tool

open it , you will see that the selected icon pack is locolor , locolor is like that by default there is nothing missing as shown below-

now choose icon pack Ubuntu-mono light as shown below -

It will be fine now.


ShopGlider Deals has taken over my Chrome Browser in Ubuntu 14.04 HOW DO I REMOVE IT?

Please refer to this post for a short guide on removing malware. In addition to what answers were posted in that thread I would recommend that you do a full reset on all of your browsers just to be safe.

Also, I found this thread on linux.org that discusses different anti-virus software so you could choose the most suitable one to install for yourself. I personally installed COMODO Antivirus a few weeks ago and I currently haven't had any negative experiences with it.

Note that with some anti-virus software you will have to manually enable detection of PUP's (Potentially Unwanted Programs). This will greater the chances of the AV software detecting something like you are describing.

Hope this has helped :)


is it safe to use ubuntu 12.04 on modern laptop?

I can answer using as reference 3 HP Laptops and 1 Toshiba. 2 of the HP laptops have an Nvidia video card, the other HP and Toshiba have both an Intel card. This is what I have gathered from the past year and half (Since Ubuntu 10.04 up to 12.04):

Nvidia video cards (Using proprietary or open source drivers) create less heat and have less temperature than using them on the same hardware with Windows. In this case Windows 7. Of course the temperature I am talking about is not something like 72 Degrees Celsius. My tests are in Windows around 40-42 Degrees while in Ubuntu they are around 33 Degrees. Almost 10 degrees less. When playing the same game they go in Windows up to 49-51 while on Windows they go to 39-41. Not only this but in the case of the Nvidia 9800 that a friend has, he told me that Ubuntu tok care of the Video card so good that it never passed the 60 Degree limit he was afraid of. On Windows the video card was around 55 without doing nothing. 70 easy while playing. On Ubuntu it was 38. 50-56 while playing. He even bought 3 fans to cool down the video card. Does not need them anymore.
Intel Video cards run great and are the same thing on Windows than Ubuntu.
Hard drives LAST LONGER. This is something not much limited to Laptops. This tests have only been with HDD not with SSD. But I have tested around 30-40 hard drives in the ranges from 250GB up to 3TB. From Western Digital, Hitachi to Samsung and Seagate (Before the WD merge). Hard drives that have started to have problems have somehow being brought back to life in Ubuntu. Other hard drives that made a screech sound when rebooting do not make it when loading on Ubuntu. And the life span of Hard drives is about 2 years longer. I can vouch for this at least for a test I did buying 4 HDD Samsung Spinpoint F3 of 1TB each. 2 were used in Windows. 2 in Ubuntu. Guess which ones started dying out. Yeap, the Windows ones. They started developing a huge amount of bad sectors and not only that but one of them started making strange noises when booting or rebooting. After a couple of weeks of this, it died. The other one that was on Windows I moved it to Ubuntu and I am using it as backup right now. This was around May 2011. Basically a year ago and it is still working.
Hard Drives are faster. Tested this with a Samsung Spinpoint F3 and a 3TB Seagate. using Windows 7 versus Ubuntu 12.04 I could see (Not just a burst/cache but an actual stable speed) that on Windows 7 I was gettings around 50-60MB/s speed in all HDDs. In Ubuntu I got 90MB/s with the Spinpoints and 140MB with the 3TB Seagate. It was really taking advantage of the Sata and the technology around the HDD.
Hard Drives are better monitored. Have you tried Disk Utility. If I were a robot man (50% there already), my wife would be that utility. It has a very good way of monitoring the HDD and notifying you when they have a problem.
Battery Life - This was a problem for a long time in Linux. It was solved in the 3.3 version of the Kernel. I am guessing you would ask: But 12.04 is using the 3.2 version not the 3.3. you are correct but many features of the 3.3 were backported. This was one. Others like performance enhancements and video enhancements for Intel were also backported. So you have a 12.04 that has a very good battery life again.
Battery Recovery - If the following has happened to you, you can fix it with Ubuntu. Already tested on 3 laptops. If you have a battery that Ubuntu says has less Watts than it should you can discharge the battery until it is completely depleted. you can do this effectively with Ubuntu. Somehow it correctly makes sure the battery is 100% dead. Leave it charging for several hours (12 minimum) and then started up with Ubuntu. You will see an increase of at least 100%. Some cases like the HP DV6000 I have went from 88W power to 114W. I tested this and the laptop which never ever lasted for me over 2 hours (When new) lasted almost 3 hours. The good thing about Ubuntu is that it tells you have charge the battery is and how long it will really last after doing this "Battery reset". It does a beautiful job and analysing the battery, battery usage, power usage, etc..

you can get the idea after reading all of this that using Ubuntu or any other Linux OS for that matter should make your laptop last several months/years longer. Got an additional case of a cousin in Aruba that has an Acer REALLYY old model that was having problems with Windows XP and the battery, wifi and video. I install Ubuntu on the laptop. It is still working today. Guess what version of Ubuntu I installed.. 6.10. Almost 6 years ago his laptop was going to die.

In the end you can test both of them on the same hardware I see it for yourself. You can come to this question in a year or two to give your thoughts about how it all went.


In this case, where the build is configured by automake, you need V=1 not VERBOSE=1:
$ make V=1 login
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -I../libmisc -DLOCALEDIR=\"/usr/share/locale\"   -g -O2 -MT login.o -MD -MP -MF .deps/login.Tpo -c -o login.o login.c
login.c: In function ‘alarm_handler’:
login.c:424:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  424 |  write (STDERR_FILENO, tmsg, strlen (tmsg));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/login.Tpo .deps/login.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -I../libmisc -DLOCALEDIR=\"/usr/share/locale\"   -g -O2 -MT login_nopam.o -MD -MP -MF .deps/login_nopam.Tpo -c -o login_nopam.o login_nopam.c
login_nopam.c: In function ‘netgroup_match’:
login_nopam.c:198:3: warning: ignoring return value of ‘getdomainname’, declared with attribute warn_unused_result [-Wunused-result]
  198 |   getdomainname (domain, MAXHOSTNAMELEN);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/login_nopam.Tpo .deps/login_nopam.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o login login.o login_nopam.o  ../libmisc/libmisc.a ../lib/libshadow.la    -lcrypt
libtool: link: gcc -g -O2 -o login login.o login_nopam.o  ../libmisc/libmisc.a ../lib/.libs/libshadow.a -lcrypt

To build the whole package, change to the src directory's parent directory and run
./configure
make

See also:

How Automake can help in silencing make


Help! I’m afraid to fully set up Ubuntu because of this problem!

It looks like your jump drive is on /dev/sdb. If you can confirm that that's true, then making changes to partitions on your /dev/sdb won't effect /dev/sda (which presumably must be your Windows drive if /dev/sdb is your jump drive).

Unmounting partitions, even your Windows partition, won't effect any of the data on that partition. However be careful not to delete or reformat partitions on your Windows drive.

All that said, the images you linked to all show that operations will be done on /dev/sdb (which, if that's your jump drive, is what you want)

I think it's safe to continue. I would advise you to make sure you have backups before you do though. I would advise you to make backups even if you weren't having any issues installing Ubuntu and even if you weren't trying to install anything at all.


How to install Ubuntu on 'C' partition without affecting D?

You may consider:

Use a virtual machine (VM). Options are: VMware Workstation Player (https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0), and VirtualBox (https://www.virtualbox.org/wiki/Downloads). Upon installation of one of those virtual machine software, you should be able to create a virtual machine, then create its virtual hard drive as a file on your C drive. If you are not satisfied with your virtual machine and want to delete it, you can safely delete the virtual machine's home folder on your physical hard drive.
For Windows 7 or lower, use "wubi" (See this for details: https://wiki.ubuntu.com/WubiGuide). This tool comes with an official Ubuntu installation image. You can run "wubi" in your Windows from the image. It creates a virtual hard drive which you can choose its location and size. It also adds an Ubuntu item into your Windows boot manager.
If you want to install an independent installation of Ubuntu - not recommended if you are new to Linux, you CANNOT install it in any existing Windows partitions (C:, D:, or whatever visible in Windows) because Linux and Windows should use different file systems by default to ensure normal operation (ext4 and NTFS respectively). In this way you have to shrink one of your current partitions, and create an ext4 partition for Ubuntu (probably a Linux swap partition too).


EDIT:

It should be save to use it as a storage. But you can simply format it to a filesystem you like.

The program you have the screenshot of should be able to do this. Otherwise download gparted or use the command line with something like mkfs.ext4 /dev/sdb

You probably need root because it is not mounted correctly


Patch has been merged into Wine:
https://source.winehq.org/git/wine.git/commit/0a366f7e4a68c9375b54ace5289989bd81b65d22
__
There's a patch ( https://bugs.winehq.org/show_bug.cgi?id=50362 ) but it hasn't been merged into WINE project yet and you have to compile it yourself.
I did so with wine-tkg (fork) and it works!
You can get it here:
https://github.com/kajlando/


Moving a LAMP set up from 32 bit to 64 bit

You can generally transfer settings in ASCII files (most stuff under /etc, PHP/Source code and such), as it not inherently dependent on the Instruction Set Architecture (ISA).

Databases are a wholly different thing, however. They usually pack things in machine-dependent ways in order to optimize things. So your 'raw' db-files cannot likely be moved freely, though you may get lucky (I don't know about MySQL in particular). You can, however, do a dump of your database into SQL statements, thus transforming it into ACSII data, which is ISA-neutral.


How can I improve my boot time? (bootchart and dmesg output included)

I don't know what boot time you are expecting, and how long it used to take on this machine. I think the ureadahead part is quite long, but I'm not sure, as I use SSDs for years now...

Anyway, you can have a look at the post http://ubuntuforums.org/showthread.php?t=1434502 which explains ureadahead.

From this post, you can try the following:

trigger ureadahead reprofile

sudo rm /var/lib/ureadahead/*.pack

then reboot once to reprofile, and once again to see the result.
remove ureadahead and see if things get better (they will most probably get worse, but who knows ?)

sudo mv /etc/init/ureadahead.conf /etc/init/ureadahead.disable

then reboot and see if things are better. To reactivate ureadhead, rename /etc/init/ureadahead.disable back to /etc/init/ureadahead.conf

Does it help ?


/etc/apt/apt.conf gets cleared every time I change proxy settings under settings->network->Network proxy

You could put the proxy configuration in /etc/apt/apt.conf.d/70proxy.conf, create this file and put your proxy config in there.

Acquire::http::Proxy "http://whatever:port";

Then when you get home, you can just rename that file. Note that only files ending in .conf (or files with no extension) will be considered by apt, so you can potentially just rename it to /etc/apt/apt.conf.d/70proxy.disabled and it will not be considered.

You can then automate it with stuff like this, you can create a .bash_aliases file in your home directory and put this in it:

export APT_PROXY_BASE=/etc/apt/apt.conf.d/70proxy
alias enable-proxy="[ -f ${APT_PROXY_BASE}.disabled ] && sudo mv ${APT_PROXY_BASE}.disabled ${APT_PROXY_BASE}.conf"
alias disable-proxy="[ -f ${APT_PROXY_BASE}.conf ] && sudo mv ${APT_PROXY_BASE}.conf ${APT_PROXY_BASE}.disabled"

To enable the proxy, just issue

enable-proxy

and to disable:

disable-proxy

Beware, I didn't test it :) it's just meant to get you on the right track.


Just upgraded to the latest kernel version and the desktop stops responding

I've had an issue similar to this and I fixed it by connecting to the internet and then pressing Ctrl+Alt+F1 and typing the following:

sudo apt-get install ppa-purge
sudo ppa-purge ppa:unity-team/staging
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity


VLC pixelates a 1080p video on my laptop

I discovered on OMG Ubuntu that VLC 2.0 had been completed.  After installing it, I watched a full twenty minutes of the same video I was having problems with and I haven't run into a single hick-up.

How to Install VLC 2.0


Install Ubuntu straight to disk without creating a Live USB

Install Ubuntu to SSD from a Pre-built Image File.

Download Image File: from
https://phillw.net/isos/linux-tools/uefi-n-bios/dd_unb_ubuntu-20.04_15GB_2020-06-26.img.xz

Link to MD5SUM's: https://phillw.net/isos/linux-tools/uefi-n-bios/md5sum.txt.asc

Download Rufus: https://github.com/pbatard/rufus/releases/download/v3.11/rufus-3.11.exe. (Etcher may also be used to flash the image: https://www.balena.io/etcher/)

Double click Rufus .exe file.

Select SSD as Target "Device" in Rufus.

Select Ubuntu Image File as "Boot selection" in Rufus.

Click Rufus start button.

Wait for flashing to complete... Done.

Password is "changeme", change it once logged in.

If booted in same mode as Windows, running sudo update-grub will add Windows to the SSD's boot menu.

The USB drive should boot on almost any modern X86-64 computer, either Legacy mode or UEFI mode.

Thanks to sudodus, creator of mkusb, for the image file.
In Windows it may be necessary to install 7Zip before proceeding. Rufus and Etcher will use it when working with the .xz image: https://www.7-zip.org/a/7z1900-x64.exe


Deja Dup restore lost last modified dates of files

I managed to solve the issue by using the related command line utility behind Deja Dup: duplicity.

I tried with duplicity 0.7.18 (the one provided in the official repos), tried different protocols, but still encountered the bug.

I finally installed a snap of duplicity 0.8.07 and it worked with the command

snap run duplicity restore --ssh-askpass --no-encryption --numeric-owner -t my-time-stamp sftp://my.login@my.location .


Isn't it counterproductive to have systemd, upstart and init.d all running at the same time in a system?

… so either systemd is backwards compatible or all of them are running at once. This is why I find it confusing.

The root of your confusion is that conclusion.  It's wrong.  The existence of directories in your filesystem does not imply that the subsystems associated with those directories are running.  In fact, they do not all run simultaneously.  One only has to see the boot-time menu choice between upstart and systemd to understand that only one of these is active for any given run of the system.

Indeed, "init.d" isn't a subsystem.  It's a subdirectory.  The subsystem would be System 5 rc, a subsystem which hasn't been the default on Ubuntu Linux for nigh on a decade, at the time of writing this.  Both upstart and systemd can read System 5 rc's files and symbolic links.  (In systemd's case, for example, it translates those files and symbolic links on the fly, repeatedly, into its own native mechanisms.)  But that does not mean that System 5 rc is running when either upstart or systemd are.  It most definitely is not.

Your title question assuming those falsehoods as its premises is thus unanswerable.


killing org.bluez process through sudo kill <org.bluez PID>,

then I wrote

rfkill block bluetooth
sudo service bluetooth stop
sudo rfkill unblock bluetooth

Bluetooth have been swithed off and then on after typing these commands, and my headphones appeared in devices list. Thanks to that answer


Having issues installing graphics drivers for Nvidia GeForce GTX 460 on Ubuntu 12.10

Most people I have spoken to have had better luck installing the proprietary driver from nvidia. It's available at http://www.geforce.com/drivers I had to do it for my ION series card because the nouveau driver had no HDMI audio support for my card.


How to play a sound when laptop gets unplugged?

As explained in this answer, you have to:

cd into your home folder and create the directory .local/share/sounds:

cd && mkdir -p .local/share/sounds

cd into the newly created directory:

cd .local/share/sounds

place the desired sound inside the directory, renaming it as power-unplug.wav (for example in this way):

ln -s /usr/share/sounds/alsa/Noise.wav power-unplug.wav

test the event with:

canberra-gtk-play -i power-unplug

I suppose that, at this point, you have to logout and log back in to have the event work properly. Try it and see if it works. You can find more events and sound names here.


You can do this :

sudo ntfsfix /dev/sdXY

(where X is the drive letter and Y is the partition number)
on an NTFS partition. It will do its magic and leave you with a mountable NTFS drive.

Example:

sudo ntfsfix /dev/sda5


how to delete grub in dual boot of windows 8 and ubuntu

Boot into windows and create a bootable ubuntu usbdrive through unetbootin.
Then Change UEFI mode to legacy mode in bios and boot from ubuntu live usb.
During the installation process of ubuntu select Something Else option.Now you can install ubuntu in a partition you want.After the installation process completed,your grub will be reinstalled.
Now you can see both windows and ubuntu options on the grub menu.If the windows option was not displayed,then boot into ubuntu and run sudo update-grub command on terminal.


How to restore Windows 7 MBR without a CD

install Ubuntu LiveCD on your pendrive, boot from your pendrive, open terminal and type:

sudo apt-get install mbr
sudo install-mbr -i n -p D -t 0 /dev/sda

Replace /dev/sda with the name of your drive.

What parameters do (from man page):

  --interrupt <mode>, -i <mode>

  This option sets the list of events which will cause the MBR  to display  it's  prompt.   Use  -i +<event> to add an event to the list or -i -<event> to remove an event from the list.  Values of <event> are:

  s – A shift or control key is pressed.
  k – A non shift-like key is pressed
  a – The prompt is always displayed.
  n – Never display the prompt (unless an error occurs).

  -p <partn>, --partition <partn>

  This specifies the default boot sector to load.  Valid values of
  <partn> are:

  1, 2, 3, 4  The specified partition number.
  F      The first floppy disk.
  D      The partition  marked  with  the  bootable  flag  in  the partition table.

  -t <timeout>, --timeout <timeout>
   This  option  changes  the  time  which the MBR waits for before booting the default partition to the  value  specified  in  1/18 seconds  (approx).  The maximum timeout that can be specified is 65534 which is about an hour.

If mbr not on repo you can download the Deb package from here.

Another method:

sudo apt-get install syslinux
sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda


Unable to download Cisco AnyConnect Secure Mobility Client from web launch

You might want to install the openconnect client from the Ubuntu repositories.

sudo apt-get install network-manager-openconnect

Then you should be able to configure you VPN access from network-manager.


How can i create and run visual basic projects and still run in windows

Use can use MonoDevelop to develop .net applications on linux.

If you only use libraries available cross platform then the built binaries will run on both windows and linux. Provided you are careful about new line characters(use Enviroment.NewLine) and path seperaters (use Path.Combine)

MonoDevelop does have some vb.net support, but the c# support is much better, (in some cases better then visual studio). If you are serious about cross platform .net then you should consider using c# rather then vb.net.

This is what I have done for my project Wide Margin which uses c# and runs on linux and windows.


Install newest tbb (thread building-blocks) on Ubuntu 18.04

To upgrade to the latest version, please do the following:

Add the Ubuntu repository that contains the latest version 2019~U8-1, run the following command in terminal:

echo "deb http://cz.archive.ubuntu.com/ubuntu eoan main universe" | sudo tee -a  /etc/apt/sources.list
Update the repositories, run the following command in terminal:

sudo apt update
Upgrade to the latest version, run the following command in terminal:

sudo apt install libtbb-dev

After this you should have the latest libtbb-dev installed.

CAUTION:

One of the most common problems we help untangle is folks who have mixed sources from different releases of Ubuntu and broke their system, so we usually don't recommend it. Folks who want newer software should use a newer release of Ubuntu instead. It is strongly advised to just upgrade the needed package and remove the repository added above, once you have successfully upgraded the needed package. This can be done by editing the /etc/apt/sources.list file and commenting out or removing that line deb http://cz.archive.ubuntu.com/ubuntu eoan main universe and running sudo apt update afterwards.

NOTICE:

To know which official Ubuntu repository contains the latest version of a certain package, you can search for it at Ubuntu packages.


E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/balena-etcher.list

Most likely, you accidentally included sudo inside the file /etc/apt/sources.list.d/balena-etcher.list, which shouldn't be there. If you're following this guide, the contents of that file should be
deb https://deb.etcher.io stable etcher

Open a terminal window, type sudo nano /etc/apt/sources.list.d/balena-etcher.list, edit the file so it matches, then press Ctrl + X to exit. Press Y when prompted to save, and Enter to save to the same file.
Finally, run sudo apt update to refresh your list of packages. Hopefully afterwards you can do apt commands again!


Gnome3 .desktop app-launcher directory hierachy Explaination

Check the /var/lib/snapd/desktop/applications/ directory. You should find the .desktop launchers for snap applications.


Several Questions regarding software on Ubuntu 12.10

I'd say you're missing some drivers. Sound and Graphics. You probably have to do additional research on your options specific to your cards if the drivers Ubuntu suggested on installation aren't cutting it.

Using Wine is a pain I find. If you have to, then I'd try torrenting a clean copy of the Creative Suite .iso from piratebay and installing from that, and then just entering your serial. However, maybe that won't work either. Have you considered using GIMP for your photoshop needs? I find it literally does everything photoshop does and it's free! Very impressive software to be provided to the masses.


try to remove virtualbox before (in terminal try:

 sudo apt-get remove --purge virtualbox

if you get an error that virtualbox is not found try this:

 sudo dpkg --get-selections | grep -i virtualbox

then you should get a list of the installed packages with "virtualbox" in their name...
remove them and try to install the new virtualbox version.

hope this helps!


[ "ssh root@$i" ] tests whether the string ssh root@$i is non-empty - so of course it is always true.

Presumably what you want to do is quietly execute the command ssh root@$i and test its exit status:

if ssh -q root@$i; then

However, if this succeeds, it will (by default) open a login shell on $i - your loop will not continue until you have exited from such a shell. Perhaps it would be better to execute a specific command on the remote host:

if ssh -q root@$i /bin/true; then

Finally, looping over the result of a cat is a bad habit to get into: better to use a while loop:

while IFS= read -r i; do
  if ssh -q root@"$i" /bin/true
  then
    echo "can connect as root in server $i"
  else
    echo "can't connect as root in server $i"
  fi
done < servers.list

You might also want to take a look at parallel-ssh from the pssh package.


Good news i finally manage to install then with no errors i just download the quantal prebuild packages from here and everything worked ok no patching needed!


Ubuntu Live: Disable Keyboard Shortcut Overlay on first boot

After a lot of trying I figured out a way.

My final solution is adding the file /etc/profile.d/overlay.sh. In it I have this line, which disables the overlay (same effect as the command in the question).

gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ shortcut-overlay false

This file is executed whenever a user logs in, so it even works when it's the first time.


Use sudo to install packages:

sudo apt-get install php5


Those messages come from Shim (shimx64.efi); in your case, it's likely in the EFI/Microsoft/Boot directory on the EFI System Partition (ESP). They likely indicate that you used an advanced Boot Repair option (called "back up and rename boot loaders" or something similar) to put GRUB (and Shim) in the position normally used by the Windows boot loader; however, something has gone wrong -- either GRUB (grubx64.efi) has subsequently been deleted or there's been filesystem damage that's causing Shim to be unable to read GRUB. Even if GRUB were to load, if you've already deleted the Ubuntu partition, you'd probably get a grub> prompt and be unable to boot Windows -- at least, not without fairly esoteric knowledge of how to use GRUB at its command line and where the Windows boot loader has gone.

You have two main courses of action at this point:

Undo what Boot Repair did -- If you used the Boot Repair option to back up and rename boot loaders, the same program offers a way to reverse that action. You could use that option to (theoretically) restore the system to bootability. There is the caveat, though, that whatever is causing Shim to be unable to find GRUB might complicate this process. In fact, there's a chance that you'd make matters worse -- but in this case, the solution would be the same as the alternative solution at your current point, so that might not really be such a big deal....
Use Windows boot recovery procedures -- Windows provides boot recovery procedures that you can use in this type of situation. Basically, using a Windows emergency disk or the recovery tool on your hard disk, you'd use automatic tools or issue special commands to re-write the Windows boot loader to the ESP. I lack the Windows expertise to provide better guidance on this, though; and as this is a Windows recovery procedure, you're better off asking about it on a Windows forum, in any event.

Note that filesystem damage to the ESP can be caused by a failure to disable the Windows Fast Startup and Hibernate features. Disabling these features is a requirement for safe dual-booting between Windows 8 or later and any other OS, including Ubuntu. If you decide to try a dual boot again, be sure to disable those features, as described on the pages to which I've linked.


You can still change the WM's in the login area, but you need to have them installed and configured properly in order for them to show up.

E.g., if you run sudo apt install xfce4 and then log out, you will see the familiar "gear" widget to switch between "Ubuntu on Xorg" and XFCE.

  [ However, switching to XFCE doesn't actually work...  So I'm changing this answer to "community wiki" in case anyone can supply more details. ]

If you've installed some other window manager that doesn't do all of the configuration steps automatically you may need to create a new "desktop" entry in /usr/share/xsessions.

Instructions for Ratpoison are here, for example, but it would be similar in other cases.

So this answer is relatively self-contained, I'll copy the key bits here. Run a command like this: sudo nano /usr/share/xsessions/ratpoison.desktop and add the following contents:

[Desktop Entry]
Name=Ratpoison
Comment=This session logs you into Ratpoison
Exec=/usr/bin/ratpoison
TryExec=/usr/bin/ratpoison
Icon=
Type=Application
X-Ubuntu-Gettext-Domain=ratpoison-session

I also installed Lubuntu via sudo apt-get install lubuntu-desktop, maybe this makes a difference.

  [ Booting to Ratpoison now works for me, yay! ]


There is a problem on the mirror 38.229.72.16. Needed data are not there anymore.

In fact, the lucid packages are gone from all the tor mirrors.

You could report this as a bug to torproject

But you should see this as I sign that you are using a very old distro now, and it is time to upgrade...


Are there any valid layout and writing programs for ubuntu?

I'm an avid fan of using TexMaker but if you didn't find Lyx and Bibtex to your liking it might not be to your taste. If you're willing to give Latex editors another try This answer on Latex editors will most likely be complete enough to help you out.

Otherwise if you're looking for less scientific orientated I'd suggest one of the following:

    Libre Office Writer

Which is readily available in the Ubuntu Software Centre, you just search for LibreOffice and install it, I can't give you an opinion on the referencing as I've never had to use it, but I'd assume it works well enough.

    Kingsoft Writer

Which has an interface that looks similar to Microsoft Office as you can see in the following screenshot:

I've personally found Kingsoft seems to be preferred by people used to working on Windows as their main operating system. Although I prefer using Latex personally, the referencing in Kingsoft is quite intuitive and easy to follow as you can see here in the reference tab:

You can download the .deb file to install it via software centre by clicking on the button below:

Please note: Installing Kingsoft will install a PPA so if you have any doubts on security please read: Are PPA's safe to add to my system and what are some "red flags" to watch out for? if you're unsure of what this implies.


I guess, and I hope, not. You can easily do it all from Terminal.

find ./ -size -1c -delete

does the first.rename command does the last. man rename to the rescue. And I didn't get what all other mean, you can do it in Files easily.


Ubuntu 12.10 Network Connection menu GUI doesnt work properly

Network management

Try searching "kubuntu network management disabled", this issue is more common in kubuntu, i had it also because i am using a pppoe connection which required the service field from dsl to be empty(and kubuntu 12.04 wouldnt allow it ),installed kubuntu without internet connection and after installation process i did not have any network/internet connections and all connections i made weren't working.


Ctrl+Alt+F1 or stopping causes screen to go blank

This was fixed by uncommenting the GRUB_TERMINAL line in GRUB's config file, for example, you could use sed:

sudo sed -i 's/#GRUB_TERMINAL/GRUB_TERMINAL/' /etc/default/grub

Or you could do

sudoedit /etc/default/grub

find the line #GRUB_TERMINAL and remove the #from the start. Save and exit.

Either way, after editing the file, you must run

sudo update-grub

to make the changes effective.


Ubuntu 20.04 on a new Lenovo IdeaPad Flex 5 is not detecting my second monitor through HDMI

What I found is that Ubuntu 20.04 is shipping with Linux kernel version 5.4 and it looks like the support for the AMD Ryzen chip didn't get added into the default build of the kernel until version 5.7.
See this article on ubuntuhandbook.org for a bullet description of what's in 5.7 and a description of how to install it on Ubuntu 20.04:

Download the kernel files from this download page
Most users will want the generic kernel image. You will need to download four files

linux-headers... (generic or low-latency)
linux-headers......all....
linux-image... (generic or low-latency)
linux-modules... (generic or low-latency)

After downloading, you can install these .deb files using Gdebi or whatever graphical installer your system suggests opening them with, or using the dpkg command in the directory where you downloaded the files:
sudo dpkg -i filename.deb

Where filename is the name of the file to install (start typing the filename e.g. linux-headers and press tab to get the full name to appear).

Also note that the downloaded kernels aren't signed so I needed to turn off UEFI security (also known as "secure boot") to load this new kernel. Preferably you can sign your copy of the kernel.


How to resize / and add another logical volume without data loss

You need to try LVM terminal mode commands. For that you need to make sure that you have lvm2 package installed.

You can install it by typing:

sudo apt-get install lvm2

After this you can go through the following URLs and play with LVM.

https://www.howtoforge.com/linux_lvm
https://wiki.ubuntu.com/Lvm

P.S.: Always use display commands first to view the present volume status. Then you can go for create/resize etc commands as per your need. Think twice before you press enter for resize/remove. I always prefer to do some test setups using a different machine with no important data, learn the thing properly and then apply on a machine with valuable data.


How do I mount a CIFS share via FSTAB and give full RW to Guest

Turns out that I need to add a local (client) UID to the mount line in FSTAB to make this work. I arrived at this via sheer brute force:

//192.168.0.5/storage /media/myname/TK-Public/ cifs guest,uid=myuser,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm 0 0


Not replacing deleted config file /etc/default/burg?

Purge the package,

Run dpkg -P burg

Reinstall


after i turn my ATI graphics card off,when i suspend my session then i can't log in again[session]

maybe, starting the x-server will work

Alt + Ctrl + F2 (opens Command Line Interface)

Log-in

sudo startx


Ubuntu Software Center doesn't lauch/uninstall [12.10]

Remove manually

  /usr/share/app-install/menu.d/featured.menu

sudo rm /usr/share/app-install/menu.d/featured.menu

Then try and reinstall Software Center

sudo apt-get --reinstall install software-center


To run a script, you need to do one of the following. Let's say your script is stored in /home/maarten/script.sh:

Give it to bash as an argument:

bash /home/maarten/script.sh

Make it executable and run it by writing its path on the command line:

chmod +x /home/maarten/script.sh
/home/maarten/script.sh

Make it executable and move it to a directory that is in your $PATH:

chmod +x /home/maarten/script.sh
mkdir -p ~/bin && mv /home/maarten/script.sh ~/bin

If a bin directory exists in your home directory (~/bin means $HOME/bin), it will be automatically added to your $PATH next time you log in. To add it manually for the current session without logging out and then back in again, you can run source ~/.profile or PATH="$PATH:~/bin.

Now, your script also has some syntax errors. You need spaces after [ and before ], while must be ended with do, case must be ended with esac and each case statement with ;;, and you should always quote your variables:

#!/bin/bash

[ $(whoami) != "root" ] && echo "Run as superuser" && exit 1

while getopts "ugb: " opt; do
 case $opt in

 u)
    read -p "Wat is de naam van de user die je wilt toevoegen?: " username
    [ "$username" == "" ] && echo "Geen usename meegegeven!" && exit 1
    read -p "Wat is de groepsnaam voor de gebruiker?: " group_name
    [ "$(getent group $group_name)" == "" ] && echo "De groep bestaat niet, exiting"  && exit 1
    ## I removed the echo since you probably want to run the command
    adduser -m -g "$group_name" "$username"
    ## I assume your real script has a function called
    ## "create_softlink", right? This won't work otherwise
    create_softlink "$group_name" "$username"
 ;;
 g)
    read -p "Wat is de groepnaam voor de user?: " group_name
    [ "$(getent group $group_name)" != "" ] && echo "De groep bestaat, exiting" \ && exit 1
    addgroup "$groupname"
    ## Like "create_softlink" above, I am assuming you have a
    ## function called "mk_shared_folder" somewhere.
    mk_shared_folder "$groupname"
 ;;
 b)
    BACKUP_FOLDER="/var/backup"
    [ ! -d "$BACKUP_FOLDER" ] && mkdir -p "$BACKUP_FOLDER"
    ## Note that $1 is the 1st parameter passed to the script.
    ## However, since you're using getopts, and b expects an argument
    ## that argument is available as $OPTARG when the current $opt is b
    ## I have changed the script accordingly.
    [ -d "$SHARED_FOLDER/$2" ] && echo "Shared folder bestaat niet" && exit 1
    zip "$SHARED_FOLDER/$OPTARG" "$BACKUP_FOLDER/$OPTARG-$(date +"%m-%d-%y")"
   ;;
  esac
done


Instead of using:

$ resize 40 80
resize: Can't set window size under VT100 emulation

Try using:

printf '\e[8;40;80t'

You can also use Edit -> Profile preferences and set the initial screen size every time your terminal opens.


Access encrypted drive on separate partition

Looks like it's using eCryptfs encryption.

If the home folders are set up for the same locations, and you're using the same username and same passphrase, I think you should be able to log in & decrypt your home as usual... unless there were major changes from 12.04 to 14.04, I'm not sure.

You could mount it with ecryptfs-recover-private if you just want to read & copy the files over to a new (encrypted) profile.

Or you could try ecryptfs-rewrap-passphrase to "unwrap an eCryptfs wrapped passphrase, rewrap it with a new passphrase, and write it back to file" using your old & new login passphrases. Then you should be able to decrypt & use your old home folder again (if it's in the right location, etc).

See the man pages for more info, and keep/make a backup of the files before changing them, just in case. Really should have a backup of the un-encrypted files too (encrypted using a different method perhaps, like a tar.gz.gpg) to be extra careful too.


svnserve startup no longer works as documented

I modified the upstart script to work on mine:
sudo vim /etc/init/svnserve.conf

# svnserve - Subversion server

description     "Subversion server"

start on (local-filesystems and net-device-up IFACE=lo and started udev-finish)
stop on runlevel [06]

chdir /home/svn

respawn

respawn limit 2 3600

exec /usr/bin/svnserve --daemon --root /home/svn --log-file /var/log/svnserve.log

Then run sudo initctl reload-configuration

You can remove the "--log-file /var/log/svnserve.log" part when happy.


Contents of the k03sendsigs file in ~/etc/rc0.d?

I think you can use "apt-file search "sendsigs" and look for the package that contains this file and reinstall the package


How can i add a menu item to the right-click of different file managers

Though this source confirms that PCManFM version 1.2.0 shipped with 14.04 LTS supports Actions feature, it seems that it doesn't work properly.
I found another source which confirms that. It's mentioned there that version 1.2.2 works properly, so you can try that version, or upgrade your distro to the next LTS, which is 16.04.
Some examples of custom actions can be found here.
As regards Nautilus, it's easy to add custom actions even without additional packages which simplify that process. Just put your scripts into ~/.gnome2/nautilus-scripts/ folder, make them executable, and new submenu 'Scripts' will appear in the context menu. Adding subfolders is possible and this will help to make categories within 'Scripts' submenu.


Try memtester. It's in the repositories (at least, for 14.04, which I happen to have running at the moment).

Alternatively, you could try memtest86 for EFI.


I found that is a current issue for the 18.04 and the solution that I found is this one: 18.04 Boot freezes at "Started Hold until boot process finishes up".

I did have no space in the /boot/ partition and I could boot to the OS, after I remote some old kernel image.
Seems this problem is not relevant to the mei_me but still hope this post could helpful for other having the same problem as me.


Can't resize an OpenStack instance due Host key verification problem

To manage/administer your openstack environment, you will need to use Juju to get access.  You can see the steps here:

https://askubuntu.com/a/598035/7056

Once you do that, you will need to debug this service like any other.  Landscape and Maas at this point are just guiding the installation. Certainly if you identify what is going on here, it would be great to feed that back into the installation process, so a bug might be in order, but there is nothing in the way of automated troubleshooting to point you at.

There are a lot of openstack resources out there, and this site may be better for this kind of question:

https://ask.openstack.org/en/questions/


I noticed that after the upgrade to 15.04 when I check the webmin for a server that I have with the same issue, what I saw what that I had a new jail called "sshd" that had nothing defined as a filter. I deleted this jail and it now works again. To be clear, the ssh jail is still there,just the empty jail called sshd is gone. Outside of webmin I'm not sure where to find that jail. You pastebin looks clear of any invalid entries.


How to set Thunderbird leave messages on server in Ubuntu 18.04?

In the screenshots, note the different server types. IMAP always leaves messages on the server, while POP3 can be configured to leave messages on the server or not.

More details: Email: What’s the Difference Between POP3, IMAP, and Exchange? - How to Geek


How to make Windows 8.1 and Ubuntu 13.10 dual-boot correctly?

Finally I solved the problem - you need to install GRUB to the drive, not to a partition.

I re-installed Ubuntu on disk2 and put boot loader on /dev/sdb instead of /dev/sdb1. Then I booted the computer from disk2 and then I could see the boot menu including "Ubuntu" and "Windows Recovery Environment".


Ubuntu backup using bash commands/command line

Insert an external HDD formatted on another machine using FAT if none of your files are >4GB and type the following command:

ls /media/$USER

That will give you a list of names one of which is your hard drive.  Then copy the files over by issuing:

cp --verbose /home/$USER/* /media/$USER/NameOfHDD

Where you substitute NameOfHDD for the name you found previously (I cannot tell you which: it depends on the HDD itself and how it was formatted)

And then you wait until it finishes...

To restore just type:

cp --verbose /media/$USER/NameOfHDD/* /Home/$USER/

(if both user names before and after re-install are the same!)


From the kernel list in the Ubuntu repository -
  http://kernel.ubuntu.com/~kernel-ppa/mainline/ the latest kernel for
  12.04 (precise) is 3.4.

These are just names.

At this time, the latest available Ubuntu kernel for 12.04 is 3.8. The mainline kernels are not suggested for installation, except if you are doing tests or you experience a major problem that it can be resolved with a specific mainline kernel. Please read more about mainline kernels here.

Because of the LTS feature of 12.04 many different kernels will be backported from newer versions of Ubuntu and X-stack as well. The 12.04.3 version (that will be released in 22 August 2013) will have 3.8 kernel and X-stack all backported from Ubuntu 13.04 (raring).

As I said, the latest available Ubuntu kernel is 3.8 and you can install it in 12.04 from a terminal. (or a GUI package manager, e.g synaptic, software center).

Open a terminal (CTRL+ALT+T) and issue the following commands

sudo apt-get install linux-image-generic-lts-raring
sudo apt-get install linux-headers-generic-lts-raring

When the installation completes, reboot your system to boot from 3.8 kernel.
Grub bootloader always list the newer kernel first, so it will boot from 3.8 automatically (except if you have installed a newer than 3.8).


Ubuntu 19.04 Unity get blurry when running laptop continuously without restarting

With the update to 19.04, some GNOME extensions that you were running before, may not be compatible with 19.04.

Go to https://extensions.gnome.org/local/ and temporarily disable ALL extensions, and then restart GNOME shell with alt+f2, then r, then enter, and see if the problem is gone after running a while. If so, re-enable one extension at a time, restart GNOME shell, and retest. If the problem returns, you've found the bad extension.


Give write access to USB and Serial devices automatically

You should add your userid to the dialout group. Suppose your userid is joeuser, then do:

sudo adduser joeuser dialout

and then log out and log back in again for this to take effect.


I'd agree with Jorge but I can't say which package /etc/services comes from. It certainly doesn't seem like one that would be healthy to reinstall although I could be wrong.

Edit: /etc/services comes from the netbase package and gets customised by other services that install. You can find that out by running dlocate /etc/services (you need to install dlocate first).

So following my answer on the other thread, you could download the package manually and extract the file. Or "risk" it with sudo apt-get --reinstall --purge install netbase. I say risk only because the first method is just a lot safer.

For the sake of not making things worse, here's a services file from an "almost virgin" upgrade to Maverick:

# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single well-known
# port number for both TCP and UDP; hence, officially ports have two entries
# even if the protocol doesn't support UDP operations.
#
# Updated from http://www.iana.org/assignments/port-numbers and other
# sources like http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/services .
# New ports will be added on request if they have been officially assigned
# by IANA and used in the real-world or are needed by a debian package.
# If you need a huge list of used numbers please install the nmap package.

tcpmux      1/tcp               # TCP port service multiplexer
echo        7/tcp
echo        7/udp
discard     9/tcp       sink null
discard     9/udp       sink null
systat      11/tcp      users
daytime     13/tcp
daytime     13/udp
netstat     15/tcp
qotd        17/tcp      quote
msp     18/tcp              # message send protocol
msp     18/udp
chargen     19/tcp      ttytst source
chargen     19/udp      ttytst source
ftp-data    20/tcp
ftp     21/tcp
fsp     21/udp      fspd
ssh     22/tcp              # SSH Remote Login Protocol
ssh     22/udp
telnet      23/tcp
smtp        25/tcp      mail
time        37/tcp      timserver
time        37/udp      timserver
rlp     39/udp      resource    # resource location
nameserver  42/tcp      name        # IEN 116
whois       43/tcp      nicname
tacacs      49/tcp              # Login Host Protocol (TACACS)
tacacs      49/udp
re-mail-ck  50/tcp              # Remote Mail Checking Protocol
re-mail-ck  50/udp
domain      53/tcp              # name-domain server
domain      53/udp
mtp     57/tcp              # deprecated
tacacs-ds   65/tcp              # TACACS-Database Service
tacacs-ds   65/udp
bootps      67/tcp              # BOOTP server
bootps      67/udp
bootpc      68/tcp              # BOOTP client
bootpc      68/udp
tftp        69/udp
gopher      70/tcp              # Internet Gopher
gopher      70/udp
rje     77/tcp      netrjs
finger      79/tcp
www     80/tcp      http        # WorldWideWeb HTTP
www     80/udp              # HyperText Transfer Protocol
link        87/tcp      ttylink
kerberos    88/tcp      kerberos5 krb5 kerberos-sec # Kerberos v5
kerberos    88/udp      kerberos5 krb5 kerberos-sec # Kerberos v5
supdup      95/tcp
hostnames   101/tcp     hostname    # usually from sri-nic
iso-tsap    102/tcp     tsap        # part of ISODE
acr-nema    104/tcp     dicom       # Digital Imag. & Comm. 300
acr-nema    104/udp     dicom       # Digital Imag. & Comm. 300
csnet-ns    105/tcp     cso-ns      # also used by CSO name server
csnet-ns    105/udp     cso-ns
rtelnet     107/tcp             # Remote Telnet
rtelnet     107/udp
pop2        109/tcp     postoffice pop-2 # POP version 2
pop2        109/udp     pop-2
pop3        110/tcp     pop-3       # POP version 3
pop3        110/udp     pop-3
sunrpc      111/tcp     portmapper  # RPC 4.0 portmapper
sunrpc      111/udp     portmapper
auth        113/tcp     authentication tap ident
sftp        115/tcp
uucp-path   117/tcp
nntp        119/tcp     readnews untp   # USENET News Transfer Protocol
ntp     123/tcp
ntp     123/udp             # Network Time Protocol
pwdgen      129/tcp             # PWDGEN service
pwdgen      129/udp             # PWDGEN service
loc-srv     135/tcp     epmap       # Location Service
loc-srv     135/udp     epmap
netbios-ns  137/tcp             # NETBIOS Name Service
netbios-ns  137/udp
netbios-dgm 138/tcp             # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp             # NETBIOS session service
netbios-ssn 139/udp
imap2       143/tcp     imap        # Interim Mail Access P 2 and 4
imap2       143/udp     imap
snmp        161/tcp             # Simple Net Mgmt Protocol
snmp        161/udp             # Simple Net Mgmt Protocol
snmp-trap   162/tcp     snmptrap    # Traps for SNMP
snmp-trap   162/udp     snmptrap    # Traps for SNMP
cmip-man    163/tcp             # ISO mgmt over IP (CMOT)
cmip-man    163/udp
cmip-agent  164/tcp
cmip-agent  164/udp
mailq       174/tcp         # Mailer transport queue for Zmailer
mailq       174/udp         # Mailer transport queue for Zmailer
xdmcp       177/tcp             # X Display Mgr. Control Proto
xdmcp       177/udp
nextstep    178/tcp     NeXTStep NextStep   # NeXTStep window
nextstep    178/udp     NeXTStep NextStep   #  server
bgp     179/tcp             # Border Gateway Protocol
bgp     179/udp
prospero    191/tcp             # Cliff Neuman's Prospero
prospero    191/udp
irc     194/tcp             # Internet Relay Chat
irc     194/udp
smux        199/tcp             # SNMP Unix Multiplexer
smux        199/udp
at-rtmp     201/tcp             # AppleTalk routing
at-rtmp     201/udp
at-nbp      202/tcp             # AppleTalk name binding
at-nbp      202/udp
at-echo     204/tcp             # AppleTalk echo
at-echo     204/udp
at-zis      206/tcp             # AppleTalk zone information
at-zis      206/udp
qmtp        209/tcp             # Quick Mail Transfer Protocol
qmtp        209/udp             # Quick Mail Transfer Protocol
z3950       210/tcp     wais        # NISO Z39.50 database
z3950       210/udp     wais
ipx     213/tcp             # IPX
ipx     213/udp
imap3       220/tcp             # Interactive Mail Access
imap3       220/udp             # Protocol v3
pawserv     345/tcp             # Perf Analysis Workbench
pawserv     345/udp
zserv       346/tcp             # Zebra server
zserv       346/udp
fatserv     347/tcp             # Fatmen Server
fatserv     347/udp
rpc2portmap 369/tcp
rpc2portmap 369/udp             # Coda portmapper
codaauth2   370/tcp
codaauth2   370/udp             # Coda authentication server
clearcase   371/tcp     Clearcase
clearcase   371/udp     Clearcase
ulistserv   372/tcp             # UNIX Listserv
ulistserv   372/udp
ldap        389/tcp         # Lightweight Directory Access Protocol
ldap        389/udp
imsp        406/tcp         # Interactive Mail Support Protocol
imsp        406/udp
https       443/tcp             # http protocol over TLS/SSL
https       443/udp
snpp        444/tcp             # Simple Network Paging Protocol
snpp        444/udp
microsoft-ds    445/tcp             # Microsoft Naked CIFS
microsoft-ds    445/udp
kpasswd     464/tcp
kpasswd     464/udp
saft        487/tcp         # Simple Asynchronous File Transfer
saft        487/udp
isakmp      500/tcp         # IPsec - Internet Security Association
isakmp      500/udp         #  and Key Management Protocol
rtsp        554/tcp         # Real Time Stream Control Protocol
rtsp        554/udp         # Real Time Stream Control Protocol
nqs     607/tcp             # Network Queuing system
nqs     607/udp
npmp-local  610/tcp     dqs313_qmaster      # npmp-local / DQS
npmp-local  610/udp     dqs313_qmaster
npmp-gui    611/tcp     dqs313_execd        # npmp-gui / DQS
npmp-gui    611/udp     dqs313_execd
hmmp-ind    612/tcp     dqs313_intercell    # HMMP Indication / DQS
hmmp-ind    612/udp     dqs313_intercell
qmqp        628/tcp
qmqp        628/udp
ipp     631/tcp             # Internet Printing Protocol
ipp     631/udp
#
# UNIX specific services
#
exec        512/tcp
biff        512/udp     comsat
login       513/tcp
who     513/udp     whod
shell       514/tcp     cmd     # no passwords used
syslog      514/udp
printer     515/tcp     spooler     # line printer spooler
talk        517/udp
ntalk       518/udp
route       520/udp     router routed   # RIP
timed       525/udp     timeserver
tempo       526/tcp     newdate
courier     530/tcp     rpc
conference  531/tcp     chat
netnews     532/tcp     readnews
netwall     533/udp             # for emergency broadcasts
gdomap      538/tcp             # GNUstep distributed objects
gdomap      538/udp
uucp        540/tcp     uucpd       # uucp daemon
klogin      543/tcp             # Kerberized `rlogin' (v5)
kshell      544/tcp     krcmd       # Kerberized `rsh' (v5)
afpovertcp  548/tcp             # AFP over TCP
afpovertcp  548/udp
remotefs    556/tcp     rfs_server rfs  # Brunhoff remote filesystem
nntps       563/tcp     snntp       # NNTP over SSL
nntps       563/udp     snntp
submission  587/tcp             # Submission [RFC4409]
submission  587/udp
ldaps       636/tcp             # LDAP over SSL
ldaps       636/udp
tinc        655/tcp             # tinc control port
tinc        655/udp
silc        706/tcp
silc        706/udp
kerberos-adm    749/tcp             # Kerberos `kadmin' (v5)
#
webster     765/tcp             # Network dictionary
webster     765/udp
rsync       873/tcp
rsync       873/udp
ftps-data   989/tcp             # FTP over SSL (data)
ftps        990/tcp
telnets     992/tcp             # Telnet over SSL
telnets     992/udp
imaps       993/tcp             # IMAP over SSL
imaps       993/udp
ircs        994/tcp             # IRC over SSL
ircs        994/udp
pop3s       995/tcp             # POP-3 over SSL
pop3s       995/udp
#
# From ``Assigned Numbers'':
#
#> The Registered Ports are not controlled by the IANA and on most systems
#> can be used by ordinary user processes or programs executed by ordinary
#> users.
#
#> Ports are used in the TCP [45,106] to name the ends of logical
#> connections which carry long term conversations.  For the purpose of
#> providing services to unknown callers, a service contact port is
#> defined.  This list specifies the port used by the server process as its
#> contact port.  While the IANA can not control uses of these ports it
#> does register or list uses of these ports as a convienence to the
#> community.
#
socks       1080/tcp            # socks proxy server
socks       1080/udp
proofd      1093/tcp
proofd      1093/udp
rootd       1094/tcp
rootd       1094/udp
openvpn     1194/tcp
openvpn     1194/udp
rmiregistry 1099/tcp            # Java RMI Registry
rmiregistry 1099/udp
kazaa       1214/tcp
kazaa       1214/udp
nessus      1241/tcp            # Nessus vulnerability
nessus      1241/udp            #  assessment scanner
lotusnote   1352/tcp    lotusnotes  # Lotus Note
lotusnote   1352/udp    lotusnotes
ms-sql-s    1433/tcp            # Microsoft SQL Server
ms-sql-s    1433/udp
ms-sql-m    1434/tcp            # Microsoft SQL Monitor
ms-sql-m    1434/udp
ingreslock  1524/tcp
ingreslock  1524/udp
prospero-np 1525/tcp            # Prospero non-privileged
prospero-np 1525/udp
datametrics 1645/tcp    old-radius
datametrics 1645/udp    old-radius
sa-msg-port 1646/tcp    old-radacct
sa-msg-port 1646/udp    old-radacct
kermit      1649/tcp
kermit      1649/udp
l2f     1701/tcp    l2tp
l2f     1701/udp    l2tp
radius      1812/tcp
radius      1812/udp
radius-acct 1813/tcp    radacct     # Radius Accounting
radius-acct 1813/udp    radacct
msnp        1863/tcp            # MSN Messenger
msnp        1863/udp
unix-status 1957/tcp            # remstats unix-status server
log-server  1958/tcp            # remstats log server
remoteping  1959/tcp            # remstats remoteping server
cisco-sccp  2000/tcp    sieve       # Cisco SCCP
cisco-sccp  2000/udp
search      2010/tcp    ndtp
pipe_server 2010/tcp
nfs     2049/tcp            # Network File System
nfs     2049/udp            # Network File System
gnunet      2086/tcp
gnunet      2086/udp
rtcm-sc104  2101/tcp            # RTCM SC-104 IANA 1/29/99
rtcm-sc104  2101/udp
gsigatekeeper   2119/tcp
gsigatekeeper   2119/udp
gris        2135/tcp        # Grid Resource Information Server
gris        2135/udp        # Grid Resource Information Server
cvspserver  2401/tcp            # CVS client/server operations
cvspserver  2401/udp
venus       2430/tcp            # codacon port
venus       2430/udp            # Venus callback/wbc interface
venus-se    2431/tcp            # tcp side effects
venus-se    2431/udp            # udp sftp side effect
codasrv     2432/tcp            # not used
codasrv     2432/udp            # server port
codasrv-se  2433/tcp            # tcp side effects
codasrv-se  2433/udp            # udp sftp side effect
mon     2583/tcp            # MON traps
mon     2583/udp
dict        2628/tcp            # Dictionary server
dict        2628/udp
gsiftp      2811/tcp
gsiftp      2811/udp
gpsd        2947/tcp
gpsd        2947/udp
gds_db      3050/tcp            # InterBase server
gds_db      3050/udp
icpv2       3130/tcp    icp     # Internet Cache Protocol
icpv2       3130/udp    icp
mysql       3306/tcp
mysql       3306/udp
nut     3493/tcp            # Network UPS Tools
nut     3493/udp
distcc      3632/tcp            # distributed compiler
distcc      3632/udp
daap        3689/tcp            # Digital Audio Access Protocol
daap        3689/udp
svn     3690/tcp    subversion  # Subversion protocol
svn     3690/udp    subversion
suucp       4031/tcp            # UUCP over SSL
suucp       4031/udp            # UUCP over SSL
sysrqd      4094/tcp            # sysrq daemon
sysrqd      4094/udp            # sysrq daemon
remctl      4373/tcp        # Remote Authenticated Command Service
remctl      4373/udp        # Remote Authenticated Command Service
iax     4569/tcp            # Inter-Asterisk eXchange
iax     4569/udp
radmin-port 4899/tcp            # RAdmin Port
radmin-port 4899/udp
rfe     5002/udp            # Radio Free Ethernet
rfe     5002/tcp
mmcc        5050/tcp    # multimedia conference control tool (Yahoo IM)
mmcc        5050/udp
sip     5060/tcp            # Session Initiation Protocol
sip     5060/udp
sip-tls     5061/tcp
sip-tls     5061/udp
aol     5190/tcp            # AIM
aol     5190/udp
xmpp-client 5222/tcp    jabber-client   # Jabber Client Connection
xmpp-client 5222/udp    jabber-client
xmpp-server 5269/tcp    jabber-server   # Jabber Server Connection
xmpp-server 5269/udp    jabber-server
cfengine    5308/tcp
cfengine    5308/udp
mdns        5353/tcp            # Multicast DNS
mdns        5353/udp            # Multicast DNS
postgresql  5432/tcp    postgres    # PostgreSQL Database
postgresql  5432/udp    postgres
freeciv     5556/tcp    rptp        # Freeciv gameplay
freeciv     5556/udp
amqp        5672/tcp
amqp        5672/udp
amqp        5672/sctp
ggz     5688/tcp            # GGZ Gaming Zone
ggz     5688/udp            # GGZ Gaming Zone
x11     6000/tcp    x11-0       # X Window System
x11     6000/udp    x11-0
x11-1       6001/tcp
x11-1       6001/udp
x11-2       6002/tcp
x11-2       6002/udp
x11-3       6003/tcp
x11-3       6003/udp
x11-4       6004/tcp
x11-4       6004/udp
x11-5       6005/tcp
x11-5       6005/udp
x11-6       6006/tcp
x11-6       6006/udp
x11-7       6007/tcp
x11-7       6007/udp
gnutella-svc    6346/tcp            # gnutella
gnutella-svc    6346/udp
gnutella-rtr    6347/tcp            # gnutella
gnutella-rtr    6347/udp
sge_qmaster 6444/tcp            # Grid Engine Qmaster Service
sge_qmaster 6444/udp            # Grid Engine Qmaster Service
sge_execd   6445/tcp            # Grid Engine Execution Service
sge_execd   6445/udp            # Grid Engine Execution Service
afs3-fileserver 7000/tcp    bbs     # file server itself
afs3-fileserver 7000/udp    bbs
afs3-callback   7001/tcp            # callbacks to cache managers
afs3-callback   7001/udp
afs3-prserver   7002/tcp            # users & groups database
afs3-prserver   7002/udp
afs3-vlserver   7003/tcp            # volume location database
afs3-vlserver   7003/udp
afs3-kaserver   7004/tcp            # AFS/Kerberos authentication
afs3-kaserver   7004/udp
afs3-volser 7005/tcp            # volume managment server
afs3-volser 7005/udp
afs3-errors 7006/tcp            # error interpretation service
afs3-errors 7006/udp
afs3-bos    7007/tcp            # basic overseer process
afs3-bos    7007/udp
afs3-update 7008/tcp            # server-to-server updater
afs3-update 7008/udp
afs3-rmtsys 7009/tcp            # remote cache manager service
afs3-rmtsys 7009/udp
font-service    7100/tcp    xfs     # X Font Service
font-service    7100/udp    xfs
http-alt    8080/tcp    webcache    # WWW caching service
http-alt    8080/udp            # WWW caching service
bacula-dir  9101/tcp            # Bacula Director
bacula-dir  9101/udp
bacula-fd   9102/tcp            # Bacula File Daemon
bacula-fd   9102/udp
bacula-sd   9103/tcp            # Bacula Storage Daemon
bacula-sd   9103/udp
xmms2       9667/tcp    # Cross-platform Music Multiplexing System
xmms2       9667/udp    # Cross-platform Music Multiplexing System
amanda      10080/tcp           # amanda backup services
amanda      10080/udp
hkp     11371/tcp           # OpenPGP HTTP Keyserver
hkp     11371/udp           # OpenPGP HTTP Keyserver
bprd        13720/tcp           # VERITAS NetBackup
bprd        13720/udp
bpdbm       13721/tcp           # VERITAS NetBackup
bpdbm       13721/udp
bpjava-msvc 13722/tcp           # BP Java MSVC Protocol
bpjava-msvc 13722/udp
vnetd       13724/tcp           # Veritas Network Utility
vnetd       13724/udp
bpcd        13782/tcp           # VERITAS NetBackup
bpcd        13782/udp
vopied      13783/tcp           # VERITAS NetBackup
vopied      13783/udp
wnn6        22273/tcp           # wnn6
wnn6        22273/udp

#
# Datagram Delivery Protocol services
#
rtmp        1/ddp           # Routing Table Maintenance Protocol
nbp     2/ddp           # Name Binding Protocol
echo        4/ddp           # AppleTalk Echo Protocol
zip     6/ddp           # Zone Information Protocol

#=========================================================================
# The remaining port numbers are not as allocated by IANA.
#=========================================================================

# Kerberos (Project Athena/MIT) services
# Note that these are for Kerberos v4, and are unofficial.  Sites running
# v4 should uncomment these and comment out the v5 entries above.
#
kerberos4   750/udp     kerberos-iv kdc # Kerberos (server)
kerberos4   750/tcp     kerberos-iv kdc
kerberos_master 751/udp             # Kerberos authentication
kerberos_master 751/tcp
passwd_server   752/udp             # Kerberos passwd server
krb_prop    754/tcp     krb5_prop hprop # Kerberos slave propagation
krbupdate   760/tcp     kreg        # Kerberos registration
swat        901/tcp             # swat
kpop        1109/tcp            # Pop with Kerberos
knetd       2053/tcp            # Kerberos de-multiplexor
zephyr-srv  2102/udp            # Zephyr server
zephyr-clt  2103/udp            # Zephyr serv-hm connection
zephyr-hm   2104/udp            # Zephyr hostmanager
eklogin     2105/tcp            # Kerberos encrypted rlogin
# Hmmm. Are we using Kv4 or Kv5 now? Worrying.
# The following is probably Kerberos v5  --- ajt@debian.org (11/02/2000)
kx      2111/tcp            # X over Kerberos
iprop       2121/tcp            # incremental propagation
#
# Unofficial but necessary (for NetBSD) services
#
supfilesrv  871/tcp             # SUP server
supfiledbg  1127/tcp            # SUP debugging

#
# Services added for the Debian GNU/Linux distribution
#
linuxconf   98/tcp              # LinuxConf
poppassd    106/tcp             # Eudora
poppassd    106/udp
ssmtp       465/tcp     smtps       # SMTP over SSL
moira_db    775/tcp             # Moira database
moira_update    777/tcp             # Moira update protocol
moira_ureg  779/udp             # Moira user registration
spamd       783/tcp             # spamassassin daemon
omirr       808/tcp     omirrd      # online mirror
omirr       808/udp     omirrd
customs     1001/tcp            # pmake customs server
customs     1001/udp
skkserv     1178/tcp            # skk jisho server port
predict     1210/udp            # predict -- satellite tracking
rmtcfg      1236/tcp            # Gracilis Packeten remote config server
wipld       1300/tcp            # Wipl network monitor
xtel        1313/tcp            # french minitel
xtelw       1314/tcp            # french minitel
support     1529/tcp            # GNATS
cfinger     2003/tcp            # GNU Finger
frox        2121/tcp            # frox: caching ftp proxy
ninstall    2150/tcp            # ninstall service
ninstall    2150/udp
zebrasrv    2600/tcp            # zebra service
zebra       2601/tcp            # zebra vty
ripd        2602/tcp            # ripd vty (zebra)
ripngd      2603/tcp            # ripngd vty (zebra)
ospfd       2604/tcp            # ospfd vty (zebra)
bgpd        2605/tcp            # bgpd vty (zebra)
ospf6d      2606/tcp            # ospf6d vty (zebra)
ospfapi     2607/tcp            # OSPF-API
isisd       2608/tcp            # ISISd vty (zebra)
afbackup    2988/tcp            # Afbackup system
afbackup    2988/udp
afmbackup   2989/tcp            # Afmbackup system
afmbackup   2989/udp
xtell       4224/tcp            # xtell server
fax     4557/tcp            # FAX transmission service (old)
hylafax     4559/tcp            # HylaFAX client-server protocol (new)
distmp3     4600/tcp            # distmp3host daemon
munin       4949/tcp    lrrd        # Munin
enbd-cstatd 5051/tcp            # ENBD client statd
enbd-sstatd 5052/tcp            # ENBD server statd
pcrd        5151/tcp            # PCR-1000 Daemon
noclog      5354/tcp            # noclogd with TCP (nocol)
noclog      5354/udp            # noclogd with UDP (nocol)
hostmon     5355/tcp            # hostmon uses TCP (nocol)
hostmon     5355/udp            # hostmon uses UDP (nocol)
rplay       5555/udp            # RPlay audio service
nsca        5667/tcp            # Nagios Agent - NSCA
mrtd        5674/tcp            # MRT Routing Daemon
bgpsim      5675/tcp            # MRT Routing Simulator
canna       5680/tcp            # cannaserver
sane-port   6566/tcp    sane saned  # SANE network scanner daemon
ircd        6667/tcp            # Internet Relay Chat
zope-ftp    8021/tcp            # zope management by ftp
tproxy      8081/tcp            # Transparent Proxy
omniorb     8088/tcp            # OmniORB
omniorb     8088/udp
clc-build-daemon 8990/tcp           # Common lisp build daemon
xinetd      9098/tcp
mandelspawn 9359/udp    mandelbrot  # network mandelbrot
git     9418/tcp            # Git Version Control System
zope        9673/tcp            # zope server
webmin      10000/tcp
kamanda     10081/tcp           # amanda backup services (Kerberos)
kamanda     10081/udp
amandaidx   10082/tcp           # amanda backup services
amidxtape   10083/tcp           # amanda backup services
smsqp       11201/tcp           # Alamin SMS gateway
smsqp       11201/udp
xpilot      15345/tcp           # XPilot Contact Port
xpilot      15345/udp
sgi-cmsd    17001/udp       # Cluster membership services daemon
sgi-crsd    17002/udp
sgi-gcd     17003/udp           # SGI Group membership daemon
sgi-cad     17004/tcp           # Cluster Admin daemon
isdnlog     20011/tcp           # isdn logging system
isdnlog     20011/udp
vboxd       20012/tcp           # voice box system
vboxd       20012/udp
binkp       24554/tcp           # binkp fidonet protocol
asp     27374/tcp           # Address Search Protocol
asp     27374/udp
csync2      30865/tcp           # cluster synchronization tool
dircproxy   57000/tcp           # Detachable IRC Proxy
tfido       60177/tcp           # fidonet EMSI over telnet
fido        60179/tcp           # fidonet EMSI over TCP

# Local services


Dell Inspiron 3000 touch pad single and double tap stopped working on Ubuntu 16.04

I just bought a Dell Inspiron two weeks ago.  I find that the double tap will occasionally (and inexplicably) stop working and all my efforts to tap using my mouse result in highlighted text or other annoying, unintended actions.  I searched for a fix and found nothing helpful.  Luckily, I stumbled on a quick and seemingly effective fix.
Right click on your screen and you will get a dropdown.
Hit "Select All" and then double tap on your mouse pad area. That's it! Your mousepad should work again.


Bad symbols on my eclipse C++ installation

I found my answer in here: http://www.eclipse.org/forums/index.php/t/490066/

Go to Project Properties->Paths and Symbols->Symbols Tab->GNU C++->__cplusplus Symbol and change to 201103L


Can I reinstall and keep updates and software from my wubi installation?

If you just need a swap partition, you could resize your existing partition, create a new swap partition and add that to your installation's /etc/fstab. There is only a limited chance that things might go wrong (so back up!!) but it's fairly quick and painless.

Back up anything you can't easily replace.
Boot into a LiveCD or LiveUSB. This can be downloaded from Ubuntu.com - You've already installed once so you should be familiar with the process. Select "Try Ubuntu" when asked.
Load up GParted Partition Editor
Select your partition, right click it and click Resize. Resize it down to give you enough space for the new swap partition. How much of that largely depends on how much RAM you have. You need at least as much swap as you have RAM but most people say 1.5x is safer so if you have 4GB of RAM, you probably want 6GB of swap.
In the space at the end of the disk, right click and create a new partition. Set its format to linux-swap and click add.
Click the big green Tick and it will shrink your disk and create the new partition. When you're done there, reboot to your normal system.
Now you need the UUID of the new swap partition. You can see all the UUIDs by running ls -l /dev/disk/by-uuid in a terminal and you're looking for something like a2d579b4-6ecd-1111-a612-2d11adbd11aa. If you have a lot of disks you might need to run Disk Utility to work out which is which.
In a terminal run sudoedit /etc/fstab and add something like the following line:

UUID=a2d579b4-6ecd-1111-a612-2d11adbd11aa none    swap    sw     0       0

Though you want to replace the UUID with your swap partition's UUID from Step 7.
You can either reboot or run sudo mount -a && sudo swapon -a and you should have mounted swap space. Hurray!


I suspect that you're seeing, and confusing, three different things:

The GUID Partition Table (GPT) scheme includes a "protective MBR," which is a Master Boot Record (MBR) partition table that contains a single partition, of type 0xEE, that spans (more-or-less) the entire disk, from sector 1 to either the end of the disk or the 2GiB point (assuming 512-byte sectors), whichever is less. The 0xEE partition is often called the "protective partition." This has nothing to do with an "EFI partition," "BIOS boot partition," or any other GPT partition, except to the extent that the protective MBR is a necessary component of a complete GPT configuration. The protective partition isn't really a partition, either; it exists just to keep GPT-unaware utilities from messing with the disk.
On a computer that boots in EFI mode, an EFI System Partition (ESP) is required. This partition uses a FAT32 filesystem (FAT16 can usually work in practice, but the spec requires FAT32) and holds EFI boot loaders and related files. When the computer boots, the EFI reads boot loaders from the ESP. Its size is not defined by the spec, but in practice it's usually around 100-200MiB. I recommend creating a bigger ESP, in the range of 550MiB, because some EFIs seem to have buggy FAT drivers that cause problems with smaller ESPs.
If you install GRUB in BIOS mode to a GPT disk, it will be happiest if the disk contains a BIOS Boot Partition. This partition is typically 1MiB or 2MiB in size, and it holds the second stage of GRUB's boot code (the first stage goes in the MBR's code area). This partition is not required when booting a computer in EFI mode.

The ESP and BIOS Boot Partition can both go just about anywhere, at least in theory, although on an over-2GiB disk, it's best to keep the BIOS Boot Partition under the 2GiB mark.


Every time I boot into my computer my internet runs at full speed (50Mb/s) after about 10 minutes it drops to (6Mb/s)

Go to a terminal using Ctrl+Alt+Tand type:

gksudo gedit /etc/network/interfaces

in your eth2 section add:

iface eth2 inet ...
    ...
    ...
    up sleep 5; ethtool -s eth2 -s eth2 speed 100 duplex full

(note the 100, not 1000: internally on the LAN, 100 is slow but towards the Internet 100 is fast)  If that works reliably for some time (a week), upgrade it to 1000!


unable to use Wifi on my Dell Vostro 1400 with Ubuntu 12.04

sudo apt-get install firmware-b43-lpphy-installer and reboot should fix it unless the firmware-b43-lpphy-installer package is no longer available then sudo apt-get install firmware-b43-installer and reboot


How to make an install USB for Windows on Ubuntu?

An internet search suggests this: http://www.kczon.com/linux-ubuntu-bootable-usb-windows-7-8/

In short, what you need to do is the following:

Format USB drive as NTFS
Install Unetbootin for Linux
Use Unetbootin to make a bootable usb from the iso


Crontab runs /etc/init.d/ scripts but won't run service restart?

Try the following code in your terminal

sudo service mysqld restart

I think thats what your looking for


Ubuntu 11.10 / 12.04 installation freeze - HM67 chipset + SSD Intel 335

I dont know why but when i formatted SSD on NTFS partition it worked well and Ubuntu installator do not freeze. Previously SSD was empty and then with ext4 partition but for some reason Ubuntu installator did not liked that...


The following command, copied and pasted into a Terminal window, should install autokey:

sudo apt-get install autokey-gtk

Now I am no friend of the Software Center but the command line finds the package easily:

andrew@athens:~$ apt-cache search autokey
autokey-common - desktop automation utility - common data
autokey-gtk - desktop automation utility - GTK+ version
autokey-qt - desktop automation utility - KDE version
andrew@athens:~$

And trusty old Synaptic shows it clearly as well:

So perhaps follow my example and stick with these two :). The application installs fine from the command line on my Xenial installation:

Note: If testing this from a 'Live CD' you will need to enable the 'Universe' Repositories by following this path:

Dash --> Software & Updates --> Ubuntu Software

Then select the box 'Community-maintained free and open-source software (Universe).' Allow to reload and then install autokey-gtk as detailed previously...

References:

Package: autokey-gtk (0.90.4-1) [universe]


Removing exeuctable bit on ntfs stored linux files corrupts files

The execute bit on directories must be set to allow users to stat its contents. Without that bit, you get the output you describe. There is no corruption of the files at all, you just revoked your permissions to examine them.

Simply restore the execute bit on the directory to fix your situation, in your case using

sudo chmod a+x /mnt/e/var/lib/vnstat

Here's an example terminal log illustrating the behaviour:

$ ll folder/
total 0
drwxrwxr-x  3 bytecommander bytecommander 100 Mai 21 00:19 ./
drwxrwxrwt 19 root          root          460 Mai 21 00:21 ../
-rw-rw-r--  1 bytecommander bytecommander   0 Mai 21 00:19 bar
-rw-rw-r--  1 bytecommander bytecommander   0 Mai 21 00:19 foo
drwxrwxr-x  2 bytecommander bytecommander  40 Mai 21 00:19 meh/

$ chmod a-x folder/

$ ll folder/
ls: cannot access 'folder/.': Permission denied
ls: cannot access 'folder/..': Permission denied
ls: cannot access 'folder/meh': Permission denied
ls: cannot access 'folder/bar': Permission denied
ls: cannot access 'folder/foo': Permission denied
total 0
d????????? ? ? ? ?            ? ./
d????????? ? ? ? ?            ? ../
-????????? ? ? ? ?            ? bar
-????????? ? ? ? ?            ? foo
d????????? ? ? ? ?            ? meh/

$ chmod a+x folder/

$ ll folder/
total 0
drwxrwxr-x  3 bytecommander bytecommander 100 Mai 21 00:19 ./
drwxrwxrwt 19 root          root          460 Mai 21 00:21 ../
-rw-rw-r--  1 bytecommander bytecommander   0 Mai 21 00:19 bar
-rw-rw-r--  1 bytecommander bytecommander   0 Mai 21 00:19 foo
drwxrwxr-x  2 bytecommander bytecommander  40 Mai 21 00:19 meh/


CPU temps reach 90+ *C while compiling OpenCV

Step #1:

Blow out any dust from your computer, especially from the fans and CPU cooler. If your computer is older, thermal paste on the CPU's may need re-application.

Step #2:

I'd install thermald...

sudo apt-get update
sudo apt-get install thermald

Thermald was buggy in early versions of 16.04. Update to 16.04.2 and it should be ok.

Thermald comes with a default configuration file at /etc/thermald/thermal-conf.xml that will control most computers, but may need to be customized for some computers. See man thermal-conf.xml for some details and examples. Once one has modified the configuration file, stop thermald and restart it:

sudo service thermald restart

After installing thermald, I'd stop the thermald process, and run it manually as sudo thermald --no-daemon to watch its actions in real time. This real time info can be used to create your own customized thermal-conf.xml file. See man thermald for more information.

sudo service thermald stop
sudo thermald --no-daemon --loglevel=debug

You can search for thermald here on Ask Ubuntu to see what previous answers there are.

A good starter reference is at https://wiki.ubuntu.com/Kernel/PowerManagement/ThermalIssues


Stuck while upgrading from ubuntu 11.10 to 12.04

If it where my desktop/laptop I would ...
Backup user data to external storage and to a fresh install.

If your wifi adapter isn't working with a fresh install, then I'd do a 'lspci' and find the wifi adapter model and google that + ubuntu 12.04. It's almost certain that someone has already solved the issue for you. But I can't tell because you didn't post a lot of details other than a failed upgrade.