I/O error while reading a certain VCDs that plays well in windows in the same system

I know this is a bit old question. I was searching with the same problem for my friend
install mplayer
try this to display how many tracks

mplayer vcd://

then it will be mostly the second track or 3rd
I use this command for running the vcd

mplayer -fs -vo gl2 vcd://2

on a two track vcd

-fs #show full screen
-vo gl2 #choose video output driver
vcd://  #play VCD

for more check mplayer man pages

Thanks to this post on ubuntuforums by TheFu


Unlock keyring with fingerprint reader on login

The whole pourpose of the keyring is to store your passwords and data on your storage device. To do that securely, they must be encrypted with something you know (your password). To unlock the keyring, you must provide the password so that gnome-keyring can decrypt the stored passwords. Your fingerprint can not be used as a password because it is not always the same. Fingerprint readers apply some fuzzy logic to tell if the stored fingerprint matches the read fingerprint and tell yes or no. That's why it can be used for authentication, but not for decryption of stored passwords (unless you have a blank password or would accept storing your master password unencrypted)
The only way it could work is if the fingerprint device could store your master password on a chip in plaintext that could only be read if the fingerprint matches. And that's assuming that reading the internal memory/registers of a chip is much much harder than reading your local storage.
I really don't know how it is done under windows, and I hope it is not security through obscurity. But if they're not using hardware to do this, they're simply using some obscure (but insecure) method to store your passwords.


How can I add a pip based dependency to a Quickly project?

I wouldn't count on the app making it into the main repositories if it were packaged that way.

You could depend on pip and run the pip-install as a post-install hook though.


Have you tried Pino

Pino is a simple and fast X11 client for Twitter and Identi.ca. It is compiled to native code, which assures small size and speed,

If it doesnot work you can run tweetdeck using wine if you really need a twitter client.


Dualboot - will reparation of Win10 cause my Ubuntu (GRUB) to fail booting?

As far as I know it is likely that your GRUB will be gone after repairing Windows. BUT you do not have to reinstall Ubuntu, you can simply reinstall GRUB. This problem can also happen on certain Windows updates which override the bootloader.
This Article about GRUB and how to fix might help you.


How can I move a terminal screen from one workspace to another?

From the keyboard you can use Ctrl+Shift+Alt+Right/Left/Down/Up depending on which direction you want to move it to. To do it graphically select the workspace switcher in the Launcher (or press Super+s) and drag it from workspace to workspace while in that view. Hit return when you're finished to return to the normal view.


Install the package compizconfig-settings-manager if you haven't already.

Open CompizConfig Settings Manager and click General Options.

Uncheck Hide Skip Taskbar Windows.

Now hitting Ctrl+Alt+D or Super+D won't minimize your screenlets:


Set desktop resolution for standard 11.10 VNC server

Figured it out myself, finally.

Apparently the problem was that since there is no monitor, no valid "screens" are started up when the box boots, and therefore no resolutions are available in the Unity settings dialog.

However, when no screens are found, it seems the system defaults to a "virtual desktop", with a 640x480 resolution. The system does support virtual desktops that have different resolutions than the connected monitors (in this case none), so the trick was to change the default virtual desktop resolution. That can be done in the /etc/X11/xorg.conf.

My file currently looks like this.

Section "Device"
       Identifier      "Default Device"
       Option  "NoLogo"        "True"
EndSection

Section "Monitor"
   Identifier    "Configured Monitor"
EndSection

Section "Screen"
   Identifier    "Default Screen"
   Monitor        "Configured Monitor"
   Device        "Default Device"
   SubSection "Display"
       Depth    24
       Virtual 1280 800
   EndSubSection
EndSection

This seems to suffice, and you can change the "Virtual 1280 800" section to whatever you want. And the reboot the box. I am using the built-in vino VNC server.


Unable to run Ubuntu 12.04 without USB flash drive

It sounds like you have the MBR installed onto the wrong disk.

Boot into your installation (with the USB stick in place).

Once you have done that, connect to the internet and open a terminal.

Enter the following lines seperately into the terminal:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Once these actions have completed (following the in-terminal instructions) the "Boot Repair" application will open.

In this windows click "Advanced options"

Then click "GRUB location"

Choose "Place GRUB into:

In the drop down box opposite the last selection choose your HDD rather than your USB drive. On my computer my HDD is named "sda" and the USB drive "sdb" but these may be the other way around for you, or even different things if you have an unusual drive set up.

I would suggest checking which is which is which by running this command in the terminal:

sudo fdisk /dev/sda

Here you will be able to see the size of each disk, and presuming they are not of equal size you will then be able to determine which is which.

Once you know the identity of each disk, choose your HDD for GRUB to be placed onto.

Then hit "Apply" at the bottom and wait for everything to complete.

Restart you computer and you should be able to boot without the USB drive.


Not at this time.  However, there is a development road-map at https://wiki.gnome.org/Apps/Calendar/Roadmap#Future which suggests that alarms will be added in future releases.


systemd resolve doesn't respond to queries

I do not have any advice on how to fix systemd-resolved's stub DNS responder properly, but I can suggest a workaround:

Enable nss-resolve for applications that use NSS
Tell applications that do not use NSS to contact upstream nameservers directly

For (1), change your /etc/nsswitch.conf:

hosts: files resolve [!UNAVAIL=return] dns

For (2), link /etc/resolv.conf to /run/systemd/resolve/resolv.conf.


How to boot Ubuntu 18.10 iso from CD/DVD drive...?

1) Did you md5sum check the downloaded iso?
  See https://help.ubuntu.com/community/HowToMD5SUM
  Check the number against the listing in the link for your release listed at
  http://releases.ubuntu.com under the MD5SUMS link.
  For other releases' hashes, like lubuntu, see:
  https://help.ubuntu.com/community/UbuntuHashes
2) If using a CD/DVD, did you burn the disc as slowly as possible?
  See https://help.ubuntu.com/community/BurningIsoHowto
   If using USB install media, use a  tool like unetbootin or rufus.
   Don't just copy files to the USB.
   See https://help.ubuntu.com/community/Installation/FromUSBStick
3) Did you select the media check before trying to install?
   See https://help.ubuntu.com/community/Installation/CDIntegrityCheck
4) Did you ever do a "memory check" (perhaps another live-media menu choice) on your PC?
Doing the above can save you a lot of time struggling with a bad install media or
hardware problems.

It looks like the device is the right one for booting your cd, but it wouldn't hurt to move the other USB boot options up in the order.


pangolin : No known video handler for URI 'convert'

For video conversion one needs to install ffmpeg and various dependencies. Depending on what you are using you might need many of the libav and libv4l dependencies.

You can search for what you need with apt-cache:

apt-cache search libav
apt-cache search libv4l

This will give a list and description of available installs.

Looking at the code for SimpleRecord,

 ./SimpleRecord convert:[fmt=RGB24]//v4l:///dev/video0 /home/Output/out.mp4

is the correct syntax for calling the program.


How to mount swap encrypted with LUKS on boot?

Ok, I was able to do it using GNOME Disks.
There's an option to decrypt LUKS partitions on boot. So, I've enabled that. Then, I used another feature of GNOME Disks, mount on boot. I set it to activate the swap space after it gets decrypted.


Virtualbox in Ubuntu 16.04 - Unity grabs Alt and Super key

You can also use CCSM to assign another key to show the HUD when tapped, not only to disable it. You just need to click on the <Alt> button in the same menu -the red arrow- points to in the example image (below), and then click in "Grab key combination" button instead of the "Enabled Box" and select another key combination to show the HUD.

compizconfig settings manager image example

To install CCSM use

sudo apt-get install compizconfig-settings-manager

or you can search for it in "Ubuntu Software" in unity.

Then you can start it from the Dash by searching for CCSM and then click in the "Ubuntu Unity Plugin" button.

Note: Maybe you will also want to assign another key to "Show the menu bar when pressed", because it also uses only <Alt> keystroke to function. The difference between the two is that, to show the HUD, you just need to press the key and then rapidly let go, and to show the menu bar, you need to maintain the key pressed for more than a second. I don't know if the second also affects normal behavior in a Windows VM in Virtualbox.

Note2: The same goes for <Super> key. The only difference is that the option to change this keystroke is in the "Launcher panel" in the same Unity menu in CCSM.


Installing grub2 in efi-mode in usb flash drive

I realize I'm a bit late in answering this, but I wanted to do something similar to your setup and ran into the same problem. I finally found a fix and wanted to share it.

It looks like some sort of bug in grub-install. In your USB drive you have this:

/EFI/thenameIgavetomygrub/grub.cfg

Simply make a copy of the folder thenameIgavetomygrub and all of its content (in your case it looks like you called it "grub") into the same EFI folder on the usb drive, and rename that copy as "ubuntu".

Then it should work. At least it did for me.


Short answer
Not that well known, but Master PDF Editor is one of the better "regular" Acrobat- like pdf options we have at the moment imo.

I don't have statistics on the speed, but compared to other pdf applications I have on my system, it performs remarkably well.
Limitations
Possible downside is that it is propriety software, and the free version has some limitations. These limitations are irrelevant to me however:

Following functions are locked in free version:
- Optimizing PDFs.
- Function "Paste to Multiple Pages"
- Add/Edit Document Actions.
- Manage Document JavaScript.
- Page Properties options.
- Sign PDF document with digital signature.
- Add Headers and Footers to PDFs.
- Add Watermarks to PDFs.
- Add Background to PDFs.
- 256 bit AES encryption.


I suggest you to use NVM (Node Version Manager) to manage and install Node.js. It seems like an extra step, but you will be worries free regarding to node configuration.

To install NVM (From the GitHub Docs, where you  have other installation alternatives):

wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

After this, you could just do:

For latest node release:

nvm install node

For Long Term Support (LTS):

nvm install --lts


In theory, you diable UEFI booting. In your BIOS it should look like this:

Change ENABLED to DISABLED and boot the USB. Usually you use the arrow keys to go up and down and once UEFI is highlighted, hit enter.

If you do NOT have that option, see if there is an update available for your BIOS.

In practice, all I could find is a thread on the forums where the netbook was "DOA" due to a "bug in the BIOS"

http://ubuntuforums.org/showthread.php?t=2093845

You may have to contact Lenovo directly. They have a reputation of supporting Linux.

As a side note, I have noticed it is becoming customary to disable bios options in newer computers. In that event, absent a BIOS update or support from Lenovo, you would have to write your own BIOS.

http://www.bios-mods.com/

Obviously support is "use at your own risk" and you can render your machine completely recoverable.


Can I uninstall packages using alien or wget?

wget just downloads it and alien just converts it to a *.deb and optionally installs it on your behalf with dpkg. You can use dpkg -r or the somewhat more friendly apt-get remove to undo that.
apt-get remove google-chrome


With 2 user accounts, what is the path to my HDD in Terminal?

When you click a drive in Nautilus, it automatically mounts to /media/user1/FooDrive. "user1" is the name of user you are logged with.

If you logout and login with another "user2", the drive will be still mount to the same place. And user2 will not see it.

You can fix this by running sudo umount /media/user1/FooDrive if this was the mount point.

Then if you click it again from user2, it will be mount to /media/user2/FooDrive.

You can always setup a permanent rule where to mount your drives in /etc/fstab. That is preferred if you have multiple drives and multiple users.

And you can always manually mount drives where you like by

sudo mount /dev/sdb1 /media/user2/Foodrive

if your partition is /dev/sdb1. Instead of /media/user2/Foodrive you can use any other existing directory.


How to remove Wine apps from context menu?

Run the below command in terminal

xdg-open ~/.local/share/applications

Look for wine related files like wine-extension-chm.desktop, wine-extension-txt.desktop, wine-extension-xml.desktop .... and delete them.

Once thats done you should not be seeing any of the wine related programs on the right click context menu.


how to get adobe flash fullscreen video fluid with an atom processor?

Flash under linux does not support hardware acceleration. So instead of your graphics accelerator your CPU has to do all the audio/video decoding, which makes playback laggy. You have several options here. You could

Enable HTML5 playback and see if that fixes the issue for you (works on youtube and a couple of other sites).

Not all youtube videos currently support HTML5 playback. To bypass this limitation you can install Youtube Center, an open-source extension that's compatible with Chrome, Firefox and other popular web browsers.

Aside from making HTML5 playback available across the board, Youtube Center also comes with a lot of other features that can greatly enhance your youtube experience.
Play the video with VLC (open up vlc, hit CTRL + V to paste your video link and hit enter)
Use a dedicated youtube client such as minitube
Install ViewTube, a userscript that allows you to play flash videos on sites like youtube, dailymotion, blip, etc. in a video player of your choice

These are workarounds rather than definitive solutions. But until Adobe decide to fully support Linux again there is nothing else, I fear.


Are you logged in as an administrator? I had the same problem. I was logged in as a standard user (no administrative privileges) and clicking ProjectLibre icon did nothing. When I logged in as Ubuntu administrator then everything worked.

I also figured out a way to make it start if logged in as non-admin user. Open the terminal (if you type terminal in the search the app icon will come up), type the following command:

/usr/bin/projectlibre


WSL I am trying to run an Graphical Application using WSL through SSH but it is failing

Your next-to-last numeric group shows Windows version 18362 which is less than the Windows version 18917 required to run WSL2. You have WSL1 and have no graphical ability in WSL. Therefore, you must use the original set of POSIX tools for X server for windows (xming, cygwin x, etc...).


Cinelerra is a video editing and compositing software package. It is designed for the Linux operating system, also includes a video compositing engine, allowing the user to perform advanced compositing operations such as keying and mattes.

http://cinelerra.org/2015/index.php/2013-11-18-20-52-06/manuals
http://cinelerra.org/2015/index.php/2013-11-18-20-52-06/tutorial-videos


13.x has reached end of life, when it comes to installing 14.04 on a non pae machine just start booting the live image, and when it comes to an imade of a man and a keyboard press f6 then choose language>yourlanguage then add forcepae to the end of the boot options line and it should work, or if it doesn't then install lubuntu or xubuntu first then install the ubuntu unity desktop after.


Warning: require_once(HTTP/Request2.php): failed to open stream:

Pear may be installed but pear is itself kind of package manager. Http_request2 has to be installed.

Compare http://pear.php.net/package/HTTP_Request2/redirected

On console try

sudo pear install HTTP_Request2


Lubuntu 18.04 Bionic: Tor browser installation - SIGNATURE VERIFICATION FAILED

SOLUTION: What worked though was:

gpg --homedir "$HOME/.local/share/torbrowser/gnupg_homedir/" --refresh-keys --keyserver zimmermann.mayfirst.org

I found the address of that specific keyserver on Wikipedia: https://en.wikipedia.org/wiki/Key_server_(cryptographic)

Hope it'll be helpful to someone.


ubuntu-mate for Raspberry Pi file system capacity 100% used

I looks like your root partition is of only 3.5GB and that your root partition is not using all of your 16Gb space. You need to resize your root so that it will use all of your card's space.

Plug in the Pi's sd-card to your computer/laptop and resize it using gparted( youtube video to show you how )

Remember you have to only resize the second partition i.e. root mmcblk0p2 or remember it is ext4 formatted and is of 3.5Gb size

OR

You can do that while you are in Ubuntu-mate but it requires little expert since it will be pure command line.

from official website docs

There are no utilities included for automatic file system re-sizing. However, it’s not hard to do manually. Once booted:

sudo fdisk /dev/mmcblk0

Delete the second partition (d, 2), then re-create it using the defaults (n, p, 2, enter, enter), then write and exit (w). Reboot the system, then:

sudo resize2fs /dev/mmcblk0p2


If those two are the only commands you ran, this should fix it:

$ sudo chown -R root:staff /usr/local/lib/node_modules

This one reverts the effect of second command you mentioned:

$ sudo chown -R $USER /usr/local/lib/node_modules

There is nothing wrong with the first one, since home directory should've already been owned by the user herself.


Blender has various options in the user preferences dialogue that might be able to help you. If all else fails, it might be a bug with your graphics card/chip/drivers.

This first window contains various OpenGL options. You can try disabling Text Antialiasing.

In this second window, you can try changing the path where your system is finding its fonts.

If neither of these work, ensure that you have the proprietary graphics drivers for your card (if you have an ATI/AMD or nVidia card/chip that is recent enough to require them).

If installing another driver still does not fix the problem, then it is likely a bug in blender, and you would need to report a bug on their bug tracker.

In light of your comment:

If your graphics are old, you will probably encounter a lot of bugs with Blender, especially with ATI cards, which are notorious for blender bugs. There is essentially nothing more you can do but report a bug.


It sounds like your Ctrl key got some problem . because as we know Ctrl+F for search and Ctrl+A to select etc.


Use the method: Control and Conquer.

Stop one process and see its impact on the given time. If no change, continue so long that such a change come.

I would start with Django, then with Apache and then with PHP.

So first find out what may cause the problem.

It is apparent that some of your code is in old standards and after upgrading some language, probably PHP or Python, the things changed.

I would like to see what process take most memory in your system.
So what process is causing the 9.11s delay?


Cannot connect to WPA2/WPA Enterprise (PEAP and MSCHAP)

I had the same problem, but I found a solution in this bug report:

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1104476 (post 19)

  Removing "system-ca-certs=true" from /etc/NetworkManager/system-connections may solve your problem.


Which software should I add to Ubuntu Server 13.04 to host media files and stream them to my WD TV Live

None of those. You're looking for a DLNA server, something like Twonky, Plex, Serviio etc.


Openshot doesn't launch with "failed to import" message

Try renaming the openshot config folder and restarting openshot i.e.

mv ~/.openshot ~/.openshot_backup
openshot

N.B. looking at the OpenShot forums - this solution is frequently quoted for these short of python issue.

source


To create an alias permanently add the alias to your .bashrc file

gedit ~/.bashrc

And then add your alias at the bottom.

Now execute . ~/.bashrc in your terminal (there should be a space between the . and ~/.bashrc.

Now you can check your alias.


How to switch Linux kernel installation from System76 repository to standard Ubuntu repository?

The easiest way would be to remove the System76 repositories and change your desktop environment to Gnome.

Log out from your current session
Select your account from the login screen, then choose the "Ubuntu" option from the little gear menu in the bottom right corner to use Gnome, and sign in
Remove any System76 repository references from the /etc/apt/sources.list file
Remove any System76 references from the /etc/apt/sources.list.d/ directory
sudo apt update

That should be it. Then you'll be running stock Ubuntu.


Error while building/running ubuntu-minimal image

instead of using https link to the tar.gz file
download the tar.gz file locally
and do an add with the local file
wget https://partner-images.canonical.com/core/bionic/current/ubuntu-bionic-core-cloudimg-amd64-root.tar.gz

and Dockerfile starts with
FROM scratch
ADD ubuntu-bionic-core-cloudimg-amd64-root.tar.gz /


imwheel destroys back / forth navigation buttons from my mouse

You can restrict imwheel to only affect the scroll wheel with the -b option. See man imwheel for more information. Hence, run it with

imwheel -b 45

Some versions of imwheel (e.g. on Ubuntu 14.04) require a different syntax. If the output of imwheel --version is imwheel 1.0.0pre12 by -=<Long Island Man>=- <jcatki@jcatki.no-ip.org>, then use the following syntax:

imwheel -b "4 5"


I don't think there's a perfect "correct" way of partitioning, it really depends on your needs.

I personally keep my swap partition near the beginning, simply so I don't need to move it if I'm extending the other partition. But that's a convenience not a performance issue.

As far as your configuration being correct, I'm not a hard drive / OS expert, but I think that's fine. I doubt changing the order would really impact your performance.


how to fix broken grub after already having tried to repair it?

Have you tried a

sudo update-grub

after you booted from the live-cd?

If it doesn't work you should give SuperGrubDisk a try.
 With SuperGrubDisk you can choose between booting into your ubuntu, if possible, or repairing GRUB2.


Dash search function does not work in 11.10 after upgrade

Could this be a duplicate of Dash search function does not work. So you can try following:

sudo apt-get install --reinstall unity unity-common unity-lens-applications unity-lens-files unity-lens-gwibber unity-lens-music unity-place-applications unity-place-files unity-scope-musicstores unity-services unity-2d unity-2d-launcher unity-2d-launcher unity-2d-panel unity-2d-places unity-2d-spread unity-asset-pool unity-greeter

Then you can just log out and back in
or sudo restart lightdm


This solution requires you to backup your existing /usr partition.  Remove it.  Repartition and format and then restore data.  Not using gParted's resize.

Backup your existing /usr as root (see below).  And anything else precious to you first of all.

Boot up a live Linux (Gparted Live CD or Ubuntu Live CD) to repartition.

Remove the existing /usr partition, recreate it and format, but make it smaller this time.  Make another partition for your data.

Be careful not to remove the wrong partition!

Then restore your data (mount your new /usr partition and extract).

You'll have to edit your system's /etc/fstab to change the disk id.

Then reboot.

To backup your /usr (from the arch wiki backup script):

# tar --xattrs -czpvf /path/to/backup.tgz /usr

To restore from your backup:

# cd /mount/point/of/new/usr
# tar xvzf /path/to/backup.tgz --strip 1


Problem installing a python module with pip

I have successfully installed django-mathfilters  0.3.0 using the command:
pip install django-mathfilters

Then add mathfilters to your INSTALLED_APPS.
This is the same command that is found at the Python Package Index django-mathfilters webpage. It was a local install, so I didn't need to use sudo. I also already had the latest version of django installed before I executed the command.
Usage
You need to load mathfilters at the top of your template. The script provides the following filters:

sub – subtraction
mul – multiplication
div – division
intdiv – integer (floor) division
abs – absolute value
mod – modulo


Why does KDE not show up following install kubuntu-desktop?

Did you install this along side the original Ubuntu desktop?

If so log out and choose KDE from the selection box.

This image might help:

After selecting it it will be the default option.


Nautilus search provider Gnome-Shell Activities / Overview

I think it's a bug, there is a "fix" for nautilus 6.3
https://bugs.launchpad.net/nautilus/+bug/1076232

Good luck, sorry for my english


Following @muru's good suggestion, in a comment to my question, I have filed a bug report in Launchpad, regarding this issue:

Bug #1547762 “SSL Protocol Error” in Chromium for several Google web sites after installing Ubuntu Security Updates for libnss3 : Bugs : chromium-browser package : Ubuntu
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1547762

That bug report has now the information that "This bug affects you and 12 other people". The Status of the bug was changed from 'New' "to 'Confirmed' because the bug affects multiple users".

So, it seems this is indeed a bug. I'll keep updating this answer according to the progress of that Bug Report.

NEWS FLASH (Feb 25, 2016): This issue was apparently fixed by a Software Update to Chromium that was made available today! For more detail, read "Update #3 (Feb 25, 2016)" further down:

Update #1 (Feb 22, 2016):

The bug web page is now listed as affecting 38 people. It is still listed as "Unassigned"
In "Comment #13" - https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1547762/comments/13 - in that "Bug" web page, the user "beljoost (tempample)" has noted that a Bug had been reported in the "Chromium" issue tracker (on Feb 19, 2016): "Issue 588146 - chromium - SSL connection error after security update" -https://bugs.chromium.org/p/chromium/issues/detail?id=588146 - which was closed as "Wontfix" with the following reason:

    Based on the bug template, you've indicated you're running version
    "37.0.2062.120", which is no longer supported, and has a number of
    critical security bugs. You should upgrade to the latest version of
    Chrome, which is Chrome 48.

    If you're running a version provided by another party, such as your
    distro, please inform them that they're distributing an insecure
    version.

    You can download the latest stable version of Chrome at
    https://www.google.com/chrome/

In "Comment #17" - https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1547762/comments/17 - the same user "beljoost (tempample)" has noted that a related bug exists in the Ubuntu issue tracker (reported on June 26, 2015) "complaining" that (at that time) "The latest version for 12.04 is 37.0.2062.120 " while "The latest version for 14.04 is 43.0.2357.81 ". That bug still appears as "Unassigned":

Bug #1468666 “Chromium VERSION on Ubuntu 12.04 LTS” : Bugs : chromium-browser package : Ubuntu
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1468666

Update #2 (Feb 23, 2016):

The bug that I had opened ("Bug #1547762 "SSL Protocol Error" in Chromium for several Google web sites after installing Ubuntu Security Updates for libnss3") was marked as being a duplicate of the following bug, reported on November 27, 2015 (affecting now 53 people, still marked as "Unassigned "):

Bug #1520568 "All queries fails when 'google' is used: ERR_SSL_PROTOCOL_ERROR" : Bugs : chromium-browser package : Ubuntu
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1520568

Update #3 (Feb 25, 2016):

This issue seems to be fixed by Software Updates to Chromium that were made available today! :-) For the Bug 1520568 "All queries fails when 'google' is used: ERR_SSL_PROTOCOL_ERROR", the user "Marc Deslauriers (mdeslaur)" and the bot "Launchpad Janitor (janitor)" added information regarding a patch made available today and reported that "This bug was fixed in the package chromium-browser - 37.0.2062.120-0ubuntu0.12.04.2". The Status of that Bug got consequently changed from "Confirmed" to "Fix Released".

So, in "Comment #47" of that page, the following info appears:

  Launchpad Janitor (janitor) wrote 21 hours ago:    #47

  This bug was fixed in the package chromium-browser - 37.0.2062.120-0ubuntu0.12.04.2

  chromium-browser (37.0.2062.120-0ubuntu0.12.04.2) precise-security; >urgency=medium

  debian/patches/nss-321-fix.patch: fix compatibility with nss 3.21.
  (LP: #1520568)

  -- Marc Deslauriers  Wed, 24 Feb 2016 13:42:57 -0500

And, in fact, the "Update Manager" was "filled" with several available updates, including the 3 patches below for Chromium. I tested closing "Chromium" and then selecting only those 3 patches, installed them and then started Chromium again, to see if those patches were enough to solve the problem... and they were enough! :-)

So now, Chromium is now again able to open Google web sites. Obviously, I suggest that you also install the other available patches/Security updates. For now, I installed only the 3 available patches for chromium, because I wanted to see if those were enough to solve the issue.

Under these circumstances, I believe that I can now mark this question as answered :-)

Update information for Chromium packages:

  Chromium browser
  chromium-browser (Size: 45,4 MB)

  Changes for the versions:
  Installed version: 37.0.2062.120-0ubuntu0.12.04.1~pkg917
  Available version: 37.0.2062.120-0ubuntu0.12.04.2

  Version 37.0.2062.120-0ubuntu0.12.04.2:

  debian/patches/nss-321-fix.patch: fix compatibility with nss 3.21.
  (LP: #1520568)

  chromium-browser language packages
  chromium-browser-l10n (Size: 2,9 MB)

  Extra ffmpeg codecs for the Chromium Browser
  chromium-codecs-ffmpeg-extra (Size: 831 kB)


Autofix.

The problem disappear after some of system updates...
Thanks to all involved...


Installed Ubuntu 14.04 to external drive on Windows 8 system. Now can't boot windows without external disk attached?

That is happening because you put grub on the other disk, but it still removed the bootloader on the internal disk. Try running "sudo update-grub /dev/sd(what ever the name of the internal drive, mine is sda)


Open it in recovery mode. and it will boot up after clicking resume. i am also having same issue. i will update if any way is done. for temporary advance option recovery would work.


[SOLVED] The problem was in the "/etc/nsswitch.conf". I changed the line "hosts: files dns" to "hosts: dns files" and that solved the problem.

Further, in a note of embarrassment, the host in question was also in the "/etc/hosts" file.  I don't remember doing that, so it was a self inflicted problem.


How do I re-install Unity after uninstalling gnome-shell?

Try

sudo apt-get install --reinstall ubuntu-desktop

Hope it helps.


How to send photos from my Canon photo camera to my laptop via Wifi?

http://www.webupd8.org/2015/11/wirelessly-transfer-photos-from.html

Maybe this will help you. Just take a look at, I cant test it because my camera does not have wifi options.


This might help. If you are just looking for the layout, scroll down the page.

And are you correct with your terminology? Did you mistype? 15.02 means that you haven't updated your computer since February! If you haven't, please do so! :)


Automatically mount encrypted directory, other than home, on login

Add the device to /etc/fstab

It should resemble something like:

/dev/mapper/crypto_test /mnt/crypto_test ext4 defaults 0 2


The easiest way to revert an upgrade that didn't work out is by using Clonezilla to make an image of your disk or OS partition(s) before doing the upgrade; then you can restore the image to your disk or partition if and when you decide to do so. (Note that this works even if the disk has Windows on another partition, and it doesn't matter whether the partition(s) you're cloning are primary or logical.  Note also that it isn't necessary to clone your swap partition.)


NGINX does not have this capacity as part of stock NGINX functions.  This is something that needs to happen at the PHP level - which is not nginx - if it has to run for every request it has to be done at PHP or the PHP application.

You may be able to do this with some type of Lua code done by the third-party Lua module (which must be manually compiled in, unless you use nginx-extras) that passes a request before processing to PHP backend but that will be executed separately from the sites and their web app items, quite possibly earlier than you want it to (I am not an expert in the Lua module and its functionality though).

This is NOT however a typical use case so such preprocessing of requests is not part of the design spec for nginx and possibly not easy to accomplish via the Lua module either.


How to define a theme for specific application in kde plasma?

Giving the advice of Felix, I tried the following with amazing results:
Packet Tracer without the fix:
Here the text below the router is barely visible.
Packet Tracer with the fix:
The text is now visible, and the general theme is  consistent.
Here's what I did:

Locate the *.desktop file of the application. (In my case: /usr/local/share/applications/cisco-pt.desktop)
Make a copy of it and paste it in ~/.local/share/applications
In the line where is Exec=... add what Felix said. Just before the regular command for executing the application.

So the final desktop entry would be something like this:
[Desktop Entry]
Type=Application
Exec=XDG_CURRENT_DESKTOP=GNOME /opt/pt/packettracer %f
Name=Packet Tracer 8.0.0
Icon=/opt/pt/art/app.png
Terminal=false
StartupNotify=true
MimeType=application/x-pkt;application/x-pka;application/x-pkz;


Try to reinstall ttf-mscorefonts-installer package by running the below command on terminal,

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


UEFI settings do not persist across reboot

First, look for an updated firmware from your manufacturer. (It will probably be listed as a "BIOS update," although it's not really a BIOS.) After updating, you'll have to re-register GRUB with efibootmgr. With any luck it will start working; however, don't get your hopes up, since these updates seldom do any good.

Another option that sometimes works is to set the default boot option via Windows. You can do this by opening an Administrator's Command Prompt window and typing:

bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi

If neither a firmware update nor setting the Ubuntu boot loader as the default using Windows helps and the computer is new, I strongly suggest you return it to the store for a refund, on the grounds that the behavior you're seeing is a design defect. Manufacturers will continue delivering machines with that sort of defect if they don't feel the pain of doing so, and the only way they'll feel any sort of pain is if machines are returned and they know why.

If the machine is too old to be returned for a refund, your only choice is an ugly shell game with boot loader filenames, as I describe on this page of mine. This is most easily done via Boot Repair, which provides an option to do such renaming and reconfigure GRUB appropriately on its Advanced menu. The option is called something like "back up and rename EFI boot files" (but that's from memory; the exact wording is almost certainly something slightly different).


Back up the whole ubuntu system or system image creation

To create an image of a disk is very easy. Let's say you want to create an image of sda in /media/my_dev_sdb:

sudo dd if=/dev/sda of=/media/my_dev_sdb/disk_sda.img.

If it's your main disk, then it's wise to boot a live session and do it from there instead.


Security updates for the universe repository for LTS releases?

Packages in Universe are community maintained. Whether or not they get security updates depends entirely on the community who uses them.

Instructions for contributing security updates for packages in Universe are here:

https://wiki.ubuntu.com/SecurityTeam/UpdateProcedures#Preparing_an_update

Basically, anybody can file a bug, attach a debdiff, subscribe the ubuntu-security-sponsors team and someone from the team will look at it to make sure it's ok, and then sponsor it to the archive.


Nautilus title bar menus have disappeared in 16.10

This was done intentionally, as nautilus is part of the Gnome project, which decided to flush out the menu-bars and replace them with a button in the window.


Combine h.264 video and opus audio stream into single video file

This can be done relatively easily with FFmpeg. If you are using Xenial Xerus LTS simply run the following:

sudo apt-get install ffmpeg

If however you are running Trusty Tahr LTS you would be best to build your own from these simple copy and paste instructions...

To demonstrate the technique I have created 2 test files:

This file called test.mp4 has the h.264 stream that you want and is in the following format, take careful note of the stream identifiers:

Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661) ...
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D)...

This files called test1.webm has the Opus stream that you want and is in the following format, again take careful note of the stream identifiers:

Stream #0:0: Video: vp9 (Profile 0)...
Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp (default)

Note: In your example the webm container may have only an audio stream with no video stream. In this case your Opus audio stream would have the identifier Stream #0:0.

Bear in mind as well that at the moment you cannot put Opus Audio in an mp4 container but it sits quite happily in an mkv container. The following is the simplest method:

ffmpeg -i test.mp4 -i test1.webm -c copy -map 0:0 -map 1:1 -shortest out.mkv

This accomplishes the following:

-c copy copy the codecs without transcoding
-map 0:0 select the 1st input file : 1st stream = the desired h.264 stream
-map 1:1 select the 2nd input file : 2nd stream = the desired Opus stream
-shortest stop encoding when the shortest input stream ends

For more elaborate methods that will be required with multi-stream files see the link in my references...

References:

FFMPEG mux video and audio (from another video) - mapping issue
FFmpeg Docs: 5.11 Advanced options


Look at the Advanced Debugging Procedures section of the wiki to get the information needed for the bug report.

If you can get a stack trace just report the bug by hand and attach it to the bug report.


Redhat/CentOS Libraries to Ubuntu Libraries

The compilation process maybe avoided by using binary deb-package:
cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-6/libgfortran3_6.5.0-2ubuntu1~18.04_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-6/gcc-6-base_6.5.0-2ubuntu1~18.04_amd64.deb
sudo apt-get install ./gcc-6-base_6.5.0-2ubuntu1~18.04_amd64.deb ./libgfortran3_6.5.0-2ubuntu1~18.04_amd64.deb

wget https://www.unidata.ucar.edu/downloads/gempak/nawips-7.5.1/gempak-7.5.1.deb
sudo apt-get install ./gempak-7.5.1.deb


Do I need to reinstall drivers on Ubuntu

YES. That's the big answer to your first question. Drivers are specifically written for different OS and that's the reason why Windows have better compatibility for Nvidia graphics card and Linux doesn't. Drivers are software which are written to make the devices known to the system you're using.
Main plus point of having Linux is that most of the drivers for different devices are already present in the system itself and if something is missing you can download it from the Software Update Center or use apt.

Next answer is YES again. Since drivers are OS specific you need to reinstall them again on Ubuntu or any other OS you're using or would likely to use.

Last answer would be a simple NO since, those driver are stored in the partition you create for Linux and Windows separately without jeopardizing or conflicting with each other. So when you boot into Linux the Windows would be certainly in shutdown and only the Linux drivers could be used.


Cloning a Windows L2TP connection: how to resolve L2TP host name?

To avoid Ubuntu 18.04 bug LP#1778946 which breaks DNS resolution after disconnecting the VPN connection, install the resolvconf package :
sudo apt install resolvconf

Alternatively install a newer version of network-manager-l2tp package from:

https://launchpad.net/~nm-l2tp/+archive/ubuntu/network-manager-l2tp


Delay shutdown until UbuntuOne has finished synchronizing

I am not sure if that would be nice, can you imagine if you had to w8 for 1Gb of files to be synced before shutdown? Doesn't it make more sense that the close signals are sent to the programs so they can quit and if there is further work then it can be resumed on after booting again.

Even Windows only allows 30 secs before it forces close on programs for shutdown.

I really don't see how can this be useful! If I order a shutdown I want that thing closed asap and boot up asap, not wait for the programs to do idontknowwhat. After all, it was my responsibility that started the shutdown, I should know when its a good time or not.

Edit (read all the comments bellow!):

Here is the script that checks the current status of UbuntuOne and shuts down only when status is idle.

#! /bin/bash

gracetime_given=false

while true; do
    u1sdtool_status=$(u1sdtool --status | grep -o 'queues: IDLE')
    timestamp=$(date +%H:%M:%S)
    if [ "$u1sdtool_status" = "queues: WORKING" -o "$u1sdtool_status" = "queues: WORKING_ON_BOTH" ]; then
        echo "$timestamp - UbuntuOne has not finished sync, waiting for conclusion."
        echo "Re-checking in 30 seconds."
        gracetime_given=false
        sleep 30
    elif [ "$u1sdtool_status" = "queues: IDLE" ]; then
        if [ $gracetime_given = false ]; then
            echo "u1sdtools seems to be idle at the moment..."
            echo "Giving u1sdtool some grace time, rechecking in 10 seconds."
            gracetime_given=true
            sleep 10
        else
            echo "This is where you shutdown!!!"
            sleep 5
            sudo shutdown -h now
        fi
    else
        echo "Something is really wrong!!!"
        break
    fi
done

To use it you need to do the following, on the terminal you need to use sudo visudo and add this line at the end of the file <yourusername> hostname=NOPASSWD: /sbin/shutdown -h now so that no password is necessary to shutdown your computer using  account.

After that you need to save the script anywhere (), you need to use chmod 755 <nameofthescript.sh> to make it executable.

Then you can just run the scrip and see how it works:

gets the current status of UbuntuOne
if not idle re-checks to see if its idle every 30 secs
if idle will give it 10 more secs and recheck if the status is still idle
if it is still idle it will shutdown using shutdown -h now

Hope this works and comment as you want on the code as long as you understand that this is actually my very first bash script!

Gl and hf ;)


Removing Java completely from Ubuntu 14.04 LTS

/usr/bin/java is a link to the current alternative of /usr/bin/java, you can reconfigure the default java version(including javac and whatnot) by using update-java-alternatives. If you want to reconfigure alternatives for a different debian package you can use update-alternatives --config {package} instead.

You probably don't want to remove Java, but maybe you want to remove some of the older versions.

If you do want to remove Java 6 you can run

sudo apt-get remove openjdk-6*

Or to remove Java, but i don't recommend doing this.

sudo apt-get remove openjdk*


Is there a way to get pop-ups with bash autocomplete in Ubuntu terminal?

Have you tried using zsh, oh-my-zsh?
You can enable zsh-autosuggestions on your .zshrc like this
plugins=(git
         zsh-autosuggestions
        )

It is very similar to what you described in your question.


I'm seeing Weird block letters instead of alphabets on login screen on Ubuntu 20.04

Problem is solved.
I had installed like 20 Nepali fonts following  a tutorial on web which suggested to simply copy all .ttf and .otf files to /usr/local/share/fonts/sample folder (even if there is no sample folder and creating one). And deleting the sample folder worked.
Thanks UnKNOWn for all the help.


Where are the "old" restricted drivers for dvb-t cards?

Try going to update manager -> setting -> last tab on top..

Most probably you will find what you are looking for, there..


I am unable to install anything from terminal in ubuntu 16.10

As you can see in the following link:

Ubutnu Roadmap

the Ubuntu 16.10 has reached End of Life, meaning that it is no supported anymore and that is the reason that you don't see any updates.

The best you can do is to install a recent version. Either you pick Ubuntu 16.04 LTS with 5 years of support, or pick Ubuntu 17.10 with 9 months of support.


man by default already uses less as a pager to display the manual page content.

Now less already has a built-in search and highlight feature, so you don't need an external tool like grep for that.

Simply open the manpage by running man sudo in a shell, then type /-k (press / and type your search pattern). less will now highlight wherever this regular expression matches in the document and also jump directly to the first occurrence.

You can then navigate to the next match by typing n (press N) or the previous match by typing N (press Shift+N).

More general, if you want to view grep's  output with colorful highlighting in less, you must use grep --color=always (to always emit color codes, even when not outputting to a terminal but a pipe) and less -R (to interpret color escapes instead of printing the control characters):

man sudo | grep --color=always '\-k\|$' | less -R


My first thought looks like a hardware issue or driver.

  High CPU usage caused by System Interrupts usually means that a hardware driver is not working properly or there is an issue with the hardware itself.
  https://blog.pcrisk.com/windows/12795-system-interrupts-causing-high-cpu-usage

for Linux: https://unix.stackexchange.com/questions/5788/how-is-an-interrupt-handled-in-linux

Just a thought could be totally wrong.


Reset MAAS after loosing Juju configuration?

Deleting/clearing/recommissioning nodes will not clear out old Juju settings. This is because MaaS stores files, some of them including the Juju bootstrapped state.

To reset this, you need to run:

maas-cli login root http://<your_MaaS_server_hostname>/MAAS/
maas-cli root files list

This will list the files that have been stored on the MaaS server by Juju. See if any of the files listed have the filename bootstrap-verify or provider-state. If so, run the following commands to remove the files and reset the MaaS to being in an "Non bootstrapped" state:

maas-cli root file delete bootstrap-verify
maas-cli root file delete provider-state

Run juju status. If it gives you an error that indicates it is not bootstrapped, simply run juju bootstrap and you should be good to go. If it gives some other error indicating that it thinks it's deployed but can't find a file or something, then remove the folder ~/.juju/environments/ (maybe back it up just in case), and then run juju bootstrap.

(See the IRC logs where I found the solution.)


Can't install Ubuntu from USB, the screen resizes and stops

My first guess is that either you downloaded a corrupted file or unetbootin failed to set your pen drive in the proper way.

First use m5checksum on the Ubuntu*.iso file you downloaded and verify the number matches the original one (all this info should be in the Ubuntu download page)

If the iso is working fine, use unetbootin to create a new booting pen drive and try again.

Good luck

Edit: I see you used different pen drives... So my guess is only about the iso


I finally got it working. Dunno if this is the best solution, but works for now. I moved the /etc/init.d/rc.local and the /etc/rc.local to a different location, and the I ran

update-rc.d rc.local remove

Afterwards I moved the two scripts back into place and ran

update-rc.d rc.local defaults

It now appears to be working correct.


As Ubuntu 16.04 comes with plumbum incoporated inside it, you just need to type pip install plumbum in the terminal and press enter. Make sure you are connected to the internet when you do this.


What is the good practice to recover files from an infected ubuntu machine?

Your plan seems sound.  Live media don't automount even internal drives, in my experience, so you shouldn't need to change settings for that.  You can update ClamAV after installation to ensure it is up to date in terms of definitions.

Unless you can finish the whole job in one session, however, you may find problems with installing ClamAV on the Live media -- the installation won't remain through a reboot.  You may want to research "persistence" and "frugal installs" to learn about a method that permits installing software to a USB install in a way that will remain present and configured from session to session.

I'd also recommend transferring only actual documents (pictures, music, word processor files, etc.), not anything that might be executable (which is where any malware would reside).  If you take only documents from non-hidden folders in /home, you should avoid passing any infected files to your new install.


How to create personalized font in Ubuntu?

Try FontForge. From the Fontforge project page:

  FontForge allows you to edit outline and bitmap fonts. You may create
  new ones or modify old ones.

If you just want to install some crazy fonts that other people have created, have look at almost any truetype fonts you can find with google.


You need zipsplit which is part of the zip package:

zipsplit -n $(( 250 * 1024 * 1024 )) your_zipfile.zip

It splits an existing zipfile into smaller chunks. The size of each
chunk can be supplied via the -n switch. It defaults to
360000 because years ago floppy disks had a capacity of 360 kB.

Another option would be to create the chunks in the first place while
zipping (see zip, especially the -s switch) and thus avoiding
the separate zipsplit step:

zip -s 250m new-zipfile file1 file2 file3...

Unfortunately unzip new-zipfile.zip cannot handle the chunks created
via zip -s so you have to join them on the target side before unzipping:

zip --fix new-zipfile --out joined-zipfile
unzip joined-zipfile


KDE dark themes with specific windows overrides

Firefox - Dark theme in KDE (solved)

Well here is what I did.

1 - Type 'kdesu dolphin' in terminal.

2 - Navigate to /usr/share/applications/firefox.desktop

3 - Open firefox.desktop with Kwrite.

4 - Look down to the line - Exec=firefox %u

5 - Now place a # in front of that line or remove it, it's up to you.

6 - Now inset a new line exactly as below including quote marks;

Exec=bash -c 'GTK2_RC_FILES=/usr/share/themes/Redmond/gtk-2.0/gtkrc firefox %u'

7 - Start Firefox, and yes it does look very plain and light when set against your dark theme, so in order to resolve this, I installed a Firefox dark them in my case NASA launch night.

Make sure the dark theme you have chosen is enabled. Restart Firefox.

Hope it helps
Steve


How do they work when you have two graphic cards on Ubuntu?

I don't have dual GPU laptop anymore to test it, but used to, this sounds like NVIDIA Optimus (for switching between cards), on Linux this is handled by the bumblebee project.

https://bumblebee-project.org/

I believe it's in the universe/multiverse repo (universe is community maintained software, multiverse copyright restricted software). If for some reason these are not enabled on your machine (in case it complains it can't find the software), you can enable them with

sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo apt-get update

To install bumblebee

sudo apt-get install bumblebee bumblebee-nvidia linux-headers-generic primus
reboot

Now it should default to your intel gpu (for power saving reasons) on everything, to start an application with your dedicated card instead, you start it with the "optirun application-to-start" command, as in:

optirun blender
optirun nvidia-settings
...


How do I choose which display shows "full screen" modes?

A workaround for this on youtube is using the html5 player, you can do it going to youtube.com/html5 and clicking join the HTML5 trial

I have the same issue with flash as full screen, it always go to the display detected as number 1, you can view it going to the settings>displays and pressing on the "detect displays" button.


Dummy VGA to HDMI solved the problem.

Description here:

  https://www.geeks3d.com/20091230/vga-hack-how-to-make-a-vga-dummy-plug/


Fix snap application icon on 20.04 [gitkraken]

Just modified the .desktop file to point to the GitKraken icon in the installation folder, which is in the directory:

/snap/gitkraken/current/usr/share/gitkraken/gitkraken.png

The modified .desktop file is located at

/var/lib/snapd/desktop/applications/gitkraken_gitkraken.desktop


To maximize your window, given that your target is a desktop app, I would rely on standard shortcuts like a double click on the title bar. Of course there's the window decoration controls too.

To start maximized, you can use the Screen properties:

import QtQuick 2.0
import QtQuick.Window 2.0

Rectangle {
    width: Screen.width
    height: Screen.height
    border.color: "lime"
    border.width: 15
    color: "transparent"
    Text {
        anchors.centerIn: parent
        text: Screen.width + " x " + Screen.height
        font.bold: true
        font.pointSize: 80
        color: "lime"
        smooth: true
    }
}

Only Qt5.1 offers fine control on such window operations though: Visit http://qt-project.org/doc/qt-5.1/qtquick/qml-qtquick-window2-window.html#visibility-prop

Alternatively to maximize the view, you can export a C++ function that will call QWidget::showMaximized() for you and then call it from QML.


In this case removing nautilus-dropbox using sudo apt-get remove nautilus-dropbox will not work directly. You need to remove post-installation script of this package.

Open terminal and execute

cd /var/lib/dpkg/info/
sudo mv  nautilus-dropbox.postinst nautilus-dropbox.postinst.bac

Now remove nautilus-dropbox completely using

sudo apt-get purge nautilus-dropbox


Headset/TRRS audio output issue in Ubuntu 20.04 on Dell XPS 9500

I have run into the exact same issue on a Dell XPS 13 9310 but conveniently I have a working older Dell to compare this to.  I don't have a complete fix yet but thought I'd share some relevant info that might help diagnose where the issue lies.
On the older Dell Inspiron 7537 (also running Ubuntu 20.04.2 LTS), these same TRRS headphones work fine.
Differences I've noted on this older laptop:

when plugging in headphones, I'm prompted with a pop-up each time to select the type of audio device (headphones/headset/microphone)
using PulseAudio UI (requires pulseaudio and pavucontrol packages to be installed), on the Configuration>Built-in Audio section, I have profiles like Analogue Stereo Duplex , whereas on the new Dell the only profile listed is under sof-hda-dsp and the profile is named Play HiFi Quality Music.

I suspect the strange with inaudible vocals is a result of 5.1 Surround audio being sent to over stereo headphones, which is a result of the correct audio profile not being available (and the lack of a headphone prompt is potentially a symptom of the same issue).
Weirdly, I've also managed to occasionally get my regular TRS headphones to produce the same bug on the new Dell (by a combination of swapping back and forth between the TRS/TRRS headphones).  Once that happens, I have to follow the reset commands in Step 1 Ubuntu Sound Troubleshooting guide, namely:
https://help.ubuntu.com/community/SoundTroubleshootingProcedure
killall pulseaudio; pulseaudio -k  ; rm -r ~/.config/pulse/* ; rm -r ~/.pulse*

followed by
pulseaudio --start


On this website you can download a script that does the setup in about 15 minutes, fully working. Cheers.

http://netdisco.blogspot.se


Script to generate thumbs only if thumb doesn't exist

You can use if conditional construct to perform an action depending on some condition e.g. if something exists or not. In your case you need to put the action segment inside the if-then condition:

  if ! [[ -f "_thumb_wd_${f%.pdf}.jpg" ]]; then
    convert -thumbnail 250x200 "$f"[0]"_thumb_wd_${f%.pdf}.jpg"
  fi

[[ is a bash keyword, we are using it to check (-f) if the file _thumb_wd_${f%.pdf}.jpg exists and is a regular file. The ! negates the operation, as a result convert will only run if the file does not exist.

So, your final script:

#!/bin/bash
for f in *.pdf; do
  if ! [[ -f "_thumb_wd_${f%.pdf}.jpg" ]]; then
    convert -thumbnail 250x200 "$f"[0]"_thumb_wd_${f%.pdf}.jpg"
  fi
done


Fresh install of Kubuntu 17.10 beeps after installing NVidia driver

After checking dmesg I saw the halt point in the boot process:

[    3.572204] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[   28.060038] watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [nvidia-smi:471]

I searched for that error message and landed on this answer, which suggested adding nomodeset to GRUB_CMDLINE_LINUX_DEFAULT in the grub settings file.

It worked flawlessly!


Alsamixer missing controls after upgrade from 10.04 to 12.04

I know I had a very low right channel after initial install until I adjusted the mixer settings and it seemed to suddenly come to life. have you adjusted ALL of the mixer settings?


Notepad++ does not show files mapped under "Z" drive

Snaps are designed to prevent access to unusual places (like system directories), so this seems like expected behavior.

Snaps use multiple layers of permissions:

Snapd Interfaces
The snap's AppArmor profile
The filesystem ownership and permissions.

Take a look at https://snapcraft.io/docs/snap-layouts for an example of how snaps are designed to keep guardrails up between nosy tourists and the spinning gears.

If you want full access to all files for yourself, a snap-based text-editor may not be the best way to go. Instead, you have other options:

A deb-based or manually installed text editor
On Snap-only Ubuntu Core, you can use the built-in vim editor
You can copy the file to a readable location (like your /home)
If you're being denied access to a commonly-used location, consider filing a bug report with the snap's author so they can explicitly add permission.

There's really no simple way to override a snap application's access permission. That would be a glaring security hole.


Installing Ub 13.04 and Win 7 boot loader issues

You have to in BIOS choose to boot the drive with Ubuntu. That should have grub2's boot loader installed in the MBR.

Then after booting Ubuntu run this to get os-prober to find all your other installs. When you installed it did not find the other installs since drives were not connected.

sudo update-grub


Dual Boot ubuntu 12.04 and Windows 7 on two separate SSDs with UEFI

If Windows is installed to and booting from an MBR-partitioned disk, then that means that Windows is booting in BIOS mode. On most computers, it's very awkward to switch between boot modes, so if Windows is booting in BIOS mode, it's best to install Linux in BIOS mode, too. My suspicion is that you have instead done an EFI-mode installation of Ubuntu. There are at least two ways you can proceed:

Wipe your Ubuntu installation and re-install in BIOS mode. The trick will be to boot the installer in BIOS mode. The problem is that different EFI implementations provide different controls for how to set a CD's boot mode (BIOS vs. EFI), so I can't provide step-by-step instructions for this; you'll just have to study your firmware options or the computer's/motherboard's manual.
Boot your installer into BIOS mode, or use a BIOS-mode rescue system such as SystemRescueCd, and use it to install a BIOS version of GRUB. This will go best if you create a BIOS Boot Partition, which is a ~1 MiB partition in which GRUB stores some of its code. (You can carve it out of your /dev/sdb1, which will be useless if you follow this route.) There are plenty of online guides describing how to re-install GRUB to a non-booting system, but I don't happen to have any URLs handy, so you should do a Web search.

Note that Linux is perfectly happy to boot from a GPT disk in BIOS mode, although Windows can't do this. Also, some firmware implementations have problems with this setup, so it's conceivable you'll run into difficulties if you try to follow it. (These problems can usually be overcome by setting the boot flag on the MBR's 0xEE partition using fdisk.)


How do I get all hot corners in Ubuntu 17.10 and later with GNOME 3?

You can use this Gnome Shell extension called CustomCorner.

It doesn't fully replace all options one had with compiz, but it's a start.


I am getting frequently low disk space message

To delete downloaded packages (.deb) already installed (and no longer needed)

sudo apt-get clean

To remove all stored archives in your cache for packages that can not be downloaded anymore (thus packages that are no longer in the repository or that have a newer version in the repository).

sudo apt-get autoclean

To remove unnecessary packages (After uninstalling an app there could be packages you don't need anymore)

sudo apt-get autoremove

To delete old kernel versions

sudo apt-get remove --purge linux-image-X.X.XX-XX-generic

If you don't know which kernel version to remove

dpkg --get-selections | grep linux-image


How to install QCA Designer in Ubuntud 16.04 LTS

In their download page, I can see options to download the source file: QCADesigner-2.0.3-src.tar.gz.

After download, uncompress the source file.

First, install dependencies:

sudo apt-get install automake libtool libglib2.0-dev gtk+2.0 libgtk2.0-dev

Then configure it with:

./autogen.sh --prefix=/opt/qcadesigner
./configure

Edit all po/*.po files and add this at the beginning of them:

#, fuzzy
msgid ""
msgstr ""
"Content-Type: text/plain; charset=utf8"

Then compile and install:

make
sudo make install


With local Ubuntu boxes, whether they're connected directly or using a switch, you can use hostname.local to connect. So, if your laptop is called bambuntulaptop, then you can connect to it using bambuntulaptop.local.

For non-local connections, you'll have to use an IP address or setup a dns server. You can use ddclient coupled with a service like dyndns.org.

NAT isn't really relevant with regards to ssh. You'll need to forward port 22 to the right machine, or configure your ssh server to use another port and forward that one. Port 22 is the default ssh port.

You must not allow non-protected accounts. There are thousands, or hundreds of thousands of computers who are scanning for things to abuse. Allowing any user on the internet to run programs on your computer is a seriously bad idea. Ubuntu is secure, but not that secure. In fact, I don't think you will be allowed to use non-password protected accounts with ssh. If you wanted to do that, then you'd need to setup keys. That would be another question.

The command to establish the connection itself, could hardly be any easier: ssh username@host. In other words, reusing the example from above; ssh bambuntu@bambuntulaptop.local.


Installing as guest user so I can't do anything

You should log into your ubuntu box in single user mode, which will dump you into a root shell. Then you should be able to create a new user, or to change its password, so you can reboot and log in.

See here on how to do it: How do I boot into single-user mode from GRUB?

To change password for another user, type: passwd <username>

To add a new user, use adduser.


ssh-import-id failing with "ERROR local variable 'keys' referenced before assignment"

This seems to be a less helpful version of the following error message (which I received on a 14.04 distribution):

$ ssh-import-id gh:my-user-id
2017-12-08 13:18:38,890 INFO [0] SSH keys [Authorized]
2017-12-08 13:18:38,891 ERROR No matching keys found for [gh:my-user-id]

So you probably don't have any keys associated with that GitHub account! After adding keys to my account, I received the much more encouraging message:

$ ssh-import-id gh:my-user-id
2017-12-08 13:24:16,021 INFO Authorized key ['2048', 'REDACTED', 'my-user-id@github/12345678', '(RSA)']
2017-12-08 13:24:16,024 INFO [1] SSH keys [Authorized]


mysql-server taking too much time to be installed and generated failed

Did you try installing it using apt-get?

update

sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update

try this

sudo apt-get install mysql-server

Also it looks like your installation is locked.  If it is locked do this.

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a


Twitter "Authentication Error" Turpial & Choqok (latest versions)

Just like previous answers said, Twitter shut down its 1.0 API Wednesday, June 12th 2013. Now Twitter clients have to use the new and controversial 1.1 API. As a consequence, Twitter clients which have not implemented the 1.1 API support yet will be broken until they implement it. Twitter clients for Linux (and Ubuntu) are in different situations :

Polly and Birdie both support this 1.1 API. You can use them seamlessly.
Choqok and Turpial did not currently support the 1.1 API. So they will not work until their developers implement the 1.1 API support.
Hotot's case is a bit different. It officially do not support 1.1 API however it is "1.1 ready". There is a tweak in the settings which enables Hotot to work partially. For exemple, mentions and lists will not work at all, unlike displaying timelines and posting a tweet. To make Hotot work with the 1.1 API, go to Preferences > Advanced and set the "API Base" parameter to "https://api.twitter.com/1.1/". Restart Hotot after that. Its variant for Google Chrome (and Chromium too) "Hotot for Chrome" supports 1.1 API just like Polly and Birdie.


Unable to install AMD driver on Ubuntu 14.04 LTS

Remove hardware stack:

I will try to explain this in a way others can understand it - not so much an exact technical outline of why and how each thing works.

By default apt-get uses --install-recommends to get packages and dependencies. However there are times this fails to install things because it improperly tries to recommend things based on what it see's already installed on the system - especially when dealing with drivers (for example when the manufacture driver does not work as well as an open source one).

What this first command does (basically) is forces apt-get to do a recommended installed of a series of packages required for fglrx to work properly. By doing a recommended install you are basically "removing the hardward stack of drivers" and forcing a replacement with the recommended packages (this is not the same as an update or an uninstall/reinstall of drivers).

sudo apt-get install --install-recommends xserver-xorg libgl1-mesa-glx libegl1-mesa-drivers

Clean up extra packages:

This will basically go through the packages and clean up any packages that are just lingering and no longer needed (left overs from what we did above)

sudo apt-get autoremove

Properly install:

This should correctly install with the proper hardware dependency stack.

sudo apt-get install fglrx

Don't forget to reboot.

Why do I recommend this as the solution - reminds me of an old bug from a couple years ago.. and the logs look strikingly familiar. you could probably find a bug with those exact logs in bug tracker records.


VirtualBox unable to capture device (USB Hard Drive)

You need to have the latest virtual box installed.

Other things to check

reboot once the virtual box is installed
also install Oracle VM VirtualBox Extension Pack which is same as your installed version
check usb 2.0 as an usb filter (usb 3.0 might not work properly)
add yourself as part of virtual box user .command "sudo usermod -a -G vboxusers [user_name]"
install virtual box additional pack which can be activated by   Device > Insert Additional CD image.


How to know whether am the administrator of my Ubuntu?

Simply type id in a terminal. It outputs user id, group id, and group memberships of your account. In my case:

UID=1000(jacob) GID=1000(jacob) groepen=1000(jacob),4(adm),24(cdrom),27(sudo),30

"27(sudo)" means I am member of the group "sudo", and that I have the option to run commands with sudo, in other words: I am an administrator.

In comparison, a "normal" user's output:

UID=1001(testpersoon) GID=1001(testpersoon) groepen=1001(testpersoon),1000(jacob)

To turn a "normal" user into an administrator, add the user to the group sudo:

sudo adduser <username> sudo  (from an administrator's user account)


How do I remove Ubuntu without losing any data from the HDD?

The easiest way to solve your problem is to backup whatever you need, then just format the drive that you installed Ubuntu and Window on.

I recommend that if you wanted to use both, you should install Ubuntu after Window, since I think grub work better.


Install the Chrome Development version. To do that, run the following:

sudo apt-get update && sudo apt-get install google-chrome-unstable

However, be warned that this is Google Chrome unstable, and that it won't be stable, and that some features might not work. Also, this will remove Google Chrome stable.

Via chromium-discuss


WiFi not working on Ubuntu 18.04 LTS Lenovo Legion Y520

The device is blocked by a platform ideapad driver. Run in a terminal

sudo tee /etc/modprobe.d/blacklist-ideapad.conf <<< "blacklist ideapad_laptop"

and reboot.

And also I recommend to remove the Broadcom driver that you installed.

sudo apt purge bcmwl-kernel-source


What really counts is the .bashrc in your home directory. When something is in /etc/skel, this just means that it'll get copied to the home directory of any new users you create

If there is no  .bashrc file in your home folder, copy the one from /etc/skel to your home. To see if it worked, you need to open a new terminal.


How can I switch between gnome-shell and unity without logging off?

Press Alt+F2, and

to run unity, execute unity --replace
to run gnome-shell, execute gnome-shell --replace


Printing right-to-left in booklet format

I foungI found a wokaround for this problem:

for 16 pages input file:

pdfbook --signature* 4 inputfile.pdf 16,15,14,13,6,5,8,7,10,9,12,11,4,3,2,1 --outfile book-RTL.pdf

for 14 pages input file:

pdfbook --signature* 4 inputfile.pdf {},{},14,13,6,5,8,7,10,9,12,11,4,3,2,1 --outfile book-RTL.pdf

for 12 pages input file:

pdfbook --signature* 4 inputfile.pdf 12,11,4,3,6,5,8,7,10,9,2,1 --outfile book-RTL.pdf

for 10 pages input file:

pdfbook --signature* 4 inputfile.pdf {},{},4,3,6,5,8,7,10,9,2,1 --outfile book-RTL.pdf

for 8 pages input file:

pdfbook --signature* 4 inputfile.pdf 2,1,4,3,6,5,8,7 --outfile book-RTL.pdf


How do I restore default settings and configuration, but keep local data, installed apps, and PPAs?

Open a terminal and try this command:

rm -r ~/.config/ ~/.cache/

and relogin. In a perfect world, this would restore a stock environment without any data loss. The world is good enough that it may work for you. However, not all software is standards compliant, so... if your login is still borked, backup everything and run:

rm -rf ~/.[^.]*

This will delete configuration for all applications. It will also delete some user information, such as your browser login information, your email credentials, save game files, etc.


LAN not working after installing OpenVPN

Problem solved

I just wents to Settings > wired connection then selected ipv4 and set dhcp address to automatic, and rebooted.


Unable to install 12.04 on a Lenovo U410 Ultrabook

The U410 comes with both disks in RAID0 configuration.

If you do a Ubuntu only install, you can disable this in the BIOS ( Fn+F2 to enter BIOS, under configuration, RAID option AHCI which is standard S-ATA), the disks now show up as you would expect.


Atheros AR8151 v2.0 Gigabit Ethernet works only at 100Mb/s

I was the user who started the thread linked to by chili555 in the Linux Mint forums: https://forums.linuxmint.com/viewtopic.php?t=225141

While disabling the IPv6 worked for Linux Mint 18, it did not work for Ubuntu 16.04. The solution is installing the Linux driver from Atheros. I followed this post on the Ubuntu Forums to get it working: Atheros AR8151 ethernet on Asus P8H67-V

Unfortunately the link in the post to the driver itself is dead. I found that it is available on Ubuntuusers.de, a German language Ubuntu forum. You can download the driver here:
Download AR81Family-linux-v1.0.1.14.tar.gz

I hope this helps.


I used this ( http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ ) and a flash drive.


Yes.

What you want to do is set your Ubuntu machine to boot to run level 3 (this will boot you in console only login mode with networking)
Then you will need to config your X server
Edit openSSH server to support X11 forwarding
SSH into your server with the -X option added this supports X application forwarding ( ssh root@x.x.x.x -X )
Then find your application you want to launch and execute it from /usr/bin or wherever it is.
Then your application should launch providing its configured correctly.

You will need to use a Linux or *nix based machine though to support the X forwarding. Well at least I think so. Don't know it if its supported on windows.

Something like this should help you I think.

Hope it helps.

Bill

EDIT1:Putty supports X11 forwarding didn't know this quite nice to know. Windows will be find to ssh through with then.


-- Update -- The ppa author responded to an email I sent him:

Hi,

I've abandoned the PPA because the packages are now available in the universe repository, thanks to Debian.

You should enable backports: https://help.ubuntu.com/community/UbuntuBackports

And then install exfat-fuse package: http://packages.ubuntu.com/precise-backports/exfat-fuse


'VT-x/AMD-V not operational' error running Ubuntu 13.04 GNOME 64-bit on VB

As pointed out by Takkat -

  Your CPU is 64-bit, and VT-x capable. The BIOS should therefore have
  an entry to enable/disable this feature, look out for other names
  (also see
  How do I enable hardware virtualization technology (VT-x) for use in Virtualbox?)


Is it possible to install an OS on USB flash memory of 4 GB

From our wiki:

  Notes about size

1 GB is enough for a live USB flash drive made from a 'CD size' iso file. But unless you already have a 1 GB drive, you are recommended to get one with at least 2 GB, hence the general recommendation above.
2 GB is enough for 'CD size' iso files as well as many but not all 'DVD size' iso files.
If you want a persistent live system with a decent size casper-rw storage, you need at least 4 GB (2 GB is possible, but might soon run out of space).
If you want an installed system you need at least 8 GB (4 GB is possible with Lubuntu, but might soon run out of space). In the beginning of 2014, it seems that there are no really fast pendrives below 16 GB. If you want a fast system, install it into a pendrive that performs well in a test, even if it is 'bigger than necessary'.

So the answer is yes, but with limitations; not just on size but also on speed (4Gb USB are slow). 8Gb is recommended and 16Gb preferred.


How to build a dynamic grub on a usb-drive?

Actually, someone already made this :)

SugerGrub2Disk is your friend.


Can't create folder links from a fat32 partition

The problem is only with using Nautilus, which creates the link in the same folder as the original, rather than in your home directory.  I don't know if Nautilus can do this, but you can do it using the commandline in a terminal with the "ln" command.

ln -s /path/to/file_or_folder ~/name_of_link

where

"/path/to/file_or_folder" is the complete path to the mounted folder,

"~/name_of_link" is the destination for the link in you home directory.


Add the following line in ~/.bashrc to add ./bin directory in PATH

export PATH=./bin:$PATH

Next you need to run in terminal source ~/.bashrc to affect the change.


is this a password bug in Disco Dingo (Ubuntu 19.04)?

With sudo passwd you change the password of the user root.

If the user wants to change his own password, he might use just

passwd

If you want to change his password, use

sudo passwd USERNAME

See also

You might want to unset root password again.


Ubuntu 16.04 won't boot after installation "no UMS support in radeon module"

I would try pressing tab when you get to the menu, then add this: radeon.dpm=0
I was in a similar boat and had success using this.


try on your dns vpn box to block all ports in iptables. keep port 53 (DNS) open and the port used to connect to the vpnc open as well.


Solution to perspectivicly warp the whole screen?

You can do that with xrandr tool and its --transform option to which you can pass a 3x3 transformation matrix.

Unfortunately I don't know any GUI to compute the transformation matrix.
But several open sources project have tool to do that (OpenCV, openFrameworks...) from 2 set of 4 corners.


Unable to switch users at lock screen. Unity, Ubuntu 18.04

I was able to fix it by removing lightdm, re-installing lightdm, and then rebooting. Not sure what went wrong, but I can switch users again no problem.

sudo apt-get remove lightdm
sudo apt-get install lightdm


The ssh daemon from openssh-server can take multiple Port directive (in /etc/ssh/sshd_config) for assigning multiple ports to the single ssh daemon.

You need to indicate the port numbers after each Port directive in /etc/ssh/sshd_config file e.g.:

Port 22
Port 222

Now restart the ssh daemon, for Ubuntu 16.04:

sudo systemctl restart ssh.service


Cannot change clock to 24 hour format in Ubuntu Gnome

since you are using GNOME-Flashback

run the below command

gsettings set com.canonical.indicator.datetime time-format 24-hour

for 12-hour

gsettings set com.canonical.indicator.datetime time-format 12-hour

or to reset to default value

gsettings reset com.canonical.indicator.datetime time-format

Alternatively you can use dconf-editor tool (sudo apt install dconf-editor)


How can I get a gnome environment in my VNC session?

Install gnome-session-fallback , by clicking that installation link or by running these commands in a Terminal (Ctrl+Alt+T):

sudo apt-get update
sudo apt-get install gnome-session-fallback


How add extensions to Visual Studio Code through command line?

You can get the command line help with

code -h

(A man pages doesn't exist.)

Extensions Management:
  --extensions-dir <dir>                                         Set the root path for extensions.
  --list-extensions                                              List the installed extensions.
  --show-versions                                                Show versions of installed extensions, when
                                                                 using --list-extension.
  --install-extension (<extension-id> | <extension-vsix-path>)   Installs an extension.
  --uninstall-extension (<extension-id> | <extension-vsix-path>) Uninstalls an extension.
  --enable-proposed-api <extension-id>                           Enables proposed API features for an extension.

Hence all you need is the extension-id or extension-vsix-path and then

code --install-extension (<extension-id> | <extension-vsix-path>)

E.g. the ms-python package can be installed  by

code --install-extension ms-python.python


Having trouble linking QML button to C++ class

As I understand it, you can only import objects, not bare functions, into QML from C++.  Thus, you need to make your open_terminal function into a method of terminal_launcher, add a terminal_launcher object to your QML file, and then call its open_terminal method at the appropriate place.

An adaptation of your code follows.  Note that I've renamed terminal_launcher to TerminalLauncher to match to Qt style.

terminal_launcher.h

#ifndef TERMINAL_LAUNCHER_H
#define TERMINAL_LAUNCHER_H

#include <QObject>
#include <QProcess>

class TerminalLauncher : public QObject
{
    Q_OBJECT

public:
    Q_INVOKABLE void open_terminal();

private:
    QProcess proc;
};

#endif // TERMINAL_LAUNCHER_H

open_terminal is now a method.  It is tagged as Q_INVOKABLE so that it can be used from QML.  proc has been made an instance property to avoid it being garbage-collected when the method finishes executing, but the child process is still around.

terminal_launcher.cpp

#include "terminal_launcher.h"

void TerminalLauncher::open_terminal() {
    this->proc.start("gnome-terminal", QIODevice::ReadWrite);
}

main.cpp

#include <QGuiApplication>
#include <QQuickView>
#include <QString>
#include <QtQml>
#include "terminal_launcher.h"

int main(int argc, char *argv[])
{
    QGuiApplication app(argc, argv);
    qmlRegisterType<TerminalLauncher>("com.example.launcher", 1, 0, "Launcher");

    QQuickView view;
    view.setSource(QUrl("main.qml"));
    view.setResizeMode(QQuickView::SizeRootObjectToView);
    view.show();

    return app.exec();
}

The call of qmlRegisterType is critical, as it allows the TerminalLauncher class to be instantiated in QML.  The first argument is the module name which must be imported.  The second and third are the major and minor version numbers.  The fourth argument is the name by which this class in known in QML.  You probably want to make it the same as it is in C++, to avoid driving yourself insane, but I've made it different just to show that it can be.

main.qml

import QtQuick 2.0
import QtQuick.Controls 1.1
import com.example.launcher 1.0

Rectangle {
    width: 200
    height: 51

    Launcher {
        id: launcher
    }

    Button {
        x: 25
        y: 8
        width: 150
        height: 35
        text: "test"
        onClicked: launcher.open_terminal();
    }
}

I've greatly simplified this to show the relevant parts.  Note that I instantiate a Launcher object and then call its open_terminal method when the Button is clicked.

termlaunch.pro

CONFIG += qt
QT += quick
HEADERS = terminal_launcher.h
SOURCES = main.cpp terminal_launcher.cpp
TARGET = termlaunch

This project file instructs qmake to create a binary called termlaunch.  All of these files should go in the same directory.


Xubuntu 14.04 black screen after monitor off/on

I had this problem after upgrading to 14.04.  I have an nvidia graphics card and a Vizio TV connected by HDMI.
To get back to an X session: Ctrl-Alt-F1
login

sudo service lightdm restart

Reset the audio either in alsamixer or I just go to setup/audio in MythTV.  Just entering the audio menu resets it.
To permanently fix the problem, I found the solution here:
Mailing List Archive - HDMI output lost when TV is power cycled
if you don't have an xorg.conf file in /etc/X11
then use nvidia-xconfig to create one.  Then, in the "Device" section, add:
Option "UseHotplugEvents" "false"

restart lightdm to make it take affect.
That should be enough.  Though I also added Option "Hotplug" "false" and under "Monitor" I added Option "DPMS" "false" to avoid any other power control of the monitor.


14.10 GUI issue with 2560x1080 resolution Nvidia 346.22

I have found the solution to this problem and will proceed with how I came to solve the issue. The problem was not caused by the Nvidia driver or GTK like I originally thought but was due to an old bug in Compiz to do with the screen refresh rate on Nvidia cards as pointed out by Mateusz Stachowski on Google+ who also provided a link to the bug report on launchpad.

The bug report had a potential fix proposed by Christopher Townsend on comment number #329 in which he provided a link to a PPA to patch the bug in Compiz (apparently the patch cannot be applied to the official Compiz package due to licensing issues).

To apply the patch simply add the PPA to your repository, then update and restart your system.

sudo add-apt-repository ppa:townsend/compiz-nvidia-refresh-test
sudo apt-get update && sudo apt-get dist-upgrade
sudo reboot

This bug has now been fixed in the most recent version of Compiz as of 1:0.9.11.3+14.04.20150122-0ubuntu1 and the patch above is not longer necessary to fix the issue. Source

The officially fixed package can be installed by running:

sudo apt-get update && sudo apt-get install compiz

or by running a standard update of Ubuntu with:

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


Wauzl, try to set value of the property «scroll-wheel-zoom» to false.

gsettings set org.gnome.eog.view scroll-wheel-zoom false

Also, you can list other EOG properties:

gsettings list-recursively | grep -i eog


Windows XP/Ubuntu Dual Boot - Separate Drives - going straight to a GRUB prompt

It seems your GRUB from first drive "chainloads" to  GRUB at second drive. Try uninstalling GRUB from second and run update-grub on first one.


What will happen when the Code Names of the Ubuntu releases get to Z

Astonishing Antelope
As questions go - this pretty much will be a decision made by Mark Shuttleworth himself.

Maybe we could start doubling the initial like in Aalenian Aal or
Aalenian Aardvark  We could restart using flowers or plants instead of
animals. e. g. Apologetic Anemone  For release 17.10 i suggest
Ambitious Aye Aye  Maybe: Awesome Alebrije?  I like the idea of using
plants next. Or perhaps rocks/minerals.

Thus as you have indicated we are in the realms of speculation.
On the link below - the wrap around to A is described up to F - Flying Fox, etc., i.e., Ubuntu 20.04
What is beyond that - happy speculating.

Useful link:

https://wiki.ubuntu.com/DevelopmentCodeNames


Iptables and bind9 to forward to google's dns

Ok, iptables rule for this can be something like this

this will accept dns req

sudo iptables -t nat -A INPUT -s 192.168.0.0/24 -m state --state NEW -p tcp --dport 53 -j ACCEPT
sudo iptables -t nat -A INPUT -s 192.168.0.0/24 -m state --state NEW -p udp --dport 53 -j ACCEPT

This will create chain to catch dns req

sudo iptables -t nat -N CATCH_DNS
sudo iptables -t nat -A CATCH_DNS -p udp -m udp --dport 53 -j REDIRECT --to-ports 53
sudo iptables -t nat -A CATCH_DNS -p tcp -m tcp --dport 53 -j REDIRECT --to-ports 53

Then you can apply rule on INPUT

sudo iptables -t nat -A INPUT -s 192.168.0.0/24 -j CATCH_DNS

I think this will work :)


Synaptic Package Manager > Edit > Fix Broken Packages

Then try again. Wine is really complex, running it up without Reading The Fine Manual was what I did at first and I regretted it almost instantly. You'll want to run seperate sandboxed instances of it and keep this page in bookmarks for installing specific programs : http://appdb.winehq.org/


Upside down mouse cursor and inverted position on Ubuntu 18.04

I tried following these instructions, but that didn't work. Then what I did was simply open Terminal using Ctrl+Alt+T and invert the screen using

xrandr --output eDP-1 --rotated inverted

Then running

sudo apt-get update
sudo apt-get upgrade

After rebooting, everything went back to normal.

To prevent GNOME from communicating with the sensor hardware I ran the command

sudo apt-get remove iio-sensor-proxy

This solved everything for me.


Will "Ubuntu 14.04 Trusty Tahr" install and run without problems on my Dell Latitude D620 Laptop?

Very short answer: Yes.

Short Answer: Yes, but graphics might not work.

Answer:

Theoretically, Ubuntu should run on any modern computer. Yours is good enough for base specs. You might need to install some custom drivers for your computer, though. You can access this in the Software prefpane in your control panel.

You can test whether it will actually work by using your LiveCD/LiveUSB. If that boots, Ubuntu will certainly work.


Desktop sharing options for Ubuntu 12.04 with Unity

I have tested out various VNC server implementations including:

TightVNC
RealVNC
FreeNX
X11VNC

Overall I'd say that the easiest to setup, good performance on dual-display configurations,  cross-platform support for many clients, and most reliable for me has been X11VNC.

FreeNX was very difficult to setup, though it was subjectively not that much better or faster than other solutions I tried, so the payoff wasn't as great as I'd hoped.  FreeNX only worked with *nix clients at the time I tried it, and I needed a cross-platform solution.  It could be that I mis-configured it and speed wasn't optimized for my connection somehow, although I'm not sure.

TightVNC and RealVNC worked reasonably well for me in the past.  TightVNC was great on low-speed connections, while RealVNC was great for a slight bit of extra security (b/c it supported longer passwords w/custom block encryption algorithm). However, I had encountered some issues that made me decide to go with X11VNC.  The first was that I had problems when rebooting a remote system, starting the VNC server again on it, and trying to connect to it when no X session was already running (just the gdm login screen).  I was able to fix this with x11vnc and this helpful script.  The second problem that made me switch was that cross-platform and compatibility with many different VNC clients was also important to me.  Most modern internet connections are fast enough to give a reasonably good experience when connecting to a remote system, even over SSH tunneling.  You can experiment with passing some options when starting the x11vnc server to make things snappier if you wish.  Some that I've found are in my script.

To set up X11VNC:

Run sudo apt-get update
Run sudo apt-get install x11vnc
Run x11vnc -storepasswd and input a password to protect your VNC from unauthorized access Note 1
Run x11vnc -usepw to start the server Note 2
Connect to the server with your favorite VNC client Note 3

Note 1: The password is by default stored in a file: ~/.vnc/passwd.  This file is encrypted by a symmetric key and a special block encryption algorithm.  However the key and the algorithm are known, so it is possible to decrypt it (Please only decrypt your own password and don't be evil).  Treat this file as a key to your computer, and protect it with file permissions of 0600 (chmod 0600 ~/.vnc/passwd).

Note 2: You may add additional command line arguments if you wish, but this one is required for password protection

Note 3: Use SSH tunneling for security.  VNC passwords are sent in plaintext over the network.  To do this you'll create a tunnel with ssh -L 5900:localhost:5900 and then connect your VNC client to localhost on port 5900.  If you don't care about security, or trust everyone on your network then connect your VNC client to the host directly.

For example:

Given hostname foo.local => connect to foo.local on port 5900
Given IP 192.168.1.123 => connect to 192.168.1.123 on port 5900