make the line bold or highlight on find command on vim

The easiest way to do this is may be to toggle cursorline:

:set cursorline

and perhaps turn it off when you are done searching. To turn it off issue:

:set cursorline!

In the vimtips pages you will find more ideas including setting up a function key or other keyboard shortcut to do the above.

This is for the part where you say ".. and the cursor points to ..". To highlight all the lines where foo occurs in the document you might consider using ack.vim. It may take a little bit of time to figure out how to install it, but you can do something like:

:Ack foo

and a new window will open with all the lines where foo appears.


for code in `cat data.txt`
do
    grep $code names.txt >> confirmed.txt
done
cat confirmed.txt
rm confirmed.txt


Add same machine to differnet juju model

Yes, it should be possible. From within your controller, you can simply create another model on the same "cloud".

I assume that you've bootstrapped using something like this:

$ juju bootstrap mymaas c-1 # mymaas is the name of the MAAS cloud,
                            # c-1 is the name of the controller

You now have two models established.

$ juju models
Controller: c-1

Model        Cloud/Region   # ...
controller   mymaas         # ...
default      mymaas         # ...

You should be able to add a model to that cloud right away:

$ juju add-model model2

model2 should co-exist on the same hardware.

$ juju models
Controller: c-1

Model        Cloud/Region   # ...
controller   mymaas         # ...
default      mymaas         # ...
model2       mymaas         # ...


Added myself to sudo group in recovery mode, but still cannot use sudo: "Sorry, try again"

From your description, the account password itself isn't correct (the dialog window "shakes its head"). If this is the case, resetting your password with the rescue prompt should fix it.


Fiefox has a small memory leakage problem

To fix it [Try This]

Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
Right Click in the page and select New -> Boolean.
In the box that pops up enter config.trim_on_minimize. Press Enter.
Now select True and then press Enter.
Restart Firefox.

Hope this will help


There are two clients that I know of; Grumblr and OpenTumblr. I don't think you can follow people from within them, but they work for just about everything related to posting.

If you want the full features of Tumblr, you can even create a desktop application from within Chromium or using Mozilla's Chromeless technology.


The solution was the configure the inbox namespace to use no prefix, by default this is commented out and it would stand to reason that being commented out it doesn't need to be explicitly set to nothing.

Once I uncommented the default settings in the namespace and restarted Dovecot, it worked just fine.  No more crashing in Android, the mail folders moved to be top level folders and not subfolders of Inbox.

The only problem came with Roundcube which had trouble seeing what mail folders were for what purpose.  I had to explicitly set them via the web app, but that is likely because I had been using the same roundcube installation for testing and it probably just got confused.


Trouble having Dual-booting windows 10 and Ubuntu 15.04

Hey bud here are some step by step instructions http://linuxbsdos.com/2015/09/07/how-to-dual-boot-ubuntu-15-04-with-windows-10-on-a-single-hard-drive/


chromeos-apk expects the package name, not the filename. Try chromeos-apk com.instagram.android.apk --tablet.

Source: https://github.com/vladikoff/chromeos-apk


How do I move window buttons to the left in Budgie

budgie-desktop 10.3
With budgie-desktop v10.3 the ability to switch the window buttons is built into Raven itself:

For 16.04 and 16.10 users budgie-desktop v10.3 is available via the normal updates mechanism.
For 17.04 users, open budgie-welcome, enable "backports" in the recommended software and then the desktop will be updated via the normal updates mechanism.
Alternatively:
sudo add-apt-repository ppa:ubuntubudgie/backports
sudo apt update && sudo apt dist-upgrade


/ and // are pointing to same directory. See repeated slahes in a path are equivalent to a single slash

This behavior is mandated by POSIX and most applications follow suit. The exception is that “a pathname that begins with two successive slashes may be interpreted in an implementation-defined manner”.
What you're seeing is not, in fact, Linux doing anything special with // it's bash's current directory tracking.

$ bash -c 'cd //; pwd'
//
$ bash -c 'cd //; /bin/pwd'
/

source


Ubuntu gives black/no graphics after waking up from sleep

The only suspicious message I found in your logs (kern.log) was:

[drm:drm_mode_getfb] *ERROR* invalid framebuffer id

I'm not sure whether this is

Other things to try:

Update your system!
Restart GDM over SSH:

sudo stop gdm
sudo start gdm

(I had issues with just sudo restart gdm)
Reloading the radeon driver:

sudo rmmod radeon
sudo modprobe radeon

If you've SSH access, you can shutdown the machine by running:

sudo shutdown -h now

If not, you can try pressing Alt + SysRq combined with (in order): R, E, S, I, U, B with small delays (2 secs should be fine) between these. (see wikipedia for explanation)


Login screen appears in a much older style

You have set your default display manager to xdm in place of the default more modern lightdm or gdm

You should be able to change back to your preferred display manager by reconfiguring the package using

sudo dpkg-reconfigure xdm

and then navigating the menu with your arrow and TAB keys and confirming your selection with the ENTER key or SPACEBAR.

The choice will take effect next time you reboot - or you can stop then re-start the display manager manually using systemctl (note that this will terminate any running desktop session as well):

sudo systemctl isolate multi-user.target

then

sudo systemctl isolate graphical.target


I'd say use DevStack. The resource you use for installing OpenStack is 1 year old and seems like it installs Grizzly. Havana was released half a year ago and Icehouse will be released in two weeks.

On the contrary DevStack always installs the latest version of OpenStack, Sahara included.


From the MAAS freenode community, I learned that I could run:

--config=config.yaml

Where config.yaml contains:

default-series: xenial
no-proxy: localhost
apt-http-proxy: http://<ip address>:<port>
apt-https-proxy: https://<ip address>:<port>
apt-ftp-proxy: ftp://<ip address>:<port>
http-proxy: http://<ip address>:<port>
https-proxy: https://<ip address>:<port>
ftp-proxy: ftp://<ip address>:<port>

This isn't documented anywhere in the MAAS or Juju documentation, disappointingly. This didn't actually solve my issue either, though I believe it addressed the direct question of setting a proxy before a model exists. I believe the issue I'm having is due to unrelated DNS confusion within my network.


How can I adjust the scroll speed of my mouse manually?

You're gonna have to compile a short program, but take a look at this guy's attempt to increase the scroll speed by X. If you need help with this, I'd take it to http://superuser.com or http://stackoverflow.com. If you do ask a question somewhere else, put a link here so future questioners can learn!


pulseaudio not running on nonstandard /home 14.04.1 LTS permissions errors

Permission errors are what is to expected if we put our HOME on a NTFS partition, because these will not support the Ubuntu file permissions at all.

To shared data with Windows we therefore have to set up a dedicated data-only folder on this NTFS partition which will then be mounted to be accessible from Ubuntu. We can even put a symlink to these folder in our HOME directory. This always needs to be stored on a Linux filesystem (e.g. ext4).

See also these related question & answers.


Driver for OKI MC160n Printer

Almost 3 years too late, but a big thanks to Squelsh for the tip! My MC160N has been gathering dust for years, but now works. Thank's to Squelsh's tip!

The link was dead but I found this link and followed their instructions.

What I did IIRC:

Download the tar and compile the driver

$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
$ tar xvf foo2zjs.tar.gz
$ cd foo2zjs
$ make
./getweb 1690# Get Konica Minolta magicolor 1690MF .ICM files (***NOTE Didn't find any, ignored)

Now you can install the ppds (postscript printer describtions)

$ sudo make install
$ sudo make cups

Open Printer Settings

system-config-printer&

or

gnome-cups-manager&

or if you like more the cups-browser, open this link: http://localhost:631/admin
Select Add printer

Here selected a network printer
When asked to search for a driver (a bit fuzzy here), I selected Konika-Minolta 1690F and it found my OKI MC160n.
For the other configuration I used default values

Print a test page
Printed test page ---> Success!
Select "OK" and done!


How to debug keyboard shortcuts not working?

I have had a similar issue before. Another application was already using the keyboard shortcut, but it was not showing in Keyboard > Application Shortcuts. Therefore, it could not re-assign.

In Terminal, use your favorite text editor to open the following:

gedit ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

I assume you want to use ctrl+alt+p. Search for the line with &lt;Primary&gt;&lt;Alt&gt;p and delete it. Now try to set your keyboard shortcut for Sublime Text.


Changing the default location of onedrive on my ubuntu 17.10 pc

I'm using Linux Mint.

Install onedrive: sudo apt install onedrive
Create symbolic or soft link

         physical location       link location
ln -s /location_real_OneDrive /home/your_user/OneDrive

Execute: onedrive
Configure OneDrive


Connect my mobile phone as modem via bluetooth?

The procedure to do this thing is fairly same for Ubuntu 11.10 and Ubuntu 12.04.

Here's how:

Click on Bluetooth icon on the panel, and Set up New Device

Switch on your mobile Bluetooth and make sure it's visible. Now select your mobile phone from Ubuntu options to pair it up with your Ubuntu. It might show some codes, just do what it says and go forward.
When finishing the setup, there will be a check box asking for whether you want to access Internet from your mobile using DUN connect. Selecting it will show you a window that looks like this:

Now, in the next one, it asks you for your location, provider information. Select accordingly.

Make sure that you select your mobile Internet plan correctly. If you select something else other than your plan here, you may find that you ended up having a negative balance in your mobile phone in ten minutes - which obviously doesn't sound that good.

Keep going forward, and you should have your mobile Bluetooth connection setup and paired with Ubuntu. All you need to do next is to connect to that mobile network by clicking on network connections in the panel.

Also, disconnect from any other network (if you are connected), and make sure you don't put your mobile device half a kilometer away from your computer (for it to have good Bluetooth connection strength), to make things go smooth.

Good luck!


could be, that you are too quick or impatient ?

mobile broadband needs sometimes more time to initialize the connection.
it depends on reception of the technical devices in broadband.

my huawei mobile broadband usb stick is sometimes not working too. but it is
matter of reception (state of satellites - not state of Linux). - then it can last
5 minutes or more until it works.


Other software checkboxes in software sources are not working after update to 12.10

Open your terminal and type

sudo -H nautilus /etc/apt/sources.list.d/

Delete all files that have an extension .DistUpgrade

Rename .list and .list.save files by changing the older release name(precise) to the new one(quantal)

This solved it for me.


Can't log into Ubuntu 14.04 after update, login loop, incorrect login in tty

After spending a fair amount of time I was able to solve this problem which I want to share with community.

Problem one was that user name wasn't Ubuntu. It was home.

The second problem was that Ubuntu installed Nvidia drivers for the ATI Radeon video card.

To find user name out I booted Ubuntu into recovery mode by selecting it in grub menu. And then I chose the root console. Where I typed

cut -d: -f1 /etc/passwd

from a long list of weird usernames I made an assumption it's home and was right. Restarted computer with Ctrl + Alt + Delete. During login screen pressed Ctrl + Alt + F1 and logged in as home user.

By that time my relatives remembered that before update Ubuntu said something about Nvidia. But I knew they had ATI Radeon video card. So I wiped out all Nvidia drivers and reinstalled ubuntu-desktop using these commands

sudo apt-get remove --purge nvidia-*
sudo apt-get install ubuntu-desktop
sudo rm /etc/X11/xorg.conf
echo 'nouveau' | sudo tee -a /etc/modules

Rebooted with Ctrl + Alt + Delete and it worked. Hope this helps somebody


by ubuntu-restricted-areas you mean

ubuntu-restricted-extras.

Its a meta package which will install nearly every media codec


I would boot a different install, make the broken root filesystems visible to the different install, and then run apt update ; apt dist-upgrade from within a chroot.

You can do this manually, but the simplest way to do this would be to use the Ubuntu installation disk (mini.iso is fine) and select the rescue option, followed by "start a shell in the target".


Ubuntu Touch - USB serial drivers/modules

Thanks to ubuntu to get that functionality you will have to recompile the kernel. If you are still interested read bellow :)

All of usb serial adapters are by default disabled in any UT kernel. (thank you ubuntu for being so un-cool) [sarcasm on] as you are supposed to use this device only for socio* webapps (tweet, fazebook, stare to UT calendar) and do not dare to do anything cool [sarcasm off]. Look to the source of the kernel https://github.com/bq/aquaris-E4.5/tree/aquaris-E4.5/
change the configure file to enable your USB UART device and then crosscompile it (I think the best up to date instruction is this how to do that: https://sturmflut.github.io/ubuntu/bq/2015/07/02/hacking-the-bq-part-4-building-and-booting-a-kernel/)
You should add the line for supporting your own USB UART device in the step 3 described in the above linked tutorial. To know the exact sting to write it is good to see mainline default kernel (3.4) tree, and add the appropriate line. Or look bellow....

The E.5 source tree is such a mess, and I could not find exact defconfigs for this device, however I am familiar with defconfigs of bq M10 (Caveat it is kernel 3.10 instead of 3.4 as on E4.5, some device drivers can be unavaliable in 3.4 tree), I provide the excerpt with it bellow. Find your device, and copy exact string to the 'project' configuration file mentioned in the link given before with instructions, uncomment and set it to 'y' at step 3 there:

#
# USB port drivers
#
CONFIG_USB_SERIAL=y
# CONFIG_USB_SERIAL_CONSOLE is not set
# CONFIG_USB_SERIAL_GENERIC is not set
# CONFIG_USB_SERIAL_AIRCABLE is not set
# CONFIG_USB_SERIAL_ARK3116 is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_CH341 is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_CP210X is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_FUNSOFT is not set
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_F81232 is not set
# CONFIG_USB_SERIAL_GARMIN is not set
# CONFIG_USB_SERIAL_IPW is not set
# CONFIG_USB_SERIAL_IUU is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_METRO is not set
# CONFIG_USB_SERIAL_MOS7720 is not set
# CONFIG_USB_SERIAL_MOS7840 is not set
# CONFIG_USB_SERIAL_MOTOROLA is not set
# CONFIG_USB_SERIAL_NAVMAN is not set
# CONFIG_USB_SERIAL_PL2303 is not set
# CONFIG_USB_SERIAL_OTI6858 is not set
# CONFIG_USB_SERIAL_QCAUX is not set
# CONFIG_USB_SERIAL_QUALCOMM is not set
# CONFIG_USB_SERIAL_SPCP8X5 is not set
# CONFIG_USB_SERIAL_HP4X is not set
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_SIEMENS_MPI is not set
# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
# CONFIG_USB_SERIAL_SYMBOL is not set
# CONFIG_USB_SERIAL_TI is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
CONFIG_USB_SERIAL_WWAN=y
CONFIG_USB_SERIAL_OPTION=y
# CONFIG_USB_SERIAL_OMNINET is not set
# CONFIG_USB_SERIAL_OPTICON is not set
# CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set
# CONFIG_USB_SERIAL_XSENS_MT is not set
# CONFIG_USB_SERIAL_ZIO is not set
# CONFIG_USB_SERIAL_WISHBONE is not set
# CONFIG_USB_SERIAL_ZTE is not set
# CONFIG_USB_SERIAL_SSU100 is not set
# CONFIG_USB_SERIAL_QT2 is not set
# CONFIG_USB_SERIAL_DEBUG is not set

Not crippled linux would work with only missing kernel module compiled.But in this android-like kernel I am very unsure it would work with module, at least I could not find any instructions showing how to do that on these mediatek-android devices.

It appears Ubuntu shaved a lot of goodies from kernel, probably trying to hide very huge RAM usage by unity. This default setup makes impossible to use the tablets/phones with UT for anything other than reading mails, tweeting, stairing to UT calendar and calculating 1+1. Nothing cool by default.


How to correctly deploy/install scripts?

I think you are right, adding a soft link to /usr/local/bin would be much better and doing a real .deb package for your scripts


How can I make a script for opening a predefined set of .txt files on gedit at startup?

Check if you have the files present at home directory as the same with which you are logging in.
Also check if you are running the script at startup with the same user with which you have your text files present.

For the basic testing try by giving absolute path like this "/home/user1/TXT/To-Do.txt" and still it opens blank files then we will need to check what the script you have written at the startup.


Linux americostechadmin-phpserver 3.13.0-53-generic #89-Ubuntu SMP Wed
  May 20 10:34:28 UTC 2015 i686 i686 i686 GNU/Linux

This shows that your system is 32 bit i686 instead you are installing 64bit package, so this raises that errors.

To solve that run the command:

sudo apt-get -f install

press y , this would remove the package you are going to install.

Now you have to install the 32 bit version not the 64 bit.

In order to learn how to install 64bit on 32bit machine please read this How to install 64-bit .deb file on a 32-bit machine?

you can install from repositoy  using the comamnd

sudo apt-get install mysql-workbench


How to make a portable Kubuntu on external drive (GPT) on UEFI computer?

Your problem is that the EFI boot process stores data on the boot loader's location in NVRAM, so when you install on one computer and then move the disk to another computer, the second computer doesn't know where to look to find the boot loader. The usual way around this problem is to use the default/fallback boot loader filename, EFI/BOOT/bootx64.efi, on the EFI System Partition (ESP; that's your FAT32 partition). The firmware looks for this filename on removable disks. The big caveat is that you may need to use the firmware's built-in boot manager to select that disk, and the details of how to access that boot manager vary from one computer to another.

You can copy the boot loader to that location manually. The way that's most likely to work, from a working Ubuntu installation, is:

cd /boot/efi/EFI
sudo mkdir -p BOOT
sudo cp ubuntu/shimx64.efi BOOT/bootx64.efi
sudo cp ubuntu/grubx64.efi BOOT/grubx64.efi

Note that these commands will overwrite any existing EFI/BOOT/bootx64.efi boot loader. You probably don't have one on your external disk right now, but you might want to double-check this. Also, this assumes that the ESP on the external disk is mounted at /boot/efi. You should definitely double-check that with df before you proceed. You don't want to overwrite the boot loader on your internal disk by accident!

If you're sure that you'll be booting with Secure Boot disabled, you could copy EFI/ubuntu/grubx64.efi to EFI/BOOT/bootx64.efi, but that won't work if the target computer has Secure Boot enabled.


what is exactly object file and how to open it

myOut is a binary file. It consists of zeros and ones in a format readable by processor and kernel. If you need, there you can find more information.


Does inserting the region in /etc/default/crda speed up wifi connection?

Doubt it.

It is relevant for choosing permitted wireless channels as not all channels are permitted in all countries. In Europe we have channel 12 and 13. In the US those are not allowed.

The system will pick a correct channel anyways and stick to that. If it might speed up anything it is the initial connection and that is just a 1 time event in the whole process.


Installing from the repositories isn't very useful since you can't configure it. However, it is convenient to install with apt-get so that, when building from source, it is added to the options in the login screen. You don't need to uninstall it to install from source.

Source and further instructions: https://cannibalcandy.wordpress.com/2012/04/26/installing-and-configuring-dwm-under-ubuntu/


Does Ubuntu 13.04 support AVX instruction set?

Intel AVX is a new-256 bit instruction set extension to Intel® SSE and is designed for applications that are Floating Point (FP) intensive. It was released early 2011 as part of the Intel® micro-architecture code name Sandy Bridge processor family and is present in platforms ranging from notebooks to servers. Intel AVX improves performance due to wider vectors, new extensible syntax, and rich functionality. This results in better management of data and general purpose applications like image, audio/video processing, scientific simulations, financial analytics and 3D modeling and analysis.Intel

AVX is supported since kernel version 2.6.30, which was released on June 9, 2009.

Here is the kernel version used by Ubunut 13.04;

Linux ubuntu 3.8.0-23-generic #34-Ubuntu SMP Wed May 29 20:24:54 UTC 2013 i686 i686 i686 GNU/Linux

Hence it supports the AVX Instruction set


Why is the GRUB menu and boot splash smaller than my actual screen size?

At that early stage in the boot process, both GRUB as well as the boot splash (Plymouth) use the basic VESA VBE video drivers and not the full-featured proprietary video driver.
Many modern video cards support only a limited number of VBE resolutions since they aren't really used with a graphical desktop any more, only for boot,etc.
Hence, the lower resolution used by GRUB/Plymouth manifests as a "smaller" screen size on your monitor
As long as your Ubuntu Desktop works fine, this "problem" isn't really worth bothering about, to be honest.
If you strongly believe your video card should support a full-resolution VBE mode, you can try telling GRUB that by editing the /etc/default/grub file and then running sudo update-grub:

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480   # <--- Change this to your monitor's maximum resolution


Another ACER ELAN i2c Touchpad not working request for ideas

Problem solved!  Did an update today and it added the drivers for the Elan touchpad on my machine.  A brief set of testing showed only normal basic mouse functions, but the touchpad works, which means I can now continue to use this as my main travel computer (assuming we can start traveling soon).


Try to create the new partition table using parted from the command line:

sudo parted /dev/sdb mklabel msdos

Then you can just try to create the partition and the filesystem using Gparted.

If it doesn't work, create the partition table and the partition using parted from the command line:

sudo parted /dev/sdb mklabel msdos mkpart primary 2048s 100%

Then create the filesystem using mkfs.fat:

mkfs.fat /dev/sdb1


Disk '/dev/sdb' doesn't contain a valid partition table

In similar conditions, I messed up the formatting of a USB pen drive, and at the point of opening it the file manager threw this message

  Error mounting /dev/sdb1 at /media/user/usbsrive: Command-line `mount -t "vfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush" "/dev/sdb1" "/media/user/usbdrive"' exited with non-zero exit status 32: mount: /dev/sdb1: can't read superblock

I think this command helped me a lot to reverse the bad twist of luck (change sdX into the drive where the device is plugged in, see fdisk -l for example):

sudo dd if=/dev/zero of=/dev/sdX bs=512 count=1

I reopened it with gparted (v 0.25.0) and it only complained about not finding the partition table. So with the same tool I created the partition table again, formatted the disk to my liking, and have it up and running again. Probably I would have achieved the same with fdisk.

Previously I would have concluded that the drive was irremediably lost and thrown it into the bin.


Connect to mysql database from a PHP file

mysql -u root -p
Then enter your password
type this command
update mysql.user set plugin = 'mysql_native_password' where User='root';
FLUSH PRIVILEGES;
exit;


ERR_ADDRESS_UNREACHABLE on certain webpages using chrome on Ubuntu 16.04

go to the command line and type
cd /etc
sudo nano resolv.conf

add the following nameservers
nameserver 8.8.8.8
nameserver 8.8.4.4

then press ctrl+X
press y
Hit Enter

type the following command
sudo service network-manager restart

I, Guess this should solve your query


You can find some from the software center.

Just open up your software center and search for awn
At the bottom bottom there will be a show x technical items. Click it.
It will load more applets for you to install.

See attached screenshot:

EDIT

You can also run sudo apt-get install awn-applets-all directly from the terminal.


Is there an application that can sort image files by creation date?

Digikam does what you want. Also I am pretty sure most photo management applications do. The creation date of a photograph is normally stored in its exif data.

Dolphin has the ability to sort by file creation date (which is not the same as the exif record date). However, (as @Sergiy Kolodyazhnyy already noted) this has to be supported by the filesystem. Ext4 which I use does not.


x86-64 (also known as x64, x86_64 and AMD64) is the 64-bit version of the x86 instruction set. - http://en.wikipedia.org/wiki/X86-64

It's labelled as AMD because AMD designed first X86-64 cpu. It doesn't matter if your cpu is AMD or Intel it's all X86-64. You are downloading the correct iso.

Ubuntu 14.04 - Desktop X86-64: http://releases.ubuntu.com/14.04/ubuntu-14.04-desktop-amd64.iso


What are the system requirements for installing KDE Plasma 5?

If your computer can run KDE 4, you can run KDE Plasma 5 too. If your computer specification higher than http://en.wikipedia.org/wiki/Kubuntu#System_requirements, it's definitely that you can run KDE Plasma 5.


Are there any options in Libre office to save files directly in Google Drive by default?

I am unaware of any such option. However, a simple way to accomplish the same objective is to install InSync (more info and download/installation instructions on this page) and save documents directly from LibreOffice into your new '/home/InSync' folder. When you run InSync, any files in this folder will be uploaded to your Google Drive.


How to write i hat and j jat from keyboard in ubuntu 18.04?

In this educational resource there is a complete list of symbols arranged in alphabetical order.

The simplest way I have found to use them is to copy and paste from the resource.


Are there any plans to port the old indicators for the new gnome panel?

Some applets are available for gnome-panel 3, but not all.
https://launchpad.net/gnome-applets

Some applets have not been ported from Gtk2 to Gtk3 yet.
Seems indicator-applet is in progress of being ported.
https://bugs.launchpad.net/indicator-applet/+bug/724369


Format windows dual boot partition without loosing Ubuntu boot information

Boot information is on sda1 as this is the EFI System Partition (ESP). Both Ubuntu and Windows will play nice with this partition. Likely what Ubuntu did was prioritize itself. It didn't actually remove the Windows boot loader.


How do I get the Broadcom BCM4313 wireless working on an Asus 1015PX?

The BCM4313 broadcom wireless card is compatible with the open source brcm80211 driver directly included in the standard kernel or the proprietary broadcom-wl driver that can be installed from the Additional Drivers in Ubuntu. At any point of time, you should only have one of the drivers installed and trying to use it simultaneously will only result in the drivers conflicting each other.

It should be also noted that broadcom-wl has been causing more problems than resolving them and you should probably avoid them altogether if possible.

To answer your problem, I have used the steps provided in this forums thread. This method is more like a workaround for the problem rather than a permanent fix to the issue.

First of all, blacklist the wl, brcm80211 and b43 modules and all its dependencies.

gksudo gedit /etc/modprobe.d/blacklist.conf

After opening the file, add the following to it:

blacklist mac80211
blacklist brcm80211
blacklist cfg80211
blacklist wl
blacklist lib80211_crypt_tkip
blacklist lib80211
blacklist b43

And then, edit the rc.local file:

gksudo gedit /etc/rc.local

And add the following above exit 0:

modprobe brcm80211

This will ensure that the brcm80211 driver module is loaded at the end of the boot process. You might need to call update-initramfs -u to ensure that your changes will be effective after a reboot.

I should probably add the fact that I have BCM4313 wireless driver in my system and I have used these procedures to get it working properly.

References:

https://wiki.archlinux.org/index.php/Broadcom_wireless
http://linuxwireless.org/en/users/Drivers/b43
http://linuxwireless.org/en/users/Drivers/brcm80211
http://ubuntuforums.org/showthread.php?t=1783272


Error when trying to install ubuntu server

Try installing Ubuntu Mini instead. It also gives access to a CLI-only installation, which is exactly what I was looking for when I installed it.


check following all are correct.

(1)-f file.php   Parse and execute file

*/10 * * * * /usr/bin/php -f /var/www/html/register.php

(2)
give file following permission

chmod -x /var/www/register.php

(3)check which php

$ which php
/usr/bin/php

if its diffrente then its affect your cron tab.

(4)if you are using any url related operation in register(read,write -file etc...)
then provide full path of your file.

/var/www/path/to/file.php


Ubuntu 20.04 LTS Intel 7260 Wireless - won't connect to Wifi network

Can you try editing the file,

$ sudo vi /etc/modprobe.d/iwlwifi.conf

to add the following if you are attempting to connect to a 5g based N network?

options iwlwifi 11n_disable=8

The above line is supposed to enable antenna aggregation.

Or add the following if you want to connec to a 2.4g based G network;

options iwlwifi 11n_disable=1

The above line disables 802.11n mode.

I can confirm that the above works for me on a regular Ubuntu 20.04 (not Kubuntu) with a Lenovo T460s. Spent enough time digging into the issue to make this post on the Ubuntu forums = https://ubuntuforums.org/showthread.php?t=2442177  (the link has more details which might be useful to read about on this issue, but is not relevant as a direct answer to this question).


If, by mistake, you have something like in /usr/share/polkit-1/actions/org.debian.apt.policy file:

...

  <action id="org.debian.apt.install-or-remove-packages">
    <description gettext-domain="aptdaemon">Install or remove packages</description>
    <message gettext-domain="aptdaemon">To install or remove software, you need to authenticate.</message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>no</allow_active>
    </defaults>
  </action>

...

you will get the following warning when you try to install something from Ubuntu Software Center:

You can check also the details from the warning.

So, check /usr/share/polkit-1/actions/org.debian.apt.policy file and be sure that is looking like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>

  <vendor>Apt Daemon</vendor>
  <vendor_url>http://launchpad.net/aptdaemon/</vendor_url>
  <icon_name>package-x-generic</icon_name>

  <action id="org.debian.apt.get-trusted-vendor-keys">
    <description gettext-domain="aptdaemon">List keys of trusted vendors</description>
    <message gettext-domain="aptdaemon">To view the list of trusted keys, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.clean">
    <description gettext-domain="aptdaemon">Remove downloaded package files</description>
    <message gettext-domain="aptdaemon">To clean downloaded package files, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.change-config">
    <description gettext-domain="aptdaemon">Change software configuration</description>
    <message gettext-domain="aptdaemon">To change software settings, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.change-repository">
    <description gettext-domain="aptdaemon">Change software repository</description>
    <message gettext-domain="aptdaemon">To change software repository settings, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.install-file">
    <description gettext-domain="aptdaemon">Install package file</description>
    <message gettext-domain="aptdaemon">To install this package, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.update-cache">
    <description gettext-domain="aptdaemon">Update package information</description>
    <message gettext-domain="aptdaemon">To update the software catalog, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.install-or-remove-packages">
    <description gettext-domain="aptdaemon">Install or remove packages</description>
    <message gettext-domain="aptdaemon">To install or remove software, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.install-packages.high-trust-repo">

    <description gettext-domain="aptdaemon">Install software from a high-trust whitelisted repository.</description>
    <message gettext-domain="aptdaemon">To install software, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.install-packages-from-new-repo">

    <description gettext-domain="aptdaemon">Add a new repository and install packages from it</description>
    <message gettext-domain="aptdaemon">To install software from a new source, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.install-purchased-packages">

    <description gettext-domain="aptdaemon">Add a new repository of purchased software and install packages from it</description>
    <message gettext-domain="aptdaemon">To install purchased software, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.upgrade-packages">
    <description gettext-domain="aptdaemon">Upgrade packages</description>
    <message gettext-domain="aptdaemon">To install updated software, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.cancel-foreign">
    <description gettext-domain="aptdaemon">Cancel the task of another user</description>
    <message gettext-domain="aptdaemon">To cancel someone else's software changes, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <action id="org.debian.apt.set-proxy">
    <description gettext-domain="aptdaemon">Set a proxy for software downloads</description>
    <message gettext-domain="aptdaemon">To use a proxy server for downloading software, you need to authenticate.</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

</policyconfig>

To edit it, switch to the root user in terminal with:

sudo -i

then run the following command:

gedit /usr/share/polkit-1/actions/org.debian.apt.policy

and close that root session with CTRLD or by typing exit.


Error mounting hard drive with Ubuntu 12.10

If the drive was NTFS (likely if you used it on a windows machine), you may want to follow the advice in the warning message. Connect the drive to a windows machine and use the chkdik utility as described.

Unfortunately, now may be the time to put your data backup strategy to the test (sometimes disks fail).


Why does my internet speed roughly *double* when switching from Ubuntu to Win XP?

It could be the duplex of your ethernet port conflicting with your switch/router.  You can check this by using "ethtool".

If "eth0" is the ethernet port you're using, run:

sudo /sbin/ethtool eth0

...and look for a line that says "Duplex:".  Most modern home switches/routers will support "Full" duplex and that should be the most optimal setting.  The other possible would be "Half".

Regardless of the value, you can change to the other by running:

sudo /sbin/ethtool -s eth0 full

which sets the port to full duplex.  To force half duplex, run:

sudo /sbin/ethtool -s eth0 half

Confirm by running the first ethtool command, then re-run your speed tests.


Mount the drive by running the below command,

sudo mount /dev/sdd1 /media/sdd1

Make sure that you created a sdd1 directory inside /media.


How can one copy text from nano in Ubuntu WSL2 and paste it into a Windows application?

The usual way is selecting the text with the mouse and right click for copy.

You can also use clip.exe to copy all the content of a linux file to Windows Clipboard.

cat ~/.ssh/id_rsa.pub | clip.exe


Which reasons can break a mountpoint in mp3fs?

Main 2 reasons:

hardware error
firmware/driver error

Errors regarding mounting should report those issues to /var/log/. So have a look there when it happens.

To list log files in order of time changed in reverse order:

ls -ltr /var/log/

and check the log that looks like an error log for the last few lines with

tail -n 100 /var/log/syslog

(Assuming it was syslog listed last)

  The error I get when copying via samba is permission related.

It is custom to add the actual command and error into the question. Please do and I might be able to expand the answer.

Also important to check: have a look at the issues list on github.

--

It is a bug in the driver regarding FLAC. See this related issue. I would advice to create a topic there and include the file it happens with as asked in the previous link (but was not answered).


How to install wordpress theme in ubuntu localhost bitnami?

I'm using kali linux 2016.1. It's the same for me, I just tried to install themes manually in the themes folder on my LAMPP installation: /opt/lampp/wordpress-4.5.1-0/apps/wordpress/htdocs/wp-content/themes/

And it's working: the theme is installed successfully. :)


how to recover damaged memory card with the help of Ubuntu?

If there is a Microsoft file system, FAT32 or NTFS, try to repair the file system in Windows with

chkdsk /f X:

where X: is the 'drive' letter, for example D: or use a graphical tool in Windows. (You already know that you should not format it.)

If there is a linux file system, try to repair the file system in linux. Ubuntu uses the ext4 file system, which can be repaired with

sudo e2fsck -f /dev/sdxn

where x is the drive letter and n is the partition number, so for example /dev/sdb1

If no luck try Testdisk.

If still no luck try PhotoRec, which can recover files without a file system. The drive must be seen as a mass storage device, and Disks sees it as /dev/sdb, which indicates, that this is the case.

You find more details at these links,

www.cgsecurity.org

Repair the partition table and file system of a pendrive


Wine apps often leave a lot of junk, for example, menu items over .doc files after installing Microsoft Office. To remove it, you have to:

rm .local/share/applications/wine-extension-*

To remove menu entries you have to edit:

usr/share/applications/mimeinfo.cache
~/.local/share/applications/mimeinfo.cache
~/.local/share/applications/defaults.list

And, right click on file you want to remove bad menu entries from, and choose Properties. On the 4th tab you can delete unnecessary entries.


Today I got an upvote for this question, so I'm posting my solution I've been all the time using for more than a year and am quite happy with.

Step 1: make bash script (e.g. write it to ~/swap.sh and make it executable) to set focus to a window that is in the middle of the other display:

#!/bin/bash

getwindowat() {
    # move mouse to coordinates provided, get window id beneath it, move mouse back
    eval `xdotool mousemove $1 $2 getmouselocation --shell mousemove restore`
    echo $WINDOW
}

# get active app
active=`xdotool getactivewindow`
# get coordinates of an active app
eval `xdotool getwindowgeometry --shell $active`

# if left border of an app is less than display width
# (e.g. one display is 1920px wide, app has x = 200 - means it's 200px to the right from the left border of left monitor
# if it has x = 1920 or more, it's on the right window), it's on screen 0, and we need to focus to screen 1, otherwise to screen 0
(( $X >= $WIDTH )) && focustoscreen=0 || focustoscreen=1;

# get coordinates of the middle of the screen we want to switch
searchx=$[ ($WIDTH / 2) + $focustoscreen * $WIDTH ]
searchy=$[ $HEIGHT / 2 ]

# get window in that position
window=`getwindowat $searchx $searchy`
# activate it
xdotool windowactivate $window

Step 2: add a keyboard shortcut to call this script, I put mine to Super-Tab

Step 3: use shortcut to switch displays like a boss


Why do package versions get obsoleted and become unavailable?

Let's use the rmadison package database query and http://changelogs.ubuntu.com to find out why those packages were superseded.
Let's look at curl first:
$ rmadison curl | grep xenial
 curl | 7.47.0-1ubuntu2    | xenial           | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 curl | 7.47.0-1ubuntu2.15 | xenial-security  | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 curl | 7.47.0-1ubuntu2.15 | xenial-updates   | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x

Aha: See how both -security and -updates are both pushing 2.15? That means it was likely a security patch. For specific details, let's take a look at  https://changelogs.ubuntu.com/changelogs/binary/c/curl/7.47.0-1ubuntu2.15/changelog

curl (7.47.0-1ubuntu2.15) xenial-security; urgency=medium

SECURITY UPDATE: curl overwrite local file with -J

debian/patches/CVE-2020-8177.patch: -i is not OK if -J is used in
src/tool_cb_hdr.c, src/tool_getparam.c.
CVE-2020-8177

-- Marc Deslauriers marc.deslauriers@ubuntu.com  Wed, 17 Jun 2020 09:21:55 -0400

Now let's look at openssh-server:
$ rmadison openssh-server | grep xenial
 openssh-server | 1:7.2p2-4           | xenial           | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 openssh-server | 1:7.2p2-4ubuntu2.8  | xenial-security  | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 openssh-server | 1:7.2p2-4ubuntu2.10 | xenial-updates   | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x

See how -updates has a higher version? That means the new package is likely a bugfix instead of a security patch. Let's see what https://changelogs.ubuntu.com/changelogs/binary/o/openssh-server/1:7.2p2-4ubuntu2.10/changelog has to say:

openssh (1:7.2p2-4ubuntu2.10) xenial; urgency=medium

Fix deadlock when AuthorizedKeysCommand produces a large output.
(LP: #1877454)

d/p/authkeyscommand-deadlock-01.patch: Make sure to call fclose(2)
and assign NULL to the file handler used to read
"Authorized{Keys,Principal}Command" directives.
d/p/authkeyscommand-deadlock-02.patch: Consume entire output
generated by the command pointed by
"Authorized{Keys,Principal}Command" in order to avoid sending a
SIGPIPE to the process.

-- Sergio Durigan Junior sergio.durigan@canonical.com  Wed, 13 May 2020 10:12:28 -0400


Ubuntu 14.04 sound suddenly stopped, reinstall alsa, pulseaudio not helping

Look like Alsa layer is ok but top layer Pulseaudio stops working.
To test this , when the sound stops, run this in a terminal:
killall -9 pulseaudio
This will stop pulseaudio process . By default, pulseaudio  will be relaunched automatically  , so, if it was a pulseaudio problem, sound should be ok after closing and reopening audio players (skype ) .

Does the sound stop only with Skype ? If yes , you try to disable Skype auto level .


What does "Missing Recommends" in Synaptic package manager mean?

That filter lists packages that should (but aren't required to) be installed. Those packages are packages recommended by others. For example, OpenOffice.org would appear in that filter if you uninstall OO.org. Your system should work correctly if have packages in that list.


Since my last reinstallation I get a small belle sound each time I click on a site in Firefox

It will be Ubuntu System Sounds and not in Firefox settings.

Press the Super key and type Settings.  Go to Sound → Volume Levels and move the slider all the way to the left as shown in the graphic above.


18.04 Transmission stopped being able to handle large files

I have seen that happens when you have a limit imposed by the root user.


Create a Launcher shortcut for Terminator

I don't actually know why this happen, a simple solution is creating a new shortcut for openning terminator, whatever you like on Settings-->Devices-->Keyboard


The actual problem lies here

E: Repository 'https://deb.opera.com/opera-stable stable InRelease' changed its 'Origin' value from 'Opera Software ASA' to 'Opera Software AS'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

Run sudo apt update instead of sudo apt-get update and you'll get a prompt to either accept or reject to receive updates from this repository.


What types of taskbar are available for Ubuntu?

Lighter weight: (not as customizable/can't add as many applets)

pypanel (this one might be the most comparable to tint2)
fbpanel (Ubuntu Manpage )
lxpanel (this seems to be specifically for LXDE, not sure if you can use with other desktop envrionments)

Options similar to Docky:

Dash To Dock
Plank
Dash to Panel
Cairo Dock

There's also

xfce4-panel (Which I now use)

Finally, some options are less popular:

Avant Window Navigator (apparently not in active development--last updated 3 years ago)
True Launch Bar

Edit:

Another option is gnome-panel, which includes a bottom taskbar that lists running applications. In the link, you can see it's available for 14.04 and this post details how to use it with 11.04. I have Ubuntu 16.04 and up until a week ago, I was using a Unity desktop with gnome-panel, which I had added to my Startup Applications. I stopped using Unity about a week ago because of frequent freezes and overall sluggishness. I haven't had time to troubleshoot the setup, so I don't know for sure whether gnome-panel was part of the problem, but still, I wouldn't necessarily recommend adding gnome-panel to a non-gnome environment.

Also I noticed that occasionally gnome-panel interfered with the Application menus of programs that are running (the top panel would load on top of of the application menu). That can be easily fixed by pressing the Super button to call up the launcher then pressing it again to close the launcher. There is a way to permanently remove the gnome top panel, but it takes some fiddling that I didn't want to bother with at the time, since it wasn't a persistent problem.


How to replace horrible font in a single program?

The program appears to use hard-coded fonts. The program contains internal strings that reference Tcl/Tk and font lists.
If you're willing to use a beta version, WXtoimg 2.11.2 beta uses a sans-serif font.

It might be possible to change the font via X resources, but I don't know how.

Is there a way to find all X resources an application uses?

editres doesn't appear to work. Stuck at: "Message sent to client asking for widget tree."


Keeping Ubuntu dash just for searching installed applications

Without removing unity-lens and packages, you should change scope to only applications by following command in terminal:

gsettings set com.canonical.Unity.Dash scopes "['applications.scope']"

In this way lens are kept but when you click on dash only applications are searched. And you can search in other len if you wish.


Can't move or resize windows after installing ubuntu-desktop with aptitude

I restored the /etc/apt/source.list file by this answer.

This is the source.list in my case:

#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                             #
#------------------------------------------------------------------------------#

###### Ubuntu Main Repos
deb http://il.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://il.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse

###### Ubuntu Update Repos
deb http://il.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://il.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://il.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://il.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ xenial-security multiverse universe restricted main
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse universe restricted main

After running apt-get update I was able to run apt-get install --reinstall ubuntu-desktop and then rebooted the machine.
Now everything is back to normal.


Remove Sylpheed activator:

rm -f ~/.local/share/applications/sylpheed.desktop
sudo rm -f /usr/share/applications/sylpheed.desktop


Mount does not work only in shell script, loop device

Turns out the issue in question was related to an incorrect filename.
So when specifying the mount, if the real filename is ubuntuubuntu.iso but I give the command as sudo mount -o loop ./ubuntu.iso ./mount, it will give me the error specified above due to using the wrong filename for the iso.
The solution here was to use the correct filename and enter the command as sudo mount -o loop ./ubuntuubuntu.iso ./mount


How to install wireless antenna TP-LINK TL-WN722N?

Ok good news and bad news the good news is in most cases you dont actually need to install drivers for things in Ubuntu because the Linux kernel has a lot of drivers built in, the only cases where you may need to install drivers are for graphics cards and network cards(not so much).

So the bad news is if you have the card installed fine and Ubuntu itself doesnt offer the driver to you and its not recognizing it, then we dont have the driver. Your best hope is to try a later release of Ubuntu and hope someone added the driver for your card. Its a real pain but it doesnt happen to a lot of people in recent times.

So in short you'll more than likely have to wait and see or ask the company who make the card if they can make the driver.


Multi-user remote desktop using vnc4server

It should not matter which desktop environment your client and server are running. Vnc is designed to allow controlling any vnc server from any vnc client regardless of which operating system is running on either.


Multiple instances for tomcat not working 100% help

Module mod_jk is the Tomcat redirector module that requires workers.properties and httpd configuration file update.

workers.properties is a file that describes the host(s) and port(s) used by the workers (Tomcat processes).

If your Tomcat application are stand-alone, you don't need to define loadbalancer worker that provide load balancing, meaning run multiple Tomcat workers each on a machine of its own and distribute the requests between them.

Your file should be:

 worker.geoserver.port=8009 #ajp port on geoserver server
 worker.geoserver.host=localhost
 worker.geoserver.type=ajp13

 worker.geowebcache.port=8010 #ajp port on geoserver server
 worker.geowebcache.host=localhost
 worker.geowebcache.type=ajp13

 worker.jk-status.type=status
 worker.list=jk-status, geowebcache, geoserver

Where worker jk-status is a special type of worker that does not forward requests to Tomcat instances. Instead it allows to retrieve status and configuration information at runtime, and furthermore to change many configuration items dynamically. This can be done via a simple embedded web interface.

In apache httpd configuration file in this case /etc/apache2/sites-available/ourgeoserver.org:

  JkWorkersFile /path/workers.properties

where path is where you have saved your workers.properties file.

  JkLogFile "|/usr/bin/rotatelogs /var/log/httpd/mod_jk.log 86400"
  JkLogLevel info
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

for activate logs, this is an examples, change path as you need

  JkMount /url1|/*=geoserver
  JkMount /url2|/*=geowebcache
  JkMount /status|/*=jk-status

where url1 and url2 are the initial part of url. Apache choose worker base on http url


RPI4 8gb Ubuntu 18 won't boot, requires updated kernel, when will this be available?

A workaround -
https://jamesachambers.com/raspberry-pi-4-ubuntu-server-desktop-18-04-3-image-unofficial/
James Chambers did some fine work before Ubuntu 18 was officially supported on the pi 4, his version, last updated 25th of February boots fine. Looking at the github page - https://github.com/TheRemote/Ubuntu-Server-raspi4-unofficial/releases He seems to have ironed out the vast majority of all the bugs.


Can't install Google Chrome ("This software comes from a 3rd party")

Enable Canonical partners and Canonical Partners (Source) in Software and Updates in the tab titled Other Software, select Reload and retry to install Google Chrome or other third party software.


There is a script to do this.

If you want to have a service available: from the script I would assume you need to do this:

WILDFLY_DIR=$INSTALL_DIR/wildfly
INSTALL_DIR=/opt
WILDFLY_USER="wildfly"
WILDFLY_SERVICE="wildfly"

....

echo "Registrating Wildfly as service..."
# if Debian-like distribution
if [ -r /lib/lsb/init-functions ]; then
    cp $WILDFLY_DIR/bin/init.d/wildfly-init-debian.sh /etc/init.d/$WILDFLY_SERVICE
    sed -i -e 's,NAME=wildfly,NAME='$WILDFLY_SERVICE',g' /etc/init.d/$WILDFLY_SERVICE
    WILDFLY_SERVICE_CONF=/etc/default/$WILDFLY_SERVICE
fi

Ie. copy  /opt/wildfly/bin/init.d/wildfly-init-debian.sh over to /etc/init.d/wildfire. Change the /etc/init.d/wildfire and change the NAME to wildfly and the part of the script a bit down explains how to start it as a service so you could make your own service from it.


After upgrading to 20.04, both RStudio and Steam crash in the exact same way, where do I investigate?

Apparently it's this bug. Add 'export MESA_LOADER_DRIVER_OVERRIDE=i965' to /home/[username]/.profile to fix.


Unable to use or install the wacom bamboo tablet

I'm sure I saw an icon for Wacom tablets in System Settings using the Gnome 3 interface.

If you have no joy, let me know and I'll try it this evening as I have a Bamboo myself.

Normally, they just work no fiddling around required, although at present mine is connected to a Kubuntu 11.10 PC, my other PC runs Ubuntu 11.10.

Update

Okay, just checked Ubuntu 11.10, plugged in my Wacom Bamboo Fun tablet Model CTE-650, just worked!

System Settings contains the settings for the tablet, no drivers required

You must be doing something wrong.


By default gedit has a few useful plugins (most of all, Snippets and Python console)

The following packages give a lot of good plugins:

gedit-plugins
gedit-developer-plugins

The list of plugins which the above provide:

Bookmarks
Bracket completion
Character map
Code comment/uncomment
Color picker
Color scheme editor
Commander ("Command line interface for advanced editing")
Tab Dashboard
Draw spaces and tabs
Embedded Terminal
Find in files
Git integration
Bazaar integration
GDP word completion
Join/split lines
Smart spaces
Word completion
GDP format
Multi edit (like part 1 and 2 of this Sublime Text demo)


Is it possible to have both Desktop Cube and Unity?

This should solve your problem:
http://reformedmusings.wordpress.com/2011/05/05/howto-get-the-compiz-desktop-cube-in-ubuntu-11-04-natty-and-unity/


Trackpad recognized as a mouse, gestures not working. Ubuntu 15.10 on Asus F55UJ-XX006T

This touchpad should work on Ubuntu 14.04 after you install 4.4 kernel by

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

or in Ubuntu 16.04 out of the box.

This touchpad is not supported by Ubuntu 15.10.


Trying to install python six with pip runs into problems on Ubuntu 16.04

Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python  versions.

To install the python-six package from the default Ubuntu 16.04 repositories:

sudo apt install python-six

To install six globally with pip, open the terminal and type:

sudo -H pip2 install --upgrade pip
sudo pip install six

To install six locally with pip (e.g. in a Python virtual environment):

python -m pip install --upgrade pip
python -m pip install --user six


First remove the old version of vnstat, then
Download the source code:

wget http://humdi.net/vnstat/vnstat-1.17.tar.gz

extract it:

tar -xzf ./vnstat-1.17.tar.gz

cd into its directory:

cd vnstat-1.17/

install checkinstall package:

sudo apt install checkinstall

compile the package:

./configure
make

install it using checkinstall:

sudo checkinstall

for removal use:

sudo dpkg -r vnstat


Can ubuntu have persistent storage on a sd card

You can have persistent storage on a SD card, it's even one of the installation method for numerous ARM development boards such as the PandaBoard:

Visit: https://wiki.ubuntu.com/ARM/QA/Pandaboard


Could be an issue with your graphics driver. Is the regular hibernate working for you? What card and driver are you using? If you use proprietary drivers, try the open source ones. I had those glitches with Nvidia on my old laptop, but it properly resumed with the standard kernel. I have been successfully using TuxOnIce a few years ago, but wouldn't want to install a separate kernel image any longer.

By the way, you should specify resume via UUID in /etc/initramfs-tools/conf.d/resume and call update-initramfs -u and update-grub afterwards.


Ubuntu 14 installation won't recognize one of my hard drives

Enter your system BIOS, make sure that you do not have RAID options enabled and set your SATA controller to AHCI and not IDE. (This was my difficulty)


First, you can try and see if one of the keyboard layouts in the "text entry" tab of the Settings suits you.
If not, you can manually change the behaviour of one key. To do so there are specific programmes.
This related question has lots of answers on how to do that.


Will I loose my data from windows if I import my account to Ubuntu 12.04

It only copies your stuff over, nothing deleted.


Are there Human Interface Design Guidelines for Unity Development?

From Ubuntu Apps Developer Documentation, I guess these are the guidelines you are looking for:

Ubuntu Platform overview and Unity Desktop Platform
Application indicators design guidelines
NotifyOSD design guidelines
Application menu presentation
Ayatana scrollbars presentation
Sound menu spec

Also refer:

Are there any standard UI / UX / design principles or guidelines for building Ubuntu apps?


Add Open Folder as Root to PCMan File Manager's context menu

You are on the right track.

Create ~/.local/share/file-manager/actions.

In that folder, create root.desktop (not pcman_root.desktop or anything else).

Add this content:

[Desktop Entry]
Type=Action
Tooltip=Open Folder As Root
Name=Open Folder As Root
Profiles=profile-zero;
Icon=gtk-dialog-authentication

[X-Action-Profile profile-zero]
MimeTypes=inode/directory;
Exec=/usr/bin/gksu /usr/bin/pcmanfm %u
Name=Default profile

Save the file.

(Or download the script from here.)

Restart PCManFM (System Tools, Task Manager, terminate or kill pcmanfm, then start it again). Now, when you right-click on a folder, you should see the "Open as root" option in the context menu.

As others have stated, this feature can be dangerous which is why it is not there by default.

And this is what a developer associated with the PCManFM project has to say in response to a "request" for the feature to be restored:

  Running pcmanfm as root means all the applications will be ran under root which is not safe you know (well, if you want to risk your system and walk on the blade then I can see the reason) and I never saw any reason to run editor/browser/wine/etc. under root (and you want exactly this, don't you?)

  But anyway if you so much want to do this risky things then why you never read http://wiki.lxde.org/en/PCManFM#Run_as_root page? Yes, it was changed lately but it is still available, at your own risk.


How to fix a terminal not responding to input?

Unix and Linux do not show your password in/within terminal while typing it for security reasons!! Basically you would see an asterisk * for each character, but not in this case!

Try to install sudo apt-get install wine again and when you are prompted for your password, simple type it in, then hit enter.

If that doesn't work out for you, then either your password is wrong, the spelling (capital letter etc..) does not match correctly or you use different passwords for login and terminal?!


Can I hide the mnemonics in Qt applications?

Okay I actually found the answer. What did it for me was:

echo "gtk-enable-mnemonics = 0" > ~/.gtkrc-2.0 && cp ~/.gtkrc-2.0 ~/.gtkrc-3.0


Sudo is also user login password - why? how to change?

Yes, that is how it should be. Ubuntu is designed this way.

Benefits of using sudo (from the Community Help Wiki):

The Ubuntu installer has fewer questions to ask.
Users don't have to remember an extra password (i.e. the root password), which they are likely to forget (or write down so anyone can crack into their account easily).
It avoids the "I can do anything" interactive login by default (e.g. the tendency by users to login as an "Administrator" user in Microsoft Windows systems), you will be prompted for a password before major changes can happen, which should make you think about the consequences of what you are doing.
sudo adds a log entry of the command(s) run (in /var/log/auth.log). If you mess up, you can always go back and see what commands were run. It is also nice for auditing.
Every cracker trying to brute-force their way into your box will know it has an account named Root and will try that first. What they don't know is what the usernames of your other users are. Since the Root account password is locked, this attack becomes essentially meaningless, since there is no password to crack or guess in the first place.
Allows easy transfer for admin rights, in a short term or long term period, by adding and removing users from groups, while not compromising the Root account.
sudo can be setup with a much more fine-grained security policy.
The Root account password does not need to be shared with everybody who needs to perform some type of administrative task(s) on the system (see the previous bullet).
The authentication automatically expires after a short time (which can be set to as little as desired or 0); so if you walk away from the terminal after running commands as Root using sudo, you will not be leaving a Root terminal open indefinitely.

Other Linux distributions use a separate root user with a different password. If you wish to use Ubuntu like that, you can set a password for root:

sudo passwd

Then you can log in as root from TTY or run su - from a terminal and enter the root password.

Once you can log in as root, you can remove yourself from the sudo group:

gpasswd -d <user> sudo


How can I increase the mouse pointer speed beyond the limits set by the Mouse preferences dialog?

The xset command allows you to change quite a few aspects of your desktop, including mouse acceleration.

xset m 2 1

The first number is the acceleration, the second is threshold. So, in the example I provided, the mouse will go 2X as fast once it's traveled 1px across the screen. Zero has some special connotations, so I'd stick with 1.

I wouldn't think you would need to set the acceleration too high to get what you're looking for.

This effect will disappear once you reboot/restart. If it works for you, the command can be added to your "Startup Applications" to be applied automatically.

Good luck!


How to workaround or diagnose a kernel panic when "safely removing" external hdd?

Hopefully I'm posting this in the right spot, but I wanted t to thank everyone for their answers and say that I was able to solve this issue by installing ejecter from the repositories.

I turned off mounted drives in the Unity settings and now use ejecter to remove the external HDD.  All seems well now and I just thought I'd share this workaround with anyone else who might have a similar issue.


My machine is not booting properly. How do I troubleshoot?

Now this may seem very stupid and very, very nooblike....And I'm afraid I'll be downgraded till no reputation is left.
But when my laptop has issues like that i.e. booting to blank screen it often helps to take out the battery, disconnect the plug and hold the power button for a couple of seconds.


Luminosity level issue and suspend issue when closing the lid

I might its a nvidia driver issue, try change the driver in:
System configuration>System and updates>aditional drivers (I havent system in english, but i might in english have names like that)
This solved the issues in my laptop, but if u cant solve the trouble with that, u can install the privative driver seeing this guide:
Install latest Nvidia driver in Ubuntu
Hope it helps you.


FireFox 66 Quantum disabled all my extensions at midnight!

This workaround is now obsolete.
Please use the the official method to get rid of this issue...
Just open a new tab and go to about:config and filter on signatures.required and double click both of them to turn them from true to false:

and the nasty red turns into a fine yellow:

Which allows me to move on for the moment, until:

the bug is corrected.
and
posted to the Ubuntu Repositories


(OP solved problem)

That's right, I make it. it needs .bzr repo for build, for some reason. Thanks. – umpirsky Jan 17 at 14:13


Ubuntu cannot see Windows 7 partitions on install

It turns out my laptop somehow was given two partition tables an MBR and a GPT, which some Linux tools. Clearing (Erasing) the GPT using Gdisk for windows fixed the situation. Both Windows and Ubuntu can read my drive now.

GPT fdisk at sourceforge

GPT fdisk Tutorial


Does Calligra have a ppa for ubuntu 12.04?

There are Calligra version 2.6 backports available on Launchpad here.

You can add them to your repository through Synaptic using the following line(with instructions provided in the link below):

deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu YOUR_UBUNTU_VERSION_HERE main

Or, from a terminal(Ctrl+Alt+t), run the following commands:

sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get install calligra

What are PPAs and how do I use them?
Are PPA's safe to add to my system and what are some "red flags" to watch out for?


I'm trying to install nodejs-legacy and it keeps failing

Try to remove previously installed nodejs package and then  install nodejs-legacy package.

sudo dpkg -r nodejs
sudo apt-get install nodejs-legacy


Maybe another solution does the trick:

You might create a panel launcher that runs a shell script to disable mouse input and a keyboard shortcut to enable mouse input.

You can manage your X-Server's input devices with xinput.
With the following command, you can list all input devices:

xinput --list

Find the right mouse pointer device and disable it:
(replace [ID] with the right id number)

xinput --set-prop [ID] 'Device Enabled' 0

Enable it again:

xinput --set-prop [ID] 'Device Enabled' 1

To simulate the behavior of the tool you wish,
you can create a shell script to disable/enable all mouse pointer devices at once.

setmouse:

#!/bin/sh
# setmouse 0    to disable mouse
# setmouse 1    to enable mouse
for id in $(xinput --list | grep -E "slave.*pointer" | cut -f2 | cut -d"=" -f2)
do
    xinput set-prop $id 'Device Enabled' $1
done

Then you can create a (Xfce-)Panel launcher that runs "setmouse 0" in order to disable mouse input and a keyboard shortcut that runs "setmouse 1" to enable it again.


Where has "scientific mode" gone in gcalctool 6.2.0?

select

  calculator>look at the Top bar,

check advance Then top bar again

  calculator>preference> Number format >scientific.


opengl development packages are 404 on ubuntu 18? driving me insane

found it.

answer:

sudo add-apt-repository ppa:paulo-miguel-dias/mesa


You have to make the program executable first by issuing the following command

chmod u+x program.bin

This adds the executable bit for the user

if the executable flag is not set then you can usually run most commands by calling bash like so

bash ./program.bin

however since this is a .bin file I am not sure how the previous command would work. It would be better to add the executable bit


error in ftp while uplodaing/downloading

Make sure that  the server is listening on port 21, and that the port is allowed in the firewall rules.

You could also try using passive mode by doing ftp -p


How to change unread emails settings in evolution

That might be done via "theming". Evolution seems to use the GTK3 toolkit, and AFAIK one can have special definitions per-app with a given style.

Taking a look at the last Wikipedia page linked, there seem to be some GUI designers available which should help you creating/modifying a theme. But be aware that still, despite of those GUI helpers, it's not a "simple task" -- and due to lack of experience I cannot guide you to do that "with a few clicks".

AFAIK there's no way to change that from within Evolution itself.


How to force firefox to remember passwords?

Some sites will not let you remember their passwords.

  Some websites use JavaScript to clear fields or use autocomplete=off
  to prevent the browser from storing the name and password and Firefox
  won't save the name in such cases.1

To see how you can workaround that, see Firefox Support, and Here.

Also How to geek has a step by step action.

1Source:Firefox Support


Where is Nautilus icon file located and how is it chosen?

Where is this blue icon file?

It is hard to say where that blue icon is located. Most probably your GPS device has that icon and it is configured to show that icon upon autostart.

  Why does Nautilus use it instead of the plain drive icon?

Because the device has the necessary icon and configuration file and nautilus is configured to show icon when it finds one.

  Is there a way to have give each of my drives a custom icon -- so that when I stick in my various flash drives, they have a distinctive icon (i.e. a 'favicon.ico' file on root or such?)

Yes. You need to create a autorun.inf and the icon to be displayed in the root of the flash drive or internal drive.

The autorun.inf file content should be as follows: I assume the name of the icon is "games.svg".

[autorun]
icon=games.svg

That's it. I've it in Ubuntu 12.04. It should also work on older versions.

Here is a screenshot of my nautilus with custom icon


How Can I update and upgrade Ubuntu? My laptop comes with Ubuntu 18.04 and I want 18.04.3

The proper way to update is

alt + ctrl + t to open a terminal emulator

  sudo apt update

To fetch the database

  sudo apt upgrade

To make the actual install

If you want to upgrade to the next version of the system, then the command is

  do-release-upgrade


No shader cache on Mesa 17.3. with Intel graphics

Mesa 17.3.0 driver doesn't store shared cache on-disk for now.

See this patch to use shared cache on-disk.

https://lists.freedesktop.org/archives/mesa-dev/2017-October/173828.html


Syndaemon disable keyboard while typing not working

I solved my problem as follows:

By using this forum post I fully reinstalled my xserver drivers.
I then reinstalled the drivers following this forum post.
I then added the following command to my startup applications:

syndaemon -i .5 -K -t -R -d

This disables tapping (-t) on my trackpad for half a second (-i) after any non-modifier+ (Shift,Ctrl,Alt,Super) (-K, vs -k) with the XRecord extension (-R), and to keep this service running in the background (-d).

You may try adjusting to your liking, and dropping the -R flag.


How to Disable Hovering-App-Bar in 16.04?

You can disable the Alt + Tab switcher in Compiz Settings manager. To do so:

Install the Compiz Settings manager with

sudo apt-get install compizconfig-settings-manager

Find "CompizConfig Settings manager" in the dash, open it, find the Ubuntu Unity plugin, go to the "Switcher" tab, and disable all shortcuts and checkboxes.

This will disable the Alt + tab application switcher popup.


avformat package seems to have outdated headers

The problem is not a package bug.

It's just that I stupidly assumed libav would have the same functions for libavformat v.56 as ffmpeg.

The same issue is for the "avcodec_get_name" function as already asked here:
https://stackoverflow.com/questions/23560748/avcodec-get-name-is-not-available-in-ubuntu-libavcodec-what-should-i-use

ffmpeg package seems to be coming to ubuntu velvet, I hope they provide the dev files for that as well, at least with some preprocessor flag to distinguish between ffmpeg and libav.

[Omitting here my groping about how selfish with respect to the community the libav & ffmpeg maintainers were after the split. At least now they're (kind-a) working together a bit.]


I'm using Samsung ME46C (Nexio touch screen inside) with Ubuntu 12.04. Finally the touch screen worked after installing UPPD.

Download 76616_linuxupdd.tgz from http://touch-base.com/download.asp
Follow "GUI Installation Procedure" in http://www.touch-base.com/documentation/LinuxPlatformNotes.htm#GUIinstall

The below steps are quoted from the GUI Installation Procedure link:

Ensure you have the correct setup file to match your processor’s architecture, being 32 or 64 bit. An error will be issued if you have the incorrect setup file:

Installation of the driver must be performed as the "root" user. It is usually possible to "become" the root user by typing command "su root" or preceding the setup command with “kdesu” or “sudo” (as seen in above screen shot), but we have found on some systems this is not sufficient in which case you must log on at system start as root.

The main installation package is held within the compressed file called linuxupdd.tgz. Copy the file into a directory other than /opt or / such as a users home directory on the Linux system, change to that directory, then decompress it by using the command  “tar  zxvf  linuxupdd.tgz”.

Important - Do not decompress the software in the root directory or /opt/ as the install will fail.

To install the software open a terminal window and either use “su” or “kdesu” to become the root user then type “./setup”. Alternatively type “sudo ./setup” and enter your password. This will launch the setup program: Important note: the ‘setup’ program is extracted directly into the extraction directory and is not located in the ./opt/tbupddlx subdirectory just created.

From the device list dialog select the touch device or, if it is a PnP device, optionally leave the PnP mechanism to pick up the device(s).
From the distribution list dialog select the distribution script if it is listed.  Select the script that most closely matches your distribution. In no script matches select either “Other” or “Other-Legacy. E.g. If an exact match is listed, say Ubuntu Gusty Gibbon (Ubuntu 7.10), select that.
Install scripts can invoke question dialogs, such as ‘OK to enable USB file system’.  Answer these dialogs as appropriate.

Following installation you must reboot the system for the driver to load.

If the install fails please refer to the notes in the GUI Installation Procedure link in (step 2 above) to see if there is a solution to your problem.


Is upgrading from LTS to LTS as reliable as doing a fresh install?

the short answer is no. An upgrade is always a risk of something going wrong. You should always backup your files before you do an upgrade.

An LTS to LTS or normal to normal release doesn't really matter it's still the same risk of something going wrong.

the tip that LTS to LTS would be more stable has some truth in it. It's true that the LTS release is more stable than the normal releases if you have semi-new hardware that's well supported.
If you have the newest hardware then it wont be fully supported (in most cases) which will result in a more unstable system.

But a new LTS system is still a new Ubuntu version and is as unstable as any new release. which means bugs and problems can occur just as often as with any other upgrade. Therefor it's not more stable to upgrade to.


Opening a Nautilus bookmark launches VLC / browser

Note you have most likely done the same for a folder with VLC in the past with this tick engaged (annoyingly it is ticked on by default) which causes the problem initially.
Just right click on any folder and select the option "open with".
From the list choose "Fie Browser" and ensure the tickbox for "Remember this application for "folder" files" is TICKED.

That's all. If you want more discription with example snapshots visit here, http://thasulinux.wordpress.com/2011/01/27/folders-opens-with-vlc-in-ubuntu/

:)


Can I rename files within a folder with the name of the parent folder?

Given

$ tree
.
└── A
    ├── B
    │   ├── somefile
    │   ├── T.txt
    │   ├── X.srt
    │   └── Z.mkv
    └── C
        ├── somefile
        ├── T.txt
        ├── W.mkv
        └── Y.srt

3 directories, 8 files

then

$ find A -type f \( -name '*.mkv' -o -name '*.srt' \) -not -name '.*' -exec sh -c '
  for f; do
    dir="${f%/*}" ; ext="${f##*.}" ; new="${dir##*/}"
    echo mv -- "$f" "${dir}/${new}.${ext}"
  done' sh {} +
mv -- A/C/Y.srt A/C/C.srt
mv -- A/C/W.mkv A/C/C.mkv
mv -- A/B/Z.mkv A/B/B.mkv
mv -- A/B/X.srt A/B/B.srt

(remove the echo once you're sure it is going to do what you want).


Black screen after selecting an option from grub boot menu

Try repairing the GRUB bootloader with Boot Repair. Boot to an Ubuntu live session from the live USB/DVD that you used to install Ubuntu. While running an Ubuntu live session open the terminal and type:

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

Open the Boot Repair application and select Advanced Options -> Main Options tab -> check Reinstall GRUB and Unhide boot menu as shown in the below screenshot. Click the Apply button. Then reboot the computer with sudo reboot

If the OSs were installed in different modes, dual booting Windows and Ubuntu can't work. If your Windows is installed in BIOS mode, it is recommended to install your Ubuntu in BIOS mode, but if it's installed in UEFI mode, then do the same with Ubuntu.

          BIOS vs. UEFI

To check whether your computer has UEFI or BIOS firmware open the terminal and type dmesg | grep "EFI v"

This will return a line like this, if the system was booted from EFI:

[ 0.000000] EFI v2.00 by Lenovo
Or it will return nothing if it was booted from BIOS.

If you have installed Ubuntu in legacy mode on the same drive with GPT partitioning, you can use Boot Repair's Advanced options to uninstall grub-pc and install grub-efi-amd64. That converts the Ubuntu installation from BIOS boot to UEFI boot, the same firmware as most recently manufactured laptops with Windows pre-installed have.

Converting Ubuntu into UEFI mode

Start Boot-Repair, and select Advanced options -> GRUB location tab.
If you do not see a Separate /boot/efi partition option, this means that your PC does not have any UEFI partition.
If you see a Separate /boot/efi partition option, put a checkmark in the checkbox to the left of it, then click the Apply button in the lower right corner.

Set up your BIOS so that it boots the hard drive in UEFI mode. The way to adjust this setting depends on the specific model of the computer, but generally this setting is located in the boot priority settings under the Boot tab of the BIOS/UEFI setup utility.

For more information about converting Ubuntu into UEFI mode review https://help.ubuntu.com/community/UEFI in the section about Converting Ubuntu into UEFI mode.

The grub bootloader can also be converted in the opposite direction from UEFI to BIOS. Linux can boot fine from a GPT disk in BIOS mode. See this answer: Convert from EFI to BIOS boot


Change owner of internal hard drive partition from root to user

Did you try

sudo chown user:user

For example sudo chown cyrex:cyrex (User:Group)

if the partition is called party, your user is called cyrex and it is in /media just do for example:

sudo chown cyrex:cyrex /media/cyrex/party -R (The R is for recursive so it affects all directory/files and subdirectory.

As noted, the partition is NTFS so if is automatically mounted you need to make sure that the user that has permission is you. To do this follow this steps:

Go to console (gnome-terminal)
Type id -u. This should give you the user id you have which you will insert into fstab.
Open fstab sudo /etc/fstab and search for the line that is mounting the ntfs partition.
Assuming is something like this:

UUID=1234532123 /media/amntfs  ntfs  defaults 0       0

Add to it the umask, uid and gid masks like this

UUID=1234532123 /media/amntfs  ntfs   defaults,umask=007,uid=1000,gid=1000  0       0

Save the file and just reboot or remount the unit.

Here:

The uid is your User ID. The one you got from id -u.
The gid is you Group ID. Normally the same as id -u but you can check it with id -g.
The umask is like chown but reversed.

See How do I use 'chmod' on an NTFS (or FAT32) partition? on more about using chmod/chown on NTFS filesystems.


Downloaded ubuntu-14.04.1-desktop-i386 from Ubuntu site but not able to unstall

Here's how to install Ubuntu 14.04.1 using Wubi.

Download the ISO and wubi.exe from http://releases.ubuntu.com/14.04.1
Place the two items in the same directory with no other ISOs (is the best)
Disconnect from the internet (or else wubi will reject the ISO)
Run Wubi and install normally, but don't restart your computer.
Reconnect to the internet and reboot your computer (otherwise your wifi card may remain disabled)

You have to do this offline because otherwise it downloads the wrong md5sum and fails the ISO and then downloads another. I didn't bother going through the process to see why that fails.

Once you've rebooted and the installation is completed, it won't boot though due to another weirdness since 14.04. You have to edit the grub entry first. Wubi suppresses the display of the Grub menu, so hold down the Shift key after selecting Ubuntu and then follow the instructions here: Ubuntu 14.04 not booting after error message. /tmp could not be mounted

For this (and other issues) I recommend not using Wubi. But if you want to, that's how.

P.S. Because you're skipping the md5sum check, there is a risk that your ISO download is corrupted or incomplete and this can lead to failures. Depending on the reliability of your internet connection you may wish to manually verify the md5sum yourself.


What is ValleyView encryption controller?

As comments above mentioned, ValleyView is tablet sub-family of Bay Trail family SoC. Among other functionality, it has on-board hardware implementation of TEE (Trusted Execution Environment).

Since TEE is rather industry-wide catch-all term, not a standard at least, most of this implementations are OEM-specific. Main use cases are DRM, mobile finance, authentication, enterprise/government.

The presence of TEE on system had been not caused by Linux, rather by other concerns of industry. Linux only adopted to its presence and made it accessible and usable.

As any security feature with hardening options, it has benefits and risks. Industrial lobby is concentrated on benefits, from higher security here and there, and down to pragmatical "small gifts" e.g. your fingerprint image in finger scanner can not be easily changed or read. Security research community more often points to risks, from unpleasant potential of getting rootkit which would be extremely difficult to get rid off, to ransomware and limit is only imagination.

In case of this device/hardware/software combination, you may enjoy reading piece of kernel documentation along driver mei_txe. It clearly states functionality provided by Intel and has contact from intel at bottom. They state three main applications with detailed description and reference in that article :

Intel Local Management Service (Intel LMS)
Intel AMT Remote configuration using a Local Agent
Intel AMT OS Health Watchdog

In theory, you can blacklist this device as it most probably does not carry on much of value while constitutes certain risks. However, they clearly state in driver documentation:

  The feature set depends on the Intel chipset SKU.

So your particular case is hardware-specific


xubuntu: permanently unlocking/separating sound output channels

Ok, so I found a solution.

You should put this code:

  restore_alsa() {
   while [ -z "$(pidof pulseaudio)" ]; do
    sleep 0.5
   done
   alsactl -f /var/lib/alsa/asound.state restore
  }
  restore_alsa &

somewhere into the /etc/rc.local

Although, if you suspend/shut-down/lock and log in again without unplugging headphones you sometimes you will end up with sound level of your speakers. But simple unplug and plug in resolves this. And it you suspend/shut-down/lock unplug headphones, come later log in and plug them in, you get your previous volume and until you plug them in the volume of the speakers will be the one you set for speakers last time.

This problem occurred because "PulseAudio usually overwrites the ALSA settings"
For more details see: https://wiki.archlinux.org/index.php/PulseAudio#Pulse_overwrites_ALSA_settings

Hope this helps someone in the future.


Apparently, such things are now implemented as something called "tasks" and can be installed either via their native control tool tasksel, or via apt. Here's more on the difference of these two variants: Should I use tasksel, tasks in APT or install regular metapackages?
mail-stack-delivery in particular seems to be served by the task mail-server, so:
sudo tasksel install mail-server

Update: The task however only install some relevant packages but doesn't do any configuration to tie them together, which is what was great about the old integrated package.


Download the latest version from here
Extract the archive, eg. version 14.1.4

tar xf ideaIC-14.1.4.tar.gz

Move the archive and rename the folder

sudo mv idea-IC-141.1532.4 /opt
sudo mv /opt/idea-IC-141.1532.4 /opt/idea-IC

Start IntelliJ to configure and create a desktop entry

If there is no desktop entry, restart Unity and test is again

The jetbrains-idea-ce.desktop file is placed in /usr/share/applications/ or in ~/.local/share/applications/
If not, create your own desktop file

nano ~/.local/share/applications/jetbrains-idea-ce.desktop

with this content

[Desktop Entry]
Version=1.0
Type=Application
Name=IntelliJ IDEA Community Edition
Icon=/opt/idea-IC/bin/idea.png
Exec="/opt/idea-IC/bin/idea.sh" %f
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-idea-ce


Where can I find a list of daily builds?

You may want to check out PPA Manager by Webupd8. This is a graphical tool which lets you search, manage and browse through the database of PPA's on Launchpad. Searching it for the word "daily" should yeild many results.

I hope this helps, good luck!


Change shortcut of ALT+` to switch between windows of the same app - not working

Do this: Settings -> Keyboard -> search for "Switch windows of an application".
Set your preferred shortcut there.


Try fixing the issue by installing Oracle JDK 8.
And try to find the correct version for the time being.
Before this remove the Default Open-JDK-"version"(your Version)
And try this code:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default


I figured out the solution to my problem; I disconnected the Optical Drive, and the Live USB booted without a hiccup. Don't know why it was causing a problem, but I plugged it in and everything works fine now.


Try updating the kernel to "oem" series. Worked for me!


Ubuntu 14.04 to 16.04 Radeon HD 5770 but basic display functionality does not work

In my case it was not a problem with compatibility between drivers/cards and kernel. I had nomodeset in my grub config blocking radeon driver from loading.

to check grub config see this article - how-to-configure-the-grub2-boot-loaders-settings/

So in my experience after looking at this problem try the following

check modprobe config to make sure the correct driver is blacklisted/or not,under /etc/modprobe.d/ files and make sure radeon is not blacklisted

check grub as described above and remove the nomodeset option bearing in mind that this might cause other problems


how to use a projector with Lubuntu 13.10

So far using ARandR has been the best option for me. Just install it using Synaptic (I don't use the Software Center so I don't know about it) and you can set just about anything.
This here http://www.lubuntu.net/blog/lubuntu-screencast-multi-monitor-tips-tricks will give you ideas too.


Location of wpa_supplicant.conf on Ubuntu 16.04 LTS

man wpa_supplicant tells us:

QUICK START
       First,  make a configuration file, e.g.  /etc/wpa_supplicant.conf, that
       describes    the    networks    you    are    interested    in.     See
       wpa_supplicant.conf(5) for details.

By "make a configuration file," the author meant "create a configuration file", and by e.g.  /etc/wpa_supplicant.conf he/she means "for example, call the configuration file you just created wpa_supplicant.conf".

Since there are so many WiFi cards, and so many, many WiFi network configurations, Linux doesn't give you a default WiFi configuration.

Read man wpa_supplicant.conf, and create a configuration file for your configuration. Feel free to call it wpa_supplicant.conf (or fred, it doesn't matter).


Can you try below command on a terminal (to open, press CTRL+ALT+T) & type below command. And then run the update manager again

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

P.S.: Please edit your question and post the output, if you come across any errors.


nm-applet running, indicator not in taskbar- new behavior in 16.04

3 things fixed this.

This error:

  ** (nm-applet:#####): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

... was fixed by installing at-spi2-core from Synaptic Package Manager.
Reference: https://github.com/NixOS/nixpkgs/issues/16327

Then in /etc/xdg/autostart/nmapplet.desktop, I changed Exec=nm-applet
to dbus-launch nm-applet.
After manually restarting nm-applet in a terminal window with dbus-launch nm-applet, the wifi indicator applet appeared in the taskbar again.  But it did not autostart after a reboot.
So in Settings > Default Applications for LX Session, in the Autostart tab, I changed nm-applet to dbus-launch nm-applet.

Then the applet autostarted, and the indicator autostarted.

Reference for 2. and 3. :
http://askubuntu.com/questions/592406/nm-applet-wifi-issues-on-lubuntu-14-04


How to fix VLC not recognizing the input format from YouTube Lens?

(converted OP answer in question to answer)

I actually just found the answer to my own question. I updated to VLC version 2.0 and it now works correctly. Here are the details:

For the current stable version of VLC that is ppa:videolan/stable-daily (currently version 2.0)

Add it to your system:

sudo add-apt-repository ppa:videolan/stable-daily

Update and upgrade / install VLC:

sudo apt-get update && sudo apt-get install vlc

Hope this helps anyone else who has been experiencing this problem.


How to troubleshoot cause of read-only file system errors

When I was having this problem my issue was that the dual boot of windows which had access to the same drive was not shutting down fully - despite clicking on shut-down it was going into a type of sleep which kept an edit lock over the disk.

shutdown /s

From windows command prompt does a proper shutdown - and there's a tutorial here about how to turn of the Fast Startup option here:

https://www.howtogeek.com/349114/shutting-down-doesnt-fully-shut-down-windows-10-but-restarting-it-does/