How do I install VMware Player 4.0.3 (and patch the installer to work on my 12.04 system)?

I ran into the same problem, and I was able to make the same patch work by editing a version number in the script which applies it.

  WARNING: I don't actually know what I'm talking about when it comes to
  VMware patching, I just made an educated guess that seems to work.

Whether you want to try this yourself depends on how risk-averse you are. But hey, your VMware Player install is already broken, right? I figured worst-case scenario I could uninstall and reinstall version 4.0.2.

I based this on the instructions I found here: vmware player compile issue.  To boil it down to the simplest steps:

Download this tarball: http://weltall.heliohost.org/wordpress/wp-content/uploads/2012/01/vmware802fixlinux320.tar.gz
Extract the tarball in your home directory
Edit the file patch-modules_3.2.0.sh.  Look for the line plreqver=4.0.2 and change it to plreqver=4.0.3
Save the file, then run it.  sudo ./patch-modules_3.2.0.sh

If you have run the same patch on version 4.0.2 before, you may get this error: "/usr/lib/vmware/modules/source/.patched found. You have already patched your sources. Exiting".  If you see that, just delete the /usr/lib/vmware/modules/source/.patched file and try again.

Please remember to have patch packet installed: apt-get install patch. My default installation of latest Kubuntu didn't have it, so I got error:

./patch-modules_3.2.0.sh: line 42: patch: command not found

Sometimes, the version check does not properly. In this case, you could remove it by deleting  the 4 lines following "unset product", all of them begin with "[". This again may increse the risk of breaking something.


Hard Drive Full With Files From Removed App,, How Do I Delete Space So I Can Boot?

you can try to flash ubuntu os in a pen drive and then use live ubuntu option at the boot time , after that go to the partition where u have placed the files and delete them. now try to boot from your normal os.


Windows locks the ntfs drives while it's using them. If you don't shutdown your windows correctly (any error while shutting down, hibernating, or having fast start up enabled) ntfs drives will stay locked and can only be mounted as read only if you don't want to risk corruption.
You should check if your windows has been shut down correctly and try disabling fast start up and making sure you don't turn off windows by any abnormal means like holding the power button and the problem should be fixed.

If the said drive is fat32, you should set the owner of the mounted drive by mounting it with this command:

sudo mount -t vfat -o rw,uid=myname,gid=users /dev/sdb1 /media/usb

replace 'myname' with your user name and 'users' with your user group. more info on this part in this question.


HUD in other window managers (especially xmonad)

The problem is your Desktop Environment i.e. Unity, is a plugin of the Window Manager Compiz.
Similarly GNOME 3 is a plugin of Mutter.

So thing is that, the menus of your Window Manager are tightly coupled to the Dash of the Desktop Environment, which can be only done via a plugin.

If there were a Unity plugin for Mutter or Kwin or other Window managers, then they could be used too instead of Compiz


Ubuntu doesn't boot after failed update from 20.04 lts to 20.10

Perhaps an Ubuntu and GRUB reinstallation would fix your issue. Download them onto an SD or USB like normal, and reinstall the tools, making sure to save any data or settings you would like to keep.
If this doesn't work, or you have perhaps already tried this, as a last resort only, delete the partitions Ubuntu is on and reinstall from scratch. If you absolutely must delete Ubuntu, be sure to back up your partitions to another external hard drive or separate storage partition on the disk like Local Disk C:\ (or whatever you have Windows assigned to.) I repeat, this is a last resort only. Be sure to keep what you want.


Cannot change brightness (Ubuntu 16.04 LTS, Unity)

This does not make your brightness function keys work, but is a workaround.
Install Brightness Controller with the following commands:
sudo add-apt-repository ppa:apandada1/brightness-controller
sudo apt update

For Version 1 with up to 4 Monitor Support:
sudo apt install brightness-controller-simple

For Version 2 with Multi Monitor Support and Color Temperature support:
sudo apt install brightness-controller

Note: This does not decrease the intensity of backlight, so won't save your batteries. But you can use this as a last resort to save your eyes. This also works in desktops, where there is no option to control brightness.


gtk-warning due to theme tweaking harmful to my stability or not?

No, these warnings are not at all harmful to the stability of Ubuntu, Unity or Compiz. In fact most of the warnings won't affect anything: all the "deprecated" warnings are saying is that the standards recommend that units be used in the CSS files; the only warning that may affect looks is number 6, at line 40 in unity.css, about 'sahde' being an invalid color.


How to switch between network interfaces from console?

If both interface are configured in /etc/network/interfaces you can use

sudo ifup eth0

to bring eth0 up and

sudo ifdown eth0

to take eth0 down


Sssd.service Ubuntu 20.04 Desktop Problem

It improved after reinstalling the operating system. Finally, I followed the steps here.
Ubuntu 20.10 sssd (System Security Services Daemon) failure


If it's really a DNS problem, why don't you try changing the DNS provider? By default, most of the routers act themselves as DNS providers, you could try to change to any of the avaliable on the net, like 8.8.8.8 (google).

You can change it in network manager settings, editing the connection you are using (wireless or cable) and under IPv4 parameters adding the DNS ip on the box.

Good luck!


Changing the label should not cause problems between Windows and Ubuntu. In both cases, references to the disk are to the device in Linux (like /dev/sdX) or to the letter in Windows (like D:/). The label is really just for the user's benefit.

You may feel more comfortable editing the label from Ubuntu instead:

How to rename partitions?


removing chroot done by ubuntu touch sdk

i sussed it i removed

/etc/schroot/chroot.d/-ubuntu-sdk*
/var/lib/schroot/chroots/-ubuntu-sdk*

rebooted and problem sorted :)

thanks wayne :)


apt spewing warnings after libreoffice update

Libreoffice 5.3 was released (today) and does not support all languages yet. For example German is not supported*. I think this might cause the problem.
Sadly, the human theme was also removed (why?), so I decided to

switch back to Libreoffice 5.2
Remove ppa:libreoffice/ppa
and choose the one for 5.2:

sudo add-apt-repository ppa:libreoffice/libreoffice-5-2

sudo apt-get update

If you made the same mistake as I did, and already upgraded to 5.3, you have to run:

sudo apt-get remove --purge libreoffice-core libreoffice-common
sudo apt-get autoremove --purge

and reinstall LibreOffice.
The problem lines no longer appear.

*https://wiki.documentfoundation.org/ReleaseNotes/5.3/de#Lokalisierung


Xubuntu bugs, Samba, sharing services not installed

Pretty much all of your links are outdated.

[1] If you really want to use system-config-samba:

sudo touch /etc/libuser.conf

Then:

sudo -H system-config-samba

[2] If you need to restart any samba services it's:

sudo service smbd restart

[3] Do not use shares-admin

[4] All the ... um ... stuff you read about changing workgroup names, local master, preferred master, etc.. is irrelevant when using samba in an all Linux network since it's not using NetBIOS. It uses mDNS ( Avahi ) and samba will automatically register itself to the rest of the network using it.


What is the "Free software only" option when installing Ubuntu?

FSF free is not the same as the free software only. There is free as in free beer and free as in freedom; FSF is free as in freedom, and the Ubuntu free only is free as in free beer.

FSF maintains a list of what they consider free distros.

See also Linux Libre.

Alas, many of those are great distros, but many are poorly maintained.

Of the distros listed, IMO the most actively maintained are:

Trisquel, which is based on Ubuntu, screenshot:

Parabola, based on Arch linux.

The others, including Musix and dynbolic, are great distros, but have not had recent releases.

There is also an apt repository for the libre kernel.

Keep in mind, although the beer is free, you should tip the bartender and support projects you use with donations - Ubuntu, Trisquel, or otherwise.


Change default location of document folder of user

On 18.04 and later, open /home/[user]/.config/gtk-3.0/bookmarks in a text editor, locate the line that says
file:///home/testuser/Documents

and change that to
smb://server1/share_name Documents

If you don't see a directory .config in the user's directory it's because items starting with a . are hidden by default. In the file dialog, press Ctrl + h to see hidden items.
Make a backup of the file first, of course.
The user may need to log out and back in before this works.


Do I need to make a FAT32 partition to install Ubuntu alongside Windows 10?

After the disk space for installing Ubuntu has been selected, the Ubuntu installer will select the correct partitioning format (ext4) automatically no matter what the original partition format is. FAT32, NTFS or any other format, it doesn't matter to the Ubuntu installer, it will format the Ubuntu partition(s) to ext4 by default.


Unable to disable Cramfs & vfat using /etc/modprobe.d/ conf file

Cramfs and vfat are now built into Ubuntu and no longer loaded as modules.
Settings in /etc/modprobe.d/* for those file systems are ignored.


Ubuntu UI and theme is changed when I logged out and logged in?

This is just another desktop environment. You can change it while logging in.
Logout from your Ubuntu, and in login screen you will see Ubuntu icon on top right corner of login modal.
Click on it and choose Ubuntu default.

If you want to determine which Desktop Environment you are in right now,

pgrep -l "gnome|kde|mate|cinnamon|xfce"

or

$DESKTOP_SESSION


Minecraft launcher keeps crashing on Ubuntu 15.04

well I open it up by right clicking on the JAR file and then at the top should be the thing you can open it with, choose JAVA 6 if you have it, it always works for me
hope this is helpful


PUA.Win.Exploit.CVE_2012_1461-1

PUA means "potential unwanted application". PUA are not virusses, those are claims by clamav that there is an application they consider "unwanted" because that file or extension have been proven to be abused in Windows
Win as 2nd part means it is a Windows related notice.
clamav has an option to not scan for PUA's.

My conclusion: nothing to worry about.

That leaves ...

  PUA.Doc.Tool.LibreOfficeMacro-2

.config/libreoffice/4/user/basic/Standard/Module1.xba has an extension  clamav trips on. They believe xba, visual basic macro's, are considered "unwanted". See Clamtk reports these LibreOffice files as possible threats. Are they safe? for a more complete list, the answers and comments.

ClamAV is notoriously flawed software: basing you scans and warnings on Windows and then apply them to Linux does not and will never work.

When you see a notice like this, and you really believe clamav is the tool to use, the next step is to check with a 2nd source: for instance upload the file to an  site like virustotal or use a 2nd virusscan software together with clamav (where when both claim the same problem you investigate and otherwise consider them false positives).

But I would ditch clamav altogether and follow a Linux based method: use debsum (link to man page) to check packages (link to a howto).

And when you are really paranoid (here's looking at you Panda) use all of the above ;)


Unexpected boot sequence with two cloned hard drives

To get the cloned drive to boot you need to reinstall Grub on this drive.
Boot to sda and when the Grub-menu appears choose Ubuntu installed on 'sdb' to start. then open a terminal (Ctrl+Alt+T) and run the command

sudo grub-install /dev/sdb

This will reinstall Grub to the MBR of sdb and this Grub points to the partition where Ubuntu is installed on the same drive. The other drive sda will be untouched and will work like before.

Checking the UUID's of the partitions on sdb with

sudo blkid

as mentioned in the comment of twicejr is a good idea, probably you have to adapt the UUID's in /etc/fstab on sdb.

That's it, now you should be able to boot directly to sdb choosing this drive as first drive in the boot-order in BIOS.

Note: This is only valid if your Ubuntu is installed in legacy-mode ( good old BIOS-mode). In UEFI-mode it would be very different!


After I installed 14.04 desktop, launcher on left side is missing after Virtualbox 4.3.12 upgrade

This is how I got it to work:

Log in like normal.
Press Ctrl+Alt+F1 to log in to TTY1.

Run the following:

sudo apt-get install compizconfig-settings-manager
export DISPLAY=:0
ccsm

When you run ccsm it may hang and not return to the prompt. It doesn't matter. Just press Ctrl+Alt+F7 (or Ctrl+Alt+F8 sometimes) to get back to the graphical display where there should be a CompizConfig Settings Manager screen sitting there. Find the Unity plugin. Enable it. You will also have to enable all dependencies. Close ccsm.

Return to TTY1 by pressing Ctrl+Alt+F1

Run the following:

export DISPLAY=:0
dconf reset -f /org/compiz/
unity --reset-icons &disown

This may take a minute to run.
When it is done run:

sudo reboot


How can I get rhythmbox to see that different albums with the same name are different?

Out of the box, rhythmbox does not have the ability to differentiate between different "greatest hits" albums because it treats album titles as the unique identifier.

Through the rhythmbox plugin coverart-browser, we treat both the album-title AND the album-artist as the unique identifier.

As the picture shows - two artists with the same "greatest hits" titles but the albums are shown separately since the two albums are by different artists.

You should note - when ripping CD's, often the album-artist is not ripped and is left blank.

Worse still, for multi-artist albums (compilations), both the album-artist and artist fields are also left empty.  Thus you can be left with two albums with exactly the same title.

The trick here is to select all the tracks for an album, right-click and choose properties and then fill in the album-artist field to make it unique

See the links below for installation instructions.

Linked Question:

How to browse by album art in rhythmbox?
How do I install third-party rhythmbox plugins?


It's not an OS or a plugin problem. Use the HTTP version of the site (http://us.battle.net/d3/en/forum/) instead of HTTPS. Why? Because their JavaScript says so:

<script xmlns="http://www.w3.org/1999/xhtml" type="text/javascript">
//<![CDATA[
Feedback.showForm = false;
if (window.location.protocol === 'http:') {
Feedback.showForm = true;
}
//]]>


try run chrome with disable gpu acceleration

google-chrome-stable --disable-gpu


Startup applications in an assigned workspace

Try using compizconfig-setting-manager. In the Place Windows Plugin you can add apps you would like to start on a certain workspace and then select the workspace using XY coordinates.


Install NVIDIA drivers through .deb files

Personally, I would never install drivers from PPA's. You can use "Find proprietary drivers" in Ubuntu system settings.

But if you really want to, you can try this: https://launchpad.net/~mamarley/+archive/ubuntu/nvidia

deb http://ppa.launchpad.net/mamarley/nvidia/ubuntu vivid main
deb-src http://ppa.launchpad.net/mamarley/nvidia/ubuntu vivid main

In restricted Ubuntu repo

  http://archive.ubuntu.com/ubuntu/pool/restricted/n/

you can find for example:

nvidia-graphics-drivers-experimental-310/   05-May-2015 12:28


How to install Virtualbox 5.1 on Ubuntu Xenial 16.04

You can download it manually from here.

P.S. I wonder, should it not be in the repo?


You can try Teamviewer. It will allow you to control your Ubuntu from your phone or another PC. Download the Android client from Google Play.
If you would like to set up you own connection, you may download one of the many VNC servers available for Ubuntu. You may want to read this to pick up the one that will suit your needs. There are many VNC clients available for Android, like android-vnc-viewer, for example, so you may choose one to your liking.


No swap space after installing Ubuntu 16.04 LTS

Execute the swapon command. I have a swap file and this is what I get:

$ swapon
NAME      TYPE SIZE USED PRIO
/swapfile file  10G   0B   -1

For another system with swap partition:

$ swapon
NAME      TYPE       SIZE USED PRIO
/dev/sda3 partition  3.9G   0B   -1

Note, you do not need to be root or use sudo


I was facing the same issue as yours right now and i was shocked to not find a single solution. But what did work for me is not using the 'NUMPAD' to enter my password. I logged in instantly by using the numbers above the keyboard. Hope this works for you. Good Luck


How to show the path in the title bar of Files (Nautilus)

Steps I've taken

I looked into the Nautilus preferences just in case you missed something. You know. Just in case.
I looked into the hidden preferences of Nautilus using dconf-editor, in case the option is there but just hidden away.
I searched online for a few minutes for solutions
I glanced at the source code of the version of Nautilus included in Ubuntu 14.04, to see if I could achieve this in 5 minutes with no prior familiarity with the code

Conclusion

Nautilus has no built in option to achieve this, not even hidden ones
You could of course patch and rebuild nautilus to do this for yourself, but you would need some prior experience with C, and give yourself some time to make sure your solution is correct, because the latest tutorial I could find is severely outdated and might not be entirely correct anymore. I concluded that this would take me more than 5 minutes (probably a few hours), so I did not do it.
However, all is not lost, because there exists a fork of Nautilus called Nemo, which is in the repositories (sudo apt-get install nemo) and does exactly what you want.


I recommend you use XAMPP.

It contains PHP, MySQL, phpMyAdmin, and FTP with one click installation.


E: Sub-process /usr/bin/dpkg returned an error code (1) after do-release-upgrade to 20.04 from 19.10

sudo dpkg -i --force-all /path/to/offending.deb

sudo dpkg -i --force-all /var/cache/apt/archives/pop-gnome-initial-setup_3.36.1~1588098421~20.04~520c0fb_amd64.deb

Then sudo apt-get upgrade

Did the trick


Issue with ubuntu and bluetooth mouse and keyboard

Have you tried Blueman?

It has many more drivers for additional devices than the normal bluetooth. sudo apt-get install blueman and see if using that fixes your problem.

I know that using this manager instead of the original has worked to connect my bluetooth keyboard originally designed for my iPad.

Edit: The actual solution:

The Dell KM714 Keyboard no Mouse set are not in fact Bluetooth capable. They are controlled by a wireless USB Dongle that should have come with the product.

If you do not have the USB dongle, you may not be able to use this mouse and keyboard.


Mouse Pointer Not Showing In Skype Screen Sharing

Try upgrading Skype to the recent version 8.63.0.76.


How do I add a line to my /etc/apt/sources.list?

Make a backup copy of your current sources.list file

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

Append new line of text to current sources.list file

CLI

echo "new line of text" | sudo tee -a /etc/apt/sources.list

GUI (Text Editor)

sudo gedit /etc/apt/sources.list

Paste new line of text on new line at end of current sources.list text file in Text Editor.
Save and close sources.list

Don't forget to update in order to use the new repository

sudo apt-get update


Your camera is defective. Assuming that it's a USB camera, the lsusb command doesn't even see it.


Qualcomm Atheros AR9485 Wireless Network Adapter not working on Ubuntu 13.10

Download this driver compat-drivers-3.9-rc4-2-su.tar.bz2 to a folder on your machine.
Go to the folder and unzip the tar file using tar xf compat-dri....
cd into the unzipped file and issue the following commands;

./scripts/driver-select ath9k
sudo make
sudo make install
sudo make unload

Reboot your system.

Hopefully, it works now.


You're executing your script using #!/bin/bash which launches the new bash session invisible for you and changes its directory to $a and then exits. You just don't see it.

To achieve what you want, I've slightly modified your script:

$ cat test.sh
#!/bin/bash
a="/etc/"
cd $a
echo $a

$ chmod +x test.sh

And executed it using a . dot before script (or source keyword). It executes script inside of the current bash session:

Result:

user@ubuntu:~/test$ . test.sh
/etc/
user@ubuntu:/etc$


Issues booting up old Intel 6U tower server

Based on the information you've added to your question, it sounds like you have a Dell PowerEdge R610.
There are a couple of things you'll need to do before installing Ubuntu, and it sounds like you did them initially, but these are the steps:

When booting, enter the RAID controller using Ctrl+R
Press F2 and select "Create New VD" (Virtual Disk). RAID0 is the default, but you can also choose RAID1 and RAID10. RAID5 is not recommended as a boot device for Ubuntu.
Select which physical disks you will add to the raid. The spacebar toggles the selection.
Select "OK" once you have selected all of the disks you wish to add to the virtual disk

Next, the virtual disk will need to be initialised. Press F2, choose "Initialisation", and then "Fast Init". Choose "Yes" when asked to confirm the changes. This process may take a couple of minutes, but now your RAID is ready to go.
Next,

Insert the Ubuntu installation USB stick (or DVD)
Reboot the server
Press F11 to bring up the boot menu

From here you'll see a list of options to boot from. Choose the device containing the Ubuntu installation media.
Now you can follow the steps outlined by Canonical:

Choose your language
Choose your keyboard layout
Choose the installation type
Configure networking
Configure storage
Select devices
Confirm partitions
Confirm changes
Set up a profile

Once done, remove the installation media and reboot the server.
Welcome to the world of server management


Try the following:

copy link
in Rhythmbox, goto "Music" > "New Internet Radio Stream"
paste link
click "add"

Under "Radio"you have now Genre "unknown". You will find your newly added link here.
If you doubleclick it, it will be opened and put under Genre "Jazz Music".

now click on "Jazz Music" Genre.
select your link
press play

Music should start playing.
At least it did here. Using Rhythmboy 2.96 under ubuntu 12.04.


Start VeraCrypt "Portable" with relative path to a profilefolder?

I can't find anything to that effect in the Linux documentation of VeraCrypt. Maybe a symbolic link from ~/.VeraCrypt to a directory on the removable medium suits your needs and can serve as a work-around.

My other idea is to file an enhancement request with the VeraCrypt project to respect the XDG Base Directory Specification and store their configuration files in $XDG_CONFIG_HOME/VeraCrypt instead of the current location. Then you could set the XDG_CONFIG_HOME environment variable of the VeraCrypt application starter to point to a directory on the external storage medium. (Edit: issue report by me)


Try this: it worked for me. I have the same printer and had same issues until I used the terminal command hp-setup.

For more information https://wiki.archlinux.org/index.php/Sane#For_HP_hardware


Check your nvidia settings configuration utility (IIRC nvidia-setting) and look for an overscan option. This sounds very much like overscan.


Maybe you could use the "Intelligent Pinyin" from the ibus-libpinyin package that respects the german keyboard.

Make sure to uninstall ibus-pinyin.

apt-get remove ibus-pinyin
apt-get install ibus-libpinyin


How can I restore default keyboard shortcuts?

It looks like the way keyboard shortcuts are implemented has slightly changed for Ubuntu 13.04
The shortcut settings are saved in the following locations (may be different for 12.10):
org.gnome.desktop.wm.keybindings
org.gnome.settings-daemon.plugins.media-keys
org.gnome.shell.keybindings
org.compiz.integrated

You can find these in the dconf-editor application, then using the "Set to Default" button to reset each desired entry. dconf-editor can be installed at the command line with sudo apt-get install dconf-tools.
Otherwise, you could also try resetting any one of the locations by using the following command in the terminal:
gsettings reset-recursively <insert location>

E.g.:
gsettings reset-recursively org.gnome.settings-daemon.plugins.media-keys`


Dual-Boot Problem with Pre-Installed Windows 8.1 & Ubuntu 14.04

HP UEFI does not allow to boot Ubuntu directly.
The workaround is that: On boot quickly press the F9 key repeatedly. Then a screen will appear showing the various bootloaders available.
If this screen does not appear try Fn+F9, else press escape and you will see a sceen with options to boot from EFI file or choose bootloader.

If the Ubuntu options are not available, boot from a live ISO and check your EFI partition to see if it has a folder named Ubuntu in it.

If the F9 option does work, there will be two options for Ubuntu. You can select any one. One just points to the shim.efi(Secure boot) and the other just points to the bootx64.efi.

Please upvote if it helped.


I am assuming that you are using Ubuntu 18.04 and above.

The gksu program is deprecated for Ubuntu 18.04 and later versions.
An alternative is pkexec, which comes preinstalled with Ubuntu 18.04+.

You can find some more options in this related question.


By using the dconf-editor, you can change the sound theme.

If you had not installed the dconf-editor, you can install it by the following command in terminal.

sudo apt-get install dconf-tools

Type the following in terminal.

dconf-editor

And, Set  theme name  in "org> gnome> desktop> sound> theme-name"

theme name is sound theme directory name. (/usr/share/sounds/theme name )


Building a executable but shared library appear instead

This is really the same issue as discussed in these previous questions:

Impossible to launch graphic executables in nautilus

and the solution is essentially as mentioned in

Disable PIE and PIC defaults in gcc on ubuntu 17.04?

The challenge for your particular situation is how to pass the appropriate compiler/linker options through the MPI compiler wrappers.

On my 18.04 system, with OpenMPI version indicated by

$ mpicc --showme:version
mpicc: Open MPI 2.1.1 (Language: C)

and explicitly selecting gcc/g++ version 5, I was able to get a traditional non-PIE executable using the following command line (broken up with \ line continuations for readibility):

OMPI_CC=gcc-5 OMPI_CXX=g++-5 \
OMPI_CFLAGS=-fno-pic OMPI_CXXFLAGS=-fno-pic OMPI_LDFLAGS=-no-pie \
make mpi

as confirmed using the file command:

$ file spk_mpi
spk_mpi: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=284d76d1ca642cca833b31dfa028a7910e935600, not stripped

If you are using some other MPI implementation, you will need to figure out how to pass the appropriate flags for that.

NB you will probably need to run make clean-all first in order to remove any objects that were previously compiled without the -fno-pic flag.


It's a command line tool, but ffmpeg can do slow motion.  If you don't have ffmpeg installed you will probably have to compile it from source (as far as I know there is not a ppa), but it's not difficult to do and it is worth it because ffmpeg is an excellent tool.

In terminal, you'd cd to the directory with your video that you want to slow down and use the following command:

ffmpeg -i input.mp4 -vf “setpts=(1/<speed>)*PTS” output.mp4

here's a brief explanation of the options and variables:

-i input.mp4 sets the input video.  Note that the format doesn't have to be mp4 and the video can be named anything.

-vf sets the verbosity and forces the format of video.

"setpts=(1/<speed>)*PTS" will modify a piece of the video metadata, the presentation time stanp (PTS), to whatever you tell it to be, relative to the current PTS.  The <speed> part should be replaced with how much you want it slowed down (e.g. '0.1 would slow it down to one-tenth speed; 0.5 would slow it to half speed, etc.).

Specify a different output.mp4 if you don't want to overwrite the original.

I wish I could say I came up with this myself, but it mostly comes from this blog post.


How to check if the kernel version running is the one supported by Ubuntu?

You can check the current kernel version in the repositories by

apt-cache policy linux-image-generic

You can see the kernel version used in the current system by

uname -a

For LTS Ubuntu versions the meta package may be different like

linux-image-generic-lts-vivid for 3.19 kernel in 14.04.3.

For LTS versions you can see all kernel versions by

apt-cache policy linux-image-generic*

For 14.04 you will see this kind of output

apt-cache policy linux-image-generic*
linux-image-generic-lts-utopic:
  Installed: (none)
  Candidate: 3.16.0.49.40
  Version table:
     3.16.0.49.40 0
        500 http://mirror.yandex.ru/ubuntu/ trusty-updates/main amd64 Packages
        500 http://mirror.yandex.ru/ubuntu/ trusty-security/main amd64 Packages
linux-image-generic-lts-vivid:
  Installed: 3.19.0.28.15
  Candidate: 3.19.0.28.15
  Version table:
 *** 3.19.0.28.15 0
        500 http://mirror.yandex.ru/ubuntu/ trusty-updates/main amd64 Packages
        500 http://mirror.yandex.ru/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status
linux-image-generic-lts-raring:
  Installed: (none)
  Candidate: 3.13.0.63.71
  Version table:
     3.13.0.63.71 0
        500 http://mirror.yandex.ru/ubuntu/ trusty-updates/main amd64 Packages
        500 http://mirror.yandex.ru/ubuntu/ trusty-security/main amd64 Packages
     3.13.0.24.28 0
        500 http://mirror.yandex.ru/ubuntu/ trusty/main amd64 Packages
linux-image-generic-lts-quantal:
  Installed: (none)
  Candidate: 3.13.0.63.71
  Version table:
     3.13.0.63.71 0
        500 http://mirror.yandex.ru/ubuntu/ trusty-updates/main amd64 Packages
        500 http://mirror.yandex.ru/ubuntu/ trusty-security/main amd64 Packages
     3.13.0.24.28 0
        500 http://mirror.yandex.ru/ubuntu/ trusty/main amd64 Packages
linux-image-generic-lts-saucy:
  Installed: (none)
  Candidate: 3.13.0.63.71
  Version table:
     3.13.0.63.71 0
        500 http://mirror.yandex.ru/ubuntu/ trusty-updates/main amd64 Packages
        500 http://mirror.yandex.ru/ubuntu/ trusty-security/main amd64 Packages
     3.13.0.24.28 0
        500 http://mirror.yandex.ru/ubuntu/ trusty/main amd64 Packages
linux-image-generic:
  Installed: (none)
  Candidate: 3.13.0.63.71
  Version table:
     3.13.0.63.71 0
        500 http://mirror.yandex.ru/ubuntu/ trusty-updates/main amd64 Packages
        500 http://mirror.yandex.ru/ubuntu/ trusty-security/main amd64 Packages
     3.13.0.24.28 0
        500 http://mirror.yandex.ru/ubuntu/ trusty/main amd64 Packages
linux-image-generic-lts-trusty:
  Installed: (none)
  Candidate: 3.13.0.63.71
  Version table:
     3.13.0.63.71 0
        500 http://mirror.yandex.ru/ubuntu/ trusty-updates/main amd64 Packages
        500 http://mirror.yandex.ru/ubuntu/ trusty-security/main amd64 Packages
     3.13.0.24.28 0
        500 http://mirror.yandex.ru/ubuntu/ trusty/main amd64 Packages

In your case kernels 4.0.1-040001, 4.0.0-040002 and 3.19.0-031900 are unsupported.

The supported version format is like 3.19.0.28-generic.

3.19 is the mainline kernel version. 28 is the build number. generic is a flavor.

You can also install synaptic and see there the details of installed kernel packages and also remove unneeded kernel images and headers.


sudo does not work the way you envision.

You can configure sudo to allow root access to commands, such as gedit, but not specify files. So if you give a user root access to gedit, the user can edit any system file.

Example, for the user joe

joe     ALL = /usr/bin/gedit

would grant root access to gedit , but the user could then access and edit any file.

In addition, by default, the root account of Ubuntu is locked and sudo uses the invoking users password rather then a root password. Sudo is however highly configurable so you do not have to access root, you can specify an alternate user with the -u flag. You may then configure sudo to use the target password, root or otherwise. You would have to set a root password.

See http://www.gratisoft.us/sudo/sudoers.man.html and https://help.ubuntu.com/community/RootSudofor details

I think you will want to change ownership on the file in question so the file is owned by root:some_group, add the user to some_group and allow group edits.

Example - How to avoid using sudo when working in /var/www?

Thus gedit does NOT run as root, and the user can edit the file with group permissions.

If you need finer grain control use acl.

If you really wish to confine a use use apparmor.


Power management failure and /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

The problem is that you have changed permissions of files in /usr/bin. Some of these files need setuid bit (the file is run under the account of the file's owner which is root in /usr/bin) to work properly but by setting write bit to anyone else than the owner, this would create a massive security hole (anyone could change the content and run it as root), therefore setting the write bit removes the setuid bit.

Unless you have btrfs with APT snapshotting, it is quite hard to determine what were the original permissions of the files in /usr/bin, you would basically need to reinstall all packages and it still may not set everything correctly. Therefore the easiest solution here is to reinstall the system as a whole.

If you do have btrfs with APT snapshotting (should be automatically enabled if you use btrfs for your system) and /usr or /usr/bin is not on a separate partition, it is possible to revert to an older snapshot where this change was not done yet. This can be done with the command apt-btrfs-snapshot in rescue mode (selected in GRUB):

# List all available snapshots
apt-btrfs-snapshot list

# Revert to a selected snapshot
apt-btrfs-snapshot set-default @apt-snapshot-YYYY-MM-DD_HH:mm:ss

# Reboot to load the old system
reboot


Civilization 6 on Ubuntu 18.04 missing libopenal.so.1

Install libdevel

sudo apt install libdevel libopenal1

this installs Openal audio API needed for Civilization 6 :)


From the GUI, how can I tell which version of Xubuntu I'm running?

Use xfce4-about
From Xubuntu 21.04 onward
Press ALT + F2 > write xfce4-about > Enter

Older versions of xfce4-about only report your xfce version and not the OS version.
Source: XFCE 4.16 release tour


No mobile broadband connection on ubuntu 11.10

Problem was with that ALCATEL modem, with new release of ubuntu (12.04) it all works as expected. So I suggest upgrade for anyone who have this problem.


executing xinput from a script in sleep.d

Finally got it to work ! It appears running xinput from a sleep.d script requires some tweaks. Here is what I did. Hope it will be of some use to someone.

So I have one script called 40mouse_slow I put in /etc/pm/sleep.d. The 40 is used for ordering. On resume, low numbers start last. User scripts should use 00 to 49. Make sure the script has execution rights. Here is the script :

#!/bin/sh
case "$1" in
    resume|thaw)
        /home/yannick/scripts/mouse_slow.sh &
    ;;
    *)
        # Nothing.
    ;;
esac

It only says the script /home/yannick/scripts/mouse_slow.sh should be launched in the background when computer resumes. I tried launching it not in background, but that broke resuming (network didn't work, for example).

Here is /home/yannick/scripts/mouse_slow.sh. Also make sure it has execution rights :

#!/bin/sh
export DISPLAY=:0.0
id=`su yannick -c "xinput" | grep 'PID:400a' | cut -c58-60`
su yannick -c "xinput set-prop $id 'Device Accel Constant Deceleration' 2.5"

The second line is just to find the id of my mouse. As for the two other lines, they ilustrate the two things I found had to be done to make xinput work when it is called from a script in sleep.d :

DISPLAY must be set and exported
the user executing xinput must be the user running X, not root.


Do nothing on laptop close not available in Ubuntu 19.04

Had the same problem and this link helped:

In file /etc/systemd/logind.conf change the line:

#HandleLidSwitch=suspend

To:

HandleLidSwitch=ignore

Either run: systemctl restart systemd-logind.service or reboot.

In my case I had to reboot before this worked.

This still works on Ubuntu 19.04


Boot op your Ubuntu CD/USB start the installer, and when asked how to installer, choose Install next to Windows 10. The Ubuntu Installer will automatically search the os that is installed on your System. – but one thing both os must be on same mode i mean uefi or legecy


ubuntu 18 hibernation using the power button

Use the config on the ARK wiki and its debian version here. Then, systemd would start using s2disk (pm-hibernate uses s2disk) to hibernate. This will getsudo systemctl hibernate working, and dependent features like hibernate on Power button press will automatically work.


identify desktop file of application that appears multiple times

I ended up manually searching for desktop files in the terminal and then renaming them so as to break the launcher icon. Once identified, I was able to delete it.

# export a list of all desktop files
sudo find / -name '*.desktop' > desktop_file_list

# read and grep each one looking for ( in this case ) 'Hangouts'
while read p; do if [ -f "$p" ] && grep -q Hangouts "$p" ; then echo "$p"; echo; cat "$p"; echo; echo; fi ; done < desktop_file_list

# rename
sudo mv /path/to/desktop/file.desktop /path/to/desktop/file.desktop.bak

Then try opening the program in the start menu or whichever manner. In my case, using Gnome 3, hit super and then type the name of the program.

If it is the wrong file, repeat the sudo mv command swapping .desktop with .desktop.bak


Wayland is coming back as the default for Ubuntu 21.04, but I've long since switched to Espanso as my text-expansion tool.


Get the next release code name via command line

Update Manager parses meta-release* files from http://changelogs.ubuntu.com to determine if a new release is available for upgrade. We can use http://changelogs.ubuntu.com/meta-release-development for this purpose:

wget -qO - http://changelogs.ubuntu.com/meta-release-development |
  awk '/^Dist:/ {print $2}' |
  awk "p{print; exit} /$(lsb_release -sc)/{p=1}"

This should print nothing if you are on the latest release and the next release name hasn't be published yet.


Hey there what did you expect when you've dd iso file to fat32 filesystem? I'm not sure about GParted error. But in any case you can just dd beginning (first 1024 bytes i guess) of your /dev/sdb

sudo dd if=/dev/zero of=/dev/sdb bs=512 count=2

and unplug/plug back your drive and run GParted, try to create new partition and format it again.


Unable to access Microsoft Office 365 on Ubuntu?

Try disabling IPv6

https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can

set 'network.dns.disableIPv6' to 'true'

(Thunderbird: preferences: advanced: config editor)


Ran auto-updates on Ubuntu 12.04 and grub2 lost Windows 7

Line 795 of your Boot-Repair log, we can see the blkid command returns nothing. You can mark yourself "Affected" by this bug: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1216688

Running Boot-Repair from a live-disk (eg from Boot-Repair-Disk) may solve the issue. If not, indicate the new URL that will appear.


lost windows while dual booting with ubuntu

Dont worry. Use some windows installation medium or rescue medium, like rescue-CD, rescue-USB-stick or Universal Boot CD to boot into Windows (save mode) and reinstall the windows 10 loader. See here how to proceed.


Avahi-dnsconfd new pre-removal script throws an error when updating

From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768620

sudo systemctl disable avahi-daemon
sudo apt-get upgrade
sudo systemctl enable avahi-daemon


Try this

sudo chmod -R a+rwx /usr/lib/php/20190902/mysqli.so


Unity7 does not start up anymore after Update to 16.04

Okay, so I managed to fix this problem.
Restarting OpenGL and its dependencies, aswell as Unity with the compizconfig-settings-manager did the trick.

I found this method here: https://askubuntu.com/a/76951/620612

Further testing revealed, that trying to switch tasks with the taskbar get unity to get more segmentation faults, making it flicker temporarily. It stops when I click somewhere else except the task bar though. Any thoughts?


This is a common problem. To fix this you have to open the system monitor which comes preinstalled in ubuntu. Then in it scroll down and find the apps which are not opening. Then right click the application and then click on restart program. If this doesn't fix your problem then reinstall the programs.


Why does my Xubuntu LibreOffice look ugly?

By investigating with Synaptic and trial & error method I came up with the solution:

sudo apt-get install libreoffice-style-tango libreoffice-gtk libreoffice-gtk3

I have no idea why these packages were missing. I hope this helps someone.


For the first one, you just may need to edit the settings:

If that fails, you may need to install the programs to thumbnail the files:

apt-get install....

Probably atleast one of these - at a guess (EDIT: this was for Ubuntu 13.04/10 - you can search here for thumbnailer packages - e.g. for 16.10):

gnome-sushi - file previewer
libnautilus-extension1a - libraries for nautilus components - runtime version
nautilus-actions - nautilus extension to configure programs to launch
libthumbnailer-dev - development files for thumbnailer
libthumbnailer0 - generate thumbnails from files
gnome-exe-thumbnailer - Wine .exe and other executable thumbnailer for Gnome
gnome-raw-thumbnailer - RAW file thumbnailer for GNOME
ooo-thumbnailer - thumbnailer for OpenOffice.org documents
kde-thumbnailer-deb - KDE plugin to show thumbnails of Debian package files
kdegraphics-strigi-plugins - transitional package for kdegraphics-related plugins
kdegraphics-thumbnailers - graphics file format thumbnailers for KDE SC
ffmpegthumbnailer - fast and lightweight video thumbnailer
ffmpegthumbnailer-dbg - debugging informations for ffmpegthumbnailer
ffmpegthumbs - video thumbnail generator using ffmpeg

For your second problem, remove this line from /usr/share/applications/nautilus.desktop (The launcher file for Nautilus - EDIT: For newer versions of Ubuntu use org.gnome.Nautilus.desktop instead of nautilus.desktop)  :

OnlyShowIn=GNOME;Unity;

You can edit it using nano for the entire system:

sudo nano /usr/share/applications/nautilus.desktop

or preferably for the current user:

cp /usr/share/applications/nautilus.desktop ~/.local/share/applications/
nano /usr/share/applications/nautilus.desktop


Should I install via alien or just convert and then use dpkg?

IMO you should be very careful with alien as the packaging of say .rpm and .deb are very different. Alien can sometimes convert packages, but sometimes there can be significant problems and sometimes say Fedora libs conflict with Debian / Ubuntu libs. Also your converted package can overwrite system files without warning (obviously as it is installing packages). Last, pre/post install scripting is somewhat different from .rpm and .deb and Alien can not always convert the scripts.

IMO you are much better off either installing from source code using checkinstall

https://help.ubuntu.com/community/CheckInstall

Although occasionally checkinstall can have similar issues.

Personally I read the README and usually just compile form source into /usr/local

./configure --prefix=/usr/local
make
sudo make install


Plain vanilla Ubuntu will run just fine on that machine.  Battery and performance are at least as good as with Ubuntu Gnome (despite what you may have read in a forum on the Internet).

Once you're used to Unity you'll find the 1990s-style desktop UIs are clunky and hard to use.


How many virtual adapters can be configured with netplan on Ubuntu 20.04?

Netplan is not creating these virtual interfaces; ethernets is used for ethernet devices exposed by the kernel.  If you have vN ethernet interfaces this is probably a function of your network card.  Either your card or your kernel driver may have a limit of 8.


SMPlayer and Gnome Player (mplayer in fact) cannot play (crash imediatly) in Lubuntu  . What can I do?

What you experience is a known bug. Lubuntu has mplayer2 installed by default, which is a fork of mplayer. Try removing mplayer2 and installing 'mplayer` instead, in other words, something like the following.

sudo apt-get purge mplayer2 && sudo apt-get autoremove

sudo apt-get install mplayer gecko-mediaplayer gnome-mplayer


Tried doing dual boot but now I can't access either Windows or Ubuntu

You've dug a bit of a hole for yourself here. You basically need to convert your disk from an MBR format to a GPT one as you now have an ESP boot-up which will only work with Win10 on a GPT disk. Trouble is if you convert this from Live Ubuntu using Gparted you wipe your disk. And as you can't boot into Win10 to do this where you won't have to wipe your disk you're caught between a rock and a hard place. However there is a solution without wiping your disk.

First you need to backup your data From Live Ubuntu mount sda2, which I presume is your Windows C:\ drive. The command is sudo mount /dev/sda2 /mnt. Then navigate to /mnt (by Nautilus) and find your data files/folders and copy them over to an external drive. When done, you'll need a PE version of Windows. If you made an installation disk/USB drive for Win10 you're in luck. If not, you'll need to make a Win10 Recovery disk which can also be done on a USB drive by borrowing someone's Win10 machine and make one from there. This will enable you to boot into the USB drive and convert your disk to GPT externally without loss of data using Window's GPTGEN command.

If that all seems a bit daunting, the easier but longer method is to convert to GPT using Gparted, switching from BIOS Legacy mode to UEFI then re-installing Win10 and Ubuntu as your disk gets wiped during the conversion. But that will take a lot longer  with all the updates and possible app re-installs.


Why am I getting the terminal error "try apt-get -f install"?

Before anything, try

sudo ldconfig

Just to get that out of the way so we know it's not that.

Then, try these commands, if you normally use sudo su then do not execute that command and do type sudo before every other command listed. If you normally typed sudo apt-get -f install, then execute these commands as listed.

sudo su
apt-get update
apt-get autoremove
apt-get autoclean
apt-get upgrade

And even if the last command fails try

apt-get -f install

For some reason using sudo su can be different than using sudo in terms of your $PATH.


Are you sure if you have upgraded to 10.10 and not to 11.10? I assume it is 11.10 as the question is tagged by 11.10.
Ubuntu 11.10 has Gedit3 on board and this one requires different plugins, placed into different directory ~/.local/share/gedit/plugins/
Please visit https://live.gnome.org/Gedit/Plugins for available plugins. The one I think you are interested is here https://github.com/Quixotix/gedit-restore-tabs


"Failure to download extra data files" after installing ttf-mscorefonts-installer

Solution 1:

Connect to the internet and run this command below, to fix the error

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

This will reinstall the package, and download the data files needed to configure the package. Wait for some times to finish downloading. The download size is approximately 4MB.

Solution 2:

Connect to the internet and go to this sourceforge link and download all the .exe files there except wd97vwr32.exe file.
Copy those files in your home directory.
Run this command to configure the package

sudo dpkg-reconfigure ttf-mscorefonts-installer

This will ask you whether you have downloaded microsoft fonts or not. Use Tab to select OK, and hit Enter.
Then again you will be asked to enter the directory name for the downloaded files, Type the location of your home directory and  use Tab to select OK, and hit Enter.

For example, if your login name is anwar, the location will be /home/anwar, because I copied the downloaded files there.

Done! you have successfully configured and setup the package.

Note: If the files cannot be downloaded due to 404 error, check the "Can't download?" section

What was the cause of the problem?

This package ttf-mscorefonts-installer is used to download Microsoft's font files (those files are made freely available by Microsoft) from the Internet and install them. Since you must accept the EULA of Microsoft to use those font files, those fonts cannot be included in the package like other Free (Free as freedom) packages.

The problem was, somehow you get disconnected from Internet before downloading those files. So, is the message asking to download more data files.

Can't download?

If you can't download the files due to 404 errors, I have prepared a tar.gz archive of the downloaded contents. You can download it from this dropbox link and extract it to a folder. If you extract it to /tmp/, you'll type that directory after the dpkg-reconfigure command in Solution 2.


Curl: no URL Specified (Even though there is a URL)

You have substituted -o (lower case) in place of -O (upper case), causing the URL to be interpreted as the name of an output file. From man curl:
   -o, --output <file>
          Write  output  to  <file> instead of stdout.

versus
   -O, --remote-name
          Write output to a local file named like the remote file we get.


Receiving error while trying to debug in QtProject

On Ubuntu versions after 10.10 you'll run into this in more related applications, such as QtCreator. It is a security feature of Ubuntu that prevent the debugger to attach to processes not owned by him.

This is filed as a bug #3509 against QtCreator. To work around this issue, do this:

temporary solution (won't survive a reboot):

 echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope

In a file /etc/sysctl.d/10-ptrace.conf (should already exist), change the value of kernel.yama.ptrace_scope to 0 and then reload the configuration: sudo sysctl -p.

I'm explicitly posting the temporary solution, as you probably don't want to keep this feature disabled on a regular machine for security reasons.


(Ubuntu 12.04 LTS) PHP 5.4 offline install

Download latest version of PHP from:
Official PHP download page

And extract the file usually in tar format, see the INSTALL file and follow the step by step instructions for installation of PHP.


Repeated warning about updating my Flash player

I know the problem. Have you tried yet if this solution works for you?
How do I fix Flash issues?

Flash Aid did the trick here, I guess new versions of Firefox don't like old versions of Ubuntu :p


which snap command is eqivalent to `apt depends ` in apt

tl;dr: there's no such thing, because snaps don't have dependencies.

Snaps don't install dependencies if they're not already installed. They literally bundle them along with the rest of the snap. For example, if you have PHP 7.1 installed as a Debian package, and you install the Nextcloud snap, the Nextcloud snap will be using PHP 7.3 because it includes it inside the snap. In fact, it's confined to the point of not even being able to find out if you have PHP already installed or not, much less have the ability to install more stuff on your host.

Why do they work this way? One of the reasons is so that snap developers can rest assured that you're using exactly what they tested. To re-use the Nextcloud snap example, those maintainers can rest a lot easier releasing updates knowing that it's impossible for any of their users to be using anything other than PHP 7.3. If they had to make sure they tested it against every possible PHP version, releases would be a lot slower and a lot more risky.

Now, time for a little caveat. While snaps don't have traditional dependencies, it's possible for snaps to share content between each other using a special content interface. In that sense it's possible to create snap A that doesn't work properly unless a snap that's providing the content it requires is also installed. However, that doesn't imply that snap A depends on snap B, it implies that snap A depends on something providing it with a particular set of content; that might be snap B, but could also be snap C. For the most part, you can completely ignore this caveat and say "snaps bundle their dependencies."


Unallocated space doesn't show in ubuntu installation (dual boot/ two drives)

I do the same thing. My notebook has a 128GB SSD and 1 TB Hard drive. After installing Windows on the SSD and Ubuntu on 200GB of my 1 TB drive I had the same issue with the non partitioned space. I went in to ubuntu and installed Gparted from the software center. I used Gparted to partition and format the free space in NTFS and I can now read and write from both Windows and Ubuntu.


Strangely no one of the shared folders appear in the smb.conf file,
  but the public folder is shared correctly.

Because you created the share from your file manager. Your samba shares will be listed in the output of this command:

net usershare info --long

In order for an smb client to access a Linux samba share 3 things are required:

[1] The samba client user must have permissions to access the samba share.

If you set the share to allow guest access then credentials are not required. If you created a private share but didn't create credentials you would get an error but not a "folder does not exist" error.

[2] The Linux permissions of the object that is shared must be consistent with how the samba share is set up.

It sounds like you did that part. If you didn't you would get an error but not a "folder does not exist" error.

[3] The path to the shared object must allow the smb client user to traverse parent folders to get to the shared object.

This is consistent with a "folder does not exist" error. What is the path to the shared folder? Is it /media/username/data?

If it is change the mount point to someplace else like /media/data ...

OR do something like this in smb.conf: Cannot access shared floder on ubuntu from windows 10 meanwhile I have access to default Public folder


I would like to install SAMBA on my UBUNTU desktop

sudo apt-get install samba

That will install SAMBA.  To use it, read up on

man samba

after you install it.  Alternatively

system-config-samba

will let you configure SAMBA shares.


Difference between using Ubuntu Desktop and Ubuntu Server?

Well... generally speaking, the two distributions differ in that one has a graphical environment, and the other has not.
Also I guess, the kernel is compiled with less modules and optimized for other work. (pointing Ubuntu server)

The server version is more light than the desktop.


Which proprietary video driver do I need for a VTK Rad7K 64P graphics card?

Your card is Radeon 7000, it's an old card (do not confuse it with the Radeon HD7000, which is a much newer card). Your card has been declared obsolete by ATI/AMD and is not supported by the proprietary drivers any more. The good news is that it should be supported by the open source drivers. See if hardware acceleration is enabled (from that page):

  Testing The Driver

  To look for boot messages/errors, check

  dmesg | egrep 'drm|radeon'

  To see your OpenGL information, you can run the commands below. Make
  sure your OpenGL renderer string does not say "software rasterizer" or
  "llvmpipe" because that would mean you have no 3D hardware
  acceleration:

  sudo apt-get install mesa-utils LIBGL_DEBUG=verbose glxinfo
  LIBGL_DEBUG=verbose glxinfo

If it is enabled, and your computer is still slow, then that is probably due to it being old - Radeon 7000 is 14 years old now. Ubuntu (with Unity desktop) is too much for such a system, I suggest trying Xubuntu or one of the other lightweight distributions.


How do I remove the shutdown button only on the login screen?

Even if you cannot hide the buttons, you can configure your system so that the lightdm user does not have permissions to shutdown or restart the system. Since the greeter runs as the lightdm user, this should solve your issue. Create two new files in /var/lib/polkit-1/localauthority/50-local.d, call them disable-lightdm-shutdown.pkla and disable-lightdm-restart.pkla and apply the contents as below. Note: You can also stick these into one file.

Shutdown:

[Disable Shutdown]
Identity=unix-user:lightdm
Action=org.freedesktop.consolekit.system.stop
ResultAny=no
ResultInactive=no
ResultActive=no

Restart:

[Disable Restart]
Identity=unix-user:lightdm
Action=org.freedesktop.consolekit.system.restart
ResultAny=no
ResultInactive=no
ResultActive=no


How to remove nvidia driver from ubuntu 16.04 kernel client and kernel module, or get kernel clent & module to use the same nvidia driver?

I was able to resolve my issue by performing the following steps:

First reinstall the nvidia-418 repository graphic driver.
sudo apt-get install nvidia-418

During the installation, I noticed that nvidia-418.26 driver was being installed.

I moved the entire /lib/modules/4.18.0-17-generic/updates/dkms folder to my home directory backup folder. This was to make sure all old .ko files were removed.
sudo mv /lib/modules/4.18.0-17-generic/updates/dkms/nvidia* /home//backup
I regenerated the .ko files for the installed driver using
sudo dpkg-reconfigure nvidia-418

It created a new dkms folder with the relevant nvidia kernel modules. I also checked their version using command:

sudo modinfo /lib/modules/4.18.0-17-generic/updates/dkms/nvidia.ko
sudo modinfo /lib/modules/4.18.0-17-generic/updates/dkms/nvidia_drm.ko
sudo modinfo /lib/modules/4.18.0-17-generic/updates/dkms/nvidia_modeset.ko
sudo modinfo /lib/modules/4.18.0-17-generic/updates/dkms/nvidia_uvm.ko

Their output showed that they were for version 418.26. Great, this confirmed that the kernel client and kernel modules were referring to the same NVidia driver version.
(Optional but recommended to ensure apt-get works correctly) Uninstall and reinstall the driver
sudo apt-get remove "nvidia"
sudo apt-get install nvidia-driver-418
I rebooted the system with
sudo reboot

Adapted from https://devtalk.nvidia.com/default/topic/525877/linux/api-mismatch-means-ubuntu-can-39-t-boot-i-can-39-t-fix-i-please-help-/1


Get a copy of wmctrl, it is a simple & single command package

apt-get download wmctrl
mkdir wmctrl_deleteme
dpkg-deb -X wmctrl_1.07-7_amd64.deb wmctrl_deleteme/
cd wmctrl_deleteme/usr/bin/

Better to put it in ~/bin for easy use.
Check it those windows are managed by WM

./wmctrl -l

If it they are listed, try this option (man wmctrl)

   -R <WIN>
          Move the window <WIN> to the current desktop, raise the window, and give it focus.

Either using window title or id, Examples:

./wmctrl -R Home
./wmctrl -i -R 0x02e00238


The name for this type of procedure is OCR (Optical Character Recognition).
That link also offers a couple of choices:

gocr - A command line OCR
fuzzyocr - spamassassin plugin to check image attachments
libhocr0 - Hebrew OCR
ocrad - Optical Character Recognition program
ocrfeeder - Document layout analysis and optical character recognition system
ocropus - document analysis and OCR system
tesseract-ocr
cuneiform - multi-language OCR system

And it suggests that Tesseract (very old tutorial) is the better option of these. So give it a try.


can i install ubuntu on my laptop (dell inspiron 14z-5423)

In Windows exist one option to disable hardware acceleration in intel software, after that the instalation will recognize the partitions, you can do it just running windows, BIOS no!!!!


What you are trying to do is certainly possible and done in the development industry often. This makes it much easier to manager large amounts of users and keep them up to date and using the exact same development tools.

Usually the applications and associated libraries are installed on a network mounted filesystem. The directory containing the executables is then added to the user PATH in their .bashrc or .profile.

These applications in this shared filesystem are hand built and installed in the specific shared location. I personally have not tried using a package manager for installations to a specific directory, it may be possible with some research.

Usually these tools are executed via the command line. If so inclined you could create shortcuts and application menu entries to get the full native experience.

I don't see why you couldn't use a local partition instead of a network mount. The overhead of all this might be a little over kill for just one user though. As previously mentioned, an application installation may not exist in one specific location with a single binary. You will have to carefully make sure all dependencies can be resolved from within that shared location.


Ubuntu doesn’t load after install NVIDIA graphic drivers

Sometimes installing NVIDIA drivers causes problems with the xorg.conf file. You may want to rename /etc/X11/xorg.conf (or remove it). Then you´ve to restart your system. At boot time Ubuntu will create a new xorg.conf.


Flash player is completely dead for all operating systems as of 2021.
Install the latest version of flash player
These instructions will install the latest version of flash player for Chromium and it will also be updated automatically. In addition to installing flash player for Chromium, it will also install/reinstall Adobe flash player for Firefox, and it will also be updated automatically.
To install the latest version of flash player search the Dash (in Ubuntu releases before 17.10) or the Show Applications dashboard (in Ubuntu 17.10 or later) for Software & Updates and open the Software & Updates window. Click the Other Software tab in the Software & Updates window, and put a check mark in the checkbox to the left of where it says: Canonical Partners.

Software & Updates in Ubuntu 17.10
Click the Close button to close the Software & Updates window.
Open the terminal and type:
sudo apt remove pepperflashplugin-nonfree # remove pepperflashplugin-nonfree if it's installed
sudo apt update
sudo apt install adobe-flashplugin
sudo apt install browser-plugin-freshplayer-pepperflash # 16.04 and later

Original answer
Don't use the instructions under this heading anymore because they are obsolete. Follow the updated "Install the latest version of flash player" instructions instead.

I found something that says Google's Chrome Browser should do the job (using a "pepper-based version"), and for Chromium there is an ppa.

There is no need to add a PPA to your software sources to install Pepper Flash Player 15 in the latest version of Chromium web browser from the Ubuntu Software Center.
In Ubuntu 14.04 and onward, Pepper Flash Player can be installed using the Ubuntu Software Center.
If a more recent version of Pepper Flash Player has been released and you want to update Pepper Flash Player to the latest version, you can do this from the terminal using the following command:
sudo update-pepperflashplugin-nonfree --install

Pepper Flash Player cannot be updated with the following command anymore on 32-bit OSs since Google ended support for Chrome on 32-bit Linux in March, 2016. If you are using Ubuntu 32-bit were using Ubuntu 32-bit before March, 2016, you can update Pepper Flash Player to the latest version from the terminal using the following command:
sudo update-pepperflashplugin-nonfree:i386 --install

Either of these two commands will download the latest version of Google Chrome (the file is larger than 40MB) and then update only the Pepper Flash Player with the more recent version of Pepper Flash Player that is bundled with Google Chrome without installing Google Chrome.
If updating Pepper Flash Player to the latest version fails with an error like this:
ERROR: failed to retrieve status information from google : W: There is no public key available for the following key IDs:
1397BC53640DB551

It happens because Google changed its signing key. To fix it run the following commands:
gpg --keyserver pgp.mit.edu --recv-keys 1397BC53640DB551
gpg --export --armor 1397BC53640DB551 | sudo sh -c 'cat >> /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt'

...and then try to update Pepper Flash Player to the latest version again.


WARNING:root:could not open file '/etc/apt/sources.list.d/select-editr.list' on Ubuntu 16.04

File a bug @ Apt Team

The Man pages says edit-sources is a WIP

In the above link there's an e-mail and other related links for the APT Team.


You can just remove the search box. The address bar should have the same behavior (auto-search).

If it does not, you can try changing the keyword.URL setting.


Virtualbox on Ubuntu 19.04 running kernel 5.2.5 : Kernel driver not installed (rc=-1908)

Posting my own answer, thanks to Pilot6. I followed this guide to install kernel version 5.2.5. Using this guide, I did not install the generic version of the headers, which are needed by VirtualBox (see point 1), but the "normal" headers. Manually installing the generic headers from here fixed my issue.


Unity stop working after disk (or drive) error

Problem fixed:
http://ubuntuforums.org/showthread.php?t=1779234&page=2
For some reasons, my ubuntu installed nvidia by itself. Unity works after I removed nvidia. Thanks for your help guys.


Ubuntu Upgrade from 16.04 to 18.04 failed

Restore a backup you made so you get back to 16.04.
Use the 18.04 live session to install 18.04 without formatting. This should not touch your personal data. If anything does go wrong you could also ...
Reinstall with formatting using a 18.04 installer. Then restore the backup you made of the personal data.

If there is no backup you could use a live session to extract your personal data from the disks and put them on an external disk. Do detach it safely before installing so there is no connection to it.


I just ran

  sudo apt-get update

and everything became a-okay.


GLib-GObject-WARNING: GtkToplevelAccessible in Ubuntu 18.04

Solution: upgrade to openjdk-11 by this command in terminal:

sudo apt install openjdk-11-jdk

I also, on 18.04, got the same warning while using javax.swing on openjdk 8 version "1.8.0_242" but if I upgraded to the latest openjdk11 (currently version "11.0.6") then I got no warning with the same source code. So it seems to be a bug related to the javax.swing implementation in openjdk8.

If you need to stay on Java 8 I have not found any solution but to stay on 16.04...


cdo: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

Thank you @steeldriver for pointing it, I was confusing library names with package names. I used sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 this and was able to successfully run CDO.


Can I create a proprietary application using Qt?

Yes.
"The main difference between the GPL and the LGPL is that the latter allows the work to be linked with (in the case of a library, 'used by') a non-(L)GPLed program, regardless of whether it is free software or proprietary software.
Source:Wikipedia


Lenovo t440 touchpad two finger click on Ubuntu 16.10

You might not like the answer, but it involves removing libinput, a replacement for the synaptics driver. This slightly breaks Ubuntu, but is a viable work-around until the libinput team implements the two-finger tap functionality: https://www.reddit.com/r/linux/comments/4tr0ji/libinput_is_done/d5jx8g2

sudo apt remove xserver-xorg-input-libinput
sudo apt install xserver-xorg-input-synaptics

Then restart.

Since Gnome depends on libinput, the touchpad system settings will be missing configuration options for the touchpad and an apport error will be thrown during each login. To alleviate those problems:

synclient HorizTwoFingerScroll=1
synclient VertScrollDelta=-111
synclient HorizScrollDelta=-111

sudo apt remove apport

The synclient commands can be placed in the .profile file to automatically apply the touchpad changes when logging in. The ScrollDelta commands enable "Natural Scrolling", i.e., reverse the scroll direction by adding a minus to the coefficient.


Save layout/session with working directories

According to this article, a Ruby gem called teamocil seems to do exactly what I was asking

https://blog.shameerc.com/2014/05/better-productivity-with-tmux-and-teamocil

I summarize the essential parts here to preserve the content:

sudo gem install teamocil

Most probably, you will have different workflows for office and personal projects. Teamocil lets you to create predefined configuration for each case and you can setup your entire workspace just by launching the teamocil. You can create the teamocil configuration like ~/.teamocil or ~/.teamocil/office.yml, ~/.teamocil/personal.yml, etc.
Say for example, when I start my work at office, I'll first move to my projects folders and make an update from version control systems. In some other terminals I'll connect to different servers, and so on. With Teamocil, I'll create a configuration file office.yml for office with $ teamocil --edit office and add the following content

session:
  name: "Office"
  windows:
    - name: "Local"
      root: "~/Workplace/office"
      layout: tiled
      panes:
        - cmd: ["ls"]
          focus: true
        - cmd: ["cd application; svn up ."]
        - cmd: ["cd monitor; git pull origin master"]
    - name: "Remote"
      root: "~/Workplace/office"
      layout: tiled
      panes:
        - cmd: ["ssh -i prodkey.pem user@prodserver1.com"]
          focus: true
        - cmd: ["ssh -i testkey.pem user@testserver.com"]
        - cmd: ["ssh -i devkey.pem dev@devserver.com"]

To launch this, first start a tmux session and from inside the tmux session run,

$ teamocil office


It is likely a problem with BIOS Legacy USB support. Check to see if your BIOS has the necessary support.


Viewing Ubuntu command line in the web browser

It is possible, but you'd need a web server set up to serve an SSH session through a webpage using something like ShellInABox: https://github.com/shellinabox/shellinabox

That type of setup seems unnecessarily complicated to me, and probably presents new security holes that you wouldn't otherwise have on your server.

A much easier way to see your server's terminal would be to use a Windows program like PuTTY: http://www.putty.org/ or even the Google Chrome extension Secure Shell: https://chrome.google.com/webstore/detail/secure-shell/pnhechapfaindjhompbnflcldabbghjo which both use your server's standard SSH software.


Open a terminal by either pressing CTRL + ALT + T or by pressing your windows(super) key and searching for terminal. Then simply use this to install: sudo apt-get install nmap


How to rsync exclude directory and subdirectories Multiple

Can you try this command?
rsync -avPh /home/admin/web/domain.com/public_html --exclude={'admin/data/conversion', 'admin/smarty/cache', 'contents'} ubuntu@000.00.00.00:/home/ubuntu


What package do I install to use Oxygen in Qt4?

with the release of kde SC 4.8 now you can install the oxygen style to use with qt or kde apps without installing the whole kde base, you can install it with

sudo apt-get install kde-style-oxygen

You need to add the kubuntu backport repository to get the last version of kde.

The above steps works for an ubuntu 11.10 installation. Still searching if it is possible to install kde 4.8 in ubuntu 11.04


Usernames containing spaces are not allowed by default on Ubuntu, so this method should be robust:

who | cut -d ' ' -f 1 | while read user; do for gid in $(id -G "$user"); do [ $gid -eq $(id -g) ] && printf '%s\n' "$user" && break; done; done | sort -u

who: prints the list of currently logged in users;
cut -d ' ' -f 1: prints the first space-separated field of each line;
while read user; do for gid in $(id -G "$user"); do [ $gid -eq $(id -g) ] && printf '%s\n' "$user" && break; done; done: for each user, checks if one of the group ids of the current user is the same of the user running the command; if it is, prints the user;
sort -u: sorts the users and removes potential duplicates.

% whoami
user
% who
foo      tty1         2016-01-27 16:49
user     tty2         2016-01-24 21:26 (:1)
user     pts/2        2016-01-27 16:33 (:1)
user     pts/4        2016-01-27 16:48 (:1)
% getent group user
user:x:1000:
% who | cut -d ' ' -f 1 | while read user; do for gid in $(id -G "$user"); do [ $gid -eq $(id -g) ] && printf '%s\n' "$user" && break; done; done | sort -u
user
% sudo usermod -aG user foo
% who | cut -d ' ' -f 1 | while read user; do for gid in $(id -G "$user"); do [ $gid -eq $(id -g) ] && printf '%s\n' "$user" && break; done; done | sort -u
foo
user


For where you're actually providing the dependency, I'd use checkinstall to do the installation. checkinstall basically replaces make install and generates a proper .deb package and then installs that. Not only does that allow you to remove or upgrade the package in a better way (when the time comes), it satisfies dependencies from other applications.

The alternative is writing a little dummy package that doesn't provide any files but claims to provide whatever you want. The easiest way I can see is using an application called equivs:

sudo apt-get install equivs
equivs-control lilypond

# edit your fake package so it has the right versions, names, description, etc
nano lilypond

equivs-build lilypond
sudo dpkg -i lilypond-dummy*.deb

There's a third route that is easy but  the potentially harmful: just install it from the standard repos and then replace its files with the ones you generate. Lock the version of the package so it won't get upgraded. This has the scope to go wrong so only do it if you can't checkinstall or otherwise fake the package first.


It was painful. But I've solved it. Though I still don't know what caused it.

I've got another box that is running Ubuntu 16.04. It is not as customized as my laptop. I've checked its logs and found out that apparmor.service starts as it should on it.

Tar'ed /etc/apparmor.d/ of my desktop as root.
Moved /etc/apparmor.d/ to /etc/apparmor.d.backup/ on my laptop.
Untar'ed /etc/apparmor.d/ in /tmp on my laptop.
ran rsync -avx /tmp/apparmor.d/ /etc/apparmor.d/ as root.
systemctl start apparmor
systemctl status apparmor


Try to shut down from terminal.

While you are at your desktop GUI, press Ctrl+Alt+F1 (not yet).
Log in with your credentials.
Type: sudo shutdown now

There you may have a better screen to see what’s happening, when the shutdown process begins, normally may be a "service/daemon" or driver taking more time to be killed


Open the GUI application remotely from Ubuntu 16.04 in Ubuntu 18.04

By the way, in case someone facing the same problem, I figured out that the problem was with the internet connection. It was so slow that the GUI applications cannot open. When I used faster internet connection I was able to open GUI applications.


How can I get apt to use a mirror close to me, or choose a faster mirror?

apt-get now supports a 'mirror' method that will automatically select a good mirror based on your location. Putting:

deb mirror://mirrors.ubuntu.com/mirrors.txt precise main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-security main restricted universe multiverse

on the top in your /etc/apt/sources.list file should be all that is needed to make it automatically pick a mirror for you based on your geographical location.

Lucid (10.04), Maverick (10.10), Natty (11.04), And Oneiric (11.10) users can replace precise with the appropriate name.


Install package from ppa with setup.py file

You need to "package" your Python program into the Debian packaging format.

Packaging for Debian is pretty complex, but here are some pointers to get you started:

How to package a Python application:

https://wiki.debian.org/Python/Packaging

The Debian new package  maintainer's guide (best starting point to grasp all the concepts):
https://www.debian.org/doc/manuals/maint-guide/index.en.html

Finally the big reference, the Debian policy manual:

https://www.debian.org/doc/debian-policy/ch-scope.html


You can create a simple .desktop (say rhythmbox.desktop) file in Desktop with content like this:

[Desktop Entry]
Comment=Any comment you like
Terminal=false
Name=Rhythmbox
Exec=path/to/Rhythmbox/binary
Type=Application
Icon=path/to/Rhythmbox/icon
NoDisplay=false

You can use Exec=rhythmbox %U, Icon=rhythmbox in case of Rhythmbox in particular.

Alternatively, you may copy the intended .desktop file to Desktop from /usr/share/applications/.

Then right click on the .desktop file and check "Allow executing file as program" under Permissions.


Can't access BeagleBone through ssh after changing network settings. Need a way to recover or correct the problem

OK, this is how I solved this.

First of all, it seems that the interfaces configuration file does not accept inline comments and that caused the problem in the first place. I still cannot understand how this could actually affect both interfaces.

Second, and most important, in order to regain access to the BeagleBone, do the following:

Create a bootable microSD with Ubuntu. This was the same that I used to install Ubuntu on the BeagleBone in the first place.
Plug an ethernet cable from BeagleBone to your router/computer.
Hold down the BootSD button (located at the far left corner, assuming that you hold the board with the ports towards your body) and power up the board, while holding down the button.
After 30" you can release the button. Now you have booted from the operating system on the microSD.
All you have to do is:

sudo mount /dev/mmcblk1p2 /mnt

Now your filesystem form the MMC is loaded in the /mnt. For me it proved that mmcblk1p2 was where my filesystem was located on the BeagleBone. If that does not work as expected, try the rest of the entries /dev/mmc*, until you find the right one.
From /mnt you can edit, delete, restore, etc files that are in the BeagleBone. In my case, I corrected the /etc/network/interfaces.
Unmount and shutdown:

cd
sudo umount /mnt
sudo shutdown now -h

Remove the microSD and start your BeagleBone normally and enjoy not having to reflash!


Ok, the next step would be to (back up your data) and then boot from the USB thumb drive to try/install Ubuntu. Reboot, and your PC should do this automatically.

If it does not, you need to go into your BIOS or Setup options on boot and configure the boot order so that the USB drive is on the top of the list.
If you have a new computer with Windows 8 and UEFI, see the UEFI documentation if your PC doesn't boot from Ubuntu.


"Failed to execute default File Manager: Input/output error"

I had a similar problem, although I believe mine was caused by associating an application with a filetype in Firefox.  Running the mimeopen -d ~/Desktop/ command didn't work, but this command did:

exo-preferred-applications -c

In the window that appears, change your default file manager back to your usual choice.


Keyboard and touch pad not working on HP convertible x360 with Ubuntu 19.10

I had similar issues on my HP Envy 15-edxxx convertible running Ubuntu 20.04 (touchpad, touchscreen, pen, and audio not working).
I upgraded the kernel to 5.9 and the issues basically fixed themselves, but 5.8 should be enough (you can test this with Ubuntu 20.10 live CD).
I suggest you
a) Upgrade the kernel to 5.8 or higher. This isn't recommended, because the newer kernel versions may not be officially supported by your current Ubuntu version.
b) Install Ubuntu 20.10 instead, which comes with the 5.8 kernel (according to this answer, there is not upgrade path from 19.04 to 20.04/20.10, which means you'll have to do a fresh install)
For a):

Check your current kernel version with uname -r
Download the mainline Linux kernel of your choice here. For 64bit architecture you'll need linux-headers-VERSION-NUMBER_all.deb, linux-headers-VERSION-NUMBER_amd64.deb, linux-image-VERSION-NUMBER_amd64.deb and linux-modules-VERSION-NUMBER_amd64.deb
Run sudo dpkg -i *.deb in the directory with the downloaded .deb files.
Reboot and enjoy :)

Source
For b):

Backup everything you need.
Download the .iso here.
Flash .iso onto USB or CD.
Install the new distro with the configuration of your choice.


How to install Ubuntu onto another drive while running Ubuntu

Sure, but AFAIK, there is not fancy wizard.  You need to build the partitions and filesystems yourself manually, then you run debootstrap, to do the base install.  Add the required kernel packages, and a few other non-base packages, then manually adjust your boot loader configuration.

There are many guides out there that cover the specific details, this procedure is commonly used for building virtual machines, livecds, chroot environments, and so on.

https://www.google.com/search?q=debootstrap+howto
https://www.google.com/search?q=debootstrap+howto+ubuntu


Are all OpenPGP public key server equal?

Most OpenPGP key servers are integrated in the SKS key server pool and exchange keys among each other. You can have a look at the pool status pages to get an overview of the contained servers. pool.sks-keysevers.net resolves to a (weighted) random choice of those servers.

Actually, keys.gnupg.net is a simple alias for pool.sks-keyservers.net (technically speaking, a CNAME to this domain):

$ host keys.gnupg.net
keys.gnupg.net is an alias for pool.sks-keyservers.net.
[...]

In the end, it does not matter which server you choose, as long as it is contained in the pool. Using pool.sks-keyservers.net is a safe choice, and keys.gnupg.net is equivalent.

A typical answer of a key server that is not synchronizing is the PGP Global Directory, which also performs a simple ownership verification of the mail addresses contained.


Restore Windows 10 boot option in Grub Bootloader

Try this workaround

Perform these  these commands:-

/etc/grub.d/

gedit 40_custom

add following lines in 40_custom file:

menuentry "Windows 10" {
  set root='(hd0,1)'
  chainloader +1
}

If that fails try this instead:

menuentry "Windows 10" {
      set root='(hd0,msdos1)'
      chainloader +1
    }

after edit save file and run following command :

grub2-mkconfig -o /boot/grub2/grub.cfg

It add windows entry in the main configuration file.

then type:

reboot


I too am saddened by the loss of Tomboy from the default installation - but don't worry.

Our notes will remain intact - upgrading from 11.10 will still leave Tomboy installed.  For new installs, you can simply download tomboy from the Software Centre.


Installing guest additions Ubuntu 16.04 | Kernel configuration is invalid?

Found the solution here, as @N0rbert stated, I installed build-essential and then I prepared my system to build a kernel module using the following commands:

sudo apt update && sudo apt dist-upgrade
sudo apt install build-essential module-assistant dkms
sudo m-a prepare

I don't think dist-upgrade is necessary, maybe upgrade is enough, but use it as you see fit.

/usr/lib/nux/unity_support_test -p :

Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       yes


Permisions set to unknown after chmod 777

Probably best to use find for this sort of thing.

Directories need to be x access , files do not, so different set of permissions.

# Files
find . -type f -exec chmod 644 '{}' \;

# Directories
find . -type d -exec chmod 755 '{}' \;


Docky "Enable Compositing" error and black bar visualized instead of it

Docky requires a Compositing Window Manager to function properly.  The black bar you see across the bottom is the area where Docky would be showing up if it could run.  The usual compositing window manager for Ubuntu is Compiz, which can be enabled via System > Preferences > Appearance.  From there you can try to enable "Normal" or "Extra" desktop effects in the "Visual Effects" tab.

If Compiz won't play nice with your graphics card, you can enable Metacity's compositing, which will at least allow Docky to run normally. To do this, press Alt+F2, then run gconf-editor. On the left side, browse to apps > metacity > general, then check the box next to "compositing_manager" on the right.


is there any way I can run Linux commands in the web?

Amongst many other solutions for an online Linux emulator there is Bellard's Javascript emulator:


Forget all these. Download Wubi and use the iso you already have to install Ubuntu. I dont think you need more than 30GB of installation space.

Here's how to install using Wubi.

 Log into windows.
 Create a new folder on desktop
 Download the Wubi installer and move the installer to "new folder"
 Copy and paste the Ubuntu ISO into the new folder.

 Double click on Wubi.exe to start the installation
 Give a password

Wait for the installation to complete.

Thats it.


For ubuntu 13.10, ruby 2.0.0 works fine next-

curl -O http://ftp.unicamp.br/pub/gnu/gsl/gsl-1.16.tar.gz
tar xvzf gsl-1.16.tar.gz
cd gsl-1.16
./configure
make
sudo make install
sudo gem install --conservative --no-ri --no-rdoc gsl


Only system sounds play through laptop speakers - other sound works via HDMI

I've found that sometimes running mv ~/.config/pulse/ ~/.config/pulse.old/ in a terminal followed by logging out & in fixes things (this backs up, deletes & resets the configuration for pulseaudio, the program that manages sound on Ubuntu).


I'd like to strongly advise not to get started with Ubuntu using version 11.04. As the name suggests it will be released in next month. Therefore today this is not a stable release but only a development alpha version. It is not thought be be used by end users on there production machines but for testing only. Therefore you will only be unsatisfied with it and this serves nobody.

Thus, please stick with either the latest stable version 10.10 or 10.04 which is the most recent version with an extended support time. However I advise you to install 10.10 as you can easily upgrade later when 11.04 is released and therefore stable and safe to use.

To answer your initial question, there should not be any problem with your intel card and compiz as far as I know, however there has just been implemented a big change in the development version which is making problem in 11.04 only, this does not affect the stable version.

Hope I could help you! Have fun with Ubuntu!


Is there any default function/utility to prompt the user for yes/no in a Bash script?

Ah, there is something built-in: zenity is a graphical dialog program:

if zenity --question --text="Is this OK?" --ok-label=Yes --cancel-label=No
then
    # user clicked "Yes"
else
    # user clicked "No"
fi

In addition to zenity, you can use one of:

if dialog --yesno "Is this OK?" 0 0; then ...
if whiptail --yesno "Is this OK?" 0 0; then ...


How can I make difftool Meld insert spaces instead of tabs on editing?

In Meld → Preferences → Editor, set Tab width, enable Insert spaces instead of tabs and Show whitespace.
You also should disable all whitespace filters in Text Filters.


You're not running xterm under a GUI. GUIs (The X Window system, Wayland, ...) set the DISPLAY environment variable to point to the active display. In a text terminal DISPLAY isn't set, there's no GUI, and xterm won't work.


Ubuntu 20.04.1 / Caffeine Indicator does not appear in status bar

The caffeine package includes three commands: caffeine,caffeinate and caffeine-indicator.
The caffeine is what is responsible for preventing idle, but it only runs in the background. You need to run the caffeine-indicator to control it form topbar.
Having both of those in the startup apps (one entry for /usr/bin/caffeine and one for /usr/bin/caffeine-indicator) works for me.

I'm on 20.04 and I've installed caffeine 2.9.4-2 using sudo apt install caffeine (the same as apt-get, btw)


Need a way to automatically move files on a daily basis

in command line

use crontab -e.

You will need to look up the details under man crontab. In general it will be something like

Open crontab -e and pick your favorite command line editor.
Enter the line in the crontab file as schedule space command. The schedule needs to be as describe in man crontab when and how often to run command.
The command will be something likecd /media/usb0; mkdir `date +%Y-%m-%d`; mv *.mpg `date +%Y-%m-%d`

I think that either a crontab or other shcheduled task that runs the command in item 3 is going to be the most widely understood answer. I am not aware of any GUI programs, but then again, I never looked.


Just wanted to say very quickly, you should NEVER modify the ISO! Anyway, the solution:
If you can still boot into Windows, Destroy the partition(s) on which you installed Ubuntu. Unfortunatly, this is the only way I know of to get the error to go away. Boot back into your installation media. Go into try Ubuntu without installing. On the dash, search "disks" and choose the program that matches. Select your main disk and look at the "new partition" button (+) under your disk's graph. If this is greyed out, you cannot install Ubuntu unless you change your partition table (it's a crazy Microsoft thing). If it is not, manually make two partitions (as big as you wish), one Ext4, and the other SWAP. Now you must look at the other partitions. Partition 1 should appear as either "Microsoft Basic Data" or "xData". Partition 2 should appear as "vFat", "Bootable Partition", or "Microsoft Boot Data". Nothing else matters at this point. If something didn't match, then Ubuntu probably won't install unless you format the disk in GPT. If everything matched, then keep disks open and start the installer. It should work now that it has something to scan.

This may not work, however, because with things like this you have to specifically know the machine (which is hard when you can't see the computer yourself!). If it still doesn't work, let me know, as I am very willing to help.


Sync Thunderbird configs across computers

the best way I've found to sync Thunderbirds settings, even mail boxes across machines is by using TEBE
http://www.customsoftwareconsult.com/forum/viewtopic.php?f=12&t=2957

It's an off branch of FEBE (firefox) but since now Firefox has its own sync, FEBE became less, it's still great for Offline Backup purposes.

However FEBE is still the main tool I use to keep my Thunderbird settings across machines, since Thunderbird does not yet have a online sync tool built-in as Firefox does.

and TEBE has BOX.net sync option, so you can pick it up from another computer via TEBE by connecting to the same account, after each scheduled backup, or manual backup.

You can also specify what to backup and what to skip.


ubuntu 14.04 won't reboot after standard update

The problem seems to be with the Video Drivers.

Enter recovery mode.
Log in with your user name and password.
Install the video drivers for your computer.
If you don't know how to install your video dirvers, follow this guide.


Is there a dconf-editor setting (or some other way) to disable Unity's black popup boxes?

Your issue may be browser-related. If you're using Firefox (because your image is of NoScript), you could try something like this in a Stylish sheet (preferable) or in userChrome.css:

/* AGENT_SHEET */
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#aHTMLTooltip {visibility: hidden !important;}

Alternatively, you could "customize" the color of the tooltip's background and text color using simple CSS.

The downside is that you may lose a lot of helpful hints. I keep the tooltips but style them to be less "in-my-face".

#aHTMLTooltip {color: #555 !important; background: #bbb !important; }


The answer can be found here : http://ubuntuforums.org/showthread.php?t=1613132

nomodeset
The newest kernels have moved the video mode setting into
the kernel. So all the programming of the hardware specific clock
rates and registers on the video card happen in the kernel rather than
in the X driver when the X server starts.. This makes it possible to
have high resolution nice looking splash (boot) screens and flicker
free transitions from boot splash to login screen. Unfortunately, on
some cards this doesnt work properly and you end up with a black
screen. Adding the nomodeset parameter instructs the kernel to not
load video drivers and use BIOS modes instead until X is loaded.


I just switched to Ubuntu so I can't double-check, but was use KDE before.  I'm think the package you're looking to install is network-manager-l2tp and then use the network manager GUI to create a new VPN connection.  At least that's what I remember doing.


No, apart from Heimdall, there is no Samsung specific Android pc suite for GNU/Linux.

Depending on what you do need it for, there are a lot of alternatives though. I would use kdeconnect on the Android device and your Ubuntu desktop for sharing notifications,clipboard and files (and a lot more), Syncthing for synchronizing photos in realtime, a caldav, carddav solution for sharing contacts and calendar (I don't use google services for such things). I think you can backup applications to google drive with android itself, though this is not a priority for me. For backing up sms and call logs, you can use sms backup+ on the android device and back them up to gmail or any IMAP server.

Other than that, only link I found to a similar app was qtatb, but it has not been updated since 2014 and I have never tried it.


Toshiba Satellite E105 does not suspend when the lid is closed

I have a doubt: if you explicitly click in the 'suspend' option in the system button, the laptop suspends correctly?

If the laptop suspends correctly, then this is just a configuration problem... In this case, you can install the Gnome Tweak Tool:

sudo apt-get install gnome-tweak-tool

After running the tweak tool, you should select the "Shell" option and change the two options "Laptop lid close action on battery" and "Laptop lid close action on AC" to "suspend".

I hope this can help you.

Regards,

Rafael.


gnome control center shows only a few icons

Invoke gnome-control-center from the terminal like so:
$ env XDG_CURRENT_DESKTOP=GNOME gnome-control-center

This would launch it the traditional way. And you will be able to navigate through the various settings.


Error during ATI propreitary driver install

From what I read over on ubuntufourms it is a bug in the package installer. To fix it

Extract the package with $sh ./amd-driver-installer-catalyst-12.11-beta11-x86.x86_64.run --extract ~/build/amd-v12.11
Go to the file relative to the above extracted dir: packages/Ubuntu/dists/quantal
Edit the file rules.

On line 242 the text
dh_install -p$(PKG_driver) "arch/x86_64/usr/share/ati/lib" "$(datadir)/ati" should read dh_install -p$(PKG_driver) "arch/x86/usr/share/ati/lib" "$(datadir)/ati"

As you can see it is just an assumption that is made about this script always being run on 64 bit machines.

(Similar fix for other Ubuntus, just fix the packages/Ubuntu/dists/<release> path above.)


What is the difference between kubuntu and installing kde on ubuntu?

It depends. If you do not remove the ubuntu desktop you will end up with 2 operating systems that show programs from both desktop. Example:you will have both gedit and kate as editors.

If you 1st remove the ubuntu desktop and then add kubuntu desktop you will end up with KDE. There might be left over configuration files from the ubuntu desktop but you should not notice any difference as when you installed kUbuntu. All the ubuntu software will be removed and all you will see is KDE.


In the dolphin file manager just press the F4 function key and that will open a terminal inside dolphin, in the same directory.

To open a separate terminal window, press Shift+F4; or right-click in the directory contents pane and choose Actions > Open Terminal Here.

Note: As Dolphin is KDE-based the default terminal emulator it launches is Konsole, so if you only get an empty area instead of a terminal, try running

sudo apt-get install konsole


The vmhgfs modules of open-vm-tools currently have some problems with compilation which have not been resolved as of 12-19-2015 Trusty and Vivid both are affected by similar issues.

The currect work-around is to use the vmtools supplied by VMWare, however upon installation the tools will detect that open-vm-tools is available and indicate that this is a preferred solution.  The user will need to override the deault answer (no, don't install) to cause installation of the vmware-tools.

If vmware-tools from a version prior to version 12 are used, the user will also have to apply patches to the vmware-tools module.  These patches are available at github along with comprehensive instructions for application of the patches in the readme file.

For brevity:

Download the patches:

git clone https://github.com/rasa/vmware-tools-patches.git

Obtain the lates version of the vmware-tools:

cd vmware-tools-patches
./download-tools.sh 8.1.0

Untar and apply the patches

./untar-and-patch.sh

Compile and install the patched files.

./compile.sh


Where do I find drivers for my motherboard?

All open hardware drivers will already be included in the Ubuntu kernel as soon as they are available. Usually all mainstream motherboards will just work out of the box without the need to install anything in addition.

This may not yet be so for very brand-new equipment where there simply was not sufficient time to include their drivers in the presently released kernel. In this (rare) cases we may have to install a newer kernel, wait until a kernel supporting the hardware is generally available, or chose another, better supported hardware.

To find out if a given hardware works as expected we should query the web and Ubuntu resources for recent issues. Take care to not read all the many out-dated reports of issues that likely are fixed by now. But if you read many unsolved issues reported within the last months you may want to look for another hardware to be on the safe side.

In case we already have any hardware available for testing we can "Try out Ubuntu" from booting a live session to prove it is supported.

Such a search reveals that both, the Intel Z77 chipset, and the 82579V Intel LAN chip on your Sabertooth Z77 board are very well supported from the standard kernel. You don't have to install drivers.