Wireless networking with LINKSYS router WRT310n v.2 in 12.04

I found the same issue with my Ubuntu 12.04 laptop (Centrino Wireless-N 1030).  I was able to connect to the wireless network, but could not even ping the router, let alone any other host.

After I changed my WPA secured network's mode to be "Wireless-G Only" (Linksys WRT110 Router), my laptop was actually able to use the network.  It happened right away, I did not have to change anything on my laptop's configuration to get past the problem.

Thanks for posting the suggestion to change the Network Mode!  I would not have thought of that!  Cheers!


By default, the Root account password is locked in Ubuntu.

This means that you cannot login as Root directly or use the su command to become the Root user. However, since the Root account physically exists it is still possible to run programs with root-level privileges. This is where sudo comes in - it allows authorized users (normally "Administrative" users; for further information please refer to AddUsersHowto) to run certain programs as Root without having to know the root password.

See the community Ubuntu help on Sudo for more details. Also see Why is there no option to login as root? for why root is disabled in Ubuntu.

Another related question: su command + authentication failure

Hope this helps


why does Software update says 18.10 is now available when it's still May of 2018?

The option -d that you supplied on the command caused this result.

From the man page for update-manager

 -d, --devel-release
              If  using  the latest supported release, upgrade to the develop‐
              ment release

Leave off the -d and you won't get the development version (18.10 at this writing).


How do I take screenshot of restricted area with delay while sending the screenshot to clipboard at the same time?

First take a delayed full screen shot, then crop the image.  I use GIMP to crop.


Graphics artifacts after update. Radeon RX and Ubuntu 20

Workaround available for Chromium browser mentioned on Chromium bugs site.
Running chrome or chromium with --use-gl=desktop bypasses the problem.


For me, I had to add an extra line, please try on following:

i.e:

xrandr --newmode "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync

xrandr --addmode VGA1 1440x900_60.00

xrandr --output VGA1 --mode 1440x900_60.00

Regards


Here are the HPLIP Drivers For Ubuntu. http://hplipopensource.com/hplip-web/install.html

Simply Install Them And Your Printer should work just fine. it worked for me so if you have any questions, Ask!
Enjoy!!!!


How to remove Windows partition and install Fedora 14?

One of the tools you will want to look into is GParted, which is a powerful partition manager for Linux.

Assuming you installed Windows before any of the Linux partitions, you will need to do some moving around to get things working the way you describe. The best way to do this is to boot from the Ubuntu LiveCD (which includes GParted) and run it from there. (The reason being that you cannot modify partitions that are currently active (In most cases, anyway).)

Once the tool is started, you will be able to see all of the partitions on your disk and manipulate them as you see fit.

Here is a screenshot of what the interface looks like:

Notice the keys next to the ext4 and linux-swap partitions. That indicates that those partitions cannot be modified because they are in use.

In your case, assuming that you have backed up everything of importance on the Windows partition, simply remove it (it will probably be the first partition, with the NTFS filesystem).

Now you can expand your Ubuntu partition to take up the space freed by removing the Windows partition, and you can add room for the Fedora partition in a similar way.


How to trace the origin of how updates make it into my Ubuntu machine?

First off, an important clarification:

The terms "Stable Release Updates" and "Security Updates" (don't forget them!) apply to packages in main, universe, restricted and multiverse. PPAs or other third-party repositories may have their own release schedules and policies. In your screenshot I see "google-chrome-stable" -- this is not a Ubuntu package and it does not follow the Ubuntu release schedule.

Having said that, here's what you asked for:

For every Ubuntu update, the point of reference is the Launchpad bug. This is where you can find most of the information related to the problem(s) and solution(s).

You can get the bug numbers by checking the changelog of each package. For example, as of writing, this is the last entry from apt-get changelog nautilus:

nautilus (1:3.14.2-0ubuntu9.1) vivid; urgency=low

  * debian/patches/ignore-no-desktop-if-not-first-launch.patch:
    - Don't shut off the desktop when external application calls nautilus
      --no-desktop on a running GNOME desktop. (LP: #1453655)

 -- Chow Loong Jin <hyperair@debian.org>  Wed, 24 Jun 2015 11:50:03 +0800

As you can see, the log entry refers to bug #1453655.

For security bugs, generally the bug report is private (to prevent malicious people from accessing critical information) and, generally, instead of the Launchpad bug number you'll find the CVE number.
Patches applied by Ubuntu (or by Debian) are in the source package, in the debian/patches directory. If you want to download the source packages for Nautilus, use apt-get source nautilus.

If a Stable Release Update or a Security Update introduces a new version of the software (e.g. a new version of Firefox), you'll have to look upstream for the full delta.

Not all package sources are available under version control (git, hg, bzr, ...).
Discussion generally happen on Launchpad. If necessary, the ubuntu-devel mailing list may be used too.
People responsible for updates are the people who provide the updates (package maintainers or contributors), the Ubuntu SRU Team and the Ubuntu Security Team.

Note that not all of these people are Canonical employees. Be kind and don't forget those contributors who use their spare time to maintain stability and security in Ubuntu :-)
The process for Stable Release Updates and Security Updates is documented on the Ubuntu Wiki: https://wiki.ubuntu.com/StableReleaseUpdates and https://wiki.ubuntu.com/SecurityTeam/UpdateProcedures


Cannot boot Ubuntu 19.10 after changing user password

You probably have multiple problems.

what is on /dev/sda? I notice that you're booting to sdb
the root password is not the same as your user password, unless you set it that way previously
you may have a problem with readahead... left over from 18.04

But first, let's check your file system...

For 18.04 or newer...

boot to a Ubuntu Live DVD/USB
open a terminal window by pressing Ctrl+Alt+T
type sudo fdisk -l
identify the /dev/sdXX device name for your "Linux Filesystem"
type sudo fsck -f /dev/sdXX, replacing sdXX with the number you found earlier

sudo fsck -f /dev/sdb2

repeat the fsck command if there were errors
type reboot

Update #1:

Turns out that this is in a WSL environment, and I don't know anything about WSL. OP to start a new question.


Why is hibernate still disabled by default? (Is it safe to use hibernation?)

It's safe to use hibernation on Ubuntu.  It's just not tested on all hardware out there...  Micro$oft has much more money then Canonical and can test many more machines (or have the vendors themselves test it for them as they have a near market-monopoly)


Alternative to Wubi Installer (without cd/usb install)

No, there are only 2 paths you can follow:

Boot from CD and install alongside Windows

Install through Wubi

There are other paths (for example, run install from network) but I doubt they will work in your case. If you don't need dual-boot, install through Wubi. But I suggest you to install alongside.
This topic describes how to boot from CD on old computer: How to boot from CD even if BIOS doesn't allow this.


When I switched I found the same issue - it was just a matter of turning up the volume in the sound settings.  I know that seems an obvious answer, but just in case you didn't think of it.Click on the speaker from the icons at the very top right of your desktop, choose SOUND SETTINGS and check your output volume.  Mine, by default, was set very low.  Since you said you just recently made the change - I thought I'd start with the easiest possibility first.

While you're there - check your INPUT and MIC settings too.... I had to increase mine to use my camera mic.


How can I add Times New Roman WITH IPA EXTENSIONS?

You may not need to. Many applications, for example LibreOffice Writer and Inkscape, will automatically fall back to displaying missing glyphs with whatever next-best font covers them. You can see how substitutes rank on your system with fc-match:

$ fc-match -a 'Times New Roman' family | uniq
Times New Roman
Liberation Serif
Nimbus Roman No9 L
DejaVu Serif
…

It's no surprise that the first choice for Times New Roman is Times New Roman itself (license: proprietary). Restricting the results to those that cover the IPA extensions eliminates Ubuntu's partial distribution of Times New Roman (intended for, but not restricted to, web use), as you've seen, but it doesn't eliminate everything:

$ fc-match -av 'Times New Roman' \
  | grep --perl-regexp '\s*(family|0002):' \
  | grep --before-context 1 '0002: ........ ........ ....ffff ffffffff ffff.... ........ ........ ........' \
  | grep --only-matching --perl-regexp '(?<=family: ").*(?=")' | uniq
DejaVu Serif
FreeSerif
Doulos SIL
DejaVu Sans

What this means is that, in supporting applications, when you enter a character belonging to the IPA extensions and set its font to Times New Roman, you will actually see a glyph from DejaVu Serif (license: free nonstandard).

This should allow you to compose documents that would use the IPA extensions of Times New Roman if they're available, but which don't on your system only as a matter of presentation.

The one thing you may want to change is which fonts are substituted for display of the IPA extensions on your system, since DejaVu Serif is substantially different from Times New Roman and in my opinion makes a poor substitute for it. I'd recommend configuring your system to give higher preference to FreeSerif (license: GPL), which is metric-compatible with Times New Roman. Doulos SIL (license: OFL) is very similar, but it has has slightly different metrics and is only available in regular weight.


Have you you tried trying to change the amount of the partition while having booted from a USB or DVD and having clicked "try Ubuntu without installing" or anything to similar to that.
So what I mean to be specific is to:
    1)boot from USB or DVD
    2)click "Try Ubuntu without installing"
    3)Then trying the partition you would like


Switch between english and chinese characters on Ubuntu 16.04

You need to install a Chinese input method. The "Chinese" keyboard layout you have in your list of input sources is just an alias to English (US).

So:

Install a package with a Chinese input method. ibus-pinyin and ibus-sunpinyin are examples of such packages.
Log out and log in again.
Add the input method to your list of input sources.


Turn off scroll wheel application switching in Cairo Dock

Unfortunately, despite the plethora of options available to customize Cairo-dock, the ability to turn off application switching with the scollbar is not one of them. It seems that there's no way to turn it off because it's considered a basic feature (see the description of Cairo-Dock's taskbar on this page), one that is found in other desktop environments as well (e.g. Unity works the same way if the applications are open on the same workspace).

To remove the functionality you will have to recompile the source, as explained in an answer on the Cairo-Dock forums. User matttbe provided a links on how to recompile Cairo-Dock (and specifically how to do so in Ubuntu) and stated that to disable all actions that will occur after scrolling on an icon remove these lines below from the src/cairo-dock.c source file:

gldi_object_register_notification (&myContainerObjectMgr,
    NOTIFICATION_SCROLL_ICON,
    (GldiNotificationFunc) cairo_dock_notification_scroll_icon,
    GLDI_RUN_AFTER, NULL);


Can Windows 10 and Ubuntu bootloaders reside on one partition?

If the computer is booting in EFI mode, then both the Ubuntu boot loader (GRUB 2, by default) and the Windows boot loader can reside on the same EFI System Partition (ESP). The ESP is a FAT partition that's intended for this purpose -- to hold boot loaders. Microsoft requires that manufacturers use EFI mode for pre-installed Windows 8 and later computers, so if the computer came with Windows 10, chances are it uses EFI mode and what you describe should work. The most likely explanation of the symptoms you're describing is a defective firmware, perhaps in conjunction with some misapplied fixes intended to overcome such defects.

OTOH, in BIOS mode, boot loader code goes in the Master Boot Record (MBR; aka the first sector of the hard disk) and in various follow-on locations. Typically, Windows boots from the MBR to the Partition Boot Record (PBR; aka the first sector of the partition) to files in the NTFS volume, whereas GRUB boots from the MBR to some post-MBR code to files in the Linux directory tree. If you install GRUB to a partition rather than to an MBR, though, it will take over the PBR. If you install GRUB to the PBR of a Windows partition, then that partition will no longer boot Windows. The symptoms are consistent with what you've reported, at least as far as I understand them. You're most likely to encounter a BIOS-booting Windows 10 on a system you've upgraded from Windows 7 or earlier, installed yourself from scratch, or re-installed yourself over an earlier installation. The solution to your problem in this case is likely to involve using Windows tools to restore the PBR (and probably the MBR), then re-installing GRUB to either the MBR or the PBR of an Ubuntu filesystem partition.

Because EFI-mode and BIOS-mode booting are so different, fixing your problem requires that you know which boot mode you're using. In Windows, boot mode is tied pretty tightly to partition table type, which you can determine in Ubuntu with:

sudo parted -l | grep Table

The output should specify your disk's partition table type, as in:

Partition Table: gpt

This indicates GPT, and therefore an EFI-mode boot of Windows. If it reads msdos rather than gpt, then that indicates MBR, and therefore a BIOS-mode boot of Windows.

If you can't get it fixed once you know the boot mode, please run the Boot Info Script on your system. This will produce a file called RESULTS.txt. Post it to a pastebin site and post the URL to your document here. This will give us additional diagnostic information. Also, please specify the make and model of your computer.


How to replace a string of text with input from another file

You can save the username in a variable and use sed to change the configfile:

#! /bin/bash
username=$(< /path/to/username)
sed -i~ -e "s/username=XXX/username=$username/"

The config file in this example should contain the line username=XXX. The username shouldn't contain / (some other non-alphanumeric characters might be problematic, too).

(Untested.)


Reinstalling Windows in a virtual machine

I did the same this Monday using 'Oracle VM Virtualbox Manager'. Steps are pretty simple and all you have to do is:

Set the OS up --> select the OS (Windows in this case), allocate RAM and hard disk space (usually Virtualbox does it for you.)
Installation of OS--> then click on a green colour icon 'start' which will ask you to specify the location of .iso file. It will finish installing Windows as it happens in normal install.

PS: My machine is old and it takes a good portion of RAM to run Virtualbox. That makes it very slow. It becomes close to non-responsive when I try to open 10-15 tabs in Firefox (usual for my work). I use Windows set-up to read .doc/.ppt/.xls files in MS-Office due to compatibility issue of these files in Libreoffice. I have completely shifted to Ubuntu, otherwise.


Fish-shell not recognizing .bashrc exports

fish uses the set command for setting variables.
Also, the recently added fish_add_path command works for adding directories to PATH. If you have an older version of fish, use the fish_user_paths directory as described in the tutorial.
Note that fish does interesting things with variables that end with *PATH  -- it assumes that other processes want a colon-separated list of directories, so that's what it provides:
$ set -gx FOO_PATH foo bar baz

$ set --show FOO_PATH
$FOO_PATH: set in global scope, exported, a path variable with 3 elements
$FOO_PATH[1]: |foo|
$FOO_PATH[2]: |bar|
$FOO_PATH[3]: |baz|

$ bash -c 'declare -p FOO_PATH'
declare -x FOO_PATH="foo:bar:baz"

The solution is to translate the bash commands to fish commands, and store them in your ~/.config/fish/config.fish file:
if [ -d /opt/pic32mx/bin ]
  set fish_user_paths $fish_user_paths /opt/pic32mx/bin
end

set -gx CLASSPATH   . /usr/local/lib/antlr-4.9.2-complete.jar /usr/local/lib/ST-4.3.1.jar ""
set -gx ANTLR4_PATH /usr/local/lib


Spellcheck not working in Libre office in Ubuntu 16.04

Solved:

I had no languages installed on my system. I installed languages using the Language Support application.

Download the dictionary from here: https://extensions.libreoffice.org/extensions/english-dictionaries

Open downloaded file and this should generate a window to install the extension.

Shut Libreoffice applications, reopen them and they should all work now.


Laptop keyboard and mousepad disabled on Ubuntu 16.04

Looks like I found the smoking gun. In an earlier attempt to resolve the issue that Ubuntu 16.04 didn't power down after clicking shutdown, I changed in file /etc/default/grub the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"

According to this post, it appears that the third option might be the smoking gun. Indeed, after dropping acpi=force the laptop's built-in keyboard and mousepad come back top live again.


I think you will need more ram if you are thinking to work with Photoshop.

I was working on a menu for a restaurant and when i was almost done with the project was pretty hard to work on it because photoshop was really slow. Photoshop was using  4.6-5.0 GB Ram and i wasn't using virtualbox.


install Ubuntu from USB key on a windows 10 PC

when are you pressing F12? It should be after the BIOS loaded and before the Windows 10 boots. (in other words right after you pressed the power button of your computer)


Is there a newer version of snort available?

Install via PPAs

The linked PPA has snort v2.9:

sudo add-apt-repository ppa:ebf0/gamelinux
sudo apt-get update

From my reading of the rules - any v2.9.x meets the rule standards - the .x are just stability updates.

Another PPA I've found is ppa:hurricanedefense/testing which contains v2.9.1 of snort.

As with all PPAs - these are for testing purposes and may make your system unstable.  Have a full image backup available.  You can also install ppa-purge to remove PPAs. N.B. enable the backports software source to install ppa-purge

Install via compilation

Data AcQuisition library

Download some prerequisites:

sudo apt-get install flex bison  build-essential checkinstall libpcap0.8-dev libnet1-dev

Now download and extract the latest daq source code from snort.org

cd daq-0.6.1/
./configure
make
sudo checkinstall
sudo dpkg -i daq_0.6.1-1_i386.deb

Libdnet

wget http://libdnet.googlecode.com/files/libdnet-1.12.tgz
tar xvfz libdnet-1.12.tgz
cd libdnet-1.12/
./configure
make
sudo checkinstall
sudo dpkg -i libdnet_1.12-1_i386.deb
sudo ln -s /usr/local/lib/libdnet.1.0.1 /usr/lib/libdnet.1

Snort

sudo apt-get install libpcre3-dev libmysqlclient15-dev

Now download and extract the latest snort source code from snort.org

cd snort-2.9.1
./configure --with-mysql --enable-build-dynamic-examples  --enable-gre --enable-reload --enable-linux-smp-stats --enable-zlib
make
sudo checkinstall
sudo dpkg -i snort_2.9.1-1_i386.deb

sudo ldconfig

At this point you need to configure the snort.conf file according to your environment.

source


The battery of my laptop is maybe in danger?

Laptop batteries have a micro controller which switches the power drain from the battery to OFF when plugged in to an adapter. Leaving the laptop plugged in will not harm the battery. However, batteries have a lifespan, and depending on the manufacturer can last you a year or more. Eventually, the battery will go bad no matter how much care you put into it.

According to the manufacturers they advise you to Unplug your charger once your battery is fully charged.Even though it shouldn’t make a difference if you don’t unplug it i advise you to unplug it once your laptop is fully charged!

You could also install a software/app which notifies you once your laptop is fully charged.look into this link for the software/app.


Permission issues causes Unity Segmentation fault

I had the same problem.

I just fixed it. (kind of)
My solution (so you can boot back to GUI) (don't know if it really was this or it was a lot of thing together):

open TTY (ctrl + alt + F1) to type the commands.
make sure the radeon open-source drivers are installed.
https://help.ubuntu.com/community/RadeonDriver
delete all the fglrx drivers:
I first tried: https://wiki.ubuntu.com/X/Troubleshooting/VideoDriverDetection#Problem:_Need_to_purge_-fglrx
and later tried this:
sudo apt-get remove fglrx*

after that I could reboot and login.

OPTIONAL: if you have login loop (type password and is accepted it will re-ask it):
(make backup of file)
mv ~/.Xauthority ~/.Xauthority.old
and retry to login.

any question, just ask.

cause: I think because old drivers (fglrx) are not supported, so replaced them with supported open-source drivers.


After 16.04 system update boots to black screen

A partial solution to the black screen was to boot into Recovery Mode from GRUB, then select failsafeX. failsafeX brought up an error "system is running in low graphics mode" the only way to close the error was ctrl+alt+fn+f1 Then command prompt tries to run, but gets stuck; hitting ctrl+c exited this and booted into gui. From there uninstalling nvidia sudo apt-get purge nvidia* allowed the machine to boot again normally.

However, i now assume dual monitors will be broken again :(


How to understand the flow of USB detection?

Device is plugged in, and the software that manages the hardware bus for that device receives an interrupt (or other notification at the hardware level), and the bus driver enumerates attached devices, or performs other bus-specific hardware actions to identify the device.
Kernel requests to load a driver for the new hardware by calling /sbin/modprobe with hardware's bus/device/etc identifier.
In user-space, modprobe tries to find a matching driver-specified alias. (See /lib/modules/$(uname -r)/modules.alias for the complete list.) These will look different based on the hardware interface. For example, pci:v0000102Bd00002527sv*sd*bc*sc*i* for a PCI device vendor 102B, device 2527, and anything for subvendor, etc, or USB: usb:v2040p4982d*dc*dsc*dp*ic*isc*ip*.
once the device driver is loaded (or a new device that already had a driver is initialized), the driver in the kernel sends a notification of the loaded device to udev in userspace.
udev matches the notification against its list of rules in /lib/udev/rules.d/ and /etc/udev/rules.d. From here, the behavior is extremely specialized, based on the rules.
In the case of a USB disk, the 80-udisks.rules file is likely the best place to work from. These rules will use things like blkid and other helpers to probe the type and contents of a disk, populating all sort of configuration values including things like ENV{UDISKS_PRESENTATION_HIDE}="1" to ignore a disk for some reason. See "man 7 udisks" for details.
The udisks-daemon watches for devices to appear in the udev database, and presents them them as a discoverable list of devices over DBus. (See "udisks --enumerate".)
Various actions are configured in udisks, and the policy for allowing those actions can be seen in the policy file /usr/share/polkit-1/actions/org.freedesktop.udisks.policy. (Who can mount, umount, etc.)
Services that are interested in devices will listen for DBus events from udisks, and take actions when they see certain conditions. For example, GNOME's Nautilus (via gvfs volume-monitor) will request automounting for devices (via udisks, which will check its policy, mentioned above).
Once a filesystem has been mounted, those same listening services will take more actions. For example, Nautilus will ask if you want to open F-Spot when the common photo storage directory DCIM is found on a filesystem.


Run sudo apt-get install build-essential to install the C compiler.


rm: cannot remove `/run/user/root/gvfs': Is a directory

Open your terminal (Ctrl+Alt+T) and run this:

sudo umount /run/user/root/gvfs


fossfreedom has the right idea in his comment on Jan 14.

Following the link at http://forum.notebookreview.com/msi/584869-official-msi-gt780-gt783-owners-lounge-477.html#post8130754, I found I could boot in if I set certain options in my BIOS and also had the following boot options:

noapic noacpi nomodeset acpi=oldboot

Add them before the -- in the boot options.  You will have to also edit your GRUB config after you install, to have GRUB boot with the options above-- details at http://ubuntuforums.org/showthread.php?t=1613132.

The original poster in the first link does not know whether all of these options are necessary, and neither do I.  If anyone knows specifically which of the above settings are the one(s) that are required, perhaps you can improve this answer.


retrieve data put into non-directory file by using -mv command

Unfortunately, when the target for the mv command is not an existing directory, it renames the source file as the target; when used within a find command, that means each successive file that matches the predicate will overwrite the previous one. So in your case, the ./ooutputs file will now contain only the contents of the last .mat file that was matched. To avoid accidents like this it's good practice to always include a trailing slash character when you are moving files to a new directory i.e.

find . -name '*.mat' -exec mv {} ./ooutputs/ \;

since this will throw an error if /ooutputs is not in fact an existing directory. I don't know of a way to recover the other files except from backups - sorry.


According to wiki you can change the device name by defining the name manually with an udev-rule.

nano /etc/udev/rules.d/10-network.rules

Add the following line:

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="aa:bb:cc:dd:ee:ff", NAME="net1"

Replace aa:bb:cc:dd:ee:ff with your mac adress and net1 by the new device name, save and exit then reboot your system.


For my systems at home, I use netboot installs. This allows you to run the installer from the bare metal and install a stock system with whatever parameters and packages you require. It does require some setup (dhcp server, tftp server, and preseed files), but mine go without intervention from nothing to full install. I just have to go in and set passwords when I'm done. I could even skip that but that works for me.

I started from here and heavily modified: https://blog.scottlowe.org/2015/05/20/fully-automated-ubuntu-install/


Convert Number of Decimals Through a Text File

awk -F"=" -v OFS="=" '
    NF == 2 && $2 ~ /^-?[0-9]*\.[0-9]+$/ {$2 = sprintf("%.2f", $2)}
    {print}
' file.log

That uses = as the field separator. For lines with 2 fields and the 2nd field is a float, reformat the 2nd field.

Outputs your sample data as

[General]
Date=2016-01-20
Timestamp=2016-01-20T12:30:00

[Dewpoint]
Low=-17.70
LTime=14:55
High=-13.11
HTime=13:42

[Solar]
SunshineHours=4.78
SunshineHoursToMidnight=0.75


which interface to give during Ntop installation?

That depends on your system. You can get the interface name if you click on the Network Manager in your top panel and select Connection Information. Near the top, you'll see something like "Interface: Ethernet (eth0)". If that's the connection you want to monitor, you'll enter "eth0".


How to Customize personalized ubuntu installation including nvidia drivers

to select what you want to install one by one during installation
you can try using ubuntu minimal and just select what you want to install
https://help.ubuntu.com/community/Installation/MinimalCD

then you can follow the instructions here:
http://www.maketecheasier.com/install-a-minimal-ubuntu-on-old-laptop/2012/02/24
(external link)

if you want to make a customized disc
you can also set up an existing configuration and try remastersys (but check if it works with raring / 13.04)

looks like
remastersys original creator(s) are stopping support but it will be forked.  (binaries have been posted on sourceforge)
search os4systemimage in sourceforge
[i'm not connected to this project]

the newest kernel in 13.04 should suit your set up, but if it still results in bugs for your system you can also try the older kernel (the last one they used in 12.10), as the kernel in 13.04 had a few apparent bugs the last time I used it.  (i.e. getting stuck on logo screen)

it would be interesting to know your processor name. who knows it could help other users or developers / troubleshooters.  I'm betting it's an AMD processor.


How to set password for hdd partition mounting

An effective way would be to encrypt that partition.

Take a look at luks and cryptsetup. You will find a lot of information about that when you Google it.

If I remember correctly, nautilus will ask you for the password when you click at the not yet unlocked drive. If that does not work you can always create a shell script for that task.

That should be the most straight forward and secure solution to your problem. If you need more help, let me know.

Good luck!


I'm another one who liked what I had in 10.04 and was unhappy at the change.  I just wanted my old setup back! Today, I have it almost the same by doing:

install gnome-session-fallback. Its probably better to do this on a clean install.
restart and chose gnome classic before logging in.
press alt AND the windows buttons and then right click on a panel. (Don't ask my why it has to be so dang specific, it makes no sense actually) This will open the dialog.
Now, you can re-size, make transparent, use a picture, anything pretty much.

I like my panels both on top and colored but fairly transparent. That is easier on the eyes.


This bug was reported years ago to the devs team, but it is supposed to be fixed with the latest versions of Ubuntu.

If you're not using russian keyboard, I'd say you could just remove the package console-cyrillic responsible for this, or run this patch.

Source here

EDIT: As comments suggest, updating grub with sudo update-grub seems to solve this issue, somehow


Possible missing firmware /lib/firmware/radeon/VERDE_mc2.bin

All of the Radeon firmwares are available at http://people.freedesktop.org/~agd5f/radeon_ucode/


Video application doesn't open on Ubuntu 17.10

There appears to be a bug in the default video player Totem on wayland. Totem player not working in Wayland

If this is your problem you can either run Ubuntu 17.10 on Xorg where Totem works or set VLC to be the default video player on Ubuntu on Wayland.


Why won't Opera let me use the Ubuntu font?

This is not an Ubuntu issue but rather an Opera bug and apparently it's been present since version 10.60 of the browser. It has been raised as such with the Opera team (the ID is DSK-324216) but as there has been no movement in nearly a year since reporting it, I'm not too hopeful of it ever being fixed.

I discovered a workaround which involves creating a .css file in ~/.opera/styles/user and populating it with:

pre, code {
    font-family: "Ubuntu", sans-serif;
}

You can then select this file in Preferences > Advanced > Content > Style Options... > My style sheet.


In Xubuntu and Ubuntu I always uninstall Transmission and then install qBittorent.  If you are using Firefox then when it asks you for a program to open the magnet, then go to /usr/bin/qbittorent to assign.  Chrome seems to pick it up automatically for me.


matlab installation problem using the guidelines as per https://help.ubuntu.com/community/MATLAB

MAKE SURE that the instructions for installing MATLAB  are made specifically for your Ubuntu version. If not everything could go haywire or not work. Also make sure you have followed the steps to install the "ia32-libs" package from the link that says exactly that on the page.


How do I dual boot Windows XP and Ubuntu?

If you just install Windows onto your new machine it will overwrite your bootloader, so you won't be able to boot into Ubuntu anymore. Generally it's better to first install Windows and then Ubuntu, as Ubuntu recognizes your Windows Installation and creates a Grub-Entry to start it.
However, this way around works too.
You will need some sort of Live-CD (Like the Ubuntu Install-CD). Boot it.
Mount your Ubuntu partition:
(REPLACE X and Y)

sudo mount /dev/sdXY /mnt
sudo grub-install --root-directory=/mnt /dev/sdX

Now restart your computer. Grub should now load normally, without an entry for Windows.
As soon as you are back into your system type

sudo update-grub

to add Windows to your bootmenu.
References:

https://wiki.ubuntu.com/Grub2#Restore%20GRUB2%20-%20Recovering%20from%20a%20Windows%20XP%20/%20Vista%20/%207%20Reinstallation


Lenovo L430 malfunction brightness control 13.04

A bug report has already been filed: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1098216

The latest kernels (3.8.20 and above) should have fixed the issue.

Workaround

Add to /etc/default/grub
in the variable "GRUB_CMDLINE_LINUX_DEFAULT": acpi_osi=\"!Windows 2012\"

e.g:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=\"!Windows 2012\""

Then run sudo update-grub and reboot.


Differences between standard keyboard layout in windows and linux?

Go "system settings -> Keyboard Layout" then click the "+" button. I am guessing the difference your experiencing is the difference between US and UK keyboard if you are using English, so choose the one that isn't currently active (look at the layout preview if you want to check) and then you can delete your original layout from the list with the "-" button.


Ubuntu Gnome 14.04.4 PlayOnLinux Wine program cannot be alt-tabbed otherwise I can't get back into it

Not all games work with "Alt+tab" well, which is true for native Windows either, but unfortunately I can't remember the technical reasons for that. Still, there're a few workarounds you can try:

(preferable, but may not work) try to run a game on a separate desktop, and instead of Alt+tab just switch between desktops.
Run winecfg go to tab "Graphics", and set checkbox "emulate a virtual desktop". AFAIK this always works, but may hurt performance.
Open a separate xserver with xinit wine ./game.exe -- :1 vt8, use Ctrl+Alt+F7/F8 to switch between them. Note: this may not work well with multiplayer as usually graphical apps are freezes upon switching servers, so upon switching from the game, it may lose connection. Also, as I remember, xinit needs some configuring by default, at least something with sound.


A clean install needed. Follow these steps

Download jdk-7u7-linux-i586.tar.gz and put it in your Desktop folder.

Open a terminal and type

sudo apt-get purge openjdk-\*

sudo mkdir -p /usr/local/java

cd ~/Desktop

sudo -s cp -r jdk-7u7-linux-i586.tar.gz /usr/local/java

cd /usr/local/java

sudo -s chmod a+x jdk-7u7-linux-i586.tar.gz

sudo -s tar xvzf jdk-7u7-linux-i586.tar.gz

sudo gedit /etc/profile then copy and paste this at the bottom of the document

Then run these command to set java as default for your system.....

sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.7.0_07/bin/javac" 1

sudo update-alternatives --set javac /usr/local/java/jdk1.7.0_07/bin/javac

. /etc/profile

Then check your Java version with java -version


How to uninstall AMD drivers and install mesa? - 18.04.3 LTS

"Mesa" is not separate from AMDGPU. The fully open source drivers are already installed in the system. Simply uninstalling amdgpu-pro by following the directions in its package, and rebooting should get you back to the open source only stack.

RE: Mesa, the Pro drivers simply update some components of the open source AMD driver stack, while adding a few still proprietary parts on top. You are still using Mesa with the Pro drivers.


Backup your Windows partitions
Shrink the Windows partition
Create a bootable USB drive with Ubuntu on it
Turn off fast boot and Disable secure boot
Run the Ubuntu installer
Partition the empty space (created after shrinking Windows
partition)
Complete the installation
Reboot into the Ubuntu Live image
Run the boot repair

read here


Errore GnuTLS -15: An unexpected TLS packet was received

I solved the issue re-creating the user with a home directory.

My vsftpd configuration is set to open the home directory for each user but the user I created was without both the ability to login via ssh and the home directory.

With the home directory and /bin/false as a shell it works fine


Why is full-hinting for fonts not on by default?

It's a matter of taste. Full hinting can be very aggressive, as it changes the original shapes of the glyphs to fit the grid. Some people like this XP-like crisp look, but others prefer slightly fuzzier Mac-like style. There has to be some default in Ubuntu, and slight hinting sounds like a good compromise.


How do I set a DNS server in MAAS that will be passed on to the nodes?

The simplest way to configure this in MAAS is to:

Set up DNS fowarders in the MAAS settings page
Enable MAAS to manage DNS for the cluster (in 1.x) or managed VLAN (in 2.x)

When MAAS deploys a node it will configure its resolver accordingly; in the case where the above settings are made and you are deploying Linux:

The servers' resolv.conf file will have the IP address for the MAAS Region controller
The BIND installation on the MAAS Region controller will have a forwarders entry set up for the addresses you provide.

The effect is that queries on the node will be sent to MAAS, which will resolve directly for queries in domains which it manages (by default, *.maas), and forward requests for everything else to the forwarder.

Note that we assume the forwarder correctly implements DNSSEC, which is sadly often not the case. For instance, see this question: Ubuntu MAAS DNS not forwarding request for an example where the forwarders are not handling DNSSEC requests correctly. The symptom are errors that look like this in /var/log/syslog:

validating @0x...: com DS: no valid signature found
error (no valid RRSIG) resolving 'com/DS/IN'

If you encounter this, you'll need to either get your forwarders to support DNSSEC, or disable DNSSEC upstream validation in the MAAS settings page.

As to why DNSSEC is enabled by default, see the long debate in bug 1500683.


How to run Google Chrome as a background process?

Open Startup Applications, and create a new entry with this for the command:

/opt/google/chrome/google-chrome --no-startup-window


Bluetooth firmware problem in Ubuntu 13.04

Could it be that your laptop's bluetooth device is attached to USB, not PCI bus?
Try lsusb and see if it comes up. E.g. (on my machine):

$ lsusb
...
Bus 001 Device 005: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]
...

You should also update BIOS first, if you have any hardware detection problems.

This will probably come as off-topic here, but I'll briefly describe how I managed to update BIOS on a Dell laptop:

download FreeDOS pre-built ISO image and use it to make a bootable USB drive;
download BIOS update from Dell support site, make sure you get the version that will run under DOS
boot into FreeDOS and run the BIOS update.


Elevate user-permissions in Unity so I can move folders

You can use gksu nautilus command in the Unity dash prompt ( Press Alt-F2 ). This will open the Nautilus file browser and then you can do the copy, move, delete stuff using UI.

Be warned! Using nautilus with root privilege is very bad and you can do much harm to your PC with it, of course unintentionally.


NFS Ubuntu Server 17.10 client does not see mounted volume

First of all I need to change owner of my hdd:
chown -hR nobody:nogroup /home/myaccount/hdd
then I need to edit /etc/exports:
vim /etc/exports
/home/myaccount 192.168.1.0/24(rw,sync,all_squash,crossmnt,no_subtree_check,fsid=0)
after that all is working!
May be some options is not important...


The error message FATAL: Could not open '/home/iguarna/.local/share/TelegramDesktop/log_startXX.txt' for writing log! shows that you did run telegram as root, and it created the log file (as root), now, the regular user cannot write to the root-owned log file. Fix this by:

sudo chown $(id -u):$(id -g) /home/iguarna/.local/share/TelegramDesktop/log_startXX.txt

Where you run a program from is immaterial. Who you run a program as is important.


VPN connection is locked in Ubuntu 17.04

solution

change configuration file to United States-Chicago-UDP.ovpn,delete
United States-Chicago-TCP and add United States-Chicago-UDP instead.
Unfortunetly the number of available Servers is redused, i miss server in Switzerland and need to go to Win10 and connect to ch1.dns2use.com with a default configuration. (Windows almost become a Linux-baby now)
note: Ivacy Win10-setup fails without meaningful information, so i had to use default Windows configuration.
However, we look hopefully into the future ...

Thanks to @heynnema for great support!


Install nodes error (could not find kernel image)

I suspect you added 'amd64' or 'i386' as the ARCH.  You need to add ARCH as 'i386/generic' or 'amd64/generic' in /etc/maas/import_ephemerals


Step 0: Backup your data
Make sure you have up to date and good backup of all your personal files. The backup must be outside your computer. If you haven't backed up your data, stop now and make backup.
Step 1: Boot from a LiveCD/DVD/USB
You have done this. I am writing it for anyone who may read this later. This is important, as you can't change a tire of a car while you are driving it.
Step 2: Disable Swap
Open a terminal by pressing Ctrl+Alt+T, or click on the Terminal icon of live CD desktop
sudo swapoff -a

Step 3: Delete Swap partition
Make sure the swap partition is unmounted. Right click on the Swap partition from within Gparted, and click on Unmount.
Now you should be able to delete swap partition. It is the logical partition /dev/sda5 inside the extended partition /dev/sda2.
Step 4: Delete Extended Partition /dev/sda2
The extended partition can't be deleted until the logical partition inside it is deleted. We did that in step 3. Now we can delete /dev/sda2.
Step 5: Delete /dev/sda3
You can delete this partition as it has no data. Then you will use most of this space to resize the /dev/sda1.
Step 6: Resize sda1
Use Gparted to expand /dev/sda1. Leave 8GB space (or less if you want) at the end to recreate the swap partition.
#Step 7: Create a new swap partition
You can choose to create a primary partition (new /dev/sda2) for swap. Since you are going to have only two partitions in this drive, there is no need for an extended partition.
Step 8: Find the new UUID of the two partitions
Either
In Gparted: Right click on a partition and select "Information"
Or
In terminal enter:
sudo blkid

And write down (or copy to a text editor) the two UUIDs for sda1 (/ partition) and sda2 (swap).
Step 9: Edit /etc/fstab
Mount the main partition, i.e.
sudo mkdir /mnt/mount_sda1
sudo mount /dev/sda1 /mnt/mount_sda1

and navigate to /mnt/mount_sda1/etc/  folder.
Find the file called fstab. Copy the new UUID in their appropriate places if needed.
If there is any lines related to the old /dev/sda3, you should delete that. As that partition does not exist any more.
Hope this helps


Can't choose Ubuntu after installing alongside Windows

Suggest a reboot from the LiveUSB . Use its gparted program to delete the ext4 partition /dev/sda5; click the green checkmark on the icon bar.

Delete the Extended partition /dev/sda3; click the green checkmark on the icon bar.

Make a new Primary ext4 partition in that 100GB space on /dev/sda and click the green checkmark on the icon bar before exiting from gparted.

Restart the installation and when you get to step 6 tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop#5 choose Something else and reinstall Ubuntu into that 100 GB space. Use it for root.

After install completes, it should prompt you to remove the LiveUSB before rebooting. A successful install shows you the GRUB menu where you can choose Ubuntu or Windows. If you still don't see it, go back into windows and disable Fast Start then reboot.


(16.04) Connected to internet but not working

In this case the answer is "Don't do that"

You should not edit /etc/resolv.conf by hand. In fact the default content tells you that as shown below.

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1

There is related detail available on this topic here. as well as here.


How to boot windows 7 after installing ubuntu 12.10 alongside?

Just in case grub was not configured properly, try updating the grub boot menu.  Open a terminal window and type the command

sudo update-grub


login.ubuntu.com is an OpenID provider. It is a Free Software project released under the terms of the GNU Affero GPL v3. You can find it on Launchpad in the canonical-identity-provider project.


The problem is that the alias is being expanded and executed before the next argument is reached, hence the server name is not being concatenated to the expanded alias.

In these kind of cases, you need to use a function:

r_d () {
xfreerdp /u:user /p:password /w:1300 /h:768 /sec:rdp /cert-ignore +cliprdr --plugin rdpsnd --plugin rdpdr --data disk:media:/tmp/RDP /v:"$1"
}

Now you can do:

r_d server.foobar.com


sudo apt-get update (you need admin rights)

man sudo (shows the manualpage for sudo, this works for almost any command)


GNOME Shell uses its own compoziting window manager called Mutter. According to Owen Taylor's mail it is not possible to use an alternative window manager.

  To try and make GNOME Shell integrate
  with multiple window managers would
  either greatly constrain the user
  interface vision or greatly increase
  the amount of work involved. The power
  of the GNOME shell approach is that we
  are working within the desktop scene
  graph of the window
  manager/compositor.

  Using Compiz to create a GNOME desktop
  using GNOME applications, the GNOME
  control-center, and so forth will of
  course remain possible. We have no
  current plans to create hard
  dependencies on GNOME Shell within the
  GNOME desktop (just as there are no
  hard dependencies on gnome-panel now.)

http://www.mail-archive.com/desktop-devel-list@gnome.org/msg15587.html


fakeroot permission denied when compiling kernel

Simply doing

chmod a+x debian/rules

solved the problem


Question about partitioning hard drive, Ubuntu and Windows

Yes, you can fresh install these operating systems, but first you need to install Windows, because if you install Ubuntu first you may have a trouble with boot loader (Windows loader will rewrite MBR with GRUB). My own suggestion is partitioning Windows drive C:\ to 150 GiB.

Partition Ubuntu like these:

As (/) = 25 GiB
As (swap) = Your RAMx2 GiB
As (/tmp) = 7 GiB
As (/home) = remaining space (because there will store your personal files)

I hope I helped


Why does Ubuntu not boot into a 3.4-Kernel?

Maby try install a newer nvidia driver on your 3.0 kernel. When you update you kernel the driver will be rebuild.

Do this commands:

sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update

Then go to your additional driver page and select the nvidia 310 driver.
Wait until the driver is installed.

Than update your kernel (it is important you install it again i think) and reboot.


Can't drag and drop files into new external HD: "read-only" destination. Changing permissions does not help

You have to disable journaling with OS X in order to get read/write access to a HFS+ filesystem and is documented at https://help.ubuntu.com/community/hfsplus

hfsplus

HFS+ is the files system used on many Apple Macintosh computers by Mac OS. You can mount this filesystem in Ubuntu with read only access by default. If you need read/write access then you have to disable journaling with OS X before you can continue. In OS X, open a terminal and type: diskutil listYou will obtain an output similar to the following: /dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *256.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            230.0 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:       Microsoft Basic Data                         25.2 GB    disk0s4Note down the identifier of your OS X partition. It is of type "Apple_HFS" and usually named "Macintosh HD".  In our example, it is disk0s2. To disable journaling, type the following in the terminal: sudo diskutil disableJournal volumeNameWhere volumeName is the previously discovered identifier for OS X partition (disk0s2 in our example). There was a bug in certain versions of OS X that would allow this command to complete successfully, but still not disable journaling. In order to fix this issue, you may need to enable journaling first with the command: sudo diskutil enableJournal volumeNameDisabling journaling on your main OS X partition is not recommended however as journaling is an important feature of any filesystem that can prevent damage and data loss: http://en.wikipedia.org/wiki/Journaling_file_system
Enable HFS+ read/write for a non-root Ubuntu user
After disabling journaling on your OSX HFS+ partition, you are likely to find that you cannot write any data to the partition under Ubuntu unless you use sudo or log in as root. You can enable read/write access to your OSX home directory by changing your Ubuntu User ID (UID) to match your UID under OSX. By default, the first user in OS X has a UID of 501, but you can double check this (or discover the correct UID for the required user) by opening the terminal under OSX and running the id command. If your User ID is something different from 501, replace 501 with your other UID in the terminal commands below. After verifying the correct UID, you need to log into Ubuntu as either root or as any other user that is a member of the sudo group except the one you wish to grant write access to as we don't want to edit a user that we're currently logged in as. If you're running Ubuntu on a PPC Mac, you are likely using yaboot to boot Linux and OSX in which case you can log in as root by typing Linux single at the yaboot prompt.  The following commands presume you are logged in as a regular user who has sudo rights. Simply substitute username for the Linux user you wish to enable HFS+ write access for and 501 for the relevant OSX UID. If you are logged in as root then run the commands without the sudo prefix. sudo usermod --uid 501 username
sudo chown -R 501:username /home/username /media/usernameYou may also want to fix your login screen as by default Ubuntu doesn't list users with a UID of less than 1000. To do this, just open a Terminal and run sudo nano /etc/login.defs and search for UID_MIN. Change that value from 1000 to 501, and when you reboot your user will be listed on the login screen.

There is also a hfsplus package which is a set of tools to access HFS+ file systems. hfsplus manpage can be found here


Ubuntu 18.04 Emergency Mode install updates

boot to GRUB Recovery mode
choose root access

type:

sudo mount -o remount,rw /        # to remount the disk as rw

sudo cp /etc/fstab /etc/fstab.BAK # backup the fstab file first

sudo pico /etc/fstab              # edit fstab

edit the entry for:

change the UUID for/usr/local, to the UUID shown in sudo blkid for /dev/sdb2

note: having a separate partition for /usr/local is very unusual.


Can't install GNU GSL library from source

Your error message gives you the exact cause of the issue, and I've wrapped it in three asterisks below:

file.c:102:0: fatal error: ***error writing to /tmp/ccF9p6T9.s: No space left on device***

This means that your /tmp directory, whIch holds temporary files and such, is full.  You've said that you never reboot the box, because it's always computing some stuff.  My guess is its using /tmp to store computational data in a temporary location.  That directory usually is cleared out on reboot and in other cases.

The problem is, when /tmp gets full you can run into a lot of problems.  From your df -h output above, your /tmp was mounted as 'overflow'.  Likely what happened is your root filesystem got filled up, and /tmp wasn't defined as its own partition, and the system remounted /tmp as an 'overflow' disk, which is limited in size.

So, you've got two things you need to do:

Figure out whether your / partition is out of space.  df -h on its own will give you a rundown of everything.
Remove old data from your disk (either delete it or move it elsewhere off the system), and the /tmp directory.  Something's eating your space and that's a bad thing.
Consider a reboot from time to time, during a regular maintenance period or something.  This way, your /tmp directory will get cleared out every so often, and you can apply kernel updates and such.


How do I change fonts and adjust their size? solved my problem. I simply clicked "Restore Defaults".

For Unity interface users, customisation of fonts can be done using unity-tweak-tool


How do I make diff print duplicates only?

I'm only interested in comparing filenames.

Then avoid any tool that will compare the content of the files, as it will just slow down the process.

What's occuring to me right now to compare the filenames in the two directories and to output only the common ones is:

comm -12 <(cd dir1; stat -c '%n' *) <(cd dir2; stat -c '%n' *)

comm -12 <([...]) <([...]): will compare the output of [...] and [...] output only the lines present in both files;
cd dirN; stat -c '%n' * will change the current working directory to dirN and output an ordered list of the filenames of the files in it.

% tree
.
├── dir1
│   ├── file1
│   ├── file2
│   └── file3
└── dir2
    └── file1

2 directories, 4 files
user@user-X550CL ~/tmp % comm -12 <(cd dir1; stat -c '%n' *) <(cd dir2; stat -c '%n' *)
file1

If you need to deal with newlines in filenames, use this instead:

sort -z <(cd dir1; stat --printf '%n\0' *) <(cd dir2; stat --printf '%n\0' *) | uniq -zd | tr '\0' '\n'

sort -z <([...]) <([...]): will join and sort the output of [...] and [...];
cd dirN; stat -c '%n' * will change the current working directory to dirN and output an ordered list of the filenames of the files in it;
uniq -zd: will print only duplicate lines;
tr '\0' '\n' will replace NUL characters with newlines.

% tree
.
├── dir1
│   ├── file1
│   ├── file2
│   └── file3
└── dir2
    └── file1

2 directories, 4 files
% sort -z <(cd dir1; stat --printf '%n\0' *) <(cd dir2; stat --printf '%n\0' *) | uniq -zd | tr '\0' '\n'
file1


appear.in works well for me so far.  It's like join.me in the old days, where it used to work on Linux in the browser, and you didn't even need an account.


I figured it out, the installs of everything were fine there were just too many calls in the Monte Carlo simulation and my laptop could not handle the inputs. Since I was running someone else's code I just adjusted the kernel inputs and run the job multiple times and compile the results.


:-1: error: The Qt version is invalid: qmake does not exist or is not executable

Try to do this:

sudo apt-get install qt5-default

And then create manual Qt version.


How do I make a desktop shortcut in the GNOME fallback UI?

I suppose you installed GNOME Tweak tool. If not, type

sudo apt-get install gnome-tweak-tool

Then, go to the section "Desktop" and enable "Have file manager handle the desktop"


Add to a prefix filename the name of its directory

Here's a slightly improved version of your script - the main differences are

using a shell glob * in place of $(ls) - see Bash Pitfall #1
quoting any variable expansions (allows filenames with whitespace or other funny characters - see Bash Pitfall #2)
marking the end of options to mv using the -- GNU extension - this lets it handle filenames that start with hyphens as well

So

for d in *; do
  [[ -d "$d" ]] && cd "$d" || continue
  for f in *.mp4; do
    echo mv -v -- "${f}" "${d}_${f}"
  done
  cd -
done

Or, more portably, you can loop over ./*.mp4 to protect from leading hyphens - but then you have to strip it off during the mv

for d in *; do
  [ -d "$d" ] && cd "$d" || continue
  for f in ./*.mp4; do
    echo mv -v "${f}" "${d}_${f#./}"
  done
  cd -
done

In either case, remove the echo (and the -v if you wish) once you are sure that it's working how you expect.


Sounds like the information from the monitor is not being read correctly.

You can manually add modeline information to the monitor section. example belowModeline

Section "Monitor"
  Modeline "1600x900_60.00" 119.00 1600 1696 1864 2128 900 901 904 932 -HSync +Vsync
EndSection

Add the line above and you should then be able to select that resolution.

The xorg file should be located in:

  /etc/X11/xorg.conf


Imagemagick will do what you need. Basic command line is:

Code:
convert +append image1.jpg image2.jpg product.jpg

The two images are placed side by side; use -append for a 'top to bottom' arrangement. With this you can easily write a script to process all of the files.

If you don't already have it installed, this might be a good starting point:
http://www.imagemagick.org

Source: http://www.unix.com/shell-programming-and-scripting/194015-putting-two-images-together.html

Hope that gets you part of the way.


How to set Firefox to open as a maximized window?

I know it's too late, but maybe for others who look for this, it is helpful.
Based on this link, it's maybe because of resistFingerprinting config.
Just go to about:config search for privacy.resistFingerprinting and change its value to false, then restart firefox.


Can't boot into Live USB, though secure boot has been disabled

I also have an Acer Aspire E5 and had the same problem. Follow these steps:

They assume that you are installing Ubuntu, but might also be required for booting from a Live USB

Make sure your UEFI is up to date.
In UEFI, you must set a supervisor password. Once the supervisor password is set, some new menus are accessible.
Enter the "Select an UEFI file as trusted for executing" menu. It will allow you to declare the newly installed Ubuntu boot image as trusted on your laptop.
Select EMMC >> EFI >> Ubuntu and select the file shimx64.efi. You will be prompted to give it a name of your choice (which will appear in the F12 boot options).
Type the name press Enter and then "Yes" should be highlighted.
Press enter again. Restart the computer without any boot disk and tap F12 during the boot process.
You should now get the boot option menu with the name you chose.
You can change the boot order in UEFI now so that it boots directly to the Grub screen.
Either disable the supervisor password, or save it in a secure place.


My mouse pointer disappears on "system surfaces" , like background picture, menus, background for all kind of system menus

Found this answer and it worked for me.

Mouse cursor won't appear on boot

  I had this problem on a Dell Optiplex 955. It has something to do with
  the video drivers and the default cursor set. You can set SWCursor on
  in your xorg configuration as discussed in this Ubuntu Forums post,
  however that has some performance impact (probably negligible on
  modern systems though).

  What I did is edit /usr/share/icons/default/index.theme and changed
  DMZ-White to whiteglass (you can change it to any of the non-DMZ
  themes in /usr/share/icons with a cursor directory in its subdirectory
  like whiteglass or redglass)

  After doing that, log out and back in to restart the X server.


Has anyone tried running Ubuntu-only on a Windows 10 computer?

Yes, several times.

It's not difficult to do, and it won't break anything.  If you are scared about anything, just download or copy the manufacturers "restore" disk that should bring it back to previous state.  Also, make sure you back up any files you want to keep.  Because you will be deleting everything on the computer and starting from scratch.

Sometimes, the toughest part is getting the system to boot into Ubuntu the first time (make the computer boot from the USB drive before the hard drive).  You may have to do this from the boot menu or BIOS/UEFI, right when the computer boot (white text on black background).

Once you do this, piece of cake.  Pretty much just hit next through all the prompts.  Reformat the hard drive when it asks.  Also, try to install when you are connected to a network--it will download the latest software as it installs.

After that, just test the various functionality--make sure everything works.  And almost always, everything works flawlessly and automatically.  Wifi, the brightness / volume buttons, etc.  They should all work.  If not, ask the question here.


You should be able to install using:

sudo apt-get install libreoffice-base

or, if you want the full installation of LibreOffice, use:

sudo apt-get install libreoffice

More details can be found here.


Mozilla (thunderbird an/or firefox) crash, bringing chrome down with it

After weeks of testing, logging, analysis, and even the use of a beta version of SolarWinds NPM and SAM, the problem seems to be multi-issue hardware.

I removed all plugins from FF and found that I was able to run longer, but still had crashes every 24-48 hours.

Strangely, when I ran two VirtualBox VM's, I found I could stay up and running for 48-72 hours before a reboot was needed.

But the problems remained and I decided to go back and check hardware (again). What I found was:

1) The primary (boot drive/OS) SSD had a controller error

2) 1 of the 4 sticks of RAM had massive errors on it. I had to run MemTest86 on each individual tick (turn off PC, remove all but 1 stick, boot to CD, run MemTest86, wash rinse repeat).

Changing the hard drive and removing that one bad stick of RAM has allowed me to continue up and running for 4 days and no signs of issue. Replacement RAM is on the way (I'm grateful to Crucial for their lifetime warranty and hassle-free RMA process).


Ended up with 5 primary partitions after installing Ubuntu 20.04 and Ubuntu is still nowhere to be found

Have you looked into just using Windows Subsystems for Linux (WSL2) instead of going through all that trouble? WSL2 makes Windows fully integrated with Linux? You could enable Hyper-V and install needed Hyper-V dependency packages from Microsoft in setting up a Virtual Machine. In so doing, you would be running a Linux Distro such as Ubuntu 20.04 LTS on top of your Windows 10 Operating System as a Virtual Machine, which would totally be independent of your Windows 10 OS environment. You could even easily install Visual Studio code editor if you need a development IDE that is fully compatible with WSL2 (Linux) and Windows.


You tried to update to natty (11.04) but 11.04 is EOL since October 28, 2012.
Take a look at this page: https://wiki.ubuntu.com/Releases

This is why you can't upgrade - the package you request doesent exist any more.

I think you have to reinstall with an actual Ubuntu-Version (12.04 or 12.10).
Or 13.04 which will be released at the End of April.


The lightdm GUI display manager allows users to login without providing their UNIX account password if they are members of the nopasswdlogin group.

You can check which users are members of the group using getent e.g.

getent group nopasswdlogin

You can remove users from the group a number of ways - IMHO the gpasswd utility is the most straightforward e.g.

sudo gpasswd --delete carol nopasswdlogin

Alternatively, set the group membership to s specific list of allowed users using the -M (--members) switch:

sudo gpasswd --members alice,bob nopasswdlogin

You can remove all users from the group (thereby requiring all users to supply their UNIX passwords for GUI login) by setting the group membership to an empty list i.e.

sudo gpasswd -M '' nopasswdlogin

See man gpasswd.


Kubuntu 20.04 shows only a black screen after login

The same happens to me. I believe it will be fixed soon but in the meanwhile, I found (by googling) the following solution. Open Konsole, and issue the next commands as a normal user:

killall plasmashell
plasmashell &
disown

Then, you can freely close the Konsole window.


Problem installing from Ubuntu 12.04.1 LTS 32bit cd

128 is way too small. See: https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop#System_Requirements
you need a minimum of 384 Mb and that's scraping the bottom of the barrel in performance.

It could be a hardware incompatibility or memory exhaustion that is keeping your install from working. Try http://www.damnsmalllinux.org/index.html


What filesystem should I choose for netbook?

For system (Ubuntu) ext4 -- it's default choice in Ubuntu and I think the best for all use.

If you want access a partition from both Ubuntu and Windows, best solution probably is NTFS or FAT32 (native Windows filesystems with r/w support in Ubuntu).


Trying to figure out what's going on with wireless can be quite tricky if all we have to go by is "the wireless isn't working". One of the biggest problems can be hardware compatibility issues. I would hope since your computer shipped with 12.04 lts, that the wireless card is supported in that version, but it is a 2 year old version of ubuntu at heart. I suggest you try a live usb drive of a newer version and see if the wireless works then, this will help eliminate hardware issues and with a new machine you will generally have more stuff work out of the box.

You can download ubuntu 14.04 here:
http://www.ubuntu.com/download/desktop

Make a live usb stick in ubuntu:
https://help.ubuntu.com/community/Installation/FromUSBStick

or

Make a live usb stick in windows:
http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows


How to compile and install ia32-libs in Ubuntu 14.04?

sudo -i
cd /etc/apt/sources.list.d
echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
apt-get update
apt-get install ia32-libs


How do I setup windows samba sharing on my second hard drive so that all users can create and delete files in Unity?

Your question is quite unclear. Specify what systems do you have, and what exactly you want to achieve. Is that share on windows? (btw. you can't have samba share on windows.. windows shares are smb (or other) and samba speaks smb protocol so in IT world you need to be really specific). What does it mean create and delete files in Unity? Unity is windows manager, it can't create and delete files on its own.

I guess you want to mount windows share in ubuntu, and to do that you use mount command. f.e

sudo mount -t "filesystemname" \ip.ip.ip.ip\nameofshare \mnt\mountpoint

take a look here:
http://manpages.ubuntu.com/manpages/hardy/en/man8/mount.8.html

as for privileges in ubuntu you need to read this:
http://linuxcommand.org/lts0070.php

and maybe this,

http://manpages.ubuntu.com/manpages/hardy/en/man1/chmod.1.html


monitor syslog and print line without `pattern`

The issue with your watch -n 1 tail -n 15 /var/log/syslog | grep -v -E 'pattern1|pattern2', I think, is that it runs tail -n 15 /var/log/syslog inside watch, then pipes the result to grep. That almost certainly causes the intermediate output to be buffered in such a way that you don't see what you expect (at least, not when you expect it).

There's probably a way to achieve what you want with clever use of stdbuf and/or the --line-buffered grep option, however a simpler way is to run the whole pipeline inside watch:

watch -n 1 'tail -n 15 /var/log/syslog | grep -v -E "pattern1|pattern2"'


install virtualbox v4.3.x to ubuntu 16.04

Older releases of Virtual Box are still available through downloading a DEB package from Oracle:

Download Virtual Box Old Builds

We can see that for version 4.3. all sub-releases are still supported and available, including the extension files.

After downloading the appropriate Debian package we can install it by a double click with the Software Center or manually. Unfortunately with end of the release older versions of Virtual Box are not built for more recent releases of Ubuntu.

This may or may not lead to dependency issues that may easily be resolved or not.

Below example will install few dependencies and the binary for Virtual Box 4.3.38 in a vanilla Ubuntu 16.04 amd64 :

Download and install a previous version of libvpx1.

sudo dpkg -i libvpx1_1.3.0-2_amd64.deb

Install libqt4:

sudo apt install libqt4-opengl

Download and install Virtual Box:

sudo dpkg -i virtualbox-4.3_4.3.38-106717-Ubuntu-raring_amd64.deb

If there are different, unresolvable dependency issues we may have to download the source code (also available from the page above) and build Virtual Box from source.

The Oracle repository is no longer maintained for older releases of Virtual Box.


Ubuntu mate keyboard layouts adding problem

You have to change /etc/default/keyboard to correct values with single long command below:

cat <<EOF | sudo tee /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us,ru"
XKBVARIANT=","
XKBOPTIONS="grp:alt_shift_toggle"
BACKSPACE="guess"

EOF

and then run sudo dpkg-reconfigure keyboard-configuration
and then you can set keyboard layouts from Keyboard Preferences (mate-keyboard-properties) .


Can anyone port Elementary OS Luna to Ubuntu 13.10 or Ubuntu 14.04"

No, Elementary OS will never be ported to Ubuntu. Elementary OS is an OS in itself where someone took Ubuntu 12.04 and changed the code base and then published it as on OS named Elementary.
Your question probably should be: can someone create a new version of Elementary OS based of of Ubuntu 13.04 or 13.10. On elementaryos.org there was a topic about this with this as an answer (no idea how official this is):

Will we see an intermediate release based on 13.10?
Since for the time being devs have to develop Isis of off 13.10 while waiting for 14.04 to mature, and since 14.04 won’t be finalized until mid-April 2014, will we see a surprise intermediate release of elementary based off of 13.10? elementary OS 0.2.5…?

Answer:

The devs are using Ubuntu 12.04 as that base, sometime after 14.04 LTS is released “Isis” will be released with 14.04 as the new base

Also (from elementaryos.org/answers/which-ubuntu-version-is-elementary-os-luna-built-on, which is now a broken link):

It is based off Ubuntu 12.04 LTS. So far all elementary versions are based of the Ubuntu LTS versions.

So this system will be going from LTS to LTS and not have releases in between.


I suggest you report a bug, because this is a common problem with applications that use wrappers to launch.

JDownloader is a java application and uses a wrapper script, so it's going to be difficult to fix this issue, unless Unity is modified so it can track this better.


Why my ctrl+semicolon was binded globally?

The problem is caused by an addon in fcitx named Clipboard. To disable it, simply open Fcitx Configuration -> Addon -> Clipboard, then either disable it or change its trigger key.

Addon -> Clipboard


Building ubuntu touch app with sql (mysql) support problem

libqt5sql5-mysql is not a part of the default image.  If you wish to use it, you must either install it on the phone (which I assume would require making your image writable) or include it as part of your application.

As an example, QHttpServer is not provided by the default image.  I use it in Beru, so I build it as part of my application.


Partial upgrade is something that should be generally avoided, and surely avoided when an essential package is held back.

The procedure when partial upgrade message is shown is

Find the packages which are been held back.(they are shown in the message.)
Either install them properly(a.k.a fix them) or remove them if unwanted.

Well, now that you have gone through partial upgrade, and have messed the things, I'm pretty sure a important package was held back and you removed it.OK enough of theory.

Try the following command, which should install all you need

sudo apt-get install ubuntu-desktop


Is your music showing up at https://one.ubuntu.com/files? If so, then there appears to be a problem with scanning that music so it shows up on the mobile app or web. If the music doesn't show up there then there is a problem with the files not syncing properly. Either way, can you please contact Ubuntu One support directly at https://one.ubuntu.com/help/contact? You can reply to the auto-reply email and include log files that will help us troubleshoot this problem:

Open your home folder
Click the View->Show Hidden Files menu option
Open the .cache/ubuntuone folder
Right click on the log folder and select "Compress"
Click OK and you should have a file named "log.tar.gz" in the .cache/ubuntuone folder, move this file to your Desktop since it's in a hidden folder which can be hard to find in the next step
Reply to the email and attach the log.tar.gz folder


"Digital Stereo" missing from PCM2901 Codec

I was able to verify that if Ubuntu is up and running and I plug in the USB cable, only the analog modes are shown in PulseAudio.  However, if I power on the host unit (Icom IC-7100) FIRST, then boot the computer into Ubuntu, PulseAudio happily reports both analog AND digital codecs.  This was repeatable.  Sure does explain a lot of configuration issues.


Eventually I managed to resolve this!

The user had a .py file in their home directory when he was opening ipython it was compiling the file (I'm not very familiar with python/ipython myself). Removing the .pyc and .py file resolved the issue! They can now open a gnome-terminal again.


How to configure simple routing between NICs

I had a similar problem, messed around for hours and hours until I found Pritunl (https://github.com/pritunl/pritunl), it uses OpenVPN but takes care of all the iptables headache that is needed for the routing you want and gives you a nice web GUI to manage clients, etc.

Not the answer you might be looking for, but for me it was a pragmatic solution, balancing the desire to "figure it out" and the desire to just have a working VPN solution ;-)


What is the meaning of exit 0, exit 1, and exit 2 in a bash script?

Here's one good reference for shell exit codes:

Exit code 0        Success
Exit code 1        General errors, Miscellaneous errors, such as "divide by zero" and other impermissible operations
Exit code 2        Misuse of shell builtins (according to Bash documentation)        Example: empty_function() {}

Caveat: Using the proper exit code is not a requirement and is not enforced by the shell. Developers can ignore the guidance if they think it wise.


Uninstalled Virtual Box without deleting the VDI

By default your VirtualBox files should be located in  $HOME/VirtualBox VMs/ so if you navigate there you should easily see if there are any remaining .vdi files still in place.

If your files were in a non-default location try running the following in a Terminal window to find them:

find $HOME -iname *.vdi

And when you find the files you can manually delete them...

References:

10.1. Where VirtualBox stores its files


Difference in fans on Windows 7 and Ubuntu 12.04

if you have a nvidia optimus gpu, install bumblebee

sudo bumblebee-uninstall
sudo apt-get install ppa-purge
sudo ppa-purge ppa:ubuntu-x-swat/x-updates
sudo ppa-purge ppa:xorg-edgers/ppa
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
sudo usermod -a -G bumblebee $USER

$USER is your username.


how do i stream a video in my server to my computer?

Share your video files folder on the server via samba, and once you navigate to the folder in Nautilus, you just have to click on it, and Movie Player will begin playing it as soon as it buffers a bit.


How to remove bookmarks from webbrowser app in Ubuntu Touch?

Go to the bookmarked page and once it has loaded, tap the bookmark star symbol to the right of the URL.


I started to experience the issue with other apps later, and then I began to search for solution not for Nemo, but in general, and found one on the Ubuntu Forums, and two on Ask Ubuntu as well.

This is caused by Compiz, so you have to use compizconfig-settings-manager (sudo apt-get install compizconfig-settings-manager, then start ccsm command with Alt+F2, or from terminal, or search for "CompizConfig Settings Manager" from the dash).

Open "General Options"
Under "Focus and Raise Behaviour" tab set Focus Prevention Level to Off

After following these steps, all my newly opened windows show up in the foreground as expected.


Screen tearing in 11.10 with intel graphics

This is a bug with Intel Sandy Bridge graphics.

Launchpad bug report
Upstream bug report

Unity
A workaround for Unity (or Unity 2D with Compiz) is to enable the options Force full screen redraws (buffer swap) on repaint and maybe also Don't wait for video sync in the Workarounds section of CompizConfig Settings Manager:

GNOME Shell
In GNOME Shell, you can work around the bug by setting the CLUTTER_PAINT environment variable in /etc/environment:
CLUTTER_PAINT=disable-clipped-redraws:disable-culling
CLUTTER_VBLANK=True


Unity not starting with nvidia driver install

Try removing "Experimental 3D support for NVIDIA cards" as this is for the open source driver Nouveau.
Don't forget to reboot

htorque - May 3 '11

comment from OP:

Done, I removed those and its working again


Installing pyGPs - A Package for Gaussian Processes

To install the pyGPs python package, open a terminal with Ctrl+Alt+t and type the following commands:

sudo apt-get install python-setuptools python-numpy python-scipy
wget https://github.com/marionmari/pyGPs/archive/v1.3.tar.gz
tar -zxvf v1.3.tar.gz
cd pyGPs-1.3
sudo python setup.py install

Now you can run a python interpreter to check that pyGPs is properly installed:

$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyGPs
>>> import numpy as np
>>>


This might be the answer you are looking for since it just helped me out and I had the EXACT same problem. Go here: http://linuxwireless.org/en/users/Drivers/iwlwifi/ and download the right driver version for you. Use:

wget -then the link-
tar -xzcf iwlwifi
cp -the ilwifi driver- /lib/firmware
sudo reboot

the documentation is on linuxwireless website's.


Another OS Like Windows server on MAAS Nodes

I will divide your question in two parts:

Is it possible to have a Windows Server as a MAAS node?

Yes, as this is FLOSS (Free/Libre Open Source Software) anything is possible as long as you find enough people willing to develop something.
In the near future?

Yes, MAAS can provision Windows Server 2012 RT/Hyper-V since 2014...


Android 8 Genymotion virtual device freezes at startup

I disabled nouveau and installed latest version of my graphics card from NVIDIA. That solves problem completely.


Resizing Extended Partition w/ gparted on livecd

You can't resize sda2 because the unallocated space is between sda6 and sda5. To expand sda1 using the unallocated space inside sda2, you need to do the following:

move sda6 below (to the right) the unallocated space, such that there is no more space between sda6 and sda5.
resize sda2 such that its size = sda6 + sda5. This will move the unallocated space ahead (to the left) of sda2, and just after sda1.
expand sda1 to make use of the unallocated space.

You need to understand that sda2 is an extended partition, consisting of sda6, the unallocated space, and sda5. Shrinking sda2 will only be possible if there are unallocated space to the extreme left or extreme right of the extended partition.


Can't install libdouble-conversion1 on Ubuntu-19.10

Download these packages first:

libdouble-conversion1 (http://ftp.br.debian.org/debian/pool/main/d/double-conversion/libdouble-conversion1_3.1.0-3_amd64.deb)
qt-at-spi (http://ftp.br.debian.org/debian/pool/main/q/qt-at-spi/qt-at-spi_0.4.0-9_amd64.deb)
libjpeg-turbo8 (http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg-turbo/libjpeg-turbo8_2.0.3-0ubuntu1_amd64.deb)
libjpeg8 (http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg8-empty/libjpeg8_8c-2ubuntu8_amd64.deb)
packet tracer 7.3

Open terminal and change directory to Downloads (where the downloaded packages exist)
Make all the downloaded packages executable (chmod +x packagename)
Copy /home/username/.config/mimeapps.list to /root/.config/
Install libdouble-conversion1 and qt-at-spi packages (sudo dpkg -i packagename)
Install libjpeg-turbo8 package. Here, you may find library conflict error. If so, remove the old one (sudo apt purge packagename). There will be some warning.Just type this command (sudo apt --fix-broken install). And then, remove again. Now, you can install libjpeg-turbo8 package again.
Install libjpeg8 package.
Finally, you can install Packet Tracer 7.3 package.\

Good luck


4 key shortcut does not work any more in GNOME Shell

I found out that for some reason with an update of the keyboard-configuration package (I suppose) for some reason the shortcut alt+shift was assigned to Switching to another layout.

I removed that with Gnome Tweaks:

open Gnome Tweaks
go to Keyboard & Mouse section
click Additional Layout Options
Remove the selection from Switching to another layout


how to solve "No module named 'distro_info'" on updating

sudo apt-get install --reinstall python3-distro-info worked for me.


How to open an APK file in Ubuntu 18.04?

Workaround: copy [whatever].apk to [whatever].zip

cp whatever.apk whatever.zip

Then Archive Manager will work with the .zip version


19.10 Why running: /usr/libexec/evolution-data-server/evolution-alarm-notify?

As far I can remember, you use MATE DE. So the answer below is for it.

On clean Ubuntu MATE 19.10 installation the output of ps and htop give me the clue - evolution-alarm-notify is started as dependency of mate-session:

$ ps xjf
 PPID   PID  PGID   SID TTY      TPGID STAT   UID   TIME COMMAND
  978  1087  1087  1087 ?           -1 Ssl   1000   0:00 mate-session
 1087  1250  1250  1250 ?           -1 Ss    1000   0:00  \_ /usr/bin/ssh-agent /usr/bin/im-launch mate-session
 1087  1349  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/bin/mate-settings-daemon
 1087  1358  1087  1087 ?           -1 Sl    1000   0:01  \_ marco
 1087  1366  1087  1087 ?           -1 Sl    1000   0:00  \_ mate-panel
 1087  1373  1087  1087 ?           -1 Sl    1000   0:00  \_ caja
 1087  1413  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/lib/x86_64-linux-gnu/indicator-datetime/indicator-datetime-service
 1087  1416  1087  1087 ?           -1 S     1000   0:00  \_ /usr/bin/python3 /usr/share/system-config-printer/applet.py
 1087  1419  1087  1087 ?           -1 Sl    1000   0:00  \_ nm-applet
 1087  1425  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/lib/x86_64-linux-gnu/indicator-session/indicator-session-service
 1087  1427  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/lib/x86_64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1
 1087  1436  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/lib/x86_64-linux-gnu/indicator-application/indicator-application-service
 1087  1443  1087  1087 ?           -1 Sl    1000   0:00  \_ mate-maximus
 1087  1446  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/lib/geoclue-2.0/demos/agent
 1087  1450  1087  1087 ?           -1 Sl    1000   0:00  \_ update-notifier
 1087  1459  1087  1087 ?           -1 Sl    1000   0:00  \_ mate-power-manager
 1087  1498  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/lib/x86_64-linux-gnu/indicator-messages/indicator-messages-service
 1087  1515  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/libexec/evolution-data-server/evolution-alarm-notify
 1087  1539  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/lib/x86_64-linux-gnu/indicator-power/indicator-power-service
 1087  1588  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
 1087  1609  1087  1087 ?           -1 Sl    1000   0:00  \_ /usr/bin/python3 /usr/bin/blueman-applet
...

The mate-session itself is a part of mate-session-manager package.
It simply launches evolution-alarm-notify from /etc/xdg/autostart/org.gnome.Evolution-alarm-notify.desktop (part of evolution-data-server package).

Also evolution components start as systemd --user services:

$ systemctl --user list-units --type service | grep evolution
evolution-addressbook-factory.service loaded active running Evolution address book service
evolution-calendar-factory.service    loaded active running Evolution calendar service
evolution-source-registry.service     loaded active running Evolution source registry

This is related to the fact that Ubuntu MATE 19.10 uses indicator-datetime which is integrated to Evolution. See Evolution replaces Thunderbird part of official Ubuntu MATE 19.10 Release Notes.


Bootloader question with the default “Install ubuntu along Windows” option

GRUB should be in the Master Boot Record (MBR) of the first hard drive. This is usually /sda (not to a partition within the drive, such as /sda1 etc.).

The above works for pre-UEFI / Windows 8 systems. For details of installing on UEFI/Windows 8 system see: Installing Ubuntu Alongside a Pre-Installed Windows with UEFI.

I have used this default GRUB setup for many years and never had any problem with it. In particular, Windows Updates did not mess up GRUB. However, if you need to reinstall Windows, then you will have to reinstall GRUB after installing Windows. This is easy to do. The Ubuntu installation stays unharmed by Windows installation process, unless you format the whole drive by mistake.

If you upgrade Windows, say from Vista to 7 or 7 to 8 that will erase GRUB as well. You can just install GRUB form a Live USB/DVD.

I have never used Windows installer instead of GRUB. Leaving GRUB out of the picture is not a good idea as it allows booting different kernels from the same Ubuntu installation. This is very useful if a kernel update in Ubuntu breaks something. Then you can boot to the previous kernel using GRUB and uninstall the kernel update.

Hope this helps.


How to create custom Ubuntu install with packages, system settings, defaults?

use the ubuntu preseed for that.

In ubuntu iso you can find it under preseed/ubuntu.seed

reference link


Open a terminal
Move to the directory where your game is installed. (If you are using wine, it should be something like ~/.wine/drive_c/Program Files (x86)/Age of Empires II HD/)

cd ~/.wine/drive_c/Program Files (x86)/Age of Empires II HD/

Execute:

wine "AoK HD.exe" -nostartup

Where AoK HD.exe is the name of the game binary file. It could also have another name, it depends on the version of the game.
Enjoy!


How do I run only first command in backgound?

Both in background:

~$ (sleep 1 &) && (sleep 2 &)
~$

1st in background

~$ (sleep 1 &) && (sleep 2)
~$

wont work with apt-get though.

edit: found it.

 sudo bash -c 'apt-get update >/dev/null 2>&1 & disown' && sudo apt-get upgrade

Proof:

sudo bash -c 'apt-get update >/dev/null 2>&1 & disown' && sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  gtk2-engines-pixbuf libcrypt-blowfish-perl libcrypt-cbc-perl
  libcrypt-rijndael-perl libexpect-perl libgnome2-gconf-perl
  libgtk2-ex-simple-list-perl libgtk2-gladexml-perl libgtk2-unique-perl
  libio-stty-perl libkeybinder0 libnet-arp-perl libnet-pcap-perl
  libnet-proxy-perl libossp-uuid-perl libossp-uuid16 libunique-1.0-0
  libxml-parser-perl python-keybinder
Use 'apt-get autoremove' to remove them.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

and the update is still running:

~$ ps -ef|grep apt-get
root      6102  1519  1 12:11 pts/0    00:00:00 apt-get update

It will break the sequence though: the upgrade will finish before the update.


Touchpad not supporting after installing Ubuntu 13.10

Run the below command on terminal to install synaptics,

sudo apt-get install xserver-xorg-input-synaptics

After installing the synaptics package,enable the touchpad by pressing Fn+Fx (where x represents (1-12) according to your configuration) will works.


What is the method to manage network interfaces in Ubuntu 12.04?

You can disable the networkmanager, take a look at this link.

But why does dhclient not work (or is not working as expected)? Have you altered the dhclient.conf?

dhclient <NIC> "should" almost always work.


Unable to type '|' (pipe, bar) character

A workaround:

If you define a compose key, you can type the | character (Vertical Line) by pressing:

Compose followed by V followed by L


How to bring ".bashrc" in effect without logging out or Restarting the current session?

Try source ~/.bashrc, or . ~/.bashrc. Both are the same in bash, and will update you ENV variables.

Example:

export $FOO=bar
echo $FOO
bar
echo "FOO=test" >> ~/.bashrc
. ~/.bashrc
echo $FOO
test


Removed operating system blank screen with flashing underscore

In the end I used LinuxLive USB Creator www.linuxliveusb.com/ and it worked perfectly


My solution for zbook 15 g3 with m1000m was to set graphics to discrete device not auto.

https://support.hp.com/lt-en/document/c04070522


How can I give other drives and partitions short, meaningful names in nautilus?

Open disk-utility from your Unity dash and click at your Harddisk .then click at the partition where you want a label then click Edit File System Label and give your New Label .


Windows 10 does not boot after Ubuntu 16.04 installation

According to http://paste.ubuntu.com/24242309/ you don't need to recover your data since you did't loose your NTFS partition or any sort of data, it seem that you just can't boot to windoze.

Let's try to solve this.

Press Ctrl+Alt+T to open a terminal:

sudo update-grub
sudo shutdown -r now

IF you still can't boot to windoze from GRUB do a recovery from your windoze cd to boot back again to the windoze BUT you will end up not be able to boot to Ubuntu for sure, check a tutorial how to install Ubuntu along side with windoze maybe is something you missed?

You can again always try to use boot-repair live cd: https://sourceforge.net/projects/boot-repair-cd/files/ after you successful restore the boot loader of Micro$oft to be able to boot both Ubuntu and windoze.

Hope it helps


I recovered from this error by doing :

sudo apt-get purge openjdk*

This will prompt you to remove the openjdk that have been installed in your system. Proceed with it. After the openjdk have been removed from your pc, you can do :

sudo apt-add-repository ppa:groovy-dev/groovy
sudo apt-get update
sudo apt-get install groovy

This installs the stable version. After that do this, in your terminal :

groovy -version

This should give you the output :

Groovy Version: 1.8.6 JVM: 1.6.0_24 Vendor: Sun Microsystems Inc. OS: Linux


You're probably referring to a layout you created with the Microsoft Keyboard Layout Creator. Here are a few Linux alternatives:

http://people.uleth.ca/~daniel.odonnell/Blog/custom-keyboard-in-linuxx11
http://ubuntuforums.org/showpost.php?p=1092145&postcount=1
http://code.google.com/p/keyboardlayouteditor/


As I don't know the exact details of your setup you may have to modify this but with a find and a mv command:

find /path/to/output -type f -size -1M -name 'modeloutput*' -exec mv -t /data/secondarydrive/ {} \+

You could add this as a Cronjob.

It will move all files in the /path/to/output dircetory with that filename starts with 'modeloutput' and are bigger than 1 Magebyte to the /data/secondarydrive directory.


Startup Manager does not affect boot order

Open the terminal an use the command sudo update-grub.


Shift key on Bluetooth keyboard won't work

This worked for me with the same keyboard, running Ubuntu 13.04

System Settings-> Universal Access-> Typing-> Turn sticky keys on


Autoexec.bat equivalents for Ubuntu that run with root privelidges?

You can create a daemon witch is the right way to do it. However it's a little harder than rc.local.

see here : https://superuser.com/questions/530071/installing-daemon-on-a-fresh-ubuntu-system

detailed help (you can take example of /etc/init.d/hostname) :

copy the skeleton :

sudo cp /etc/init.d/skeleton /etc/init.d/keyboard_backlight

edit the skeleton :

sudo nano /etc/init.d/keyboard_backlight

search for this

do_start()
{
        # Return
        #   0 if daemon has been started
        #   1 if daemon was already running
        #   2 if daemon could not be started
        start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
                || return 1
        start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
                $DAEMON_ARGS \
                || return 2
        # Add code here, if necessary, that waits for the process to be ready
        # to handle requests from services started subsequently which depend
        # on this one.  As a last resort, sleep for some time.

}

and change it like this :

do_start()
{
        echo 0 | /usr/bin/tee -a /sys/class/leds/smc::kbd_backlight/brightness
}

Comment out or delete the lines inside the do_stop and the do_reload

do_stop()
{
}
do_reload()
{
}

Save the file.

Give the execution permission to the file :

sudo chmod 755 /etc/init.d/keyboard_backlight

Test your service :

sudo /etc/init.d/keyboard_backlight start

If everything ok, load your service for startup

sudo update-rc.d keyboard_backlight defaults 99

Best regards.


Wired network settings missing in Ubuntu Desktop 20.10

This means there is no driver attached to your Ethernet Network Card. This can be solved by installing linux-backports.
Your problem has a solution here.
Success!


ubuntu server 16.04.2 on Raid 1 in Dell PowerEdge T20 - hangs on Reached target Shutdown

I had same problem with Ubuntu server 16.04.2 on Raid 1 in Dell PowerEdge T20. I tried tuning systemd, switching kernel versions to 4.8 and 4.9, updated BIOS, added acpi=force to GRUB BOOTOPTIONS but nothing helped.

Finally I solved this by wiping hard disks (dd if=/dev/zero of=/dev/sdX bs=4096) and setting up software RAID1 using Ubuntu installer. Now I don't have any issues while shutting down or rebooting system.

Linux softRAID is generally better solution than fakeRaid, in this case too.


How do I stop the super key from invoking the Unity Launcher?

I looked in System Settings>Keyboard>Shortcuts, but the Unity desktop effect shortcuts are not listed there and cannot be disabled so easily.

I opened unity-tweak-tool. Under the "Unity" heading, selected "Additional". Clicked on "Show the launcher." I thought pressing Backspace would disable it, but it doesn't work. You can set it to another keybinding, though.

I spend some time digging through dconf-editor without any luck finding a way to disable it completely. So, you're probably going to have to set it to something else.


Dvorak layout with Qwerty hotkeys (Dvorak — Qwerty Ctrl)

Please see this bug and the long and heated discussion around it: https://bugzilla.gnome.org/show_bug.cgi?id=162726

The behaviour you want was actually the default behaviour before and was considered a bug by people using the Dvorak layout...

PS: That it works in gnome-terminal is considered a bug...


Upgrade from 64-bit 16.10 to 17.04 fails

I had similar errors, and these commands helped me:

sudo apt autoremove -f click click-apparmor ubuntu-app-launch
reboot
sudo apt --fix-broken install
sudo apt update && sudo apt full-upgrade
sudo apt autoremove


Did you check you log files? Sometimes applications running in debug mode can write huge log files that take up all space.

Do sudo du -sh * . on your root to find out the FS utilization directory wise and post it here if you can.

Another thing that happens sometimes when you have mounts on NFS is that some open files got deleted forcefully and the orphans start getting huge and huge till it takes up all space in no time.


Wiping my hard disks, how do I pull out and sort all the music/videos/pictures?

The media player "Banshee" will find and put all your MUSIC and VIDEO files in folders. Just be sure to set the "Copy files to media folders when importing" checkbox under "Preferences" before importing. The application "Shotwell" will take care of your pictures and copy them into folders as well. Just look for a similar option before importing... I think i says "Copy to folder when importing" or something with that meaning at least.

!!! Be aware that that when Banshee and Shotwell are done importing your media this way, you will end up with TWO copies of every file. One in your old location and one in the new where these programs put it. This means that you have to be sure you have enough room on your disk.
PS: YOU CAN CHOOSE AN EXTERNAL DISK AS YOUR IMPORT DESTINATION, THAT WAY YOU WILL BE ABLE TO FIND ALL YOUR FILES AND BACKUP AT THE SAME TIME !!!


udev rule seems not working properly to force the usb device into fix location

From man 7 udev (highlighting by me):

  The kernel usually just assigns unpredictable device names based on the order of discovery. […] The name of a device node cannot be changed by udev, only additional symlinks can be created.

In other words, I think you won’t be able to use /dev/video0 or /dev/video1 reliably. Instead you should create and use stable symlinks. Something like the following might work instead:

KERNEL=="video*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="5555", ATTRS{idProduct}=="3500", SYMLINK+="myframegrabber"
KERNEL=="video*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="0843", SYMLINK+="mywebcam"

You would then use /dev/mywebcam and /dev/myframegrabber in your applications.

By the way, as recently mentioned in a similar answer:

  There is a chance that video4linux has already provided you with stable device names. You may want to check the directories /dev/v4l/by-id/ and /dev/v4l/by-path/ for this.