Ubuntu Unity (64-bit) Bugs on Nvidia dual screen

I'm sure all this will eventually be smoothed out and fixed. I run a dual monitor setup and have noticed and been annoyed by the exact same things. Just keep in mind that this is a MAJOR revision to an age old window manager and will take some time to iron out all the kinks. I think the race to market between Gnome 3 and Unity may have pushed both development groups to churn out a product that wasn't maybe 100% ready. 11.10 should address most of these issues if not in a patch sooner.

As for the dysfunctional unity launcher, I have reverted to disabling auto-hide at this point but with 2 large LCD's I have room to spare.

As for the focus issue I think it has something to do with the fact that they integrate the title bar into the top panel when a window is maximized. Be patient, my friend.

Sorry for not having a better solution for you. As a last resort I would just default back to the classic gnome desktop if you can't deal with the above stated issues until they are addressed.


Try this:

Start in text-only mode

Switch on your computer. Wait until the BIOS has finished loading, and press and hold Shift, which will bring up the Grub menu.

Select the line which starts with Advanced options.

Select the line ending with (recovery mode)

Press Return and your machine will begin the boot process.

After a few moments, your PC should display a menu with a number of options, including Drop to root shell prompt. Press Return with this option highlighted.

The PC will start in a terminal.

Run these commands:

Mount partitions in read-write mode

mount -o remount,rw /
mount --all

Update repositories

apt-get update

Install aptitude and deborphan

apt-get install --reinstall aptitude deborphan

Eliminate the components of lxde that are not necessary in xubuntu

aptitude remove '?and(?reverse-depends(lxde),?not(?reverse-depends(?exact-name(xubuntu-desktop))))'
aptitude remove '?and(?reverse-depends(lubuntu),?not(?reverse-depends(?exact-name(xubuntu-desktop))))'

Reinstall xubuntu-desktop

apt-get install --reinstall xubuntu-desktop

Eliminate orphan packages

deborphan
apt-get --purge remove $(deborphan)
deborphan --libdevel
apt-get --purge remove $(deborphan --libdevel)
deborphan --find-config
dpkg --purge $(deborphan --find-config)

Remove unnecessary packages

apt-get autoremove

Remove downloaded packages

apt-get clean

Restart system

reboot


You can use OBS Studio
https://obsproject.com/

Here is youtube video that does what you have asked
https://www.youtube.com/watch?v=d3HL9x0CEtY


Cannot install Ubuntu 16.04 in BIOS mode

I have several observations:

The Compatibility Support Module (CSM; I believe this is what you meant by "CPM") could well be more of a problem than a help to you. See this page of mine for details, but in brief, using the CSM complicates the boot process, leading to a greatly increased risk that you'll accidentally install one OS in one mode and another in the other mode. (The two modes are BIOS/CSM/legacy and EFI/UEFI.) If you had to do it over again I'd say you should disable the CSM and install both Windows and Ubuntu in EFI mode. This is worth considering if you haven't already created lots of user files or spent a lot of time customizing your Windows installation.
There's a good chance that the nomodeset trick you describe would work in BIOS mode as well as in EFI mode. Thus, if you want to proceed with a BIOS-mode install of Ubuntu, I recommend you try that.
If you really want to, you can install Ubuntu in EFI mode, even on an MBR disk. You'll need to manually create an EFI System Partition (ESP), -- a FAT partition with a type code of 0xEF. I'm not sure if this is possible with the Ubuntu installer; you might need to use fdisk to create the partition and mkdosfs to create a FAT filesystem on it. Once Ubuntu is installed in EFI mode, you'll need to either switch OSes using the firmware's built-in boot manager (typically accessed via Esc, Enter, or a function key at boot time); or install my rEFInd boot manager, edit /boot/efi/EFI/refind/refind.conf to uncomment the scanfor line and add hdbios to its options. The rEFInd approach enables rEFInd to boot Windows in BIOS mode and Ubuntu in EFI mode without dealing with the firmware's (likely very awkward) built-in boot manager. All this said, mixing boot modes in this way is awkward and poorly tested, particularly when your disk uses MBR (as it presumably does). It might or might not work properly on your computer.
Another alternative is to convert Windows from booting in BIOS mode to booting in EFI mode, as described on this blog post. You'll then be able to install Ubuntu in EFI mode.
You say your disk already has four partitions -- two for Windows, one for shared storage, and one set aside for Ubuntu. Ubuntu prefers to have two partitions, though -- one for its root (/) filesystem and one for swap space. Also, if you decide to boot Ubuntu in EFI mode, you'll need an ESP. Thus, you may need more partitions. If all the current partitions are primary partitions, this won't be possible without jumping through some extra hoops. Since Ubuntu is not yet installed, you can delete its partition, create an extended partition in its place, and create additional partitions inside the extended partition. If you convert to a full-EFI configuration, converting from MBR (with its 4-primary-partition limit) to GPT (with a limit of 128 partitions by default) will be part of the task, which will simplify further partitioning issues.

Of these options, disabling the CSM and re-installing Windows is likely the best option, at least if this is a new enough Windows installation to make the extra effort of re-installing it modest. If Windows is heavily customized, then your task is trickier. Trying nomodeset in BIOS mode might be the best approach in this case. If that fails, I'd try converting Windows to boot in EFI mode, with the caveat that this can be risky, so you should back up your important Windows files first and be prepared to re-install it should things go wrong.


juju bootstrap gives this error: failed to create dqlite connection

This is a strange error. It looks like output from an internal database (an instance of dqlite).

However, it looks like Juju installed itself correctly. Can you try the following command? If it works okay, then hopefully the situation isn't so bad.

juju deploy ubuntu

You can check to see if this worked by checking the output of juju status. After a minute or so, you should see active on the line with the ubuntu application.

If this doesn't work, try restarting the controller machine. You can do this manually via SSH or via Juju:

juju ssh -m controller 0
sudo reboot now

Once the machine has restarted, the system should reset itself. juju deploy ubuntu should work.


while installing pecl extension in mongodb on ubuntu 16.04 i am getting this error

The pecl mongo extension is no longer maintained and new projects are advised to use the mongodb extension and PHP library.

Open the terminal and type:

sudo apt-get install php-pear php7.0-dev # required in order to use pecl
sudo pecl install mongodb

The latest version of mongodb requires alcaeus/mongo-php-adapter in order to install mongodb packages with composer.


Downgrading gcc and libc6 to fulfill CUDA 8 requirements on Ubuntu 16.10

If I had your specific set of requirements which required aspects of 16.04 as well as aspects of 16.10, I would take the easy way out and either dual boot both 16.04 and 16.10 or run 16.10 in a VM under Virtualbox running on a 16.04 host. I think this alternate approach would result in far more stable operations than attempting to mix packages designed for one with the other. (Granted this sometimes works, but it's not something I'd count on.)

To dual boot, simply tell the 16.04 installer to install alongside your existing 16.10 installation during the install process.

VirtualBox can be installed via the software center. Documentation is available, and if you get stuck There are many of us here eager to help with any specific difficulties


Modify Monitor Color Profiles / Settings

GNOME Color Manager can help with device profiles. Install the gnome-color-manager package and go to System > Preferences > Color Profiles.


Installing Ubuntu 14:04 along site with 8.1 and UEFI. Can't enter secure boot

Enter the Advanced Mode and go to Boot. It should look similar to this:

Here you can disable or enable Fast Boot and other UEFI Booting releated options if needed.

If you installed Ubuntu correctly, there should be an entry called ubuntu. Try to boot that via boot override. If that works, you just need to configure the boot order properly.

If there is no such entry or similar, you probably have to either reinstall Ubuntu, register the bootloader via efibootmgr from a live media or install a default UEFI bootloader like gummiboot.

I currently have one UEFI machine with an Asus motherboard at home (I had 2 a few months back). So it's possible, but I just can't reboot it now to make screenshots of my settings. Anyway hope this helps you. Getting Ubuntu to boot with UEFI isn't difficult.


For this kind of problem, you can use archive.org to find archived websites, that no longer work. I found what you are looking for here: https://web.archive.org/web/20140402203937/https://forge.betavine.net/frs/?group_id=12


How can I open a interactive PDF (created with Mingmanager software) in Ubuntu?

I downloaded and tried one of the files and it works, but it is a bit tricky.
First you need adobe reader 9.4.1 (not a newer one because I read that adobe does not launch newer versions for linux with flash capabilities). The link is this one: ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.4.1/enu/

There are still some differences. The plus sign is not working, but if you highlight any of the boxes and click right on the mouse, a menu appears where you can select to collapse topic, show 1 level, 2 levels and all levels. For highlighting correctly (in blue) the boxes I actually must click above the mouse.


In trying to repair grub, I get an "Uncompression Error System Halted" notice

Boot-Repair is a great easy to use tool that also has a live disc so you can boot from it and repair boot related issues, it can be found at the link below.

Boot-Repair Live Disc

Resources

Boot-Repair - Ubuntu docs


ATI Driver from AMD Website keeps crashing?

yes, the proprietary drivers are very bad. Actually, they've been responsible for 100% of freezes I've experienced on Ubuntu for the last two years since I got my Radeon HD5850. But luckily, the open drivers are now very good. They are much faster than the proprietary drivers, very much more stable and they seem to provide a similar set of features. Since they're open, you also don't need to update them manually anymore.

In 11.04, I have had a few minor draw issues with it in Unity, but except for that, it's been very good and stable. In 11.10, which goes into Beta 1 tomorrow, I haven't had a single issue. I've been told that AMD now has people working full time on the open driver. I haven't been able to verify that, but the rapid progress they've suddenly made, makes that seem probable. It's a very good thing if it's true, because they make really good hardware, and it's been very annoying that they've had so poor drivers. The bonus for us users of Ubuntu, is that it makes new releases of Ubuntu feel extra fast and good :)

By the kernel, you seem to be running 11.04 and I would strongly recommend that you try using xserver-xorg-video-radeon instead of the proprietary drivers. The issues I've had are very small. Some white dots on the dash is all. This is based on my experiences with the Radeon HD5850, of course, but I've been told that other cards in the 5-series, as well as newer cards also work very well. I'd appreciate it if you leave a comment with your experiences. I'll also add the 11.04 tag to your question to make it easier for others to find your question.

Update: no doubt, Unity will provoke more driver problems than Ubuntu Classic, since it makes much heavier use on Compiz. I personally could never get the proprietary drivers to work well with Unity. The open drivers also caused some issues, but they were minor compared to the ones caused by the proprietary drivers. I've never had crashes like you've had though. I've had to re-run compiz in order to fix minor issues, but nothing worse than that. But we don't have exactly the same hardware, so... What I can say, is that it's improving and that in Oneiric, I have no issues at all. So, all in all, it seems to me that AMD is making large improvements in this area.


Auto mount SD card (say 128GB) after suspend and then resume

Placed this script in /etc/pm/sleep.d/ and everything works fine! No need to use visudo

#!/bin/bash

case "$1" in
  ;;
  resume)
    sleep 1
    su xyz -c "udisksctl mount -b /dev/mmcblk0p1"

  ;;
  *)

  ;;
esac


How can I change Firefox switching tabs shortcuts?

There is a nice add-on you can try called KeyConfig available from here.  Unfortunately the author hasn't added this to the official Mozilla Addons.

If you still want to try this "untrusted" add-on, click on the keyconfig.xpi and install it.  Then go to your firefox addons to display various keybindings offered by the addon

Click on the box shown by the arrow and choose your key combination - CTRL + 1.

This will change the value in the box to CTRL+1.  Click the Apply button

Repeat for the rest of the "key_selectTab" values.


How do I set up my network configuration for static IP address in VirtualBox?

A bridged network functions like a physical ethernet port. This is really useful if you're on a local network or if you've got multiple static IP addresses.

If you only have a single static IP address and it's already assigned to your computer, you won't be able to use bridged networking since there's no IP address to assign to it.

You'll have to use NAT in order to connect.

If you've got multiple IP addresses, bridged networking should work after you manually assign the address and proper network settings. The method should be the same as you did with your main computer. If your main computer was auto-assigned an IP address, it's probably a sign that you don't have multiple static addresses, as they probably would have been assigned by DHCP like your main computer.


Might not still be relevent, but I just made a new PC build with a Ryzen 7 3700x 8-core processor and was having random lockups/freezing normally after between 5-30 minutes on Ubuntu 19.10 too.

After trying loads of workarounds, I just tried out of curiosity Ubuntu 20.04 (as it came out a day later), and I've now been working on it for the last 2 hours with no problems.

Maybe some of the kernal/zenstate updates in 20.04 has solved the problems.


The folder contains a few interesting things, in particular there is /var/lib/apt/keyrings/ directory for any repositories that you've added to the system via apt-add-repository ( and then there's also /etc/apt/trusted.gpg and /etc/apt/trusted.gpg.d/) and cdroms.list  which should reference the installation media as source of packages. Removed /var/lib/apt/keyrings/ubuntu-archive-keyring.gpg may be reinstalled with sudo apt-get install --reinstall ubuntu-keyring.

There's also /var/lib/apt/lists, which contains lock files for when apt is running update or upgrade, and lists of packages in remote repositories. Items in that directory sometimes are cleared or deleted as in this post for example. It should regenerate once you run apt-get update.

In short, I wouldn't worry about this much. Just run sudo apt-get update and it should be back, however if you have added repositories via apt-add-repository which may have required a GPG key, then you may want to add that key again or temporarily remove that repository from /etc/apt/sources.list.d.

Although it's not a huge issue in this case, as Lightness mentioned in the comments, the core of the issue is the accidental use of rm -rf. A user should realize full responsibility when they wield commands which can do damage to their system. There's countless examples on AskUbuntu and other StackExchange sites where users delete or change ownership of the core system components. From the point of view of new users it can be understandable that new users are not familiar with how much damage can be done, although that does not free the new user of the responsibility. There's no point in condemning either the command or the user, but the right way should be developing habits of verifying your own steps in command-line or elsewhere. This does not just apply to Ubuntu but computing in general, and comes with experience and often through actually making the mistakes and breaking your system only to repair it and break again. One has to be at peace with the fact that you are in control of the system and with the responsibility that comes from mistakes, and that often you'll learn a thing or two from breaking and fixing things.


There is no dialog box to input password for users other the main user

I appeared that the account had slow keys active by default so that when I entered the password using onboard, everything worked.
The guest account worked when pressed an extra Enter key.


The correct way of doing what you are trying to achieve:

git status --porcelain | sed s/^...//

From git help status:

  --porcelain[=]
  Give the output in an easy-to-parse format for scripts. This is similar to the short output.

And here is what you want to use with your commands:

Using sed:

... | sed -r '/(^"git|^branch|^not|^$)/d'

Using grep:

... | grep -Ev '^branch|^not|^"git|^$'

Which returns file names from your git and awk command.


Can't execute this read statements correctly?

You should give it three values separated by spaces:

echo 1 2 3 | read a b c; echo $a; echo $b; echo $c
1
2
3


How to disable lockscreen in kubuntu 15.10?

KDE System Settings > Desktop Behavior > Screen Locking.
Take the tick off from the 'Lock screen on resume'


How to download a certain version of a package?

Graphical method:

Using Synaptic, select the package you want to install, then select Package → Force version from the menu; the shortcut binding "Ctrl+E" will also work. In the newly opened window, choose the version you wish to install and apply the changes from the main window.

If the version you wish to install does not appear in the list, update the package database and try again. If you are installing a version from a PPA, make sure the package index successfully updates the index for the PPA.

Command-line method:

The command you used seemed to have correct syntax. However, it is most likely that the version you type is either incorrect or incomplete. You might be missing a revision number: for example, for a version x.y.z-r, the r would be the revision number, preceded by a dash. Sometimes this revision number has the name "ubuntu" in the middle, depending on the package you install. In this case, the version you want to install might be called "1.23-1" or "1.23-1ubuntu0" or something around that, although the version would be commonly referred to as 1.23.

To find the correct version number, you can use aptitude versions package-name in a terminal. It will print out all available versions for the package, mention its status (eg. i for installed, p for available in the repositories). Then you can look for the version you are looking for and use it in your command instead of 1.23.


I see that /efi/boot/bootx64.efi is present. Some EFI systems will ignore OS boot options if the device boot path is present.

If the systems firmware allows OS boot selection, rename /efi/boot to test booting via OS.

If the firmware only allows Device boot selection, then /efi/boot/bootx64.efi needs to be replaced with /efi/ubuntu/shimx64.efi. Relocate the original file in case you want to restore it later. Then copy shimx64.efi to the /efi/boot/ directory and rename it bootx64.efi.


Was my SSH server compromised? If so, how, and what steps should I take?

Can we say with certainty that an IP from china somehow SSH'd into my machine? Even though it only accepted RSA key authorization?

It is unlikely they were authenticated, unless they managed to obtain a valid key.  Try connecting from a host you control without a key and check the running processes.  They should be similar to what you saw.  The fact the [net] process is running as sshd indicates that they have not succeeded in logging in.

  Can we say with certainty that he/she got root too? In my ssh-config, I had the default PermitRootLogin without-password. I originally thought this meant that root login wasn't permitted (I know the two sound contradictory, but I had googled it and that was the result I got)

The option you used permits logins to root, but disables password authentication for root.  It is good practice not to allow any root logins via SSH unless you really need them.  If you do restrict access as tightly as you can.  Unless you have enabled a key, it is unlikely you can login to root using SSH.  The without-password disables password based logins, but does not disable the password authentication method.

  If so, how?

You can check the auth log to see if any authentications succeeded.  However, if they did succeed they may have overwritten the evidence.

  Is there any way I can see what damage has been done so far?

Running a rootkit checker and verifying file signatures offline should indicate if any files were compromised.  Taking file signatures and storing them offline while you are secure will give you a baseline.

  How can I safeguard against this in the future? I still need to have ssh running eventually to complete my group project.

sshd supports use of tcpwrappers to restrict access.  Build a rule set that only allows access from address ranges that you expect traffic from.


Wine Configuration dialog box way too small for Wine version 1.8.3

This is usually the problem if your laptop has a high resolution display . Once you open Wine Configuration dialog box just navigate to the Graphics tab at the top and increase the slide bar which says screen resolution.
close and reopen the application. This hopefully solves your problem.


How to build Kernel version 4.0.4 using Git?

There is no Ubuntu kernel 4.0.4 yet. You can get mainline kernel deb packages from Ubuntu kernel ppa or build a mainline kernel from kernel.org.

Mainline stable kernel source can be cloned from

git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

The branch version you need can be cloned by

git clone --branch linux-4.0.y --single-branch git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

You will get 4.0.4.

But you need to take in account, that it is not debianized. And that patch won't apply right away.

And also the build guide you found won't be helpful either.


Ran install from ISO to disk(Trial)Ubuntu 14.04, the disk installed beside windows10 but now have 2 screens to load...

OK, so now your problem seems to be that there is no boot menu entry.

Use EasyBCD to set this up.  This answer has a more detailed description.

This will let you select wether to boot into Windows or Ubuntu from the windows boot menu.

If you don't like booting to GRUB after you select Ubuntu, you can configure GRUB to have a 0 second delay, so that you don't see it.  It will remain hidden.


VeraCrypt installation error (Kubuntu 18.04) : Permission Denied

I use veracrypt without trouble. Let's check the obvious first.

I wonder if sudo is not powerful enough here. Can you "su" to actually be root to try it? If you don't have root password set, I think "sudo -s" will launch a true root session. Problem may be that the Vera I installer wants to launch more shells.

As always, don't run things as root if you don't know for sure what your getting. But I have used Vera for a long time.


This is one way of doing this, which again, I warned about the lack of life on the SD card in the comments, you are warned again.

Install steam to your hard-drive. Yes I know you only have 3.2GB left, it won't stay on the drive, but get it on there initially. It should only take 1-2 GB of space.

Move the steam directory, located at ~/.local/share/Steam, onto the drive. You can do this either in the terminal, mv ~/.local/share/Steam /media/USER/FLASHDRIVE/, or through a file manager. You will have to maybe do CTRL + H to show the hidden .local folder.

Make the symbolic link through a terminal by running ln -s /media/USER/FLASHDRIVE/.steam ~/.local/share/Steam. This creates a link TO /media/USER/FLASHDRIVE/.steam named/located at ~/.local/share/Steam. The paths will need to be correct, Tab completion is your friend.

Test run steam and install some games, you should start seeing the size of the drive go down when adding games, and your system will probably be at 3 gigs by the end of this (for a few application files in root for steam to run properly).

Note that this will only work if the drive is mounted to the same place every time it is connected. Also, don't attempt to start steam without the flashdrive in...I'm not sure what that would do.

An alternate way of doing this would be to install steam on your computer like normal, but setup, download, and play games from a different directory (your microsd drive). Steam itself isn't that large, and wouldn't take up more than a gig (I think). Just, when you install/download games, change the desination directory to the drive.


From the man page: "numlockx  is  a  program  to control the NumLock key inside X11 session scripts."  It's a very simple tool.  You invoke it from the commandline or a script

$ numlockx on

will enable numlock and

$ numlockx off

will disable it.

I use it with xfce myself as an autostarted application.  Once you have installed the package, go to "Settings->Session and Startup" from the xfce menu.  Click on the "Application Autostart" tab, and then on the Add button.  Enter whatever you like in the Name and Description boxes and in the Command box, enter "numlockx on" (without the quotes).  Click OK and Close, and the next time you login, you'll have your numlock on.


Ad hoc 'Logmein Rescue' style remote desktopping?

I've had good luck with "TeamViewer" (http://www.teamviewer.com/).  It works on Mac, Linux, and Windows, and will let you friend IM, or send you via any other method, a login code to control his computer.


17.10 64 bit on HP 250 G4 problem of "Unknown Display" resolution 1024 x 768

Unfortunately, no-one answered in 3 days after I post it. I believe there are many question posters and too few answerers. But I have solved my problem and now I want to share the solution.

First, you cannot get rid of "Unknown Display" easily, it's a lot of complex work to do with a newly created 10-monitor.conf ( in /usr/share/X11/xorg.conf.d ), but -- here is the good news -- you can make it work with whichever resolution you like.

Ubuntu 17.10 64bit comes with WAYLAND -- device XWAYLAND0. With WAYLAND you cannot change resolution dynamically to 1920 x 1080 or whatever you like.

XRandR cannot change it if it's WAYLAND. So first you need to disable it by :

nano /etc/gdm3/custom.conf

find and uncomment "WaylandEnable=false"

Then save and exist and reboot your Ubuntu.  This will disable Wayland and enable you to change the resolution by XRandR.

You need to see your Graphic Output Device's name by

xrandr -q

Then you need to get your ModeLine -- it may change from computer to computer. So you can get it by:

cvt 1920 1080

It may be something like :

Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

Then add the lines to add 1920 x 1080 resolution to your profile by:

nano ~/.profile

and adding 2 lines at the end of the file :

Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

Then save and exit. The last line will be added to the X startup.

nano /etc/X11/Xsession

and add this line to the very end before "exit 0"

xrandr --output DP-2 --mode "1920x1080_60.00"

( remember to change "DP-2" with your own Device-name ! )

Then save and exit. And reboot the computer.

Then the resolution is automatically 1920 x 1080 pixels.

There might be slight changes in time with the version-changes in Ubuntu. You'll discover the ways to do it with some web-research.

Good luck.


Auto compile service on for Ubuntu packages?

Yes, this is provided by Launchpad, called Personal Package Archives. This lets you built packages for any supported Ubuntu release, and for multiple architectures.


This laptop has no hardware wifi switch. Kernel module ideapad-laptop does not treat it right. That is why wireless is always blocked by rfkill. This has been reported upstream. For current users this can be fixed by installung a patched module from ppa.

sudo add-apt-repository ppa:hanipouspilot/ideapad-laptop
sudo apt-get update
sudo apt-get install ideapad-laptop

Note for 14.04 users:

The module is built for Ubuntu 14.04.2 with 3.16 kernel. I did not test it with earlier kernels.


Get location of "true" GVFS path from Nautilus

I cannot find an easy way of getting nautilus to tell you this. However, there are other ways of finding out.

In Ubuntu 12.10, the "actual path" is under /run/user/USERNAME/gvfs. In 12.04, I think it was under /home/USERNAME/.gvfs (invisible unless you check View->Show Hidden Files in nautilus). The folder names inside these directories look something like smb-share:server=servername.local,share=volume_1.


First, validate your command works properly from command line:

/usr/bin/env php /path/to/script.php arguments

Second, validate your cron is running:

ps auxw | grep cron

There should be line like (highlights with ^ mine)

root      1537  0.0  0.0  19112   336 ?        Ss    2012   1:03 cron
^^^^                                                             ^^^^

If cron is running properly, check other cron messages from syslog:

sudo zgrep CRON /var/log/syslog*

By default, various tasks run as root, configured in /etc/cron.daily, /etc/cron.weekly etc. folders. If there's no output, your cron is not running properly. Try restarting it with

sudo /etc/init.d/cron restart

And check contents of /var/log/syslog for error messages, and proceed to step 1 again

If cron is running properly, proceed to check mailbox of the user that has that command on their crontab. Replace USERNAME.

sudo -u USERNAME mail

or
    sudo -u USERNAME less /var/mail/USERNAME

If executing cron command fails, it should send email to there.

You should use /usr/bin/env php /path/to/script.php as your command, instead of just php. /usr/bin/env automatically selects proper php binary.

For arguments, no, you have to read arguments separately. That's off-topic for this site, but take a look at this manual page. You can read those arguments from $argv. It does not work in same way as with scripts called through web server.


Does Ubuntu One sync only the changed parts of a file?

Ubuntu One doesn't sync changes, but uploads whole file instead, no matter how small the change is. It's because of Amazon S3 protocol on which Ubuntu One is built on.


It is probably fast startup not letting you read your Windows partition.

Suggested fix: Boot into Windows (this is easiest to achieve with a boot disk such as Super Grub2 Disk) and choose Restart. This does a clean reboot, putting your Windows partition in a safe state, regardless of the fast startup option. Then run update-grub. If this does not fix the issue, browse the help sections of supergrubdisk.org.


Ctrl-l, Ctrl-a, Ctrl-e do not work any more

You've probably ended up in 'vi' mode.

Type set -o emacs at your shell prompt and those Ctrl keys should work again. Put it in your ~/.bashrc to make it permanent.


What are the differences between linux-generic, linux-server and linux-virtual kernel packages?

Since 12.04, there is no difference between the Desktop linux-generic and Server linux-server kernels; they have been merged. (Source; see here for why this was done.)

The virtual kernel differs only in the number of included drivers. It only includes "the necessary drivers to run inside popular virtualization technologies such as KVM, Xen, and VMWare. ... Other than that, all other options are identical between the generic and the virtual kernels."

In practice, this means the -virtual kernel image is smaller, and may also take up somewhat less room in memory (fewer built-in modules/drivers). The savings are probably in the single-digit megabyte range, so it won't make a difference for most VMs.

Server and Desktop kernel differences before 12.04:

Before 12.04, the differences were:

The Server Edition uses the Deadline I/O scheduler instead of the CFQ scheduler used by the Desktop Edition.
Preemption is turned off in the Server Edition.
The timer interrupt is 100 Hz in the Server Edition and 250 Hz in the Desktop Edition.


mynetworks parameter in main.cf file of postfix server help

You misunderstand mynetworks. Those are "MY NETWORKS". That means that MY SAFE NETWORKS are these so go ahead and relay mail from these IP without authentication. Note the word "FROM".
You want "TO".
smtpd_recipient_restrictions =

But after reading your message several times, it's clear you don't have  a good grasp of email servers. So get some reading done.


Ubuntu 18.04: Okular's icon persists in the Show Applications menu after removing it

I'm going to assume you installed okular from Ubuntu Software. In that case the 1st listed is a snap version & likely what you installed.

All kde snaps suffer from the same uninstall flaw where the .desktop file is not removed. You will have to do so manually as root. The location of snap's  .desktop files is,

/var/lib/snapd/desktop/applications

The probable name of the file is okular_org.kde.okular.desktop

You can browse there to confirm it's existence, to get the file name one easy way is to DnD the file into a terminal.

So here the command to remove is

sudo rm /var/lib/snapd/desktop/applications/okular_org.kde.okular.desktop

This highlights one of the issues with snaps, many times one has to go far out of there way to report a bug. In this case, see https://forum.snapcraft.io/t/kde-snaps-flaw/8977. You'd think the KDE snap dev's would have noticed this as it's been happening for quite some time now..


Very poor sound quality on HSP/HFP profile, BT Sony headset

I have this problem for 6 months, when I bought my Sennheisers.
It seems the headset profile (HSP/HFP) defines at least 2 codecs, with 8KHz and 16KHz rates. Windows and Android can use 16KHz, whereas linux only uses 8KHz (and I assume a different compression, since lows are also terrible).
Searching on Google, all "low quality" questions seem to be related to listening (i.e.: solved by A2DP switch), not for conferences.

In all those months, I only found a bug report that says ChromeOS works better (and being unable to port those patches to linux distros).

PS: please avoid setting this as an answer. I would prefer one that actually points to 16KHz solution.


cpu rendering graphics instead of ati hd 5470

My laptop (hd 5470, i5 m480) had the same heating problem. The installation of the proprietary ati driver failed and the open source radeon driver has poor powermanagement.

I know you asked the completely opposite but disabling the hd 5470 really helped with the heat.

To do this first look if you can disable this grapics card in your bios. If there isn't such an option you can do this:

If you have the proprietary driver installed remove them and use the open source driver. Then open a terminal and type

gksu gedit /etc/rc.local

and insert the following line before exit 0

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

Then reboot your system.

The second solution has (at least on my laptop) the disadvantage that suspend isn't working anymore.

Hope this helps:)


I can't connect WIFI with broadcom on ACER V5-122P

You should update your kernel.. I have this same ultrabook and every distribution based on Ubuntu 14.10 and other  previous versions fails to work properly with Wi-Fi, Bluetooth and graphics.
On the other hand, since the update to 15.04, the new available kernel is 3.19..... This one includes all the hotkeys of the V5-122p, and works perfectly with all of the hardware.

You shouldn't really update kernel unless something is really wrong. Sadly this is the case... Follow this page to update your kernel:

http://www.linuxandubuntu.com/home/linux-kernel-3-19-3-released-install-update-in-ubuntu-linux-mint-other-debian-based-distros

Hope it helps!


I have a NAS that I'm using to act as a central media storage device for my entire house - what I've personally done is take a spare 1TB HDD, make one giant ext4 partition, blanket the drive with permissions of 755, and use samba shares to serve the media to the three Windows machines on my network, as well as my laptop, which is Ubuntu 13.10.

I've used samba across a couple different machines/filesystems, and while I've not tried an XFS personally, I see no issue using it.

TL;DR: Should not matter what kind of partition/filesystem you use, if you're using a tool like Samba to share the files.


Not sure if you found your answer yet but I have ubuntu running dual booted with Win 8.1 (yuck).  Yes you do need a kernel patch but it's simple to apply.  Until then you need a USB keyboard when running Linux.   Another thing you'll have to do is resize your main windows partition BEFORE trying to install Linux.  Make sure you leave about 20gb free for Windows.  You'll need it if you ever try to upgrade to windows 10.

Linux works with UEFI but the only way to turn off Secure boot and leave UEFI enabled is if you set a BIOS password.  Don't forget it as you need to send the system to acer to remove it.  There's other ways in bit you can't clear the password yourself.  I've tried.  Lol

I don't have the link for the kernel patch handy but the link to it is in the discussion section of the article you read.  It was on Lilliputing I believe.   It's down a bit.

Hope this helps


Ubuntu 21.04 has no frequent/all tabs in "Show Applications"

The "Frequent" tab does not anymore exist in the most recent Gnome versions (3.38 and up). What also changed is that the placement of the icons in the Application Overview now is fully controlled by the user, i.e., there is no automatic ordering anymore. The user can now decide to place most frequently used applications on top.
Check carefully: all your applications will be there. Some of these may be included in a group. For instance, "Terminal" and "System Monitor" are grouped under "Utilities".


/bin/bash: g++: command not found error 127

You need the g++ compiler, not gcc, so install the g++ package, and maybe build-essential for any needed headers:

sudo apt-get install g++

And if necessary (probably not for this package):

sudo apt-get install build-essential

You should read the README file(s), then the INSTALL file and follow the instructions.  They usually boil down to running configure:

./configure

Then running make:

make

Then, if you want to install the programs in a system area, run:

sudo make install

The configure step should search out the necessary parts (g++) and complain and stop if necessary parts are not found.  It builds the Makefile from the information about your system.

I had no issues with the downloaded package, but then again, I do have the build-essential package installed for what I do. g++ gets installed into /usr/bin, which should be a normal part of your PATH.


My guess would be that your file has been manually edited, or wrongly copy-pasted, and the keyword deb which should be at the beginning of the line is missing its first letter.

Try editing the file and replacing eb with deb, on the first word of the first line.


efibootmgr output is not clear (incomplete)

First, File a bug report. Be sure to include detailed information about your computer, including firmware information (obtainable on the first few lines of dmesg output, in most cases) and the exact brand and model of your computer.

Second, until the bug is fixed, you may need to use something else. Unfortunately, AFAIK efibootmgr is it for Linux, but you can use something like bcfg in an EFI shell. (See here for some basic information on bcfg.)


I'm looking for a terminal editor with Ctrl-Backspace/C functionality

Vi/Vim has somehow a hard learning curve, but it does what you ask for and pretty much more by default, also its present on near any *nix system.

It as different modes, mainly Normal and Insert. While in Normal mode you can issue cw to change from cursor to the end of the word or cb to make the same from cursor to beginning of the current word.

If you dislike usual vim commands, you can bind your own key combos, check this link for something similar to your requirements.

Hope it helps.


I need a "click" sound program on my keyboard to type more easily

You can download it from link in the official installation instructions and then run command if you download the 64 version on terminal after you go to the folder that contain the package you download:

sudo dpkg -i tickeys_0.2.5_amd64.deb


How to add the Ubuntu One indicator in Lubuntu 13.04

If there is support in LXDE for using the indicators system of Ubuntu, you can simply install the indicator-sync package, and then log out and back in.

If not, you can add something to the start-up applications list to run ubuntuone-control-panel-qt --minimized --with-icon on log-in, which will put an icon in the system tray. This will require having the control panel application running at all times however, as well as the background sync process.

These are the steps that should be followed: Menu > Preferences > Default applications for LXSession > Autostart > Enter: ubuntuone-control-panel-qt --minimized --with-icon in the rectangle > press "+ Add". Restart your computer and you will see Ubuntu One indicator.


Non Bootable system -> Ubuntu is installed fine but it doesn't boot!?

I fixed it. It turned out to be the lack of a /boot partiton.
i have RAID set up as such:
100MB /boot
2GB swap
and the rest of the drives are / (for root).
It now runs perfectly!


How can I check if my CPU is working properly?

I suggest trying stress-ng with the cpu stressor and verify mode enabled:

sudo apt-get install stress-ng
stress-ng --cpu 0 --verify --verbose --timeout 5m

The above with run the CPU stress test with verification enabled on all CPUs for 5 minutes. If there is something broken, the verify mode may just detected it.

The CPU stressor will exercise the following CPU stress test methods: ackermann bitops callfunc cdouble cfloat clongdouble correlate crc16 decimal32 decimal64 decimal128 dither djb2a double euler explog fft factorial fibonacci float fnv1a gamma gcd gray hamming hanoi hyperbolic idct int128 int64 int32 int16 int8 int128float int128double int128longdouble int128decimal32 int128decimal64 int128decimal128 int64float int64double int64longdouble int32float int32double int32longdouble jenkin jmp ln2 longdouble loop matrixprod nsqrt omega parity phi pi pjw prime psi queens rand rand48 rgb sdbm sieve stats sqrt trig union zeta.

Consult the stress-ng manual using man stress-ng for the full details of these cpu stressors.


Where can I find Ubuntu images with different packages pre-installed?

As far as I know Cloudera Distribution for Hadoop 4 (CDH4) uses Ubuntu. CDH4 comes with Hadoop products pre-installed and configured for development. Some of the installed products are:

Hadoop (HDFS and YARN/MapReduce)
HBase
Oozie
Pig & Hive

You can get the VM and the instructions on how to use it from here

There is also a Qucikstart VM for CDH 5.4.x but that runs on CentOS

See the following links for more info:

https://www.udacity.com/course/viewer#!/c-ud617/l-308873795/m-313523874


Run local script in other machine using ssh

There is such a solution: ssh user@host 'bash -s' < local_script.sh. Other examples can be found on this page.


Try GSConnect on your Ubuntu box here, and KDE Connect on your phone here.

GSConnect is a complete implementation of KDE Connect especially for GNOME Shell with Nautilus, Chrome and Firefox integration. It does not rely on the KDE Connect desktop application and will not work with it installed.

KDE Connect allows devices to securely share content like notifications or files and other features like SMS messaging and remote control. The KDE Connect team has applications for Linux, BSD, Android, Sailfish and Windows.

KDE Connect Indicator can support Gtk desktops other than GNOME Shell.

Installation Docs are here


Won't boot after installing Ubuntu 12.04 sucessfully

I had the same problem. Below are the steps I used to solve it:

I changed BIOS setting to default.
Format "Linux Partition" and "Swap" using the Ubuntu live CD.
I changed the boot device to "Linux Partition"
Rebooted the machine, and removed the CD.
I ran the update to 12.04

Hope you can do the same.


This problem was resolved by installing nemo as suggested by @Fabby in a comment here.

I installed with:

sudo apt-get install nemo
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libnemo-extension1 nemo-data nemo-fileroller
The following NEW packages will be installed:
  libnemo-extension1 nemo nemo-data nemo-fileroller
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,075 kB of archives.
After this operation, 6,116 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

Further research  indicates that I was affected by this bug. IF you are also affected please subscribe to the bug so that the developers can get a sense of it's impact and budget their time accordingly.


Pinta is a raster editing program, and not a vector program, so you can't save to SVG with it.

I don't know what underlying libraries it uses, but if it doesn't support saving to XPM, perhaps you should file a bug report against it upstream, stating that XPM is not supported.


A shortcut still present in Firefox 64 is to press Control+Shift+Delete at the same time to bring up the Clear Recent History window.

Alternatively, open Preferences > Privacy & Security > History.

Carefully select what you want to clear by ticking or unticking the relevant boxes. Then, click on the dropdown next to Time range to clear and choose Everything:


You have two options.

First, add the DNS entry to the VPN connection. When you setup the connection (sorry but there are about 100 ways to do this) look for a place to put DNS entries, name servers, or the like, and enter the IP of the DNS server for the company.test domain. If all else fails you can add the IP for the DNS server to /etc/resolv.conf (after the DNS connection is running).

Or, if your just trying to find a single machine at say puter.company.test then you can just add that line to /etc/hosts

it should look something like

10.10.10.10 puter.company.test


Ubuntu 13.10 won't restart unless Windows 8.1 is first started and then shutdown

Disable Fast Startup option in Windows as indicated here, and also possibly any QuickBoot option in your BIOS.


First of all, about java.util.LinkedList source: you can view it here or here, for example.

Then, aren't you looking for openjdk-7-source or sun-java6-source packages?

If not (may you prefer a Mercurial checkout or a tarball way or just want the most up-to-date sources), maybe this is what are you looking for?:


You can add your set-source-volume and set-sink-volume commands directly to the pulse audio startup script located at /etc/pulse/default.pa. Add your commands to the end of that file.

(Or if you are using pulse in system-wide mode then use the /etc/pulse/system.pa file, but this is not the default.)


Bookmarks do not show up in context menu of the Nautilus launcher (Unity, X11, Ubuntu 17.10)

Since this situation persists with Ubuntu 18.04, and it seems that there won't be an official solution to it, here is a workaround:

1. Hit SUPER button and type in nautilus
 2. Drag the listed icon named "Files" to your desktop.
    Open that "org.gnome.Nautilus.desktop" file in an editor and add the
entries you would like to be shown in the context-menu:

There are 2 relevant additions to make for each new entry:

a) Add your entry to the line Actions followed by a ";"

  "Actions=new-window;ADDYOURENTRYHERE;"

b) Copy the following 3 lines for every entry you add at the end of the file, and modify them:

  [Desktop Action ADDYOURENTRYHERE]Name=ADDYOURENTRYHERE Exec=nautilus /home/path/to/your/desired/folder

3. And finally but important, save the "org.gnome.Nautilus.desktop"
    launcher in a different location then the original, for example
    /home/launchers/, because then, even if NAUTILUS is opened with this
    launcher, you won't have doubled entries in the context menu.

4. Now drag and drop the launcher file, out of the location where you
    saved it, to the UNITY launcher.

p.s.
obviously the downside is that this attempt is static, so you have to add and delete folders listed manually.
But it helps me, so i hope it may help someone else too (-:


Touchpad working intermitently on Kubuntu 17.04

When you boot up next time and it does not work try to open and copy /var/log/Xorg.0.log file to another location.

In that file search for SynPS/2 by pressing Ctrl + F. If something shows up post that "area" containing information here.

good luck!


System drive won't let anyone to copy/paste anything in it without permission. If you tried to move using terminal than before use any command enter as root user

sudo su

It tell you to enter your password. Type it and press enter than use move command.


Bash only gives integer as output regardless of input when performing calculations

The bash shell natively only supports integer arithmetic. In particular, since 5 is less than 9, (5/9) will evaluate to zero regardless of the other terms in your product.

Depending on your requirements, you might be able to do what you want (still using integer arithmetic) by changing the order of operations i.e. whereas

$ bash -c 'echo $(( ($1-32)*(5/9) ))' bash 35
0

if you allow * and / to have their natural precedence

$ bash -c 'echo $(( ($1-32)*5/9 ))' bash 35
1

because (35-32)*5 is 15, which when integer-divided by 9 yields 1. If you actually want floating point arithmetic then you can use an external program such as bc or awk e.g.

$ bash -c 'echo "scale = 2; ($1-32)*(5/9)" | bc' bash 35
1.65

or switch to a shell that supports floating point arithmetic, such as ksh:

$ ksh -c 'echo $(( ($1-32)*5/9 ))' ksh 35.0
1.66666666666666667

(note the use of argument 35.0 to force floating point promotion).


Duplicate entries in update-alternatives

You have 4 alternatives declared for editor, corresponding to the lines numbered 1 to 4. The line numbered 0 always lists the alternative with the highest priority, which is the one that update-alternatives --auto would set.

If you select 0 at this menu, this puts the alternative into automatic mode, so if a higher-priority alternative appears, it will become selected instead. If you select 4, then /usr/local/bin/vim will remain selected no matter what else you install.

The entry for /usr/local/bin/vim must have been declared manually, since no Ubuntu package includes anything under /usr/local. If you want to remove it from the selection, run sudo update-alternatives --remove editor /usr/local/bin/vim; the group will be switch back to automatic mode (so /bin/nano will become choice 0 and selected).


How to get the stabilization function working in Kdenlive?

This is a bug in Kdenlive 15.12.3. However, there is a newer version of Kdenlive out: version 16.04.1. This is the latest version of Kdenlive and the developers of the application have patched this bug in this version.

This should solve your problem. Good luck!


How do I burn multiple Ubuntu isos on one DVD?

I don't know if it can be done from within Ubuntu ( that I know of), but you can use MagicISO.  The only problem it is Windows based.  If you have access to a windows machine, it, you can take a look at it.

  MagicISO has ability to create Multi-Bootable CD/DVD image file so
  that the user can incorporate multiple installation CD into one
  CD/DVD, and install multiple Operation System from one CD/DVD.1

1Source: MagicISO


How to manage package from previous Ubuntu versions

The packages have a "raring" reference for different reasons. Most of them appear to be installed from PPA's such as this. These must be manually handled when Ubuntu is updated.

Looking at your software sources, you should see the relevant PPA sources. You will have to manually update them to your current version, or you could use a tool like this. The PPA may not have packages available for your current version though, which is something that the tool will check.

The wallpapers package is just left over from when Raring was installed. The ubuntu-wallpapers package will automatically install the current one,  ubuntu-wallpapers-trusty. You can remove the Raring version if you don't want it.


I am having trouble installing Retroarch?

All the commands mentioned should be run as root, you can do this by prefixing the commands with sudo - so you need to run these instead:

sudo add-apt-repository ppa:libretro/stable
sudo apt-get update
sudo apt-get install retroarch libretro*

Sort of simple explaination of sudo here, more complicated one here
Please comment if you feel you have better examples.


Installing Windows 7 after installing Ubuntu 12.10?

I had to reinstall Windows 7 recently, and your situation is similar, so here's an overview: shrink and partition or reformat one of your current non-Ubuntu partitions, install Windows 7, then recover Grub2.

Create a live USB of Ubuntu using Universal USB installer. Alter your boot order from BIOS and boot into the live USB.

Open up GParted (or install it with sudo apt-get install gparted from terminal). Create an NTFS partition either by resizing/formatting an existing partition, or shrinking your current Ubuntu partition (not preferred).

Now, remove your live USB, insert Windows 7 install disc and reboot into Windows 7 installer. Follow through the installation procedure, making sure to select the NTFS partition you just created above as the Windows install location.

Once the Windows install is done, you will find that Ubuntu is not accessible. Again, reboot into the Ubuntu live USB/disk and follow these steps to recover your Grub2 boot menu.

Reboot and you will find Grub2 back in all its glory, with both Windows 7 and Ubuntu as options. You can use Grub Customizer to tweak the order of the boot menu entries.

If you have any issues, try searching here on Askubuntu or any search engine, and if you don't find satisfactory answers, leave a comment below!


How to apply calibration parameters to an Elo Serial TouchScreen?

I received from the supplier an installation package which didn't work but helped me find a solution.

First, to install evdev, do this: # apt install xserver-xorg-input-evdev-hwe-18.04.
Second, additional X configuration is required to use the driver. And finally, the calibration parameter syntax was not correct. The improvments and additions are listed below:

$ cat /etc/udev/rules.d/99-elographics.rules
ACTION=="add|change", SUBSYSTEM=="tty|pnp", KERNEL=="ttyS2", TAG+="systemd", ENV{SYSTEMD_WANTS}+="elo-inputattach@%k.service"

$ cat /etc/systemd/system/elo-inputattach@.service
[Unit]
Description=Serial touch display enablement
Before=display-manager.service

[Service]
Type=simple
Restart=always
RestartSec=3s
ExecStart=/usr/bin/inputattach -elo /dev/%i

[Install]
WantedBy=graphical.target

$ cat /usr/share/X11/xorg.conf.d/50-touch-screen.conf
Section "InputClass"
    Identifier         "evdev touchscreen override"
    MatchIsTouchscreen "on"
    MatchDevicePath    "/dev/input/event*"
    Driver             "evdev"
EndSection

$ cat /usr/share/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
    Identifier   "calibration"
    MatchProduct "Elo Serial TouchScreen"
    Option       "Calibration" "10 4080 80 4100"
    Option       "SwapAxes"    "0"
EndSection


Did you increase font/desktop scaling ?

This can cause a difference in scale between the window and its contents, eg the window is normal but the contents are larger.

Open system settings and then universal access and turn off large fonts.

OR if you have any tweak tools unity-tweak-tool gnome-tweak-tool etc...) installed reset any scaling options you set


In addition to any partitions related to Ubuntu, you will also need to keep your EFI system partition.
You can remove the other partitions that are exclusively used by Windows.
Back up first, in case you make a mistake and remove the wrong one!


You can use a ppa to install a newer version of PHP and keep it up to date.

Add the ppa to you system with:

sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get update

Install the relevant packages on your system with:

sudo apt-get install python-software-properties
sudo apt-get install php5

Once it is finished check the version with php5 -v


How to set up Google Chrome as default browser in Xubuntu

SOLVED:

Listen, the easy way to do this is open xfce4-settings-manager as root either with

sudo bash
xfce4-settings-manager

or

gksu xfce4-settings-manager

then select preferred apps, and under browsers select other then paste:

/usr/bin/X11/chromium-browser

close it and you are good for all users, forever. :D


It seems that it doesn't really save them anywhere, but if you run it with the environment variable DEJA_DUP_DEBUG=1 you can get all the information that way.

Source: https://answers.launchpad.net/deja-dup/+question/125731


Are the source code of commercial version of open source software encrypted or hidden from being manipuated

Open source apps should share source code even if it is commercial,So if source code is hidden, it is not opensource, For eg redhat source code is available for download, But still redhat earns money from that product


Disadvantages Installing Gnome on Ubuntu unity

It will boot but you will have to change the desktop environment from the log in screen.

The downside is you will have 2 application sets

I recommend this method

1 Download Ubuntu Gnome Remix HERE

2 install to USB/CD

3 Boot USB/CD

4 Choose instll ubuntu

5 IMPORTANT Choose the option Upgrade Ubuntu 14.04 to Gnome remix (or something simmeler, upgrade is the important word)

6 install

This will change your Unity version for the Gnome version while saving your home folder

Documentation is HERE


mount options for udev-rule mounted ext3 fs on14.04.3

The script

#!/bin/sh
export mount_point="/mnt/$1"
existing_device=$(awk '$2 == ENVIRON["mount_point"] {print $1; exit}' < /proc/mounts)
if [ -n "$existing_device" ]; then
  exit 1
fi
mkdir -p "$mount_point"
sleep 1 # Perhaps not necessary, but in the test with the OP it was necessary
mount "/dev/disk/by-uuid/$2" "$mount_point" -o "$3"
exit 0

should work perfect with a udev-rule like this (you have to replace the UUID)

KERNEL=="mmc*", ENV{ID_FS_UUID}=="13ededb9-41e9-4674-b9dc-40ce178af91d", RUN+="/usr/local/bin/mount_by '%E{ID_PART_ENTRY_NAME}' '%E{ID_FS_UUID}' nodev,noexec"

Because the udev-rules runs as root, the -o will be used.

The bad thing, definitely in my system, x-gvfs-show doesn't work in the option list for -o


Remotely connect Ubuntu to windows over internet

You can use TeamViewer: http://www.teamviewer.com/

It's very easy to install in any Operating System and very easy to connect (you just need to introduce the ID and PIN of the computer you want to control).


mpv play all the videos in just one window

A) the simple solution: just "drag 'n' drop" a video file from your file manager. That replaces the running video immediately, inheriting its settings (volume setting, speed, brightness, ...)
B) not so simple:
write a wrapper script to load your video in your
running instance of mpv, else start an instance
Prerequisites:

wmctrl and socat must be installed (both should be found in all
the Ubuntus' repositories)

this line is needed in mpv's config file:
input-ipc-server=/tmp/mpvsocket

(you should find that file in /home/your/.mpv or /home/your/.config/mpv)

Create a script, say mps.sh, in your /home/your/bin directory, to hold the following code:

#/bin/bash
fle=$1
if ! pgrep -x "mpv" >/dev/null ; then
mpv "$fle"
else
wmctrl -x -R gl.mpv
echo "{ \"command\": [\"loadfile\", \"$fle\"] }" | socat - /tmp/mpvsocket
fi

Make it executable, then make it default for some video formats via right-click on a video file, then → Open With → Open With Other Application.

How it works:

if not pgrep finds 1 mpv-instance, play file
else wmctrl find window with class name gl.mpv, ##1
bring to foreground in current workspace
load file to that window using socat ##2

Things to check if it doesn't:
##1 maybe the window class is different on your system?
Start any video in mpv, then execute this in a terminal:
wmctrl -xl | grep mpv

The line showing your videos title in the last column shows the class name in the third column.
Replace my gl.mpv with that.
##2 check the socat functionality with this command in a terminal, while a video is playing:
echo '{ "command": ["set_property", "pause", true] }' | socat - /tmp/mpvsocket

If this does pause the video, the socat connection works. Time to triple check the quotes and backslashes in its script line. These are needed in exactly the way given above, because we have the variable $fle there. There's no variable in the "pause" example.
If the  "pause" example doesn't work, I can't help better than: check evrything again, reboot machine, and have your fingers crossed ;-))


You can open a subshell. Type ( in your terminal, then copy the lines and close the statemant with ):

user@host:~$ (sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install my-weather-indicator)

You can edit the commands in the terminal. As soon as you press Enter the commands will be executed line by line. But don't forget the closing ).


Can we assume it is a Samsung 'Galaxy A8 (2018)', and not the earlier model A8?

I currently use this model, updated to latest Android.

Normal operation for the A8 (2018) would be:

You unlock Android, using swipe OR entering PIN.
When connected via USB, you are prompted to 'Accept' or 'Decline' the connection.
Once connected, you would be able to copy/backup all the phones memory (from Ubuntu).

However, if you have no working screen (to navigate user-interface/UI), this will be much harder.

Just connecting (via USB, or USB-OTG) without approving this access will prevent most actions.


TP-Link AC1300 T3U drivers for Ubuntu 18.04.2 LTS

Download this GitHub file.
Traverse to the download directory then do the following:
Compile using make command
Install using sudo make install
Note : To unload driver you may need to disconnect the device
Then Run the following commands:cd ~
sudo dkms add ./rtl8822bu
sudo dkms install 8822bu/1.1

Reboot the system for new module to be picked up
P.S.
You might need to install dkms as well, if not already present.
To install dkms type following: sudo apt install dkms


Create hotspot from LAN cable in ubuntu 17.04 gnome using terminal

You need to install a couple of packages.  From the command line type:

sudo apt install hostapd dnsmasq

See this answer for full details.


./configure no such file or directory even after installing build essentials

You only run the ./configure command when building certain applications from source.

The Java installation files that you have downloaded aren't source code they are precompiled binaries. For instructions on how to install Java take a look at the page on the Ubuntu Wiki as this has several different options.

I recomend using the option titled 'Using webupd8.org's strikingly simple method.' as it will integrate the installation of Java with your package manaement system and automatically keep it up to date along with the rerst of your system.


Security updates are obviously the ones you need in order to keep you system secure.

Recommended Updates and other usually contain non-critical updates which fix some bugs in the program or some broken package etc... and do not affect the security of the system. They generally improve the system stability in various ways.

You can expand the technical description tab within the update panel, select the specific update and see what the update entails, then you can choose to update or not.

See here for further reference.


The first thing to do is find out what program or programs are using most of the cpu.  I run top in command line in these cases and the solution usually suggests itself once you know what is going on.

I also run Gkrellm on my desktop to keep tabs on the health of the OS and it usually gives a heads-up when something is not playing nice.  Gkrellm is installable from the repositories and is very configurable, and uses krells as well as bar graphs.  Some people like Conky because it can be made to look pretty, but Gkrellm with default theme is very functional:

I particularly like how Gkrellm uses different colours for the CPU graph - brown for system, blue for user, and green for applications with very high nice levels (usually daemons that use a lot of CPU but give it back when system or user programs need it.)  Also, disk, memory, and network reads are in blue while writes are in brown.  Neat.

I have noticed on my new 12.10 64 bit install that Firefox has been hogging the CPU on occasion, but  I will be installing 32 bit on this faster dual core machine to see if the problem persists.

I've also noticed that 12.10 has higher memory requirements than previous versions - about 712 Mb for 12.10 64 bit with Firefox, Transmission and a terminal window running.  Gkrellm can keep tabs on memory and cache for you as well, or type 'free' on the command line.


MAAS “blocked for more than 120 seconds” error when provisioning a node

I encountered the same message and issue when I used PXE to install Ubuntu, which happened on precise, quantal...trusty.It could not be reproduced every time, and the reproducing rate is about 1 out of 10 or smaller. So I do not think this is relvant to maas.

Could you reproduce this issue every time?

This looks like a kernel issue.
Please refer to this
http://www.blackmoreops.com/2014/09/22/linux-kernel-panic-issue-fix-hung_task_timeout_secs-blocked-120-seconds-problem/

and try:

$ sudo vi /etc/sysctl.conf

add there 2 lines:

vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

save, exit and reboot.


Recommendations for music games for children

Probably a bit too much for a 3 year old but your 6 year old might like Frets on fire !

A game of musical skill and fast fingers. The aim of the game is to play guitar with the keyboard as accurately as possible.

Players must press buttons to keep in time with the rhythm of the music, shown by markers on screen. An official online high score list allows players to show off their skills to competitors around the globe.

The game comes with an easy to understand tutorial to get players started, and a song editor lets players edit and compose songs for use in the game.

What 6 year old does not like buttonbashing? :D
You should get an old keyboard though!


Need to uninstall Ubuntu. Can't find partition in Windows 10

Perhaps you upgraded your distro to the beta version. You should re-install and re-setup. About the Windows 10 partition, you can try TestDisk to try to recover the lost partition. There are some other commercial products also. If you can't recover, if you have the serial, you can download Windows 10 directly from Microsoft. (Sometimes your notebook have a sticker with the serial bellow). Even if you are OEM, you can rebake the Windows DVD with a custom EI.cfg to accept OEM Channel.


How can I set the clock to 24 hour mode in Ubuntu Touch?

try changing language from English US to another English (there are a lot of them). I changed from "English US" to "English Canada" to display temperatures in Celsius.


No icons or launcer appears after login. I have tried everything

I have ubuntu 16.04 and these are the steps that worked for me:

sudo apt-get update

sudo apt-get install –reinstall ubuntu-desktop

sudo apt-get install unity

rm -rf ~/.cache/compizconfig-1

sudo shutdown -r now

hope it helps!


You should not connect to IPC, just connect to the PC or directly to the share.

You need to have a credentials (user and password) to connect your windows, if you do not have user on your windows you just can (i think) to leave them blank.


Can I cancel dd command and rebuild partition table?

Yes, you can abort dd.
Just go to the terminal where dd is running and press Ctrl+C.
Aborting dd will not roll things back to the way they were before dd started writing a stream of data to the disk. But that's fine, because you don't need that.
If your goal is just to clear out all the partitions on the disk and make a new partition table, you can do this in any partitioning utility. It's fast, because it doesn't write over most of the disk. Data might still be recoverable, but old files won't pop up out of nowhere or anything of the sort.
(And if you do need to securely erase the disk, dd might not be adequate for that.)
Writing a new partition table to the disk is traditionally what people mean when they say "low level format." Actually there's something else called that too, which is typically not possible through software, and which also doesn't involve writing data all over the disk. (Modern hard disks contain some data structures used internally by the drive firmware.) dd will not write in those "low level" areas.

As for the problem that motivated you to run dd on the drive in the first place, if creating a new partition table in GParted or other utilities doesn't fix it and make the disk's size appear correctly, I suspect dd wouldn't improve on that situation either.
There might be something (physically) wrong with the drive, but I wonder if maybe you've come up against some strange bug in GParted (or the version of GParted you're using) instead. Do things work any differently with fdisk? (fdisk is not nearly as powerful as parted or gparted, but you don't need to move or resize any partitions, so it should be adequate to the task.)
If you haven't done so, I also recommend checking the drive for failure indicators and defects. Assuming it supports SMART (most drives these days do), you can use smartctl (see also this guide). You can scan the drive for surface defects with badblocks, though given how long dd was taking to run, that might take a long time.


Ubuntu installation error: Reserved BIOS boot area partition?What to do to continue installation?

The error message you report should NOT appear in an EFI/UEFI-mode boot, only in a BIOS/CSM/legacy-mode boot. Furthermore, when you're dual-booting with Windows, if that message appears, you should STOP IMMEDIATELY, because you're pretty much guaranteed to have bigger problems once the system is installed. The issue is this:

Windows ties its boot mode to its partition table type -- Windows will boot in BIOS mode only from MBR disks, and in EFI mode only from GPT disks. Ubuntu is not nearly so strict. The "reserved BIOS boot area" is a BIOS Boot Partition, which is a type of partition that's used to enable BIOS-mode booting from GPT disks. In a dual-boot setup, though, a GPT disk means that Windows is installed in EFI mode, and the request that you create a BIOS Boot Partition means that the Ubuntu installer is booted in BIOS mode, and is trying to set up a BIOS-mode boot. Booting Windows in EFI mode and Ubuntu in BIOS mode is possible, but doing so is an unnecessary complication.

Thus, what I recommend you do is:

Enter your firmware setup utility and disable the CSM. The details of how to do this vary from one computer to another, but the option is usually called "CSM support," "legacy boot support," or something similar. In some cases, you'll see an item that refers to "boot mode," with options called "UEFI only," "UEFI and legacy," or "legacy only." You want to disable any "CSM" or "legacy" support, or set the boot mode to "UEFI only."
Boot the Ubuntu installer and verify that it's in EFI mode. You can do this by booting to the "try before installing" mode, opening a Terminal, and looking for a directory called /sys/firmware/efi. If it's present, you've booted in EFI mode; if it's absent, you've booted in BIOS mode and you should try again.
If you can't get booted in EFI mode, you may need to re-create your Ubuntu installation medium. See this page of mine for information on how to do this (and much more on the issue of the CSM generally). The difficulty is that some tools omit the EFI boot loader, or create a medium that confuses the firmware in a way that forces a BIOS-mode boot. If this happens, and you need to boot in EFI mode, the appropriate action is to adjust the options or even switch to another method of preparing the boot medium.

Note that, in many cases, the boot-mode options are more like suggestions than commands; the computer may fall back to booting in another mode even if you've told it to boot in one way only. It's more common to be unable to force a BIOS-mode boot than to be unable to force an EFI-mode boot, though.


Where do I find an up-to-date version of boost?

Using the packages in the standard repositories is the recommended way to ensure that you have both a stable system and also be supported through an upgrade to the next Ubuntu release.

You can install extra testing repositories - called PPA's.  These are available through launchpad and should really be used for testing new software.

One such PPA I found is this one by Daniel Pfeifer.

Please see this question which explains the purpose of the PPA from its author.

You should note - some people have found several issues with the use of this PPA.  As such, you should perhaps consider compiling boost yourself using the linked step-by-step guide

To Install from PPA

sudo apt-add-repository ppa:purplekarrot/ppa
sudo apt-get update
sudo apt-get upgrade

To Remove

I would remove the PPA before attempting to upgrade to the next version of Ubuntu:

ppa-purge ppa:purplekarrot/ppa


VirtualBox abruptly stopped detecting USB devices

Removing didn't fix, but purging did:

sudo apt purge virtualbox
sudo apt install virtualbox

Note that this doesn't remove your virtual machines. Hence, it's safe to perform.

Also make sure that your user is still a a member of vboxusers by running

sudo adduser $USER vboxusers


How to Switch Packages to Different Repository?

If you removed the other PPA from your sources and still don't get any update, that probably means that the version in the PPA is newer than the one in the official repository (even if you remove the PPA, the packages remain installed).

To make sure about that, you can use the apt-cache policy <package_name> command. In my case, it shows that the version available from the official repositories is 3.2.1-0ubuntu1. In your case it should show that that version is available, but you have installed a different one.

If you really want to have the same version as in the official repositories, you can downgrade the package. However, I wouldn't recommend that since my understanding is that the PPA version isn't causing any problem. Anyway, to downgrade the package, run the following command:

$ sudo apt-get install gnome-shell=3.2.1-0ubuntu1

Note: Some other packages might be installed/removed during the downgrade process if dependencies have changed for the two different versions of the package.


How to create a bootable install on USB with the minimal CD?

Ubuntu minimal does not work with Startup Disk Creator.

Use Unetbootin as per this AU Question and answer.


Bluetooth is not working ubuntu 18.04 LTS

I had the same problem and found this:

"A brilliant developer named Takashi Iwai came up with a solution that I incorporated into the 4.15 kernel

sudo apt install git build-essential dkms
git clone https://github.com/jeremyb31/newbtfix-4.15.git
sudo dkms add ./newbtfix-4.15
sudo dkms install btusb/4.0

Reboot"

Found here
ubuntu 18.04 LTS bluetooth discovery not working

I had to install git manually from Synaptic. I don't understand what it does, but it worked for me.


I've gotten some errors when i tried to burn it on cd, whats wrong?

Sounds like a problem with your CD writer. Try burning the disk on a different drive or computer. Also, the problem might be the software you are using, so use different software if you can too.


I plugged in VGA monitor and then i sow that Ubuntu is booting in console mode without GUI also i cant see anything:

I can login but i cant see nothing and when i unplug hdmi and restart boots normaly to desktop and i plug in HDMI and run in terminal with this command

neone@MediaCenter:~$ sudo get-edid | sudo parse-edid
parse-edid: parse-edid version 2.0.0
get-edid: get-edid version 2.0.0

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
    Function supported
    Call successful

    VBE version 300
    VBE string at 0x11100 "NVIDIA"

VBE/DDC service about to be called
    Report DDC capabilities

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
    Function supported
    Call successful

    Monitor and video card combination does not support DDC1 transfers
    Monitor and video card combination does not support DDC2 transfers
    0 seconds per 128 byte EDID block transfer
    Screen is not blanked during DDC transfer

Reading next EDID block

VBE/DDC service about to be called
    Read EDID

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
    Function supported
    Call failed

The EDID data should not be trusted as the VBE call failed
Error: output block unchanged
parse-edid: IO error reading EDID
neone@MediaCenter:~$

is there any other way to get edid and why this happen when i plug in HDMI ????


You can find info here. It is recommended that you not perform this on your main device.


Key combination to type the pipe character in a Swedish keyboard

Press the Alt Gr key and and after that the key between z and shift to get | in a Swedish keyboard. (This key has < (default), > (with shift) and | (with Alt Gr) in a Swedish keyboard.)

I think in most fonts the pipe character is one solid vertical bar, but I have seen it as two vertical bars with a small space between, and that is what it looks like on the key of some keyboards, like the picture in this link.

onboard helps explore keys and key combinations

You can install onboard and use it to explore which keys and key combinations to use to type various letters, digits and symbols in different languages.


How can I get my recognized Ricoh SD Card reader working on 14.04?


Unable to install mysqldiff on ubuntu 20.04

This package is not available for 20.04 LTS because of Python 2 deprecation, but you can still install it using packages from 19.10:
mkdir -p ~/Downloads/mysqldiff
cd ~/Downloads/mysqldiff
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/p/python-nacl/python-nacl_1.3.0-2_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/p/pyodbc/python-pyodbc_4.0.22-1build2_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/p/paramiko/python-paramiko_2.6.0-1_all.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/a/antlr4-cpp-runtime/libantlr4-runtime4.7.2_4.7.2+dfsg-1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/main/p/poppler/libpoppler90_0.80.0-0ubuntu1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/n/netcdf/libnetcdf13_4.6.2-1build1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/p/proj/libproj13_5.2.0-1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/libg/libgeotiff-dfsg/libgeotiff2_1.4.3-1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gdal/gdal-data_2.4.2+dfsg-1build2_all.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gdal/libgdal20_2.4.2+dfsg-1build2_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/m/mysql-connector-python/python-mysql.connector_8.0.15-1_all.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/m/mysql-workbench/mysql-workbench-data_8.0.17+dfsg-1ubuntu2_all.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/m/mysql-workbench/mysql-workbench_8.0.17+dfsg-1ubuntu2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/m/mysql-utilities/mysql-utilities_1.6.4-1_all.deb
sudo apt-get install ./*.deb

then pin libgdal packages with to prevent removal of just installed packages:
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-gdal
Package: gdal-data
Pin: version 2.4.2+dfsg-1build2
Pin-Priority: 1337

Package: libgdal20
Pin: version 2.4.2+dfsg-1build2
Pin-Priority: 1337
EOF

and enjoy:

$ mysqldiff --version
MySQL Utilities mysqldiff version 1.6.4
License type: GPLv2

Also you will get mysql-workbench installed as dependency and as free bonus :)


Do Ubuntu snappy packages need much more space?

When Ubuntu switches to snappy packages which bring there own libraries, won't they also need a hell lot of space?

Nope (well probably not). Libraries tend to be small anyways but a Snappy application is basically a single compressed archive package with all the files contained for the app to run. So the libraries are compressed as well making them a few KB.

But I agree it's a different approach from the shared library vision where 1 library is used across the system. I consider it a small price to pay for the other benefits: snappy lets you install different versions next to each other (it has a "current" symlink pointing to the active version) so rollbacks are just a change to the symlink. It is a big improvement regarding security (it is a container and most/all of snappy files are readonly).

I do wonder what the method will be if there is a bug in 1 of those libraries and tons of apps need to be updated... (how would they do that? I hope they do not create a new version for every app :P)

  GIMP needs 15 MB disk space, the requirements for Photoshop are 2 GB.

That's not necessarily due to shared libraries.


ifconfig /displaydns doesn't work on Ubuntu 16

As far as I know ifconfig /displaydns is a windows command not a linux one.
Man ifconfig shows no displaydns option.


I know you have mentioned Alsamixer solutions. But just in case. Have you tried to mute the Headphones mic (if any, all) and/or disable loopback on ALSAmixer? There are many threads on XPS 13 and 15 on this matter (and here is a Reddit on it too)


How do I test an image of ubuntu using the test tracker?

Assuming you downloaded a non-release image (that is to say, an image intended for testing), the ISO Tracker contains a list of tests meant to be executed for the image. For example, a daily ubuntu amd64 image has, as of this writing, 21 testcases representing different scenarios for installing and using the ubuntu image on your machine.

These tests can be seen, executed and reported all using the ISO Tracker interface. A tutorial on using the tracker can be found here. You will need a launchpad account to login and report results. Each image contains download links for the image, instructions for reporting bugs, and a form to submit results. In general you can utilize your machine, or a virtual machine for testing. Real hardware testing is encouraged, but don't overwrite your current installation and data unless you understand what your doing! Virtual machines such as Virtualbox, Vmware player, or KVM are common for virtualized testing.

If you are using a release image of ubuntu and encounter a bug, you are encouraged instead to file the problem as a bug.


Before my performance was slow. Now my VirtualBox Virtual Machine saids "No Bootable Medium Found"!

The virtual machine does not have a bootable virtual disk or CD-ROM ("no bootable medium found"). Open the virtual machine settings, go to the "Storage" panel, and add a live CD.

The message also appears when there is no bootable medium enabled in the Boot Order preferences of the virtual machine, but I think that this is not the case.

The live CD ejects itself from the machine (be it physical or virtual) when you shutdown it. It opens the tray and displays the message: "Please remove installation media and close the tray, then press ENTER" since it assumes that the disk has been ejected.

However, if you check the "Live CD" checkbox in the "Storage" panel, VirtualBox will retain the CD in the virtual drive.


How to install 3DxWare for Linux (x86-64) on Ubuntu 18.04.4 LTS (Bionic Beaver)

Installation instructions for 3DxWare for Linux (x86_64) - V 1.8.0

To install the files for 3DxWare for Ubuntu to the corresponding directories
and to run the driver you need root privileges.

Make sure you fulfill the following prerequisites:

You should have installed the X/Motif shared library. Where is included the libXm.so.3

    sudo apt-get install libmotif-dev

In some cases some X11 fonts may not have been installed, which are used to
draw on the device LCD.
Please make sure you have installed the 75 and/or 100DPI fonts for X11.

    apt install xfonts-75dpi
    apt install xfonts-100dpi

The files for the driver are provided with the following archive:

3dxware-linux-v1-8-0.x86_64.tar.gz

Please save the file 3dxware-linux-v1-8-0.x86_64.tar.gz into the /tmp directory
and extract and run the script install-3dxunix.sh:

tar xfz 3dxware-linux-v1-8-0.x86_64.tar.gz install-3dxunix.sh
./install-3dxunix.sh

Please make sure the driver is started before you launch your application.

For the USB devices start the driver with the following command:

/etc/3DxWare/daemon/3dxsrv -d usb

I don't like the process in background, so I prefer to run the driver when I need it.
I created a shortcut in the desktop

[Desktop Entry]
Name=3DxWare
Exec=sudo /etc/3DxWare/daemon/3dxsrv -d usb
Terminal=true
Type=Application
Icon=/<your_custom_folder>/icon.png
Name[en_US]=3DxWare

Demos:

After unpacking 3dxware-linux-v1-8-0.x86_64.tar you can find two demos:
The cube demo: /tmp/xcube and
a value demo:  /tmp/xvalue

Those are two simple demos that work with the setting "Any Application". You may copy the
binaries to your favourite location for binaries.

Supported devices:

SpaceMouse Pro Wireless
SpaceMouse Wireless
SpaceMouse Pro
Space Pilot Pro
Space Pilot
Space Explorer (Serial, USB)
Space Navigator for Notebooks
Space Navigator


Unable to run any code in code blocks,says permission is denied

You just open a new file using ( Ctrl + Shift + N )

Than save it using ( Ctrl + S )

Than name it. And after the name Just put (.c)


compress and email option in right click

Create a script(.nemo_action) to do that, here you can find a sample for correct syntax.

When you finish your script add it to nemo-actions to make it available to right click. You have to add it to
$HOME/.local/share/nemo/actions/

The script has to have .nemo_action extension

Now you have to make script for compressing and mail:

Add the need to the script:

To compress using zip for example:

zip -r attach.zip attachFiles

Now attach it to  a new mail in thunderbird:

thunderbird -compose "attachment='/path-to- attach.zip'"

So this script will be called by the nemo_action one

Some useful links:

Arch Nemo Wiki
Behind the curtain.. Nemo actions
How to make nemo support compressing files by context menu?


13.04 - more than four workspace shortcuts in GNOME Flashback (No effects)

The only way I have found to modify the keyboard shortcuts for workspaces 5 and up in GNOME Flashback, is through a shell using the dconf command.

$ dconf read /org/gnome/desktop/wm/keybindings/switch-to-workspace-1
['<Primary>F1']

Here I read the shortcut setting for the first workspace, to get an idea about the syntax to use when setting values for the missing shortcuts. I'm using CTRL+ F1 myself.

To add shortcuts for the remaining workspaces, just modify the value returned above to match the workspace number, and use dconfto apply them:

$ dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-5 "['<Primary>F5']"
$ dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-6 "['<Primary>F6']"


Xubuntu 13.10 And Ubuntu 13.10 both show WPA Supplicant error?

The following command seems to fix the error, well at least at first reboot the error does not appear.

sudo apt-get --reinstall install network-manager-gnome network-manager-pptp

I hope this helps.


Desperately looking for Ubuntu14.04 ISO file

You can get the old versions of 14.04 from http://old-releases.ubuntu.com/releases/14.04.0/

Or just click on your suitable link here:

Desktop 64 bit
Desktop 32 bit

Edit:

What Tim is saying is just completely true, it's just an update so you don't have to care of reinstalling. It's just a bunch of updates and bug fixes , and once you install 14.04 and start updating you'r moving to 14.04.2 and 14.04.3 smoothly if we are going to be up to date, so it doesn't matter to just install 14.04.3 and save some time and updates .


Since update to 16.04 LTS - crashes every 10-15 mins

I strongly believe the problem would be with the Hardware. If you are using a laptop make sure that temperature is raising up high due to expired thermal paste or fan speed issue. Apart from that either the desktop or laptop kindly check their RAM is working fine without any issues and check with the motherboard issues. To find out if its all because of motherboard or RAM issue, use that Ubuntu installed HDD in other computer or laptop and trying booting it up and check still the issue persists. That will be much easier to troubleshoot these issue in the first place. if it fails we can go ahead with the other steps.


How do I get Ubuntu 18 to "see" my Dell 1135n MFP's scanner?

Thankfully, this is a very simple fix.

sudo nano /etc/sane.d/xerox_mfp.conf

At the end of the file, add these two lines:

#Dell MFP Laser Printer 1135n
tcp 192.168.1.60 9400

If your printer is configured with another IP, use that. Bring up Simple Scan and it should see it now.


Underfined reference clock_gettime not solved by -lrt

gcc and g++ can be picky about the order of link arguments. In general, you should specify library arguments (-l) after local objects. Try this instead:

g++ -O3 netmon.c -o netmon -lrt


How to install Lattice Diamond 3.4 on ubuntu 14?

Try using
alien --scripts rpmfile.rpm

The license file also checks for network card on eth0 only. So if your
network card is called something else, then the license file does not work.


Why is it not advised to change sources.list to point to a newer version when upgrading?

Because there are sometimes system configuration changes that dist-upgrade can't manage correctly (such as upgrading the nvidia binary drivers, multiarch changes, ndiswrapper, added/removed architectures and kernel types).

do-release-upgrade

  The recommended way to upgrade a Server Edition installation is to
  use the do-release-upgrade utility. Part of the update-manager-core
  package, it does not have any graphical dependencies and is installed
  by default.

  Debian based systems can also be upgraded by using apt-get
  dist-upgrade. However, using do-release-upgrade is recommended because
  it has the ability to handle system configuration changes sometimes
  needed between releases.


How can I improve the power usage of my home Ubuntu server?

You can use powertop (available in the repos) to see what is using the most power. It will even provide suggestions as to what can be done to improve power usage.

sudo apt-get install powertop


How to query the motherboard/mainboard number?

Run sudo lshw, that should give you back all the info you need.


Unable to locate package libcudnn8 in Ubuntu 18.04

Certain things like the CPU drivers are preconfigured for you in Docker, but the GPU is not configured when you run a Docker container. Read How to Properly Use the GPU within a Docker Container.

There is no package named libcudnn8 in the default Ubuntu 18.04 repositories, so remove the references to libcudnn8 and prune the command as follows:
sudo apt update && rm -rf /var/lib/apt/lists/*
sudo add-apt-repository multiverse
sudo apt update
sudo apt install nvidia-cuda-toolkit
sudo reboot

If you don't have the proprietary Nvidia graphics driver installed yet, please run this command sudo ubuntu-drivers autoinstall && sudo reboot before you run sudo apt install nvidia-cuda-toolkit


Run Program as Administrator on CrossOver/Wine

CrossOver ALWAYS claims you're administrator, but not always successes on LAN.

You'll want everyone you want to play LAN with to install Hamachi, and you all join a single network; Then, when you open a LAN game, if you connect using an IP, you'll want to use your Hamachi IP, which I believe usually is something like 5.x.x.x


Why Ubuntu can't play MP3 files by default

You can see why in this article of the community wiki:
https://help.ubuntu.com/community/RestrictedFormats
The introduction of the article gives the logic behind this decision:

Ubuntu strives to make all of the most important software available to its users automatically. However patent and copyright restrictions (see Ubuntu License Policy) complicate distribution of software to support non-free formats...
Ubuntu’s commitment to only include completely free software by default means that proprietary media formats are not configured “out of the box”. See Ubuntu’s Free Software Philosophy and the Free Formats page for a more comprehensive discussion of these issues.

TL;DR:
MP3 is not a free media format, which creates licensing issues and conflicts with the Free Software Philosophy of ubuntu and linux in general.


Bluetooth refuses to connect since update to Ubuntu Gnome 13.10

YES! It's working again! Don't know what fixed it though:

I downgraded bluez (4.96) and pulseaudio (2.1-0) as recommended in this article: http://awesomeprogrammer.com/blog/2013/06/22/fixing-bluetooth-audio-issue-on-ubuntu-13-dot-04-based-distors/

Bluez refused to install without libudev0 so I installed it as suggested in this article:
http://www.unixmen.com/resolve-libudev0-issue-when-installing-google-chrome-in-ubuntu-13-04/

Before downgrading I checked if libudev0 alone would do the trick, but no. The downgrade broke everything totally with no selectable audio devices at all as a result.

Then I let Ubuntu search for Updates and accepted to update bluez, pulseaudio and all suggested (it was no updates in cue before the downgrade). I allowed the conf-files to be overwritten. Then I restarted pulseaudio ("sudo service pulseaudio restart" in the terminal). AND NOW IT WORKS!!!

Just want to add that I tried multiple times to uninstall and reinstall both bluez and pulseaudio before this and just about anything related to bluetooth.

Maybe someone can figure out what fixed the problem, otherwise I would suggest that anyone running into the same problems as me to do what I did step by step.


Can't update my ubuntu 14.04 to 14.10 because "Internet connection failed"

The error means that the package isn't available in your version of Ubuntu. You can go to the Other Software tab in Software & Updates and unselect the PPA's which are causing the error.

Try running apt-get update to confirm.


https://wiki.ubuntu.com/WifiDocs/Driver/bcm43xx?action=show&redirect=WifiDocs%2FDriver%2FBroadcom43xx

Check that page. In this case, Broadcom 4312 is supported by both b43 and wl.
Make sure to run sudo apt-get update and then try to sudo apt-get --reinstall install bcmwl-kernel-source and tell me what happens in the command line. If it doens't work, you can also try sudo apt-get purge bcmwl-kernel-source followed by sudo apt-get install firmware-b43-installer to install the reverse-engineered b43 driver instead of the closed-source broadcom bcmwl module.


Recommendation for a download accelerator for Chromium

You can install JDownloader and use this extension for chromium to integrate links with JD. JDownloader is a powerful download manager.


Ubuntu 20.04 change sound output device issue

Try installing pavucontrol and change your output device there:

sudo apt install pavucontrol
pavucontrol

Worked for me so far as a quick fix but I can't tell you about the reasons why it works. Now I'm also able to switch output devices via the default sound settings again.

Some people also experience problems when timidity is installed.

You might want to have a look at these questions:

20.04: internal speaker (Audio) is not working in Ubuntu 20.04 LTS after upgrading from Ubuntu 18.04 LTS

No sound - Ubuntu 20.04 lts


I don't have firefox and I'm getting firefox updates?

If you still have firefox installed, and haven't uninstalled it, then you'll still receive updates.

To start, open a terminal with CTRL + ALT + T.

Your prompt should look something like this (names probably won't match:

user@desktop:~$

Then, you should run the commands below in order. When it asks for a password, enter YOUR password. Nothing will appear as you type your password. That is intended and normal behaviour.

To Uninstall:

sudo apt-get purge firefox

To Update the List of Software Updates:

sudo apt-get update

To Upgrade:

sudo apt-get dist-upgrade


Will upgrading to a later release improve laptop hardware support?

You can upgrade the kernel to version 4.4 without upgrading the release.

Run in terminal

sudo apt-get install linux-generic-lts-xenial

and reboot.

This will install kernel from Ubuntu 16.04.


Understanding the export command: Becomes the variable in already started child processes?

Will the variable be available only in child processes which are
  started after the export command has been executed?

Yes.

  will be variable become available in already started child processes
  too?

No.

bash or any other shell reads statements line by line and executes them as it moves further, so any export-ed variable would be available only to the statements (child processes if that matters) that come after the export.