This is not an easy question to answer.
If proxy setting cannot be read from Internet Explorer, then probably WBA is used to autoconfigure browser proxy. Just download wpad.dat file by yourself and extract proxy settings from it. Basically try to download wpad.dat from following urls:

wpad.department.branch.example.com/wpad.dat
wpad.branch.example.com/wpad.dat
wpad.example.com/wpad.dat
wpad.com/wpad.dat (in incorrect implementations, see note in Security below)
or just wpad.dat

Read https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol for more instructions.

If you company is using proxy like ISA Server with NTLM authentication, you'll need something like cntlm.

There are many tutorials on the web, eg. this one.

However if your company is using regular proxy server, then just configure your network adapter with company proxy server settings.

For shell programs like apt-get set proxy, before you invoke apt-get command do:

$ export HTTP_PROXY=http://server.ip:port
$ export HTTPS_PROXY=$HTTP_PROXY
$ export FTP_PROXY=$HTTP_PROXY


How do I remove "Advanced Options for Ubuntu" in GRUB menu?

This can be done in a GUI using grub-customizer.

Upon opening the program, it will present the current set of menu options:

A right-click on a menu line will allow you to move that line up or down, rename the menu entry, or delete the menu entry to suite your needs.

Grub-Customizer can be obtained via PPA at https://launchpad.net/~danielrichter2007/+archive/ubuntu/grub-customizer


Server boot black screen, how can I log in?

Press Alt+F1 or Ctrl+Alt+F1 to switch to tty1. There you can log in. I don't know if this is a bug or a new feature. But my precise server does the same.


A quick and easy way is to use Transmission:

Click the Ubuntu icon in the upper left corner of the screen
Type "Transmission" (something like "torrent" would work as well)
Click the "Transmission BitTorrent Client" icon


English as a system language but Russian regional settings

If you execute locale you can see the language variables that are used for various sections of the operating system:

LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

More about locale variables in the gettext manual: Locale Environment Variables - GNU `gettext' utilities

You can export these variables e.g. export LC_PAPER="ru_RU.UTF-8" - this will make a temporary change.

If you want to make it permanent you can change the regional formats using gnome-language-selector. Or you can add the export command in ~/.profile and/or ~/.bashrc

For the papersize, I found that you can edit /etc/papersize - change "letter" to "a4".
You might also need to set export LC_PAPER="en_GB.UTF_8" (or maybe export LC_PAPER="ru_RU.UTF_8" if ru_RU defaults to A4)

Source: answers.launchpad.net: Question #6846 : Questions : “evince” package : Ubuntu

P.S. Personally I use en_GB (English / United Kingdom) for everything since it uses the SI metric system instead of American English and US units.


recover encrypted folder content after format

this solved my problem sudo ecryptfs-recover-private


Switchable laptop graphics issues on Ubuntu 12.04?

I have the exact same Nvidia Geforce GT 630M in my laptop. The solution is basically run these commands:

sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia

Then when you need 3D graphics for a program, run it as optirun program. To save power on laptops, it runs only that single program through your nvidia graphics card. To start nvidia-settings, run this optirun nvidia-settings -c :8

Unfortunately, Nvidia doesn't officially support these hybrid cards on Linux. For more information on bumblebee project, follow this link http://bumblebee-project.org/

If you have errors like any of these:

[ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ERROR]Aborting because fallback start is disabled.

The "Failed to initialize NVIDIA GPU" error appears in syslog from bumblebeed / Xorg.8

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device
[10de:0fd1] (rev ff) (prog-if ff)
    !!! Unknown header type 7f
    Kernel driver in use: nvidia

Then you may be experiencing this GT 650M bumblebee bug. Please send in any information you can to help resolve this. Other problems can be reported here: https://github.com/Bumblebee-Project/Bumblebee/issues


From my testing NetworkManager (using nmcli) only supports one VPN connection at a time. You will need to write a script that manually invokes openvpn and place it in /etc/NetworkManager/dispatcher.d/. The script will need to query networkmanager to see if your other VPN connection has been made.

I wrote a script that automatically starts my VPN connection under certain conditions, maybe you can use it as a starting place.

Also, keep a close watch on your routing table. If you start a VPN while connected to another one, it could redirect traffic from the first VPN, disrupting both VPN connections.


This is an old issue. Refer to top answer here:
No sound settings available in the settings manager window
If you do not file the file referenced there you need to install sound indicator package

sudo apt-get install indicator-sound-gtk2


How to resize partition via command line?

If you use LVM (Logical Volume Manager):

Expand physical volume (sda3 replace by your partition name):
sudo pvresize /dev/sda3

Check free space:
sudo vgdisplay

Add space to logical volume (VG00/share replace by your LV name):
sudo lvresize –L -r 100G VG00/share

Check changes:
sudo lvdisplay

If you don't use LVM:
All below commands work for unmounted partition, so you should boot from another source, for example, from iso (liveCD image).

Change partition size: sudo fdisk /dev/sda3:

remove old partition (d)
create new one, bigger (n)
write changes (w)

Expand file system:
sudo e2fsck -f /dev/sda3
sudo resize2fs /dev/sda3

Reboot system, boot as usual.

Check partitions:
df


Permission denied extraction problem when running `apt source `

Just use apt-get source command without sudo prefix; it will write to current directory.

The warning was reworded after Bug Report: Can't drop privileges when running apt-get source as root | Debian Bug report logs (and dozens of other reports of the same feature)

  I don't get why there are bug reports about that. If you fetch in a
  directory _apt cannot write to, it will run the fetchers as root
  instead of _apt so you can do whatever foolish (no root needed here)
  task you are trying to do.

  We could also just make it an error and say: This command does not
  work as root, but that won't make people happy either.

  While we might want to solve this at some point, this is no huge deal,
  and would require a huge amount of work to fix.

Warning was reworded:

Note: This is a warning about disabling a security feature. It is
supposed to be scary as we are disabling a security feature and we
can't just be silent about it! Downloads really shouldn't happen
any longer as root to decrease the attack surface – but if a warning
causes that much uproar, consider what an error would do…

The old WARNING message:
| W: Can't drop privileges for downloading as file 'foobar' couldn't be
| accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
is frequently (incorrectly) considered to be an error message indicating
that the download didn't happen which isn't the case, it was performed,
but without all the security features enabled we could have used if run
from some other place…


Ubuntu 14.04 unable to connect to wired internet

Use the command

  ip addr

You'll get something like:

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether d0:27:e5:4a:cc:e1 brd ff:ff:ff:ff:ff:ff
inet 10.160.11.152/23 brd 10.160.11.255 scope global eth0
   valid_lft forever preferred_lft forever
inet6 fe10::d367:e5ff:fe4a:cce1/64 scope link
   valid_lft forever preferred_lft forever

Notice the "UP" after "state". This will tell you whether your cable is plugged in correctly or not. If it's DOWN, first try unplugging and then plugging the cable back in. If that doesn't work, try:

  sudo ip link set dev eth0 up

Check ip addr again. If it's still down, it's most probably a hardware problem (bad cable, bad switch etc)


How to hide Firefox titlebar in Gnome Shell?

Notice: HTitle is now discontinued, you can find an archive on Wayback Machine for historical reference.

You could use HTitle Firefox extension to hide title bar.
This can be used only with GNOME 3.


I presume it was this Natty lens you were referring to from this ppa

Whilst there is an oneiric package in the PPA it looks like it hasnt been touched since May 2011.  When installing it gives a dependency error.

I've tried rebuilding with a dependency fix for oneiric but when running it fails due to an out-of-date use of python.

This does look like an interesting lens - but perhaps really should be part of the Unity-Scopes blueprint - if you agree, post a request indicating where the current code resides and hopefully if agreed, the developers can rework this into a scope.


Function Keys for Trackpad, Keyboard Backlight, and Camera not Working

Drivers for the function keys on Asus UX425JA were added in Linux 5.8
Source


Adding Liebert UPS (Uninterrupted power supply) psi Range

Here is a little method to see if you can. Run uname -a in a terminal(Can't paste it, you must type it), and you will see a string in the form of:

Linux ubuntu X.X.X-XX-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 YYYYYY GNU/Linux

If you want to use this package, the X.X.X-XX part must be greater than 2.4.18- [nnn], where [nnn] is any number.(You are running 12.4, it should be around 3.0.0.12 or something a bit higher). Also, the YYYYY part of the scring (See above example) must be x86, not x86_64 if you want to use this package. If you get x86_64, look for a package with the name ML_36_04_Linux_X86_64, or something like that meant for 64-bit systems.


Long story short (that is: do what Nicolas Bernaerts suggests, but I spare you the details): monitors configuration is actually saved in ~/.config/monitors.xml, but it's not applied at startup/login.

The steps to overcome this are:

Log in with the wrong monitors configuration.

Remove current monitor configuration:

cd .config
mv monitors.xml{,.bak}

Use the Displays application to arrange the monitors as you wish (I have one side monitor rotated counterclockwise).

Once you press Apply, a new monitors.xml is created.

Now, download and make executable the script and the launcher that force the monitor configuration based on the newly created config file:

$ sudo wget -O /usr/local/sbin/update-monitor-position https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/ubuntugnome/update-monitor-position
$ sudo chmod +x /usr/local/sbin/update-monitor-position
$ sudo wget -O /usr/share/applications/update-monitor-position.desktop https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/ubuntugnome/update-monitor-position.desktop
$ sudo chmod +x /usr/share/applications/update-monitor-position.desktop

At this point, the monitors' configuration can be fixed by launching the update monitor position application.

If you want this to be automatic, simply add a startup application, with the following entries:

Name: Update Monitors Position
Command: update-monitor-position 5
Comment: Force monitors position 5 seconds after login


How can I remap my keys to act like the Macintosh keyboard (like hold alt l + l click = r click)?

You can use the tool xte to send mouseclicks or keypresses to the X server from the command line. And if you bind that with xbindkeys to alt and left mouse button, then you should have what you want.

First install neccessary packages:

sudo apt-get install xbindkeys xautomation

then create the ~/.xbindkeys config file with the following content:

"xte 'mouseclick 3'"
  Alt + b:1

That should run "xte 'mouseclick 3'", which sends a right click to the X server, everytime you press alt + left mouse.

Start the daemon to make it work (use -n for nodaemon mode if you are testing things, so you can easily kill it with Ctrl-C, start without -n to run it in the background):

xbindkeys -n

The sad news is though: it doesn't work. It should, but for me on Ubuntu 12.04 running Unity/Compiz, it does not work, xbindkeys can't intercept mouse button presses. Still, maybe you are luckier or have a config where xbindkeys is able to intercept mouse button presses.


noob: uninstall eclipse from 12.04 precise

Try: which eclipse in the Terminal

If the result is not found "Empty result"
   then: just delete the eclipse folder you had created
else:
delete the file in the output path, Ex sudo rm -rf /bin/eclipse
"Make sure from the correct PATH" and then delete the eclipse folder that you had extracted the tar file in


I have seen this in cases where the Router Advertisement advertises the subnet as "not on-link". The receiver therefore makes no assumptions about who is reachable on that subnet by creating a single /128 address and sending everything through the default gateway (which is usually a link-local address, so that will work).


OS X no longer visible in rEFInd boot after installing Ubuntu

Try setting scan_delay 1 in the refind.conf file. (That file should be in the EFI/refind/ directory on your /dev/disk0s1//dev/sda1 partition.) Sometimes rEFInd doesn't scan some partitions in its default configuration. This seems to be the result of an EFI that's sluggish about registering its partitions, so they don't show up when rEFInd first starts. Adding a delay to the scan works around this problem.

EDIT: Sorry; I didn't notice that you're using encryption. Try uncommenting the dont_scan_volumes option in refind.conf and remove "Recovery HD" from the list.


Is there a functioning wifi tool (not network manager) that works on public wifi and supports VPN?

It all depends on what type of VPN you want to connect to, and they are not as integrated as NetworkManager. In my experience, kvpnc tends to work well and supports a few VPN systems, although it requires the installation of additional dependencies from a standard GNOME desktop because of QT and KDE libraries.

If you're having issues with NetworkManager, you definitely should report bugs and clearly explain what is not working for you, then we can look into the problem and possibly fix it ;)


How do I set Ethernet speed for Ubuntu 20.04 permanently?

With Ubuntu Desktop, you can set it up with the grafical interface applet nm-connection-editor

Run it via gnome start menu ALT+F2 or from a terminal window
nm-connection-editor

Then, on the first window, select your network interface and hit the cog
on the second window, setup the interface Speed & Duplex


Media not playing on Ubuntu installed on VirtualBox

I found for me a solution at the VirtualBox forum, where they seem ready to help.  Try to follow the same instructions I followed myself, that is:

Shut down the guest operative system (Ubuntu 16.04.1)
This should also close the Virtual Machine

Click Settings or right click the Virtual Machine and choose Settings

Go to the Audio section and select a different Audio Controller

Restart the Virtual Machine and test your new setting

This worked for me and I hope it will work for you too


KVM Virt-Manager Error: No active connection to Installed on

Make sure your username is part of the libvirt group.
Try running sudo adduser <username> libvirt.  This fixed the problem for me.


Ethernet shows in `ifconfig` but not connected to internet in 18.04

How about restating the interface?

First you add

network
version: 2
renderer: networkd
ethernets:
    [your interface name]:
        dhcp4: true
        dhcp6: true

to

*.ymal file under

/etc/netplan/

and then

sudo ifdown [interface name] && sudo ifup [intreface name]

Please tell if this does not help you!


Lenovo ThinkPad L460 Touchpad not working

I am afraid I can not give an educated answer for this(since i am very new to ubuntu), but I had the same problem yesterday. I was using 14.10 and tried to install the synaptics touchpad, but it did not work properly, then i updated a few ubuntu files and also updated to a new kernel (4.x). THen suddenly after a random restart, the touchpad suddenly worked along with the trackpoint.

As I said since i have no knowledge about linux/ubuntu at all i dont know how to propperly fix this, but it seems that it will work with the new kernel and standard updates.


Minimum system reqirerments for Ubuntu 13.10

Latest system requirements for the "Ubuntu Desktop Edition" are

700 MHz processor (about Intel Celeron or better)
512 MiB RAM (system memory)
5 GB of hard-drive space
VGA capable of 1024x768 screen resolution
Either a CD/DVD drive or a USB port for the installer media
(Internet access is helpful)

Source: https://help.ubuntu.com/community/Installation/SystemRequirements


e514: write error (file system full?) in linux' error even if you file system is not full?

You can't edit files in/sys because it is a virtual filesystem. df -h /sysshows that the device is "sysfs", not a physical one as /dev/sda1 or similar.

This virtual filesystem sysfs exposes kernel objects.


Headphones don't work on an Acer Aspire 5920g

I had the same problem on my Acer 5930g. Even though I plugged in the earphones I hear the sound both in the built in speakers and the headphones.

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below.

gksudo gedit  /etc/modprobe.d/alsa-base.conf

and add in this line

options snd-hda-intel enable=1 index=0 model=auto

then save and reboot.


can't get eGPU working on Ubuntu ( Aorus GTX 1070 Gaming Box )

Ran into the same issue a few days ago, I managed to make it work, but it's unlikely my problem was the same.

If you are having this issue as of now, the reason is very likely the Thunderbolt (you can check it by the visual leds not turning on). Reason being, thunderbolt needs to be authorised by the user (or sudo, can't check I'm a sudoer and can't be bothered to).

Next issue I ran into is obviously I installed so many drivers I couldn't startx. Any X11/X.org guru would know exactly now how to repare what I did; I'm not one. So all I did is remove EVERY nvidia driver and reinstall the right one. I strongly advise to do so before rebooting if you're not kind to appreciate the tty2 at boot.

Here are a couple sources to help you on your search:

https://egpu.io/forums/thunderbolt-linux-setup/egpus-under-linux-an-advanced-guide/

Especially this part (not the compiling a 2 year old kernel):

http://pocketnix.org/posts/eGPUs%20under%20Linux%3A%20an%20advanced%20guide

  If you wish to allow a recently plugged in device to be used then it
  is simply a matter of 'authorising' the device by locating it under
  /sys/bus/thunderbolt and writing '1' to the authorized file as below

 echo 1 > /sys/bus/thunderbolt/devices/0-0/0-1/authorized

And definitely check the section on Secure boot mode (to avoid having to enter your password every time) and Bumblebee (to dual gpu)


I temporary fixed this by adding command to startup applications list:

bash -c "sleep 2 && initctl restart unity-panel-service"

You can also press ALT+F2 and execute:

initctl restart unity-panel-service

Ps: This will restart all indicators services and some of them will disappear if they started before.


Ubuntu 16.04 WiFi not working solved
do the following:
sudo aptitude safe-upgrade -y
The above command re-install updated version and necessary dependencies on your Linux box.
NOTE: It may take a minute or more based on your last updates.
You may need to reboot your system to fully recognize the new updates.
Check your WiFi
ifconfig or iwlist are your friends.
Remember when in doubt, do: man doubt e.g man ifconfig
Hope this helps


Kile '[PDFLaTeX] failed to start' when using TeX Live 2013 + self compiled Kile

It turns out that you need to run Kile once as root. In a terminal enter:

sudo kile

Let Kile start, then close it and run Kile as normal. You should now be able to compile!


Try this.  Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get clean && sudo apt-get update
sudo apt-get upgrade
sudo apt-get install vim


Shell prompt in recovery mode NOT lasting

I have found a work around my problem (took days, I hope this can be useful for someone in the future not to waste as much time as I did).

This applies when you (userX) won't be able to:

0) boot your Ubuntu (16 in my case) in normal mode

1) open your encrypted home (/home/userX) with a live distro (you may have forgotten your passphrase...)

2) when your recovery mode does not last long enough to permit you to backup your data (I still have no clue why this happens!, the first time I get this behavior)

My work around was (and thanks a million to Lewis M for the suggestions and help, really!):

boot in single user mode (so you are root)
delete (or move somewhere else) the file /run/nologin
login as userX (you cannot if the file /run/nologin exists [at least in my case])
you should now be able to access /home/userX and backup your data (at least the session does not collapse anymore after a few minutes)

Cheers


These buttons exist in GNOME2, the old desktop environment of Ubuntu. Some years ago, Ubuntu got its own DE called Unity.

To access the features you were talking about, hit the Ubuntu logo at the top right and select the according tab ("lens") at the bottom of the menu ("Dash") that opens.

You can learn more about Unity here: https://unity.ubuntu.com/about/

PS: The menu of an open window can be found where you read "Ubuntu Desktop" when you move your mouse to the panel.

If you prefer something like GNOME2, you should install MATE, a fork of GNOME2, which aim it is to provide exactly the same thing as GNOME2 did, but is still being developed today.

If you want to use MATE, either just use the Ubuntu derivate https://ubuntu-mate.org/
or follow these steps to install mate on your running system:

Open a terminal Ctrl+Alt+T.
Add the MATE PPA's:

sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate
sudo apt-get update
sudo apt-get upgrade

Install MATE:

sudo apt-get install --no-install-recommends ubuntu-mate-core ubuntu-mate-desktop

Reboot your computer
Before logging in, select MATE in the session chooser (click the Ubuntu logo you see in the picture):

Log in to your MATE session.


Upgraded to 13.10, black screen after login

There isn't much solution at the moment because the open source drivers shipping with Ubuntu are essentially broken, and the Oibaf PPA which provides the latest 'Updated and Optimized Open Source Drivers' which would be perfect for your GPU only supports up to Ubuntu 13.04 still. Many people are having issues, but there's just little solution.

You can at least try using open source drivers and running sudo apt-get install xserver-xorg-video-all to make sure you have the open source drivers properly installed.


Why I Can't Run The Script Against Localhost?

I don't think it is a problem of scripting but your syntax at the nc command.

nc syntax is:
nc -l -p port [-options] [hostname] [port]
See man nc for further info.

When using the nc command, hostname is followed by port(s) separated by blank(s). If you call your script with parameter localhost:8080 the shell will not translate this so the port will be regarded as part of the hostname.


There are many tools that can do this, each with its own advantages and disadvantages. Clonezilla is a utility that's often used for this task; however, I'm not sure how well it would cope with the fact that your target disk is smaller than the source disk.

Another option is to manually partition the target (using GParted, parted, fdisk, gdisk, or some other tool), create filesystems on the target, mount the target partitions, and copy everything over with cp or tar. This will require some additional changes on the target, such as (possibly) adjusting its /etc/fstab and installing a boot loader. Overall, this method requires more effort than many, but if you know what you're doing, it's quite flexible, and it can definitely copy from a larger disk to a smaller one, provided the files will actually fit into the target space.


fancontrol: return to original state, not full speed when exiting?

The short solution is in changing of MAX parameter in /usr/sbin/fancontrol. Line 44 for fancontrol 0.71.


how to install nginx after removed it manually

Since you managed to install it anyhow first thing you've to do is to remove it completely with the configuration files

Follow these steps to remove it completely and install it again.

Open terminal and execute these commands:

sudo apt-get autoremove nginx
sudo apt-get --purge remove nginx
sudo apt-get autoremove && sudo apt-get autoclean
sudo find / | grep nginx | sudo xargs rm -rf

 the last command will remove the repository also so you've to add it again by:

sudo add-apt-repository ppa:nginx/stable

Now try to install it again by:

sudo apt-get update && sudo apt-get -f install nginx

Hope it would solve your issue. Reply if you get any error at any particular command describing the command.

This is the output of

sudo dpkg -l | grep nginx:

ii  nginx                                       1.4.3-1~precise0                                    small, powerful, scalable web/proxy server
ii  nginx-common                                1.4.3-1~precise0                                    small, powerful, scalable web/proxy server - common files
ii  nginx-full                                  1.4.3-1~precise0                                    nginx web/proxy server (standard version)

whereis nginx:

nginx: /usr/sbin/nginx /etc/nginx /usr/share/nginx /usr/share/man/man1/nginx.1.gz


You got bit by the notorious Windows 10 Anniversary Update... and it deleted your Ubuntu partition.

Recovery is difficult, but search here on AU for testdisk, as some users have used this program to recover their deleted Ubuntu partition. See http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step for more information.

If you can recover your deleted Ubuntu partition, you may still need to use Boot Repair to reinstall GRUB and make your machine bootable again. Search here on AU for Boot Repair or read the Community Help Wiki on Boot Repair  to find out more info.

You'll need a bootable Ubuntu Live DVD to perform the above tasks.

To fix the Windows boot problem, you'll need to use the Windows repair/install disk. Once booted into Windows again, you may find that some updates have not completed... just let them run to completion. I'd recommend doing this repair last, because you don't want to overwrite any of the deleted Ubuntu partition.


Are you using any proxy or VPN? Prolly a PiHole. If yes, try disabling them.
In your sources.list there's usually a space after https:// - try checking it.

Sources:

Ubuntu repository does not have a Release file

Bionic Default Repositories do not have release file - sudo apt-get update not working


To jailbreak your iPad, you need a special software on your Ubuntu computer and your USB cable. My advice is to use a program that worked for me, Absinthe.

Download the correct version on GreenPois0n (don't be impressed by the name or the skull logo), depending on your iOS version. In your case of iOS 5.1.1, choose Absinthe 2.0.4. From personal experience, I know that you should not compulsorily choose the all newest version ; just stick with the version that was designed for your iOS version.
Extract the archive you downloaded, launch the app called "absinthe". Choose "Run" if Ubuntu prompts you with a pop-up window.
Follow the displayed instructions.

Good luck !

For more information about jailbreaking devices from Apple, see for instance iDownload Blog. It should also be noted that the process of gaining root access on your device is legal in most countries, but you'd better double check that for your own.


su is used to authenticate as another user (if the account is there on the system; other than yours).
If you want to use su then you should use:

su username -c command

where username is the name of the account you are trying to use and command is what you want to execute.
It will ask you to enter the password. You will have to enter the password of the username account and not yours.

But since you're simply trying to enter as root, you should simply type:

sudo su

and enter the password of the root which is, by default, the password of your administrator account.
Here is a screeshot as an example:


How can I add image icon (e.g. national flags) to indicator-sysmonitor based on IP location?

You're currently using this long chain of commands to get your country code:

$ curl ipv4.icanhazip.com | curl ipinfo.io | grep country | awk '{print $2}' | sed 's/,//g' | sed 's/"//g'
US

You can simplify that whole thing to a single http://ipinfo.io lookup:

$ curl ipinfo.io/country
US

You can combined that with the flag image path like this:

$ country=$(curl -s ipinfo.io/country)
$ flag="/usr/share/flags/countries/16x11/${country}.png"
$ echo $flag
/usr/share/flags/countries/16x11/US.png


How to uninstall ppa + nvidia graphic and reinstall CUDA clean?


How do I configure a joystick or gamepad?

This process will work for Ubuntu 11.04 (Natty) and older versions. For the newest versions please refer to this Answer by RolandiXor. Thank you.

Not tested by me, but found in a link provided at: http://ubuntuforums.org/showthread.php?t=393425, I hope this may help.

  Install joystick and jscalbrator

  sudo apt install joystick jscalibrator

  then run the calibration processes

  jscal -c /dev/input/js0 (this is
  my joystick location, check yours)

  jstest /dev/input/js0 (or wherever) If
  I remember correctly, this should
  return 0 for no error.

  run jscalibrator

  jscalibrator

  and it should
  recognize the type of gamepad
  correctly and recognize all of your
  buttons, and axis

There is also an application called jstest-gtk, which seems to do something like that, I post here a screenshot and the link for you: https://github.com/Grumbel/jstest-gtk (This software may need to be compiled in order to make it work)


I had the same problem. Probably you installed it via Ubuntu software.
You should remove the snap version and use the following command

sudo apt install libreoffice


How to specify non-default audio stream to MPlayer?

To find the audio track ID of the video that you want to play, use this:

mplayer -vo null -ao null -frames 0 -v <filename> | grep aid

To play the file using the audio track required, use the track ID that is found with the previous command and use it in the following one:

mplayer -aid <track_ID> <filename>

Source for this information - FAQ at MPlayerhq.hu

Example:

nits@nits-workstation:$ mplayer -vo null -ao null -frames 0 -v Blood\ \ 18\ Dual\ -\ Moon\ Over\ Ekaterinburg.mkv | grep aid
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
[mkv] Track ID 2: audio (A_AAC), -aid 0, -alang und
[mkv] Track ID 3: audio (A_AAC), -aid 1, -alang und
FAAD: compressed input bitrate missing, assuming 128kbit/s!

##To play with Audio Track ID 3##
nits@nits-workstation:$ mplayer -aid 1 Blood\ \ 18\ Dual\ -\ Moon\ Over\ Ekaterinburg.mkv

##To play with Audio Track ID 2##
nits@nits-workstation:$ mplayer -aid 0 Blood\ \ 18\ Dual\ -\ Moon\ Over\ Ekaterinburg.mkv


I was simply locked fully out of my machine and getting connection refused.
Purging and reinstalling openssh-server + client seems to have fixed it for me.


How do I install konversation 1.6.2 with QCA support in 16.04

Update with compile instruction

I'm following this guide to installed

First install the packages needed to build

sudo apt-get install git build-essential cmake extra-cmake-modules qt5-default libqt5svg5-dev libkf5archive-dev  libkf5bookmarks-dev libkf5config-dev libkf5configwidgets-dev libkf5coreaddons-dev libkf5coreaddons-bin-dev libkf5crash-dev libkf5emoticons-dev libkf5i18n-dev libkf5idletime-dev  libkf5notifyconfig-dev libkf5notifications-dev libkf5wallet-dev libkf5parts-dev kdoctools-dev libphonon4qt5-dev libphonon4qt5experimental-dev libqca-qt5-2-dev

Clone the latest sources

git clone git://anongit.kde.org/konversation

After clone use the instruction from there

cd konversation
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=<desired install location> ../
make
sudo make install

Now you can start using it. Check the using konversation --version.

I've tested it on a server with Ubuntu 16.04. If anything goes wrong, let me know it in the comment.

Old answer

The bug #798036 you've referred is for konversation version 1.6-1 and fixed in 1.6-2 in Debian.

But Ubuntu 16.04 (Xenial Xerux) is still behind version 1.6-1. It provides 1.6-0 and no evidence is found that this bug is present on 1.6-0 too!

Here is the changelog of the package konversation in Ubuntu - http://changelogs.ubuntu.com/changelogs/pool/universe/k/konversation/konversation_1.6.1-1ubuntu2/changelog

Also the bug was found and fixed around September, 2015 (See revision 7615), where the package konversation for Ubuntu Xenial was uploaded around April, 2015 (Check here)

About your other issue that you're getting konversation version 1.5 with apt-get source, I haven't experienced that. I used same apt-get source and it gave me the exact version of source package, whose binary is available via apt-get install

Therefore I recommend not to recompile it yourself because that may break existing QT and KDE systems and could be hard to get updates from Ubuntu.


Why can't I mount the Ubuntu 12.04 installer ISOs in Mac OS X?

This is due to a bug (of sorts) in the package used to create the Ubuntu ISOs

Since 11.10, Ubuntu ISOs have been "hybrid", meaning that the ISO can also be written bit-for-bit to a USB device to make it a working Live-USB, without having to use StartUp Disk Creator, UNetBootin, etc.

Note that this "hybrid" is different from the OS X/Disk Utility definition of "hybrid", which simply refers to an ISO readable on both Mac (HFS+) and Windows (ISO9660).

Ubuntu's hybrid functionality is provided by the isohybrid script in the SysLinux bootloader. It works by encapsulating the standard ISO9660 CD filesystem within a partition, so that it will work unmodified if written to a USB/hard disk.

This patch/bug report discusses a problem in the way isohybrid sets GPT UUIDs, causing Disk Utility/OS X to fail to recognize the hybrid filesystem and consequently, failing to mount it. Hopefully it will be fixed at some point, making future Ubuntu hybrid ISOs compatible with Disk Utility.

Alternative to extract/explore Ubuntu ISOs on OS X: Keka

Keka is an open-source OS X frontend to the p7zip package, which is able to view and extract ISOs in addition to a myriad of other archive management features. While it won't let you "mount" the Ubuntu ISO on its own, it should let you view the ISO filesystem and extract what you need.


I want to install 12.10 Clean but Retain Home from 12.04. Do I need to create separate Home partition?

I would extract everything in the encrypted home to somewhere else under /home or /srv and then make a new encrypted home upon installation. Then copy the files back in after reinstalling.

Use the manual partitioning option by selecting 'Something else' at the installation type screen, make sure your root partition is set not to format and is mounted to / like in the image below. The Use as: field should match the type of file system you first installed with, so ext4 by default.

**Pay no mind to the size field, yours will be different than the ones in my vm.*


Will Crontab reload it's configuration just be editing the crontab file?

Yes it will, nothing else to do, just edit the crontab file and save it, it takes effect immediately.


Welcome to Ubuntu. First of all I brief you about the fact that Wine in Ubuntu or any or Linux distro  is a compatibility layer capable of running Windows applications. You need not to install any .exe driver in Ubuntu.

First install modeswitch. Open terminal(CtrlAltT) and type

sudo apt-get update
sudo apt-get -y install usb-modeswitch

It will ask for your password. enter password. After that plug in your usb modem and run following command in terminal:

lsusb

Now your modem should be present in the list.

Here is the further solution to add your modem as modem shared by johado in this post for

Open terminal and type

sudo nano /lib/udev/rules.d/70-usb-modeswitch.rules

after this open in terminal copy and past following line(note in terminal you have to use CtrlShiftV to paste) and press CtrlS to save.

# custom udev rules for UMTS modems
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14fe", RUN+="/usr/sbin/usb_modeswitch -v 12d1 -p 14fe -M '55534243123456780000000000000011062000000100000000000000000000'"

ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1506", RUN+="/bin/bash -c 'modprobe option && echo 12d1 1506 > /sys/bus/usb-serial/drivers/option1/new_id

I saved this as /lib/udev/rules.d/70-usb-modeswitch.rules.
For updating your driver and software run following in terminal CtrlAltT

sudo apt-get update --fix-missing

then update software from update manager.


Moving large amount of files (~ 100 000)

Perhaps consider using a pure command line method to transfer very large amounts files, you will undoubtedly find the process is substantially faster than using a gui.

There are many different ways to accomplish this, but the following worked quickly, safely and efficiently on my system:

find . -maxdepth 1 -type f -print0 | xargs -0 mv -t <destination>

Some explanation for this command:

Your input directory is the '.' character and for this particular command you need to be in that directory
Your output directory is the <destination> in my example. Obviously modify this to suit your own needs and leave out the brackets.
This syntax allows for filenames with spaces as a bonus :)

Endless permutations are possible but this should work well and much more efficiently than the gui. One permutation for example: if you wanted to move only pdf files you could run:

find . -iname "*.pdf" -maxdepth 1 -type f -print0 | xargs -0 mv -t <destination>

Use of xargs opens many possibilities particularly with the movement of such a large number of files. Many, many possibilities....

Potential Problems:

There are at least 2 potential pitfalls to ponder, thanks to the commenters below for these thoughts:

Your destination directory could be corrupt, in a subsequently unreachable location, mistyped etc. mv will still move the files there! Be careful here...
If the -t option (--target-directory) is missing and the destination folder is actually a file you will move one file and fail on the rest. mv has 2 uses: rename source to destination or move source to directory. Again be careful...


Ubuntu 14.04 can't connect to wired internet after ejecting and returning network cable

You simply need to RESTART Networking on your machine to reset/reconfigure your broken connection.  Many hacks depend on breaking the connection then finding an open, hung, app to come into your box and gain control with the attributes of that app.  The Linux kernel was upgraded to "hang" broken connections to stop this.

Bring up a terminal window and using "sudo", or "su" (to become Root, if you have set a Root PW) and try: networking restart Enter

You may need to go to the spot (using the cd command), or explicitly type in the Path to the spot where your network is initialised (usually in /etc/init.d).  Type in the command that runs the network initialisation and the keyword "restart" and press Enter.

Often, simply issuing the command "sudo ifup -e network device name" will do the trick.  In the terminal, type in ifup -help or ifup --h or networking -help for information on the specific parameters required as arguments to the networking or ifup (or ifdown) script commands.

The same can be done using the "ifconfig" command, but is far more involved.  Mainly "ifconfig" is a quick way to check your network status.  Type "route", w/o arguments to see the current route and if your Gateway, DNS, port, etc. are correctly configured.

The networking and ifup script commands run automatically on reboot - which is what you are doing now, but work just fine without having to pretend you are on an M$ OS and completely shut down every time.

Cheers!

fudoki


Most efficient way of launching and separating a program from the terminal?

See man nohup:

NAME
   nohup - run a command immune to hangups, with output to a non-tty

Answer:

nohup program-name &


I just accidentally uninstalled a lot of programs, is there way to get all of them back at once?

Try this:

Open a terminal,Press Ctrl+Alt+T

Run it:

exec sudo -i
dpkg --configure -a
apt-get -f install
apt-get -m install
apt-get update
apt-get dist-upgrade
apt-get install --reinstall ubuntu-desktop
apt-get autoremove
apt-get clean


how to enable internet with ubuntu 10.04

Check the content of /etc/udev/rules.d/70-persistent-net.rules files to get the names assigned to your network devices by udev. Usually, those should be eth0 for wired and wlan0 for wireless.

Then, put the following content into the /etc/network/interfaces file (replace eth0 and wlan0 names if needed):

auto eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

Tha above will work fine if only you have the DHCP server in your network. If no, you can assign static IP address according to the following example:

auto eth0
iface eth0 inet static
 address 192.168.0.2
 netmask 255.255.255.0
 gateway 192.168.0.1


How do I list all devices and learn how to enable/disable them in Ubuntu 19.10?

Linux works different than Windows, and as such, a unified place to enable/disable devices is not available. This is also due to different mechanisms that drivers my use. Some drivers come directly with the kernel and can (or cannot) be disabled by blacklisting modules. Other drivers are working on Xorg and can be enabled/disabled by configuration files or installing/removing packages, etc.

If you have a specific need to disable a device, post here and specific answers for your device may be given.


Get the device name with blkid or check dmesg for the connected device. Then switch the power management off with hdparm.

# get device name
$ sudo blkid
/dev/sda1: UUID="..." UUID_SUB="..." TYPE="somefs" PARTUUID="..."
/dev/sdb1: UUID="..." UUID_SUB="..." TYPE="someotherfs" PARTUUID="..."

$ sudo dmesg
...
[  305.276914] scsi host5: usb-storage 1-1.1:1.0
[  306.275373] scsi 5:0:0:0: Direct-Access     WDC WD25 00KS-00MJB0           PQ: 0 ANSI: 5
[  306.275787] sd 5:0:0:0: Attached scsi generic sg3 type 0
[  306.276317] sd 5:0:0:0: [sdc] 488397168 512-byte logical blocks: (250 GB/233 GiB)
[  306.277429] sd 5:0:0:0: [sdc] Write Protect is off
...

As you can see from the output the commands, your USB disk is registered as /dev/sdc. So disable power management for this device.

# disable power management
$ sudo hdparm -B 255 /dev/sdc

See hdparm ArchWiki for more details.

Update: Add sudo to commands, since super user privileges are required.


How to install Ubuntu on a laptop with a portable external Hard Drive?

Full Install of Ubuntu to External Drive

Back up Data on external drive.

Determine Windows 10 boot mode. Type System Information in Windows Start panel. Under "BIOS Mode" it will say if Windows is Legacy or UEFI.

If UEFI mode unplug your internal drive, or the drive will try to use Windows EFI partition.

Boot a Ubuntu 20.04 Live USB in the same mode as Windows boot mode. Plug in the External drive.

Use GParted to reduce the existing External HDD Data partition to make room for Ubuntu. 200GB should be plenty.

If UEFI mode create a 500MB FaT32 partition.

Create an ext4 partition in the remaining empty space.

Click the Install Ubuntu 20.04 LTS icon, Select Language, Keyboard, Wireless, Normal Installation, Install third Party...

Select Something else.

Under "Device for boot loader installation" select the external drive. This is important.

Select the new ext4 partition and click change, Select use as Ext4, Mount point = / then OK. select format this partition,

If UEFI, select the new FAT32 partition and click change, Select Use as: EFI System Partition then OK. Select format this partition.

Click Install now. Confirm partitions to be formatted if asked, click continue.

Select your location.

Insert your name, computer name, username, password and select if you want to log in automatically or require a password. - Click "Continue".

After install, if internal drive was unplugged, plug it back in.

Boot the external drive and run sudo update-grub to add Windows to it's boot menu.

Note:
This drive will only boot in the mode it was created in. If you need to boot both BIOS and UEFI we can modify the instructions.


The bootloader that came with Ubuntu 12.04.1 (and 12.04) does NOT support UEFI. However Ubuntu 12.10 does. You can also wait for three days to get Ubuntu 12.04.2, which will have support for UEFI.


Ubuntu on external HDD cant be opened/renamed. How fix this?

Boot from a live Ubuntu DVD/USB. Then you will be able to read data from that drive and also copy it to your Windows drive.


Apache server on Localhost stops working, logs show a segmentation fault, and connections get "Connection Reset" errors

Segmentation faults usually indicate problems in the program that's running, either in the application that Apache is serving or in Apache itself.

What you need to do is check if your scripts or web applications are triggering such segmentation faults.  That's harder to trace.

If serving even plain static content causes the segmentation fault too, then you need to file a bug against Apache as it is misbehaving and may have a bug in it.


Click on notification open Telegram or MEGAsynch foreground

Fixed by myself removing gnome-shell-extension-appindicator, default in ubuntu 17.10, as reported here. Replacing instead with topicon plus.

Topicon plus is not affected by the issue. Moreover some application that not show icon in system tray with appindicator, works fine with topicon (like HexChat for me).

Appindicator need improvement from Canonical. Hope for Ubuntu 18.04.

Recap:

sudo nano /var/lib/dpkg/status remove dependencies of gnome-shell-extension-appindicator from Package: ubuntu-desktop (use search, it's long file);
sudo apt remove gnome-shell-extension-appindicator
sudo apt-mark hold gnome-shell-extension-appindicator to prevent future software update
log-out, log-in back


Ubuntu 15.10 apparently stuck on kernel 3.16.0-38 generic

Please run the command sudo apt-get install linux-generic

This will add the meta-package linux-generic to your list of installed applications, and attempt to bring your kernel to the version specified in the repositories for Ubuntu 15.10


Ubuntu 16.10 unable to Install Nodejs? Any alternative?

First add the repository key

curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -

Then setup the repository and install nodejs 7.3.0

sudo sh -c "echo deb https://deb.nodesource.com/node_7.x yakkety main \ > /etc/apt/sources.list.d/nodesource.list"
sudo apt-get update && sudo apt-get install nodejs


Mythweb is showing directory listing instead of mythweb homepage

Oh and the solution was ţo purge mythweb and reinstall using apt-get.


Copy file to directory while appending date to the filename

Aside from some typos, you appear to be trying to use the new filename as the source of the cp command, rather than its destination. Try

cp "/home/andy/.mozilla/firefox/9r99csdk.default/cookies.sqlite" "/home/andy/Downloads/${now1}cookies.sqlite"

Note the use of braces around the variable expansion to distinguish ${now1}cookies from $now1cookies


Personalize monitor position before login

I was experiencing this too. So long as you have your monitors configured as you want them in your user space then you should be able to follow these steps to set your monitors up the same way on the log in screen:

Open a terminal
Type sudo cp ~/.config/monitors.xml /var/lib/lightdm/.config/
Enter user password
Reboot your computer

Kudos goes to this post over here for pointing me in the right direction: Wrong Login Screen Resolution


Where does Ubuntu 18.04 stores network settings?

To be more precise, connections you created via graphical interface are stored in /etc/NetworkManager/system-connections, for example on my working PC I have file Wired connection 1.nmconnection in this directory with such content for static IP connection:

[connection]
id=Wired connection 1
uuid=a3e912b0-f428-333f-a097-3a82d768a3cd
type=ethernet
autoconnect-priority=-100
permissions=

[ethernet]
duplex=half
mac-address=78:24:AF:3D:CD:21
mac-address-blacklist=
speed=100

[ipv4]
address1=192.168.1.8/21
dns-search=
method=manual

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto

and Wired connection 2.nmconnection for DHCP connection, which differs in [ipv4] section:

[ipv4]
dns-search=
method=auto

Note, in this file there is device uuid instead of network card name. To match uuid's and card name you can use nmcli connection show:

NAME                    UUID                                  TYPE      DEVICE
Wired connection 1      a3e912b0-f428-333f-a097-3a82d768a3cd  ethernet  eno1


To test the maximum MTU size on a link (i.e. to test for ICMP fragmentation) you can set the ping packet size using the -s option.

For example, to find the maximum MTU you can loop over increasing packet sizes until ping returns an error code:

size=1272
while ping -s $size -c1 -M do google.com >&/dev/null; do
  ((size+=4))
done
echo "Max MTU size: $((size-4+28))"


Ubuntu 12.04 upgrade to ubuntu 13.04 stalled

Download ubuntu 13.04 from the website. Boot it from a bootable usb or dvd. Install ubuntu 13.04 by choosing something else in the install option. This would help you to manage the partition and install 13.04. If you have a slow internet connection then skip the update procedure during install and manually install them after installing 13.04 by going to the update manager.


Dell Dimension 3000 goes into sleep and won't wake up

Edit/Create xorg.conf file

sudo -H gedit /etc/X11/xorg.conf

And paste these lines:

Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "DontZap" "false"
EndSection

Reboot. Done.


The reason is because several environment variables are not set and passed to startxfce4.  Create a /usr/local/bin/start-xubuntu file and put "start-xubuntu" in ~/.xsessions:
#!/bin/bash

export XDG_DATA_DIRS="/usr/share/xfce4:/usr/share/xubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share"
export XDG_CONFIG_DIRS="/etc/xdg/xdg-xubuntu:/etc/xdg"

export LANG=en_US.UTF-8
export GDM_LANG=en_US.UTF-8
export DESKTOP_SESSION=xubuntu
export GDMSESSION=xubuntu
export XDG_SESSION_DESKTOP=xubuntu

# propagate to X sessions. It is important when user first
# login, they decide on the initial xfce/xubuntu template settings.
dbus-update-activation-environment --verbose XDG_DATA_DIRS XDG_CONFIG_DIRS DESKTOP_SESSION GDMSESSION XDG_SESSION_DESKTOP

exec startxfce4

Kudos goes to Netspectrum Ubuntu AMI on AWS, which gives you a ready-to-go xubuntu desktop via VNC, RDP or browser in a few seconds.


What does indicator-application-service do?

indicator-application-service is the service that is used to manage application indicators.    Application indicators are a way for applications that don't provide any indicator integration with any of the existing indicators such as Messaging, Session, DateTime, etc.  You can think of it as the replacement for the former systray.

Applications that want to provide status that doesn't fit into the existing categories can register with indicator-application-service and get an icon displayed in the panel.


You can try xsane, available in ubuntu software centre.


Suspend killed my laptop (can't resume, can't reboot, no BIOS screen)

I have the same problem, but essentially it only kills the screen.

You can check yourself: type "sudo pm-suspend" from the prompt. i assume it works (here it works). this is the same command as called when you close your lid.

Now open a terminal and already type "sudo pm-suspend". do not press enter.

now close the lid. your computer becomes what you call "a brick".

now press enter (which will execute the command you just typed in the command line). maybe you also need to type your root password followed by another enter.

voila, your computer went into suspend and resumes when you open the lid.


How prioritize ethernet over wifi in Ubuntu 18.04?

Open the terminal application and type:

nm-connection-editor

On the window that opens, select your Wired Connection and click the gear icon at the bottom of the window to edit it. You need to select the General tab, enable "Connect automatically with priority", and change the priority to 1. This will prioritize the ethernet connection.

Understand that:

Ubuntu normally auto-selects the connection with the best performance.
If you have an ethernet connectivity problem, that would explain why your connections keep on switching.
Check that your USB-C port doesn't power itself down at idle... you may have to check BIOS settings for that.


This seems to work for me (in the below examples, the first one was taken with nothing else going on, and the second was taken reading a big huge file):

doug@s15:~/iso$ iostat -dxy 2 1 /dev/sda | grep sda | awk  {'print $14'}
0.00
doug@s15:~/iso$ iostat -dxy 2 1 /dev/sda | grep sda | awk  {'print $14'}
100.00

The command takes one sample over a 2 second interval, and ignores the starting statistics.

NOTE: On my computer I had to use the 14th column instead of the 16th.


WIFI Problem - Diconnected you are now offline

I would change the router settings for encryption/security to WPA2 only and set channel to channel 9.

Another change would be echo "options iwlwifi 11n_disable=8" | sudo tee /etc/modprobe.d/iwl2.conf
Reboot


Ubuntu 19.10, kate version 19.04.3-0ubuntu2.1 : add konsole

Settings > Configure Kate > Plugins : tick "Terminal Tool Wiew" > Apply
Tools : tick "Focus Terminal"


Any ways to make Unity pop up faster/better?

Move your cursor to the very top left hand of the screen and you will see that the launcher appears slightly faster than moving the cursor to the left of the screen to make the launcher appear.

I have just done exactly what I have detailed and have noticed better launcher appearance times than previously just moving it towards the left of the screen.


How to alt+tab between more than 2 windows in GNOME 3?

Just install the AlternateTab extension by gcampax: https://extensions.gnome.org/extension/15/alternatetab/

(This took me about 10 seconds of Googling, I don't even use Gnome 3)


Sounds like a DNS issue. You most likely setup your external DNS to point to your firewall/router (external IP). Your firewall then does an IP/Port forward to the correct IP on your network.

For this to work on your internal network, you will need to do a similar DNS setup. But you need to point the address to your internal IP address.

You can do it for your whole network via a DNS server you setup.
Or if you only need this done for one computer then you can just make an entry into the HOST file of the computer:

  sudo nano /etc/hosts

Then type: (according to this format IP HOSTNAME.DOMAIN ALIAS)

  LIP.###.###.### chat.example.com example

LIP = the local ip address of the server you are trying to access

Then try to ping 'chat.example.com' and see if it points to the right IP.

  ping chat.example.com

Be mindful that if you use the host file that this will only work on that computer. Any other computer on the network will have to have a similar entry on their host file. If you have many computers trying to access that, then it would be worth considering setting up a DNS server.


Compiz flickers when an external monitor is plugged in, doesn't stop until reboot or log out/in

If this still applies to you, can you try this two things the check if we have the same issue?

While logged out (login screen) can you plug/unplug the external screen and everything works as expected?
While logged in (your desktop) plug in (or unplug) the external screen, now the screen is unusable, hit Ctrl+Alt+F1 (this switches to a virtual terminal), login and run killall compiz, then hit Ctrl+Alt+F7 (this switches back to the visual terminal, the desktop). You should see the screen flicker a couple of time and become usable again, with the external screen enabled (if you plug it in in the first step)


File wont delete from trash even after sudo rm -rf ~/.local/share/Trash/

Apart the user trash, there could be a trash for every mounted filesystem.
Run the following command to see:

mount | awk '$1 ~ /^\// {print $3}' | while read dir; do find "$dir"/.Trash* 2>&-; done


How can I create keybindings to launch programs from a text console (with no window-manager / X display)?

You can use loadkeys to modify keys in the console (requires sudo).

Basically, you can dump you keys definition in a file:

dumpkeys > myfile.txt

Then edit this file, and search for the line that say string F1 = "something"
Replace something at your leisure, remember the final "\n" if you want the command executed:

string F1 = "ls -lR\n"

then reload the file with

sudo loadkeys myfile.txt

Now pressing F1 will be as if you typed ls -lR and the enter key.

There is a lot more info here: http://www.cyberciti.biz/tips/create-function-keys-based-shortcut-to-speeding-up-work-at-linux-command-line-part-2.html

A word of warning: keep a copy of the original dumpkey file, as the change is global to all the virtual consoles and stable --- if you run a program that requires the normal definition of F1 to work, it will not work unless you reload the original keymap before running it.

A cleaner and less "global" solution could be defining the commands in the shell (no superuser required): https://stackoverflow.com/questions/4200800/in-bash-how-do-i-bind-a-function-key-to-a-command


Gtk skip_taskbar_hint (seen in Glade-ui-Designer) equivalent in Qt

This does the trick:

object.setWindowFlags(QtCore.Qt.SplashScreen)


This software may be installed on 20.10, but you need to manually get NumPy for Python 2 from 20.04 LTS repository; SciPy from 18.04 LTS. Use commands below:
sudo apt-get install python-dev gfortran-9 git

# set gfortran-9 as default (as in 20.04 LTS)
sudo apt-get remove gfortran # remove gfortran-10
sudo ln -s /usr/bin/gfortran-9 /usr/local/bin/gfortran

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/python-numpy/python-numpy_1.16.5-2ubuntu7_amd64.deb
sudo apt-get install ./python-numpy_1.16.5-2ubuntu7_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/python-scipy/python-scipy_0.19.1-2ubuntu1_amd64.deb
sudo apt-get install ./python-scipy_0.19.1-2ubuntu1_amd64.deb

git clone https://github.com/hplgit/odespy
cd odespy
sudo python2 setup.py install

And then use odespy.


head -2 filename | tail -1 | cut -d ':' -f 1


Where does a Ubuntu system store the username and password for a mounted system?

OK your solution is :

In Dash type : Passwords and keys

In Password Tab :

If You delete it, the password will be deleted and will ask you for new credentials for your share .

Try it and reply .


This is due to fragmentation problem of the NTFS partition. Since this is a forum for Ubuntu you can try to solve this from Ubuntu with the ntfsprogs programs (you might already have this installed otherwise: sudo apt-get install ntfsprogs). It includes a command to check NTFS.

ntfsck /dev/sdb1

Where I assume sdb1 is your disc (so you might need to change that).


How to install new version of ubuntu and keep home partition untouched

To install a new version while maintaining your current separate /home partition, you need to select "Something else" between the options that the installer presents.

That brings you to a screen where you can designate mount points for the new installation yourself.

In that screen, assign your current root partition (/) to become the root partition of the new installation. To that aim, you click the partition. You then get an "Edit partition" dialog:

There you indicate how the partition must be formatted ("use as"), whether the partition must be formatted or not, and where the partition must be mounted.

For the partition you currently use as root partition: Use as: ext4; Format: Yes; Mount point: /.
For the partition you currently use as home partition: Use as: ext4 (provided it is currently in ext4); Format: No; Mount point: /home.

If you continue the installation, the root partition will be fully wiped. The files on the '/home' partition will be preserved.


Why does the number of upgradable packages differ according to MOTD and apt list --upgradable?

The discrepancy occurs because MOTD does not update at each login, so the MOTD count may be stale. Use apt for current information.
The number of packages can vary during each day as apt updates are run (there's a daily timer job for that), as unattended-upgrades installs security upgrades (there's another daily timer for that), as new updates appear in the repositories, and as you manually run apt tools.
You cannot get the names of the 18 packages - they are not retained when apt generates the number for MOTD. However, there is nothing special about them -- they were simply the 18 at the time that MOTD message was generated, which may have been hours ago. Run a normal apt update/upgrade, then logout, then login again to see how the MOTD has changed.


Hold shift when you bootup your computer.  The GRUB menu will come up.  Select "Advanced Options" and then "Recovery Mode."  Once you are in recovery mode, type:

mount -o remount,rw /

to get your filesystem mounted read/write.  Then type:

passwd {your username}

Then enter your new password.  Reboot and you should be good to go.  Let me know if you have any problems and we'll take it step by step.


No check box for .jar files in properties for running files as executable

Open up a command line/terminal and run chmod a+x filepath/file.jar


Thanks Ryan McClure!! I had the same logging in problem and it worked for me!!

I had the same problem as rakshith after when ubuntu hung-up while using firefox.I tried many times, but the same log-in screen flashed again and again. After reading this post, i tried Ctrl+Alt+F1 and deleted the .Xauthority file, rebooted it and my next log-in succesfully brought up the GUI.


Ubuntu 16.04 Nvidia geforce gt 610 display and sound by hdmi

Go to your sound menu and make sure that HDMI is selected. I also had this problem. By default the system is set up to play on an internal sound system.


What are the requirements of the Canonical Reseller Partner Program?

I am not affiliated with Canonical, nor do I represent them in any way. Though there are representatives on this site, I don't think this is the place for those questions. They do have a website you might want to look at. Particularly the Reseller Partner Programme. It includes a form that you can simply fill out, and they'll get in contact with you. You'll simply fill out name, addresses, what kind of partnership you're interested in and a description of your ideas. All encounters I've had with people from Canonical have been very friendly, so don't be afraid to contact them.

You might want to buy your penguin a new hat though. :)

This is where it becomes more generic. First of all, you should know that you're not required to partner up with Canonical in order to sell Ubuntu or services for it. However, they do own the trademark and other branding materials, so you'll have to read up on that. You'll probably want to partner with them so you can have an "intellectual upstream" to lean on when things get difficult. And they have some nice software that's not generally available that you might want to provide to your customers.

If your goal is to provide training to users, I would consider getting a certification if possible. LPI can provide that. They also have partnership programs. I'd check that out if I were you. There used to be an Ubuntu specific certification, but I don't think that exists anymore.

As every other upstart, you'll want to have a good plan. You need to know exactly what services you wish to provide, who you're going to provide it to, etc. Whether your goal is to attract customers or to enter partnerships, a good plan will be of great value and help create a good impression. But just contact them. I'm sure they'll be very helpful and friendly.


Which is the recommended driver for my graphics card?

You will have to try them for yourself. In general, use the stable (rather then experimental) driver with the highest (version) number. If that fails, try the experimental driver.

You can always changes drivers if you do not like the current driver, but it does require rebooting between drivers.


Does anyone know of any work being done on EEE transformer?

Sure, check out the link
http://forum.xda-developers.com/wiki/ASUS_Eee_Pad_Transformer/How_to_install_Ubuntu
That may not be for the Prime, but should point you in the right direction.


Does upgrading Ubuntu respect my existing partitions?

Yes, it will. I've done this upgrade, and can confirm partitions are kept as is. Note that there have been bugs in older versions of Ubuntu that have had issues with this: partition wiped after distribution update.


Ran netbeans IDE with sudo from the terminal

When you ran it with sudo, you caused it to change the ownership of its config files to root. This is a common problem when running graphical programs with sudo.

The fix is simple enough, just change the ownership back. Open a terminal and run:

sudo chown -R mario:mario /home/mario/.netbeans


Ubuntu will not allow me to install programs or updates

Your /boot partition is full.

You need to free up space in the /boot folder by removing old and unused kernels. Please refer to this or this Answer on askubuntu on how to do that.

For regular cleanup when apt-get is working again you can run

sudo apt-get autoremove


Inhibit suspend and hibernate until process terminates

This did the trick (thanks to J. Starnes' comment)

#!/bin/sh
systemd-inhibit --type=sleep --mode=block optirun "$@"


Wanda the fish for GNOME 3.8 ubuntu 13.04

There's a Wanda the Fish gnome shell extension here: https://extensions.gnome.org/extension/676/wanda-the-fish/ Just like the old Wanda!


How to add a "Show desktop" icon to the launcher?

13.04 and later
The show-desktop icon is now a toggle option via System Settings - Appearance


How to disable Fast boot when BIOS is inaccessible

Three possibilities:

Reboot into UEFI settings

Assuming that your machine still boots, you could try and reboot your current OS into the UEFI settings. This is possible on Windows (but off-topic here). On GNU/Linux systems, try:
sudo systemctl reboot --firmware-setup

And then reset the fastboot option. Note that this does not work for all UEFI firmware, depending on the quality of the implementation.

Change the grub default

Another way to get out of this catch 22 would be altering the grub default. Run:
grep -e "^menuentry " /boot/grub/grub.cfg

and see if it has UEFI Firmware Settings. IF it does, count the menuentries starting from 0. Then edit the default that grub will boot:
sudo nano /etc/default/grub

(or use vi instead of nano) and set the GRUB_DEFAULT= to the value you counted. Run
sudo update-grub

To 'set' the default option you'll boot the next time. You could even select that OS from Redmond and try your luck there. Once in the UEFI setup, disable FastBoot, save and reboot, select Ubuntu, en reset the default in /etc/default/grub back to the old value (0, probably). (Don't forget update-grub). Again, this will probably only work on decent UEFI implementations.
A side note: On dual boot systems, I set GRUB_DEFAULT=saved and add a line GRUB_SAVEDEFAULT=true. This will make grub remember what was started last - handy when Windows wants to endlessly restart during major updates.

Hardware-reset the UEFI settings

If all else fails: refer to your hardware manual looking for BIOS setup reset (usually involves opening the case, removing the battery, placing a jumper, removing it and restarting). All UEFI/BIOS settings will be lost - do this only if you know how the UEFI is configured now - if, for example, your SATA controller was set to something other than the default, you'll have trouble accessing the contents of your harddisk(s). (Mainly you get to choose between RST, AHCI and IDE (or legacy or whatever), with AHCI the most likely one.)


Why do I only get half a desktop wallpaper?

If your purpose is to display the current earth view, you might make use of xplanet, which gets a more frequently updated image.

Install xplanet with -

sudo apt-get install xplanet

Then, in your script replace the image source with the xplanet output as below.

xplanet -body earth -num_times 1 -projection mercator -output $wallpaper_name -geometry 1366x768
(replace geometry parameter value with your screen size).

Now, you will get a more frequently updated image that won't be sliced.


What package is responsible for bash completion for systemd/systemctl on Ubuntu?

I found this answer by first, finding out which package provides systemctl:

$ dpkg -S $(type -p systemctl)
systemd: /bin/systemctl

Then looking at the contents of the systemd package, I see:

$ dpkg -L systemd
...<snip>...
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/systemd-run
/usr/share/bash-completion/completions/timedatectl
/usr/share/bash-completion/completions/systemd-analyze
/usr/share/bash-completion/completions/systemd-cgtop
/usr/share/bash-completion/completions/systemd-delta
/usr/share/bash-completion/completions/systemd-path
/usr/share/bash-completion/completions/journalctl
/usr/share/bash-completion/completions/systemd-detect-virt
/usr/share/bash-completion/completions/localectl
/usr/share/bash-completion/completions/networkctl
/usr/share/bash-completion/completions/hostnamectl
/usr/share/bash-completion/completions/bootctl
/usr/share/bash-completion/completions/systemd-cat
/usr/share/bash-completion/completions/systemd-cgls
/usr/share/bash-completion/completions/systemctl       <---
/usr/share/bash-completion/completions/busctl
/usr/share/bash-completion/completions/loginctl


The version which you ask for was not available on feature freeze of 18.04 and will however maybe make it into 18.10. However for older versions of Ubuntu and 18.04 you can get this version of GIMP from a PPA. Follow the below steps to get it:

sudo apt remove --purge gimp
sudo add-apt-repository ppa:otto-kesselgulasch/gimp-edge
sudo apt update # Beginning with 18.04 this step can be omitted
sudo apt install gimp

This gives you as of time I'm writing this 2.10. This PPA is well maintained.
I'm not afilliated with this PPA in any form.


Shell script to copy a specific file from one folder to another with date

If you're looking for a specific file, why run a loop? You can directly test for the existence of that file:

if [[ -f $source ]]
then
    dstfile=$(basename "$source")
    ...
fi


redirect traffic from 2 Ubuntu external NICs to specific internal hosts

It sounds like its a routing problem.

The returning traffic uses the default outgoing interface among the two interfaces you have on your external machine.

And its apparently not the same interface as the traffic used for the incoming traffic.
You can verify if this is the case by running tcpdump -v -i ethX
 on your machine for each of the interfaces. Where X is the interface number


How can I remove fonts that I never use, from libreoffice and linux in general?

You have several methods. I can list 4...

Graphical interface
===================

Firstly you can install font-manager with this command:
sudo aptitude install font-manager

You can disable (So not remove! Disabling makes them disappear for you but other users on that system will still see them) fonts from here. This is what it looks like:

Manual removal from Ubuntu Software Center
==============

As an alternative have a search in Ubuntu Software Center for fonts and delete them from there.

Manual removal as packages through command line
==============

None english fonts can be removed with this command:
sudo apt-get remove ttf-indic-fonts-core ttf-kacst-one ttf-khmeros-core ttf-lao ttf-punjabi-fonts ttf-takao-pgothic ttf-thai-tlwg ttf-unfonts-core ttf-wqy-microhei

Here is a list of all the font packages. You can add the font package name to the command above to include them for removal.
If at any time you remove a font that you want back just do a
 sudo apt-get install ttf-indic-fonts-core

And the indic fonts will be re-installed (ofc. change the package name to what you want).

Manual command line removal
===========================

Besides this you can look at
/etc/fonts/fonts.conf

to see where fonts are stored. Normally this will be in 1 of these locations:
/usr/share/fonts
/usr/local/share/fonts
/home/$USER/.local/share/fonts
/home/$USER/.fonts

With admin privileges you can just remove them. They should then disappear from any location.


Ubuntu 18: date lagging behind by ~17 seconds

Time sync protocol uses UDP, not TCP.

You need to allow UDP protocol in your firewall settings.


Your file has DOS/Windows style line endings (CR LF), but on Unix-like systems only the LF control character is used as line break.

The additional CR control character is shown encoded as ^M in your output. You can also see it when you run cat -A setup_lnx.sh.

To convert the line endings from DOS/Windows style to Unix style, there's a tool called dos2unix. You install it using:

sudo apt-get install dos2unix

Then you can simply convert files' line endings in both ways using

dos2unix FILENAME
unix2dos FILENAME

In your case, simply run this command below and the script file will be converted in-place:

dos2unix setup_lnx.sh

After that Bash should be able to interpret the file correctly.


Messaging menu integration for Thunderbird does not work in Ubuntu 12.10 anymore

I think the memenu only is disabled, turning it On in the broadcast menu, look at this.

I think it helps you.

EDIT:

I've the package thunderbird-globalmenu installed (for a long time...)

In thunderbird you have to change some preferences maybe

In the german version look at the following:

Bearbeiten -> Einstellungen -> Allgemein -> Im Nachrichtenmenü anzeigen (check)

and maybe check "Für Nachrichten in allen Ordner"

in englisch I think the preferences are something like

Edit -> Prefernces -> Global (Menu on the left side) -> Show in Messaging Menu (check)

and maybe check "For all folders"

I have Ubuntu 12.04 installed with thunderbird 17.0.3 and I can see new messages in the menu and get a blue icon


You should not use long dash instead of minus sign (-). Replace all – to - and retry.

sudo add-apt-repository universe
sudo apt-get install libodbcinstq4-1 libodbcinstq4-1:i386 libzthread-2.3-2


Does the SConnect Firefox extension work in Ubuntu?

It turns out that the current version (SConnect 2.10.0.0) works in Ubuntu 18.04 but it does not work out-of-the-box for Ubuntu 19.04 due to different versions of some libraries that are needed.

In Ubuntu 19.04 it can be fixed as follows:

First, to troubleshoot we can try running the executable sconnect_host_linux (included in the sconnect-host-v2.10.0.0.tar.gz file that was downloaded by the SConnect installation attempt) manually from the command-line to see what goes wrong:

./sconnect_host_linux
./sconnect_host_linux: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

Alternatively we can use ldd to list the libraries that are not found:

ldd sconnect_host_linux | grep "not found"
libcrypto.so.1.0.0 => not found
libssl.so.1.0.0 => not found

The libraries libcrypto.so and libssl.so do exist in Ubuntu 19.04 but as newer versions; the problem is that the binary executable sconnect_host_linux needs the old versions.

To make it work, we can find the old versions of those library files (e.g. locate libcrypto.so.1.0.0 shows it sitting in some /snap/ directories) and put them some directory e.g. $HOME/sconnect_libs, then add that library path to /etc/ld.so.conf.d/sconnect.conf and finally do sudo ldconfig to make the new configuration active. After that, SConnect works also in Ubuntu 19.04.

Thanks to @Fabby whose suggestions helped solve this.


Cannot open text editor with double click in ftp Nautilus

This is affecting 18.04 as well. The only remotely related bug (and really old one) I have found is  Files & Folders - Favorites opens FTP in browser instead of Nautilus . But this proposed solution doesn't help.

Open
/usr/share/applications/mimeinfo.cache
Find
x-scheme-handler/ftp=firefox.desktop;
change it to:
x-scheme-handler/ftp=nautilus-folder-handler.desktop;


Problem with Lubuntu in a moment all desktop icons lost and i cant create new icons on my desktop, why?

I've lost everything on my desktop? has a specific suggestion; check to make sure there aren't two Desktop folders, one in Greek and one in another language.

Also, as per that link, try restarting the pcmanfm file manager in Lubuntu from a terminal emulator { Ctrl-Alt-T }.


How to change default dock applications for new users?

This solution allowed me to set default favorite applications for users in Ubuntu 18.04. Note: If the user has a ~/.config/dconf/user file that will be used instead and the defaults will not be applied.

  mkdir -p /etc/dconf/profile; vim /etc/dconf/profile/user

#This line allows the user to change the default favorites later.
user-db:user
#This line defines a system database named msb
system-db:msb

  mkdir -p /etc/dconf/db/msb.d; vim /etc/dconf/db/msb.d/00_msb_settings

# Define default favorite apps
[org/gnome/shell]
favorite-apps = ['chromium-browser.desktop', 'firefox.desktop', 'gnome-terminal.desktop', 'nautilus.desktop']

  dconf update; chmod a+rx -R /etc/dconf


How to get KATE's Spell Checker to show all misspelled words?

I found several reports of this bug. Listing here, here and here.

However, there is a workaround. You need to disable Enable autodetection of language from Settings -> Configure Kate -> Editing -> Spellcheck tab.

Then it will detect the error if you go to Tools -> Spelling -> Spelling. But auto-detection doesn't work sometimes. You can make this menu a shortcut by using Settings -> Configure Shortcuts menu.


Icons have disappeared from desktop, and right-click fails

Solved by the OP:

gsettings set org.gnome.desktop.background show-desktop-icons true


How do I get Ubuntu to not mount my encrypted partitions on boot?

You should specify this on /etc/crypttab, like this -

  {encrypted-block-device} {block-device} none noauto

Explanation:

encrypted-block-device - This is the device you setup using cryptsetup under /dev/mapper/

block-device - this is the actual block device. Eg: /dev/sda1

none - This mean password is not specified, hence it will be prompted.

noauto - This will prevent auto mount during the boot time.

So altogether, line should be like this (assuming my encrypt device is xdisk),

  xdisk /dev/sda1 none noauto


32-bit PAE - Only 2 GB of ram recognized, 4 GB installed

Well, I found the culprit... to other users, do not buy two modules of RAM of different brands. This was solved by buying 2 of the same brand, same specs, of 4GB, now I have 8GB. Thank you for comments.

Here is a similar question regarding RAMs with different Bus speed

Is it safe to use RAM sticks with different frequencies?


How can I change the system language to German - even if the system won't change the language

I had the same problem and I tried this:

Go to "System Settings" -->   "Keyboard **Layout"
(in German it is "Systemeinstellungen" --> "Tasten"
Add the "English" keyboard layout to the list. Now there will appear a keyboard-symbol in the menu-bar beneath your name, etc.
Click at that symbol and select "German".


Getting iMac mid 2011 to dual-boot ubuntu from USB drive

I have the same iMac: mid-2011 or 12,1. I've come to the conclusion this model can't boot other OSes from USB. As you say, this capability varies from model to model.

I just boot from a CD instead. I recently did this to flash new firmware to my SSD.


How to cleanly remove a badly installed .deb?

Edit /var/lib/dpkg/available and /var/lib/dpkg/status to change the Version: line of the jarnal package to something dpkg likes, such as 0build901.

If there's no entry in the status file, then by definition you don't have the package installed. It's possible that the uninstall failed and that you didn't finish cleaning up properly; check if there are files /var/lib/dpkg/info/jarnal.*. If the package is installed, there should be a file jarnal.list with the list of files provided with the package. If you're removing a badly formed package manually, you don't need to worry about the other files in /var/lib/dpkg/info.


Ubuntu Gnome 15.10 hangs at splash screen, loading icon freezes

I've recently had this problem with Ubuntu 15.10. I installed gnome-shell from the Software Centre and after rebooting it froze on bootup. Looking in syslog I saw the exact same message:

[OK] Started User Manager for UID 1000.

After searching around, I found this:
gdm not working with Ubuntu 15.10

Installing ubuntu-gnome-desktop, then running dpkg-reconfigure gdm fixed the problem for me.


Why are not Mate, Cinnamon and Pantheon available in default Ubuntu repositories?

cinnamon is available in the default repositories for 13.04

mate-desktop-environment is available from it's own repository with packages for 12.04, 12.10 and 13.04
To add the mate repo:

sudo add-apt-repository "deb http://packages.mate-desktop.org/repo/ubuntu $(lsb_release -cs) main"
sudo add-apt-repository "deb http://repo.mate-desktop.org/ubuntu $(lsb_release -cs) main"
sudo add-apt-repository "deb http://mirror1.mate-desktop.org/ubuntu $(lsb_release -cs) main"

pantheon is considered an unstable environment for the (still in beta) elementary OS

Info from the elementary PPA page here:

  ATTENTION!
  Do NOT install this PPA if you want a tested running system, this PPA contains the newest and most unstable development of elementary, it's useful only if you are a developer and are not afraid to encounter CRITICAL BUGS.

The stable elementary PPA contains only packages for precise


I am having trouble reading your question, so I assume that you are inquiring about SkyDrive support. You can do that using SMEstorage as a bridge:
First, install Ubuntu, following these guidelines.

Download the SMEStorage application from http://smestorage.com/files/5dd8762105116876fdea9b87277e18b7.deb

Double-click it, and install it using Software Centre.

Register at http://smestorage.com/?p=uregister&pa_id=48. The free package will be fine as it offers all you need.

Open SME storage Explorer by searching it from the dash and supply your SMEstorage credentials.

Click the icon with the two yellow cylinders(I believe it's the rightmost icon on the toolbar) and select Skydrive from the list. Supply your login information.

To mount it so you can copy data from it easily, open SME Storage client by searching it in the dash.

Pick a location(/home/[your username]/smestorage) is fine, and then by opening your home folder and going to the location where you mounted it, you can copy data to your hard disk.
If you have any trouble related to opening some files, I can help. Just leave a comment(That can be done even with 1 reputation for your posts and answers thereof)

Source: http://www.liberiangeek.net/2011/12/mount-map-microsoft-skydrive-in-ubuntu-11-10-oneiric-ocelot/


Possible to format/create partitions with Clonezilla?

You can partition and format a drive if you have booted a system with a Clonezilla Live CD/DVD by obtaining a command line prompt, which is one of the menu options you will see after booting from the CD or DVD. Then use fdisk to partition the drive and mkfs.ext3 to format the drive. E.g., if the drive you wish to partition and format is identified by /dev/sdb you could obtain a command prompt and issue the fdisk command below to create a new partition on the drive.

sudo fdisk /dev/sdb

You could then partition the drive within fdisk. After partitioning the drive you could format partition 1 on the drive with the ext3 file system with the command below:

sudo mkfs.ext3 /dev/sdb1

Or you could substitute another file system type for ext3, e.g., ext2, ext4, msdos, ntfs, vfat.

E.g., see Partitioning and formatting a disk drive with Clonezilla.

If you wish to resize a drive formatted with the NTFS file system, you can use the ntfsresize command.

When you have finished with the drive changes, you can get back to the Clonezilla menus with sudo clonezilla


Displaying a HTML email with apple-inline img tag?

I found out that this is a known problem.

The only solutions I have found are for the Mac users... If this is a one-time thing, you can ask the sender to install this plugin, that should fix it as stated here.


Why Does Unity lag Often That I have To Manually Shutdown/Restart my Core i3 Laptop?

It's Confirmed! It's Ubuntu One that is responsible for the lag in my laptop. When I removed UbuntuOne in my startup items, I rebooted then my Ubuntu is faster now. The way Ubuntu should be. ^_^


How do I make my java app compatible with the unity global menu?

There is a library called java-gnome (a java gtk wrapper) that allows your apps to behave like all of the native apps. It provides all the glory to them: native widgets, global menu, etc.

The library is available on the ubuntu repositories:

Library: libjava-gnome-java
Examples: libjava-gnome-java-doc

The goal of the library is to develop a rich Java + Gnome experience. Beware, that if you use this library your app will lose the multiplatform feature of Java (since it'll be tied to java-gnome).

Here is a sample app (that comes with java-gnome) displaying the menu integration:


Software center shows "use this source" instead of "install"

You should add ubuntu software repository to your software sources. Here is the instructions.


Use torify.

$ man torify
torify is a simple wrapper that attempts to find the best underlying Tor wrapper available on a system. It calls torsocks or tsocks with a tor specific configuration file.

E.g. to update and upgrade your packages:

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


This bug was identified.

It was related to Oracle Java, crashing in LibreOffice.

https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1698391

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1699772

After removing Oracle Java and reinstalling OpenJDK, the problem was solved.


I can not remove Ruby1.9.3p0 from ubuntu. What is the process?

The package name is ruby1.9.1 but the software version is 1.9.3, so remove it running:

sudo apt-get remove ruby1.9.1 libruby1.9.1


Run sudo updatedb then re-run your locate, expect you'll find it's just that locate's database is not current since you've only just deleted the files concerned.


How can I turn off click to minimize only for applications that have multiple windows opened?

Open Terminal and run the following command to get something close to what you're after

gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize-or-overview'

Now if you have only one window of an application open, clicking its icon in Ubuntu dock would switch between minimised and restored states. But if you have multiple windows of the application open, then clicking on the icon would open "Activities" overview from where you would be able to select you preferred window.


Do this in terminal

passwd

you can change the password for the account you are currently logged in

for changing other users password do

passwd <username>

the problem with yours maybe your caps lock was on or mistyped your password.

If unable to reset your password or lost it do the following:

Boot into recovery mode
then select 'root'
then enter command

mount -o rw,remount /

then do

passwd username

this resets the password for the specified account

if you have forgotten the username as well do

ls /home

and the list of users show up

reset the password by entering the above mentioned command

then enter

exit

and select resume from the recovery options menu then ok


Such a popup would come up if you execute

Gnome:

system("gksudo <command>");

KDE:

system("kdesudo <command>");


No dual boot option for windows after installing new version of ubuntu

Hold down the shift key after the BIOS screen. That forces the grub menu to show up, but +1 for Mohammed aadhil's comment. It really looks like it.


Ask The Author
Given the wiki page says that "submission must be submitted by the author of the work", one obvious way to do it would be to ask the original authors to take the time to submit their work. You can send them an email explaining the benefits of having their work be part of the free culture showcase. Like "exposure to millions"[1] of users.

Dear Johnny McArtist,
I was impressed by your work, "unicorn with rainbow", and I would like to see it be part of the Ubuntu Free Culture Showcase.

"The Ubuntu Free Culture Showcase is an opportunity to show off high quality free culture content in Ubuntu. At the heart of Ubuntu's ethos is a belief in showcasing free software and free culture, and with each development cycle we open the opportunity for any artist to put their work in front of millions of Ubuntu users around the world." (via the Ubuntu wiki)

In order to submit your work, please add it to the Ubuntu Free Culture Showcase (pool/group) on (vimeo, flickr, soundcloud).
(some links explaining Ubuntu/Free Culture/Creative Commons, if applicable)
Thank you very much,

Assuming the licensing is in order, this should give you a good chance at getting your favourite work into the FCS.


What you're seeing is the last few bits of house keeping before pivoting from the initramfs onto the real root and starting to boot real things.

You can see this point in /usr/share/initramfs-tools/init

run_scripts /scripts/init-bottom
[ "$quiet" != "y" ] && log_end_msg

That log_end_msg is your '...done', so everything after that is where you are probably seeing a delay. Its all pretty lightweight stuff. Mostly just moving global things like /sys and /proc into the real root fs and then just running init. Its also possible that init has been run, and you're at the point of 'startup', and you're now waking up your disks to mount them, and catching up on any udev events you may have missed while the rootfs was pivoted.

If you haven't tried bootchart yet, its worth a look. Just sudo apt-get install bootchart. This should tell you a lot about what the system is spending its time on during boot.


Why showing two vmlinuz and initrd.img in update-grub?

Your output shows three different kernels, each of which has an associated initrd file:

vmlinuz-3.13.0-24-generic
vmlinuz-3.13.0-74-generic
vmlinuz-3.13.0-76-generic

These are three kernels in the 3.13.0 series, with Ubuntu-specific sub-versions of 24, 74, and 76. This type of configuration is perfectly normal. Ordinarily, an Ubuntu installation drops a starting kernel on the computer. As time goes on, though, the kernel may be updated to fix bugs or add features, so your normal software update process will install whatever update is currently available. This process continues. Left unchecked, you can end up with dozens of kernels installed, which can cause problems if you've got a separate /boot partition that's too small. This issue is documented in a couple of bug reports:

https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1357093
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1465050

If you type sudo apt-get autoremove as part of your software-update process, the number of installed kernels will normally be limited to a maximum of three, so problems should not occur unless your /boot partition is significantly smaller than the default of ~250MB.

Keeping multiple kernels installed is a useful precaution. Although kernel updates are often introduced to fix bugs, they sometimes unintentionally create new bugs. In extreme cases, a kernel bug can prevent the OS from booting. Although this problem is rare, keeping the last-booted kernel installed guarantees you'll have a way to boot the computer should such a problem occur. You'll need to select the older, working kernel in the boot manager (typically GRUB), but at least that possibility exists.

Note also that you can install separate signed kernels, in addition to the standard unsigned kernels. The signed kernels have the same filenames as their unsigned counterparts, but with .efi.signed appended. Signed kernels are needed to boot from some boot loaders (such as rEFInd or Fedora's GRUB) when Secure Boot is active. Ubuntu should set itself up to install signed kernels if the installer detects that Secure Boot is active. Thus, you could end up with six kernels (and three matching initrd files, which are not signed), even if you regularly run sudo apt-get autoremove.


How do I solve a "server version mismatch" with pg_dump when I need BOTH PostgreSQL servers installed?

TL;DR: if both PostgreSQL instances are managed by the Ubuntu packages (as they should), just use the --cluster option to select the PostgreSQL instance to backup, and it will automatically choose the corresponding version of pg_dump:

pg_dump --cluster 9.1/main [other pg_dump options]

or

pg_dump --cluster 9.3/main [other pg_dump options].

main is just a default value, run pg_lsclusters to see your actual names in the Cluster column.

How it works: as installed by the Ubuntu packages, /usr/bin/pg_dump is actually a soft-link to /usr/share/postgresql-common/pg_wrapper, whose purpose is precisely to select the correct instance and run the corresponding binary. --cluster does not exist in the stock PostgreSQL commands, it's a Debian/Ubuntu addition that is meant to address this multiple versions/multiple paths problem.

This is the same for psql, createdb, createuser, etc. about 18 postgres commands in /usr/bin are actually managed by pg_wrapper.

See man pg_wrapper for more.


You might need to look in your nautilus and tell it on what to do to an executable file.

  Open Nautilus -> Edit -> Preferences -> Behaviour -> Executable Text
  Files.

Files might not have default application when opening it.

  Right Click on the file -> Properties -> Open with.

Set a default application of that file. If gedit is already selected and you want to change it just go over with your desired application.


UPDATE:
The same issue arises when you try to install the newest viber 12.0.0.7 in ubuntu 20.04 (at least the beta until now), but with the problematic dependency being libssl1.0. Ubuntu has libssl1.1 installed.

The solution is the exactly the same, just use the corresponding names.

The problem is not only with the viber.deb file but also with the libcurl3 requirement of viber.deb.

In Ubuntu 18.04 libcurl3 cannot coexist with libcurl4 so you are going to face problems with other applications. In my case Viber and Steam could not coexist.

After some search I found the following solution which is to deb-package, fix the dependency and then build a new viber file.

The steps are:

Save the viber.deb file in a folder
Open the folder in a terminal
execute the following commands
dpkg-deb -x viber.deb viber
dpkg-deb --control viber.deb viber/DEBIAN
Edit viber/DEBIAN/control and replace "libcurl3" with "libcurl4"
(also delete the last blank line from the file or you will get an error afterwards)
dpkg -b viber viberlibcurl4.deb
sudo dpkg -i viberlibcurl4.deb or install the .deb file with gdebi

Viber seems to work ok with libcurl4 atleast for me until now.

I found the solution here, in a comment...

https://linuxconfig.org/how-to-install-viber-on-ubuntu-18-04-bionic-beaver-linux


UEFI install only boots if selected from BIOS

It sounds like you've run into a kernel-specific bug. Such things are not unheard-of. The closest I know of is this bug under discussion on the Arch Linux forum. It's been difficult to track down, but my suspicion is that the bug the Archers have found isn't the same as yours, since their bug manifests only when using the EFI stub loader, whereas you're presumably using GRUB. (Then too, if you're not using GRUB, you should tell us what you are using!)

My recommendation is to try another boot loader. There's a chance that it will enable you to bypass the bug, or at least select your old working kernel. Several alternatives are available, but my personal preference is rEFInd, since I maintain it and am therefore very familiar with it. The procedure is:

Select a boot loader.
Install and test your boot loader.
For added safety, back up the /boot/vmlinuz-{version} and /boot/initrd.img-{version} files, as well as the /lib/modules/{version} directory, where {version} is your current working kernel version.
Upgrade your system.

If at this point, if you can boot into your new kernel using the new boot loader, you can put it down to a GRUB bug or a GRUB/kernel incompatibility. If the new boot loader doesn't let you boot the new kernel, try using it with the old one. If that works, then it's almost certainly some variety of kernel bug, and you can just keep using the old kernel. Keep backups, though; I'm not sure about Ubuntu, but some distributions keep only a certain number of kernels around, and so will delete your working kernel after enough kernel upgrades are pushed out.


ISCSI iscsi_trgt sess_param_check(55) default_retain_time is out of range

I advise you to use GlusterFS 3.2.x On Ubuntu 12.04. It's so easy to manage and use. You can read this for more information how to setup


How do I install/update rasterio offline when the installation procedure given is to install with pip3?

Since you installed with pip3 you should upgrade with pip3. For example:

pip3 install --upgrade rasterio

From the man page:

-U, --upgrade

    Upgrade all specified packages to the newest available version. The handling of dependencies depends on the upgrade-strategy used.