To start, your question regarding where to place commands:

There is an application packaged with every ubuntu variant that has "terminal" somewhere in the title.

gnome-terminal
kterminal
lxterm

This is your interface to the command line or a text only terminal on the system. I will assume you're coming from a Windows background, and the easiest (But not necessarily proper) comparison would be to the windows command prompt.

note The author does not condone copy/pasting commands into a terminal that you do not understand. This can have irreversible side effects on your system and should be performed with supervision of an experienced user. If one is not available, I recommend you join #ubuntu on irc.freenode.net and ask for a mentor.

Now on to troubleshooting your sound issues:

Reference the following community documentation: Community Documentation: Sound Troubleshooting Procedure

The easiest method to troubleshoot is to force pulse audio to restart

1A. If you are using Ubuntu 12.04.3 LTS (Precise Pangolin) or later, try this first:

killall pulseaudio; rm -r ~/.config/pulse/* ; rm -r ~/.pulse*

wait ten seconds, then run this:

pulseaudio -k

1B. Should the approach above fail to correct the problem (it is only known to work on some variations), you can try this next. If you are using Ubuntu 12.04.3 LTS (Precise Pangolin) or later:

killall pulseaudio; rm -r ~/.config/pulse/* ; rm -r ~/.pulse*

wait 10 seconds, then reboot (putting the machine to sleep is not enough -- fully power it off and then back on). Make sure to save your work first.


One possible source of the problem is excessive heat, because of Summer air temperature... Try turning off the computer and only turning on at night, when the air temperature is lower. If does not work the same, forget the temperature issue!


The difference between automatic and manual trim is that automatic trim (using the discard mount option) trims freed blocks on sync after any file is deleted, whereas manual trim (using fstrim) trims all the free space at once.

Testing

One way you could test whether automatic trim is working would be to create and delete a large file:

user@host:/somewhere$ dd if=/dev/urandom bs=1M count=100 of=bigfile
user@host:/somewhere$ sync
user@host:/somewhere$ rm bigfile
user@host:/somewhere$ sync

If automatic discard is working, manually trimming again won't trim many blocks, since they should have already been trimmed. Run sudo discard -v on your filesystem and see how many blocks are trimmed.

Recommendation

As for which is recommended: In my experience, automatic trim kills performance. However, this is probably hardware-dependent; it may be fine on your drive.

If you're using manual trim, as for how often, think about the rate at which you write data in your typical workload, compared to the amount of free space on your SSD. You want to trim sufficiently often, before your disk fills up with deleted data. If your SSD is mostly free space or your disk workload is light, trimming occasionally (weekly or even longer) should suffice. If your SSD is mostly full or you e.g. edit video files frequently, you'll need to trim more often.


How to backup user files automatically via rsync?

Open a terminal and type: man rsync

But seriously, if you're just wanting to do a backup that copies what you currently have in ~/Desktop to that location and not store any backlog or anything like that you could use:

rsync -azve ssh --delete /home/user1/Desktop 172.29.36.10:/Desktop/backup/folder

You'll have to install openssh-server on the receiving side though. Or you could create a script in /etc/init.d to start rsync --deamon on the remote machine at boot and remove the e ssh part

Here's a breakdown of the options: -a archive mode (recurse directories and keep permissions, etc), -v verbose mode, -e ssh use the SSH protocol for the transfer, --delete delete extraneous files on the receiving side.


Munin 'Unknown option: snmpauthprotocol'

I just downloaded munin 2.0.25 and looked at the source. Try using --snmpauthproto instead of --snmpauthprotocol.

Yes, the help text is wrong. I'll probably open an issue here: https://github.com/munin-monitoring/munin/issues. I have put in a pull request to correct the typo in the code https://github.com/munin-monitoring/munin/pull/510 which has now been encorportated into the github code and may be included in release 2.1.13 .


Wired internet connection problem. Ubuntu refuses to connect!

sorry that you are getting this problem.
First, go to the dash and type "additional drives" and see if there are any drivers available or even in use for networking.

Also, if that does not help post the make/model of your computer and ill see if I can find the wired/wireless drivers.


Using the following method will definitely help Ubuntu 18.04 64 bit users to install and use their Canon LBP2900 printer, which otherwise can be a harrowing experience for the less experienced.

It will NOT help to use the official Linux (32 bit or 64 bit) LBP2900 driver from Canon at https://support-in.canon-asia.com/contents/IN/EN/0100459601.html.
So no use to waste time over it.
The following instructions will help instead:

Run the following in terminal:

$ sudo apt-get install build-essential git autoconf libtool libcups2-dev libcupsimage2-dev
$ git clone https://github.com/agalakhov/captdriver.git
$ cd captdriver
$ autoreconf -i
$ ./configure
$ make

On some systems, the destination below might be /usr/libexec/cups/filter:

$ sudo cp src/rastertocapt /usr/lib/cups/filter/
$ sudo cp Canon-LBP-2900.ppd /usr/share/ppd/custom/

Now open Settings --> Printers and Add Printer --> USB printer, selecting the driver Canon LBP-2900 CAPT GDI printer, 0.1.0 from the list, and complete the remaining steps forward.
Then click Apply and OK. Print a test page and your Canon LBP2900 printer is ready to print on 64 bit Ubuntu 18.04!

Note: Sometimes, printing gets stuck with the message “Rendering completed”. In that case, it helped to just turn the printer off and on again.

Please acknowledge and report if found useful or not useful.


I installed the latest version of openSSH on my windows, deleted the user's .ssh folder and generated a new key, after that I was able to connect to the server using SSH without having to enter a password.


Could be that being out of space is causing all the problems... that's the first error you mention, so should be the first thing fixed.
or a filesystem (FS) problem...
or there's some error in the GUI desktop...

But running from a live USB/DVD is the first step, to:

Check the FS for errors -  [Note: if your hard drive is failing, then it will probably get worse no matter what, a whole-partition backup with gddrescue may be required, then fix & backup from the copy]

To do a read-only check (if you're really paranoid about losses, but you should already have several backups in that case).

fsck -nv /dev/<device>

But you're probably using an ext3/4 filesystem on / & /home, so fsck would use the e2fsck program, and these options would be useful:

-n      Open the filesystem read-only, and assume an answer of 'no' to  all  questions.
-f     Force checking even if the file system seems clean.
-p     Automatically repair ("preen") the file system.  This  option  will  cause
      e2fsck  to  automatically  fix  any filesystem problems that can be safely
      fixed without human intervention.
-v     Verbose mode.

Mount the partitions - as read-only (mount -o ro <partition> <mountpoint>) if you're concerned about them getting changed.
Back up your files - Copy wanted files to some other partition, delete unwanted ones, to solve the out of space problem and prevent catastrophic loss in case there is a problem in the future.
Remove/re-install packages from a chroot environment (but if you can boot into single-user mode with networking that might be easier.
Even re-install if you think the errors are too serious to overcome.


Unity Tweak Tool won't save settings upon exit

Here is a bit of a workaround to make the pointer permanently big. You can go through the cursor theme directory where this file is located and you can adjust some of the other ones as well to get a more consistent running theme.

Run the following commands:

sudo apt-get update
sudo apt-get install gimp
mkdir ~/.icons
cp -R /usr/share/icons/DMZ-White .icons
cd ~/.icons/DMZ-White/cursors

Now, run the following command which will open gimp for each of the three most commonly used images for the cursor theme:

for i in grabbing hand2 left_ptr; do gimp $i; done

it may take 15 to 30 seconds to open gimp for each image but be patient.

After the image opens, press PG DOWN, DELETE, PG DOWN, DELETE, CTRL+M. Now check the box for "discard invisible layers" and click merge.

Press CTRL+SHIFT+E rename the file with an .xmc extension on the file name. Then click export.

Press  CTRL+Q, then CTRL+D.

Wait 15 to 30 seconds for the next file to open and then repeat the same steps.

When you are done, run the following command to convert the new files to the theme:

for i in $(ls | grep xmc); do mv $i $(echo $i | sed 's/.xmc//g'); done

This will give you a working theme. The "watch" files contain a whole bunch of files and must be dealt with differently. Repeat this process for any of the other non link non watch files if you desire.

You may have to delete any "cache" file if one exists in ~/.icons/DMZ-White/ (don't forget to check for hidden files).

Open unity tweak tool and select another icon theme then select the DMZ-White theme again and it should show a large arrow without selecting "large".


Restoring backup files from XP to Ubuntu

What I want to know is can I view the Windows backed up files in Ubuntu and then select the ones I need to restore?

No / doubt it. These backups tend to be created for that specific program in Windows and have some form of encryption or compression. You need to restore the files you want in Windows and then copy them over to Ubuntu.

  For example, I have an extensive file on geneology using Family Tree Maker. Will I be able to access this file using Ubuntu? Is there frankly an easy way to do all this?

No / doubt it. There are 3 programs that are about creating a family tree in Ubuntu: Gramps, Lifelines and Geneweb. But it would also mean you need to start from scratch.

Ubuntu is another operating system with its own methods of doing things. You need to unlearn everything you know about using your computer and re-learn the Ubuntu way. That also means that most of the data files will need to be created. If at all possible. jpegs, pngs etc are not a problem.  xls(x), doc(x) are readable with OpenOffice with some restrictions (VB macro's do not work since there is no VB).
So you will run into some challenges.

But there is a way to make the transition easier:

I would buy a new harddisk, make it the primairy disk, install it in your system, install Ubuntu on that new harddisk. Your Windows disc will be mounted automatically in Ubuntu and that way you can copy over any file from Windows to your Ubuntu system with the least amount of risk. And you can take your time copy'ing those files over.

If at any time you feel you need to go back to Windows take that new disc out and set your system up as it was before your inserted that disc.

You can do the same by clearing out parts of the current harddisk(s) and create unallocated space and install Ubuntu in the unallocated space. This will also get you a dual boot setup. This is more risky though: you can tell the installer to delete your Windows if you do this wrong. I would not do this without creating a backup (but since you said files are all across your system that might be daunting to do correctly).


ttf-mscorefonts-installer tries to install in 16.04

What you are seeing is probably the download part of the installer, which will keep trying indefinitely. This is because the location of the font files has been changed on Sourceforge, but the hard-coded location in the installer itself has not. There is a launchpad bug for this problem at https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783. Comment #45 in the bug report https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783/comments/45 explains what has happened.

The solution which worked for me (on a clean 16.04 install) and which resulted in the fonts being installed was:

# Due to a bug in ttf-mscorefonts-installer, this package must be downloaded from Debian at a later version and installed before the rest of the packages:
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb

If you have already tried to install ttf-mscorefonts-installer, then it should be uninstalled first.


Can't connect screen via adapter on ubuntu 17.10 because of grafics card driver

I've been dealing with this same problem.

The only solution I've found was to setup manually /etc/X11/xorg.conf

and then setup Monitors with xrandr.


You can try to remove this package and reinstall current (119) one:

sudo apt-get autoremove
sudo apt-get purge linux-headers-4.4.0-120
sudo apt-get install --reinstall linux-headers-generic

And if you have enabled xenial-proposed, please disable them in
Software & Updates (software-properties-gtk), Developer Options tab, uncheck Pre-released updates (xenial-proposed).


How to start the teamviewer service before login?

After trying and investigating the situation you have described in your post, the issue seems to be that this version of TeamViewer is unable to start an X server session which is needed for TeamViewer to work.
So you can enable automatic login on pc-A and it will work. Have a look at Automated login and screen lock If you need privacy and want the screen locked.
However, you do need to enable Start TeamViewer with system and set Personal Password under options in TeamViewer on pc-A then reboot first for that to work.

An alternative solution to remotely login and start X server session for TeamViewer to work is to install xrdp on pc-A like so:
sudo apt install xrdp

Then, make sure the xrdp service is enabled and started ( it usually is ).
After that from pc-B run remmina like so:
remmina

Then, enter the pc-A's IP in the remmina GUI and press Enter
remmina is most likely already installed on your system but if you need, install it like so:
sudo apt install remmina

Notice:
You can connect to xrdp by IP / Host-name only and if the two PCs are not on the same local network, you might find free dynamic DNS services like no-ip and others helpful.


SSH refusing connection - "sshd: unrecognized service"

Try un-installing and then installing openssh-server:

sudo apt-get remove openssh-client openssh-server

and then

sudo apt-get install openssh-client openssh-server

This worked for me. If you still can not connect, try

sudo ufw status verbose

and let us know what the output is.


You need to have Ubuntu Live CD or Live USB. Normal session can be used to repair the grub. Boot using your Ubuntu Live CD or Live USB, while booting choose Try Ubuntu.

Once booted then open a terminal, and run the following command one by one to install the boot repair.

To add boot-repair to the repository

sudo add-apt-repository ppa:yannubuntu/boot-repair

To Update your repository

sudo apt-get update

To install boot-repair

sudo apt-get install -y boot-repair

Once Installation complete run boot-repair on terminal by typing the following command or select it by System->Aministration->Boot Repair.

NOTE: Update the Boot Repair if its newer version is available.

It will scan the System for few seconds and will show you the options Recommended repair and Create a BootInfo summary. By clicking the Recommended Repair it will start repair the grub.


This is not exactly an answer, is more like a helping hand I can give you. I wonted to use the "comment" section for this, but I need more characters than the standard 12.

Well, I admit that personally I haven't encountered any such error. None that I remember of. So I can't give you any advice from my own experience. But I did a search on your error and turned up that you have some USB-related malfunction.

Here are several links where I think you could find an answer to your specific problem.

Boot Error - ACPI PCC Probe Failed - a question posted on Askubuntu

The answers to this specific question lead to other links that might give you the answer.

In case none helps, search for "acpi pc probe failed".

 [SOLVED] device descriptor read/64, error -71 - USB problem - a thread on ubuntuforums

It is marked as "solved", but in case it doesn't help, then search for "usb 4-2 device descriptor read/64"

usbhid can't find input interrupt endpoint - a question posted on Unix & Linux

If this doesn't help, then search for "couldn't find an input interrupt endpoint".

This is how I found these links.


In older versions of Ubuntu Ctrl + Alt + Del will bring up options for shutdown, restart, suspend and hibernate. These can then be selected with the arrow keys and Enter.

For a single hit solution in later versions you can use this script to create a keyboard shortcut. First you need to download the script and save it on your computer. Next you need to make it executable by right clicking on it and going to properties → Permissions → Allow executing file as a program. Finally go to System Settings → Keyboard → Shortcuts → Custom Shortcuts and click the small plus symbol. For the command type in

/home/toby/power.sh shutdown

or whatever path you saved the script to.

Suspend, hibernate and restart are also available by this method; just replace shutdown in the above command.


Where to report mistakes in a translated man page?

See Reporting Bugs - there is a section on translation errors.


Don't have network connection using a BCM4313 adapter

Please do:

sudo modprobe -rv wl
sudo apt-get remove --purge bcmwl-kernel-source
sudo modprobe -v brcmsmac

now your wireless should be working.


According to here:

To set your default desktop applications for actions such as Web Browser, Email, or Video, open the System Settings window from the panel.

Select the Details icon in the System Settings window.

Select the Default Applications category and use the drop-down boxes to select a default application. Application will appear here after you’ve installed them – for example, you can install VLC and select it as your default video player from here.


WiFi not connecting in Ubuntu 14.04 (Dual boot)

Run this command on terminal:

cat /etc/network/interfaces

If you are getting:

interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback

Your problem is sorted ,you have to just add two lines:
Run on terminal :

sudo nano /etc/network/interfaces

Then add these two lines at the end

auto wlan0
iface wlan0 inet dhcp

Ctrl+x
Then type y to say yes for saving the file and then press enter
Restart your system.


Go to the command prompt and type

passwd

and follow the steps.


Alt-spacebar + key combinations not working on Ubuntu 17.10

Unfortunately, the Alt+Space behavior is gone and there are no plans to bring it back.  Without boring you with details, a ton of things changed 'under the hood' in this upgrade and this feature cannot be easily reimplemented.

There is a project that aims to maintain the old Ubuntu features, the Mutiny environment in Ubuntu MATE.  You can even install it without having to completely reinstall your OS, so there is no risk of losing anything.

To install the Mutiny environment, open a terminal and run these commands, the first will prompt for your user password:

sudo apt update
sudo apt install -y ubuntu-mate-desktop

If during the install process, you see a dialog titled 'Configuring lightdm', choose lightdm from the choices.

Now reboot your system and log in.

After logging back in, use the menus in the top left to navigate to:

Preferences -> Look and Feel -> MATE Tweak

Click the Panel tab on the left and switch the first dropdown from 'Traditional' to 'Mutiny'

Now Alt+Space should be working again :)

Feel free to ask if you need help.


How can I know if nvidia vdpau is working for mplayer/vlc/totem?

To address your question & a bit on enabling gpu decoding with mplayer or vlc.

Mplayer

The easiest way to see if you are getting gpu decoding thru vdpau is to do what you've done - run mplayer from a terminal. Atm what you've shown indicates you're not getting it.

The requisites for mplayer are:

mplayer or mplayer 2

nvidia-current or the nvidia drivers directly from nvidia, the nvidia-current package will do.

libvdpau

Make sure you've meet the above, then run the command you did before, though make sure the video is h.264

Ex. of terminal output, removed irrelevant lines

$ mplayer  -vo vdpau -vc ffh264vdpau /home/doug/Videos/sintel.mp4
MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
Playing /home/doug/Videos/sintel.mp4.
Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1280x546  24bpp  24.000 fps  1597.2 kbps (195.0 kbyte/s)
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
VO: [vdpau] 1280x546 => 1280x546 H.264 VDPAU acceleration
[vdpau] Got display refresh rate 59.991 Hz.

If you do support/get vdpau thru mplayer you can set a vc= line in ~/.mplayer/config to auto check & use the appropriate ffvdpau* decoder for supported codecs

Another way to check is to use vdpauinfo. The package is only available in 12.04 but can be installed in 11.10. To do so go here, download & install with gdebi, though software center may install for you if you wish to try

http://packages.ubuntu.com/precise/vdpauinfo

To use open a terminal & run vdpauinfo

Ex. of some of the output of vdpauinfo on a laptop with basic vdpau support

$ vdpauinfo
display: :0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  280.13  Wed Jul 27 17:18:15 PDT 2011

Video surface:

name   width height types
 -------------------------------------------
420     4096  4096  NV12 YV12
422     4096  4096  UYVY YUYV

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  8192  2048  2048
MPEG2_SIMPLE          3  8192  2048  2048
MPEG2_MAIN            3  8192  2048  2048
H264_MAIN            41  8192  2048  2048
H264_HIGH            41  8192  2048  2048
VC1_SIMPLE            1  8190  2048  2048
VC1_MAIN              2  8190  2048  2048
VC1_ADVANCED          4  8190  2048  2048

Vlc

If you have nvidia hardware & can't or don't have vdpau support then don't bother with vlc which uses vaapi & is tricker to enable. Additionally the performance of vaapi on nvidia is very much hardware dependent. I've enabled here but don't use, ffmpeg multi-thread is better with my hardware in vlc.

This is just the basics of getting vaapi & enabling in vlc. For specifics you'd need to search & or ask how .

The requisites for vlc are:

vlc & ffmpeg shared libs that have vaapi support, 11.10 is good there.

libva1, also install libva-x11-1 vainfo

vdpau-va-driver

Your biggest issue may be that ubuntu's versions of libva* & vdpau-va-driver aren't new enough, you'll need to get further advice there. In 12.04 they are adequate

Running vainfo in a terminal should tell you where you stand

Ex. here of vainfo

$ vainfo
libva: libva version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.32
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.3
vainfo: Supported profile and entrypoints
  VAProfileMPEG2Simple            : VAEntrypointVLD
  VAProfileMPEG2Main              : VAEntrypointVLD
  VAProfileH264Main               : VAEntrypointVLD
  VAProfileH264High               : VAEntrypointVLD
  VAProfileVC1Simple              : VAEntrypointVLD
  VAProfileVC1Main                : VAEntrypointVLD
  VAProfileVC1Advanced            : VAEntrypointVLD

To enable gpu decoding in vlc thru vaapi & ffmpeg, two ways

From a terminal, no need to set in preferences

vlc --ffmpeg-hw /path/to/supported/video/name

To set in vlc's gui, the prior posts are incorrect as to how, actual way is shown in screen

Tools > Preferences > Input/Codecs > check the box, reading up on "Skip H.264 in-loop deblocking filter" may prove worthwhile

Ex. from terminal of vlc gpu decoding thru vaapi, using the repo vlc in 12.04 though 1.2/1.3/2.0 are preferred versions, a ppa for 2.0 should be available if desired

vlc --ffmpeg-hw '/home/doug/Videos/sintel.mp4'
VLC media player 1.1.13 The Luggage (revision exported)
clipped .....

libva: libva version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":1".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
[0x863468c] avcodec decoder: Using VA API version 0.32 for hardware decoding.


How can I delete a file if it starts with  in bash?

To address the question that prompted you to ask this one, rather than the one you actually asked:

curl can tell you the status code in addition to downloading the file. You do not need to check the file's contents for that. An example of how to check the status is

status=$(curl -w '%{http_code}' "${url}" -o "${file}")
test "${status}" -eq 200 || rm -- "${file}"

The various options you can use with -w are documented in the manual, and depending on your needs, you may want to extend this to output more information and parse it, and/or change the check of the status code to allow more than merely 200.


How to send personalized eMails to members of a contact-list in Thunderbird

Mail merge is what you need.

About this Add-on
Mail Merge: If you want to send a mail to multiple recipients, there are three common problems: First you can't personalize the mail. Second you can't send a mail to more than 25, 100, ... recipients at once. Third the recipients should not see the other recipients.
Mail Merge solves these problems by creating one single mail for each recipient from a draft!

You can take the data from a .csv file or address book.


The following command, Acquire::http::No-Cache=True -o It adds an No-Cache header to APT http requests.
This command Acquire::BrokenProxy=true update Used for fixing your local proxy i guess.
This command Acquire::http::Max-Age "0" Maximum time to keep packages around for.


How to enable virtualization, Ubuntu 18.04 in VirtualBox on Windows 10?

If you want virtualisation INSIDE the guest then you need to enable that in the virtualbox settings.

See https://docs.oracle.com/cd/E97728_01/F12469/html/nested-virt.html

If you wanted something else then perhaps you can clarify your question?


Deja-dup "Restore failed - no backups to restore" after clean install of Ubuntu

What seems to be working for me (the recovery is currently halfway through) was the command

duplicity --gio file:///media/backup /tmp/restore

where I've replaced media/backup and /tmp/restore with the filepath to the backups and my recovery destination, respectively. After entering the GNUpg passphrase I've chosen when setting up the backups in Deja-dup, the recovery process started.

For more detailed information please refer to this guide.


Permission denied when running make install

It seems like it's trying to execute a file /home/harshilsharma63/llvm/autoconf/mkinstalldirs but it doesn't have the permission to do this.
Just try to make this file runnable:

sudo chmod a+x /home/harshilsharma63/llvm/autoconf/mkinstalldirs

Then try to clean the make and do it again:

sudo make clean
./configure
make
sudo make install


How to unmount RAM partition from tmpfs?

If you want to permanently remove that, you can just edit /etc/fstab and remove the offending line. But i think that you might be asking for something different.

If you want to remove that partition temporarily (until next reboot or remount) you can try sudo umount /tmp. However, you may run into problems, since that location is undoubtedly being used by some applications (see sudo lsof |grep /tmp).

Two solutions that i can think of are:

sudo umount -l /tmp, this should succeed right away, but all the applications that already use the old hierarchy will still be able to do that. Eventually, when no application will use old hierarchy the directory will be completely unmounted. Keep in mind that it is only at that eventual time (if it is ever reached) that you will recover your 100MiB of memory.

sudo umount -f /tmp, this will probably succeed, but in the process will break any application that is currently relying on the files being available. If you will get something horrible happening, you have been warned.


Ubuntu12.10 boot up problem screen flickering

I hope you graphics card is not identified by the Os.So I hope if you disable graphics card you can stop that flickering effect. To disable graphics forms are available in ask Ubuntu.Please search for blacklisting graphics card.The window of Ubuntu sometimes will not be so smooth.Reconfiguring graphics can also be a possible solution.


Rename files in subfolders with parent folder names

With a loop and some bash string manipulations

while read -rd $'\0' f; do
  d="${f%/*}"; p="${d/\//_}";
  echo mv -- "$f" "${d}/${p}_${f##*/}"
done < <(find -type f -name '*.jpeg' -printf '%P\0')

(remove the echo once you've confirmed it matches the files correctly)

With the perl-based rename command and bash globstar

shopt -s globstar
rename -nv -- 's|(f\d+)/(ff\d+)/(image\d+)|$1/$2/$1_$2_$3|' **/*.jpeg

(remove the -nv once you've confirmed it matches the files correctly)


That message means that gnome 3 requires packages to work that apt-get isn't able to install, probably because they are not available in the default repositories. Which makes sense because gnome 3 isn't the default ubuntu desktop. Googling around tells me you have 2 choices -- either to install a Ubuntu 12.10 'remix' which comes with gnome 3 out of the box, or to install the required packages yourself, which looks to be but a matter of adding some repositories. Here is a tutorial I found but have not used: http://www.webupd8.org/2012/10/how-to-get-complete-gnome-3-desktop-in.html


Netflix is sluggish when playing videos in HD.

Microsoft Silverlight is only compatible with Windows. I would suggest against using Wine because, as you said, it causes decreased performance. I would suggest using Pipelight, an open-sourced remake of Silverlight for Linux.

Make sure you have all browsers closed prior to installing.

Add the Pipelight repositories and update:

sudo apt-add-repository ppa:ehoover/compholio
sudo apt-add-repository ppa:mqchael/pipelight
sudo apt-get update

Install Pipelight from the repo:

sudo apt-get install pipelight-multi

Then enable the Silverlight plugin after installing:

sudo pipelight-plugin --enable silverlight

Pipelight can also be used to install the Windows version of Adobe Flash, although I recommend using the Linux version:

sudo pipelight-plugin --enable flash

After installing, you'll need to configure your web browser.

If you have Mozilla Firefox, install the extension User Agent Overrider (https://addons.mozilla.org/en-US/firefox/addon/user-agent-overrider/)

In the settings, select User Agent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1"

If you have Google Chrome, install the extension User-Agent Switcher (https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg)

In the settings, select Windows Firefox 15.


Bose QuietComfort 35 bluetooth headphones disconnect after a few seconds in Ubuntu 17.10

What helps for me (Ubuntu 18.04) is do remove the device in the Bluetooth settings and then reconnect. After that, the connection is stable.


Unattended install of firefox extensions

See this page, in particular:

  If you want to do a silent administrative install that immediately
  makes the extension available to limited users, you need to uncompress
  the .xpi file yourself (as a ZIP file) to an appropriately named
  (extension's ID) folder. On Linux/Unix platforms you can use a helper
  script to determine extension
  IDs in an automated
  fashion.


Is it possible to prioritize which folders get synced first when using Ubuntu One?

Short answer is no, there is no way to prioritize the order in which files are synchronized. There is however, a workaround for situations like yours.

Instead of having all files under the ~/Ubuntu One folder, you can have different files under different folders within your home directory, which are each individually synchronized with Ubuntu One. You can then choose to only have certain folders synchronized to certain machines, and you can disable and enable the folders being synchronized on any one machine, in the Ubuntu One control panel application. Thus you could disable ~/Photos from being synchronized, until after ~/Documents has finished synchronizing, for example.


Problem in libassimp-dev is preventing me using apt-get

It looks like two packages, libassimp-dev and assimp-dev, are providing the exact same file, which has caused a conflict.

From their package names, I assume that they are duplicates of the same thing.

The key line from this is the following one:

  dpkg: error processing /var/cache/apt/archives/libassimp-dev_2.0.863+dfsg-2_i386.deb (--unpack):
   trying to overwrite '/usr/include/assimp/aiAnim.h', which is also in package assimp-dev 2.0.0.7-ubuntu1~oneiric1

(I added the bolding)

I found this thread about someone else having the same issue and the answers there give some advice.

If I were you, I'd first check to see whether sudo aptitude purge libassimp-dev helps - if it works, then it'll offer you a few different ways to solve the conflict from the first part of your question.

Note if you go down the dpkg -i --force-overwrite route, you want to apply the fix for libassimp-dev only, not the one for yaml-cpp as you are not actually experiencing that one.


Ubuntu 14.04 LTS wireless suddenly not working more?

If this is a laptop, check for a wireless switch.  You probably have already checked this, but it has caught many people by surprise.  It is usually on the side or front edge of your laptop.  Make sure the switch is turned on for wireless, or try moving it around to see if it brings the wifi card back online.  You may have to reboot before Ubuntu will see it again depending on your install.

Some laptops, like Dell, handle wifi by pressing a function key plus one of the F keys at the top.  Look for one that looks like it has an antenna or wireless signals coming off it.  On most Dells I've worked on it was Function + F2.

On other laptops, wifi can be turned off in the bios when first booting up, but you said wireless stopped suddenly, so this is probably not what happened.  If you are handy inside a laptop and good with a screw driver, a lot of wifi cards can be replaced by just taking off a little panel under the laptop and unplugging the card.  Drop in a new one and get going.  If you don't feel comfortable opening up a laptop, then please take it to a service center or a friend who works on them.

One easy fix, if you cannot get yours working, is to buy a USB wifi adapter.  They can be slower than an internal adapter, but it is much easier to get working, and they are pretty cheap and small now.  Just make sure you research one that works well with Linux.

If you are using a desktop with wifi, then you most likely have a card that blew, and you will need to replace it.

Good luck!


gambas3 is available from official repository only for Ubuntu 13.04 or later

See https://launchpad.net/ubuntu/+source/gambas3
For edge releases of gambas3 or previous Ubuntu (<=12.10)

Use this PPA https://launchpad.net/~nemh/+archive/gambas3

sudo add-apt-repository ppa:nemh/gambas3
sudo apt-get update
sudo apt-get install gambas3

gambas3 is a single package (from ppa), we need to create a meta/dummy packages which cover all gambas3 expected packages (gambas3-gb-runtime, gambas3-gb-image...)

sudo apt-get install equivs

equivs-control gambas3-gb-runtime
equivs-build gambas3-gb-runtime
sudo dpkg -i gambas3-gb-runtime-dummy_*.deb

Same step for all gambas3-gb-* packages

See Creating Dummy Packages On Debian
Install yumi

Note:

equivs is good way to resolve such dependency problems, when dependencies are installed from source or 3rd party packages.

Some changes may be needed to the created file by equivs-build, Like: Version to confirm the dependency condition.


Go to "Software Updater" to see if there are any updates for your wifi adapter. It happened to me once and just updating did the trick.


how to change folder name in ubuntu14.04

try this

cd "Oxygen XML Editor 17"

When the directory name contains the spaces ...one need to use double quotes.


Are the partitions totally separate when using dual boot?

My question is; are the partitions totally separate?

Yes.

There are no parts of the HDD or SSD that belongs to both partition A and Partition B.

  Meaning that if
  I'm running my PC with Windows on partition A, do I have access to the
  files stored on partition B where Ubuntu is installed?

No.

Windows does not read the partition formats used by Ubuntu, ext4 by default. The formatting requirements of Windows and Ubuntu are different. Ubuntu cannot be installed in NTFS, or FAT formatted partitions that Windows can read. There are third party softwares for Windows that can be used as a workaround. However, these workarounds are known to corrupt files.

  And likewise,
  say I create a .java file for work while working on Ubuntu on
  partition B, can I store this file on partition A and have access to
  this no matter which OS I'm currently on?

Yes.

Ubuntu can read partitions formatted as FAT, or NTFS that are commonly used by Windows. The partitions created by Windows such as the Windows System Partition, commonly known as the C Drive, are not mounted by Ubuntu by default. You can change the default and mount the C drive or the the D drive from Windows in a suitable folder. Partitions need to be mounted in a folder to be used in Ubuntu.

  Will it matter where my files (not OS) are stored, so I should
  consider this when choosing the size of my partitions?

It Depends.

So if you create a partition C formatted NTFS (may be called the D Drive) specifically for keeping data files and set Ubuntu to automatically mount this partition to a suitable mount-point, then you can access this partition from both Ubuntu and Windows.

There are some considerations

Fast Boot in Windows

This option set by default in most Windows installation. This option does not shut Windows down properly, but put it in hibernate like state. A side effect of this option is the Windows partitions are marked "dirty" when Windows is shutdown using the fast boot option. Under this condition Ubuntu cannot fully access the Windows system and data partitions.

Ubuntu /home

The /home folder in Ubuntu contains sub-folders for each user, where the user's personal data is saved by default. Instead of using the /home folder one can mount a partition (say partition C) using the mountpoint /home.

However, the /home partition cannot be in the NTFS format as personal settings and configuration files are also stored in the /home/$USER folder and some of these configuration files need specific read/write/execute permissions that Ubuntu can understand. If the /home is a partition, rather than just a regular folder in / partition,  it needs to be in a Linux based format such as ext4, not NTFS.

There are ways to overcome the limitations of NTFS partition so they can be used with Ubuntu as / or /home partition. But these methods are neither straight forwards nor 100 percent compatible with Windows.

Hope this helps


(16.10) New Nautilus Copy Indicator is Broken

I found an ugly way to making it go away but it involves restarting nautilus completely, you have to run nautilus -q in a terminal.

It's the closest thing to a workaround I could figure out and you will loose all of your open windows, but that progress bar in alt+tab and in the icos it's really distracting.


There is no equivalent of wifi rescan that I know of, because of the nature of the ethernet interface, it's design to auto detect when a cable is connected to the interface. My suggestion is that when you reboot your router, if you have trouble reconnecting afterwards, reboot the network manager (sudo service network-manager restart) in lieu of a full system reboot. Once network manager is restarted, it should automatically pickup on the ethernet connection.


tcp_probe functionality has been removed from the kernel.
I believe, but am not certain, that its removal and the associated removal of some of the required infrastructure got out of sync. I am saying that even though the module is still present for /lib/modules/4.15.0-55-generic/kernel/net/ipv4/tcp_probe.ko, it doesn't work:

doug@s17:~$ sudo modprobe tcp_probe port=5001
modprobe: ERROR: could not insert 'tcp_probe': Function not implemented
doug@s17:~$ uname -a
Linux s17 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Please also see here, which also tells you how to achieve the same thing using other methods:

  That function is now replaced by tcp/tcp_probe trace-event. You can
  use it via ftrace or perftools.

By the way, the related kernel configuration parameter is CONFIG_NET_TCPPROBE:

doug@s17:~$ grep CONFIG_NET_TCPPROBE /boot/config-4.15.0-55-generic
CONFIG_NET_TCPPROBE=m


I solved it by dowloading this deb , and installing it :

wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb

Double click-it, then open your Terminal and type this command sudo modprobe wl , now take off your wired cable and it will work fine.


I uninstalled unity and my desktop went away, then reinstalled it and now sidebar and the top menu bar is missing

Press Ctrl+Alt+F1 and log in to tty1.

Then run the following commands -

dconf reset -f /org/compiz/

setsid unity


Mac server.app equivalent for Ubuntu server?

Not really, the server version of Ubuntu is just like the regular Ubuntu, less the graphical interface. There exists many third party application (mostly web applications) such as cPanel that provide you with some of the things that server.app allows on Mac servers.


Monodevelop will not start in Ubuntu 18.04 LTS

I had exactly the same symptoms here. New installation; had installed first mono-devel and mono-complete (both useless).
This fixed the issue for me:
sudo apt update
sudo apt upgrade


how to make cpugovernor intel_pstate stable?

It is not possible for your processor to always be at your max turbo rate of 3200MHz all the time. If you have many cores active at once, then the max frequency will be only 2.6Ghz, and that limit is fundamental within the processor itself (see also your i7z screenshot - Max Turbo Multiplier line). However you can easily pretty much have all CPUs always at 2.6 GHz by setting the min and max percent numbers accordingly. However, note that you will still observe sometimes less frequency, as the processor can back off by itself under very low load conditions. Even easier would be to set turbo to off and performance mode, effectively makes all CPU run at 2.4 GHz all the time (but again, the processor itself can back off under extremely low load).

Example for setting 2.6Ghz (if I did my math properly):

echo "81" | sudo tee /sys/devices/system/cpu/intel_pstate/max_perf_pct
echo "81" | sudo tee /sys/devices/system/cpu/intel_pstate/min_perf_pct

Example for the non-turbo method:

echo "1" | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
$ sudo su
# for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do echo "performance" > $file; done
# exit
exit
$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
performance
performance
performance
performance
performance
performance
performance


How do I troubleshoot screen configuration failure on a new install?

Per  How do I set 'nomodeset' after I've already installed Ubuntu? Boot into rescue mode, edit /etc/default/grub to add nomodetest and then do update grub.


How do I set up postfix to send mail through it?

Here is a tutorial to install postfix and use virtual users and domains (e-mail accounts managed in MySQL) that I find a lot easier to manage than creating linux users for all the email accounts. It's a complete tutorial installing courier (for pop) and webmail (squirrelmail) but you can use only what you need to install.

postfix-mysql-courier-webmail install from howtoforge


The problem is most likely caused by the fact that LC_CTYPE is somehow, somewhere set to "UTF-8", which is not a valid locale name. So you need to figure out how it happens and delete that incorrect setting.


Latest Version of Ubuntu Desktop burned to DVD won't start through Windows 10?

Did you burn the iso file as an image?  If you wrote it to the CD as a file, then when you insert the CD while in Windows you will see the ubuntu-stuff.iso as a file on the CD.  If that is the case, it was not burned as an image.

If it was burned as an image, then it may be your computer is not trying to boot off the CD.  If you hold down the shift key while selecting restart in Windows 10, you will reach the Windows EFI menu.  This is an all blue screen with some options on it.

One of these options will be to Use a Device such as your CD or a usb installer.  If you are not using EFI, you can enter the BIOS and make sure your CD drive is first in the list of boot options (how to do this is BIOS dependent).


Batch Convert Images from One Format to Another while maintaining directory structure, and removing originals

for f in $(find . -iname "*.jpg" -type f) ;
    do
    convert $f $(dirname $f)/$(basename -s .jpg $f).png ;
    done

find . -iname "*.jpg" -type f : search for file ending with ".jpg" case insensitive
$(dirname $f) : relative path to the folder containing file $f
$(basename -s .jpg $f) : filename without the suffix ".jpg"

In old Ubuntu basename may need to be run with different way:

basename $f .jpg

Convert is a part of imagemagick (As reference see Batch Processing tif images: Converting .tif to .jpeg)  , to install

sudo apt-get install imagemagick


This is what I've come up with so far. I'm not a very experienced bash programmer, so I'm sure there are improvements that could be made both for readability and efficiency, but this is what I got to work after hours of finagling.

#!/bin/bash

xset s off    # This turns off the "screensaver" feature (not actually a screensaver, just an annoying power saving feature.)
xset -dpms    # Turns off dpms (desktop power management system -- also annoying)

while true; do
    gsettings set org.gnome.desktop.screensaver picture-uri /WALLPAPERS/"$(ls /WALLPAPERS/ | sort -R | tail -n 1)"
    sleep 30    # This is the amount of time in seconds to wait before changing
done

Where "WALLPAPERS" is the full path to the parent directory of whatever image(s) you want to set on the lock screen.

Save this script with whatever name you want e.g. lockscreen-slideshow.sh -- just make sure you know where it's being saved to. You'll also need to make it executable, which you can do in a terminal with chmod +x lockscreen-slideshow.sh

Lastly, you'll want to add a startup script so you don't have to open a terminal and run your script manually every time you log in, so make a new file in ~/.config/autostart/ e.g. "lockscreen-slideshow.desktop" and drop this copy pasta into that bowl, then modify it to reflect the right path.

[Desktop Entry]
Name=lockscreen-slideshow
Exec=/PATH_TO_SCRIPT/lockscreen-slideshow.sh
Comment=fetch a random anime wallpaper and plaster it to the lock screen
Hidden=false
Type=Application

Something to note: this is a slideshow in a very loose sense. It'll just swap the images out instantaneously. I haven't figured out how to make them transition smoothly yet, but I'm playing with adding new keys to gsettings schema (and then subsequently copying the key from org.gnome.nautilus.desktop called background-fade over to org.gnome.desktop.screensaver).

Hope this helps for now.


How to install Maya 2019 On Ubuntu 18.04 on Acer

There is much more to be done in order to get Maya to work on Ubuntu: installing libpng1.5.15 is only one out of many steps.

The full process is described here: https://knowledge.autodesk.com/support/maya/learn-explore/caas/simplecontent/content/installing-maya-2020-ubuntu.html

To solve the libpng problem, simply download libpng1.5.15 from the libpng project: https://sourceforge.net/projects/libpng/files/libpng15/older-releases/1.5.15/, and install it to /usr (where Maya expects it to be. You can also let it install to the default /usr/local and set up LD_LIBRARY_PATH instead). It can perfectly fine coexist with modern versions of libpng.

To build it, make sure autotools and libtool is installed, and do:

tar xvzf libpng-1.5.15.tar.gz
cd libpng-1.5.15
./autogen.sh
./configure --prefix=/usr
make
sudo make install

Now the Maya installer will run, and then complain about not supporting the operating system and exit. The full process described on the AutoDesk Knowledge Network linked above has 14 steps. By following them exactly, I just got it to work.


There are no files named ".jpg" in the location where you issued the command. You need to take that literal: ".jpg" is NOT ".JPG" or ".jPg" or any other combination. Windows is different in that way: it will see those as the same.

In the same directory do an ls and it will show contents of that directory. ls *jpg to list all files ending on *.jpg.

Mind that -R means recursive BUT that applies to directories only when copy-ing. It does not mean it will get you all files in all directories that have a file ending in *.jpg.

If you want to find all files ending in *.jpg and copy them over to /test1/ this will work:

find . -depth -name '*.jpg' -print | cpio -pmdv /test1/

Add a ~ to /test1/ if it is in your home directory.

  where test1 has already been created under MikeO

What do you mean with this? If you meand "MikeO" home directory: the / starts at / (ie. root). If you meand /home/MikeO/test/ you need a ~ in front of the /test1.


OP answered his own question:

After connecting a cable to my router the file transfer completed successfully on the first attempt.

This resolved my issue.


How can I make ubuntu14 desktop like win 7

A better look at this B00merang project. It has plenty of themes for all operating systems.


Sony e-reader opens Shotwell and displays content of /Media/Setting

As a temporary solution I disabled automount-open in Dconf: org/gnome/desktop/media-handling and also set Removable Media's Photos to "Do Nothing". At least now plugging in the e-reader won't open Shotwell or display the contents of the drives.

As to how to get the e-reader to be recognised as an e-reader and not a camera, and then to open Calibre automatically....


Automatic mounting in /run/media instead of /media

Well, it is a source building option as mentioned by this commit when it was introduced.

  Support mounting in /media for FHS compatibility

  Add --enable-fhs-media configure option to mount in /media instead of
  /run/media, for FHS compliance and backwards compatibility.

Options I could think of:

Make a symlink
Bind mount
Rebuild the package


Black screen after login running on VMware Workstation when resolution too high

Somehow I came across this answer to an unrelated question, and it helped fix my issue. It seems as though when VMware knows it has VMware Tools installed it stops handling certain resolutions correctly. All I did was open my VM's vmx file (after shutting down the VM of course, since the file is overwritten on shutdown) and changed this line:

svga.guestBackedPrimaryAware = "TRUE"

...to this:

svga.guestBackedPrimaryAware = "FALSE"

And now I can maximise the VMware window again and the guest resizes correctly. Shared folders also still appear to work.

More information about vmx files:

https://kb.vmware.com/s/article/1714
https://www.vmware.com/support/ws5/doc/ws_learning_files_in_a_vm.html


VMWare Pro 12 on 16.04 with 4.13.0-26-generic

Try this method:

cd /usr/lib/vmware/modules/source
tar -xf vmmon.tar
nano vmmon-only/linux/hostif.c

Search and replace all the instances of get_user_pages with get_user_page_remote

tar -cf vmmon.tar vmmon-only

Let's edit vmnet.tar

tar -xf vmnet.tar
nano vmnet-only/linux/hostif.c

Search and replace all the instances of get_user_pages with get_user_page_remote

tar -cf vmnet.tar vmnet-only

Now, you should be able to compile the modules!


You used the wrong PPA - the drivers moved from xorg-edgers to Proprietary GPU Drivers PPA.

Before you install new drivers remove every NVIDIA related software and external repositories.

Open a terminal and execute :

sudo apt-get install ppa-purge
sudo ppa-purge ppa:xorg-edgers/ppa
sudo apt-get purge nvidia*
sudo reboot

Now install NVIDIA 352.55 drivers - (latest stable version as of date writing these instructions) ...

Open a terminal and execute :

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

If you want to install the latest official NVIDIA drivers 355.11 ... installation command would be :

sudo apt-get install nvidia-355

In case you have a switchable graphics solution install NVIDIA Optimus support as well - execute :

sudo apt-get install nvidia-prime


Arista transcoder not working in Ubuntu 15.04

Maybe you already found the answer.
Here is an updated PPA:

sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
sudo apt-get update
sudo apt-get install gstreamer0.10-ffmpeg


Tar Error: implausibly old time stamp 1970-01-01 00:00:00

I see 1 flaw in your strategy:

You use sbackup to create a backup and tar to restore it. That does not make sense to me. Either you create and restore with tar or you create with sbackup and restore with srestore.

There is a GUI for restoring your files that you made with sbackup. If you need command line (due to removing /home)

sudo srestore.py {backupfile} /home/$USER

(this will restore from {backupfile} the files from /home/$USER to /home/$USER; if you want it somewhere else you can add a 2nd directory as adestination).

This might also solve your date problem: srestore probably uses tar but another (older) version of tar that you have installed.


I have a Brother DCP-J315 Printer which Ubuntu sees but will not print from wirelessly

Download the cups driver. Press accept to download.
Download the LPR driver. Press accept to download.

The downloaded file is .deb extension then open terminal and do this:
cd ~/Download
sudo dpkg -i ####.deb

Replace ### by the name of file downloaded.
Check these pages for more information:

LPR Driver Installer | brother.com (archived)
Cupswrapper Driver Install | brother.com (archived)


I think the closest you are going to get is /proc/PID/maps, which the pmap utility reads and reformats so it is a bit easier to read.  It shows the ranges of virtual memory and their permissions, and what file, if any, they are mapped to, but not the current virtual->physical mappings.


intel-graphics-update-tool failed to install Intel Graphics Driver

I just ran into this today as well, exact same thing. The answer is that the installer works on Ubuntu 16.04 release but does not anymore after all the updates to kernel & mesa. Consider this 16.04.1 if you want.  For me the problem happens on Ubuntu Mint 18.2 after the lsb_release trick. The Intel tool simply has not been updated to deal with it. But perhaps newer (non-LTS) releases?

Source: all later releases of intel tool: eg https://01.org/linuxgraphics/downloads/intel-graphics-update-tool-linux-os-v2.0.6

"All support for Ubuntu* 16.04 ended when the Graphics Installer v2.0.2 was release (14 Nov 2016)."


It seems that netplan has been uninstalled for some reason.

Run these commands to re-install netplan:

sudo apt update
sudo apt install netplan.io

Reboot the machine. After that your configuration in /etc/netplan/01-netcfg.yaml should be processed.


Trying to install NDISWrapper, but get error after "make" command

You can use your install-media and install with apt:

sudo apt search ndis|grep -i wrap
  graphical frontend for ndiswrapper (installation of Windows WiFi drivers)
ndiswrapper/xenial 1.59-6 amd64
  Userspace utilities for the ndiswrapper Linux kernel module
ndiswrapper-dkms/xenial,xenial 1.59-6 all
  Source for the ndiswrapper Linux kernel module (DKMS)
ndiswrapper-source/xenial,xenial 1.59-6 all
  Source for the ndiswrapper Linux kernel module
ndiswrapper-utils-1.9/xenial,xenial 1.59-6 all
  Transitional dummy package upgrading to ndiswrapper

Cause of the fact that you need kernel header to compile ndiswrapper I assume that you can install additional packages.


Not with the official client

Danger! This is a delicate procedure and the code is not finalized. Make a backup before doing this.

There is not "official" LinkedIn support for Gwibber, but there is a third party solution. However, it requires removing the old Gwibber files, which can be dangerous. Also, it is not finalized, but in development, so it may have bugs.
Get the branch, and install:
sudo apt-get install bzr
md gwibber-linkedin
cd gwibber-linkedin
bzr branch lp:~andrewsteinborn/gwibber/linkedin-support
sudo setup.py


Why does Transmission BitTorrent client say "could not connect to tracker"?

I installed "Vuze" and all the torrents downloaded. It had something to do with connecting to peers.

Follow the full discussion Here.


How do I get nvidia drivers working on an Ideapad z570?

You laptop has a hybrid card, you have a intel + nvidia card running in your system, the drivers you are installing for you nvidia are not working correctly because they are not being loaded on startup.

You Intel card is running as primary so you have 2 options:

1) If you BIOS allows to turn off the Intel card and leave the nVidia one running then the drivers will work correctly;

2) Use software that enables you to use some functions of your nVidia card, its called Bumblebee and its largelly discussed on use/installation, etc, on the site.


Ubuntu 12.04 software upgrade does not show 12.10 upgrade

you have chosen to upgrade only LTS, or this is the default configuration with any Ubuntu LTS releases.

check your preferences, and change it as follows,

software sources > updates (tab) > "notify me of a Ubuntu version" > choose "For any new version"


To set up Apache Web-Server with apt-cacher on Ubuntu Desktop

I got into a mess using apt-cacher. Also, it only caches for one version. Rather setup trafficserver.apache.org and configure to be a general cache proxy for network traffic. You can set a rule for *.deb.


Touchscreen doesn't work on Emachines ez1711

Problem was solved with an update

  Touchscreen started to work after regular update.


How to setup Code::Blocks for GLFW development?

Ok after much search I couldn't find a direct way using the glfw project template on code::blocks but I saw this tutorial that did that using another means so I hope this help and note after installing glfw via apt it seems not able to find what it needs after adding the path /usr.

Steps:

Install the following:

sudo apt install libglew-dev
sudo apt install libglm-dev
sudo apt install libsdl2-dev
sudo apt install libglfw-dev

Create a console application and build and run it
Then add the required libraries from the menu projects --> build options, select the project name on the left (important), then go the the Linker Settings tab and  use the Add button to add the needed libraries such as GL etc.

Link to video source:

https://www.youtube.com/watch?v=KblXpajVpuU


How to update Ubuntu when not connected to internet

Download the CD/DVD of choice and then:

sudo apt-cdrom add
sudo apt-get update
sudo apt-get dist-upgrade

This will treat the CD as a repository and let you grab packages from it. However if you have non-standard packages that aren't on the CD, you might run into issues. There is (I believe this is still true) a DVD that has lots more packages on it that might help... But for general purpose upgrades, apt-cdrom should do fine.

If you're dealing with a network of computers (or something that could be hammered into a network) you could perhaps look at apt-proxy or another similar setup where you can host the repository locally for other computers to access. This may well be faster than taking a CD from computer to computer.

Similarly, you could share an ISO over the network and use apt-cdrom


iPhone 4 iOS 7 Songs Not Staying on Phone Ubuntu 13.10

According to the libimobiledevice website Music Synchronization does not work with DBVersion > 4. This is the case for iPhone 4 and newer:

  The iPhone 4/4S, iPod Touch 4, iPad 1/2/3rd Gen and Apple TV do NOT work.
  Any device with DBVersion > 4 does NOT work. To check your DBVersion run "ideviceinfo -q com.apple.mobile.iTunes -k DBVersion". WIP.

In order to get your music on your iPhone, you can either try to run iTunes with wine or you use a third-party player on your iPhone.

Seeing the state of the wine compatiblility page for iTunes you may need some luck.

When I was confronted with the same problem I went with the alternate player option. (I'm using AcePlayer, which even plays ogg-vorbis, although playlist handling could be better). Use ideviceinstaller -l to find the APPID of the player. Then just mount it with ifuse /mount/point --appid APPID and copy the files you want. Unmount with fusermount -u /mount/point.


I get the same error with the amdgpu driver. But my computer completely freezes and I have to hard reset it.
If you do not need the AMD GPU, you can blacklist the radeon (or amdgpu) module. It fixes the error but then the AMD GPU cannot be used.

Just create a file in /etc/modprobe.d/ (I usually call it blacklist.conf) and add blacklist radeon (or amdgpu).

To check if it was really disabled, you can run lsmod | grep radeon. It should not display anything.


How to modify kernel parameters without causing Kernel panic on OS

It is most likely kernel.sched_autogroup_enabled causes the panic, see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1422016

Disabling kernel.sched_autogroup_enabled can be alternatively achieved by passing noautogroup argument to the kernel via e.g. Grub config. The following has worked for me:

edit /etc/default/grub and change GRUB_CMDLINE_LINUX="" to GRUB_CMDLINE_LINUX="noautogroup" (actually it should be GRUB_CMDLINE_LINUX_DEFAULT but GRUB_CMDLINE_LINUX_DEFAULT didn't work for me).
sudo update-grub
reboot and to verify the result run cat /proc/sys/kernel/sched_autogroup_enabled, it should print 0


Abnormal fan behavior: Sticking and persist on max speed (HP Envy 6-1154er & Ubuntu 14.04)

Eventually the solution was switching to Manjaro KDE. All the issues not only fan related I had with Ubuntu disappeared. Manjaro runs perfectly.


How to Recover USB flashdrive bricked during format

Check out this Arch Wiki's article

  After you install Arch Linux and you are done with the USB drive, you
  should zero out its first 512 bytes (meaning the boot code from the
  MBR and the non-standard partition table) if you want to restore it to
  full capacity:

# dd count=1 bs=512 if=/dev/zero of=/dev/sdx && sync

  Then create a new partition table (e.g. "msdos") and filesystem (e.g. EXT4, FAT32) using gparted, or from a terminal


Proper fstab entry to mount a samba share on boot?

I've been through exactly this same issue this morning with 12.04 and here's how I got it working:

Install cifs-utils  (even if you already have Samba and related packages installed):

sudo apt-get install cifs-utils

Edit /etc/fstab and add your entry:

//server/share /pathto/mountpoint cifs credentials=/home/username/.smbcredentials,uid=shareuser,gid=sharegroup 0 0

Create the .smbcredentials file in your home directory:

username=shareuser
password=sharepassword
domain=domain_or_workgroupname

Make sure you secure your ~/.smbcredentials file:

chmod 0600 ~/.smbcredentials

Finally, test the mount with:

sudo mount -a

...and you should be good to go!


Virtual Box 4.2 does not install in ubuntu 13.04

Use Ctrl+Alt+T to open terminal and run the following commands:

sudo apt-get update

sudo apt-get upgrade

You will see it gonna say some following dependencies didn't met,then

sudo apt-get -f install

all these worked for me . I had a similar problem like this . I fixed numerous issues using this commands . They are really helpful .


Sound not working after suspend MacBook7,1 Ubuntu 13.04


Eclipse installer won't make a shortcut to open the program and I have no idea how to open it

Eclipse installer asked you during installation where you wished to install Eclipse. If you kept the default parameters then you should have an "eclipse" folder in your home folder that contains your Eclipse install.
For example, for Eclipse Java, you will find everything in ~/eclipse/java-2020-09/eclipse. It contains the binary file to execute for launching Eclipse.
So for launching Eclipse you can simply use ./eclipse/java-2020-09/eclipse/eclipse from a terminal.
It might be useful to create a launcher with this command, with Menulibre for example or your flavor's menu editor ;-)


UbuntuDDE Remix 20.04 installation manual partitioning stuck

UEFI requires the efi partition (FAT32 and flagged "boot" or "esp"). Any size over 200MB works, but I've seen 512MB most commonly, since this is still a tiny fraction of SSDs these days. This is where the EFI boot info is stored for all the OS's installed on your computer. Google EFI partition and there are a lot of articles describing how to manually create. Of course the partition is created automatically by the OS installers if your computer BIOS is set for UEFI MODE -- but NOT if your BIOS is set for Legacy Mode.
If you have 8GB or more of RAM I wouldn't bother with a swap partition if you have an SSD system drive. It's not required, doesn't speed things up noticeably with SSDs I've heard, and puts unnecessary wear on the life of the SSD, although that's less of a problem in the past few years with greatly increased SDD endurance.


I'm using Passwords & Keys in U14, click the +, select PGP, ok, then wait a few minutes, and click on PGP and your key pair should appear. I thought it was strange too with no status to let you know something's happening.


A mirror is automatically selected when you download Ubuntu at http://www.ubuntu.com/download or http://www.ubuntu.com/download/desktop. That's usually a very good way to get Ubuntu, but some problems, potentially including a wrong file on a mirror, can be solved by downloading directly from http://releases.ubuntu.com. I strongly suspect that will fix this for you, if the problem is really that your ISO image is for Mint.

You can also download with bittorrent.

To figure out what happened, I recommend very carefully checking through all the steps you carried out while burning the CD, in case you accidentally selected the wrong ISO image. Some CD/DVD burning software has confusing interfaces. (This is of course less likely to be the cause, if you have not ever previously downloaded a Mint image.)

If you'd written the ISO to a USB stick instead of burning it to a disc, I'd suggest making sure you didn't accidentally select the wrong option in the program you used to do that. For example, UNetbootin has an option to specify what OS to write to the USB stick. However, I don't know of any CD/DVD burning programs with similar functionality (and thus am mentioning this primarily for the benefit of others who may find this question while searching for help with a related problem).

If you wish to investigate this further, you can check that your ISO image is really the Ubuntu ISO you want it to be--and that it has not been corrupted--by calculating the md5sum of the ISO image and checking it against the appropriate ISO image's MD5 hash.


How do I remap the buttons on an Apple Mighty Mouse?

If I was in your place, I'd probably buy another mouse (costs something like $10).

However if you insist, you might try to map the keys manually.

You can use xev to find the keycodes. Open a terminal, type xev and press enter and a small window will appear. Put the cursor there and do the special keystrokes. You will find the keycodes in the terminal. Then use these codes in the keymapper of your Ubuntu.

BTW, what Ubuntu do you use?


it looks a bit odd. Are you sure nothing is interfering with the screen? (phone cover, etc?). Have you noticed problems with the phone temperature?
The middle part of the screen would include the keyboard? Can you try using the keyboard both in portrait and landscape mode to check the screen?
I've heard of other people having problems with their screens but we couldn't track it to a software problem yet.


This behavior can be explaned easily if you are dealing with the standard input in myscript.sh (waiting for user input, for example). As no terminal is attached, your script terminates, just like cat would do, for instance.


The locations added to the clock are not stored in a simple file or folder that you can copy to other computers. The settings are stored in a binary database file similar to the registry on Windows. You instead will need to use the dconf dump and dconf load commands, to export and import the settings on the other computers, respectively.

On the computer with the existing settings, run:

dconf dump /org/gnome/clocks/ > gnome-clocks.dconf

Then copy the gnome-clocks.dconf file to the other computers, and run this command on them:

cat gnome-clocks.dconf | dconf load /org/gnome/clocks/


Could not open builtin file modules.builtin.bin

Looks like you have a mismatch between which kernel version modprobe is looking for 2.6.32-042stab104.1 vs the version you have (re)installed 3.19.0-30-generic.

use uname -r to dump your running kernel.  It looks like you have some custom kernel installed - check your bootloader (probably grub) to see if it is hardcoded to some ancient kernel instead of the lastest installed kernel.

2.6.32 is old (ancient) enough that it probably doesn't use modules.builtin.bin - so you may have a mismatch in your modutils version vs your kernel


Installing 32 bit libraries to run GIPsy software

You can install the unmet dependencies with:

sudo apt-get -f install

This should fix your missing packages.


Be sure you have a JDK installed on your system.

sudo apt-get install openjdk-7-jdk

If that does not solve your problem, you must tell your system to use that JDK instead of the current JRE. To do so, you choose which JDK/JRE you use by default on your system by executing the following command in terminal.

sudo update-alternatives --config java

This command will give you a list of alternative java options, which you will then be able select a JDK instead of JRE.


How do I keep terminal line from overwriting itself?

For some reason the terminal size is mis-reporting. It should change when you resize the terminal.

Try this in your .bashrc command file:

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize


External monitor(s) dark out on one account and I cannot set monitor layout, how to fix?

Corrupted monitors.xml file

As mentioned in a comment, if your monitors darken on (only) one account, working on other(s), most likely your monitors.xml file is somehow corrupted. To fix, remove ~/.config/monitors.xml, immediately log out and back in.

Setting up your (complicated) monitor setup from cli

You mentioned the step above fixed the darkening screen(s), but you still cannot setup the screens in the layout you wanted (see below). That is possibly caused by a bug. We might very well be able to work around it by setting it up from cli.

To set up the screen layout as you described in a comment:

You'd need to run the xrandr command:

xrandr --output DP1-1 --pos 0x0 \
--output DP1-2 --pos 1920x0 \
--output DP1-1 --pos 0x360 \
--output eDP1 --pos 1440x1440

...if I made no typo or other mistake...

Explanation

Normally, in a complicated screen layout, you simply need to work from left to right, from top to bottom.

However
If you don't know for sure what is the current layout, you cannot place the first screen, other than 0x0. If there is empty space in the top of your screen layout, xrandr will remove the empty space and change e.g. 0x200 into 0x0. Therefore the steps need to be:

position DP1-1 and DP1-2 horizontally top-alligned:

xrandr --output DP1-1 --pos 0x0 --output DP1-2 --pos 1920x0

only then bottom-align DP1-1 with DP1-2:

xrandr --output DP1-1 --pos 0x360

place eDP1 in the middle below the other two screens:

xrandr --output eDP1 --pos 1440x1280

How to use

Copy the small script below into an empty file, save it as setup_screens.sh

#!/bin/bash

xrandr --output DP1-1 --pos 0x0 \
--output DP1-2 --pos 1920x0 \
--output DP1-1 --pos 0x360 \
--output eDP1 --pos 1440x1440

Make it executable
Test-run it from a terminal, run the command:

/path/to/setup_screens.sh

Either run it from a shortcut key: choose: System Settings > "Keyboard" > "Shortcuts" > "Custom Shortcuts". Click the "+" and add the command:

/path/to/setup_screens.sh

or run it on login:  Dash > Startup Applications > Add. Add the command:

/bin/bash -c "sleep 15 && /path/to/setup_screens.sh"


Will the Ubuntu installer automatically detect other versions of Linux?

Yes,

During installation of Ubuntu there it will ask you if you want to install Ubuntu alongside or over another installation found.

In your case the Windows 8 will be replaced by the other OS...


csv file adding and removing characters from rows


Removing 'wget' removed the Chrome also. Why?

Well, the reason is simple:

google-chrome-stable Depends of wget. If wget is not installed Google Chrome will be uninstalled too since Chrome can't work without wget (apparently).


This is a Windows .exe file from what I can see in your question. You'd need to use a tool like wine in order to run Windows executables under Ubuntu, and even then it won't necessarily work with all programs.


How do I maintain having two hard drives?

Hey i would seriously consider LVM if you have the time to research. here are some steps to put your /home on your HDD.

Create a partition on your HDD - use a partitioning tool like gparted
Format the HDD with a partitioning tool - use ext4 filesystem
Mount /home directory to the device - read link below!

Note: you may have to mount /home while using a live cd or you can backup and re-install and choose the "Custom" option during install as mentioned above.

Useful links:

https://help.ubuntu.com/community/Partitioning/Home/Moving

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


Ubuntu 18.04 Lockscreen background refuses to change

Okay so I did finally get to an answer. Honestly, it's a bit hacky and I still don't get why it isn't changing my lockscreen BG like it should, but whatever...

Basically I started by opening the file navigator with root permissions:

sudo -H nautilus

then I navigated from the root directory to /usr/share/backgrounds and from there the lockscreen background that GNOME seems to be stuck on is called warty-final-ubuntu.png. I backed up that file, then copied the background I wanted and changed its name to that. It worked immediately.

Again, this feels stupid and hacky. With my lockscreen UI looking different from everyone else's, and the built in lockscreen background switcher not working in either the system settings nor the gnome-tweak tool, I feel like there is a deeper issue here that isn't being addressed. But nobody seems to really know, and this works for now I guess. So I'll just leave it at that.


How to use Gnome/Ubuntu media key binding in other window environments?

It looks like GNOME removed the media key handling from gnome-settings-daemon and integrated it into gnome-shell:

https://bbs.archlinux.org/viewtopic.php?pid=1262789

I'm still looking for a good solution. Arch/Cinnamon people have apparently forked the 3.6 version.


I was having the same issues as well. Apparently Microsoft has made large strides to prevent people from installing any new OS other than the pre-installed one. This is called UEFI. I can't imagine why anyone would EVER want to switch from this kind of environment.

Anyways, yours and my issue stems from UEFI being enables on this laptop. To change this, here are a few steps:

Go To Shutdown, and while holding SHIFT, click on restart (or restart and install updates if that is what is displaying).
Next you will be greeted with a screen giving you a couple of options. Choose Troubleshoot
Click on UEFI Firmware Settings. This is going to reboot your computer into the BIOS automatically. If for some reason it doesn't go there. press and hold the power button until the laptop turns off, power it back up, and mash F2 to get yourself in there.
In the BIOS menu, press the right arrow key until you get to Security and press the down arrow until you get to Secure Boot Control
Press Enter and disable this option.
Press the right arrow key to get to Save & Exit and press Enter

This worked for me to be able to boot into Ubuntu using my live key, haven't tested with the DVD yet, but all looks well. These instructions SHOULD match your setup to the letter, I also have the Q500A with an i7 core, and I can't think why we would have different BIOS. Anyway good luck and I hope you get your Ubuntu Box running


I finally found the answer on the following thread: Ubuntu 18.04.2 boot stuck on purple screen after updates

The reason why it is stuck on the purple/black screen is because of the microcode update. I have not tried to downgrade intel-microcode package on 19.04 but I can confirm if works on 18.04. The following worked for me:

sudo apt-get install intel-microcode=3.20180312.0~ubuntu18.04.1


The wubi is used to install Ubuntu inside windows so that ubuntu will look like as any application inside windows and for that wui will install ubuntu using a filesystem that windows could understand and sure that windows will not recognize EXT2/3/4.

For that you can't install ubuntu usign wubi with ext4 filesystem.

You have to install Ubuntu standalone or if you want to keep windows you can just install it alongside windows.

For more information and learn how to install Ubuntu you have to read How do I install Ubuntu?


How can I find Power PC specific charms?

We do not have a list of charms that support Power PC (ppc64le) because the majority of the charms work on that platform.  Starting with 14.04 the Ubuntu archives have been compiled for ppc64le architecture, so the charms that install packages from the Ubuntu archives will continue to work as before.

Some charms install from Personal Package Archives (PPA) and those packages may or may not be compiled for ppc64le.  As the name suggests those archives are privately owned and maintained and may not have been compiled for ppc64le architecture.  Any other charms that install binaries from other private locations may not have ppc64le architecture options.

There was an effort to identify the charms that do not work well on ppc64le and fix the charms.  Some charms have already been fixed.  Bugs have been filed for charms that someone has identified not working on ppc64le in launchpad.  Use this URL to list those bugs:

https://bugs.launchpad.net/charms?field.searchtext=ppc64le

If you find any other problems with charms on ppc64le be sure to report a bug on launchpad.net and tag the bug with ppc64le.


Two ethernet ports, same IP as device connected to other ethernet port

No. You will have to move the printer on the network if you don't want to make it unnecessarily complicated for yourself.

To do what you want - correctly put your 'small device' between the printer and the network - you should connect to the main network on NIC 1, and connect NIC 2 to the printer alone. The printer and  NIC 2 should be on another IP range so that devices on the main network cannot connect directly to the printer. For example, with the printer connected only to NIC 2:

NIC 1: 10.0.0.3
NIC 2: 192.168.1.100
Printer: 192.168.1.101 (mask /24, gateway NIC 2's IP)

From there, you can have a program listen on NIC 1, modify the print job, then send it to the printer over NIC 2. Having NIC 2 on a different subnet has the added convenience of making the system automatically choose NIC 2 to connect to the printer.


Can I get portable applications for Ubuntu?

PortableLinuxApps.org

PortableLinuxApps provides portable applications for Linux that you can carry around and use on every Linux computer running one of the supported major distributions.
Just Download, Make Executable, and Run!

You just have to download the file ,then make it executable and Run it!


There is  a tool for creating what is basically a GRUB multi-OS
  bootloader on your USB drive. All you have to do is grab an ISO file
  of the system you're adding to your drive, then drop the whole ISO
  file onto the drive (occasionally with special instructions). There's
  all the usual Linux cohorts—Ubuntu, Fedora, openSUSE, etc.—but also
  some great rescue tools and utilities, like the GParted partition
  disc, Ophcrack password reset, and virus scanners. You could even load
  a Windows 7 installation DVD onto your thumb drive, if you had the
  room.1

Unfortunately, "MultiBootISOs is a free download for Windows"1 only.  To get it, see this site.

1Source: "MultiBootISOs Boots Multiple Operating Systems from a USB Drive" on lifehacker.com


Cannot find files downloaded in /tmp/ folder

The version of chromium doesn't matter, however yes you'll be using the snap version (use snap list to view your installed snaps). eg. my system shows
guiverc@d960-ubu2:~$   snap list
Name               Version                     Rev    Tracking       Publisher         Notes
chromium           87.0.4280.88                1424   latest/stable  canonical✓        -

Snaps can have different confinement restrictions, classic can access your file-system (lowest level of security), however all other levels mean they see a pretend file-system that isn't your real one as they run confined (excluding $HOME or your user directory; that's real, and if you've snap-connect /media, /mnt they an be accessed too).
The /tmp seen by chromium snap is NOT the /tmp you see a terminal/file-manager etc.


Boot in recovery mode. Type sudo dpkg-reconfigure lightdm in the terminal and choose the lightdm. Reboot your system in the normal way.


Open a Nautilus window.
Press Ctrl + L to access the address bar
Introduce your FTP address: ftp://user@server. For example, ftp://loved.by.Jesus@192.68.35.122. Note: For FTP over SSL/TLS use ftps:// instead.

In case that password is needed, Nautilus will prompt a dialogue window.


How to Load a library from the main app snap to a library snap?

You would likely need to create an interface for your application snap and library snap to connect via.  You will need to file a bug with the tag 'snapd-interface'[1]  You can learn more about interfaces, plugs, and slots here [2].

[1] https://bugs.launchpad.net/snappy/+filebug

[2] http://www.zygoon.pl/2016/04/snappy-interfaces-plugs-slots-connections.html


Moved to SSD and now getting "the disk drive for / is not ready yet"

The problem resolved mysteriously. I learned that pressing Esc when the "Skip / Manual Recovery" message comes up, you get to see the last error in the system. Mine was problem with some rule hrdjconsole.rule under rules.d. I tried to apt-get remove package libdjconsole associated with it, but got an error. But on next reboot somehow everything "just worked" all the way up to the KDE gui. I reinstalled the grub just in case, found the right name for that libdjconsole0 in synaptic, purged it and had no problems ever since.
Why did I not have this issue when booting from normal hard drive previously and just getting it now - and whether this actually was the issue - I don't know.

Before trying to remove the problem package while in recovery console, I also went through mounting all items from fstab manually one by one. Maybe it has instilled confidence into mountall and it decided to do it by itself the next time :)

I hope that this post is not entirely useless.

PS: the increase in performance is really awesome. SSD breathed life into my old machine. Boot time went from 2 minutes (from grub prompt to KDE desktop - 1.8G Core2Duo, 4GB RAM) to 40 sec. Anything that requires reading a lot of small files - e.g. Synaptic  building it's database - is now almost instant. Pretty awesome!


(U)EFI > Ubuntu vs Windows 8 - problems with booting Windows

First, your partition type codes are messed up. Your first three partitions are all flagged as EFI System Partitions (ESPs), but only the first one should be of that type. Your partition #2 should almost certainly be of "Microsoft Basic Data" type. I'm not sure about your partition #3. You can change partition type codes with gdisk, using its t option. Be sure to save your changes via the w option when you're done. In gdisk, change the type code for partition #2 to 0700. I'm not sure about partition #3, though.

If changing the type code doesn't work, try using the rEFInd CD or USB flash drive. (You can get these from the rEFInd downloads page.) If you boot into rEFInd and it enables you to boot Windows, then install rEFInd using the Debian package or binary .zip file. This will supplement or bypass GRUB 2 (as you see fit) for booting Linux, and bypass GRUB for booting Windows.


How to automatically lock my computer after logged in via auto login

When you install a web server, you don't need to "login" to run that web server.

Web servers such as apache or nginx start up at boot time with their parent process run by root (to bind to ports).  Subsequent child processes are generally started with the user or group specified in the configs.  Therefore, your computer can be on but not logged in, and your system will still run the web server.  Remote administration can be done by SSH whether you're logged in via the GUI or not.

Therefore, there is no need for autologin to make the webserver work (unless its a weird Node.js or some other backend that needs to be manually started by a user).


As you may know, DHCP is really all about re-use of IP addresses, so you shouldn't be surprised by this behaviour.  Providing no address is handed out when there's already an active lease, and addresses are being handed out when requested, DHCP is doing its job.  The DHCP specifications don't set out rules as to the order of assignment of addresses, so although one might expect them to be handed out in a monotonically increasing sequence, there's no constraint on a server to do this.


You can use nice on existing PID's with renice

So start the terminal as usual

$ sudo renice -n -20 -p HTOP_PID

If you are using different shells/windows for this, you can find the pid ps -A | grep htop there are numerous ways to extract PID from the output programmatically which would allow scripts to handle this.

Otherwise you could, as suggested in a comment, execute

sudo nice -n -20 su USER htop instead of straight htop


Network Troubles - Cannot Ping Windows PC

Try adding the nsslib-resolve package.  That may be all that's needed.  Your /etc/nsswitch.conf would have a hosts line like:

hosts:          files mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns myhostname

I don't have a "wins" anywhere there and it works just fine.  The /etc/resolv ends with a search line, from my isp/gateway but you look like yours should say "search local" f rom your ping results.


From the comments...
GNUCash version 4.4 is for Windows and Mac, right now. The Ubuntu repos have 3.10. Make sure you have all the repos enabled except "proposed".
Success... GNUCash is now installed.


Ubuntu has additional QML library: qt-components-ubuntu. There were some dependencies on Unity long time ago. But it should be ok now. I think that it is not very hard to run SDK even on something like Mac OS (don't know about emulators...).
No idea.
There is no significant difference between desktop and mobile. For mobile there is just a cross-compiler and additional packaging step. And an ARM executable for the mobile can be directly run on the desktop if qemu-user-static is installed.
For that we need to teach KDE to morph between desktop and mobile interfaces and port it to Mir.


gcc cannot find ansinist.h even though it is there in /usr/incude/ansinist

If you put the header file in /usr/include/aninist, you need to call it like,

#include <aninist/ansinist.h>

Or you can put the header file is in your current directory and call like,

#include "./ansinist.h"

or you could use,

#include "/path/to/ansinist.h"


how can I stop top-panel from overlapping window border in dualscreen mode?

I have exactly the same physical monitor setup and the same annoying problem!

I kind of solved this by dragging the top-panel to the top of the LCD screen.

BUT to be able to move the top-panel up to the top of the LCD screen you first need to untick the "Expand" checkbox in the panels properties (right-click on the panel to get to them).

Then you can grag & drop the panel upto the top of your LCD screen and when its docked there, it won't overlap over your normal apps windows.


Can I detect on Ubuntu if Windows XP computer is on?

I think the easiest solution is using ICMP echo requests (ping). For this, you have to set up the XP box to respond to ICMP messages, as described here.

Now, make sure the Linux and the XP machine are in the same network, and both have an IP address. You can check this on Linux with

ifconfig

and on Windows with

ipconfig /all

You'll need the XP IP address for the following script:

#!/bin/bash
time (
    while [ true ]; do
        ping -c 1 "$1" > /dev/null || break
        sleep 60
    done
)

Save this script in some file, e.g. pingtimer.sh and make it executable with chmod +x pingtimer.sh

You can now start it with

./pingtimer.sh <target IP address>

from within the same directory.

Let's break this thing down:

time () measures the time the command inside the () took to execute.
while [true]; do ...; done repeats the inner command (...) infinitely or until interrupted or broken.
ping -c 1 "$1" > /dev/null sends one ping request to the IP address stored in $1, which is the first program argument, i.e. the target IP. As ping produces a lot of output, we'll just discard that to /dev/null
... || break will break the 'infinite' while loop if the command before the || operator returns a non-zero value. In case of ping, this happens if at least one ICMP packet was not responded to. If this happens, e.g. because the target machine is down, the program will quit, printing the output from time.
sleep 60 will cause the process to sleep for 60 seconds, after which another ICMP Echo request is sent. Adjust this value to taste. Note that some firewalls will stop responding if you start flooding it with pings.


How to make apache open files that have only owner execute permission for all users?

744 is not normal for directories. I would believe it should be 7[750][50], and 6[640][40] for files. Where I prefer "0"/"0" for "others" and "5"/"4" for groups.

For 745 I doubt there is a valid usecase: permissions really should trickle down from user to group to "others" so the user has the most permissions and others should have the least.

  How can I change it so that it can open files that have -x permission only for owner while being logged in as the owner user?

Add the user to the group that owns the directories and files and set permissions to 750.
Change the owner of those directories and files from "test" to the user.

chown -R $USER /var/www/

(assuming /var/www/ is your root; adjust accordingly) would do that. By the way: if you only want user to execute you should use 700 and 600 or set the group to the name of the user and empty out the group from any other user.


Try pavucontrol - PulseAudio Volume Control
It's in Ubuntu Software twice, one is GTK and one is QT. You'll want the GTK version if you have stock Ubuntu and aren't using any other desktop environment.


How to run a command automatically after completing download?

If you can download the file outside of Firefox, you can use

filetodownload=file-to-download.ext
wget http://www.example.org/"$filetodownload" -O "$filetodownload"
#"I want to create a directory beside the downloaded file automatically"
#You didn't specify a dir name
mkdir "$filetodownload"

Otherwise, you'll have to monitor the file's download progress and when it's finished, make the directory "beside the downloaded file". The following worked for me (but I couldn't make a dir with the same name as the file). It looks at all files though, including hidden ones. Modify as needed.

#! /bin/bash
while [ 1 ]
 do
  for files in $(find . -maxdepth 1 -mmin -1 -type f)
   do
    testbefore=$(ls -l $files | awk '{print $5$6$7$8$9}')
    sleep 2
    testafter=$(ls -l $files | awk '{print $5$6$7$8$9}')
    if [ $testbefore = $testafter ]
     then
#     echo $testbefore
     mkdir $(basename "$files")_
    fi
   sleep 5
  done
 done


What package replaces dkim-filter in 12.04?

According to the SourceForge website:

  dkim-milter has been replaced by OpenDKIM

Indeed - the project has now states:

  As of 2011-12-13, this project is no longer under active development.

You are quite correct - OpenDKIM is its replacement - its a fork of dkim

More information about the OpenDKIM filter is in the README file.

The version in Precise is slightly older then than the Project site - v2.5.0 vs 2.5.1  respectively.


VMware horizon client fails in physical machine but works in VM in Ubuntu 20.4 or 20.10

Ok!
Found a partial solution from Reddit threads. Seems, that sometimes multimedia forwarding does not get installed, and then you have knock out H.264 encoding.
"VMware Horizon Multimedia Redirection (MMR)"
Then miraceously everything works..
I do not why this happens, but Now I can use 20.4
Edit on December 30th:
And final solution seems to be:
sudo apt install intel-media-va-driver-non-free
After this driver Blast with H.264 works also....
Problem has never occured with AMD on Nvidia display adapters...
Antti


Which file configures the desktop envionments that are available to log into on my system?

If you have Ubuntu 16.04 (and possibly others as well), the list of sessions/login options will be in the directory /usr/share/xsessions/ (one file per option).


Ubuntu 12.04 spdif output doesn't support multichannel sound

Take a look to these links:

http://mattillingworth.wordpress.com/2012/09/25/fix-surround-sound-5-1-in-ubuntu-12-04/

it work fine for me.


Is there a calculator which supports arbitrary precision?


I deleted /usr/include/boost, installing libboost-all-dev won't bring headers back

Uninstall libboost-all-dev again, then run sudo apt autoremove, then install libboost-all-dev again. That will usually work. These commands are one way to accomplish that:

sudo apt remove libboost-all-dev
sudo apt autoremove
sudo apt install libboost-all-dev

You could use purge instead of remove and --purge autoremove instead of plain autoremove if you like, but in this case it sounds like the files you need restored aren't conffiles so that shouldn't matter.

libboost-all-dev is a metapackage. It doesn't provide any Boost libraries directly, but instead causes to them to be installed by declaring other packages that provide them as dependencies (run apt show libboost-all-dev for details). Uninstalling libboost-all-dev doesn't remove those packages, and since they were still installed when you installed libboost-all-dev again, they weren't reinstalled.

However, uninstalling libboost-all-dev does make those other packages eligible for automatic removal, so long as you didn't manually install them and nothing else that depends on them is installed. That's why performing the autoremove action when libboost-all-dev is uninstalled should fix the problem.

If it doesn't, you can investigate further by listing packages that are currently installed and are likely to be related to Boost:

apt list --installed '*boost*'

You can then reinstall those with sudo apt --reinstall install ... or, better, uninstall them and then install libboost-all-dev again to get them back. I consider that better because then they're not marked as manually installed, and thus will be eligible for automatic removal in the future if you remove libboost-all-dev and nothing else depends on them.

Of course, when uninstalling packages, make sure to look at what apt--or apt-get, or whatever command you're using--says will be done. In particular, if you go to uninstall what appears to be a Booost-related package and the packages that will be removed along with it appear unrelated to Boost or are large in number, you should be reluctant to proceed. It is possible for non-Boost packages to depend on Boost-related packages.

Regarding your original problem with compile errors, you might consider posting a separate question about that once you've gotten the headers back.

More generally, if you want to try removing files that were installed by your package manager in order to troubleshoot a problem, it's best to use the package manager to uninstall them. If you do have to manually remove files, you should consider moving them somewhere else so you can easily restore them if necessary, rather than deleting them outright. Fortunately, removing files belonging to packages that aren't essential to the operation of the system--as you've done--can usually be undone pretty easily by reinstalling the correct packages.


My computer says i am running ubuntu 17.04

You may be running 16.10 but you have at least one package installed that comes from 17.04. lsb_release shows the content of /etc/lsb-release which is provided by package base-files and it shows you Ubuntu version. You can do the following command to better understand where it comes from:

apt-cache policy base-files

(apt-cache show base-files may provide some hints too)


Kubuntu 19.10. Why no thumbnail preview?

Out of frustration, re-installed Kubuntu, minimal manual. Problem solved. [no pain, no gain]. Thanks to all.