You need Minimum Resolution of 1024x768

Here is the Ubuntu 12.04 System Requirements

Minimum
Precise Pangolin (12.04.3 32-bit)

384 MB of RAM
700 MHz processor (about Intel Celeron or better)
5 GB of hard-drive space
VGA capable of 1024x768 screen resolution
Either a CD/DVD drive or a USB port for the installer media

Precise Pangolin (12.04.3 64-bit)

1 GB of RAM
Dual Core processor
10 GB of hard-drive space or SSD (the more hard disk capacity, the better)
Any graphics card with OpenGL 1.4 support (All GPUs released today by either NVidia, AMD or Intel; GPUs released by NVidia and AMD over the last 5 years; GPUs released by Intel after the GMA 950)
Either a CD/DVD drive or a USB port for the installer media
Internet access is helpful


Help me understand sizing of encrypted home partition

.ecryptfs is a special folder where the system stores the encrypted home folder data.

That data is mounted on each user's home directory, so you can see it decrypted and use it comfortably. Since you're the only user on your system, you see that folder has the same size as your home folder.

The mounting process is what makes it appear duplicated. Read more here:

http://help.ubuntu.com/community/EncryptedPrivateDirectory

Cheers!


How to setup SSH VPN in Network Manager?

Full SSH VPN support for NetworkManager:

https://github.com/danfruehauf/NetworkManager-ssh

Should compile and package itself quite easily. If anyone wants to maintain it for ubuntu it'd be really sweet.


Error 'libudunits2.a not found' when installing ggraph, Additional Error : object ‘scale_type’ is not exported by 'namespace:ggplot2'

I solved the first error 'libudunits2.a not found'
 by installing libudunits2 at command line :

sudo apt-get install libudunits2-dev

I next got a new error when I returned to Rstudio:
Error : object ‘scale_type’ is not exported by 'namespace:ggplot2'

I came across an old post from github which worked for me. Install in Rstudio with:

devtools::install_github(c("hadley/ggplot2", "GuangchuangYu/ggtree"))

with the following command to install ggraph in Rstudio:

install.packages("ggraph")


You don't mount a samba share using the internal path of the server. You use the network path to the share. In this case it's //172.16.0.10/ventas because ventas is the share name.

Try this instead:

mount -t cifs //172.16.0.10/ventas /mnt/importar -o user=externo,password=asd


VLC - much worse video quality than other players (horizontal stripes)

This problem may be related to the snap version of VLC, and the apt version won't have this issue.
Enter the command to install the apt version of VLC.
sudo apt install vlc

And enter the following command to remove the snap version
sudo snap remove vlc

I would suggest not to use snaps or flatpaks for widely available software unless you require the very latest version for some reason. snap is still quite a new technology. They consume more storage space, more bandwidth, and are slow on first startup compared to the the same software installed from apt.
Of course, snaps/flatpak are a great way to get software that is otherwise not available/hard to install, but for common software, they are really not required.


Wireless not working in spite of following every locatable work-around

Ndiswrapper is the least desirable option, in my opinion. Please get a temporary wired ethernet connection, open a terminal and do:

sudo apt-get install linux-firmware-nonfree
sudo modprobe -r b43 && sudo modprobe b43

Your wireless should now be working.


It might be your 3rd party software editor has created the file as backup and renamed it as index.html.save. It could be a temporary file created by the editor each time you hit Ctrl+S (save).


Ubuntu 13.04 on Gateway NV57H44u turns monitor idle even when told not to

Could you please share both screenshots for "Brightness & Lock" and "Power" from the System Configuration options.

Also, did you look into the /var/log/syslog to check if there is anything that could lead you to the root cause of your screen being powered off ?

Two more things:

Is there any script running on the crontab that could turn off the screen ?

Is there any application that could turn off the screen?

Regards.


You need to specify which printer to use. Either use lpr -P HP-PSC-1500-series ..., or set one of them (it? They have the same serial=. Confusion warning!), or set one as the System Default Printer, either via command line:

sudo lpoptions -d HP-PSC-1500-series

Or by using the CUPS web interface:

Open http://localhost:631 in a browser, then navigate to http://localhost:631/printers/HP-PSC-1500-series (You will be prompted for a username/password along the way. Enter your login userid and password).

In the Administration drop-down, select Set As Server Default, then click Go.


How do I flush out the DNS resolver cache?

You do that by restarting nscd

To install nscd Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below:

sudo apt-get install nscd

To flush DNS Cache do:

sudo /etc/init.d/nscd restart


After an upgrade to 14.04, grub menu shows both 12.04 and 14.04

It appears that the grub configuration file was not correctly generated.

You shouldn't need to re-install grub, but the command to do so is:

sudo apt-get grub-install /dev/sda

You definitely need to update the grub configuration:

sudo apt-get update-grub

This should remove the old entry.

If it does not, you may have old kernels still in /boot. There are several answers on how to remove old kernels if needed.


Bumblebee Screwed Up Unity. Can't Even do a Reinstall to Get it Back

purge nvidia driver. it should come unity back.

Edit:
purge xorg conf file( /etc/X11/xorg.conf) and install intel driver sudo apt-get install xserver-xorg-video-intel


Notebook overheating for no reason at all

If your Radeon graphics is definitely off and you are only using Intel then maybe installing Jupiter to handle your power management may help:

http://www.webupd8.org/2010/07/jupiter-ubuntu-ppa-hardware-and-power.html

Also, a less 3D intensive version of Ubuntu may help as well which would be less taxing on the graphics card...  Xubuntu is a great alternative...

Last, try updating to the latest Ubuntu 13.04 (or 13.10 in October) as every release has better driver support and newer features that manage the latest hardware better...


18.04 Problems with bind mounting a folder at bootup

Thanks for your responses folks. I have found a far more easy way to do what I wanted.

In the 18.04 desktop, there is a files app. If you click on preferences and select the behavior tab, there is a check box that enables you to create symbolic links. Having checked that box, when I right click on the target folder in my old hard drive, I am now able to create a link to that folder. The link appears as a new entitled "link to xxxx" alongside the original xxxx folder. I just cut and past that link to my home folder and renamed it by removing the words "link to" and the "xxxx" folder appears in my home folder on my new SSD drive. I have just tested it and it works so I guess that I get to keep my coconuts.


sudo apt-get install -y sensord

Use this to see what temp your computer is running. Chances are its an overheating problem.
Run sensors command after installing sensord and you should see something like this

acpitz-virtual-0
Adapter: Virtual device
temp1:         +0.0°C  (crit = +105.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +54.6°C  (high = +70.0°C)

If you want to know a little more about the program before you install it run apt-cache show sensord


Thunderbird suddenly opens PDF attachments with ImageMagick

I think I solved it myself: the problem was only occurring for PDFs sent by a certain colleague. Looking at the raw source of his mail, it says Content-Type: image/pdf, while for mails from other people it says Content-Type: application/pdf;. Searching around, it seems that there are many bugs related to Thunderbird's handling of mimetypes, see e.g. here.


Can't connect to networks, wireless or etho, after installing Ubuntu 12.10 on vostro 1500

write results of
ifconfig
for start
so that we can see what is running.
if it doesnt show any eth0, then add the outcome of lspci and lsmod

I know that there is no network so paste it on a key

if it shows eth, plug it in and go to network manage. alow wired network.


"Books & Magazines" in Software Center is empty

You can see what's available on the related website. Note especially that the "Available versions" on the left doesn't include Ubuntu 15.10, so it looks like books and magazines have been discontinued.

The reason nothing shows up for you is because the Ubuntu Software Center only shows software from the repositories you've enabled and none of those repositories contain any books or magazines. I'm not really sure which repositories are relevant.


Try booting into Ubuntu from your boot menu. It says at the end,

Boot successfully repaired.
You can now reboot your computer.

paste.ubuntu.com ko (), using paste.debian
paste.debian.net ko (), using paste2

Just go into BIOS and see.


I am sure the following script isn't optimal and it might even have mistakes I can't see myself. I'm very amateur at programming and I only do it as a hobby. I will be happy to accept criticisms or suggestions! :)

   Script using acpi

#!/bin/bash

# A script to make an alarm go off at desired battery thresholds

### Variables

BAT=$(acpi | grep -o [[:digit:]][[:digit:]] | head -1)
LOW_LVL=35
CHARG=$(acpi | grep -o "Charging")
CHARGING=0

### Functions

charging()
{
    ### Checks wether the computer is charging (1) or not (0)
    if [ "$CHARG 1" = "Charging 1" ]; then
        CHARGING=1
    else CHARGING=0
     fi
    echo $CHARGING
}

alarm_connect()
{
    notify-send -i /usr/share/icons/gnome/48x48/status/battery-low.png "Battery under 35%" "Charge it"
    paplay /usr/share/sounds/freedesktop/stereo/complete.oga
}

### Main

while true
do
    if [  $(charging) = 0   ]; then
        if [ $BAT -le $LOW_LVL ]; then
            $(alarm_connect)
             fi

    sleep 1m
done

Script using upower

#!/bin/bash

# A script to make an alarm go off at desired battery thresholds

### Variables

BAT=$(upower -i $(upower -e | grep 'BAT') | grep -E "state|to\ full|percentage" | grep -o [[:digit:]][[:digit:]])
LOW_LVL=25
CHARG=$(upower -i $(upower -e | grep 'BAT') | grep -E "state|to\ full|percentage" | grep -o "\ charging")
CHARGING=0

### Functions

charging()
{
    ### Checks wether the computer is charging (1) or not (0)
    if [ "$CHARG" = " charging" ]; then
        CHARGING=1
    else CHARGING=0
     fi
    echo $CHARGING
}

alarm_connect()
{
            paplay /usr/share/sounds/freedesktop/stereo/complete.oga
}

### Main

while true
do
    if [  $(charging) = 0   ]; then
        if [ $BAT -le $LOW_LVL ]; then
            $(alarm_connect)
        fi
    fi

    sleep 60
done

You can replace as desired:

The variables LOW_LVL to modify the battery % you wish to have the alarm go off at.
The sound and icon that appear with the notify-send, just check the path to them and you can find a diverse number of options there.
The sleep time. Example: sleep 60 = sleep 1m.

  Will using crontab and closing the terminal also close the cron process that is open?

No, closing the terminal won't stop the cron job. So if that's how you want to use it, run it from terminal and close it when you are done with it.


Edit /etc/resolvconf/resolv.conf.d/base from terminal with :

sudo gedit /etc/resolvconf/resolv.conf.d/base

In this, insert :

nameserver 8.8.8.8
nameserver 8.8.4.4

Save.

Reboot. You're done.


Lots of people like Ebox. It's in the repositories. They've changed the name to Zentyal, or perhaps that's a complete server with OS. In any case, you can have a look at it: http://www.zentyal.org/

It's very modular and seems very easy to use. Of course, products like that usually don't do much other than edit text files, so you could do it with an editor. Things like LDAP can be a little more complicated, though.


Steam on Ubuntu can't connect to steam servers

Do this

install the packages that steam says needs to be installed.

Install libgl1-mesa-dri:i386 and libgl1-mesa-glx:i386 with this command

sudo apt-get install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386

if that doesn't work you can do this. Run these commands.

sudo apt-get update && sudo apt-get dist-upgrade -y

Reinstall steam with this command.

sudo apt-get install --reinstall steam


How to use a video device in a lxd container?

It is possible to use a host video device in a LXD container.

I have verified it with an USB webcam attached to the host. The webcam can be added to the container as follows:

lxc config device add my-container video0 unix-char path=/dev/video0

After a restart of the container the /dev/video0 device was accessible in the container.

At least a webcam works as a character device. I have not checked whether this also applies to other video devices.

There was no need to configure the /dev/bus/usb/00? in the container. It seems that LXD 2.5 maps them by default.


How i can install wordpress & joomla in ubuntu 13.04?

Install Joomla!

Easiest way to install Joomla is Bitnami-Joomla! stack.

To install joomla! follow these steps;

cd ~/Downloads

sudo wget -c http://downloads.bitnami.com/files/stacks/joomla/3.2.0-0/bitnami-joomla-3.2.0-0-linux-x64-installer.run

sudo chmod +x bitnami-joomla-3.2.0-0-linux-x64-installer.run

sudo ./bitnami-joomla-3.2.0-0-linux-x64-installer.run

Then the Installer Setup will load and you just need to proceed with it !


/var/log/cron.log is obsolete, since cron logs via syslog. Did you install a non-standard cron?

See if any process has /var/log/cron.log open with

sudo lsof /var/log/cron.log

This should show no processes,

E.g.:

walt@bat:~(0)$ sudo lsof /var/log/backupninja.log
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
walt@bat:~(1)$ sudo lsof /var/log/syslog
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF   NODE NAME
rsyslogd 1534 syslog    6w   REG    8,5    15948 391680 /var/log/syslog

If lsof does show a process with /var/log/cron.log open, you'll need to adjust, reconfigure or terminate the process.

If no running process has /var/log/cron.log open, simply delete the file:

sudo rm /var/log/cron.log

cron logs should be viewed with journalctl, The New Way of Unified Logging. Please read man journalctl.

# do this once
sudo adduser $USER systemd-journal

# add to ~/.bash_aliases or ~/.bashrc
# tsjou "18-11-01 01:55:28" for journalctl --since
alias tsjou="date '+%y-%m-%d %H:%M:%S'"
alias jc=journalctl
# record beginning for journalctl
alias jstart="JSTART_TIME=\"\$(tsjou)\""
alias jend="journalctl --since=\"\$JSTART_TIME\""
alias jc5="journalctl --since=\"-5 minutes\""
alias jc10="journalctl --since=\"-10 minutes\""

Then, view the cron log with

jc -b 0  /usr/sbin/cron
jc -b 0  /usr/sbin/anacron


I can see the Minecraft .jar files but no mod folder

Open the terminal and type:

xdg-open ~/.minecraft

Inside that folder you should see a folder named Mods which is marked by a red arrow in the screenshot. That's where you'll put any Minecraft mods you want to install. If you don't see a Mods folder, make sure you've installed Minecraft Forge and restarted Minecraft.


Software Center won't start after interrupted installation

I solved my problem with the following command:

sudo dpkg --remove --force-remove-reinstreq kingsoft-office:i386

Found solution here: http://musaamin.web.id/solved-mengatasi-pesan-error-e-the-package-nama-paket-needs-to-be-reinstalled/


Ubuntu 11.10 in VirtualBox does not show anything on the desktop

You must have missed something when installing Ubuntu in VirtualBox.

This should help you: http://www.wikihow.com/Install-Ubuntu-on-VirtualBox


Help in deciding hardware for web server

15-60 users — even concurrently, which I assume this isn't — is not a busy site. You could get away with low-end hardware. If you've got a spare box in the office, that would do. You could probably even host it in a virtual machine on one of the existing desktops.

I would be against purchasing anything until you've got some sort of idea how the setup actually runs. Every website is different. How much they churn the database and filesystem differs. How much RAM they use differs. Get it running somewhere and see where the bottlenecks are.

The main problem is the backup process. It's not automatic and requires you to know what you're doing (you'll want to go through a dry and ideally a wet run before a real crash). They'll need to be stored off the server, ideally off-site. What happens if a meteor hits? What happens if you're standing next to the server when a meteor hits you both? Are there instructions on how to restore to new hardware? Is this all secure?

There's also a question about maintenance. You set this up and you're typically responsible for its uptime. It's not just software, hardware does blow up every so often. And the power consumption. And if you're making this internet-accessible, your upstream bandwidth at the office might not suffice.

I'd personally be looking to test locally but deploy to an off-site third party. There are thousands of VPS hosts (Linode, Digital Ocean, etc) that won't charge you more than $10-20 a month for a regularly backed-up service.

And then there's the software maintainance. If you're using popular open source software (like Drupal), the most important thing is keeping the thing updated. If you don't, your server will be compromised. That most commonly means hosting crapware to infect other people, send spam... But if can also mean the wholesale theft of customer data.

If you don't know what you're doing, and can't afford to learn, don't host stuff on the internet. Pay somebody to manage it for you. This typically means either paying for a website hosting account (often cheaper than VPS access) or paying for a managed server (typically +~$100/month on top of the hardware lease). They come with support and it's often worth it just for the peace of mind.


Started GNOME display manager.. Ubuntu 18.04 LTS GUI not booting

I had problems making a custom disk partition on the new machine I just built.

Loading Ubuntu 18.04 on it with my partition map had it ignore most all of the partitions and use one smaller one and it would not boot properly following the install.

Allowing the installer to make the map, being one large partition, a small 2Gig swap, solved the problem.  I can live with that but it gets weird on a 6TB disk...

Congrats to those doing this release, it all went really quickly to install and works great.  Just that one caveat.


E: Unable to locate package nepomuk-core-dev

sudo add-apt-repository ppa:kubuntu-ppa/backports and then sudo apt-get update solved issue.

Vijay13 solved the problem in a comment.


Try these keyboard shortcuts

Ctrl + C

or

Ctrl + Break


From there, you should be able to drop to some maintenance shell (if not already opened), where you may run fsck -yf /dev/sda1.

If there are any errors rerun fsck -yf /dev/sda1

To login as usual simply run exit and proceed normally.


How can GnuPG trust keyserver.ubuntu.com?

The parameter for receiving keys is the full fingerprint of two keys:

8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092
C598 6B4F 1257 FFA8 6632 CBA7 4618 1433 FBB7 5451

The fingerprint is calculated from the public key (I discussed OpenPGP key IDs on Super User, if you want more reference). GnuPG will realize that the wrong key was returned, if the calculated fingerprint of the received key does not match the fingerprint that was requested. With other words: you may not trust key servers (they're operated by random individuals, which might well have malicious objectives), but you don't have to, all information received from key servers must be validated anyway. The range of possible fingerprints is very, very large: it is not feasible to find a collision (the same fingerprint for another key), even if you have vast computing powers like agencies as for example the NSA might have). Do not trust short key IDs, though.

For the same reason, you may not trust a key server's results when searching for mail addressees or user IDs. Not only could key server operators return malicious information, but key servers also do not verify anything at all (everybody could upload keys for arbitrary mail addresses). You always have to validate keys on your own. There is nothing like keys trusted by default in GnuPG, not even the keys of the GnuPG maintainer. If you trust the source listing the Ubuntu key's fingerprints, you could sign them to make GnuPG aware you verified those keys.

There also is HKPS (HKP over HTTPs), but this does not change anything considering the missing verification of key server information; HKPS has only been introduced so a man in the middle cannot record what keys you retrieve from key servers.


Copy and paste a bunch of files with different name

Change directory to where you have the original files.

Then test with the following command line,

for i in *_original.*;do echo cp -p "$i" "${i/_original./_copy.}";done

and if it looks good, remove echo and do the copying,

for i in *_original.*;do cp -p "$i" "${i/_original./_copy.}";done


Open a Terminal window (Ctrl+Alt+T) and run this command (by pasting it into the Terminal and pressing enter):

sudo mv /etc/gdm/custom.conf /etc/gdm/custom.conf.old

You may be prompted for your password. As you enter it, you won't see any placeholder characters (like *). That's OK--just type it in and press enter.

Then when you reboot, you should see the login screen.

Please note that this answer does depend on the version of Ubuntu you are running. Ubuntu 11.04 and previous use GDM, so the above technique should work. Later versions of Ubuntu use LightDM instead, so the above technique should not be used with them.

Also, if you'd like to be automatically logged in to one user, but want to retain the ability to use another user account, you can do that--you can still log out or switch users, after you've been automatically logged in.


Ubuntu 14.04 Network Manager is not available after Sw-Update

Have you tried this, and enter in the terminal:

sudo apt-get install --reinstall network-manager

and then reboot, and it might work fine this way.


How do I find all packages which are manually downgraded

If you held some packages from upgrading, you can list them by

apt-mark showhold


Increasing the number of recently used items in KDE

KDE Forums - Feature Request: More Recent Documents : https://forum.kde.org/viewtopic.php?f=251&t=131544#p353228

by "google01103":

  try editing the kdeglobals file (in ~/.kde[4]/share/config or in
  ~/.config depending on what you're running)    the following section

   [RecentDocuments]
    MaxEntries=20

KDE4: ~/.kde/share/config/kdeglobals
KF5: ~/.config/kdeglobals

Editing the kdeglobals with the kwriteconfig / kwriteconfig5: KDE Forums - Howto: Recently used: https://forum.kde.org/viewtopic.php?f=67&t=119324#p301110

Note !
Use the right tool:

kwriteconfig is the KDE4 tool.
kwriteconfig5 is the KDE Frameworks5 (KF5) tool.


Should you format your disk running Ubuntu?

There never was a reason to format a disk in Windows unless for re-installing the OS or another OS. Defragmentation yes but that was inside Windows. Regarding the comment: people tended to format to get rid of malware in Windows but (to me) that is similar to blowing up the house to kill 1 mosquito. In general malware can be removed without a format but it was ofcourse the easiest method. We in general do not have malware (or it is installed deliberately by the user).

There is not really a need to format a disk on a regular base; when you re-install you can format but even then you can install the same OS without formatting. As long as you system does not go over 95% full there is also no reason to defrag the disk.  If you do reach 95% defragging is just a band-aid; you probably need a larger hard disk.

So no.


How come I can't resize Google Chrome's window less than 595px?

If for some reason you want to use Google Chrome and not Firefox for responsive work, we can utilize the Chrome Debugger to achieve this, below are the steps -

Click F12 to open debugger in Google Chrome.
Click the 'Dock to main window' button which is at the bottom left of debugger and arrange your debugger window so it's vertically aligned on the right side of your application.
Now you can move the separator line between your application and debugger to re-size the application to whatever responsive width you want.

Let me know if you need more details.

Hope it helps.


How can I easily clone my entire system?

The easiest way to do this is by using Gparted from Live CD/USB as suggested above. To do this have a look at the "Copying and pasting a partition" section in the Gparted manual. To reproduce the steps given in the link:

To copy a partition:

Select an unmounted partition. See the section called “Selecting a Partition”.
Choose: Partition → Copy. The application marks the partition as the source partition.

To Paste a partition:

Select an unallocated space on a disk device. See the section called “Selecting Unallocated Space”.
Choose: Partition → Paste. The application displays the Paste /path-to-partition dialog.
If you want you can adjust the size and location of the partition. See the section called “Specifying Partition Size and Location”.
If you want you can specify the alignment of partition. See the section called “Specifying Partition Alignment”.
Click Paste. The application displays the copy partition operation in the Pending Operations pane.


User in sudo group, but still being asked for password

Adding a user to the sudo group simply allows them to run commands as an elevated user - much the same as doas. As in this great answer for AWS the solution here is:

   $User ALL=(ALL) NOPASSWD:ALL

(Where $User is your User ID)

....and a complementary, be careful with no prompt in an elevated environment!


You can install Ubuntu from a live cd/dvd/usb to an empty hard drive or even one that contains another OS. But this apparently isn't an option in your computer. So you need to find an external cd or dvd reader. There are other more unusual options:If you have a hard drive with a fully installed and working copy of Ubuntu on it you can insert that hard drive in your computer and it should work.You can also clone the contents of a hard drive to another hard drive and then both hard drives will contain a working copy of Ubuntu. I would not recommend this last option because it has no benefit over installing Ubuntu from scratch.


Can you try something like this:

$ mkdir $HOME/.vnc
$ echo '#!/bin/bash
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
gnome-session &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
# or nautilus-desktop &
## if you need a terminal window: gnome-terminal &
' > $HOME/.vnc/xstartup
$ chmod 755 $HOME/.vnc/xstartup

before starting the vncserver.

Feel free to change the last lines of xstartup file as needed.

I will also recommend doing

$ sudo apt install  gnome-panel gnome

to install any missing gnome related packages.


Youtube Videos are Playing in Fast & Slow motion in Chrome & Firefox respectively

Take a look at this YouTube HTML5 Video Player.  It might be flash related since Adobe decided not to keep updated for flash under Linux.  Choose to use the HTML5 player instead of the Flash player for most videos.

Also you can try, disabling hardware acceleration in Flash by right clicking the video, and choose Settings.  Or you can reinstall your flash plugin.


Why does the decoration of windows eliminate in ubuntu 11.10?

This tends to happen with Compiz, I have found. Whenever this happens to me, my entire top panel disappears.

Whenever this happens, you can remedy it by running terminal (Ctrl+Alt+T) and typing

unity --replace

If terminal won't launch, use Ctrl+Alt+F1 and run the same command after you enter your username and password. After you run unity --replace, press Ctrl+Alt+F7 to return to your desktop.


How to make a persistent Drive using Startup Disk Creator

How to use this partition for a persistent install?

You can do it 'manually' at boot by adding the boot option persistent, but it is not very convenient.
You can edit the system part of the USB boot drive to include the boot option persistent. Then you get a system that will be persistent live automatically.

You can edit the iso file with a binary editing method as described at the following links,

in Linux with sed or
in Windows with HxD
and then clone the edited iso file, or
automatically with mkusb-minp

You can extract the content of the iso file and after that edit the file grub.cfg according to the following link,

help.ubuntu.com/community/Installation/iso2usb/diy

  Also a 64GB flash drive would allow over 60GB of persistence which seems a bit much.

  Is it possible to convert some of this space to a NTFS data partition?

You can do it in a procedure in several steps, if you have/make only one Ubuntu system (the persistent live USB pendrive) with the cloning method. But it will be complicated, and not recommended for beginners, because you cannot use the most user friendly tool, gparted.
Otherwise, if you have another Ubuntu system, you can do it when you make an extracted system according to the previous link. In this case it can be convenient to use gparted to edit partitions and to create file systems,

a casper-rw partition with ext2 or ext4 for persistence
a home-rw partition with ext2 or ext4 for persistence of the home directory (optional)
a usbdata partition with NTFS for exchange of data with Windows

This is home territory for mkusb. This tool lets you split the available drive space between a casper-rw partition and a usbdata partition automatically.

If you are happy with converting all of this space to an NTFS data partition, you can do it manually also with a cloned system and test it with the following steps,

Make a live-only drive with any cloning tool, for example the Ubuntu Startup Disk Creator or Win32 Disk Imager.
Boot into it without any [manually added] boot option and let it create a casper-rw partition automatically.
Reboot into it, this time with the boot option nopersistent and reformat the casper-rw partition to a usbdata partition with NTFS.
Checking: Reboot into it again without any [manually added] boot option , this time to mount the usbdata partition and write a small 'Hello World' file.

echo 'Hello World' > hello.txt

Checking: Boot into Windows, plug in the USB drive and read the small 'Hello World' file.

Please notice that without any casper-rw (and maybe home-rw) partition modifications of the Ubuntu system will not persist shutdown and reboot. In that context it is a live-only drive, where you can use the drive space behind the system to store data and exchange data with other systems, also Windows systems.

Step #3 and the command to create the NTFS file system is crucial:

xubuntu@xubuntu:~$ sudo mkfs.ntfs -f -L usbdata /dev/sdb3
Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.

xubuntu@xubuntu:~$ sudo partprobe
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.

xubuntu@xubuntu:~$ sudo lsblk -fm
NAME   FSTYPE   LABEL               UUID                   FSAVAIL FSUSE% MOUNTPOINT   SIZE OWNER GROUP MODE
loop0  squashfs                                                  0   100% /rofs        1.4G root  disk  brw-rw----
sda                                                                                119.2G root  disk  brw-rw----
├─sda1 ntfs     System              3AA4725CA4721B19                                   500M root  disk  brw-rw----
├─sda2 ntfs     Windows             786274A362746830                                 117.8G root  disk  brw-rw----
└─sda3 ntfs     Recovery            AAD474DDD474ACE7                                  1000M root  disk  brw-rw----
sdb    iso9660  Xubuntu 19.10 amd64 2019-10-17-12-50-28-00                            14.9G root  disk  brw-rw----
├─sdb1 iso9660  Xubuntu 19.10 amd64 2019-10-17-12-50-28-00       0   100% /cdrom       1.5G root  disk  brw-rw----
├─sdb2 vfat     Xubuntu 19.10 amd64 866D-0A62                                          3.9M root  disk  brw-rw----
└─sdb3 ntfs     usbdata             69F25A82472A1E2C                                  13.4G root  disk  brw-rw----

xubuntu@xubuntu:~$ cat /proc/cmdline
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed quiet splash nopersistent ---

xubuntu@xubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:    19.10
Codename:   eoan
xubuntu@xubuntu:~$


MacBookPro10,1 can't adjust backlight In Ubuntu, have tried everything

For anyone who finds this, I found a solution by accident when I booted using an old kernel (4.4.0-116-generic). Suddenly the backlight worked!


Ubuntu is an OS in the same way OS X, Windows, Solaris, and FreeBSD are OSes. It is the second and third to deepest software configurable, user updatable and changeable, parts of a computer right after the bios. Think of it as what you run all your programs and stuff in, not a program itself but instead a very complex collection of modules that make a computer work as we think they work.


mv fails with target is not a directory when using date

/etc/mysql/mysql.conf.d/mysqld.cnf.{,$(date +%Y%m%d%H%M%S)}

This expands to two files, so in total once brace expansion is performed you will have 3 command line parameters to the mv command. Verify that with echo instead of mv

When mv is invoked with 3 or more arguments it will treat all but last as files to be moved and the last item as destination directory where you want to move things.  That is

mv file1 file2 directory

If your goal is to move only one specific file, the curly brace expansion can be left out and use only  command substitution with date command


Gerbera to transcode *.avi videos to h264 mkv?

You should add option for output format - -f avi (force format), i.e

...
<profile name="ffmpegavi2h264" enabled="yes" type="external">
    <mimetype>video/x-matroska</mimetype>
    <accept-url>no</accept-url>
    <first-resource>yes</first-resource>
    <agent command="ffmpeg" arguments="-y -i %in -c:v libx264 -preset fast -c:a copy -f avi %out"/>
    <buffer size="4194304" chunk-size="524288" fill-size="1048576"/>
</profile>
...

Gerbera %out substitute temporary file without extension, so ffmpeg produce error - Unable to find a suitable output format without extension


Where to get daily news about new Ubuntu Phone apps?

Not officially from Canonical, but this RSS feed is working really well for me: http://hogsmeade.lieberbiber.de/appstorediff.xml

Here's the script that generates the RSS feed from the Store API, in case you want to host the feed yourself: https://github.com/Sturmflut/ubuntustorediff


Upgrade 17.10 - 18.04 wayland default, xorg freezes

There currently seems to be many problems with nVidia drivers in Ubuntu, perhaps due to bugs on nVidia's side.  Perhaps this will take some time to stabilize.  For now, I reverted to nouveau open source drivers, I removed the previous manual /etc/X11/xorg.conf that was pointing at nvidia, and finally I had my i3 window manager again.


How can I browse my search history in mps-youtube?

mps-youtube provides a special command for that:

history


When idle screen blanked with mouse pointer but not turned off

I've uninstalled NVidia X Server as described in Ubuntu 18.04 Black Screen after Blanking Screen question answer and that helped


Why ubuntu doesn't start getting ae_not_found error?

From the comments...

Boot to a Ubuntu Live DVD/USB, and in terminal, try sudo e2fsck -b 32768 /dev/sdb5.

It's all working now.


How to get Ubuntu 12.10 nVidia FX 5200 Driver to work?

To stop X on Ubuntu to install the official nVidia drivers, hit Ctrl+Alt+F1 login, then type sudo service lightdm stop

You should then be able to run the installer from the command line without the X error message.  When your done with the install (there will be a few errors, ignore them), restart and all should be good.

This is how i was able to install the 6200 drivers on 12.04LTS at least.


Where should I save temporary files of the app I am developing?

I reckon you want to use the xdg module - in fact, I think this is suggested in at least one of the app showdown workshops.

The xdg module provides a means to get a base path for where certain files should be stored.

So, for temporary files, ~/.cache seems like a good bet.

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

  $XDG_CACHE_HOME defines the base directory relative to which user specific non-essential data files should be stored. If $XDG_CACHE_HOME is either not set or empty, a default equal to $HOME/.cache should be used.

Example:

import xdg.BaseDirectory
import os

temp_path = os.path.join(xdg.BaseDirectory.xdg_cache_home, 'app_name', 'downloads')
print temp_path


How to enable my terminal's ctrl + shift + c?

Checkout Keyboard shortcuts... from Edit menu.


How can I fix screen tearing in google chrome?

screen tearing probably is mostly graphic card issue.

if you use nvidia,
you can try :

screenshot

Load "nvidia-settings"(see screenshot) and you will need to go to this screen and then hit “Advanced” at the bottom (my screenshot doesn't have the button, as this is what you see after you hit it).
Tick the boxes for “Force Composition Pipeline” and “Force Full Composition Pipeline” and then hit "Apply".
Then you can then enjoy a tear-free experience on Linux with an NVIDIA GPU.

make sure you update to latest graphic driver by adding this repo in terminal:

sudo add-apt-repository ppa:graphics-drivers/ppa -y

also, it's better to post your system configuration before posting to help getting accurate answer by running in terminal:

inxi -Fxxrzc0

and paste the result to gist or pastebin.

hope this helps.


Lubuntu 20.04 windows too big for the screen

Change in Lxqt appearance - widgets - qt style - Windows.
And tool bar button style - text appears under the icon.
Font - ubuntu light - bold - 10
Now Qterminal preference bottom menus appear.
Else change widgets style to windows in qt preferences, makes qt preference bottom menus appear.
Auto-hide Panel can also be done to view the menu. Right click bottom taskbar (panel) -> configure panel -> tick mark the Auto Hide.


Yes. Try Audacity, which is a cross-platform easy-to-use piece of software for multitrack audio editing, which will allow you to do what Easy Audio Cutter does and a lot of additional tasks.

Screenshot from the official website:

To install it you can simply hit the Software Center and run a search for Audacity, or in a terminal drop the next command line:

sudo apt-get install audacity

Provide your user password and wait for the software to finish installing. Then run it via your favorite launcher or in a terminal write audacity and press enter.

Good luck!


Where can I find a complete list of the ranking of the Ubuntu App Showdown's applications?

I don't see an overall ranking anywhere, but I suspect if it does become available, then it should show up on the blog feed here.  This is also where they plan to do community voting according to a link from an Ubuntu tweet.


Just saw that I never explained how I finally get that source package to be built and accepted by Launchpad :)
As GDevelop is open source, the best thing to do for someone looking to create such a package would be to look at the script making the source package for the software: https://github.com/4ian/GD/blob/master/Binaries/Packaging/PackageForUbuntu.sh

Most of the work is done by debuild. Build system is automagically guessed which is nice but it won't work if your software need additional parameters: you can override most arguments passed to packaging tools using the rule file.

Build dependencies should be listed in the control file. Real dependencies are then computed when built on Launchpad.

Finally as you may have seen by looking at various tutorials/documentation, some files (compat, source/format) with esoteric content should be added ;)


It seems that the specifications of your machines are below the recommended for Ubuntu 13.10. I'd suggest to install Lubuntu 13.10 on your machines due to the fact that this version (Lubuntu) is much lighter than Ubuntu and would run much better on the machines you have. What you tell (behavior of the installation) says that you are very low on RAM for a normal Ubuntu installation.


After updating MySQL password in safe mode, I still cannot login to phpmyadmin

There is some missing information here in order to get you where you need to be. If you restarted MySQL in safe mode, did you change the password for the root user? Is there multiple root users in the user table? For instance you may have root@localhost, root@%, root@.

Once you make changes to the user table you need to FLUSH PRIVILEGES;
If you don't your changes (ie. password being updated) will not be reflected.

If your my.cnf (MySQL config file) has the server limited to localhost access only, you will not be allowed to access MySQL from outside the server, so if for instance your PHPMyAdmin is running on another machine, this will not be allowed. Cartain config changes may require you to restart MySQL as well, so try taking a look at what I have mentioned here and see if it helps, otherwise provide some more info so that we can help you further.


Java_Home problem, i can't find java's path

You have java 1.7 installed, as I see from java -version

If you want to know where is some executed command is located - use which command.

$ which java
/usr/bin/java

Quote from man:

DESCRIPTION
       which returns the pathnames of the files (or links) which would be exe‐
       cuted in the current environment, had its arguments been given as  com‐
       mands  in a strictly POSIX-conformant shell.  It does this by searching
       the PATH for executable files matching the names of the  arguments.  It
       does not follow symbolic links.

But usually /usr/bin/java is symlink, so to identify real location of java binary use namei command.

$ namei /usr/bin/java
f: /usr/bin/java
 d /
 d usr
 d bin
 l java -> /etc/alternatives/java
   d /
   d etc
   d alternatives
   l java -> /usr/lib/jvm/java-8-oracle/jre/bin/java
     d /
     d usr
     d lib
     d jvm
     d java-8-oracle
     d jre
     d bin
     - java

As you can see, in my case, my java command is linked to /usr/lib/jvm/java-8-oracle/jre/bin/java. Java itself located in /usr/lib/jvm/java-8-oracle. So JAVA_HOME variable should look like:

JAVA_HOME=/usr/lib/jvm/java-8-oracle

If you do this steps you can find your JAVA_HOME, my bet that it is /usr/lib/jvm/java-7-openjdk-amd64


How can I adjust the scroll sensitivity down?

I'm only aware of a way to fix this within Firefox itself, not Ubuntu-wide.

In your address bar, type about:config and then change mousewheel.withnokey.sysnumlines to false and mousewheel.withnokey.numlines to a number smaller than the default of 6.

Unfortunately, it doesn't seem that Ubuntu's Mouse Preferences has a way to change the scroll wheel's behavior. You can find Mouse Preferences by hitting the Super key (or Windows key) and typing Mouse.


How to install Wubi without Administrator privileges in Windows

If you are not the administrator for Windows and don't have permission to install programs , no . The Ubuntu installation starts from the windows boot loader would be visible when the computer starts as a boot option . It would best to get permission to install and run Ubuntu .


Sure, but it depends what you mean by recover.

The ability of a computer to recover on any operating system depends on the following things:

Resilient hardware. Power failures are indicative of poor power networks. These can otherwise fry cheap and bad components. If you get a power spike post-cut (as is very common) your computers might suffer hardware failure.
Is BIOS set to turn back on after a power cut?
Disk integrity. Are your partitions using journalled write buffers? Are RAID cards using battery backed write buffers?
Are you applications saving stuff automatically?

So we can look at software and I'd certainly make sure things you use a lot are doing autosaves, but if you're in a situation where failure is likely, I'd seriously recommend sticking a battery between the computer and the grid.

You can configure Ubuntu to suspend on power failure. For most desktops this means you can get many hours of suspend. That's usually enough to get you through all but the worst power cuts and if that looks likely, you might have enough power to resume and save what you need.


How do I develop my own display manager?

I'v got it!!!
I think that new greeter is enough for our project.
So here is example of writing custom greeter for LightDM.
http://www.mattfischer.com/blog/?p=5


I removed my video card, and my login screen vanished, too

Can you hold down the left shift key on boot and use "Recovery Mode"?

If so drop to a root shell and run:

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak


My laptop (details below) does not have use of the FN control keys and does not sleep - how could I debug/fix this

Lenovo's support page suggests:

Access the BIOS (method to enter BIOS in Windows 7, Windows 8/8.1, Windows 10).
Once in the BIOS menu, select the Configuration tab.
Select Hotkey Mode and set to Disabled.
Save and Exit the BIOS menu (press F10 and then Enter).

They also list the defaults for their function keys.


xen hypervisor wont boot from grub and "Can't find hypervisor information in sysfs!" error ubuntu 14.04

Although the community wiki states that as of Ubuntu 14.04, GRUB will automatically choose to boot Xen first if Xen is installed, it doesn't if you don't run Ubuntu (16.04) in English.

To be able to select the right kernel at boot open /etc/default/grub

sudo nano /etc/default/grub

and comment out the following 2 lines by putting a # in front of it and set GRUB_TIMEOUT to let's say 5

#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5

next update Grub and reboot

sudo update-grub
sudo shutdown -r now

You should now be able to to select the right kernel in the grub menu and boot your system with Xen enabled. If you want to boot your system with this kernel by default write down the translation of "Ubuntu GNU/Linux, with Xen hypervisor". In my case (Dutch) that's "Ubuntu GNU/Linux, met Xen-hypervisor" and open /etc/default/grub.d/xen.cfg when booted.

sudo nano /etc/default/grub.d/xen.cfg

Replace GRUB_DEFAULT="Ubuntu GNU/Linux, with Xen hypervisor" with GRUB_DEFAULT="translation" at the bottom of that file and undo the changes you made in /etc/default/grub. Update Grub again and reboot with Xen enabled by default ...


First you have to remove the package apache2.2-common

sudo apt-get remove apache2.2-common

and perhaps some more, before you can use the PPA ppa:ondrej/php5.

If you see an error message like this

trying to overwrite '/usr/share/man/man8/apache2.8.gz', which is also in package apache2.2-common 2.2.22-1ubuntu1.10

remove the package which is named between which is also in package and the version, e.g. 2.2.22-1ubuntu1.10.


How do I remove a grub Partition from my hard drive?

The first thing we have to do is determine where the critical data is. Since you state that it's on the volume that contains Ubuntu 16.04 we can simply mount the usual suspects and examine the content of /etc/issue On a 14.04 install (the one you don't want) the content will be start with:

Ubuntu 14.04

On a 16.04 install (the one you want) will of course start with:

Ubuntu 16.04

In the case of /dev/sdb5 and /dev/sda5 these partitions appear to contain volume groups.

I assume you already have the lvm2 package installed. You can determine what logical volume to mount on each of these partitions and how to do so by following the guidelines in both the Q & A here.

Once you've successfully mounted the correct volume and located your data it's a fine idea to back it up. There are numerous tools available for this task. I would avoid backing up to either of the internal drives (sda and sdb) in question at this point for safeties sake and ideally backup the critical data to another drive entirely.

Once you've correctly determined the appropriate installation and backed up your critical data you can reclaim (de-allocate) the space used by the previous installation that you don't need and then simply extend the volume you wish to add space to. Or you could simply revert to your original plan of booting and running the OS off of the SSD (dev/sdb) and utiltize /dev/sda for your /home directory (data storage)


Downgrade the kernel.

The kernel that came with 14.04.1 was 3.13.0-32-generic. The kernel that worked was 3.13.0-24-generic. It is available in the repositories.

How to get it?

Boot from a LiveCD/flash drive and open a terminal.

Now, we need to load ourselves into the computer's new, non-functional OS:

sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt

After the final command all commands you type are now executed as though you had actually booted up the computer. This is handy, because it means we can use:

sudo apt-get update
sudo apt-get upgrade

To grab the latest packages and install them.

We can think downgrade the kernel with:

sudo apt-get install linux-image-3.13.0-24-generic
sudo apt-get install linux-image-extra-3.13.0-24-generic

We can then be sure that GRUB is updated using:

sudo update-grub

If initramfs complains about things, you may need to run:

sudo update-initramfs

After installing the kernel and updating grub, reboot.

Start-up will probably fail again by showing a blank screen or one with a single blinking cursor in the upper left. Ctrl+Alt+Delete to restart a second time.

Now, the GRUB menu will show. Head to Advanced Options for Ubuntu, and boot into the older kernel.


My experience is with ntp rather than openntpd.

You should know that the NTP protocol usually starts with sending packets every minute (64 seconds), but usually settles in by sending and receiving one packet every 17 minutes for each server you have in your /etc/ntp.conf file. Network outages or an unstable clock in your device may increase this, however. Each packet has a payload of about 68 bytes, so that's probably a little more than 100 bytes, each way, per poll.

The rdate and ntpdate at network up time are good ideas for setting the time. And if that is all you need should work well for you.

If you need to keep the time in sync over an extended time, however, the ntp protocol was designed to do that. The clock in your device will run a little fast or slow depending on how warm or cool it gets, even though it probably has a crystal controlled clock -- and ongoing timekeeping is meant to adjust for that.

Here are some suggestions if you need ongoing timekeeping and wish to reduce bandwidth used. They refer to items in ntp.conf.

Don't use iburst. (But it will take more time to set the time initially).

Increase minpoll upwards from 6 (2^6 seconds is 64 seconds). This reduces traffic when the protocol starts up after the network comes up.

Increase maxpoll upwards from 10 (2^10 seconds is 1024 seconds or about every 17 minutes. You can go as far as 17 to poll about every 36 hours. I haven't tried this myself.

Use only a minimum number of servers, if you had one that can be reliably reached from your embedded devices, that would have been great. The more servers the more reliable the timekeeping can be, but traffic scales up, so it is a trade off.


Crash while update to 16.04. Can't boot now

That means you ended in a "server" version (so with no working desktop).

The login in the normal login you see on a server. But it should let you log in with any of your accounts. If it does not more is wrong.

Boot into a live dvd and mount the disk that has your /home/ on it. Go to /home/$USER/ and do a tail -n 100 .xsession-errors and see if it holds errors.

Next check with ls -la in /home/$USER/ that the properties are ...

-rw-------  1 rinzwind rinzwind      57 aug  2 09:03 .Xauthority
-rw-------  1 rinzwind rinzwind     153 aug  2 09:03 .xsession-errors

(the name rinzwind should be your user name) for these 2 files.

Edit your question with the result. If you want we can see if we can get it back up by fixing any errors you found. I assume your password will be correct and it kicks you back to login due to problems with the login part.

If you need it start making a backup of your files now.

You could then forget about it all and re-install. That would get you back and restoring your backup will get you your files back too. All you will be missing is software you installed and settings you changed.


SSH into Ubuntu 12.10 from a remote computer

Here is what I do,

Set up port forwarding on your router, you really don't need to change the ssh port on the ubuntu box, just forward port X from the router to port 22 on the box.
Set up dynamic dns on your router if possible.  It will allow you to type "ssh my-username@mybox.here.com:port"  Look here for basics on dynamic dns.


pcie bus error severity=corrected type=physical layer id=00e0(receiver id) login screen

While your system is booting, hold down Shift to get the GRUB menu. This should be done soon after turning your computer on/rebooting.

With Start Ubuntu selected, press E to edit boot parameters. You should see multiple lines of text. Find the following line:

GRUB_CMDLINE_LINUX_DEFAULT=

There may or may not be parameters after the equals sign. Typically, they will be "quiet splash", but if they are different, it does not matter. You'll want to add pci=nomsi between the quotes. If there are other parameters in the quotes, add a space after the last parameter. For example:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"

Again, you don't have to have quiet and splash. If it looks different, it is not the cause of your issues anyway.

Once you're finished, press Ctrl + X to boot. Test your system out. If it works, you need to make the change permanent. To do so:

Open /etc/default/grub in terminal with your preferred text editor. Will use nano for these instructions.

sudo nano /etc/default/grub

Now repeat what you did with the boot parameters. Add pci=nomsi to GRUB_CMDLINE_LINUX_DEFAULT= and then save with Ctrl + O and enter. Exit with Ctrl + X. Then run:

sudo update-grub

The boot parameter will now be used each time you start up.


The user you're using doesn't have root permission to create the folder in Desktop so use the sudo command:

example:

cd hadoop/bin
sudo ./start-all.sh


Ubuntu Desktop 21.04 - Blender doesn't start anymore after update on Raspberry Pi 4

Blender has been switched to a newer OpenGL version. The latest version, that supports older GPUs is 2.79. You can grab it here: https://www.blender.org/download/previous-versions/


To install the driver, follow these instructions:

Boot into recovery
Run sudo apt-add-repository ppa:ubuntu-x-swat/x-updates && sudo apt-get update && sudo apt-get install Nvidia-current in a Terminal
Reboot
Profit!

If you cannot boot into GRUB, boot into a live CD
Open a Terminal
Run sudo apt-get update && sudo apt-get install boot-repair && sudo boot-repair
Choose the recommended repair
Follow the instructions
Reboot
Follow the instructions to install the Nvidia drivers.


How to replace/update python-eggtrayicon in 14.04?

I found a solution here, using appindicator.


Activate driver and complete installation

It looks like the two problems are unrelated.

To get the wireless driver (probably Broadcom's STA), plug in an ethernet cable and try installing it.

To fix the 'disk problems', I'd try formatting. Something must have gone wrong when creating partitions.


Problems with making a bootable USB Drive on a Mac

You should use unetbootin it is SO MUCH EASIER just reformat your disk and then throw the iso onto the flashdrive using unetbootin. http://unetbootin.sourceforge.net/


Go to Language Support and Locate Keyboard input Method System and change it from Ibus to None.


You need command substitution syntax around the mysql_config command; either with 'backticks':

gcc createdb.c -o createdb -std=c99 `mysql_config --cflags --libs`

or with $(...)

gcc createdb.c -o createdb -std=c99 $(mysql_config --cflags --libs)


preventing transmission-daemon from auto start?

On newer versions using systemd it is a bit different.
Check if it is enabled with:
systemctl status transmission-daemon.service
Which will return something like:

transmission-daemon.service - Transmission BitTorrent Daemon
   Loaded: loaded (/lib/systemd/system/transmission-daemon.service; enabled;

The enabled; means it will start on boot. To stop from starting on boot run:
sudo systemctl disable transmission-daemon.service

Now check the status again:

transmission-daemon.service - Transmission BitTorrent Daemon
   Loaded: loaded (/lib/systemd/system/transmission-daemon.service; disabled;

It should now be disabled;


How to move Ubuntu from one disk to another while keeping windows (using clonezilla?)

I have never done it, but if I had to I would:

Setup a bootable CD / USB stick with boot-repair. By moving systems around you're likely to break your boot, so boot-repair is a good thing to have in case you can't boot.
Make a full backup of the disk with clonezilla and store it somewhere secure (like an external hard drive that won't be connected during the following process). Make sure you have an image of the whole drive, not just the partitions.
Shut down, plug the new disk, boot normally and format your new disk as you want it.
Reboot on boot-repair.
From there, you have a pretty full-featured ubuntu, only with the addition of boot-repair. You can copy the system files from /dev/sdc5 to your new disk (let's say /dev/sdd1). Important: use cp -a to get an exact copy of the system (with symbolic links preserved and all). A normal copy (including through nautilus) would probably break a few things (and you would realize it only much later on).
Edit /etc/fstab and point / to /dev/sdd1
Execute boot-repair (I don't remember if it's on the desktop or the sidebar, or if it starts automatically... I only used it once or twice but I remember it was pretty obvious).
Boot-repair should recognize Windows and your 2 Ubuntus. You might want to edit your old system out. If the copy isn't seen at this point, you can still cancel everything, just restart normally, because you haven't modified your system yet (we just copied the files, not deleted them).
Reboot. If it didn't work, don't panic, boot on boot-repair again and try other settings. I had to do that a couple of times before it actually worked.
Reboot on Ubuntu, making sure you are on /dev/sdd1. Open Gparted, remove the old Linux and resize your Windows partition. Last time I did that it was with Vista, next time I booted on Windows I had to insert the installation CD to repair Windows, and then use boot-repair because it did override the bootloader. Maybe things improved since then, maybe not.

This should really work easily, although I never went through all these steps at once. If anything goes wrong before step 6, you still have your system intact. If anything goes wrong after that, you have a backup of your disk with clonezilla that you can restore. Although before step 9 you really still have your old system on which you can boot normally, which means you can check your system works before you erase it.

Long story short, whatever you choose to do, the only things that can (and will) happen is a broken boot that can be easily fixed by boot-repair.

PS: to answer on the usage of clonezilla, I wouldn't attempt to restore a clonezilla image on a drive of a different size, but anyway if it works this would basically be the same as a cp -a. And you'd have to use boot-repair anyway to be able to boot on your new system, so it looks a bit overkill to me.


Is there a way to run my Windows VB.NET program through Mono?

Ok I figured it out. You can't simply compile your .net code under Windows and then expect it to run under linux like this:
mono myprog.exe

You have to compile it under Linux first - so first download the vb compiler
apt-get install mono-vbnc

then copy your source code over and compile like this
vbnc myprog.vb

then run like this:
mono myprog.exe

Hope this helps someone!


update-rc.d is deprecated in favor of using systemctl instead, part of SystemD, from 16.04 onwards.

Try using the following commands instead:

sudo systemctl disable clamav-daemon
sudo systemctl disable clamav-freshclam

Note that you can.ot completely remove these, if you intend to use the antivirus again, and you'll need to have at least the ClamAV Daemon running because that's what does the actual scanning from a clamscan call.  However, this should disable the two processes at startup.


Intel Realsense D435 Camera Not Detected

I believe the kernel needs to be patched but there's no patch script for groovy.  You need to use 20.04 LTS.


Ubuntu 16.04 server as file server for small business using samba? is it legal

Local, Regional, and Ethical laws aside, you can use Ubuntu server for whatever you need. Ubuntu is free and community driven, so people use it for many different things. There is no EULA with Ubuntu (like there is with Windows and Mac) so you have total control, but you also must take all the responsibility for your actions.

IE, if your local or regional laws prohibit file sharing (you'd have to read up on this yourself or find an answer on another site), then you, not Ubuntu, would take all the responsibility for your actions.

And on a side note, what you are doing sounds reasonable / ethical, as long as you own the shared data and the shared data is distributed. Otherwise, all I and anybody else at Ubuntu can do is shake their finger at you.


finding what's running on screen session

The best way would be to strace the PID.

For example; screen sessions are located in /var/run/screen/<screen session>. If you ls in that directory you'll see the PID of the session.

You can then strace -p <pid> on that PID. It wont be pretty but it's the closest you'll get.


Yes. Create a Folder on the hard drive and symlink it to the folder which you want to keep in Evolution, for archiving.

Direct Evolution to save your emails in that folder. For more information and tutorials LOOK HERE


Follow the steps

 cd /etc/apt/sources.list.d/

 sudo -H gedit noobslab-ubuntu-macbuntu-yakkety.list

A file will open and first line will be something like this

deb http://ppa.launchpad.net/noobslab/macbuntu/ubuntu yakkety main

replace yakkety with xenial so that this line becomes

deb http://ppa.launchpad.net/noobslab/macbuntu/ubuntu xenial main

save and exit the file and

sudo apt-get update

Now try to install mac theme using this answer

For removing mac theme:

In case installing mac theme is not supported by your system, uninstall using:

sudo apt-get install ppa-purge
sudo ppa-purge ppa:noobslab/macbuntu
sudo apt-get update

OR

sudo apt-add-repository remove ppa:noobslab/macbuntu


Detaching from screen inside a byobu session

Try letting go of ctrl after the first a, so the sequence is ctrl-a, a, d. Man screen:

   C-a C-a     (other)       Toggle  to  the  window  displayed previously.  Note that this
                             binding defaults to the command character typed twice,  unless
                             overridden.   For instance, if you use the option "-e]x", this
                             command becomes "]]".

   C-a a       (meta)        Send the command character (C-a) to window.  See  escape  com‐
                             mand.

Or if you're using tmux instead of screen for Byobu, try just ctrl-a d. Byobu's default prefix key is ctrl-b, so if you're using that default, doubling up the ctrl-a keystroke would not be necessary.


I had the same issue with Gnome Shell: 3.8 / 3.10 / 3.12:

From this answer:

  If this does not work, there is something else overwriting your
  settings. Probably your desktop environment. As a workaround, you can
  use this script:

#!/bin/bash

sleep 10
xrandr --output DVI-D-0 --mode 1920x1080
echo "Script was run"

  The sleep is needed to make sure that the Desktop Environment has
  finished starting before the script is run. That way, you know that it
  will be run after the DE has reconfigured your screens. Make the
  script executable and add it to your startup applications. That should
  do the trick.


Wi-Fi doesn't work on Ubuntu 18.04.1 LTS (RTL8723BE)

What kernel version are you running?

You can type uname -r in a terminal to get it

I spent long hours to figure out that the problem had something to do with the 4.15.0-33-generic kernel. I switched to the previous one (-32) and everything worked again.

However, i just managed to install the "rtlwifi_new" you mentioned, and now wifi seems to be fine even on latest one.

So, on the 33 kernel, I plugged in the eth cable and executed the following commands:

sudo apt-get install build-essential git
git clone https://github.com/lwfinger/rtlwifi_new/
cd rtlwifi_new
make
sudo make install

And in rc.local script I've put these two commands:

sudo modprobe -r rtl8723be
sudo modprobe rtl8723be ant_sel=1

Then I rebooted the system

Hope this can help


Why am I only able to boot ubuntu from recovery mode?

It sounds like you're experiencing some nvidia/display driver issues as you mentioned.
9 out of 10 times when this happens it's a bad driver or a corrupt file system.
If Ubuntu is not declaring to run in a read-only file system when you booted or when you try to auto-complete commands from the commandline for example, then its most likely an nvidia issue.
since you have nvidia and a laptop, I'm going to assume it has an intel processor.
that makes it so that you need to use nvidia optimus to twitch between the performance and discreet modes of the dedicated GPU. It also means that probably the reason the OS is stuck on a regular boot and not the recovery mode is because the recovery mode uses the nouveau drivers (propietary intel display drivers)
and while they boot more easily, they are also very bad to use, especially when you have an nvidia card.
I cannot derive from the context of your problem if the ubuntu install has worked in the past and it broke, or it has been broken since installing, but I would suggest the following:
sudo apt-get install linux-headers-generic
sudo dkms remove nvidia
sudo apt-get install nvidia-current
sudo nvidia-xconfig
sudo reboot

if this does not solve the problem, first correctly install nouveau drivers, reboot so you have working graphical user interface like normal, do the steps outlined above (or install the nvidia drivers with software center, but I recommend terminal, it will actually show what is going wrong during the install and software center does not show you.) that will install nvidia drivers.
after that you can blacklist the nouveau drivers.
alternatively, you can add nvidia Xorg server (the nvidia settings app for ubuntu)
to start with an additional argument so it always boots on performance mode.
might be useful if you play games. if not then maybe you could use power saving mode by default.
install nouveau:
sudo apt-get install xserver-xorg-video-nouveau

Realistically you should be able to reboot into normal ubuntu now.
now from terminal again do a:
gksu gedit

From the gedit open /etc/modprobe.d/blacklist.conf.
Add this line at the bottom: blacklist nouveau
Save the file, and open /etc/modprobe.d/nvidia-graphics-drivers.conf
Add these lines:

    blacklist nouveau
    blacklist lbm-nouveau
    blacklist nvidia-173
    blacklist nvidia-96
    alias nvidia nvidia-current

Now save this file, and close gedit.
Run:
sudo nvidia-xconfig
and then:
sudo apt-get remove xserver-xorg-video-nouveau
followed by:
sudo shutdown -r now

Check drivers in use for search term "VGA". This should display both intel and nvidia (unless you remove nouveau, ofc.)
lspci -k | grep -A 2 -i "VGA"


Ubuntu 18.10: Ubuntu Software Center asking for authentication when (username) has no password

It seemsorg.debian.apt.policy is not relevant for the Ubuntu Software Center anymore. In the same directory (/usr/share/polkit-1/actions/ ) you'll find the file io.snapcraft.snapd.policy, which is relevant for snap packages. In the file find the line:

<action id="io.snapcraft.snapd.manage">

under that line change

<allow_active>auth_admin_keep</allow_active>

to

<allow_active>yes</allow_active>.

Another file in the same directory you'll need to edit is org.freedesktop.packagekit.policy in order to install packages via apt. In this file you'll find the following "action ids":

<action id="org.freedesktop.packagekit.cancel-foreign">
<action id="org.freedesktop.packagekit.package-install">
<action id="org.freedesktop.packagekit.package-install-untrusted">
<action id="org.freedesktop.packagekit.package-reinstall">
<action id="org.freedesktop.packagekit.package-downgrade">
<action id="org.freedesktop.packagekit.system-trust-signing-key">
<action id="org.freedesktop.packagekit.package-eula-accept">
<action id="org.freedesktop.packagekit.package-remove">
<action id="org.freedesktop.packagekit.system-update">
<action id="org.freedesktop.packagekit.system-sources-configure">
<action id="org.freedesktop.packagekit.system-sources-refresh">
<action id="org.freedesktop.packagekit.system-network-proxy-configure">
<action id="org.freedesktop.packagekit.device-rebind">
<action id="org.freedesktop.packagekit.upgrade-system">
<action id="org.freedesktop.packagekit.repair-system">
<action id="org.freedesktop.packagekit.trigger-offline-update">
<action id="org.freedesktop.packagekit.trigger-offline-upgrade">
<action id="org.freedesktop.packagekit.clear-offline-update">

Underneath the associated description and message tags change the line:

<allow_active>auth_admin_keep</allow_active> or <allow_active>auth_admin</allow_active>

to

<allow_active>yes</allow_active>

After these changes you'll be able to use the Ubuntu Software Center without authenticating. You might have to reboot first.

However it is not recommended to use Ubuntu without sudo authentication.

Kind regards, Jeroen.


Adjusting the display backlight on HP ZBook 17 G4 with Nvidia Graphics

Adjusting brightness with software controls
When you lack hardware controls to adjust brightness the only option is via software.
Find your monitor name using xrandr
Run this command to find monitors connected to xrandr:
$ xrandr | grep connected | grep -v dis
eDP-1 connected primary 1920x1080+0+1080 (normal left inverted right x axis y axis) 382mm x 215mm
DP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1107mm x 623mm

For me it is eDP-1 but on your system it is DP-3
Set --brightness in xrandr
You can set brightness to screen off 0 to full bright 1.
You can set it above full bright ie 1.5 but your colors will become overly saturated.
A good starting point for a screen that is too bright (hard on your poor eyes) is .5
xrandr --output DP-3 --brightness .5

From there you can adjust accordingly.


I can partially answer some of your questions.

To try and enable "Natural Scrolling" on the touchpad, open the Settings control panel and look to see if this setting is available for your touchpad...

To disable the login screen, open the `Settings -> Details -> Users', and change the following item...

To disable the touchpad when typing, I like Touchpad Indicator GNOME Shell extension.

Find it at https://extensions.gnome.org/extension/131/touchpad-indicator/


Internet through proxy in Ubuntu VirtualBox: works for apt and Firefox but not for other softwares

Solved the problem with editing wgetrc and installing cntlm.

Editing wgetrc:

cd /etc
sudo nano wgetrc

I uncommented the following lines:

https_proxy = http://username:userpwd@proxy:3128/
http_proxy = http://username:userpwd@proxy:3128/
ftp_proxy = http://username:userpwd@proxy:3128/

use_proxy=on

Editing and configuring cntlm:

sudo apt install cntlm
sudo nano /etc/cntlm.conf

And then edit the following fields:

Username username
Domain proxydomain
Paswword pwd
[...]
Proxy proxyaddress:3128
Noproxy localhost, 127.0.0.*, 10.*, 192.168.*
Listen proxyport

cntlm gives proxy information to all programs in need. For some reason, I still needed to override wgetrc proxy values for the cntlm conf file was not enough.


The easiest way (in my opinion) to share files across a local network with Windows machines is to use a program I've written called NitroShare. All you need to do is install the application on each of the machines. Then you can simply drag-and-drop files.

Installing on Ubuntu

Simply open a terminal and run the following commands:

sudo apt-add-repository ppa:george-edison55/nitroshare
sudo apt-get update ; sudo apt-get install nitroshare

Installing on Windows

Simply download and run the installer below:

https://launchpad.net/nitroshare/0.2/0.2/+download/nitroshare_0.2_win32.exe

Transferring files

Once you have the application installed on each machine, you should see a small box on each desktop:

Simply drag a file on to the box to send it to another machine. That's it.


How do I migrate currently installed Ubuntu to a Virtual Machine?

It's not much different from machine-to-machine disk copy. Try using Clonezilla.

Before running clonezilla to make a partition image, I'd run e2fsck -f then resize2fs -M to make the original partition to the smallest, so that when you are moving the partition to the VM, you can make it to any size you want.
Note that, though I've done resize2fs -M many times and successful, it can go wrong. So be sure to have a backup.

I'd install a new Ubuntu in a VM so that you can do the partition as you like, then overwrite the partition from the original partition image created by Clonezilla. That way, you know the bootstrap works in the VM, and you are replacing the partition.

Once the partition is restored, while still in Clonezilla resize2fs (with no option) makes the file system to fit to the partition map (aka enlarged to the max).

This is how I usually transfer system from one system to other, reglardless of VM or non-VM.


Where to find compiz profiles online to load into my ubuntu?

Things to consider before continuing running CCSM are:

Ubuntu runs very smooth with all Intel chipsets, processors and graphics cards.
Is your processor fairly new like a minimum i3? CCSM requires quite a few resources, does your system has the sufficient resources to support all the eyecandy? Make sure you have plenty of ram at least 3GB or higher?
From Software and Updates, have your ran the additional drivers feature for drivers updates and detection of third party drivers that might not be well supported for the Ubuntu version that you are running.

cheers


Here you go. Create an account at 160by2.com and install php on your system.

sudo apt-get install php5-cli php5-curl curl

Paste your number and password where i've mentioned and run this script:

<?php
echo"Phone: ";$phno=trim(fgets(STDIN));
echo"Message: ";$msg=trim(fgets(STDIN));
echo"Message Length: ".strlen($msg)."\nSending...";
$yournumber=''; //your number inside the single quotes
$yourpassword='';//your password inside the single quotes
$cur=curl_init("http://160by2.com/re-login");
curl_setopt($cur,CURLOPT_POST,1);
curl_setopt($cur,CURLOPT_POSTFIELDS,"username=$yournumber&password=$yourpassword");
curl_setopt($cur,CURLOPT_COOKIESESSION,1);
curl_setopt($cur,CURLOPT_COOKIEJAR,"cookie");
curl_exec($cur);
curl_close($cur);
$cur=curl_init("http://160by2.com/SendSMSAction");
curl_setopt($cur,CURLOPT_POST,1);
curl_setopt($cur,CURLOPT_AUTOREFERER,1);
curl_setopt($cur,CURLOPT_COOKIEFILE,"cookie");
curl_setopt($cur,CURLOPT_POSTFIELDS,"mobile1=$phno&msg1=$msg&action1=sa65sdf656fdfd");
$x=curl_exec($cur);
curl_close($cur);
echo"\nSent!";

Save the script as sms.php.Then on terminal run php sms.php

DONE!


There are instructions for creating a USB stick install of Ubuntu from Windows here: http://www.ubuntu.com/desktop/get-ubuntu/download


When looking at videos like that, always remember to check the date. Just a note.

That being said, what you are looking for (I believe you mean the "genie effect", is called "Magic Lamp", and is available in Compiz. First you must install compizconfig-settings-manager:

sudo apt-get install compizconfig-settings-manager

Then, run ccsm, go to "animations" and change your relevant animations to "Magic lamp".


Run Windows (for Steam in-home streaming) and Ubuntu (for my other applications) on my server simultaniously

Running Ubuntu and Windows simultaneously requires virtualizing your machine, with VirtualBox, kvm, Hyper-V, or some other solution. This is a non-trivial process.

But, games frequently want all computing power available, so if the performance detracts from your game play, you may wish to consider shifting all your Linux apps to another, lesser PC which uses less power. Add samba to it for file sharing, and control it from the Windows machine with a remote control client app. Hardware's cheap, these days...


How do I get Acer TrueHarmony feature on Ubuntu?

It seems Acer TrueHarmony is what Acer calls their combination of audio hardware and drivers. The hardware, of course, would give the same results regardless of the operating system. I would recommend using the answers from this question to create the audio effects you want.


How to start KDE "Display and Monitor" directly

I think the what you are looking for is the command

kcmshell5 kcm_kscreen

On a sidenote, to find out which modules you can start with kcmshell5, use kcmshell5 --list

Personally, I think the easiest way is, to activate krunner (Alt+Space or Alt+F2), enter Display and what you are looking for should be one of the suggestions (the first one on my system).


hash doesn't show me a list of Bash commands

As help hash shows, the hash function is used to determine and remember the full pathnames of programs:

hash: hash [-lr] [-p pathname] [-dt] [name ...]
    Remember or display program locations.

    Determine and remember the full pathname of each command NAME.  If
    no arguments are given, information about remembered commands is displayed.

    Options:
      -d        forget the remembered location of each NAME
      -l        display in a format that may be reused as input
      -p pathname       use PATHNAME as the full pathname of NAME
      -r        forget all remembered locations
      -t        print the remembered location of each NAME, preceding
                each location with the corresponding NAME if multiple
                NAMEs are given
    Arguments:
      NAME      Each NAME is searched for in $PATH and added to the list
                of remembered commands.

    Exit Status:
    Returns success unless NAME is not found or an invalid option is given.

In your case it returns /usr/bin/mesg because obviously mesg has been called before and hash now remembers its path.

To get help on bash builtins, functions etc. there’s the help function. Call it without an argument to get a list of shell commands defined internally. To get a list of bash builtins you can use compgen -b.


KVM's Virt-Manager is not able to PXE boot KVM machines from MAAS Server

maas server can not be deployed on dual interface .

you must deploy 2 instancesof maas :

a maas api   server
a maas rackd controller , it will provide dhcp,pxe,and proxy api call .

And you must deploy maas 2.5 .

The simple setup is too have only one network interface  by maas server .


Can dual booting be done with the minimal CD?

You can dual-boot with any of the installation CD/DVD/USB Drives. The guided install with the visual installer makes life a bit easier for the inexperienced in having a "install alongside Windows" option that helps you do this, but it's not very tricky in either, especially if you've already got space set aside for the Ubuntu install.


You can run sudo gdebi perl-tgicl_2.1-1_all.deb to get the dependencies installed. Then the OS is ready for building TGICL-2.1 . ( perl-tgicl_2.1-1_all.deb will fail with the same error : libfile-spec-perl version. I.e. the package was built year 2010 : A different perl version.) ....
.... These packages were installed : libfile-homedir-perl libfile-which-perl lib32z1

Building and installing TGICL-2.1 :

tar xvf TGICL-2.1.tar.gz
cd TGICL-2.1/
perl Build.PL
perl Build
sudo perl Build install

→ No issues here, Ubuntu 16.04 - 64.


Configuration Options while `apt-get install`ing

In general, this is not possible. Developers use different tools, languages, installation scripts. Some packages use autoconf, some don't. Some take options, some need a modification of a Makefile or of a shell or perl script.

You can download the source package (apt-get source package), modify it, compile and install the modified version. It is quite simple. Say, package name is freetds.

Get the stuff necessary to build the package.

apt-get build-dep freetds

Get the package source

apt-get source freetds

Now a directory called freetds-0.91 has been created. Enter the directory and do necessary modifications.
Recompile the package.

cd freetds-0.91
dpkg-buildpackage -rfakeroot -uc -b

Install the new package using dpkg. The new package name will be something like freetds-dev_0.91-3_[architecture].deb, for example freetds-dev_0.91-3_amd64.deb.

cd ..
sudo dpkg -i freetds-0.91-3_amd64.deb


how to get ubuntu classic back on ubuntu 11.10

On your login screen next to your password is something like a gearwheel. klick on it and you'll see all possibilities of login-"shells"


Help for Windows to open the downloaded Ubuntu version

If you are using Windows 7, Windows 8, or Windows 10, just right-click on the .iso file you downloaded and select

Burn disc image

Then just choose your DVD burner in the next dialogue box, put the blank DVD in the drive and burn your installation disk.


How to create a file from terminal repeating a set of words infinitely?

There's an easy way to repeat a line lots of times using the yes command:
yes we have no bananas | head -n 10000 > out.txt

will result in out.txt containing 10,000 lines all saying "we have no bananas".

To limit the output to an exact number of bytes, use head's -c option instead of -n. For example, this generates exactly 10 kB of text:
yes we have no bananas | head -c 10000 > out.txt


You are using quite an old and unsupported version of linux and their is no guarantee that the repositories are still maintained to be able to fix your current setup...  I'd would recommend a new installation of Ubuntu 13.10, especially if you are running a server machine...


What are the dev-loop services that started on boot?

You can determine the list of all installed snaps with snap list, for relation between mount-point and snap name you can use systemctl status, mount and losetup.

For example on my Ubuntu MATE 18.04 LTS I have the following snaps installed:

$ snap list
Name                 Version           Rev   Tracking  Developer      Notes
core                 16-2.33.1         4917  stable    canonical      core
software-boutique    18.04.0-5b99b84   31    stable/…  flexiondotorg  classic
ubuntu-mate-welcome  17.10.23-e4f4c4c  169   stable/…  flexiondotorg  classic

They create loop-devices as follows:

$ systemd-analyze blame | grep dev-loop
          4.303s dev-loop4.device
          4.267s dev-loop2.device
          4.193s dev-loop0.device
          4.146s dev-loop3.device
           111ms dev-loop5.device

Mount points are as following:

$ mount | grep snapd
/var/lib/snapd/snaps/core_4830.snap on /snap/core/4830 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/ubuntu-mate-welcome_169.snap on /snap/ubuntu-mate-welcome/169 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/software-boutique_31.snap on /snap/software-boutique/31 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_4650.snap on /snap/core/4650 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_4917.snap on /snap/core/4917 type squashfs (ro,nodev,relatime,x-gdu.hide)

Let's look closer to dev-loop4.device:

$ systemctl status dev-loop4.device
● dev-loop4.device - /dev/loop4
   Follow: unit currently follows state of sys-devices-virtual-block-loop4.device
   Loaded: loaded
   Active: active (plugged) since Tue 2018-07-17 13:05:41 MSK; 4min 44s ago
   Device: /sys/devices/virtual/block/loop4

The folder /sys/devices/virtual/block/loop4 contains very useful file loop/backing_file, we can read its contents:

$ cat /sys/devices/virtual/block/loop4/loop/backing_file
/var/lib/snapd/snaps/core_4650.snap

So we just determined that /dev/loop4 is created by core snap.

But the easiest way is to use losetup (see man losetup):

$ losetup
NAME       SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE                                         DIO LOG-SEC
/dev/loop4         0      0         1  1 /var/lib/snapd/snaps/core_4650.snap                 0     512
/dev/loop2         0      0         1  1 /var/lib/snapd/snaps/ubuntu-mate-welcome_169.snap   0     512
/dev/loop0         0      0         1  1 /var/lib/snapd/snaps/core_4830.snap                 0     512
/dev/loop5         0      0         1  1 /var/lib/snapd/snaps/core_4917.snap                 0     512
/dev/loop3         0      0         1  1 /var/lib/snapd/snaps/software-boutique_31.snap      0     512

Hope this helps to understand Snaps mount-points better.

Bottom-line: by using Snaps for having up-to-date software, we end up paying for it with higher network traffic, more disk usage and slower boot time. If you do not want to use Snaps at all, then remove them with sudo apt-get purge snapd.


Pycharm Community Edition isn't detecting my packages

When you create a new project, choose

and now choose System interpreter


Your output looks normal. Upgraded kernels appear frequently.

Usually, your system automatically removes older kernels, leaving three-or-so on your system. There are many possible reasons why this automatic removal may have stopped operating on your system.

Generally, the easy way to restore automatic removal of old kernels is to:

Reboot into the newest kernel.
After rebooting, run sudo apt autoremove


These packages are only required to run other snaps. Non-snap applications never use them. So if you want to completely get rid of snap, you should uninstall them too.


Try to open a terminal with ctrl + alt + F1. Then you can mess around with the unity greeter, ubuntu-desktop and your graphic drivers.

Some of the answers here might help in your case: How to fix "The system is running in low-graphics mode" error?

You may try:

sudo apt-get install --reinstall ubuntu-desktop or
this anwser

If really stuck, backup your files and reinstall. It may help to locate the update that causes the problem. (I empathize: I am myself in this situation where I am almost certain that a update/reboot would crash my computer. My model is Samsung series 9)

In my case, the likely update is the unity-greeter update tough I am not sure. My symptom is that I am unable to login (even with correct password, the login screen reapears). If I boot in failsafe, I get "System running in low graphics mode".

Procedure for backing up your files: (in the terminal that you access with ctrl+alt+F1)

$ # Insert flash drive
$ ls /dev/sd*
$ sudo mkdir /mount
$ sudo mount /dev/sdb1 # maybe sdc1, sdd1...
$ sudo cp -R /home/yourname/ /mount/
$ sudo umount /dev/scb1
$ # remove flash drive and check your files on another computer
$ # reinstall


Your files are gone and only your last file 'sickrage_11-08-2016_09-35.tar.gz ' is still there and renamed to 'backup' in '~/AtoMiC-ToolKit/'

To restoring it back just run (assuming you didn't change your working directory yet)

mv ~/AtoMiC-ToolKit/backup $PWD/sickrage_11-08-2016_09-35.tar.gz


F11 should work as it is the key putting it in fullscreen in the first place.

To kill cheese you should be able to log into another tty session using for example ControlAltF5. Once logged in, type:

killall cheese

Then go back to your graphical session with ControlAltF7.

I would also suggest:

uninstall using the --purge option:
sudo apt-get remove --purge cheese
start cheese from the terminal grabbing the output:
cheese 2>&1 > cheese.log
The produced log file might give you a clue about why it is acting up.
if none of this works  you might have hit a new bug.


NFS /exports/media won't automount during boot

I've already seen that, it seems to be a common issue these days. I'm also almost sure I've already solved the same problem on one of my machines, but unfortunately I don't remember how. What I remember is that was a dependency problem (NFS mountpoints mounted before the network was up). Try this solution https://bbs.archlinux.org/viewtopic.php?id=118251 and good luck.

EDIT: sorry, if there isn't any /etc/rc.conf in Ubuntu, you could try this solution. In case, you could also try to look at this thread.


I think the problem is a typo in your start command:

exec service npt start

should be:

exec service ntp start


Public bug reported at https://pad.lv/1920987 .
Temporary in GNOME Control Center you can select Moscow, as it is GMT+3 too.
On the bug report - click Does this bug affect you? → Yes, it affects me to inform the launchpad that you are affected by this bug.


Known bug, more info can be found in the bug report.
Workaround is doing cancel when you see the wrong password error message for now. And enter the right credentials.

https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1766137


Sudo apt-get update error (ubuntu 14.04)

You could just delete the sources.list file, and then push settings and then enter software update, and hatch the upper option in the first line, and then close and reload and the malfunction is gone.


Problem with website not loading (using dynamic ip update client with Ubuntu server)

I fixed the issue, it had to do with the apache server.

I typed sudo netstat -ltnp | grep ':80'
Then killed the process and restarted the server with "sudo service apache2 start"


Solved it:

For latest Ubuntu LTS 18.04 you can download GNOME Tweaks from the Ubuntu Software Centre and mouse acceleration is included and can be switched off.
Downloaded openrazer drivers and installed polychromatic, changed dpi to 400
I found that CS Go takes raw mouse input so desktop sensitivity makes no difference, I did find that a sensitivity of half way is very similar to Windows 6th notch, measure distance mouse travels from one side of screen to other in both OSes to check.
Not much I could find on this but I am pretty sure none exist since the game uses raw input.


I can't upgrade to 12.10 Quantal Quetzal

I know this doesn't sound like a solution to the problem, but an option people always overlook.

Do you have a USB stick?
If so, download the Ubuntu 12.10 iso, plug in the USB stick, open the Dash and type 'startup'.
One of the options should be 'Startup Disk Creator'.
Open that and it should have listed your USB at the bottom, and at the top locate the downloaded iso.
Then make the USB startup disk, insert it into the USB drive and restart.

Then you can install 12.10 straight from the USB.

Hope that's an option for you


Video embedded in Open Office Impress flickering

I had exact same problem and still couldn't find a permanent solution but strangely, this problem is solved when you put the video box slightly on the up-left corner of the page. See the screenshot below.

And it doesn't do that flickering during the presentation! It saved my day. Thought it could help out even though it's not a permanent solution.


OK so the thread IS a bit old - however - there IS another option - SMTube http://smtube.sourceforge.net/

It ought not to be overlooked as an excellent solution.

source-code and PPA link available at the project's site.


Suspicious activity through postfix/smtpd in mail.info - maybe virus or hacking attempt?

Attacker come from

xxx@yyy ~ $ host phpwzym.com
phpwzym.com has address 95.140.38.3
phpwzym.com mail is handled by 10 95.140.39.1010.

xxx@yyy ~ $ whois 95.140.38.3
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See http://www.ripe.net/db/support/db-terms-conditions.pdf

% Note: this output has been filtered.
%       To receive output for a database update, use the "-B" flag.

% Information related to '95.140.38.0 - 95.140.38.255'

% Abuse contact for '95.140.38.0 - 95.140.38.255' is 'abuse@szervernet.hu'

inetnum:        95.140.38.0 - 95.140.38.255
netname:        TERATRADE-NET
descr:          VPS SERVERS
country:        HU
admin-c:        TK6395-RIPE
tech-c:         TK6395-RIPE
status:         ASSIGNED PA
mnt-by:         KGY-MNT
mnt-by:         TK6395-MNT
mnt-routes:     TK6395-MNT
created:        2015-03-10T11:12:04Z
last-modified:  2015-05-21T19:34:36Z
source:         RIPE # Filtered

role:           Teratrade Kft
address:        Hungary
address:        1123 Budapest
address:        Nagyt�t�nyi �t 190.
phone:          +36303654560
abuse-mailbox:  abuse@edm-campaigns.com
nic-hdl:        TK6395-RIPE
mnt-by:         TK6395-MNT
created:        2015-03-12T16:01:42Z
last-modified:  2015-03-17T14:48:56Z
source:         RIPE # Filtered

Teratrade also allow creation of fake dns records

phpwzym.com mail is handled by 10 95.140.39.1010.

With your firewall you can block access from this host or from this network

UFW

sudo ufw enable

# for host
sudo ufw deny from 95.140.39.xxx

# for network
sudo ufw deny from 95.140.39.xxx/24

# allow all other to connect on port 25 aka smtp port
sudo ufw allow 25

# allow other port's
sudo ufw allow 110 # pop3 port
sudo ufw allow xxx # for xxx port

You do not see now any connection because mail are in queue and wait for delivery.

Command to empty queue in postfix is

sudo postsuper -d ALL


Cinnamon on Ubuntu 12.04 stopped working after menu editing

Try gsettings reset-recursively org.cinnamon

If that doesn't work, try creating a new user using gksudo gnome-control-center user-accounts, log in to that user, copy your data files from the old user then delete the old user using the user accounts menu.


Lenovo Ideapad Y700 - Ubuntu 15.10: Constant speaker noise after login

Try upgrading your audio driver using the Instructions to upgrade ALSA


Changing the Wifi channel to 10 (in the router settings) worked for me! Apparently, North-American standards restrict operations in channels above 11 owing to interference concerns. Therefore, some OEMs do not allow you to use Wifi channels above 11. Also, I read somewhere (on askubuntu itself, but can't seem to find the link now!) that Ubuntu (11.10 onwards) does not support Wifi channels above 11.

Reference: http://en.wikipedia.org/wiki/List_of_WLAN_channels#Interference_Concerns


I guess you would be required to Turn it ON back if you want to boot from a USB. Try it out. Also you can change the boot priority level towards the USB from the BIOS startup screen in that case it might run the USB. Most often keys used are F12 F11, F9 and F8.


This is does not help you with LibreOffice but it might help you opening and working more efficiently with your document. Have you tried to instead open your document in AbiWord? AbiWord is a word processor that is lighter and faster than LibreOffice


How to disable backlit keyboard in Ubuntu 20.04 (Dell Latitude)

Try pressing Fn + Space Bar. Fn is the key between the windows key and ctrl.
This is the shortcut for toggling the backlight on the keyboard for my Lenovo laptop. It might be the same for Dell.
Edit: For the Dell Latitude, the toggle command is Fn +  F10.


How to re-install kde splash screen with tty1

Achu gave the answer in the comment:

sudo aptitude reinstall -f kubuntu-desktop

And if aptitude not works you can use:

sudo apt-get install --reinstall -f kubuntu-desktop

Before you can enter those commands you need to login first. Enter your username, press Enter and enter your password followed by Enter. Now you get a prompt where you can insert the command.


Dual boot Ubuntu doesn't boot with error "cannot find TOCBLOCK, database maybe corrupt."

At the "recovering journal" error, hit the Enter key to enter maintenance mode, then at the # prompt, type:

journalctl -xb

review the text, and try to identify when/where an error occurred. Take a picture of anything that looks suspect to you, and edit it into your question, if you need more help. Then type:

fsck -f /dev/sda5

to check your file system.

If for some reason you can't do the fsck at the # prompt, you'll have to do it this way...

boot to the GRUB menu
choose Advanced Options
choose Recovery mode
choose Root access
at the # prompt, type sudo fsck -f /dev/sda5
repeat the fsck command if there were errors
type reboot

Update #1

boot to the GRUB menu
choose Advanced Options
choose Recovery mode
choose Root access
at the # prompt, type:

sudo mount -o rw,remount /
sudo pico /etc/fstab
use arrow keys to move cursor
use control-o and then Enter to save file
use control-x to exit pico
comment out the lines that contain "Storage" and "Locker" by placing a # in front of the UUID at the beginning of those two lines (ie: #UUID=)
save file and quit pico
reboot


Launch url from desktop with a combination of keys

You can create a keyboard shortcut for the command

xdg-open https://some-website

See How can I change what keys on my keyboard do? (How can I create custom keyboard commands/shortcuts?) for how to create keyboard shortcuts.


Ubuntu: Server is left with only 716 MB free RAM out of 62 GB RAM

Reading data from a disk is far slower than accessing data from memory. Linux caches blocks from the disk in memory. In fact, Linux uses all free RAM for the buffer cache to make reading data as efficient as possible.

To calculate real free memory you have to add free + buffers + cached from Free command.

Actual Free Memory = Free (716M) + Buffers (415M) + Cached (52G)


Considering your set up. I would back up my home folder first.

Start new blank installation, on screen where system is asking to where to install Ubuntu choose something else,

than in new screen that pops up chose partition and mount point for your Ubuntu partition and install fresh copy of Ubuntu.
Remaining partitions will remain untouched. When installation finalized use your backup to return important files in your home directory

As always when playing with partitions make good backup of all important files on Windows and Ubuntu partition, just in case. I mostly have everything important backed up in at least 2 different external HDD.