Ending up with four screens on my laptop display - can't do anything

This most likely seems to be a graphics drivers related compatibility issue.
You say that you have a new ASUS laptop ... ASUS ships with NVIDIA cards.
As you didn't provide further details, I assume it came with GTX 900 series.
For these new adapters it is recommended to use the latest official drivers.

Boot from Ubuntu USB installation media you have created.
Highlight Try Ubuntu without installing - press the E key.
Now add nouveau.modeset=0 to the end of the linux line.
Press the F10 key to boot into the Ubuntu Live desktop.

Install Ubuntu - when finished - install the NVIDIA drivers.

Boot the computer and when the GRUB menu appears ...
Highlight the Ubuntu menu entry and  press the E key.
Add nouveau.modeset=0 to the end of the linux line.
Press the F10 key to boot into the Ubuntu system.

When the login screen appears press Ctrl+Alt+F1.
Enter your user name and the password and execute :

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-358 nvidia-prime
sudo reboot

Notes :

After the drivers are installed adding a boot parameter isn't necessary anymore.
Check whether you have to enable NVIDIA graphics or switchable mode in BIOS.
Install Ubuntu in the same mode as Windows, so select the USB entry with UEFI.
Should there occur problems with nouveau.modeset=0, use nomodeset instead.
Use NVIDIA X Server Settings to switch between intel and NVIDIA graphics card.

USB :

In case no UEFI USB entry is offered in BIOS, create a new installation media.
Use the diskpart tool, open command prompt as administrator and execute :

diskpart
list disk
select disk *
clean
create partition primary
active
format fs=fat32 (quick)
assign letter=**

Note : * = number of USB drive | ** = select a free drive letter.
Mount Ubuntu ISO file and copy the content to the USB drive.


I don't know if this was causing your problem, but was definitely causing mine, specifically, choppy video and animation playback. (Scrolling through pages, video playback, just about anything.)
It turns out it was the indicator-multiload or System Monitor in the app indicators toolbar. Turn it off fixed the problem and videos/animations run smoothly.
I did not experience video playback stuttering to the point where things were getting repeated. In this case, it might not be your solution.
Also posting it here in case someone else finds this question because they were experiencing the same issue I did.
Also, if you're craving a system-monitor experience without the same problem, using the Gnome Extension 'system-monitor' has been working fine for me!


Can I change grub2 default OS from LiveCD

if I'm correctly understanding, you've forgot your own password in Ubuntu (I suppose you set up automatic login) so you can't run commanda as superuser: am I right?

In this case, what about starting Ubuntu in single-user mode and change your password? (take a look here)

Cheers,

Silvia


Install the i386 package of libicui:

apt-get install <your_libicui_package>:i386

Replace <your_libicui_package> with your package name.

In your case (Ubuntu 12.04) libicu48 and for Ubuntu 14.04 and newer versions: libicu52


Checkinstall doesn't install package globally

The tutorial you mentioned does not use checkinstall because nothing is installed to the system: it "locally installs" the compiled binaries in the ~/bin directory of the user performing the compiling. It does this for a variety of reasons: avoids the complexities of the package management system, avoids messing with system directories, makes updating compiled ffmpeg easier, for shared server users it avoids root/superuser (assuming dependencies are available), and avoids conflicts with the ffmpeg package in the official repository.

Some methods to make your compiled ffmpeg globally executable for all users:

Move it to /usr/local/bin

This is easy:

sudo mv ~/bin/{ffmpeg,ffprobe,ffplay} /usr/local/bin

Downside is that it won't be integrated into the package management system, but that shouldn't be a big deal since undoing this is simple.

To "uninstall":

sudo rm /usr/local/bin/{ffmpeg,ffprobe,ffplay}

Use checkinstall

If you want to use checkinstall to install the compiled ffmpeg binary for integration into the package management system, and so any user can execute it:

cd ~/bin
sudo checkinstall --pkgname=ffmpeg --pkgversion="8:$(date +%Y%m%d%H%M)-git" --default install -Dm755 ffmpeg /usr/local/bin/ffmpeg

This assumes the ffmpeg binary is in ~/bin which it will be if you properly followed the tutorial.

Alternatively, you could remove --prefix="$HOME/ffmpeg_build" and --bindir="$HOME/bin" when configuring ffmpeg, then run PATH="$HOME/bin:$PATH" make, and finally run your checkinstall command from your question if you want to install everything else (libraries, documentation, ffplay, ffprobe) too instead of just the ffmpeg binary.


Are Intel HD 4000 graphics supported on Ubuntu 10.04 LTS?

I managed to get it working back installing the backported oneiric kernel.


How can I run Sesame (Lastpass) program on a USB on Ubuntu?

I ran into this same problem after doing a clean install of Ubuntu 16.04 LTS.  Here's what I did to resolve the problem:

Go to http://packages.ubuntu.com/trusty/libssl0.9.8/download and download the appropriate file for your machine.  Since I have a 32-bit machine I downloaded the i386 version of the libssl0.9.8 file (libssl0.9.8_0.9.8o-7ubuntu3.2.14.04.1_i386.deb).
Go to Ubuntu Software and download GDebi Package Installer.  You'll use this software app to install the *.deb file downloaded in Step 1 above.
Open GDebi and click on File|Open and browse to the folder where you downloaded the libssl0.9.8 file (usually this will be the Downloads folder).

I already had sesame saved to a USB drive so once I installed libssl0.9.8 file, I opened up Terminal from the Launcher and changed the directory to the USB drive where I had sesame saved.  For example,

$ cd /media/<user name>/<usb drive name>/
$ sudo ./sesame

Replace  with your user name and  with your drive name.


Ubuntu GNOME 17.04 freezes every few hours

From the comments...

Summary...

we updated the Dell BIOS from 1.1.5 to 1.2.8
we installed intel-microcode
we ran the memtest memory diagnostic
we replaced what must have been a faulty RAM stick, 'cause it's working now!
and more I can't remember...


How can I install GTX260 Drivers on Ubuntu?

Could you let us know what version of Ubuntu you're using, both Distro and Release Version?

Mainstream Ubuntu doesn't use GDM anymore, so I was curious which version you're using.

== More Technical, Assuming Answer ==
(assuming Mainstream Ubuntu, 12.04LTS and up)

To install the Nvidia drivers, I would recommend using nvidia's drivers from their website. Here's what you'll need:

Install the kernel headers (if they're not already) (apt-get install linux-headers-generic)
Download the 32bit driver from nvidia's site
Stop the display manager (service lightdm stop)
Run the installation (sh ~/Downloads/nvidia-install-file-here.sh)
Restart the machine

You'll need to prefix those commands with sudo in order to gain superuser privileges.


I managed to solve the problem with resuming from suspend. First in the Additional Drivers Program i installed a beta experimental version of nVidia.

Then i did this in myterminal:

sudo apt-get install v86d
gksu gedit /etc/default/grub

Here i replaced  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
with this one: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap"

Also i replaced #GRUB_GFXMODE=640x480
with this one: GRUB_GFXMODE=1280x1024

gksu gedit /etc/initramfs-tools/modules

I added the following line at the end of the file:  uvesafb mode_option=1280x1024-24 mtrr=3 scroll=ywrap

echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
sudo update-grub2
sudo update-initramfs -u
Reboot Ubuntu

Both problems are now solved. The Boot Splash Screen and the resume from Suspend. But now i get the feeling that the system is booting a little longer.


All kind of errors while running apt-get update, GPG, BADSIG and more

I had the similar problem, but none of the above methods worked for me, however, the following thing worked:

Opened Update Manager
Go to Settings
Click Ubuntu Software Tab
Un-check (disable) any options in Installable from CD-ROM/DVD  Box at the bottom of the menu

regards


Coredump.gz is the (compressed) memory accessible by the program that crashed. It is a binary file. Coredumps are a treasure trove, with all sorts of private data to be mined.

Coredumps can be viewed by running 'gdb':

gdb --core=mycoredump

Of course, you will still need the debug packages associated with this core.

You can, then, generate a stacktrace by:

(gdb) bt

to generate a stacktrace of the current thread -- without parameter resolution --, or

(gdb) thread apply all bt full

to generate a stacktrace of all threads in the coredump, with parameter resolution.

stacktrace and full stacktraces show the control flow within a program. For Python, the top of the stacktrace shows the oldest call, with the most recent at the bottom; for pretty much everything else, the top is the most recent call, and the bottom the oldest.

A full stacktrace will not only show the flow, but also the parameter's values. This is where we usually find private data -- for example, say you see a function called "validatePassword" with a parameter called "Password", and a value of "MySecretPassword"...

Stacktraces are usually only helpful if the debug packages are installed (so that the stack frames can be resolved into something we can easily read). Analysis of a stacktrace will require one to have the sources that were used to build this specific program instance.


How to delete /dev folder that is accidentaly copied to external hdd?

Since dev is where hardware devices are identified (/dev/sda etc) I suspect that's the reason it's flagged as busy, and I also suspect that this issue might persist even in a live USB boot. I suggest you turn off automatic mount options, reboot, and while the disk is unmounted reformat it using either gnome-disks or gparted.

Failing that, you could always dd it with something like sudo dd if=/dev/zero of=/dev/sd# where # is the disk's identifier in lsblk. It's slow and will fully erase that disk, but it also won't ask questions as to whether the disk is mounted, etc; it will just overwrite regardless (be careful which disk you point it at, it also won't ask questions if you tell it to overwrite your OS disk). After this you will need to create a whole new partition table for the device with one of the aforementioned programs.


wi-fi and bluetooth not working simultaneously

You can fix it by turning off bluetooth and wireless coexistence.

Run in terminal

sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi bt_coex_active=N"

and reboot.

It looks like kernel developers have overdone that functionality slightly ;-)

This setting can be always undone by

sudo rm /etc/modprobe.d/iwlwifi-opt.conf

You can read this to understand what it does


Unity panel was glassy and transparant and has a solid black background now

You should try:

unity --reset

Then log-out log in again. It sounds like you messed up some settings in compiz.

Maybe install/re-install the graphics driver after resetting unity


Why my laptop is crashing after installing Ubuntu 20.04?

Ubuntu 20.04  is still  unstable.
Im recomend  to go into boot options.
And switch  to other mode if errors  is with  drivers  try:
quickly press and hold the Shift key, which will bring up the GNU GRUB menu
Choose recovery mode.
Select a menu option and press Enter to use it:
clean: Attempts to make free space on your file system. If your storage is full and this is causing some sort of problem, this can help free up space.
dpkg: Repairs broken software packages. If a package failed to install properly and your system doesn’t work because of it, this may help.
failsafeX: Boots your computer in a failsafe graphic mode. If there’s a problem with your Xorg graphical server configuration or graphics drivers and that’s causing your Ubuntu system to boot to a black screen or preventing the graphical desktop from loading properly, this can get you back to that graphical desktop.
fsck: Performs a file system check, which scans the computer’s file systems for errors and automatically fixes them. It’s a bit like chkdsk on Windows.
grub: Updates the GRUB boot loader. If you could use the GRUB boot loader to get to this menu, this option probably won’t help.
network: Enable networking, which is disabled by default in recovery mode.
root: Leaves the menu and goes to a root shell prompt. From here, you can mount the file system in write-mode and run commands that may help fix problems with the system. You should only do this if you know what you’re doing — it’s a way to fix the problem by hand if you know how.


Deleted Ubuntu from dual boot system, now can't boot into Windows

When your computer boots try constantly pressing F11 Del F1 and try to reach boot options, even better if you can reach boot options in the BIOS.  You'll need to google what the buttons to press for your computer make and model if those keys I recommended don't work.  You'll need to constantly be jabbing them soon as you press the power button.  Then you should be able to pick Windows Boot Loader or UEFI type options.


Go to System settings > Displays. You can change resolution in that. Something like this...

If System Settings doesn't do work, open Terminal (Ctrl + Alt + T). Run xrandr. Find what device has 1424×768 resolution (I call it name in command down). After that...
xrandr --output name --mode 1440x900

Maybe problem with your graphics driver.

For AMD → http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx
For Nvidia → http://www.nvidia.com/object/unix.html

After installing this drivers reboot you machine.

sudo reboot


MSI GS60-GTX965 - Unable to get Bumblebee to run properly - Could not load GPU drivers

The standard Ubuntu NVidia drivers generate some problems on slightly older and slightly newer NVidia hardware.

If you want more then the standard Ubuntu repository drivers, install the xorg.edgers PPA.  As the xorg.edgers group ask not to give installation instructions directly without linking to their page, this is the best I can do for now...

If you don't know what a PPA is or need some guidance about rolling forward and backward of driver versions after reading their page, leave a comment below.


Opening cursor files in a graphics editor?

The cursor files uses X11 cursor type of files:

$ file /usr/share/icons/DMZ-White/cursors/hand2
/usr/share/icons/DMZ-White/cursors/hand2: X11 cursor

GIMP plugin

You need a plugin to edit cursors files with GIMP called "X11 Mouse Cursor (XMC) plug-in" which you can find here.

The X tool

You can also create your own PNG images and transform them to cursors files using "Xcursorgen" which can be found in the x11-apps package.

Third party

Gursor Maker is a front end for xcursorgen.

References:

http://gimpchat.com/viewtopic.php?f=23&t=2201
http://mailman.cs.huji.ac.il/pipermail/linux-il/2009-April/001196.html
http://www.ehow.co.uk/how_7486801_make-own-x11-cursors.html


How to fresh install ubuntu 12.04 without removing windows 7

Back up your data from both operating systems.
Make a live USB or CD of the desired version the same way you did before.
Boot from it.
Then choose to install and during the procedure select install alongside and, when prompted, allow the installation procedure to overwrite the current Ubuntu installation. At your discretion, you may choose to retain the /home folder or wipe that as well.
That's all.


BQ Aquaris E5 Ubuntu bricked by Ubuntu5 upgrade

You might want to check if you have enough space on your device to apply the update. If it's the case that you don't, you might want to reflash your phone :/


No permission to access to any usb drive

I am pretty sure you did not clone the file access control list of the subdirectories in /media (this happened to me before); just a plain recursive copy (or rsync) does not do that by default.
Here is what it looks like on my machine:
[sh @ balrog] / 29 % ls -ld /media
drwxr-xr-x 3 root root 4096 Jul 22  2018 /media

[sh @ balrog] / 30 % ls -l /media
total 4
drwxrwx---+ 2 root root 4096 Mär  1 13:26 sh

[sh @ balrog] / 31 % getfacl /media/sh
getfacl: Removing leading '/' from absolute path names
# file: media/sh
# owner: root
# group: root
user::rwx
user:sh:rwx
group::r-x
mask::rwx
other::---

Notice the user:sh:rwx line which is for my user account named "sh".
I.e. even though the subdirectory /media/sh for my user account sh is owned by root, it has special FACL (file access control list) permissions. This is what you need to restore on your machine for your user account.
For a user named kilroy, you would do this:
cd /media
sudo mkdir kilroy
sudo setfacl -m u:kilroy:rwx kilroy

Notice that /media/kilroy is still owned by root and belongs to group root, but it now has additional permissions rwx (read, write and execute) for user kilroy. Check with
getfacl /media/kilroy

More info on the commands with man setfacl or man getfacl.
If you don't have those commands, install package acl:
sudo apt install acl


USB Multiwriter - how to select a new ISO

Possibly there was a bug with this program in 17.10.
In 18.04 it has a separate button (left of the "Start Copying" button) with the option to select ("import") a new iso.

Its version is 3.28.0-1.


You can use the timeout command (installed by the package by the same name) to run a command and kill it if it takes more than N seconds. I'd be careful about when to use it though. Killing apt-get during a package installation could mess things up, so I suggest only running the download part with timeout. Something like this bash function:

upgrade() {
    local retry=5 count=0

    # retry at most $retry times, waiting 1 minute between each try
    while true; do

        # Tell apt-get to only download packages for upgrade, and send
        # signal 15 (SIGTERM) if it takes more than 10 minutes
        if timeout -15 600 apt-get --assume-yes --download-only upgrade; then
            break
        fi
        if (( count++ == retry )); then
            printf 'Upgrade failed\n' >&2
            return 1
        fi
        sleep 60
    done

    # At this point there should be no more packages to download, so
    # install them.
    apt-get --assume-yes upgrade
}

See How do I run a command, and have it abort (timeout) after N seconds? for more.


Can iPod/iPad be accessed through Nautilus?

Yes, you can access ipods from nautilus. But all files that you synchronise to an ipod are renamed and stored in folders, that are managed by an ipod-database. So it doesn't make sense to use nautilus.

The best application depends on your apple-device and software version. After all my attempts with different iPods, I found Banshee to be the most reliable

If Banshee doesn't work for you, try Gtkpod, Rhythmbox, Amarok and Songbird. Sometimes they worked with some iPods, sometimes not.

If nothing else worked, I used iTunes in a virtual box running Windows XP.


cant install wine ubuntu 20.04/cant reconfigure package database

Open the terminal and change directories with cd to /var/lib/dpkg/.

Find all files in the /var/lib/dpkg/ directory but not in its sub-directories that have the suffix -old at the end of their names. In my /var/lib/dpkg/ there are the following files that meet this description.
diversions-old
statoverride-old
status-old

These three files should have the following corresponding new files.
diversions
statoverride
status

Delete the three new files and then use the mv command to rename diversions-old, statoverride-old and status-old to diversions, statoverride and status. This will replace the three new files with their corresponding three old backup files.

Close the terminal and reopen it. Then update the list of available software with sudo apt update, If this doesn't work also try running the same commands that you tried before.
sudo apt upgrade
sudo apt install -f
sudo apt clean
sudo dpkg --configure -a


No sound output, but is recognizing device

Have you installed the media codecs. It's common for beginners to forget to install the mp3 codecs. If not open up your terminal and type in the following

sudo apt-get install ubuntu-restricted-extras


How to make the login screen be in portrait mode?

This worked for me on a CLEAN install of 11.10:

BACK UP your "xorg.conf" file ("/etc/X11/xorg.conf");
Again, make sure you performed the step 1 above. I can't stress this enough;
Edit your "xorg.conf" file, adding the following to the "Device" section:

Option  "Rotate"   "CCW"

(CCW is for counter-clockwise.  Enter CW for clockwise);
Save, and restart X

Side-effect: I assume you have

Option   "RandRRotation"   "on"

in your "xorg.conf" file (I don't know how you'd be able to get a portrait display after logging in otherwise).

The only side effect I've noticed is that every time you use APT or Synaptic to install anything, and follow the process in the terminal screen, you'll get lots of "RandR extension not found" messages. It hasn't had any detrimental effects on my end.


How to force Chrome to open as new application from .desktop file

I found the solution here:

https://blog.aldomann.com/jupyterlab-desktop-on-linux/

Create the jupyter-lab.desktop:

touch ~/.local/share/applications/jupyter-lab.desktop

Then write the code below (Replace <user> by your username) and save it:

[Desktop Entry]
Version=1.0
Type=Application
Name=JupyterLab
GenericName=JupyterLab
Comment=JupyterLab is the next-generation web-based user interface for Project Jupyter
Keywords=python;tensorflow;keras
Exec= bash -c "/usr/bin/env PATH=/home/<user>/.anaconda3/bin/:$PATH /home/<user>/.anaconda3/bin/jupyter lab"
StartupWMClass=Google-chrome
Categories=Development;Science;IDE;Qt;
Icon=jupyter-lab
Terminal=true
StartupNotify=true
MimeType=text/x-python3;text/x-python;application/x-ipynb+json;e

Restart Gnome section (Press Alt+F2 and inside of the dialog write 'r')

Create a new .desktop file to Google Chrome:

cp /usr/share/applications/google-chrome.desktop ~/.local/share/applications/google-chrome.desktop

Then if not exist a line with StartupWMClass=google-chrome add this line otherwise replace it by the code below:

StartupWMClass=google-chrome

Get an icon to Jupyter. For example:

https://blog.aldomann.com/assets/img/jupyter-lab.svg

and save it at ~/.local/share/icons.


installing Canon printer model PIXMA MG 2522

Bionic actually had canon printer drivers on my installation, (Gutenprint something or other...), but they don't work right on my MX340--the colors are all wrong.
So I was struggling with installing the cnijfilter V3.90 driver for MX 340, and found the answer here (it also has many other Canon drivers, including the MG2500):
https://ubuntuhandbook.org/index.php/2018/10/canon-ij-printer-scangear-mp-drivers-ubuntu-18-04-18-10/
Steps are basically:

Remove any installed versions of cnijfilter you may have tried.
To find old cnijfilter pkgs do
sudo apt-cache policy cnijfilter*

Then remove if any are installed
sudo apt remove <your old cnijfilter pkgs>

Add the PPA
sudo add-apt-repository ppa:thierry-f/fork-michael-gruz
sudo apt update

Open Package manager, search for cnijfilter, mark for install your printer (choose your printer model here).  Mine was the MX340:
cnijfilter-mx340series:i386

Open printers gui, add printer, search for network printer and apply the cnijnet address that is found.
cnijnet:/XX-XX-XX-XX-XX-XX (the X's will be the mac of your printer)

Make sure the Canon (your model) series Ver.3.90 driver shows in Make/model window -- not the Gutenprint driver.  (mine showed the correct driver: Canon MX340 series Ver.3.90).

If for some reason the Gutenprint driver shows instead, then go back and choose the Canon (your model) series Ver.3.90 driver in the make/model window.


Based on the error message you have installed both versions of Virtualbox, one from Oracle and the other from Ubuntu repo. The two don't mix as the one from Oracle is usually more recent than the Ubuntu version.

Solution:

Steps:

Remove both Ubuntu and the Oracle versions, Ubuntu's via sudo apt-get remove --purge virtualbox, and the Oracle version via either two routes:

from the Software Center under installed applications or via the sudo dpkg --purge virtualbox-5.1
please note change the 5.1 to your version number, as the case may be.

Download 64bits version from this link.

Note the link given above will download file directly, so go here to see the source of that file.

Install using either:

double clicking on package, or
right click and select open with software install


Boot folder is almost full, how to give it more space?

I would first go to it and try to free up some space, if that doesnt fix it try to boot into live USB and resize the partition, note you should be careful not to damage all others.


Installing Qt 5.5.1 on Ubuntu 14.04 - throws qt.network.ssl error on terminal

Now OpenSSL in Ubuntu is compiled without sslv2 because it’s insecure, but Qt 5.5.x still requires it. In order to enable sslv2 the package needs to be re-configued without the no-sslv2 flag.

Install the prerequisite packages

sudo apt-get update
sudo apt-get install libssl-dev devscripts dpkg-dev cdbs debhelper dh-autoreconf libev-dev libpcre3-dev pkg-config

And then, grab the source

cd ~/Downloads
sudo apt-get update
apt-get source openssl

Now we need to edit the file in openssl-1.0.1f/debian/rules. Find the line 44 (maybe the line number will be different in various version) and remove no-ssl2 so that it will be like below:

cd openssl-1.0.1f
nano debian/rules
CONFARGS  = --prefix=/usr --openssldir=/usr/lib/ssl --libdir=lib/$(DEB_HOST_MULTIARCH) no-idea no-mdc2 no-rc5 no-zlib  enable-tlsext no-ssl3 enable-unit-test $(ARCH_CONFARGS)

Next we will add a comment and commit the change. Then re-build the package, this is going to take some time so skip down to the nmap part and download the source.
You might get some error says copyright was unable to be verified, ignore it. Moreover, the compiling might take a while so be patient.

dch –n 'Allow SSLv2'
dpkg-source --commit
debuild -uc -us

Now back to ~/Downloads you will see all the deb packages built. Install them:

cd ..
sudo dpkg -i *ssl*.deb

Now redo your Qt 5.5.1 installation to see if the warnings persist.


I can't connect to mobile brodband, but it is detecting

Guess what, I'm writing this from Ubuntu 12.04, using internet via BlueTooth by a Nokia X2!

While setting up the new device:

check the box: ☑Use your mobile phone as a network device.
After pairing with mobile phone, make sure to activate automatic connection.
To do that, go to the BlueTooth menu on your phone → Paired device → Scroll to the Ubuntu device → Option → Select "Yes" for "Auto-connect".

After that, on Ubuntu:

click over the network icon on the taskbar
select "Nokia X2-00 Network".

Now it is connected. You are done. Open the browser and open any page!


How to show list of installed extensions for firefox via command line?

Give a try to this grep oneliner command to list all the firefox addons,

grep -oP '(?<=\},\"name\":\")([^"]*)' ~/.mozilla/firefox/*.default/addons.json

OR

This worked for me:

user@host:~$ cat ~/.mozilla/firefox/*.default/addons.json |
python -c 'import json,sys;obj=json.load(sys.stdin);
for (i, x) in enumerate(obj["addons"]):
  print x["name"]' | uniq

Output in my case:

Clean Links
Tee-Timer

Explanation:

cat ~/.mozilla/firefox/*.default/addons.json: reads the addons.json file in each profile.
python -c 'import json,sys;obj=json.load(sys.stdin); load the json parser library of python and loads json via stdin (standard input), ergo from cat
for (i, x) in enumerate(obj["addons"]): phyton code to loop through the array of addons...
print x["name"]' | uniq ...and print its name only one.


please add your file name .watchmanconfig resolve the problem


How to restore proper notification handling with gnome-session, Openbox, Cairo-dock?

Zenity "notifications" don't use the standard notification system (libnotify). What you see is standard behaviour. If you want to send notifications you have to use notify-send (available in  the libnotify-bin package).


How to list files from n biggest directories?

You can use the results of your piped commands with a while loop:

du -hs */ | sort -rh | head -3 | while read -r size dir
do
   ls -l "$dir"
done

As a one liner:

du -hs */ | sort -rh | head -3 | while read -r size dir ; do ls -l "$dir"; done

Thanks to steeldriver for suggesting the use of read in a while loop over a for loop using awk, to handle filenames with spaces and special characters in a more robust manner.


How to show actual size and allocated size on disk of a file in Ubuntu?

I can only answer for command line.
du -b "file" gives you the actual size of the file.
du -B 1 "file" gives you the allocated size of the file on disk.


boot problem after upgrade Ubuntu 14.10 to 15.04

Test this:

Switch on your computer.

Press and hold the Shift key, which will bring up the Grub menu.

Select the line which starts with ---- Advanced options.

Select the line ending with ---- recovery mode.

In the menu with a number of options, select ---- Drop to root shell prompt.

In the terminal, run the commands:

mount -o remount,rw /
mount --all
dpkg --configure -a
apt-get -f install
apt-get -m install
apt-get update
apt-get dist-upgrade
apt-get autoremove
apt-get install --reinstall ubuntu-desktop
apt-get clean
reboot


How do i check if the data exists in the for loop

If the numbers are already in a bash array, you can do:

msg="There are no numbers starting with '4' in the array."
for num in "${array[@]}"; do
        if [[ $num =~ ^4 ]]; then
                msg="The array contains an element starting with 4"
                break
        fi
done
echo "$msg"

Or, if you like shorter, more cryptic solutions:

printf '%s\n' "${array[@]}" | grep -q ^4 && echo "Yes" || echo "No"


Added Auto Start of Kodi, Now I can't access my Regular user

Ok, I figured out what I did wrong as I traced my steps...

When I installed Xorg Legacy (As outlined in Step 5 of the Wiki), then realized that this step was not necessary, and purged and reinstalled Xorg, it removed my Ubuntu session. I had to re-install the missing files in my Ubuntu session, and the Unity greeter works perfectly now! This is the command I used.

sudo apt-get install --reinstall ubuntu-session

Thanks George for making me re-trace my steps!

The above Question is the exact steps to follow if your using a Desktop connected to a T.V. with a DVI to HDMI Cable as the Media Center for Kodi. When a member of my household wants to use Kodi, all the need to do is power on the computer and it boots straight to Kodi. I would like to stregthen my setup so that just any user cannot edit the Kodi Media Server settings, but that is a whole new topic. For now, this works great!


Texmaker Shortcuts not working on Ubuntu 16.04

Install the Qt5 version of texmaker (at this date it is the one you get from ubuntu-software-center) and always run it from terminal using:

env UBUNTU_MENUPROXY= texmaker

or (a permanent solution)

Edit texmaker:

Open nautilus as root:

sudo nautilus

Navigate to usr/share/applications/texmaker , right click on it, properties, and change on Command texmaker %F by env UBUNTU_MENUPROXY= texmaker %F
`


I had to do a similar thing. I needed to make Windows the only OS on a hard drive without formatting the drive/reinstalling. What I did was:

Boot into windows run BootRec.exe /fixmbr . This will get Windows7 to fix the Master Boot Record (MBR). Since it doesn't recognize Ubuntu this will set it so Windows7 is the only boot option.
Then you can boot into an Ubuntu CD. Use Gparted to remove the Ubuntu (Ext4) and Swap partitions. Then, expand the Windows Partition to fill the Hard drive.

Please be careful with each step as a mistake could wipe the wrong info. Also, make sure (and make sure again) that you have all the data you need off of the partitions you're removing.


Copy terminal result from one window to another

Ctrl + Shift + c  --> Copy

Ctrl + Shift + v  --> paste

In terminal...
Go to Edit > Keyboard Shortcuts... and this window opens...


Looks like a hardware issue. The capping is most likely due to thermal throttling. Maybe a sensor went haywire and reports alarming temps. The sensor must not necessarily be visible in the OS.
Another cause could be a power supply problem.


How do I get involved with the Ubuntu kernel?

The kernel team is always interested in getting community help on the kernel. We need help triaging incoming bugs, reviewing patches proposed for the kernel, testing kernel images as well as helping to fix launchpad bugs. For more details see "Getting Involved".

You may also want to check out the Kernel Team's FAQ and the Kernel Team's wiki documentation.


How to print both matching lines from two different files?

How about

awk -F, 'NR==FNR {a[$1]=$0;next}; $1 in a {print a[$1]; print}' file1 file2


Juju ( a DevOps tool) installation on Ubuntu via VMWare

You have 2 ways of installing Juju, via SNAP or via PPA repository

Via snap

sudo snap install juju --classic

Via repository

sudo add-apt-repository -yu ppa:juju/stable
sudo apt install juju

You can find a reference here official juju documentation


Can I use compiz wallpapers and still show my icons?

Just install Ubuntu Tweak tool : http://ubuntu-tweak.com/downloads/ , After install u can customize ur desktop, like show or not ur icon, customize ur Unity or whatever. For customize ur compiz pls install ccsm, in terminal : sudo apt-get install ccsm . Go to the dash, and customize ur compiz with ccsm.


The correct syntax is

fastboot oem unlock

Not ublock, notice that you shouldn't need to use sudo unless you are missing proper udev rules.

From then on you would need to push the update zips corresponding to the target platform.


Any way to get fonts to work in Libreoffice snap package?

You must copy your fonts in ~/.font folder , then in terminal type sudo fc-cache -fv . go to this path ~/snap/libreoffice/current/ and make a link to ~/.fonts folder by below command:

ln -s {source-filename} {symbolic-filename}
ln -s ~/.fonts .fonts


First: If you had access to gmail on microsoft then its the same as that.  Go back to your microsoft and access your email. While there change your email password to your gmail account.  Make a note of the gmail password.  Return to Linux OS and access your email with the same password.

You may have a phone that accesses gmail as well, use it to change your password if OS PC method fails.

Access to gmail is not dependent on OS; it is dependent on google mail (gmail).

Second: gmail has a feature to restore your account using security measures you put in place according to gmail security policy settings.  This is not an OS issue its a documentation issue.  How do you document your passwords for all your online passwords?


The installer says that there is not enough space on the disk

Oh... Dang! I get it. Go to your BIOS setup and see if there is some option like ATA-Mode or something. Switch it. Then reboot, retry.


No write access to gvfs smb shares in 16.04 (known bug -- is there a workaround?)

The "workaround" is to mount the share as CIFS:

sudo mount -t cifs -o username=<remote_account>,uid=$USER,gid=$USER,dir_mode=0755,file_mode=0644 //server/share /path/to/mount/point

If the system says that it doesn't know about CIFS then install cifs-utils.

"Workaround" is in scare quotes because I consider this to be normal and natural way to access a SMB share.


Cannot open folders from icons on desktop

Remove nautilus form Startup Applications

I could not solve the problem, but I found the trigger, 'disabled' it & reported the bug:
Folders on the Desktop only cannot be opened when nautilus is set for 'boot-launch' in Startup Applications. As soon as I remove the nautilus from the Startup-app-list and reboot, the folders open normally. This bug is reproducible & I experienced it on Ubuntu 18.04 and 18.10.

At least on now can circumvent the bug till it's fixed.


Ubuntu 20.04 Pantheon-files, there is no color change icon on right click

I got the solution,
Actually, we are missing some dependency. We need to install those first and restart pc
Again try to install this file package. Now, you can see the color change on right-click
I am sharing commands bellow. But make sure, you check for the latest file first.
At first, you need to enable universe repository with
sudo add-apt-repository universe
and then you can manually download and install a newer version of the library with
cd ~/Downloads wget http://mirrors.kernel.org/ubuntu/pool/universe/libc/libcloudproviders/libcloudproviders0_0.3.0-1_amd64.deb
sudo apt install ./libcloudproviders0_0.3.0-1_amd64.deb
and then install pantheon-files with
Sudo apt-get install pantheon-files


I had the exact same issue on 15.04,I managed to resolve it by installing unity-control-center.

I guess somewhere down the line I had messed it up or removed it.

Try reinstalling it if its already there....

sudo apt-get install unity-control-center


Xubuntu 14.04.3 - Monitors turn of during boot

Okay, after some more experimenting, it seems to be some kind of hardware issue. When I deactivate the Turbo Core Feature in the BIOS (increased CPU frequency from 3.7 to 4 Ghz) then the System is starting fine. If I then install the fglrx-drivers (which are also meddling with the frequency, I think) I can boot into xubuntu, but the system crashes after a few seconds.

So without the fglrx drivers and with deactivated Turbo Core, the system seems to be stable. I am running mprime now just to make sure, but I might have to return the CPU to my dealer.

Edit: Turns out, the CPU was not the Problem. I had te disable "Core C6 state" in the BIOS. This is a deep sleep mode where some cores can temporarily be turned off completely. It seems like this is not working properly on my board. With a new processor and the option enableded, I could hardly boot @ 1Ghz and the machine was only somewhat stable. With the option disabled I had mprime running without any errors for 10h now @3.7Ghz with Turbo Core enabled.

Thanks again for all your advice.

Thanks for your effort & ideas !


How do I set a PPPoE connection to redial?

You can set the persist option in /etc/ppp/options, and it should keep trying forever.


upgrade broke in the middle - how to verify?

If most of the things work, then download the Ubuntu 12.10 iso, burn it to a DVD or USB and Upgrade again through the installer. It will offers you the option to reinstall Ubuntu 12.10.


Problems with Grub2 and multiple installations

Have you tried to first mount the partition /dev/sda5 and then run an update-grub ?

Open a terminal (CTRL+ALT+T) and run

sudo mount /dev/sda5 /mnt
sudo update-grub


Where can I find websites that list games for Ubuntu?

The webpage playdeb.net offers a good list of games for Ubuntu. The ppa is found in their website which is http://www.playdeb.net/updates/Ubuntu/11.04#how_to_install

This is the one i use for many games.

For other good sites you can check the following:

http://www.linuxgames.com/ - News about linux games (Very up to date)
http://www.happypenguin.org/ - News and more detailed info about games (Also up to date)
http://www.lgdb.org/ - News about linux games that even include system requirements for them and comments about the game.


Why are suggested packages installed by default?

Recommends and Suggests are different categories.
Your output is showing Recommends (not Suggests).
Ubuntu's default setting is to install Recommends and to NOT install Suggests. Here's how you can see your current settings for yourself:
$ apt-config dump | grep Suggests
APT::Install-Suggests "0";         // 0 = No

$ apt-config dump | grep Recommends
APT::Install-Recommends "1";       // 1 = Yes

You can, of course, change the setting several ways. The easiest for most folks is to change the setting using a file in /etc/apt/apt.conf.d/


snap packages error "multiple nvidia drivers detected, this is not supported"

The update failed to remove the folder nvidia-361 which contained two broken symlinks. Removing this folder resolved the issue.


Why can't I spoof my wifi card's mac address to this address

Your first Byte 0x1F in binary is 0001 1111.
Since the bit.0 in the first byte of your MAC address is set to 1, the address corresponds to a multicast address, please see e.g. Wikipedia.

In order to have a valid unicast address, you should always have bit.0 set to 0, which in your case could be achieved, e.g. by changing the MAC address to
1E:2E:3D:4C:5B:6A, because 0x1E is equal to 0001 1110.


How to force Octave to launch in GUI mode from the dock?

Ok, I found out how to modify the dock. A similar question was asked here:

How do I change the launcher commands?

The answer is to modify the properties using the 'alacarte' menu editor. Find the GNU Octave entry in this editor and change the command to '/usr/bin/octave --force-gui' in the properties window. Thereafter tick off the box which asks the program to be run in the terminal. Voila!


Installing latest version of Ubuntu without losing data

From a terminal you can use the following command to upgrade :

sudo do-release-upgrade

You can also upgrade using a live install disc and selecting upgrade to ubuntu 12.04 on the installer.

If you have a separate /home partition you could also do a fresh install without any data loss.


Remove note about sudo that appears when opening the terminal

Once you run a sudo command, the file ~/.sudo_as_admin_successful will be created and the warning will go away. So either run a sudo command, such as sudo apt-get update or create the ~/.sudo_as_admin_successful file manually:

touch ~/.sudo_as_admin_successful

If you want the warning back for whatever reason, remove ~/.sudo_as_admin_successful:

rm ~/.sudo_as_admin_successful


ubuntu 16.04 slow boot cgroup: new mount options do not match the existing superblock,

Since sudo blkid shows only one partition, the problem might be caused by not having a swap as listed in /etc/fstab.

Try commenting out your swap:

sudo gedit /etc/fstab
Add a "#" in front of the second UUID line so it looks like this: # UUID=12d3baaf-f6d2-455e-ad35-c7278c0a5729 none
Save

At this point, you will not encounter the error anymore, but you do not have a swap partition or swapfile. Depending on what you do on your computer, you may want to add a swapfile.

As outlined by https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s2-swap-creating-file.html

Become root with sudo -s
Decide how large you want your swapfile to be. If you use hibernate, then make your swapfile at least as large your ram. If you run a lot of ram-intensive applications like video editing software make your swap 2GB-8GB. If you just run light web browsing, 512MB-1GB will do, but unused swap space won't hurt besides using more disk space.
Open a calculator, do 1024*[Desired swap size in GB]
Back at the terminal, dd if=/dev/zero of=/swapfile bs=1048576 count=y where y is the number from the calculator
Change permissions of the swapfile: chmod 0600 /swapfile
Setup the swapfile: mkswap /swapfile
Add the swapfile entry to /etc/fstab sudo gedit /etc/fstab
Add the line /swapfile swap swap defaults 0 0
Save, then reboot


My password can log me in, but nothing else ("user is not in the sudoers file" error when I try)

You can boot into recovery mode, start a root shell from there and add your user account to the sudo group with adduser USERNAME sudo.

Another solution is, once you are in the root shell, to edit the sudoers file as the thread you linked suggests.

See Broke my sudoers password, how do I reset it without using sudo? for details.


How to check which processes are still active after a user session has logged out

You're on the right track: I would also have one user watching the other. If top doesn't give you the output you want I would use ps aux in an infinite loop with a 1 second delay.

#!/bin/bash
# Example script for watching a logging off user
# This script is an answer to http://askubuntu.com/questions/608921/how-to-check-which-processes-are-still-active-after-a-user-session-has-logged-ou/608925#608925

# Copyright (c) 2015 Fabby

# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. See the GNU General Public License for more details.
# You DID NOT receive a copy of the GNU General Public License along with this program as the license is bigger then this program.

while true
do
  date   >> /tmp/watch-logoff.txt
  ps aux >> /tmp/watch-logoff.txt
  sleep 1
done

You'll come to the conclusion that no processes belonging to the logged-off user are running any more after they've logged off completely.


The theme can be found here. I found it ducking for ubuntu moinmoin (the wiki engine wiki.ubuntu.com uses) theme.


My Asus x200 will not boot when secure boot is enabled, but works just fine when secure boot is disabled.  UEFI mode otherwise works fine.  The other 'gotcha' is that the boot order is not persistent when the usb is removed.  The default order of hard disk first is reset, so you might have to play around with that too.

My BIOS is American Megatrends version 203, GOP version 3.0.1023, EC version B14E150001
Don't know anything about bitlocker.
To be more clear:  The specific USB needs to be plugged in as the UEFI settings are run and the bootorder changed to put it first.  The USB item in the boot order list is pretty specific to the USB, including brand and type.  Any boot without that specific USB will remove it from the bootorder.


What is the default password for Ubuntu 12.04?

During installation you're asked to set a password. If you didn't set it yourself, ask the guy who installed it or to get it reset for you. There's no backdoor or default password with privileges to reset it.

However more advanced tricks are available to reset it of course. Here's a guide for example: "How to reset your password in Ubuntu". It does require some 'techie' skills.


Autohide launcher does not work ubuntu 14.04

Identifying the root cause of the problem would require to know which kind of installed packages/applications/service may overwrite this setting.

You can of course create a keyboard shortcut to quickly re-enable Autohide with the following command:

dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode 1

In order to identify the guilty application, you could use the following command in a terminal:

dconf watch /org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode

and use System Monitor to list the running applications/services.


Can I watch YouTube videos on Ubuntu Touch?

Go to https://youtube.com/html5 and enable HTML5 playback.


Django is not installed by default. Django is a webframework written in the language python. Python is installed by default. To install django, there are essentially two ways to proceed.

1. Use the Ubuntu package manager

Ubuntu has a version of django in its package system. If you just want to play around with django and learn what it is (and maybe do a simple project or two) you can run

sudo apt-get install python-django

2. Use pip and PyPi, the Python package manager

In the django community the standard procedure for most developers would be to use pip. Pip is "a tool for installing and managing Python packages." You can install it as follows:

sudo apt-get install python-pip python-dev build-essential
sudo pip install --upgrade pip

Once pip is installed you can type pip freeze in your terminal to see the list of packages installed. You can install django using pip install django.

There is one thing to note, though. This will install django systemwide (for alternative instructions, see How to install django?). Normally you would want to install django in a virtual environment. There is a bit of a learning curve to these tools, but they help you to get a good development environment.

sudo pip install --upgrade virtualenv

http://www.saltycrane.com/blog/2010/02/how-install-pip-ubuntu/
http://warpedtimes.wordpress.com/2012/09/23/a-tutorial-on-virtualenv-to-isolate-python-installations/


So long as you have the nvidia driver installed, you can manually switch between the video devices using the nvidia X Server Settings utility:

Open the application and choose "PRIME Profiles" from the list on the left. You will then see some options on the right:

The options are broken down as such:

Label
Meaning

NVIDIA (Performance Mode)
Prioritise graphics and to heck with power saving

NVIDIA On-Demand
Automatically switch between NVIDIA dedicated graphics and the on-board Intel graphics device depending on the task

Intel (Power Saving Mode)
Only use the on-board Intel graphics device

Some notebooks only show two options, so do not worry if you do not have the exact same list.
Note: If you are unable to find nvidia X Server Settings in your application menu, then you might not be using an nvidia driver. You can confirm this by opening Terminal and using sudo lshw -C video. You will see something like this:
  *-display
       description: VGA compatible controller
       product: GK106GLM [Quadro K2100M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:46 memory:b0000000-b0ffffff memory:80000000-8fffffff memory:90000000-91ffffff ioport:4000(size=128) memory:b1080000-b10fffff
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:38 memory:b1400000-b17fffff memory:a0000000-afffffff ioport:5000(size=64) memory:c0000-dffff

Under configuration there is a driver value. If it says nouveau, then you're using the open driver. If it says nvidia you're using the proprietary driver.
Hope this answers your question and helps resolve the battery life issues you're experiencing.


Can no longer use apt-get to install due to error with apport

I just tried to compile the python file /usr/bin/pyclean on my pc, i compile it with python3 and I got the same error, while when I compile it with python2 there is no error.

So, I guess that you changed something in your system that makes the default python version python3.

You can try to fix this like so:

Execute the command ls -l /usr/bin/python and see its output.
If the file /usr/bin/python point to python3.x , then remove the link and replace it with a link to python2

sudo rm /usr/bin/python
sudo ln -s /usr/bin/python2.7 /usr/bin/python

Now python2.7 will be back as the default python version in your system as it should be


This was a bug in procps-ng (Ubuntu package name procps), fixed in version 3.3.11.

Latest Ubuntu LTS (16.04 Xenial) still contains the bug, whereas current regular versions (17.04 Zesty and 17.10 Artful) already ship the fixed version.


wireshark crashes when using flow graph feature ubuntu 14.04

this problem is corrected in the last version, 1.12. You can install it following these instructions:

sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt-get update
sudo apt-get dist-upgrade


Thanks to Pananoid Panda and Kluegerama for supplying the detail, but I think this answer needs to be more concise. For those of you looking to enable logging in VLC the following steps are confirmed to work on Mac, Linux and Windows.

On a PC go to Tools -> Preferences -> Press "Show All" button (bottom left of pop-up window) -> Advanced -> Advanced settings -> Logger. On a Mac preferences is under the VLC menu, the rest is the same as for PC.

Tick the box to 'Log to file'. Specify log file name under where it says 'Log filename' and click the browse button to set a location for the log file. You must browse to where you want the log file to be, then click Save (Select on a Mac).
Choose Text for the Log format.
Set verbosity to Debug (option 2 on older versions) - other options are Info, Warning (both option 1 on older versions) and Error. The Default option is equivalent to 0 on older versions.
Click the Save button and exit VLC.
Restart VLC.

When you next start VLC, it will be logging all activity to the file specified.


Why I am Seeing two java paths in `update-alternatives --config java`

I believe when you run java --version you will get java 9 but which is your default. Now update-alternatives will present the system with several options for applicable programs and will indicate which is the default choice when not manually selected by the user, hence the auto seen and the two options for java 9.

Excerpt from man update-alternatives:

update-alternatives  creates,  removes, maintains and displays information about the symbolic links comprising
the Debian alternatives system.

It is possible for several programs fulfilling the same or similar functions to be installed on a single  sys‐
   tem  at  the  same  time.   For example, many systems have several text editors installed at once.  This gives
   choice to the users of a system, allowing each to use a different editor, if desired, but makes  it  difficult
   for a program to make a good choice for an editor to invoke if the user has not specified a particular prefer‐
   ence.

Debian's alternatives system aims to solve this problem.  A generic name in the filesystem is  shared  by  all
   files  providing interchangeable functionality.  The alternatives system and the system administrator together
   determine which actual file is referenced by this generic name.  For example, if the text  editors  ed(1)  and
   nvi(1)  are  both installed on the system, the alternatives system will cause the generic name /usr/bin/editor
   to refer to /usr/bin/nvi by default. The system administrator can override this  and  cause  it  to  refer  to
   /usr/bin/ed  instead, and the alternatives system will not alter this setting until explicitly requested to do
   so.

In other words, it says you have three choices for java and that one of those choices will always be used under normal circumstances.


Ubuntu 18.04 doesn't connect to WPA/WPA2 Enterprise PEAP MSCHAPv2 network

I have this same issue, and have tried many suggestions online to fix it. I believe this is something that the network administrators specify.
My solution was just to install Windows in VirtualBox and use that to sign into the network, and then I am able to access it in Ubuntu.
Messy and not an ideal solution but it works.


why is sudo not working with exported path?

sudo overwrites the path for security reasons with a "secure" path. However you can modify this secure path to include your custom folder. Warning: this leaves your computer a bit unprotected. You can follow these steps for edit the secure path.

Execute the command sudo visudo for edit /etc/sudoers
Find this line (it should be at the start of the file):

Defaults       secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

If do you want to include your custom path here, edit the secure_path variable. It would look like this:

Defaults       secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64/"

If do you want to bypass completely this security measure (not recommended), simply comment out that line. It will allow the $PATH variable to "pass" through the sudo command


Configuring Ubuntu 12.04 so that it recognizes the recently installed icc compiler

The compiler could be installed in any set of directories. Just look for it by using find:

find / -name icc -executable

Then you'll get a line like so:

/some/random/directory/icc

Just modify your $PATH variable like this:

export PATH="$PATH:/some/random/directory"

N.B: You are adding the directory to your path, not the icc executable.


What are Launchpad packaging recipes and how can I use them?

I'm a bit lazy today, so I'll just give you two things worth reading and watching:

Launchpad source package recipes video
Packaging/SourceBuilds/Recipes help

good luck!


Empathy doesn't show the message, only "minus" signal

it's a bug i believe. The workaround is to close the window, open empathy and double-click on the contact name to open a new window. The text will then show up.

Please, sign in on launchpad and add yourself to the bug https://bugs.launchpad.net/indicator-messages/+bug/1019609, it will add some weight so it gets fixed faster :)


Why I get error Failed to execute child process "/sbin/ifconfig" when opening Nutty?

The ifconfig command is provided by the net-tools package, which is no longer installed by default on 18.04. It is deprecated in favour of the more versatile ip command. Also see ifconfig missing after Ubuntu 18.04 install for more info.

What you could try is to install that package anyway, as it is still available in the repositories:

sudo apt install net-tools

After that the missing /sbin/ifconfig command should be available, but I can't say whether it would be able to work correctly with the rest of 18.04's new networking stack and with your snap application. If it fails, remove that package again.

As a long-term solution, you should file a bug report for the maintainer of your nutty snap package and ask them to update their software to use ip instead of ifconfig from now on.


18.04: ThinkPad p50 Fingerprint Scanner not working even when recommended answer tried

Okay
So, I went through the steps on the GitHub page (which I didn't know were there in the first place) and It worked fine.  I'm sorry for all your troubles.


Guessing and Googling is bad method here.
To install Wine you usually need to add support of 32-bit CPU architecture with

$ dpkg --add-architecture i386
$ sudo apt-get update
...
Fetched 27,9 MB in 22s (1 296 kB/s)

Note 27.9 MB in the output above.
Then we can ask APT to run a "simulation" for us to get output like shown below:

$ sudo apt-get install --assume-no wine wine32
...
0 upgraded, 252 newly installed, 0 to remove and 0 not upgraded.
Need to get 139 MB of archives.
After this operation, 1 003 MB of additional disk space will be used.

The above output got from Ubuntu MATE 20.04 LTS fully updated VM, note the 139 MB in the output above.
So we will spend 28 + 139 = 167 MB mobile data traffic and not 1.3 GB as other user states.


Is the Gigabyte Brix (GB-BXBT-2807) compatible with Ubuntu 14.04?

Ubuntu does run quite well on this device, but it won't be supported by the device manufacturer.

Here is a blog post by someone who installed Ubuntu on this device.  Apparently everything worked, even the Wifi adapter.

http://nucblog.net/2014/11/gigabyte-brix-2955u-review/

  I have a feeling a lot of companies will neglect to state whether or not non-standard operating systems are supported

By definition, they are not supported.  If you choose to put a different OS onto a computer, the company that sold the computer is not going to provide support to you.  However, that doesn't mean it won't work.

The Brix is a fairly standard x86/64 PC architecture with a traditional BIOS, Intel HD graphics etc.


Ubuntu 19.10 Drops Into Grub2 Command Line After update-grub On ZFS Rootfs

Before you chroot,

you need do this (after you have booted from your rescue disk and got things mounted):

mv $target_root/dev $target_root/dev.save && mkdir $target_root/dev
mount --bind /dev $target_root/dev
(you might need to do the same for your /sys)

Only THEN you can chroot to $target_root/ and expect things to work. After you exit from chroot, don't forget to umount $target_root/dev && rmdir $target_root/dev && mv $target_root/dev.save $target_root/dev (and do the same for /sys if you used that). Or else you won't be able to boot cause your /dev won't be in place.

But actually

you must be able to install GRUB without all that chroot stuff.
Just check /etc/fstab and learn what your partitions are. Get your root (/) device from there.
Most likely you'll find UUIDs instead of /dev/sd* device names. No problem!! Get device name from ls -l /dev/disk/by-uuid where you find your UUIDs and devices they are linked to.
Learn where your /boot/grub is located -- most likely it's on your root, so ls /boot/grub is enough to make sure.
The standard grub-install command WON'T FIND ANYTHING, you need to supply your target installation (root) device to it:
grub-install /dev/sda (instead of /dev/sda supply your root device you found from /etc/fstab).

Oh, and you might want to check how to invoke grub-probe to get sensible answer from it:

grub-probe --target=disk / (or any other --target)


How do I setup a LDAP-backed IRC server?

You Question Needs a lot of explanation , so i will summarize my answer :

First you should use Inspircd v2.0.15 because its stable , high performance and the most important for your usage , flagged as ldap support Link.

First :

You should edit your /etc/hosts file :

YouserverIp       hostname.example.com        hostname

Second :

Install OpenLdap :

sudo apt-get install slapd ldap-utils

during installation just type your ldap administrator password .

OpenLdapServer

Third :

Install apache2 : apt-get install apache2

Fourth :

Install phpldapAdmin : phpLDAPadmin (also known as PLA) is a web-based LDAP client. It provides easy, anywhere-accessible, multi-language administration for your LDAP server.

sudo apt-get install phpldapadmin ( that's why i installed apache2 , its web tool)

You have now two steps :

edit

 /etc/ldap/ldap.conf

add : edit

BASE dc=yourdomain,dc=com
URI ldap://Your Ip Address

then : edit /etc/phpldapadmin/config.php

Just edit your Ip and domain name .

Open your browser :

yourIp/phpldapadmin

Enter your administrator password that you type when install sldap .

Now you connect to ldap database . select domain ----> on the right add Generic Posix Group ----> then select group and Create a child Entry add Generic User Accounts for testing .

More help use phpldapadmin Here

Fifth :

Now its time to configure inspircd :

edit : /etc/inspircd/inspircd.conf  you need to load the ldapauth module and point to your ldap server,

<module name="m_ldapauth.so">
<ldapauth baserdn="cn=test,dc=domain,dc=com"
          attribute="uid"
          server="ldap://yourIp or domainname"
          allowpattern="Guest*"
          killreason="Access denied"
          searchscope="subtree"
          binddn=""
          bindauth=""
          verbose="yes"
          userfield="yes" >

You should also add you irc server name and admin name and other option in

/etc/inspircd/inspircd.conf

This tutorial would help you : Tutorial

Last :

Restart slapd , inspircd and try to connect be users you made .

Note change as it fits your needs , this configuration both irc and ldap are the same servers .

Hope it helps you because i don't think there is an official documentation could be simple as mine .


How to disable fsck run on Ubuntu 16.04 boot?

In /etc/fstab, for every entry, change the last parameter (a digit, usually 0, 1, or 2) to 0

1 will run fsck first on this partition at boot
2 will run fsck next after 1 at boot
0 will not run fsck on boot

According to the fstab documentation:

  Controls the order in which fsck checks the device/partition for errors at boot time. The root device should be 1. Other partitions should be 2, or 0 to disable checking.


What is the best alternative to Google Reader?

If browser based, I am switching to Feedly. It will import your Google Reader account automatically. Google will help you find a suitable replacement.

EDIT; I have now settled on InoReader, far classier than Feedly, (actually has a working Chromium extension with unread count!) Also can subscribe to feeds via RSS Subscription Extension (by Google). Double lovely, indeed, super nice!


Ubuntu Software Center rendering glitch with NVIDIA drivers

This issue can be caused by a corrupted install of the NVIDIA drivers.

Go to System Settingsn then  Software Sources and then the Additional Drivers tab.
Select Using X.Org server... and click Apply Changes
Restart your computer
Go back to Additional Drivers
Re-enable Using NVIDIA binary Xorg drivers... and click Apply Changes
Restart your computer again and the driver issue should be fixed.

For assistance navigating the Additional Drivers menu in Ubuntu 12.10, see this answer.


Is it possible to configure dead key in XKB keyboard?

I see no sensible way to achieve that. ibus-m17n provides input methods as opposed to the XKB keyboard layouts where only a few dead keys are present.
If you don't want to write your own input method, using a compose key is a convenient way to handle it.


This is not actually a particularly good job for sed but here goes:

sed -nr 's#.*/([^"]+).jpg.*#\1#p' file

The above will get you a list of numbers, one per line:

20
20
32
32
32
30
30
30

Now, it is actually possible to get all these on the same line with 7 numbers per line using sed but it is really not worth the effort. Just use standard *nix tools instead:

$ echo $(sed -nr 's#.*/([^"]+).jpg.*#\1#p' file | tr $'\n' ' ') | fold -sw 21
20 20 32 32 32 30 30
30

Or, if you want to remove duplicates:

echo $(sed -nr 's#.*/([^"]+).jpg.*#\1#p' file | sort -u | tr $'\n' ' ')
20 30 32

Explanation

The sed command uses a few tricks:

-n: don't print any lines by default.
-r: enable extended regular expressions, this lets us use ( ) to capture groups without needing to escape the parentheses and + for "one or more".
s#from#to# : while the standard substitution operator in sed and other, similar tools, is s/from/to/, you can a non standard delimiter so that you can include / in the pattern. In this case I am using # but you could use something else like s|from|to| as well.
s#.*/([^"]+).jpg.*#\1#p : this will match everything from the beginning of the line
until a / and then captures the longest stretch of non-" characters until .jpg. This is the filename minus extension. The filename is captured in the parenthesis and the whole line (because of the .* on either side) will be replaced with the captured patter (\1). The p at the end means that it will print the lines where the substitution was successful.

Personally though, I would have done all of this with perl in the first place:

$ perl -e '@k=grep(s/.*\/([^"]+).jpg.*/$1/s,<>); print "@k[0..6]\n@k[7..$#k]\n"' file
20 20 32 32 32 30 30
30

Or, for a larger file:

$ perl -e '@k=grep(s/.*\/([^"]+).jpg.*/$1/s,<>); for($i=0;$i<=$#k;$i+=7){print "@k[$i..$i+7]\n"}' file
20 20 32 32 32 30 30 30
30

Or grep even:

$ echo $(grep -oP '[^/]+(?=.jpg)' file | tr $'\n' ' ' ) | fold -w 21
20 20 32 32 32 30 30
30

Or, stealing @Olli's clever xargs idea:

$ grep -oP '[^/]+(?=.jpg)' file |  xargs -n7 echo
20 20 32 32 32 30 30
30


When using netplan (17.10 Artful Ardvark on) and the renderer is:
networkd, there is no NetworkManager so the nmcli commands do not apply. The cat /etc/resolv.conf simply shows the nameserver to be 127.0.0.53, not very helpful really ;-)

To get the nameservers.

ubuntu@ub-17-10:~$ systemd-resolve --status | sed -n '/DNS Servers/,/^$/p'
         DNS Servers: 192.168.92.201
                      8.8.8.8
          DNS Domain: netlabsug.tst


I am installing jenkins server but its giving W: GPG error:

I myself had the same issue. After adding the Google keys from the official web repository, it worked.

Google helped with the following command:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <the key>

In this case:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9B7D32F2D50582E6


Ubuntu 16.04 Some program windows open top left and off screen

Even though it was posted 2012, it works for the "bug" that showed up running 16.04 when nothing else worked.

https://ubuntuforums.org/showthread.php?t=1967258

In short, download CCSM, click on Windows placement, select Smart.


My hard disk partition doesn't appear in Nautilus directly. What should I do?

You can bookmark those partitions for convenience. Go to the partition from 'Other Locations' and then press Ctrl+D. Then it would appear in the Nautilus sidebar.

But note that this bookmark would work only when the partition is already mounted. So consider making the partitions mount automatically at startup too.


A question about "add-apt-repository"(gcc 4.7 or bumblebee)

Can you please try this

sudo apt-get install build-essential


How better to adjust more than 2 keyboard layouts

my approach towards this problem would be assigning a combination of keys (via keyboard shortcuts) for either using loadkeys/setxkbmap. Although, you might want to revert back to last used layout after using 'the special one', thus you might need to write a bash script for that.


Dropbox HP, Dropbox Tour and Dropbox Help Center might be of use to you!

Dropbox automatically, when you put your new file into the Dropbox hierarchy uploads them, and also synchronizes them instantly, if you check/activate the following options in the preferences menu:

Under General tab mark the Enable LAN sync option.
Under Account tab - Selective sync: Select which folders sync to this computer: You need to mark all your folders, that should be synced!


How to display all apt-get Dpkg::Options and their current values?

Unfortunately, apt-config dump doesn't list the dpkg options you were looking for. man dpkg helped me find this command, --force-help, which is more specific to the particular dpkg force options you were interested in, but not a comprehensive list of options:

$ dpkg --force-help
dpkg forcing options - control behaviour when problems found:
  warn but continue:  --force-<thing>,<thing>,...
  stop with error:    --refuse-<thing>,<thing>,... | --no-force-<thing>,...
 Forcing things:
  [!] all                Set all force options
  [*] downgrade          Replace a package with a lower version
      configure-any      Configure any package which may help this one
      hold               Process incidental packages even when on hold
      not-root           Try to (de)install things even when not root
      bad-path           PATH is missing important programs, problems likely
      bad-verify         Install a package even if it fails authenticity check
      bad-version        Process even packages with wrong versions
      overwrite          Overwrite a file from one package with another
      overwrite-diverted Overwrite a diverted file with an undiverted version
  [!] overwrite-dir      Overwrite one package's directory with another's file
  [!] unsafe-io          Do not perform safe I/O operations when unpacking
  [!] confnew            Always use the new config files, don't prompt
  [!] confold            Always use the old config files, don't prompt
  [!] confdef            Use the default option for new config files if one
                         is available, don't prompt. If no default can be found,
                         you will be prompted unless one of the confold or
                         confnew options is also given
  [!] confmiss           Always install missing config files
  [!] confask            Offer to replace config files with no new versions
  [!] architecture       Process even packages with wrong or no architecture
  [!] breaks             Install even if it would break another package
  [!] conflicts          Allow installation of conflicting packages
  [!] depends            Turn all dependency problems into warnings
  [!] depends-version    Turn dependency version problems into warnings
  [!] remove-reinstreq   Remove packages which require installation
  [!] remove-essential   Remove an essential package

WARNING - use of options marked [!] can seriously damage your installation.
Forcing options marked [*] are enabled by default.


Prevent Network Manager from using modified dhclient.conf file in Ubuntu 16.04 LTS

NM searches for multiple files to merge: https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/dhcp/nm-dhcp-dhclient.c?id=eb77d4ed28fb7d72020fc4bce2a7f3477f0b8c1d#n219

If you turn on debug-logging, NM will also log lines like:

NetworkManager[388]: <debug> [1481627729.0469] dhcp4 (wlp3s0): creating composite dhclient config /var/lib/NetworkManager/dhclient-wlp3s0.conf
NetworkManager[388]: <debug> [1481627729.0469] dhcp4 (wlp3s0): looking for existing config /etc/NetworkManager/dhclient-7111201a-568f-4568-a0ed-cd1d4df11e8f.conf
...

To avoid loading your dhclient.conf, create an empty File that shaddows it (i didn't actually test this)


How do I hide two or more directories in smb.conf?

"veto files = subdir1, subdir2"

Wrong syntax. Try:

veto files = /subdir1/subdir2

From the man pages:

  veto files (S)

       This is a list of files and directories that are neither visible
       nor accessible. Each entry in the list must be separated by a '/',
       which allows spaces to be included in the entry.


How to change background image of Dolphin file browser from default white background?

Qt Style Sheets

http://doc.qt.io/qt-5/stylesheet.html :

  Qt Style Sheets are a powerful mechanism that allows you to customize
  the appearance of widgets...

More:

Qt Style Sheets Examples: http://doc.qt.io/qt-5/stylesheet-examples.html
Qt Style Sheets Reference: http://doc.qt.io/qt-5/stylesheet-reference.html

QSS & Dolphin background image

Older from the KDE Forums - How to set a pattern (image) as a wallpaper on Dolphin?: https://forum.kde.org/viewtopic.php?f=17&t=94717

and more:

Deviantart: http://samuaz.deviantart.com/art/Kde-GaiaSnow-update-4-373661315 -> http://pastebin.com/wEnndQPw
[SOLVED] Scaled background image using stylesheet: https://forum.qt.io/topic/40151/solved-scaled-background-image-using-stylesheet/2

Example

Making backStyle.qss:

DolphinViewContainer > DolphinView > QAbstractScrollArea {
      background-color: transparent;
      border-image: url('background.png') 0 0 0 0 stretch stretch;
}

and starting the Dolphin with the command:

dolphin -stylesheet /path/to/myqss/backStyle.qss

The result:

Note

The Dolphin is painting every other line with the alternate background color in the details view mode:

You could change the color but you can't edit the transparency without rebuild of the Dolphin.

Changing the .../src/kitemviews/kitemlistwidget.cpp line 118 from:

const QColor backgroundColor = m_styleOption.palette.color(QPalette::AlternateBase);

to

const QColor backgroundColor = QColor(0, 0, 0, 20);

About Qt colors: http://doc.qt.io/qt-5/qcolor.html#QColor-2

After rebuild:


Open a Terminal and use the following commands in order and enter your password when it asks you:

sudo add-apt-repository ppa:xorg-edgers/ppa -y
sudo apt-get update
sudo apt-get install nvidia-current

This will install the latest nvidia drivers for your graphics card if it is not recognized in the additional drivers tab in software & updates.


How to install Ubuntu on portable external Hard Drive?

A very detailed answer would be beyond the scope of a single question, but here's the general outline. It's very easy, but success will partly depend on the ability of your computer to boot from an external hard drive. This depends on the bios.

Before starting, make sure your bios has an option to boot from a USB HD.

If all you need is the basic install, Python 2.7, and the C compiler, you can get away with installing Ubuntu to a fairly small partition. I forget the literal minimum Ubuntu needs to install, but it's roughly 8 GB. I would recommend 10 GB as a minimum, plus another 2-4 GB if you want a swap drive.

Create space for a partition

It's best in your case to create the new partition before doing the install. You will need to shrink the existing partition on your external hard drive first.

I would recommend backing up the USB HD; but if you had a second one, you could just install to that one. Depending on how full the drive is, you may not be able to back it completely; but try at least back up any important files. This is just a general warning and precaution since your data should be safe.

You have two options to shrink the existing partition:

Use the Windows partition manager in administrative tools. I believe these are available in Home Premium. If the partition won't shrink by enough, you may need to delete files to make room. If you have more than enough available but it still doesn't shrink enough, use a free defrag tool like MyDefrag to defrag and move the files to the start of the partition.
Use gparted from the Ubuntu live install media. This is probably the easier way to do it.

Create a new partition

Create the Ubuntu live installation media and use it to boot your computer. Choose Try Ubuntu.

Plug in the external hard drive. Start the program gparted. If you have not already shrunk the partition on the external HD, do it now.

In most cases, the internal HD will show up as sda and the external as sdb, but this is not guaranteed. Be sure you are looking at the correct HD in gparted.

Shrinking the partition will leave unallocated space. Use this to create a new partition. Format it to ext4. Jot down the partition number. This will be used for /.

You don't need a swap partition, but if want one, shrink the new partition by the size you want (or just make it a little smaller in the first place). Format that space to linux-swap.

Note down the numbers of the new partitions.

Run the Installer

Start the installer from the icon on the desktop or on the launcher. When asked how you want to install, choose: Somethine Else.

This will start the partitioner within the installer. This is different than gparted and may look a little intimidating to a beginner.

Carefully highlight the new partition (check the number and drive carefully) and click Change.

Follow the dialogs to a. Use the partition as ext4, b. mount to /, and c. format.

Highlight the swap partition and click Change. Choose use a linux-swap and that's all for that one.

Very important: change the installation of the bootloader to the USB HD. This will most likely be /dev/sdb. This will prevent you from overwriting the master boot record on your hard drive. (If you do this by accident, it's easily fixed).

Double-check your partition choices, then click Install Now.

That's it. To run Ubuntu, boot the computer with the USB plugged in. Set your bios order or otherwise move USB HD to the first boot position. The boot menu on the usb will show you both Ubuntu (on the external drive) and Windows (on the internal drive). Choose the one you want. If you boot without the usb, you will boot into Windows normally.

Ubuntu has Python 2.7 installed by default. To install the C comiler, open the terminal, any run:

sudo apt-get install gcc

or

sudo apt-get install build-essential

(if you want some additional programs helpful for C programming).

To run Ubuntu in a virtual machine instead, install VirtualBox or VMWarePlayer in Windows. Both are free. Create a new VM and use the installer media to install to the VM. But this time, don't worry about partitions. Choose Install Ubuntu to the entire virtual drive. This doesn't affect the rest of the hard drive.

If you want to put the VM on the external hd, be sure to override the default location when creating the VM and put it on a folder on the external drive.

Creating your installation media with persistence through a Windows program like LiveUSBCreator will also work, but this option will be very slow.


Which tool have you used for creating the USB? Try rufus - always works for me. Also have you tried ubuntu 19.10 or to change USB stick? I have E595 which is very same but 15" and installed Manjaro 18.1.4, Ubuntu 19.10 and now runnning on Mint 19.3 without problems (so many distros, just for testing which mostly fits to me).


How to mark that I want Ubuntu to be upgraded to the newer release so it can run in unattended mode?

Set these options in "Software and Updates" > Updates Tab.

The "Download and Install automatically" option does unattended upgrades. Options to "Display" either immediately or weekly give you notification first.
also change the "notify me" to any newer version.
You will automatically be notified when an update will be available(given you have an active internet connection). You just need to click upgrade/continue and you will be upgraded to the newer release


How to use grep on all files non-recursively in a directory?

In Bash, a glob will not expand into hidden files, so if you want to search all the files in a directory, you need to specify hidden files .* and non-hidden *.

To avoid the "Is a directory" errors, you could use -d skip, but on my system I also get an error grep: .gvfs: Permission denied†, so I suggest using -s, which hides all error messages.

So the command you are looking for is:

grep -s "string" * .*

If you are searching files in another dir:

grep -s "string" /path/to/dir/{*,.*}

Another option is to use the dotglob shell option, which will make a glob include hidden files.

shopt -s dotglob
grep -s "string" *

For files in another dir:

grep -s "string" /path/to/dir/*

† Someone mentioned that I shouldn't get this error. They may be right - I did some reading but couldn't make heads or tails of it myself.


Don't think your going to be able to add login screen buttons, so here is my answer.

If you follow the answer here :

How can I get grub2 to boot a different option only on the next boot?

You should be able to set it up so that it always boots into Ubuntu by default, then from the Ubuntu command line (once logged in) you will be able to perform a 1 time reboot into Windows using ;

grub-reboot <windows entry>

So if Windows is the 3rd entry in the grub entry (starts at 0);

grub-reboot 2

Once booted into Windows, you simply reboot as normal to boot back into Ubuntu.

Repeat as needed.


Try installing any Updates to Ubuntu and if that doesn't work try using Ubuntu 13.10. I had the same issues until the system was updated.

An alternate suggestion that you boot into Ubuntu with a different version of Linux, you should be able to do this from booting up the computer and then selecting "Advanced Options for Ubuntu" and selecting another version to boot into.


Selecting text with Shift+arrow disables keys on Bionic Beaver 18.04 LTS with Gnome 3.28.2

https://wiki.gnome.org/Design/OS/KeyboardShortcuts and  https://developer.gnome.org/hig/stable/keyboard-input.html.en
(Thanks to JanarLS for the second link)
both list Keyboard Shortcuts of the current release of GNOME Shell.

I don't see Shift+Up/Down Arrow in either of those, so I must conclude that functionality was removed from GNOME Shell, or you added it with a GNOME Shell Extension or other tool, and it was never in there in the first place.


open terminal application
run rm -rf ~/.config/com.ubuntu.telegram and rm -rf ~/.cache/com.ubuntu.telegram This will delete your secret chats

Alternatively, you can delete these directories in the file manager, after enabling show hidden files. (thanks pomsky)


Script not executing under CRON every time ie runs for a bit then stops - 16.04

The issue was that the home directory the script and log file were in was on an encrypted drive. When the user logged out the drive was unmounted. Hence CRON was unable to launch the script. Moved the script etc and all was fine.


Check your installation log under /var/log/apt/history.log. You will probably find that you (perhaps by accident) installed a package called "xdm". Simply removing the xdm package using this command

sudo apt remove xdm

should switch back to which ever login manager you were using before. As an alternative to uninstalling xdm you could use the following command

sudo dpkg-reconfigure gdm3

to make ubuntu use the default login manager again.


What is a good system/hardware utility to show what type of memory I have?

Try hardinfo .

Alternatively, you can install it from a terminal using the below command:

sudo apt-get install hardinfo

It hasn't been updated recently, but it works well still (except for finding system temperature), and is graphical.


You can obtain a USB flash image of ShredOS 2020.02. This is a small linux distribution that boots straight into the latest master version of nwipe. Instructions and download link here. Burn to USB and boot straight into nwipe.

SystemRescueCD is a distro that generally keeps up to date with the latest nwipe releases. You can download and burn to CD or USB for a bootable nwipe.

I'm also currently working on a Ubuntu PPA to make it easy to keep upto date with the latest release version of nwipe. Details will be published here when completed.


Why the result : "Compiz supported: no" with nvidia graphics card?

So the solution was that I have a lousy video card.

NVIDIA Corporation G72 [GeForce 7200 GS / 7300 SE] graphics card

Going to see if I can get an upgrade to my hardware.


What could cause a second no funtional mouse pointer to appear on my gnome desktop?

Problem is resolved.
I went into display settings and turned off "fractional scaling" and all is well.
I remembered that I had turned that on yesterday and thought it was worth a try.
Carson


how can i change READ only permission of folder

If you have a permission problem where you need to get write access to a  root-owned directory and the solution looks like "give everybody write permission" you're probably doing something critically wrong.

There are a dozen solutions to this but which is write really varies based on what the data is.

Allow the group-owner write permission and add yourself to that group (or change the group to a group you are in). This is common with /var/www/ scenarios where a webserver and a real user both need to be able to write to a directory.

sudo usermod -aG www-data $USER
sudo chgrp www-data /path/to/directory
sudo chmod -R 774 /path/to/directory

But don't add your user to the root group; that's silly.
Change the owner to your user.

chown -R $USER: /path/to/files

If no other users (inc system) need access to the directory, make it yours. Obviously this won't work if you're sharing these files with other processes on the system (like a webserver or a system-used application).
Use ACL. This is a fine-grain permission framework that allows you to add named users to the permissions rosta. Very handy but a bit fiddly to set up.

Still, don't muck around here. If the file/directory isn't meant to be owned/edited by random people, don't open things up so anything running under your user can edit it.
Do nothing. Use sudo, sudoedit et al to edit the files and leave their permissions well alone. If they're root-owned for a reason, leave them like that. This is most true of settings. The tiny inconvenience of asking your password is keeping your system safe.


ClamAV - automatic signature updates in Ubuntu 16.04

When all necessary packages are installed, the signatures are updated automatically in Ubuntu.
That happens periodically 24 times each day, so every 60 minutes when you do not change this.

Check whether you have the following packages installed :
clamav clamav-base clamav-daemon clamav-freshclam

To do it execute the following command :
dpkg --get-selections | grep clamav

Default settings : signature database updates every hour
You can change the settings by running these commands :

sudo dpkg-reconfigure clamav-daemon
sudo dpkg-reconfigure clamav-freshclam


Back and front panel usb port not working on Ubuntu 12.04

If it is on ubuntu side then check these two files

/etc/modprobe.d/blacklist.conf

Remove blacklist usb_storage if it is there and save the file.

/etc/rc.local

remove modprobe -r usb_storage if it is there and save the file.

Now reboot your system and your USB port will work unless any hardware problem exists.


The only upgrade candidate you have from Ubuntu 12.10 is Ubuntu 13.04 which is End of Life. That is the reason why your upgrade failed. Fixing it is rather involved, however you have another chance to make things right. In another two days on April 17 Ubuntu 14.04 will be released. Then you can back up all your personal data by running an Ubuntu live DVD or USB and install Ubuntu 14.04. Ubuntu 14.04 will be a Long Term Support release that will be supported by updates until April, 2019.

In response to your question, since Ubuntu 13.04 is End of Life you can skip over Ubuntu 13.04 when upgrading. The instructions for how to do that are found in the answers to the question: Can I skip over releases when upgrading?. However to take this upgrade path you would first have to fix your problem of being stuck in the command line, so once again it would be easier and more fun for you to wait until Ubuntu 14.04 is released and then do a fresh install of Ubuntu 14.04.


GRUB update does not see Liquorix kernel on Ubuntu Studio

By policy, Ubuntu Studio does not allow for any kernel other than the official kernel in the Ubuntu repository. You can get by this by removing the ubuntustudio-lowlatency-settings package:
sudo apt remove ubuntustudio-lowlatency-settings

However, this is not recommended and not supported.


Application to manage software updates on multiple desktops?

canonical's landscape which is a paid service can manage computers from any location if they are connected to internet. Here's a good info regarding landscape.
http://www.omgubuntu.co.uk/tag/landscape/


You can use Firefox add-ons such as Stylish to modify/fix this weird behavior, otherwise if you don't want install an add-ons, use userChrome method instead to change the way Mozilla applications interfaces look.

Create Chrome folder on your profile directory, followed by css file named userChrome.css:

mkdir ~/.mozilla/firefox/your_profile_id/Chrome
touch ~/.mozilla/firefox/your_profile_id/Chrome/userChrome.css

usrChrome Official documentations by Mozilla


Electron Snap file is not build after running command

It’s because the package you want to build (NDM) has no dist script in "scripts" in package.json file. I think that you can use npm run build, it should do the same thing.

You can learn more about package.json file from here: https://docs.npmjs.com/files/package.json. It’s a npm thing, not directly related to snaps.

If you will encounter more problems, please, tell me.


Ubuntu 12.04.4 LTS 3.5.0-54.81~precise1 affected by dirty cow

Your current kernel version 3.5.0-54.81 was released in July 2014. For over 2 years you have not been receiving bug fixes or security patches.

Kernel 3.2 might seem like an earlier version but in reality it is a long term kernel version fully supported until May 2018. See this link for long term kernel releases: (www.kernel.org releases).

When your 3.5 Kernel reached end of life back in July 2014 you could have switched to 3.2 Kernel LTS back then and in any respect you should do it now.

Of course always keep your previous version on grub's advanced menu option in case you need to reboot with it.


Open display settings and if there is another screen disable it.


Login loop in 15.04 after upgrading to kernel 3.19.0-26-generic

This bug has been fixed in fglrx-updates_2:15.200-0ubuntu4.2 for Ubuntu 15.04 and fglrx-updates_2:15.200-0ubuntu0.5 for 14.04.

It has been released already. Just wait till this version appears in updates.

The package can be downloaded not from HERE

This is the Bug report.


I looked up LOL (I assume you mean League of Legends) on the PlayOnLinux install menu and in the Known Issues list it states the following:

  Known issues:

  The updater sometimes stalls. If it doesn't move for minutes, close it then restart the game.
  Store does not work (Blank Screen)

This appears to be a problem with PlayOnLinux. You will either have to contact the PlayOnLinux team, or find a way to get around the problem yourself.


Epson XP-205 printer driver failed After Ubuntu 18.04 Update

Google "epson drivers for linux" should get you what you need.  It pointed me to this page: https://epson.com/Support/wa00821 There you will find both drivers to download as well as documentation.

I noticed that there are recent driver updates for your XP-205 printer.

I also found this answer informative.

If it is a networked printer, make sure you don't have a firewall or vpn that may be preventing your computer from seeing other devices on your LAN.


This looks like it's having issue mounting or finding many executables. When a system can't find several things, such as in your instance, it also always tells me that the system is either:

Having a hardware failure, HDD, typically
Having a system-wide configuration issue and cannot mount the / partition
Having a $HOME/.bashrc or /etc/bashrc type of configuration issue

I would try and make sure it isn't #2 to start. Follow the steps outlined in the RecoverMode or LiveCdRecovery topic in the Ubuntu wiki to start.


This is possible using the dconf reset command, though it's not clear if that's a side-effect of a bug.

For a single key:

dconf reset "/path/to/the/key"

Must not end with a /.
For a whole path:

dconf reset -f "/path/to/the/path/"

Must end with a /.

If you do this while having dconf-editor opened, it will likely crash.


After the installation completes you can delete them.

Depending on the package, the files are on different paths on your system like /usr/lib /usr/bin and so on


It seems just impossible to install Ubuntu

What I would do is to try and format the HDD launching Ubuntu from a live CD/USB and run Gparted (should be, but if not available in the live environment just install it sudo apt-get install gparted):

Once it is there make sure the disk is not mounted (otherwise can't format it) and select the hdd
Toggle Device/Create partition table and create a new msdos table (or whatever is your flavor)
Format the disk
Install Ubuntu

Not sure if this will work or if your HDD is the problem at all, you should try running a memcheck too or if you have the possibility check with another HDD too.

A.


When I installed steam I had to install these packages using this command before installing steam

sudo apt install wget gdebi-core libgl1-mesa-dri:i386 libgl1-mesa-glx:i386

but not libc6:i386, so that might be part of gdebi-core

This is the page I followed https://linuxconfig.org/how-to-install-steam-on-ubuntu-18-04-bionic-beaver-linux

I just checked my history, on one machine I followed the Ubuntu section of that guide, which does not install those libraries, on my other machine I followed the steam section which did install those libraries. Both systems are working fine, so either set of instructions should work for you.


Secure boot / UEFI Boot issues after 15.04 installed

Some EFIs can be flaky and lose functionality, such as the ability to launch their built-in boot managers, for no apparent reason. My guess is you've run into this problem.

One approach you might take is to fix the firmware's problem. I don't know of a sure-fire procedure for doing this, though, so you'll have to either find help elsewhere (maybe somebody else will post a specific procedure) or fumble around randomly, which is always a bit risky. You might try updating your firmware, entering the firmware setup utility and resetting it to its defaults, or deleting unused boot entries with efibootmgr. None of these approaches is entirely risk-free, though. The first two, in particular, run the risk of wiping out your Ubuntu boot entry.

Another thing you might try is installing my rEFInd boot manager. I recommend either the PPA or Debian package installation, both of which should set it all up optimally with no user intervention. If the installation is successful, when you reboot into rEFInd, it will scan for available boot loaders, without relying on NVRAM entries, so your USB drive should appear as an option. If you boot rEFInd and don't see your USB drive, try hitting the Esc key, which causes a re-scan. (Sometimes external devices don't appear immediately.) The risk to this approach is that installing a new boot program might exacerbate whatever firmware bug is causing your problems, so you might end up with some worse problems.

Overall, using efibootmgr to delete unused boot entries is probably the safest approach. (Type sudo efibootmgr alone to see what you've got, then use sudo efibootmgr -b #### -B to delete Boot#### -- change #### to the appropriate hexadecimal number. Delete only obvious duplicates or entries you're clearly not using, like network-boot options, at least initially.) If that doesn't help, installing rEFInd is the next-safest approach, followed by updating the firmware and/or resetting its defaults.


You can't get IP from DHCP Server.. probably you have wrong parameters in your
iwconfig command or its not complete!
Im going to make a comprehensive troubleshoot for you however some of them would be unrelated to your case!
First of all lets check if there's other services using your wireless card..
you can try unblocking radio frequencies with this command:

sudo rfkill unblock wifi

after that check block status :

sudo rfkill list

if there's any "yes" beyond Wireless LAN , it means something preventing rfkill to unblock your wifi; you should find that service and stop it. $ sudo service {service} stop
generally,they are other network tools.especially network managers.
stop them or uninstall.

after that set iwconfig parameters in a proper way..to see wifi access points and their specifications:

sudo iwlist scan

You can add | grep searchvalue to search for a particular name

check those parameters and fill (use root privilege sudo or su root) :
note : the wifi interface name could be different in your machine (eth# or wlan#)

iwconfig wlan0 essid {name of access point}
iwconfig wlan0 ap {access point mac address}

or if you don't know the MAC Address of access point :

iwconfig wlan0 ap any

and :

iwconfig wlan0 enc {on/off/restricted}
iwconfig wlan0 key s:{password}

at last pull up connection :

sudo ifconfig wlan0 up

now request for an IP :

sudo dhclient wlan0

check if your connection succeed (there should be an IP4) :

sudo ifconfig wlan0

or ping your gateway (route)
..Good luck