From your link the steps would be:

Download drivers for Ubuntu
Open a terminal by pressing Ctrl + Alt + T or by searching for and clicking the Terminal icon
(Optional)
Create a separate directory for your AMD driver .deb files:

sudo mkdir /home/$USER/AMD_Driver_Packages

Copy all .deb package files to the newly - created directory:

sudo cp /home/$USER/Download/*.deb /home/$USER/AMD_Driver_Packages

After the files have been successfully copied,
change the current directory to the same directory:

cd /home/$USER/AMD_Driver_Packages

If needed, uninstall any previous versions of the
AMD Catalyst™ Proprietary driver. Use the following command to check if there are legacy drivers present on your system:

sudo dpkg -l fglrx fglrx-core fglrx-amdcccle fglrx-dev

Install the distributor-specific package files on your system using the package manager (dpkg) tool as shown below:

sudo dpkg -i fglrx-core_14.500-0ubuntu1_amd64_UB_12.04.4.deb fglrx_14.500-0ubuntu1_amd64_UB_12.04.4.deb fglrx-dev_14.500-0ubuntu1_amd64_UB_12.04.4.deb fglrx-amdcccle_14.500-0ubuntu1_amd64_UB_12.04.4.deb

Note: Please change step 7 to your version of Ubuntu, or see link below for more information. Again in step 4 place the contents of the unzipped or untared files into the said location, from that link I don't know what specific drivers you downloaded but the included link to their documentation should help.

Source:

http://www2.ati.com/relnotes/amd-catalyst-graphics-driver-installer-notes-for-linux-operating-systems.pdf


unable to switch screen in Kubuntu 14.10

Go to System Settings > Shortcuts and gestures > Global Keyboard Shortcuts. Select KDE component: KDE Daemon.

Edit shortcut for Switch Display.

On my laptop the Display button is seen as Meta-P.

Hitting that key would switch between internal, external, mirror and extended display.


found solution:

1. go to repo server and repo directory
2. gpg --clearsign -o Release
3. rm Release.gpg
4. apt-ftparchive release . > Release
5. gpg --yes -abs -u $KEYNAME -o Release.gpg Release

No more NO_PUBKEY complain!


The problem was caused due to symlink so I created one using the command

ln -sf /etc/initramfs-tools/modules.AfterVMwareToolsInstall /etc/initramfs-tools/modules

then

mv /etc/initramfs-tools/modules{,BAK}; sudo touch /etc/initramfs-tools/modules

then

dpkg --configure -a

and

apt-get -f install

It was a problem related to VMware module.

Thanks again to fossfreedom and Oli


Improve Xubuntu Panel for grey background

My problem was solved by following these steps:

run in terminal touch ~/.gtk-2.0
Run in terminal leafpad ~/.gtk-2.0 (replace leafpad with your favorite text editor)
Paste this text into the text editor:

style "gtk-theme-config-panel" {
    bg[NORMAL] = "#000000"
    bg[PRELIGHT] = shade(1.1,"#000000")
    bg[ACTIVE] = shade(0.9,"#000000")
    bg[SELECTED] = shade(0.97,"#000000")
    fg[NORMAL] = "#729fcf"
    fg[PRELIGHT] = "#729fcf"
    fg[SELECTED] = "#729fcf"
    fg[ACTIVE] = "#729fcf"
}

widget "*PanelWidget*" style "gtk-theme-config-panel"
widget "*PanelApplet*" style "gtk-theme-config-panel"
widget "*fast-user-switch*" style "gtk-theme-config-panel"
widget "*CPUFreq*Applet*" style "gtk-theme-config-panel"
widget "*indicator-applet*" style "gtk-theme-config-panel"
class "PanelApp*" style "gtk-theme-config-panel"
class "PanelToplevel*" style "gtk-theme-config-panel"
widget_class "*PanelToplevel*" style "gtk-theme-config-panel"
widget_class "*notif*" style "gtk-theme-config-panel"
widget_class "*Notif*" style "gtk-theme-config-panel"
widget_class "*Tray*" style "gtk-theme-config-panel"
widget_class "*tray*" style "gtk-theme-config-panel"
widget_class "*computertemp*" style "gtk-theme-config-panel"
widget_class "*Applet*Tomboy*" style "gtk-theme-config-panel"
widget_class "*Applet*Netstatus*" style "gtk-theme-config-panel"
widget "*gdm-user-switch-menubar*" style "gtk-theme-config-panel"
widget "*Xfce*Panel*" style "gtk-theme-config-panel"
class "*Xfce*Panel*" style "gtk-theme-config-panel"
style "panel"
{
    fg[NORMAL] = "#CED8EB"
}

widget_class "*Panel*"      style "panel"
widget "*Panel*"            style "panel"
class "*Panel*"             style "panel"

Reboot your computer.
For some reason, on my computer, It wouldn't work untill I logged out AFTER restarting and logged back in. You may need to do this too.


VBoxClient kernel not running (Vbox not functional)

How did kernel 4.4.8 appear on your 14.04 system?  You have installed a mainline kernel most likely.  Mainline kernels lack the linux-image-extra package.  This package contains the necessary drivers and software for several devices and apps, including Virtualbox.

You have to install an officially supported kernel on your system.  The latest so far is 4.4.0-53-generic but 4.8 is on the way.  The package name should be linux-generic-lts-xenial.  I'm not using 14.04 and I'm not 100% sure about the name.


Menu --> Settings --> Shared Folders

Or...

Execute:

shares-admin

Font: http://linuxuserlog.blogspot.com.br/2014/01/como-compartilhar-pastas-arquivos-no.html


Why only three themes are available in Ubuntu 15.10

A solution found in this thread. For those who're facing the same issue, you can install Unity Tweak Tool from Ubuntu Software Center. But unfortunately, it won't help much as it changes the icons only, not the overall appearance. :-(


A useful tool I use to customize gtk theme is gtk-theme-config. I for example like the default ambiance them but I set it to use a green scheme so it looks better with the gnome colors icon theme.

You can see here the greybird gtk theme wich has a blue scheme by default turned to purple and the gtk theme config at the bottom right corner.

For install it in Saucy:

sudo apt-get install gtk-theme-config

For previous ubuntu releases:

sudo add-apt-repository ppa:shimmerproject/ppa
sudo apt-get update
sudo apt-get install gtk-theme-config

Source: http://www.webupd8.org/2012/09/customize-gtk3-gtk2-theme-colors-using.html


Lightdm-gtk-greeter's background wallpaper is distorted in Ubuntu 12.04 (How I can correct background wallpaper errors in "lightdm-gtk-greeter"?

I had the same problem. Come to find out, the background picture defined in  /etc/lightdm/lightdm-gtk-greeter.conf  did not exist anymore.  not sure how this happened, but i'd quess that my lightdm theme got messed up during an update.

I just edited that file, pointing background to an image that does exist and on reboot it was fine.  you could prolly just reinstall the lightdm theme.


/sys/class/baclight folder is empty, leading to blank screen

Sys is special, you won't be able to create folders there (answers in linked question explain why). Per Fabby's answer to similar question, that would indicate Kernel thinks you have a CRT, therefore you have knobs to adjust brightness and contrast. You may want to search supported hardware to see whether yours is there, or file a bug against kernel.


13.10: how to bring back one-click song open?

The new dash behavior is double click to open and single click to preview
If you need to restore the previous behavior use dconf editor

sudo apt-get install dconf-editor

open dconf editor in the dash and uncheck the com -> canonical -> unity -> double-click-activate


Ubuntu 14 Ctrl key seems to be logically stuck

I frequently enter into this state when fat-fingering an attempt to multi-select in IntelliJ using Alt+J. When I am in this state, it is as if the Ctrl key is permanently held down: all clicks become right-clicks and most keyboard shortcuts are affected, rendering the OS practically unusable.
I am not sure exactly what key combination is causing this, but I have tried a few things in the past to resolve it with varying success:

Pressing BOTH CTRL keys on my keyboard at the same time seemed to fix it.
Holding the Windows key seems to cancel out whatever sticky key situation is enabled, thus allowing me to click things properly again. Then I just spam combinations of Win, Ctrl, Alt, and the keys around J :).


Why doesn't the command do-release-upgrade doesn't require sudo?

I just ran do-release-upgrade in my terminal and look what happened:

So you don't have to worry about this anymore. do-release-upgrade is a python script located in /usr/bin which can be accessed by every user, but this script needs, as you can see, root privileges when it starts to perform actions on the system.


Cannot get Intel Centrino Wireless-N 1000 to work in ubuntu 15.04?

Ok it seems your wifi card is seen by your system fine. You just need to configure it using either the graphical tools available with the desktop system (gnome by default) or through command line by configuring wpa_supplicant. Here's a link
configure wifi from command line

Also check this using network manager from command line


SWEXX 5:1 sound card would it work with Ubuntu 12.04?

From the builder's site:

Q: Will this card work in Linux?
A: Yes this card is supported by Linux by using the "cmipci" driver. We only give support for Windows systems. Questions about Linux will not be answered.

The cmipci is already part of the kernel so your card should work out of the box. To give it a go download Ubuntu's LiveCD, boot from it and select the option to try Ubuntu. If you hear sound there then everything will be fine.


Randomly getting logged out from admin session (Ubuntu)

Part one:

Start recovery mode
Select drop to root shell
Type mount -o rw,remount /
Type adduser username sudo #username=your user name
Type shutdown -r now

Part two:

Repeat first three steps of Part one
Type passwd username

That's it.


How to send a zpl-file directly to usb printer

Add the user you do this with to be part of the GROUP /dev/usb/lp0 is set to.

ls -l /dev/usb/lp0

to get owner and group for /dev/usb/lp0. The group is likely to be lp. If your user is paul that would be

sudo usermod -a -G lp paul

You need to restart the session to make this active.


Can't connect to Wi-Fi with Ubuntu 17.04

I had the same issue, found no solution. What I eventually did was to uninstall networkmanager and replace it with wicd.

sudo apt-get install wicd

sudo apt-get remove --purge network-manager network-manager-gnome

It worked instantly and the taskbar applet worked flawless after a restart.


In GNU GRUB, I receive error: no loaded kernel. How do I load a kernel?

Looking at various reports about this error which is related to the version of grub that comes with 9.10 Karmic Koala. The solution would be to burn a copy of 10.04 livecd and follow the steps detailed here Ubuntu Grub Wiki Reinstalling from LiveCD to repair your grub. Later if you are successful it would be advisable to update to 10.04 as it will be more stable in the long run than 9.10


dpkg: unrecoverable fatal error, aborting: 'libqt5printsupport5:amd64':

You can try to reinstall this package manually:

sudo apt-get update
apt-get download libqt5printsupport5
sudo dpkg -i --force-all libqt5printsupport5*.deb
sudo apt-get install -f

this will affected reinitialize *.list file in /var/lib/dpkg-database.


.desktop file no longer working after adding another .desktop file

Sounds like you’ll need to use desktop-file-install:

Copy the application launcher to your home directory so that it’s ~/{name}.desktop (Changing {name} to that’s really the file name is)
From the terminal, run: sudo desktop-file-install {name}.desktop.  This will verify the .desktop file and install it to /usr/share/applications.
Open Nautilus and navigate to /usr/share/applications
Find the icon for the launcher ({name}.desktop) and drag the icon to your desktop

Then do this with the second .desktop file. It’s annoying, but it works.


Unable to install Octave in armhf - Error in loading `libopenblas.so.0`

Somehow, the libopenblas.so.0 has some issues.
To fix, use the following commands to replace OpenBLAS with BLAS (which is much slower, unfortunately).

sudo apt install liblapack-dev liblas-dev gcc

sudo update-alternatives --config libblas.so.3-arm-linux-gnuabihf (choose BLAS instead of OpenBlas)

sudo update-alternatives --config liblapack.so.3-arm-linux-gnuabihf (choose BLAS instead of OpenBlas)


How to change the volume of left channel using pulseaudio

I suggest you install pavucontrol. You can disable left and right volume alignment in pavucontrol, so that you can increase/decrease your left and right volume of your audio channel individually.


How can I create a shortcut for the start menu to launch an application?

If you have a launcher in your desktop, then copy/move the launcher from your desktop to the ~/.local/share/applications/ directory. It should appear in the menu.

Otherwise, you may manually create a simple .desktop launcher (say eclipse.desktop) in your ~/.local/share/applications/ directory. The content of the eclipse.desktop may be as follows.

[Desktop Entry]
Name=Eclipse
Exec=/full/path/to/the/executable
Terminal=false
Type=Application
Icon=/full/path/to/the/icon-file

For a GUI alternative, try Main Menu (aka Alacarte). You can install it by

sudo apt-get install alacarte


Background settings for tiling and stretching seems to be missing in 13.04

The option you are looking for is in System Settings>Appearance

Next select the option circled below.


Logging in to an encrypted home directory after forgetting my password

Since you're seeing a file called ecrypt-mount---.desktop, it appears that you chose to encrypt the files in your home directory. The encryption key is derived from your password, so you'll need to remember your password to recover your files. If there was a backdoor, encryption would be useless.

I recommend that you create a new account and work in that new account. Try to remember your password; if you manage to do that, transfer your old files. How do I recover my data from an encrypted home directory? may help if you remember only part of the password.

If you want to keep your home directory encrypted, write down your password somewhere and keep it in a safe location.

Regarding your problem with lightdm, we can't help with so little information (purged what?). Try to go back to your old working setup, and don't uninstall packages if you don't understand the consequences. You can find a log of package management operations in /var/log/apt/history.log (and history.log.0, etc. for older operations), this should help you retrace your steps.


Does there exist a CLI spaced repetition program?

https://github.com/darius/spaced-out

https://github.com/theq629/fulgurate

https://github.com/itsdawomb/ebblite

There also used to be yellowcot, memonerd, and ankitty for anki (not sure they still exist)

Best wishes, J


Set a shortcut for opening Terminator (similar to Ctrl+Alt+T, but not replacing default terminal)

Go to Settings, look for the shortcuts menu and if you are there, there should be a button with a "+" sign. Press it and it should bring you to a page where you can give the shortcut a command, the shortcut you want to invoke the that command with, and a name.

For the command set "terminator" without quotes and for the shortcut set Ctrl-Alt-Y.

To have Ctrl-Alt-T launch gnome-terminal disable the original terminal shortcut, and create a new one with the command "gnome-terminal" and the shortcut Ctrl-Alt-T.


I was able to debug the problem. I switched back to the open source video driver and things seem to be running normal again. (Normal being what I prefer in this situation) I'm going to leave this open for a few more days to see if I get any comments regarding the situation or other solutions to make boot/shutdown "look" smoother instead of worded commands. I want to keep the Ubuntu loading screen, like it hehe.


Unable to find ScreenSharing option in Settings on Ubuntu 20.04

Late to the party, but: Install the vino package. It is the VNC server. After that your options will appear.


You find this information in the source package of the kernels by examining any patches applied to the kernel source and configuration options found in the kernel .config


Ubuntu 16.04 - cannot login, keep getting fsck message

I decided to reinstall Ubuntu, so the issue is gone now, although not resolved.


Could I possibly mount the Lubuntu ISO in Windows XP?

In some cases it's just the .iso file that is corrupted, then all you need to do is to download Lubuntu again.

Assuming or case isn't the above, First thing, no you don't need to install any other thing. Second, you can mount Lubuntu .iso, although it will be of no use. Wubi isn't the best way of installing Lubuntu (in my point of view it's the worst), you should try installing it in dual boot with Windows, it's just to burn this .iso to a CD/DVD or USB and boot your pc trhough it, then you should choose 'Try Lubuntu without installing', wait to the interface to load and from there you will be able to open GParted and create a partition for Lubuntu after Windows partition, then you just need to install Lubuntu and when prompted choose advanced options to choose the partition you created to Lubuntu and to keep Windows in your pc.

If you need, for any reason to use wubi for the installation process you should defragment your disk data, make sure you have at least 3 GB of free space in your disk, update your Windows' softwares, it's recommended that you close any running program in Windows during the installation process, after doing these steps you should be able to install Lubuntu trhough Wubi, although if you don't succed you won't be able to do many things as something into Windows or HDD (such as badblocks) are hampering Wubi performance and preventing the installation of Lubuntu.


Error installing zlib1g-dev in ubuntu 16.04 desktop

Answer for this is given by SeinopSys in Error installing zlib1g-dev
you need to take note of the required package version (in your case = 1:1.2.8.dfsg-2ubuntu4), then run the command below to downgrade to that version:

$ sudo apt install zlib1g=1:1.2.8.dfsg-2ubuntu4

Then you can try re-installing.


On an Ubuntu 18.04 system, /etc/resolv.conf should always be a symlink to /run/systemd/resolve/stub-resolv.conf, unless the resolvconf package is installed (not recommended for new systems), in which case it should be a symlink to /run/resolvconf/resolv.conf.  If /run/systemd/resolve/stub-resolv.conf does not exist, check that the systemd-resolved service is running (systemctl status systemd-resolved).  If it is not active, enable and start it (sudo systemctl enable systemd-resolved && sudo systemctl start systemd-resolved) which should correct the problem.


New to Ubuntu-Can't find panel and other problems?

Answered by OP in question box (since edited out):

  For some reason VMWare expedites the installation process for Ubuntu, skipping over region selection, log-in setup and related items. I'm willing to be this is why everything's missing, because it only did a half install. I switched to VirtualBox and have no problems.


How to make link open with non-default application

Switch it to an Application launcher and specify Firefox.

[Desktop Entry]
Encoding=UTF-8
Name=Link to 1. Introduction to Algorithms - YouTube
Type=Application
Exec=firefox https://www.youtube.com/watch?v=0IAPZzGSbME
Icon=text-html

You will also need to mark it as executable. Some instructions are here.


OP added an update to their question along with a link to a solution. Here is the update, and the key information from the link:

  I tried to use the jockey or Additional Drivers as it was
  once called, to update my Nvidia driver, rendering my system somewhat
  useless. I had to manually update my driver with the following
  guide:

    Rather than having to do this after your machine ends up with a half-working desktop, you can do this before any damage is caused. Hint, if you've already botched, then press Ctrl+Alt+F1 to reach the first virtual console. Log in there, then follow the instructions.

    In the past, running apt-get install build-essential was enough. This would get all the relevant stuff, including the kernel sources and kernel headers. Now, you must specify these separately.

sudo apt-get install build-essential linux-source linux-headers

    If the transitional package linux-headers is not available, instead, please try running the command by specifying the exact version of the headers with:

sudo apt-get install linux-headers-$(uname -r)

    And this should work. Next, install the current Nvidia driver:

sudo apt-get install nvidia-current

    If you skipped the part where you install the sources, headers and the rest, you will get an error here, so, go back and install them correctly...

    Once the installation completes successfully, check if the Nvidia driver is loaded:

sudo /sbin/lsmod | grep nvidia

    If it's not, you will need to manually insert into memory. First, make sure all kernel module dependencies are satisfied and resolved:

sudo depmod -a

    Then, load the driver:

sudo modprobe nvidia_current

    This should succeed and the lsmod command should show it's loaded, but the usage count will probably be 0, because nothing will be using it yet. You will need to restart the graphics environment to actually benefit from the driver:

sudo /etc/init.d/lightdm restart

    This will restart the graphics environment, you will see the Nvidia splash, and you will load into a desktop that has the nvidia driver running, and all that. Your problem is now resolved. The skeptics among you can reboot to verify.


How can I find out which GPU is being used in my ubuntu16.04 LTS?

On terminal:

lspci -v |egrep "VGA|Display"

The one that has "[VGA Controller]" at the end is the one used by system.


try

sudo -s

It will ask your password to login in as root.

then use passwd to change the root password.

if you are not in sudo user

type

sudo visudo

add this line in the last

<username> ALL=NOPASSWD: ALL

then ctrl+x to exit then ,y to save the changes

then try again sudo -s it will login  to root without asking password


13.04 Dash Icon and Ubuntu Gnome-Classic Issues

Even though you probably solved this by now...
If you haven't

remove the contents of

/usr/share/unity/6

and run

sudo apt-get install --reinstall unity-common


Echoing the password into the command works but should only be exercised in extreme cases where there's absolutely no security concerns.

However, I believe a better solution would be to make a new rule in /etc/sudoers to allow certain commands (sudo service network-manager restart in this case) to be executed without password. See the answer to this question to understand how to do it.


gedit:3457 Error: Not using units is deprecated. Assuming 'px'

Graphical sudo

  You should never use normal sudo to start graphical applications as
  Root. You should use gksudo (kdesudo on Kubuntu) to run such programs.
  gksudo sets HOME=~root, and copies .Xauthority to a tmp directory.
  This prevents files in your home directory becoming owned by Root.

you must use this way

gksudo gedit /path-to-file


how to install ubuntu on an existing ubuntu machine

At boot you should see a grub screen where you can choose from the different systems. Probably your grub does not recognize the new installation properly. You should run
sudo update-grub
then reboot and check if you see a grub menu where you can select the new installation


We've seen reports about this, but it always ended up being a perceptual issue rather than an actual one. The issue is that the way to limit bandwidth is sending a bunch of stuff and then waiting a while; this averages out to the requested bandwidth cap, but people (and monitoring tools) seem to expect a sub-second granularity, which we don't yet provide. All this is tracked in bug 600832.


Understand free command with top command

While I'm not exactly familiar with how top formatting works, I can offer a few work-arounds.

PS

ps command is comes with procps package and is among standard utilities, that is readily available on your system. -aux switches will output processes for all users and programs on the system, while --sort %mem is used to sort output by % of memory used.
In short: ps -aux --sort %mem.

HTOP

Htop is a variation of top, but with much nicer appearance and features (at least IMHO).
Pressing F6 will allow you to sort output by whatever quality you want, again by memory, and again in percentage.

Some considerations:
As to why would the memory be eaten up this much, you may know that a closed program doesn't always mean its process was stopped - it may actually hang around and eat up your memory. Which is where you can user htop or ps to find that process's pid, and kill it with kill command or htop build-in kill function. Try playing with a process priority levels in System Monitor program (right click on the process and hover cursor over Changer Priority). Although this is more related to CPU usage, CPU uses memory to process each command and only simpler tasks are in the internal registers (if i remember correctly from  intro to computer science class).


windows hibernate and problems with copying

When Windows is hibernated, it is just like the system is still up and running. When you boot Ubuntu and copy a file, Windows is unaware of the modifications you make on its back and still assumes that its NTFS partition hasn't changed since it was hibernated. In fact, everything you changed since then is considered as corruption and could cause serious problems in the filesystem structure, even running chkdsk could be a risk since it will try to make the filesystem consistent with Windows own view and will probably find that it differs.

NTFS-3g which is the tool that allows you to write to NTFS partitions should prevent you from mounting an hibernated partition as said in its manual:

  remove_hiberfile

  Unlike in case of read-only mount, the read-write mount is
  denied if the NTFS volume is hibernated. One needs either to
  resume Windows and shutdown it properly, or use this option which will
  remove the Windows hibernation file. Please note, this means that the
  saved Windows session will be completely lost. Use this option under
  your own responsibility.

And also has an option for read-only in this case:

  ro

  Mount filesystem read-only. Useful if Windows is hibernated or
  the NTFS journal file is unclean.


Getting IP whitelist of repo servers (Ubuntu 16.04)

The easiest way to manage this is probably to configure a private mirror, or even a private proxy server for your sites to use.

Public mirrors may change IP at no notice, not giving you access to updates. Running your own mirror, or proxy, allows you to whitelist at the URL level on that proxy, and allow the IP of that proxy trough firewalls.

You may want to look at apt-cache to run a caching repository, or you may run a classic proxy, such as Squid, and only allow e.g. *.ubuntu.com as destination.

You will probably spend less time on this approach than trying to maintain a reliable list of IPs.

While you may be able to piece together a current list of IP's, Canonical or other parties running the mirrors will probably give you zero warranty that they won't change IPs as they see fit. That's after all the reason for having DNS; Flexibility.

That's potentially weeks without updates. In my world, that's an clearly unacceptable position to be in. Either run your own, white listed, proxy, or private mirror.


Does apt install --reinstall delete config files?

Your problem : virtualbox was installed once and the settings in your machine might be saved somewhere . Remove it completely with .

Uninstall virtualbox first:

sudo apt-get remove --purge virtualbox

install it again. Run this command:

sudo apt-get install virtualbox

This also help to fix broken packages, so if these commands above failed tried to fix packages first and then remove and install the virtualbox:

sudo apt-get -f install


How to get Japanese Kanji characters as an input mode?

The Anthy input method that you are using is able to input kanji.

After you type a word (or even a long phrase) in kana, just press the Space bar in order to bring up the kanji conversion.

Anthy will provide several options based on frequency of use in Japanese, words and phrases commonly used together, and on your local frequency of use.


How to make a program use python2.7 instead of default python3.4 on ubuntu 14.04

Check your ~/.bashrc and/or .bash_aliases to find if you have any kind of alias like this:

alias python=python3

Change it accordingly to python2.7


You can use the default VNC client for Ubuntu: Remmina

Just type VNC or remmina in the dash to start it:

Note: It's installed by default since 12.04.


Install compizconfig-settings-manager. Search for "compiz" in the Unity Dash, or start with ccsm from the command-line.

sudo apt-get install compizconfig-settings-manager

This windows will open. Type grid in "Filter" box and from right pane select "Grid" option.

Then this window will open.

Just click on each button (point 1) and then into "Edit <Key name>" window, choose Grab key combination and press your alternative key, then click Ok and enjoy

But don't forget, read /!\ Warning /!\ and don't change nothing more!!


You have several methods to reduce output file size:

Encode the audio

As you mentioned you can encode the audio instead of stream copying the hefty, lossless, uncompressed PCM format.

Using libfdk_aac

Your ffmpeg supports the AAC encoder libfdk_aac, which is the best AAC encoder supported by ffmpeg now. To use it replace -c:a copy with -c:a libfdk_aac -vbr 5.

Using the native FFmpeg AAC Encoder

Alternatively, you could use the native FFmpeg AAC encoder. To use it replace -c:a copy with -c:a aac -b:a 128k. It's not as good as libfdk_aac, but give it more bits and it will be acceptable.

Now you can use the MP4 output container format if you prefer it over Matroska (MKV).

For more info on both of these encoders see FFmpeg Wiki: AAC.

Use a higher -crf value

When using libx264 to encode H.264 video the -crf option is one method of rate control to control the quality. A value of ~18 or so will more or less result in a visually lossless output, but depending on content, it can also result in a somewhat large file. Increasing the value +6 will usually decrease the output file size by 50%. General recommendation is to use the highest -crf value that still provides an acceptable quality.

If you are targeting a specific output file size, such as due to storage media constraints, then you should encode using two-pass mode. However, unless a specific target file size is of utmost importance it is easier and faster to just use -crf (I haven't used two-pass in years).

For more info see FFmpeg Wiki: H.264.

Use a different encoder

If used properly encoding to H.265/HEVC with libx265 may result in a lower file size at the same perceived quality. The tradeoff is the slowness of the encoding, and player/device support is not yet as prevalent as H.264.

I haven't used this encoder very much myself, so I don't know what -crf values to suggest, but it should be worth a try. You may have to use -preset veryslow to really outperform x264 if you're already using one of the slower presets in x264.

See FFmpeg Wiki: H.265.

Scaling

If you want to downscale it may be faster to scale first in both commands as opposed to scaling last in the second command. You'll have to experiment because I'm not familiar with vidstab* or if it is a bottleneck or not.

-vf scale=-2:720,vidstab*...


Not able to login into Ubuntu 16.04 LTS even if the password is correct

Switch to a terminal (ctrl+alt+f4) and try logging in. If you can login normally, you could be out of space (the GUI needs [temporary work] space to create [work] files that are deleted on logout).

Enter df -hl  (disk free, human output, local drives only) and check especially for space in your $HOME (/home/user) directory/partition.

If it's full (0 or near 0 bytes free) you need to delete some files, then you can switch back to GUI and you'll find the gui will work. When the gui can't create the needed [temporary] files on login, the gui just returns you to the login screen as you describe without any message.

(there are other alternatives; but less likely in my experience.  df -hi to check you inodes free, to gui permissions... but I'd try disk space first..)


Backing up third party apps before reinstalling Ubuntu

You can do this in the synaptic package manager (System->Administration)
Make sure your selection is in the "All" section then go to File->Save markings, make sure you check mark "Save full state, not only changes" then save (somewhere where it won't be formatted ;)

When you are done installing you can go to File->Read markings

Most of your programs will download, except the ones which you added a repository for (well at least until you re-enter them). You might have to fix some of the broken packages in synaptic after as well.

I'm sure someone else might now how to backup and restore the sources list..


Splitting text at punctuation for all files in a directory

Based on the answer by Abhijit on the related question over at stackoverflow, one can use punctuation class from string module and use it as pattern within re.sub() function.

The glob module isn't particularly necessary, as you can take advantage of globing on command line, and slightly shorten the code.

#!/usr/bin/env python3
import sys,re
from string import punctuation
for name in sys.argv[1:]:
    with open(name) as f:
        for line in f:
            l = re.sub( '[{}]'.format(punctuation), '\n', line.strip()   )
            print(l)

With input.txt file like this:

Foo, bar !
Baz, foobar.
alpha: beta ?

The script works as so:

$ ./split_words.py  input.txt
Foo
 bar

Baz
 foobar

alpha
 beta


How to install Ubuntu 12 in place of Fedora 18 while preserving my dual boot windows 7 installation?

I think this will be possible using the 12.10 installation disc.

during the installation process you will be prompted with a question with a few options to chose from. some of them are "ubuntu alongside Windows 7", one is "replace all". Chose the advanced option. here you will see your partitions.

Windows 7 will have (at least) 2 partitions, one of which has around 100 MB and one of size you specified when you installed windows 7 (or at some point after). It is important that you leave both of these untouched.

chose to remove partitions that belong to your Fedora install. This will remove any files stored under one those partitions, but Windows 7 will be left untouched.

then make a partiton for "/", and 1 for swap should you need hibernate or if you have a low amount of RAM.

when Ubuntu 12.10 is installed and you have rebooted you will get a grub 2 greeting screen, here you can chose from Ubuntu or Windows 7. This will come every time you reboot.


This bug has already been reported.

a quick fix (in terminal):

  killall unity-panel-service


diffrence between the DNS setting in etc/resolv conf and etc/network/interfaces

Newer Ubuntu systems use a service called resolvconf that runs a local DNS resolver on the machine, and automatically manages the /etc/resolv.conf file (in fact, as a symlink to somewhere in the /run filesystem) and you should not edit the /etc/resolv.conf file by hand.

In the server version, resolvconf takes the actual server addresses either via DHCP or from /etc/network/interfaces file where they are specified as a list of dns-nameservers e.g.

auto eth0
iface eth0 inet static
address 192.168.1.102
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 192.168.1.1 8.8.4.4

For the desktop versions (i.e. those using the network-manager service and associated GUI applet) the actual servers come either via DHCP or may be specified in the IPv4 Settings tab after changing the Method: from Automatic (DHCP) to either Automatic (DHCP) addresses only or Manual and adding the required IP addresses in the boxes provided.


How to accept steam license when installing steam?

This is supposed to work around the issue:

sudo apt purge steam steamcmd
sudo apt install steam steamcmd

I compiled these commands according to this bug tracker comment:

  If you purge both steam and steamcmd and then do an apt install steam followed by an apt install steamcmd, both commands will succeed without errors.


For the Savage IX driver, as per this description from S3 Super Savage IX/C page on the ThinkWiki:

  Direct Rendering (a.k.a accelerated OpenGL)
  Works without any external drivers with Xorg7. After hibernate (suspend to disk) DRI will not work correctly. glxgears runs fine but playing games will hardlock. Workaround to prevent this is rebooting X. After suspend to RAM it works somehow but rebooting X is recommended.

I think although it's already supported by the kernel driver, it's too old for Unity.

S3 also provides Linux driver for this chip on their website, but it's really outdated and it reaches the end of support.

I would suggest you to give Lubuntu or Xubuntu a try. They use the light-weighted desktop system, LXDE and XFCE respectively, which are designed for low-spec and legacy hardware. You could find some more details from the following  wiki page.

https://wiki.ubuntu.com/Lubuntu
https://wiki.ubuntu.com/Xubuntu


I had the same problem with the same adaptor.  It worked one day and not the next.  What happens if you type sudo modprobe ath9k? My network manager applet woke up immediately and connected me.

If this works you can add ath9k to /etc/modules so it loads the driver on boot.

(Source that helped me: Ubuntu forums.)


After installing 14.04 LTS 32-Bit, System Locks on "Disk Boot Failure, Insert System Disk and Press Enter"

I would guess you have something wrong with GRUB or if you used other option with MBR.
I would try to run live CD and see if filesystems are properly mounted
in /etc/fstabs. Also check for /boot/grub/grub.cfg.


Try to modify the ui.trackpoint_hack.enabled pref on the about:config page from the default value -1 to 0 or 1 to see if that makes the touch pad work.

http://kb.mozillazine.org/about:config

Close and restart Firefox after changing the ui.trackpoint_hack.enabled pref.

ui.trackpoint_hack.enabled (default:-1) (-1:autodetect;0:off;1:on)


How do I completely remove mega sync client

You have in your home directory a megasync configuration ~/.local/share/data/Mega Limited. Configurations in your home directory are not deleted by simply uninstalling a package.

Remove this folder with:

rm -rf ~/.local/share/data/Mega\ Limited

For the future use purge instead of remove when you want config files to be gone as well.


If I am continuously updating and saving my document will ubuntu one update the cloud version automatically?

Each time you save the document it will automatically be uploaded to Ubuntu One. You do not need to delete it manually. In fact, ubuntu one has a service that checks very regularly (continuously) whether something changed in your files. If a file was changed, a directory or file was added or delete, it will automatically synchronize these changes to your ubuntu one cloud.

If you still have doubts about ubuntu one check the FAQ section on ubuntu one.
Enjoy!


Stuck at splash screen of ubuntu when changing from Lightdm to GDM

If you can get into tty1 with CtrlAltF1, log in and do
sudo dpkg-reconfigure lightdm. You will be prompted to choose default desktop manager. Select lightdm. Reboot with sudo shutdown -r now
If you are keen on changing the desktop manager, there are lightdm-gtk-greeter and lightdm-webkit-greeter , which are pretty much ok,too. Install the one you like, for example, sudo apt-get install lightmd-gtk-greeter, edit the /etc/lightdm/lightdm.conf file and add the following

[SeatDefaults]
greeter-session=lightdm-gtk-greeter

Good luck !


Resolution stuck in 640x480 in grub, 11.04 and 12.04

This fixed it for me. The issue was with ubuntu not liking the EDID information it got from my monitor. Apparently windows just ignores that stuff, which is why it worked there.

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


How to add new Users to Ubuntu tablet BQ M10?

To add users via the gui :

go to the System Settings (the cog icon) -> User Accounts

If you want to add users via the cli:

sudo adduser USERNAME --ingroup phablet

If you still have problems:

check the permissions of the password file:
    ls -l /etc/passwd

they should be -rw-r--r-- and belong to root:root

you can fix this with chmod to change permissions
and chown to change owners. For info on how to use
those commands postfix --help to see thier options.


Clipboard Manager: avoid password getting stored in history

copyq has an option to prevent storage of passwords copied from Keepass (or other apps).

With diodon, there should also be an option to exclude certain apps, presumably under Ubuntu Settings > Security and privacy > Files and applications

https://esite.ch/2013/12/storing-clipboard-items-infinitely-test-version/


Applications and system keep crashing randomly

On the off chance that you are routinely observing the "Hold up! Google Chrome has slammed" message, there is likely an issue on your framework. An incidental accident can occur, however, customary accidents are presumably brought about by something you can fix.
On the off chance that you are interested exactly how frequently Chrome is smashing, you can type chrome://collides with your area bar and press Enter to see a rundown of accidents and when they happened. This is only one of Chrome's many shrouded chrome://pages.

Expansions and Add-ons

These things are exceptionally valuable however Chrome regularly gets shaky because of various program expansions, modules, or additional items. In spite of the fact that it is anything but an extremely fulfilling arrangement, keeping just 2-3 additional items in the Chrome program can enormously lessen the recurrence of Chrome crashes. Have a go at decreasing the number of augmentations and additional items you are as of now utilizing and you will see the change.

Incapacitate the clashing modules in Chrome

Presently we are discussing a Module which is a key segment of any application. It contains a string of programming techniques that are fundamental for the run-time of uses. On the off chance that these modules are causing issues, at that point you get Chrome crashes accordingly. To recognize these issues, type chrome://clashes in the 'Address Bar'. The program will at that point load all the modules and furthermore distinguish the defective ones, permitting you to incapacitate them. It will likewise make reference to the hazardous application or augmentation alongside the modules.

Accordingly, it is ideal to uninstall or expel such clashes from your framework by utilizing 'Include or Remove Program' work in 'Charge Panel'. Like it, you can uninstall the clashing expansions from Google Chrome.

Fix the Chrome client profile information

Numerous reasons cause Google Chrome's client profile information to get defiled. Chrome should be shut before closing down Windows since it needs to spare the information in the client profile. On the off chance that Chrome can't refresh client profile because of an unforeseen shutdown, at that point it can harm or degenerate the unsaved information which at last causes an issue. To fix this issue, open 'Document Explorer' and check 'Concealed things' under the 'View' tab. Close Chrome on the off chance that it is open and, at that point get to the Chrome client profile envelope by following this registry:

C:\Users\youraccount\AppData\Local\Google\Chrome\User Data (your account speaks to the name of your Microsoft account)

Right-snap to 'Rename' the organizer 'Default' to anything like Default_1, Default_bkup, and so forth. That is truly it. Test it by re-opening your program.

Impair the Sandbox security briefly

Chrome runs a security instrument considered Sandbox that ensures the rendering of HTML and JavaScript from vindictive projects. It creates a controlled and limited condition around Chrome to ensure your working framework for getting harmed. Handicapping the Sandbox highlight has worked for certain individuals however it isn't suggested by most. Right-click the Chrome symbol and open the 'Properties' to make changes. Under the Shortcut tab, you will see a way composed in a 'Target' box. Press space toward the finish of the content, simply include - no-sandbox and snap OK.

Clear history, treats, and other perusing information

A generally normal and simple arrangement is much of the time cleaning the perusing information put away in Chrome. Open the Chrome menu by tapping the cheeseburger button or the three-lines symbol on the upper right of the program and open 'Settings'. At the base of the Settings page click 'Show propelled settings' and under Privacy heading click 'Content Settings' first. At that point, under Cookies heading, select the alternative that says 'Keep neighborhood information just until you quit your program' and snap OK. This permits Chrome to consequently clear the treats.

Also, click 'Clear Browsing Data' which is directly adjacent to 'Content Settings' and select all choices with the exception of 'Passwords'. This permits you to stay marked in your sites or internet based life accounts.

Source: Google Chrome Keeps Crashing


How do I get alt-tab to cycle through all open windows on GNOME Classic?

A bug has been reported to Launchpad on this issue. Until it's resolved, install Compiz Config Settings Manager, then use the "Scale" settings there to set ALT-TAB as you want it. Works nicely, actually.


(Lubuntu) How do I make links to folders on my Windows XP hard drive that is already mounted?

That's quite easy. Right click on Folder or file and select "make shortcut". Afterwards drag and drop it to the location you want to have it.

The difficulty is, that after reboot the partition won't be loaded again. All your shortcuts will be messed up. You have to mount the partition permanently. See here:

How to mount partition permanently?


Question about installing CUDA 10.1 on Ubuntu 20.04, the root folder is empty

CUDA 10.2 on Ubuntu 20.04, Kernel 5.4.0-40
This procedure avoids any package manager involvement, and allows you to keep
the tested version 440 Nvidia drivers.  The way Nvidia packages the deb files changes all the time, so this may not work for CUDA 11, but should give you an idea of what needs to be done.
Update your Ubuntu 20.04 Nvidia drivers to the latest (tested) versions (440
as of Jul. 2, 2020) Run Software and Updates, then select the Additional
Drivers tab, and make your Nvidia selection. Various software like compilers
and kernel headers should already be present for the Nvidia module to be
build. When built, reboot and run nvdia-smi to endure you are running your
selected Nvidia drivers.
In your browser, go to the Nvidia site, and select your CUDA version to download.
https://developer.nvidia.com/cuda-10.2-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=deblocal
A window will open with a Base Installer script, just copy the wget line and get
the offered 1.8GB .deb file into the directory of your choice..
wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
Hashcheck the downloaded deb file with md5sum.
md5sum cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
4dfcc4d2bcca28e2f4b40f54171374ec  cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb

and check it against the supplied checksums at the "Installer Checksums" link under the script.
Unpack the .deb file (the contents are just other deb files).
Avoid unpacking the Nvidia deb files, but unpack all the others.
All the nvidia files or libxnv... files but one, should already  be installed, with a standard Nvidia driver install from "Software and Updates". The one to maually install is libxnvctrl-dev, which will likely have an earlier version than the system one.
cd to your cuda location and run:
dpkg-deb --extract cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb cuda102

Selecting an "install" directory, like cuda102, will allow other cuda versions to be installed in parallel if necessary. Depending upon the CUDA release, the deb files may be in further subdirectories.  I found it useful to create a directory to contain the final setup of files copied from the "install" directory.  e.g, unpack the deb files into /usr/local/data/cuda/cuda102, then use /usr/local/data/cuda/cuda-10.2 as the final setup location. The final setup will not have the deep directories of the "install" directory.
Add a link from /usr/local named cuda-10.2 to wherever you unpacked the debs. e.g.:
sudo ln -s /usr/local/data/cuda/cuda-10.2 /usr/local/cuda-10.2

sudo apt-get install libxnvctrl-dev nvidia-headless-440 nvidia-headless-no-dkms-440 nvidia-modprobe
sudo apt-get install libglu1-mesa-dev freeglut3-dev

You will have etc, usr, and  var directories created, with further subdirectories containing more .deb files in the var and usr directories.
cd var/cuda-repo-10-2-local-10.2.89-440.33.01
you will see about 70 deb files, with about 20 nvidia ones to delete (or ignore).
The cuda-compat-10-2_440.33.01-1_amd64.deb has no equivalent, and has some programs with wired in 440.33.... version names, so leave it and hope it works.  The  cuda-drivers_440.33.01-1_amd64.deb has nothing but a changelog.
for f in *deb do
 echo "Unpacking deb $f"
 dpkg-deb --extract "$f" .
done

See the "Installation Guide" link just below the script.  It will have the system requirements which you should install yourself, since you will not be running the supplied installers.
Move the contents of the deeply embedded ...cuda-10.2 up to the install directory (cuda102). There are no conflicts. (Just move the cuda-10.2 directory up to cuda, for now.)
...cuda102/var/cuda-repo-10-2-local-10.2.89-440.33.01/usr/local/cuda-10.2
Now collect all the random ...why bother, just leave it until needed if ever.
var/c*/src fortran files already present in the cuda-10.2 src. delete them.
var/c*/include/cublas h files, copy over to the cuda-10.2/include and delete them.
var/c*/share/* move all to the cuda-10.2/share (2 dirs, no overlap), and delete the share dir.
leave the lib/pkgconfig dir until needed .
leave the opt dir, only has some nvidia nsite stuff of unknown utility.
leave the etc with a config file with /usr/local/cuda-10.2/targets/x86_64-linux/lib
unneeded with a proper LD_LIBRARY_PATH I would think.
You should have a location with all the CUDA libraries and binaries. Add the
bin and lib64 to your PATH and LD_LIBRARY_PATH at their beginnings. Note the
required gcc version for your CUDA selection -- the default 9.x version should
work, but the samples' makefiles will be set up to limit to a specific,
earlier, version. For current CUDA releases, the earlier compiler versions
should be available in the standard repositories, and are already installed,
except for g++-8.
sudo apt-get install g++-8 Ubuntu 20.04 supplies gcc-8, but gcc-9 is the
default when "gcc" is invoked. Older CUDA releases may require a compiler
older than those supplied in the standard repositories, so use an older Ubuntu
release archive or get the source.
/usr/local/cuda-10.2/bin/../targets/x86_64-linux/include/crt/host_config.h:138:2:
 error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
  138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
      |  ^~~~~

The gcc-8 version supplied by default is 8.4, which does not trigger the error message.
Forgetting to install g++-8 will cause misleading errors about gcc versions.
Manually changing the HOST_COMPILER may work, but may lead to undefined symbols.
HOST_COMPILER=/usr/bin/gcc-8 make
undefined reference to symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc@@GLIBCXX_3.4.21'

Add soft links to these ealier version tools (gcc, g++, nm, ar, ranlib) in
your cuda/bin directory. Since the cuda/bin is first in your PATH, they should
override the system defaults. Avoid using the update-alternatives mechanism to
change the system's default compiler. Every kernel update needs to recompile
parts of the Nvidia video driver, and an old compiler version is untested for
this, and may not work.
If the samples are not included in your initial deb, get their deb, install
them, and copy the samples directory to a writeable location, taking
ownership. Try to make a sample, like 5_simulation/nbody. you should just have
to type "make", and the compliles and loads should work, producing an
executable, nbody. Run it ./nbody.
you can run the make file from the top level, and note any missing libraries
for some samples. At least one sample, simpleDevice... seems to need a lot of
memory, maybe more than available.


OK the answer is to drop an app on top of an other app :-)
Youtube - News in 20.04


Why is snap packages shown in lsblk output?

Each snap (in 16, not in 15.04) is a squashfs file which, when installed, is mounted.


normal startup "freezes" before loginscreen

The first Link is supposed to show my graphic card drivers.


How can I access my Mac OSX home folder on my macbook?

It seems that using UID=99 and GID= 99 solved any problems.
That's strange, but it's working for now (I'm using read only access, just to listen to my music and copy my work files).
Now I have a lot of system users on gdm login screen, but since I'm using autologin it's not a big problem.


Have to rebuild usb wifi drivers on each reboot

I suggest that you try:

git clone https://github.com/gnab/rtl8812au.git
sudo cp -r rtl8812au  /usr/src/rtl8812au-4.2.2
sudo dkms add -m rtl8812au -v 4.2.2
sudo dkms build -m rtl8812au -v 4.2.2
sudo dkms install -m rtl8812au -v 4.2.2

Please post any errors.

Reboot.


Wireless network disconect every x time in ubuntu 15.04

Whats the make & exact model number of your wireless card (Broadcom/Intel/Realtek/etc)?

Ubuntu has a number of open unresolved bugs related to WiFi issues. Depending on the make of your card, one of these could be effecting you:

https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1354975
https://answers.launchpad.net/ubuntu/+question/266033
https://bugzilla.kernel.org/show_bug.cgi?id=83641

Also, given that this issue didn't exist before you upgraded to 15.04, it may be similar to the following problem where the Wifi driver and the bluetooth driver were interfering with each other: https://askubuntu.com/questions/547365/intel-centrino-iwlwifi-driver-problem-wifi-disconnects-after-suspend-hibernate


Ubuntu 20.04 boots to black screen with flashing cursor

I also encountered the black screen with my new installation, and it was a relatively easy fix.  Press CTRL-ALT-F3 to trigger the CLI, and, once logged in, type:
sudo nano /etc/default/grub

Find the line with the variable GRUB_CMDLINE_LINUX_DEFAULT, and add nomodeset to the variables, so it looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

Then update-grub:
sudo update-grub

And it should boot.  I also ran apt-get update -y && apt-get upgrade -y once in just to make sure everything is good to go.  Best of luck!


I have the same problem. You can force the GRUB menu to appear by commenting out the line GRUB_HIDDEN_TIMEOUT=0 or GRUB_TIMEOUT_STYLE=hidden in /etc/default/grub and ensuring GRUB_TIMEOUT is set to some number greater than 0.

So for example

sudo nano /etc/default/grub

and change that line to this:

#GRUB_HIDDEN_TIMEOUT=0

or

#GRUB_TIMEOUT_STYLE=hidden

make sure GRUB_TIMEOUT= has a value more than 0 (I can see you have the default 10 so you can leave it as it is, but in later versions the default may be set to 0), save and exit

Then run

sudo update-grub


how to kill a cron job if it doesn't show in ps? or get it to show in ps?

I think cron spawns the job, so you wouldn't have a "cron" process related to that. I'd try ps wwuxa |grep rake. You say you already did? the process has to be there like you mention, I think you're doing it right, you may want to try with my "wwuxa" thing for ps just to cover all your bases.


How can I delete all my core files cleanly?

I have been using Linux every since Hardy Heron and I stumbled upon this one line script which will remove core dump files cleanly and safely. I don't remember where I originally found it, but it works great. Type the following line as super user of course:

find / -type f -name core -atime +1 -exec rm {} \;

That's it. Very simple and with proper substitution can be used to remove /tmp and /var/tmp files. The -atime attribute is variable so you can decide how many days of files you want to keep or not. Always try the simple solutions first.


How to create a custom startup image on a LiveCD

To create your own Live CD, please take a look at this question: How can I make a live CD/DVD from my harddisk installation?

To use your own company branding, you must modify the images in /usr/share/images/xsplash/

In my machine, I have only a background image of 2560x1600 but you should have backgrounds of various resolutions just in case. Use GIMP to change the images, and their resolution. Pay attention to the naming scheme. eg, a splash image of 800x600 will be named bg_800x600.jpg

Also be sure to backup the images by running this command on a terminal:

sudo cp -r /usr/share/images/xsplash ~/usr/share/images/xsplash-backup


You can try this package sudo apt install alsamixer and then simply type alsamixer. It will show if you have some muted outputs.

If this will not solve your problem, you can try this method also (this one was helpful for me):

sudo gedit /etc/default/speech-dispatcher and replace string RUN=yes to RUN=no


What exact packages do I need to update inorder to upgrade the kernel?

Since you seem to be using the ordinary -generic kernel instead of an architecture-specific kernel, use 135 or higher.

Your output indicates that you already have 135 installed. Simply reboot into the new kernel using GRUB.

How to get to the GRUB menu at boot time


I solved this in Ubuntu by saving my layout with a name besides default, say basic_layout. Then edit terminator's Launcher button to specifically use this layout on startup.

Open the terminator launcher file in your favorite editor:

sudo vim /usr/share/applications/terminator.desktop

Find this line:

Exec=terminator

And replace it with this line:

Exec=terminator -l basic_layout


Newbie to Ubuntu today w/Windows 7-64 bit dual boot system

It seems that your wifi dongle is one of the few that requires some tinkering.

More exact, a ndiswrapper for your driver. I found another user, with out the same problem, and there was a guide for installing and setting up this ndiswrapper.

Check out the post here: How can I get a Belkin N600 DB (F9L1101v1) to work on Ubuntu 12,04 64-Bit

That guide is based on the information at this site: http://www.brianzier.com/getting-the-belkin-n600-db-to-work-on-ubuntu


Ubuntu 18.04 Login Keyboard Language English (US) and Afghan?

I had the same problem when being Spanish speaking and using the letter ñ in my passwords. Finally I made the same decision to replace the manager start, gdm3 by LightDM, with a small point: at first, LightDM login screen remained in infinite loop, even getting good password, but change the startup type from Ubuntu Wayland to Ubuntu (default) and it works perfectly.


How to expand boot partition in front of LVM partition

I faced the exact same problem, came across this post, and solved it. I did the following with a 16.04.3 live CD:

Used KDE Partition Manager to expand /dev/sda2 to the end of the drive
Used KDE Partition Manager to move /dev/sda5 to the end of the drive
Tried to use KDE Partition Manager to squeeze out the empty space on the left side of /dev/sda2, but failed. It wanted to first move /dev/sda2 to the right and then chop off an equal amount of space from the right side of /dev/sda2 but there was no room on the drive to do so.
Used gparted to squeeze out the empty space on the left side of /dev/sda2.
Used gparted to grow /dev/sda1 and occupy the whole space.

It worked without updating grub.

Notes:

/dev/sda5 is encapsulated by /dev/sda2 so you can't move or expand /dev/sda5 without making changes on /dev/sda2 first.
You may try to move /dev/sda2 directly to the right. I should have tried it before expanding /dev/sda2.
I used KDE Partition Manager first because I was convinced that gparted doesn't support LV, but now I doubt it because I can activate/deactivate LV with gparted, and I will try gparted for the same operations if I have the chance in the future.

Update:

I recreated the scenario in a virtual machine and tried gparted from 16.04.3 live CD. Now I can confirm that the whole procedure can be done solely by gparted, but I can't move /dev/sda2 directly to the right.


Speakers are not working while headphones are working on my Dell Inspiron 17 5000 Series laptop

can you navigate to Settings -> Sound and check outputs there?
I often have them set to headphones (after plugging them in) and it doesn't switch back on disconnect. Manually reselecting output device work, thoguh.
Just select headphones and then normal speakers again and it should work fine.


Date and time in the past lost after reboot or poweroff/poweron

I have seen Linux-based systems checking the datetime variable for some internal processes in order to log everything in a correct timeline.

I think the system is detecting your current system datetime variable and comparing it with the one set in some file, and thus is not possible to be al older date this boot compared to the previous boot, it tries to update (via internet?).

In every "normal" boot, the date will always be future compared with the previous boot, so seems to not be a problem (you can boot your PC 20 years later, that has sense; but not 5 days before, that does not).

This is what I think, interesting question by the way.

EDIT:

Have you tried to set it to the future (10 days, for example), rebooting, doing some stuff (installing any package, updating kernel, ...) and then setting it to the present datetime again?

That could help us both to understand this better.


Getting installation error on working package when using apt

I had this problem also, so I try above things and solved.

    sudo apt-get --purge remove leap

and download hot fix version

https://leapmotion.app.box.com/s/rlwzvt680i5r6zes75ge36ub2yt7ksx3

(from https://community.leapmotion.com/t/linux-support-situation/4523)

I downloaded bottom one

and just install Leap-2.3.1+33747-x64.deb


Power indicator randomly drops to 0% when turned on

I also have similar problem with my lenovo Thinkpad t440p whicis more than 4 years old.
But it doesnot drops to zero suddenly. If the charge is 10% within a minute it drops to 6% then again to 3% after that it logs off.
5-6 Months ago I used ubuntu 18.04 lts without any problem.
I think thats due to the battery hardware issue.
You can:

Try replacing battery. Or check for any hardware driver for battery.

Try checking battery performance on other versions of ubuntu(18.04)
or other operating systems.

Try reinstalling proper and compatible version laptop.


Faulty Ethernet-over-USB Connection to Debian Beaglebone Black

Try to run

sudo udevadm control --reload-rules

on you Ubuntu host PC and try ifconfig.If it doen't work, try to "reboot" and do the same.


Making Customized Distro of Ubuntu Server (minimal)

check this wiki from official Ubuntu Documentation

Your option is alternate cd


Ubuntu stuck on boot in after upgrade to 19.10 from 19.04 in VMware [end kernel panic not syncing: VFS: unable to mount root fs on block (0,0)]

After a long struggle I have been able to fix this with the help of previous answers and trial and errors.
I booted into Advanced mode while booting Ubuntu press F2 when you see grub2 bootloader. On some systems you may need to press Shift to get to advanced boot menu.
In my case since I was in a VMware Workstation environment I pressed Shift or F2 to get to boot menu as shown below

So now you see many kernels are shown I started selecting one by one.One kernel after other and tried booting in some cases I failed and I got the same error message saying kernel panic vfs unable to mount root filesystem could not find (0,0)
The kernel that worked in my case from above entries was

5.0.0-32-generic

The one highlighted in screenshot. I booted it and after I could boot rather than going to GUI or GDM login which will not work.
Switch to a text-based virtual console by pressing (if you are in a virtual machine you may need to press function key on real hardware to get to text based console pressing Fn key is not required)
Ctrl+Alt+Function+F2 or
Ctrl+Alt+Function+F3 upto F12
meaning any of these key combination will give you a tty
Ctrl+Alt+Function+F4
Ctrl+Alt+Function+F5
Ctrl+Alt+Function+F6
Ctrl+Alt+Function+F7
Ctrl+Alt+Function+F8
Ctrl+Alt+Function+F9
Ctrl+Alt+Function+F10
Ctrl+Alt+Function+F11
Ctrl+Alt+Function+F12
Which ever key it gives you a terminal without a GUI press just one of the combinations.
(Just be cautious that in some systems Wi-Fi might get disabled with some function key so leave that combination of function key)
If you are on a real hardware you need to press Ctrl+Alt+ (F1/F2/F3/../../../F10/) (or whichever key works for you, although usually all will work). The GUI though you will get in either Ctrl+Alt+Fn+F1 or Ctrl+Alt+Fn+F5/F6 depending upon which tty is set for default GUI in your case. Since I am on VMware so I had to press Fn key also other wise you don't need to press Fn just a combination of Ctrl+Alt+F1/F2/F3/F4/F5/F6/F7/F8/F9/F10/F11/F12
key will give you required command prompt login.
Then login with your username and password. I was logged into tty6 (Ctrl+Alt+Fn+F6)

As explained on answer here:
update-initramfs -u -k 5.3.0-19-generic (or your version)

If you don't know your version. Use:
dpkg --list | grep linux-image

And just update Grub:
update-grub2

But just this grub update won't work as grub still is not there on hard disk.
I am uploading screenshots in my case this command failed also at one or two kernels

dpkg --list | grep linux-image:

Now without logging in GUI and before a reboot (after doing update-grub2) I did a
dpkg --configure -a

I got following screenshot during grub upgrade

As mentioned in this answer https://askubuntu.com/a/939883/992730
press space to select the desired entry and arrow keys to move up and down.
Now you see even after a update-grub2 command dpkg --configure -a was required.
Now all the broken dependencies or packages which were being upgraded previously and some how had failed in between due to some error restarted from a point where they should have been continuing.
Then after a reboot I was able to get back a working system 19.10

Here I was finally successful.


What packages on Ubuntu Server 12.04.1 are need?

I'm supposing you want to remove all non-default packages.

First of all, the desktop version of Ubuntu has a manifest file listing all the packages contained on the cdrom (example). Unfortunately it seems that this manifest is not available online for server editions, but you can try to search it on the cdrom.

Also, if you installed ubuntu-desktop through apt-get you should inspect the log located in  /var/log/apt/history.log. This log has entries like this (an example from my machine):

Start-Date: 2013-02-18  23:55:18
Commandline: apt-get install compizconfig-settings-manager
Install: compiz-plugins-main:amd64 (0.9.7.0~bzr19-0ubuntu10, automatic), compizconfig-settings-manager:amd64 (0.9.5.92-0ubuntu3), compiz-plugins:amd64 (0.9.7.12-0ubuntu1, automatic)
End-Date: 2013-02-18  23:55:35

So you can try to locate the command you issued to install ubuntu-desktop and get the listing of the installed packages.

If you opt to do a clean install, before try tasksel. It will probably damage your system because it doesn't deal well with dependencies, but you have nothing to loose :)

There you can select "Basic Ubuntu Server" and deselect "Ubuntu Desktop".

Good luck!


How to remove a keyboard combination on ubuntu 19.10

To change the standard shortcuts:
Go to Settings > Devices > Keyboard
Scroll down to "Typing"
Change the current set shortcut into something else.

EDIT:
To disable CTRL+ALT (or similar shortcuts for changing language) do the following:

Install the GNOME Tweak Tool
sudo apt-get install gnome-tweak-tool
and open it:
gnome-tweaks
Then go to Keyboard & Mouse and click the button "Addtional Layout Options"
Look for "Switching to another layout" and click on it.

There you can unselect CTRL+ALT.


Unable to connect to Internet using Asus PCE-AC68 Wifi Card

Here's a similar thread: Dependencies unsatisfied for offline Broadcom installation

As @dadexix86 mentions, it's preferable if you have a wired connection you can use (temporarily) to download these dependencies. If not, you'll have to download them one by one from some place like Launchpad (e.g. https://launchpad.net/ubuntu/bionic/+package/g++) and then transfer them somehow to your machine. Afterwards you can run the following (roughly in correct order):

sudo dpkg -i linux-libc-dev_4.15.0-20.21_amd64.deb
sudo dpkg -i libc-dev-bin_2.27-3ubuntu1_amd64.deb
sudo dpkg -i libc6-dev_2.27-3ubuntu1_amd64.deb
sudo dpkg -i libitm1_8-20180414-1ubuntu2_amd64.deb
sudo dpkg -i libatomic1_8-20180414-1ubuntu2_amd64.deb
sudo dpkg -i libasan4_7.3.0-16ubuntu3_amd64.deb
sudo dpkg -i liblsan0_8-20180414-1ubuntu2_amd64.deb
sudo dpkg -i libtsan0_8-20180414-1ubuntu2_amd64.deb
sudo dpkg -i libubsan0_7.3.0-16ubuntu3_amd64.deb
sudo dpkg -i libcilkrts5_7.3.0-16ubuntu3_amd64.deb
sudo dpkg -i libmpx2_8-20180414-1ubuntu2_amd64.deb
sudo dpkg -i libquadmath0_8-20180414-1ubuntu2_amd64.deb
sudo dpkg -i libgcc-7-dev_7.3.0-16ubuntu3_amd64.deb
sudo dpkg -i gcc-7_7.3.0-16ubuntu3_amd64.deb
sudo dpkg -i gcc_7.3.0-3ubuntu2_amd64.deb
sudo dpkg -i make_4.1-9.1ubuntu1_amd64.deb
sudo dpkg -i dpkg-dev_1.19.0.5ubuntu2_all.deb
sudo dpkg -i libstdc++-7-dev_7.3.0-16ubuntu3_amd64.deb
sudo dpkg -i g++-7_7.3.0-16ubuntu3_amd64.deb
sudo dpkg -i g++_7.3.0-3ubuntu2_amd64.deb
sudo dpkg -i build-essential_12.4ubuntu1_amd64.deb
sudo dpkg -i dkms_2.3-3ubuntu9_all.deb
sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb


g++ error "sstream.tcc:112:39: error: expected unqualified-id before ‘(’ token"

A Google search for that error message suggests this is caused by a macro max interfering with code in sstream.h.  Try adding these lines just above where it is included in main.cpp:

#undef max
#undef min


How can I burn the 12.04.2-desktop ISO-image under Windows XP?

If you are unsure about the file format (if its a zip or a ISO file) please locate the file on your computer. Right click it and select Properties from the drop down menu. And make sure the "type of file" is an ISO File (ISO). If the file format differs from this you should download the .ISO file from the download page.

The link you provided should already give you the necessary instructions on how to use Infra Recorder


How to enable GRUB when using dual boot Windows 10

I have once had a similar problem with dual-booting with Microsoft Windows.

I solved the issue by taking the following steps.

Boot into Ubuntu.
Hold CTRL-ALT-T to open a terminal
Run:sudo update-grub2 and allow GRUB to update it's list of operating systems.
Close Terminal.
Restart Computer.

Alternatively one could install and use boot repair HERE

This should hopefully sort out the problem and show GRUB upon start up instead of Windows Boot Manager. Good luck.


Nautilus-Share-Message: Called "net usershare info" but it failed

Nautilus uses the net usershare info command to get information about non-root user defined Samba shares. See the net manpage for more about this command.

If that command fails Nautilus assumes there are no such shares and displays the error message it got just in case you want it.

Creating the folder /var/lib/samba/usershares/ should prevent the message from appearing:

sudo mkdir -p /var/lib/samba/usershares/


Can I disable the alt+window+right click behaviour for editing panels in Gnome Classic?

Alt+MouseClick is used by Compiz for moving and resizing windows, hence it conflicts with the GNOME Panel that uses Alt+RightClick for bringing up the context menu.

It is a conflict that occurs because both wants to use Alt+Mouse. Using Alt+Super+Mouse is a workaround that prevents Compiz from capturing the key-combination and lets GNOME Panel get it.

You can remap the key-combination for Compiz to use another key than Alt. I remapped it to use Super instead.

gconftool-2 --set --type string /apps/metacity/general/mouse_button_modifier '<Super>'


Error: gpg: no valid OpenPGP data found while installing Filezilla

You appear to be over complicating the process of installing filezilla.

Simply enable the universe repository

Then install filezilla either via the software center or via the command line with sudo apt install filezilla

Source:

testing on Ubuntu 16.04.3


Your computer's crashes could be caused by several possible reasons. I will discuss one possible reason, overheating, in this answer. Overheating is an easy problem to detect. You can continually monitor your computer's hardware temperatures using an application from the Ubuntu Software Center called Psensor.
Install Psensor. Also install lm-sensors to detect your computer's hardware sensors. Then detect your computer's hardware sensors by opening the terminal and running the command:
sudo sensors-detect

Then you will get asked a lot of questions about what hardware you want the program to detect.  It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.
In Ubuntu 16.04 and later Psensor detect your computer's hardware sensors automatically without running sudo sensors-detect
Psensors is displayed on the desktop as a little thermometer icon in the notification area in the upper right-hand corner of the desktop. You can right-click the thermometer icon at any time to display the hardware temperatures. As a general guideline, a hardware temperature of 60o C is hot. A hardware temperature of 70o C and above is too hot, and could cause your system to crash.


No Wi-Fi adapter found Ubuntu 18.04 regardless of any action

Since yours is a dual-boot installation alongside Windows, I recommend that you disable Fast Startup in Windows. Reference: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#about_dual-boot_with_windows_and_fast-boot_enabled
Next, the backport package is often known, including in my own case, to actually degrade performance. I recommend that you remove it:
sudo apt purge backport-iwlwifi-dkms

Reboot.


The users command prints the user names of users currently logged in to the current host, not the list of users you created on your computer.

In your case, it returns the same user name twice because you are probably logged in twice.

You can check by using the who command (show who is logged on):

felix@computer:~$ who
felix    pts/0        2013-02-04 06:40 (:0.0)
felix    pts/5        2013-02-04 06:42 (:0.0)
felix@computer:~$ users
felix felix

See the manual pages for more information (man 1 users).


In your metered-data situation, it seems unwise of you to use Snaps.
Using Snaps is a choice that you have. Nobody is making you install snaps. In your situation, snaps are very easy to disable (sudo apt remove snapd).
"Ubuntu is set on moving to snaps" is a classic falsehood. (That means it's simply not true).

Deb packages have been packaged by Debian volunteers for over 20 years. Nothing has changed in the Debian world: Volunteers like you can continue packaging any license-compatible open-source software into debs.
Some Open Source developers have indeed decided to shift their effort from deb to snap. That represents a lack of volunteer interest at those upstream projects, not a nefarious plan or agenda. Volunteers like you can continue packaging the software into debs.


Ubuntu & UEFI - GRUB console after boot (Boot Repair output included)

Since Boot Repair doesn't seem to have worked, the next option is my own rEFInd boot manager. It can boot a Linux kernel directly and needs little or nothing in the way of configuration files (unlike GRUB, which requires a very complex configuration file, which is what's not working for you). Download a USB flash drive or CD-R image from the rEFInd downloads page, prepare a boot medium, and try booting it. (You'll probably have to disable Secure Boot, if you haven't done so already -- your Boot Repair output indicates it is disabled, but you may have re-enabled it.) rEFInd should show you options to boot both Windows and Ubuntu. (For Ubuntu, rEFInd will likely show options for both GRUB and direct boots of your kernels.) Try them both. If any of the Ubuntu options works, you can install rEFInd via its PPA or Debian package and you should be good to go. If rEFInd fails, post back with details of what went wrong.

EDIT: Oh, wait, I just noticed that you're using XFS. That will complicate things with rEFInd. Pete Batard's EFI driver package includes an XFS driver. You could add that to the rEFInd USB flash drive and it might work, but I make no promises about that. Switching to ext4fs or Btrfs would give rEFInd a better chance of working, but of course that will require re-installing.

If you do re-install, do so in EFI mode from the start. Installing one OS in EFI mode and the other in BIOS mode is an exercise in pain. Your Windows is in EFI mode, so you should install Ubuntu in EFI mode, too.


Broadcom Wireless for Compaq 615 on Ubuntu 12.04.4 LTS

Please open a terminal and do:

sudo apt-get purge bcmwl-kernel-source

Now, with a temporary wired ethernet connection:

sudo apt-get install firmware-b43-lpphy-installer

Detach the ethernet, reboot and let us have your report.


What will happen if i will terminate the update in between (from the terminal)

Simple:

Q1 Ans :

while you are downloading the package updates from the terminal , If you interrupted with a restart/shutdown then

previously downloaded packages will be save and you wont lost the downloaded files.
you can resume the process with sudo apt-get upgrade again.

Q2 Ans :

This is completely prohibited and not recommended action. The consequences will be as

your system may lost stability.
your Ubuntu package architecture may have broken.
In some cases you wont even able to have a normal start.

completely not recommended action.


Is it possible to White Label Ubuntu One?

No, it isn't possible to whitelabel Ubuntu One.


Ubuntu phone contacts ordered by firstnames only

I couldn't reproduce what you mention about new contacts being sorted differently, but I added a bug against the contacts app about the last name sorting: https://bugs.launchpad.net/ubuntu/+source/address-book-app/+bug/1495726


How to enable the Edit button in Shutter?

I found a solution here: http://ubuntuhandbook.org/index.php/2018/04/fix-edit-option-disabled-shutter-ubuntu-18-04/.
I can confirm that it works for Budgie 18.04.

  Download and install the libgoocanvas-common and libgoocanvas3 packages.

  Either use Gdebi package installer (available in Ubuntu Software) or
  run command in terminal (press Ctrl+Alt+T) to install the package:

sudo dpkg -i ~/Downloads/libgoocanvas3_1.0.0-1_amd64.deb
sudo dpkg -i ~/Downloads/libgoocanvas-common_1.0.0-1_all.deb
sudo apt-get -f install

  Finally download & install libgoo-canvas-perl package:

  Also install the package via Gdebi or terminal command, since Ubuntu Software doesn’t solve dependencies automatically:

sudo dpkg -i ~/Downloads/libgoo-canvas-perl_0.06-2ubuntu3_amd64.deb
sudo apt-get -f install

  To apply changes, kill Shutter process or restart your computer!


Libreoffice calc appears in launcher as a white icon


Screen resolution changes when a key is pressed

This is "fixed" after reinstalling Ubuntu (I'm using Ubuntu 13.10 now). It might've been caused because my PC was upgraded all the way up from Ubuntu 10.4 to 13.4.


No webGL in Chromium for Radeon Xpress 1250 (RS600M) in Raring

Bah. I hate answering my own question, but here goes:

As it turns out, chromium happens to just disable webGL for my particular hardware configuration. It is supported, it's just forced off. I had to go to about:flags, and then enable "override software rendering."

BE WARNED: this apparently is pretty crash-prone but I haven't seen it happen yet. So for the time being I'll leave this answer here but not select it if someone can come up with a better driver that is not as crash prone... but that might not be a problem at this point.


how to nicely stop all postgres processes

It's safe to:

sudo pkill -u postgres

That kills all processes running as user postgres. Or:

pkill postgres

That kills all processes named 'postgres'.

Do not use kill -9 (kill -KILL). Just kill (without options) does a SIGTERM, which is what you want.

Alternatively, you can check the pgdata location if you can connect to PostgreSQL. For example:

sudo -u postgres psql -c "SHOW data_directory";

...or by checking its environment variables in /proc/[postmaster pid]/environ, where you identify the postmaster with ps -fHC postgres. Look for the one that's the parent of the other postgres processes. For example:

postgres   794     1  0 Nov06 ?        00:00:03 /usr/pgsql-9.3/bin/postgres -D /var/lib/pgsql/9.3/data -p 5432
postgres   857   794  0 Nov06 ?        00:00:00   postgres: logger process
postgres   871   794  0 Nov06 ?        00:00:00   postgres: checkpointer process
postgres   872   794  0 Nov06 ?        00:00:00   postgres: writer process
postgres   873   794  0 Nov06 ?        00:00:00   postgres: wal writer process
postgres   874   794  0 Nov06 ?        00:00:03   postgres: autovacuum launcher process
postgres   875   794  0 Nov06 ?        00:00:07   postgres: stats collector process

Its datadir will generally be shown on its command line.


How do I 'Forget' saved network credentials

It must have some sort of timeout - tried again today and it asked for a password.  Still would like to know how to fix this.


How to set a custom text highlighting colour

The color code is #d64937

find "/usr/share/themes/Numix Daily/gtk-3.0" -type f -name '*.css' -print0 | xargs -0 grep 'd64937'

therefore you have to change two files:

sudo nano "/usr/share/themes/Numix Daily/gtk-3.0/gtk-dark.css"
sudo nano "/usr/share/themes/Numix Daily/gtk-3.0/gtk.css"

Search for

@define-color selected_bg_color #d64937;

And replace with

@define-color selected_bg_color #4A90D9;

Restart GNOME via Alt-F2 any type r isn't enough, logout and re-login.


Postfix cannot email to any domain except locally

Fast solution is to put some relayhost in you postfix config.
relayhost is usually smtp of you ISP. When you put relayhost in config all mail from your server will be routed to relayhost.


Does the Search field on the launcher in kde depend on Nepomuk?

By my knowledge

By my knowledge the KDE is using the kbuildsycoca4 to build the KDE menu cache. The launchers are then using the cache to search and launch the programs.

Searching...'update kde menu' -> https://bbs.archlinux.org/viewtopic.php?id=64514

If the KDE menu is not updating automatically you could try to run the kbuildsycoca4 from the Konsole.

:~$ kbuildsycoca4 --help
Usage: kbuildsycoca4 [Qt-options] [KDE-options] [options]

Rebuilds the system configuration cache.

Generic options:
  --help                    Show help about options
  --help-qt                 Show Qt specific options
  --help-kde                Show KDE specific options
  --help-all                Show all options
  --author                  Show author information
  -v, --version             Show version information
  --license                 Show license information
  --                        End of options

Options:
  --nosignal                Do not signal applications to update
  --noincremental           Disable incremental update, re-read everything
  --checkstamps             Check file timestamps
  --nocheckfiles            Disable checking files (dangerous)
  --global                  Create global database
  --menutest                Perform menu generation test run only
  --track <menu-id>         Track menu id for debug purposes

Launchers

The KDE has plenty of launchers: http://www.kubuntuforums.net/showthread.php?59851-KDE-Application-Launchers .

The Mangonel advertise:

  Mangonel, a simple application launcher for KDE4.

  Mangonel is intended as a light weight replacement for the, in my
  view bloated and slow, standard KRunner...

The Mangonel is available from the Ubuntu repositories: http://packages.ubuntu.com/search?keywords=mangonel&searchon=names&suite=all&section=all


Check out cron-apt. It can do exactly that. I use cron-apt to download packages and send email that tells what can be updated.

If you are running anything critical (not your own desktop computer, that is), automatically installing updates is risky.

Something breaks (for example some software removes some configuration parameter you were using, and it's not starting anymore; that's why something important was down for several hours / you were paged in the middle of night).
Your server do not boot after it upgraded something. You reboot it several days later, and you have no idea what went wrong (of course, you can fix this by sending out those update report emails).

If you perform attended update (meaning you are sitting somewhere during your computer actually installs new packages), you can fix problems immediately, not in the morning, when everything has been broken for several hours already. Or alternatively, you'll wake up when your excellent monitoring system alarms that important things are not working.


Black screen with white command line cursor when booting from clonned HDD

Cloning Portable Ubuntu, even a non-LiveUSB installation of Ubuntu, from a USB flash drive onto an HDD won't set up Ubuntu properly.

https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop#0 shows the proper procedure for installing Ubuntu from a LiveUSB according to Canonical, the devleopers and publishers of Ubuntu.

It requires you first make a LiveUSB with an Ubuntu installer. Here are instructions to make it on a Windows PC and to make it on an Ubuntu PC.


How to change the location a shortcut is linked to?

If you're talking about the quicklists of Unity launcher, you should take a look at How can I configure Unity? and search for "quicklists".

You will have all the informations you need to edit the quicklist of nautilus, so you can change the target of the "Downloads" shortcut.


set system-language to english: apt showing messages in spanish

I think I found the reason.

LANGUAGE=en_US:es

You must have set that manually; the UI would not allow you to. The thing is that the en_US translation files typically do not include translations, since the original strings are supposed to be American English. So gettext looks first for a translation in en_US, does not find any, and then go looking for a Spanish translation.

You should change it to:

LANGUAGE=en_US:en


Why is Google glog library not present in 12.04?

Also posted to bug tracker

Here's why it was pulled from Precise -- at the request of the Debian QA team: https://launchpad.net/ubuntu/precise/amd64/libgoogle-glog0
If a ppa will do, 0.3.1-1ubuntu1 (from Oneiric) appears to compile just fine on Precise.


I found out that this topic was rolled through already.

My favorite tool that I found: http://codr.io/


How do I install Gallium3d Drivers in Ubuntu 12.10?

You can find articles and benchmarks of linux display drivers on Phoronix.

If you really want to use gallium3d drivers, open a terminal by pressing CTRL+ALT+T and follow these instructions (taken from here):

Add ppa:oibaf/graphics-drivers  (Click here for instructions on using PPAs.) to your system:

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update
Install the driver:

sudo apt-get install libg3dvl-mesa
Restart.

You can revert to the default drivers by removing the PPA as follows:

Install ppa-purge:

sudo apt-get install ppa-purge
Purge the PPA:

sudo ppa-purge ppa:oibaf/graphics-drivers


You can access the machines directly using juju ssh:

juju ssh hbase-master/0

Assuming you called your service 'hbase-master' this will ssh you into that service allowing you to perform actions on that unit. There are some examples of this in action in the hbase readme.

As far as how to use the hbase charm, if the readme doesn't cover your questions, it's likely best to contact the author of the charm.


Try starting seq24 with the -m option or edit $HOME/.seq24rc and look for the [manual-alsa-ports] section. It should be set to 1.


Computer HDD LED lit all the time while Ubuntu is on

I tried with iotop as @solsTiCe recommended and i saw that the top of the resource usage was by jbd which I later investigated here and it resulted it was a journaling process which was editing logs.

Screenshot of iotop

I went to var/log and by using watch ls -lS i observed the biggest files there and which ones were changing and it resulted that the ones being edited were related to sendmail and mail errors.

So, the solution was to login as root and /etc/init.d/sendmail stop and the LED light immediately went off.

I now have to configure sendmail correctly but in the meantime the problem was solved.


No WiFi Adapter Found with fresh Ubuntu 20.04 install on MSI GE66 Laptop, and other strange behavior

Thank you @Charles Green for the answer.
For those facing the same issue, this is how you'd go about solving it.
The full instructions are posted here
Basically you need to install the drivers for the Killer AX1650 card.
Simply running these commands did not work:
sudo add-apt-repository ppa:canonical-hwe-team/backport-iwlwifi
sudo apt-get update
sudo apt-get install backport-iwlwifi-dkms
sudo reboot

Instead, what worked for me is running the following commands:
sudo apt update
sudo apt-get install -y git
sudo apt-get install -y build-essential

git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
cd linux-firmware
sudo cp iwlwifi-* /lib/firmware/
cd ..

git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
cd backport-iwlwifi
sudo make defconfig-iwlwifi-public
sudo make -j4
sudo make install

sudo update-initramfs -u
sudo reboot


Segmentation fault (core dumped) in nam ubuntu 14.04

Do not install via terminal.

Download ns-allinone-2.35.tar.gz file from https://sourceforge.net/projects/nsnam/

Install the following dependicies

sudo apt-get install tcl8.5-dev tk8.5-dev gcc-4.4 g++-4.4 build-essential autoconf automake perl xgraph libxt-dev libx11-dev libxmu-dev.

Extract ns-allinone-2.35.tar.gz

open ns-allinone-2.35/ns-2.35/linkstate/ls.h file.

go to line number 137.

change

"void eraseAll() {erase(baseMap::begin(), baseMap::end());}"

to

"void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); }"

then goto ns-allinone-2.35 directory

cd home/isysway/ns-allinone-2.35/
./install

it takes some time

come to home directory

isysway@isysway:~$ sudo gedit .bashrc

a text file will open

go to end of the file

add the following line

PATH=$PATH:/home/isysway/ns-allinone-2.35/bin:/home/isysway/ns-allinone-2.35/tcl8.5.10/unix:/home/isysway/ns-allinone-2.35/tk8.5.10/unix
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/isysway/ns-allinone-2.35/otcl-1.14/lib:/home/isysway/ns-allinone-2.35/lib
TCL_LIBRARY=$TCL_LIBRARY:/home/isysway/ns-allinone-2.35/tcl8.5.10/library
export PATH
export LD_LIBRARY_PATH
export TCL_LIBRARY

note:my user name is "isysway" you replace it with yours

isysway@isysway:~$source .bashrc

then

isysway@isysway:~$ns

%

if the modulo symbol comes you did it.


Dell Latitude e6420 - Ubuntu 16.04 LTS - mouse touchpad and keyboard freezes after a while

It was the graphics driver - i installed nvidia and works like a champ now (same issue, same pc)

Graphics issues after/while installing Ubuntu 16.04/16.10 with NVIDIA graphics

basically -

Ctrl+Alt+F1

to get into shell that won't get hosed when things freeze up

then:

sudo apt-get install nvidia-375


(Lubuntu) How to move close, minimize and maximize to the left

From the "Preferences > Customize Look and Feel" menu we choose the "Window Border > Title Bar" tab where settings of windows button order can be made.

Changes we made will immediately be displayed in a preview to the right side. If we were happy, press Apply.


How to reset my $PATH environment variable back to default?

Building on the comments made by steeldriver try the following two simple steps:

1. Backup existing config:

mv -v ~/.bashrc ~/.bashrc_bak && mv -v ~/.profile  ~/.profile_bak

2. Create new, safe copies:

cp -v /etc/skel/{.bashrc,.profile} $HOME

Note: This can all be accomplished with a one-liner, demonstrated on my own system:

andrew@athens:~$ cp -v -S _bak /etc/skel/{.bashrc,.profile} $HOME
'/etc/skel/.bashrc' -> '/home/andrew/.bashrc' (backup: '/home/andrew/.bashrc_bak')
'/etc/skel/.profile' -> '/home/andrew/.profile' (backup: '/home/andrew/.profile_bak')
andrew@athens:~$

And finally add any customisations made by yourself previously from the 2 backup files, by 'customisations' I mean such things as:

Alterations to the default $PATH made in these files, I note in your case you have installed to /opt which is not in the default $PATH
Alterations to the default Terminal prompt
Additions to the default aliases

And any other changes that have been made to the safe defaults of both files...


Mark accents not working on Ubuntu 19.04 and an MSI GS65 Stealth Thin 8RE

Well, finally I've got to fix the keyboard layout about the mark accents matter at least.

I had applied a change in the ~/.profile file:

export GTK_IM_MODULE=xim
export XMODIFIERS=@im=xim

However, the previous values were:

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus

I remember changing those values to try to fix the problem I still have with the less-than and great-than symbols not being printed as described in MSI GS65 Stealth Thin 8RE less than symbol printing ç symbol

So one problem solved, after messing things up ¬¬


HDD not in /media/usr, Gparted "Physical block is 2048 but linux is 512" and kernel does not get the memo

The article here would seem to answer your question https://codeyarns.com/2017/02/04/gparted-block-size-warning/

Note that this solution will wipe all the data on the entire disk so you need a backup to preserve it. I also suspect there is a typo in the article it makes more sense to me for the bs=2048 parameter to be bs=512

I don’t have an easy way to test this so if you have no data on the disk just see which works

Have copied it below to preserve the answer.

** GParted block size warning**

Problem
I opened GParted to look at the partition information of my drives. It popped up this strange warning:

The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes
I figured out that this error was about a USB thumb drive that was plugged into my computer. That USB drive was working fine and I could mount and read its files. So, what is this warning and how to fix it?

Solution
Turns out that the block size for this drive was set to 2048 bytes. It should have been 512 bytes. Its disk size was also appearing 4 times larger in GParted!

On thinking further about this, I remembered that this drive had been formatted as a bootable media to install Ubuntu using GNOME Disks as described here. That disk writer must have erroneously set the block size of this drive as 2048 bytes.

Changing back the block size to 512 was easy:

sudo dd if=/dev/zero of=/dev/sdc bs=2048 count=1

Replace /dev/sdc with the device ID for your USB thumb drive.

** Note that this command completely destroys all your data on the drive**.


First, I'd recommend using an xterm alternative instead of customizing it.

But since you asked, there is this utility called xfontsel (in the x11-utils package) that gives you the font names for font resources. In this case, the font name you are looking for is -gnu-unifont-*-*-*-*-*-*-*-*-*-*-*

You can test it on the command line using:

xterm -font '-gnu-unifont-*-*-*-*-*-*-*-*-*-*-*'

So to answer your question, your .Xresources would contain this line

xterm*font: -gnu-unifont-*-*-*-*-*-*-*-*-*-*-*

and don't forget to reload it with xrdb -merge .Xresources


How can I fix the ugly fonts in java applications?

TL;DR : You can't.

Eclipse uses swt which uses your native font rendering libraries and pretty much everything else uses Swing which does not.


unable to mount ntfs partition created inside widows 10

You need to disable Windows fast start-up option.

Open Control Panel -> Energy Settings  and select Change what the power buttons do.

Choose Change settings that are currently unavailable, scroll down and uncheck
Turn on fast start-up (recommended).

Restart the computer and you won't have this error anymore.

See here for more informations about Windows Fast Boot.


How can I increase the console resolution of my Ubuntu server

Try appending vga=791 to the linux (kernel) line (in /etc/default/grub).

See console Framebuffer for additional resolutions (if you want to lower it further).


4 Primary Partitions for programs, documents, lenovo stuff on Windows. Will I be able to dual-boot Ubuntu OK?

That is quite a few partitions. Have you considered maybe reducing it down to just two? One for your files, and one for Windows?

But yes, you should be just fine. If you have more than 4 partitions, you are already using GPT and not MBR.

Just make sure to pick the "Something else" option in the ubuntu installer.


Maybe in 14.04 you had enabled a hardware driver and no longer needed in 14.10?  Go to:

System Settings -> Software&Updates -> additional drives  and "Do not use this device"

Worked for me )


When i started installing imagemagick i faced the problem which mentioned below?

Your issue right now is a broken sublime-text-installer installation.

You can try running sudo dpkg --configure sublime-text-installer.

If that doesn't work you might want to purge it from your system and try reinstalling it or just leaving it off it.

sudo apt-get purge sublime-text-installer


User's password can not be set with passwd

You need to first use passwd [username].

Then you need to do smbpasswd -a [username] for a new user. Otherwise just use smbpasswd [username].

Make sure both passwords are same.