Running Archangle 3.4.2 Freenix server for WoW in linux?

I figured it out and since all the install guides are for battle.net I made one for the Freenix server and posted it on the Freenix forum and Ubuntuforums all so.

  1.) Go to the link below in a new tab and follow the download instructions. >Instead of using bitTorrent Ubuntu has a built in application called Transmission bitTorrent Client you can use to download the torrent file be >for opening it with archive manager and extracting it to the desired >location.

  http://www.wow-one.com/forum/topic/139-243-tbc-client-download-and-install/

    Downloading the wow 2.4.3 client:

        2.4.3 WoW No-Install (full client):
        Mirror1: http://goo.gl/cXOLyy

    Installing the wow 2.4.3 client:

          Simply download & extract tbc, with Winrar.

    Set your realmlist

        Realmlist.wtf is a text File that tells your WoW game client which server (realm) to connect to.

        Realmlist.wtf is located in your world of Warcraft directory. To change the server (realm) you want to connect to open the realmlist.wtf file, and replace its content with:

        For Archangel:

        set realmlist vanillafeenix.servegame.org

    Create your Feenix game account

        Create your 2.4.3 game account on our vanilla wow website
        Click to sign up for your feenix gameaccount on the Vanilla wow realm website

    6.) After the Realmlist.wtf file is configured and you have a freenix account. You'll need to install wine to run Burning Crusade.

    7.) After wine is installed open up Configure Wine in your applications list. Under the Application tab select Add application and go to the directory with the Freenix 2.4.3 client folder. Inside the folder directory select Wow.exe and add it to the Applications list for wine. Then select your desired windows version and then Apply and Okay.

    8.) In Ubuntu go to the directory you have the Freenix 2.4.3 client folder in and right click and select open with Wine Windows Program Loader. Then open the Wow.exe program to run the game.

    9.) After signing in to the WoW login it will prompt you to select a server if it did not find the Archangle server by default. You will need to select Development and then PvP be for selecting Search Realmlist. This should connect you dirrectly to the Archangle game server or offer you a selection of the freenix servers to pick from that you configured your Realmlist.wtf file for. After selecting your realm you may create your character and start playing WoW.


How do I remove icon from title bar of Terminal window?

To remove the icon, either

Turn on the Application menu in Gnome Tweak. This shows the application menu in the Gnome topbar (icon + name) instead of in the application window (icon only).
Edit the key org.gnome.desktop.wm.preferences button-layout 'appmenu:close' to remove appmenu:. This way, an appmenu icon will never be shown, even if you turn the application menu in the Gnome topbar off.

If instead, in response to the comments, you would decide to keep the icon and restore its appearance to normal, then try the solutions that was mentioned in the comments:  Terminal icon in window titlebar is stretched out over window control buttons


Automatically create folder in new users' home directory

All new users' home directories are copies of /etc/skel when the user gets created through any method that automatically creates a home directory.

If you are sure that you need the Sales folder on every new user account's home directory, you can just create the folder in /etc/skel.

Make sure the owner and permission of everything you create or modify in there is correct.

Set the permissions you want, they will be copied to the new user's home directory as they are. Usually you take 644 (octal representation) or rw-r--r-- (string representation). You can modify this with one the commands below. Make sure everything is owner-readable and all directories are owner-executable (otherwise the owner can't list or access their content).

sudo chmod 644 /etc/skel/FILE_OR_DIRECTORY to set permissions for a single file or directory using the octal representation.
sudo chmod u=rw,g=r,o=r /etc/skel/FILE_OR_DIRECTORY to set permissions for a single file or directory using a syntax similar to the string representation.
sudo chmod -R 644 /etc/skel to recursively set permissions for all files and directories using the octal representation.
sudo chmod -R u=rw,g=r,o=r /etc/skel to recursively set permissions for all files and directoriesusing a syntax similar to the string representation.

The owner should be root. You change this recursively on all files and folders in /etc/skel with the command below:

sudo chown -R root: /etc/skel


With Kubuntu you first need to have the Ubuntu Software Center installed. Kubuntu uses the Muon Software Center which the Humble Indie Bundle packages are not tied to, however I found a way to get them into Kubuntu.

There is a couple of methods you can try.

The first methos is installing the Ubuntu Software Center in Kubuntu by means of opening a terminal and typing:

sudo apt-get install software-center --no-install-recommends

This will install the software center properly for you and you have to go to File -> Reinstall Previously Purchase Software and use the single sign on to get your list of software.

I posted another method on my personal blog which is way too long to post here but you can look at it by going here.


How to activate LibreOffice anti-aliasing?

If the reason for bad looking fonts is disabled anti-aliasing, then there are few things you could try:

In LibreOffice: Go to Tools in the top menu -> then Options. In the left treeview go to LibreOffice -> View (4th from top). Here are some settings for LibreOffice (like "use Anti-Aliasing").
If your whole system lacks of Anti-Aliasing (what I don't think according to your question) you can install the Tweak-Tool. Open it, go to fonts and choose your way of Anti-Aliasing and font-optimization.

Just give it a try!

If you are using ttf fonts instead and nothing helps see this answer for further help.


How do I save the output of last executed command in terminal after normally executing a command?

You can use $(!!) to view the output of the last executed command.
my_command
echo $(!!)

Example:
ls $HOME
echo $(!!)


First of all the xampp folder is /opt/lampp so if you want to create some php files you need to put them in /opt/lampp/htdocs. Don't use var/www or var/www/html

Now to start the graphical interface

cd /opt/lampp
sudo ./manager-linux.run (or manager-linux-x64.run)

If you don't care about the graphical interface and you just want to run xampp then you do

sudo /opt/lampp/lampp start

To create an alias, open a terminal and type:

alias xampp='sudo /opt/lampp/manager-linux-x64.run'

and now every time you type xampp in the terminal, the graphical interface will start!


Where is Gmail Archive option in Evolution?

Since October 2014, Evolution supports archiving. Archive action is available via the message menu (right-click on the message) and the default shortcut is Ctrl+Alt+A.
From this post:

Archive like Gmail does
If you use Evolution with a Gmail account, and you want the same functionality as the Gmail archive button, you can accomplish this by setting the Evolution archive folder to point to the Gmail “All Mail” folder, which will cause the Evolution archive action to behave as Gmail’s does.
To use this functionality (with or without Gmail), simply select the messages you want to move, and click the “Archive…” button:
This is also available via the “Message” menu. You can also activate with the Control-Alt-a shortcut.


In a host terminal run this:

  sudo usermod -aG vboxusers -yourusername-

If this not work you have to:

Uninstall Virtualbox-4.2

Re install

Re install extension pack

USB should work. (worked for me)


LibreOffice support for ppt format is far from perfect and quite worse than support for doc or xls. The problems that you are experiencing are expected.

You should save your slides as .odp, the OpenOffice native format and only use ppt when you want to share it with another people. That way they will keep the same when you save and open then.

Unluckily you can still experience issues when you export then to ppt, if you need perfect compatibility, you will need to use PowerPoint or convince the other part to use Impress or a more compatible program.

One off-topic idea is to ask your teacher to use Google Docs. It could be easier to sell it to a teacher focusing in its collaboration features.


How do I upgrade Ubuntu 18.04 to 19.10 running in AndroNix?

https://docs.andronix.tech/#can-we-install-multiple-linux-systems-on-your-device  specifies you can have multiple Linux distros on the same machine, so in lieu of an upgrade, suggest you install the new version and see if it works AOK. If not, then use their Post-to-Wall link and ask for advice from experienced users and/or write to the developers at https://andronix.app/contact-us/ .


Your problem there are in locale configurations your system .

Type this to fixed your problem

first run

  locale

generate the missing locale and reconfigure locales

  sudo locale-gen "en_US.UTF-8" && sudo dpkg-reconfigure locales

see more : How do I fix my locale issue?


Slow startup on Ubuntu 18.04 fresh install

You have persistent journal enabled. Make sure in /etc/systemd/journald.conf the row Storage=auto is set. sudo journalctl --rotate  Rotate journal files. and sudo journalctl --vacuum-time=1s

After that sudo rm -rf /var/log/journal

Reboot. Is boot faster?


Ubuntu 12.x USB printer "Stopped - Waiting for printer to become available."

The solution that it works when both are on is because the USB 1.1 you are connecting the printer to has very little power and can have problems with detecting it due to that issue, nothing to be done on Ubuntu as it never makes the USBs go to sleep by default and always gives them the same ammount of power.

PS: If you have a USB 2.0 on the Pentium 4 you will see that you won´t have the issue again when connecting it to that port (once Ubuntu is booted)


How to search entire hard drive from a Live USB?

You probably need to mount the hard drives.  In the linked article, see how a couple of drives have "eject" buttons next to them, while others don't?  When you boot from USB, the USB is mounted, but the hard drives may not be mounted.  Click on the drives themselves in the file manager app, which should either show the contents or prompt you to mount them.  Then you should be able to search them, assuming you have appropriate permissions to read things on the drive.


All you need to do is:

Copy the birds_of_paradise.vim file in ~/.vim/colors. Make the directory first, if it does not exist.

mkdir -p ~/.vim/colors
cp birds_of_paradise.vim ~/.vim/colors

Set colorscheme birds_of_paradise in your .vimrc.


DualShock 4's trackpad is not working on 18.04

Just go to Settings -> Devices -> Mouse and Touchpad. Then turn on Touchpad option.


Where is PATH setup in Ubuntu 16.10 bash shell?

Turns out the PATH was being persisted by the display manager loading ~/.profile, (and /etc/profile and /etc/environment) when creating a desktop session. This means changes to those files aren't going to reflect in new bash sessions and require logging out to take effect.


If your system can't resolve, that is a DNS problem (or, in some cases but not in that case, in /etc/hosts file). Here, I tried to resolve ph.archive.ubuntu.com, and I have got:

$ host ph.archive.ubuntu.com
;; connection timed out; no servers could be reached

Probably, the Canonical's DNS servers have some issue (or simply it dropped this subdomain for some reason).


Really wanting Host Ubuntu to work with Win7 guest in VirtualBox, but it's not working out

Make sure that you previously didn't run virtualbox as sudo, otherwise it has created new profile settings in /root account. Just run sudo virtualbox to check if you can see your machine.
Another approach would be to look for the .vmdk or another possible guest disk files on the your system.

Edit:
So previously you run VBox as sudo and the whole machine is probably in /root/VirtualBox VMs/<machine name> directory.
You can copy/move machine folder to your /home/<youruser>/VirtualBox VMs/ and change machine folder owner to you with

sudo chown -R <user>:<user> <machinenamefolder>

being inside your VMs folder. After that probably you need to double click on win7machine.vbox file inside VM folder to show it inside VBox.


The simpler way is to edit /etc/init/rc-sysinit.conf and change:

env DEFAULT_RUNLEVEL=2

To:

env DEFAULT_RUNLEVEL=N

Where N is the desired runlevel.

The runlevel can be set using kernel parameters. Edit /etc/default/grub, and change:

GRUB_CMDLINE_LINUX="

to

GRUB_CMDLINE_LINUX="N"

Where N is the runlevel you want. Then run:

sudo update-grub

You can also force a one-time boot to a different runlevel by editing the command line from the GRUB menu at boot.

In practice, remember that runlevels 2-5 have no difference in the default Ubuntu setup. So don't expect anything different to happen if you boot to runlevel 3.


Cannot make Google Chrome Default browser

You can change "Preferred Applications" under System \ Preferences \ Preferred Applications
(Classic Gnome) in Unity push the on\off button and go through the settings to Preferred Applications.


How to upgrade a remote box from 10.10 to 12.04 LTS when apt doesn't work?

I'm not sure how would one go about wiping and reinstalling Ubuntu remotely, but you could try the following to upgrade remotely, without apt and do-release-upgrade.

Download the "Alternate CD" for 12.04.3 LTS server edition using:

For 64-bit:

wget http://releases.ubuntu.com/precise/ubuntu-12.04.3-alternate-amd64.iso

For 32-bit:

wget http://releases.ubuntu.com/precise/ubuntu-12.04.3-alternate-i386.iso

Mount it to /media/cdrom using:

sudo mount -o loop ubuntu-12.04.3-alternate-amd64.iso /media/cdrom

Run the following command to start the upgrade:

sh /media/cdrom/cdromupgrade

Or, if you're not root:

gksu "sh '/media/cdrom/cdromupgrade'"

Note 1: I don't know if it's possible to directly upgrade from 10.10 to 12.04. I think you'll need to go through the releases in between, one by one.

Note 2: I haven't tried the above steps before, so I'm not sure if it will work. But according to this: PreciseUpgrade, it should. The steps there indicate to mount the .iso file to "the exact name of the CD", but I'm not sure what the exact name of the CD is on 10.10.


How to run Java application in KDE with Qt-like UI?

Using those Qt bindings is no solution (it requires that the whole application's GUI has to be rewritten).

And OpenOffice.org is written in C++ mostly, with some parts written in other languages like Java.  It also has its own GUI toolkit that can mimic Gtk or Qt (partially) using themes.

And if there is no Qt or KDE-like theming included, I have no idea how to make one.  (I just saw that there are a couple of additional Swing themes in the repository, that might be a thing to try out for those applications that use Swing.)


Why does Ubuntu 19.04 take so long to boot?

Assuming you are using Ubuntu 15.04 or newer, you can disable individual services by running this command in a terminal:

sudo systemctl disable service-to-disable

For example, if you wanted to disable snapd:

sudo systemctl disable snapd

(Do not include the .service extension when referring to a service on systemctl.)

Be careful when disabling a service, however! Some are critical and your system may fail to boot properly if disabled. Research each service listed to determine its importance.


storage internal hard disk directory not seen

Can happen if at some point you did not properly unmounted the drive. The automatically created mount point, /media/me/hard_drive then does not get deleted. Next time the system tries to mount the drive, it sees that folder already exists and therefore creates another mount point, /media/me/hard_drive_1.
Ubuntu automatically creates a mount point for removable drives under /media/$USER according to certain rules. The mount point is a folder where the contents of the drive are going to appear after mounting the drive. If the drive has a label, e.g. hard_drive in your case, it will use the label as the name of the mount point. Otherwise, it uses the UUID of the partition.
To solve the issue

Remove the drive correctly: right-click in Files, select "Safely remove drive". A notification soon after will indicate when it is safe to unplug the drive. Unplug it physically when this notification appears.
Remove the /media/me/hard_drive mount point. You need administration privileges for that. You can do so with the command sudo rmdir /media/me/hard_drive.
Verify that ``/media/me/is empty now (or at least does not anymore contain the/media/me/hard_drive` folder.

Next time you connect the drive, Ubuntu will recreate /media/me/hard_drive and you will see your files back again there.
To prevent the issue from occurring again
Always carefully unmount the drive using software before physically unplugging it from the computer. You can do that, in standard Ubuntu, by right-clicking the drive in Files (nautilus) then selecting "Safely remove drive".


What is it called when I have UBUNTU installed in hard-computer?

Ubuntu Desktop on disk? Or alternatively, your host machine is running Ubuntu, while the Windows will be said to be running on a VM.


Yes. You can find an explanation in this link

Basically, you have to type in your terminal:

xrandr --output Monitor_Name --mode 1366x768 --scale scale_factor1xscale_factor2 --panning 1440z810

Note, however, that your scale factor is

1440/1366 = 1.054172767.

810/768= 1.0546875

As you note, both the width and height isn't a good number. The rescaling may look weird. It would be good for you to find a resolution where you have a "better" number to scale.

For example: 1024 to 1536 has a scale factor of 1.50.

Give it a try.

If the fonts looks too small, you can use Unity Tweak Tool to scale just them.

Type

xrandr

in your terminal to get your monitor name (probably it's LVDS1 or something like that). It also say the maximum resolution you can set there.


Where's the gnome terminal config file located?

There is no config file.

The gnome-terminal manages all its settings through dconf (or gconf in old Ubuntu releases) which is comparable to the Windows registry. It's a binary file optimized for quickly reading its values, you can not edit or view it manually like a text document.

If your dconf-editor or whatever tool you're trying to use is not working, you have to correct that error first.

Just for completeness, but probably you already saw those links (which mention only dconf/gconf, of course):
How do I disable the blinking cursor in gnome-terminal?
How to disable blinking cursor in Gnome 3.8?


It's a pitty that root is not in repository anymore (applies for Ubuntu 11.04).
Here is a way HOW-TO install root on Ubuntu Natty (x86):

DEPENDENCIES:

sudo aptitude install gcc g++ make binutils \
                      libx11-dev libxpm-dev libxft-dev libxext-dev

OPTIONAL DEPENDENCIES: (I've this installed)

sudo aptitude install cmake \
                      gsl-bin libgsl0-dev \
                      liblzma2 liblzma-dev \
                      libgmp3c2 libgmp3-dev \
                      libpcre3 libpcre3-dev \
                      zlib1g zlib1g-dev

HOW TO INSTALL:

wget ftp://root.cern.ch/root/root_v5.30.00.source.tar.gz
tar -xzvpf root_v5.30.00.source.tar.gz
cd root

WHERE_TO_INSTALL_ROOT=/usr/local     ## feel free to change this
./configure linux \
            --with-x11-libdir=/usr/lib/i386-linux-gnu \
            --with-xft-libdir=/usr/lib/i386-linux-gnu \
            --with-xext-libdir=/usr/lib/i386-linux-gnu \
            --with-xrootd-opts=--syslibs=/usr/lib/i386-linux-gnu \
            --prefix=$WHERE_TO_INSTALL_ROOT

make
# sudo make install                     ## sudo needed at least for for /etc/root
# NEVER use make install in modern distros. Instead use:
sudo checkinstall --pkgname=root-framework --fstrans=no --strip=no make install
sudo

cd $WHERE_TO_INSTALL_ROOT
source bin/thisroot.sh
root                                  ##  :-)   works...
       .Q                             // to quit root

NOTE: At a time of writing this 5.30/00 was latest and recommended version. Feel free to change this to other (I suggest recommended) version available at time you are reading this.


What's the ffmpeg command to extract PPM files from an existing video?

ffmpeg -i input.mp4 output_%04d.ppm

Output files will be named output_0001.ppm, output_0002.ppm, etc. See the image muxer documentation for more options and info.


Strange behaviour of 'sudo chmod -rwx': Does not remove group write permissions

From man chmod (emphasis mine):

A  combination  of the letters ugoa controls which users' access to the
file will be changed: the user who owns it  (u),  other  users  in  the
file's group (g), other users not in the file's group (o), or all users
(a).  If none of these are given, the effect is as if a were given, but
bits that are set in the umask are not affected.

This behaviour is working as intended, so, not a bug. See comments #4 and #5 in this bug report.

$ touch 1; ll
total 0
-rw-rw-r-- 1 muru muru 0 Jan  9 03:17 1
$ chmod -rwx *; ll
total 0
---------- 1 muru muru 0 Jan  9 03:17 1
$ umask
002
$ umask 072; chmod ug+rw *
$ chmod -rwx *
chmod: 1: new permissions are ---rw----, not ---------
$ chmod a-rwx *; ll
total 0
---------- 1 muru muru 0 Jan  9 03:17 1

Don't be a lazy ass. Use a.


The library libidl0 is in the Ubuntu repositories for your Ubuntu version 15.04.

Therefore

sudo apt install libidl0

Yes, you can use apt since Vivid


Is it possible to authenticate with Ubuntu One only once with KWallet?

No.

Keyring is a GNOME thing. KWallet is a KDE thing. The UbuntuOne client is written with GNOME in mind, so it uses the Keyring.  There is no KDE version of the client.

What you could do is install seahorse to manage the GNOME keyring, then set the login keyring password for GNOME to blank, so then it won't bother asking on login because it wouldn't be storing the authentication information encrypted at all... which obviously has its own security implications.


Install from Persistent LiveUSB, including files / changes on casper-rw

Boot from your thumb drive.
Partition your drive so it looks like this or modify the directions accordingly:

sda1=swap
sda2=/

Then do all this as root:

~#mkswap /dev/sda1
~#swapon /dev/sda1

~#echo 'This one is probably un-necessary'
~#mkdir /mnt/

~#mount /dev/sda2 /mnt/migrate/
~#cp --preserve -R /{bin,dev,home,root,usr,etc,lib,opt,sbin,var,boot} /mnt/migrate/
~#mkdir /mnt/migrate/{mnt,proc,sys,tmp}
~#mount --bind /dev/ /mnt/migrate/dev/
~#mount -t proc proc /mnt/migrate/proc/

~#chroot /mnt/migrate/ /bin/bash
~#update-grub
~#grub-install /dev/sdX
~#reboot

Minimal modification from some old directions for installing BT3 here.
Also, you'll need to fix your /etc/fstab
Not the Ubuntu-ish way to do this, but it works.
@OP Nice work on the USRP by the way.


How to fix "(initramfs) unable to find a medium containing a live file system" on custom Live USB?

I was experiencing the same problem, here is what i did, first i opened ubuntu 14.04 in UCK, and locked the kernel version. Then i installed all the other updates and clicked "build". Using unetbootin i created bootable usb and i confirmed that it works properly. I customised this iso with my favourite applications. Earlier i tried to correct the errors shown in terminal while updating the kernels (there were errors in some scripts but fixing them did not solve the problem of -initramfs unable to find a medium containing a live file system” on custom Live USB?- then i decided to disable kernel update. hope this helps. i failed to find any other solutions for this.


Modifying /etc/hosts does not have an effect

You'll find the browsers and the system will cache things for you. In order to get this to apply right off the bat you should make sure to clear caches and restart your browser. In order to test this out, try performing a dns check from a terminal such as

ping bing.com

You should get it replying back from 127.0.0.1. If this works then your hosts file change is good, but it's just cached in your browser.


Screensaver/black screen doesn't start on its own

One suggestion is to try xscreensaver:

sudo apt-get install xscreensaver

On my own system I have had more reliable power saving / powering down / blanking with this application. A screenshot from my own Xenial system to demonstrate the power management options:

And as a bonus there are some truly amazing screensavers...


Why is the Ubuntu installation not working on a Macbook Air, while I can boot the live CD?

If you get to the install screen it means that everything is OK. Normally such failures mean that the ISO image wasn't correctly downloaded. I would suggest to download it again and check the MD5sum of both media, that's easy : Just open a terminal and type

md5 whateverfile.iso

(Works in the same way in Linux, OS X or whatever proper operating system you can think of).

Another thing you may want to do during installation is to jump to one of the shells that are open, one of them shows the logs and there you can see what happens, this is doen with ALT+F1 and using the F-keys to switch between terminals (F6 to go back to the X server).

OR, you can open a terminal and do:

dmesg | less -F

OR

tail -F /var/log/messages

BTW: The last command can also come handy for debugging issues on Mavericks,it will show you the last lines of the logs in real-time.


Choosing "something else" when installing

Okay, from your post I'll assume that Install alongside Windows is not working.
Now for the partitioning:
Partitions needed by Linux
Linux needs the following partitions to install:

A root partition -- mounted at / -- contains all files
A swap partition -- used as additional RAM -- if you have decent amounts of RAM (8 GB or more), you may not need this

How to partition
Do not start the installer yet!
I'll assume the entirety of the disk is taken up by Windows partitions.
If you want to install Kubuntu on your hard drive, you'll need to shrink a partition or there won't be any space!
Using Partition Manager (found in the menu), right-click on the partition you want to shrink and select Resize/Move.
There will be a rectangle with something like sd... on it. Select the edge of it with the mouse and drag it to resize.
The recommended amount of free space (indicated by a rectangle divided by a line from the previous rectangle (it's so hard to put GUIs into words!)) is 20-25 GB.
Click Apply or OK or something.
Now you will have some free space.
Now, start the installer!
When you get to the Something Else... option, choose it. Right click your shiny new free space and choose "New partition".
Select it to mount at / and used as Ext4 ... filesystem and check "Format".
Now do the same for the little bit of space, except this time, don't change the mount point and select it to be used as swap.  Its recommended size should be
amount_of_free_space - half_of_RAM_size.
You are now ready to continue!
P.S. Still in doubt? Refer to this excellent answer.
Welcome to Linux and hope you like it!


Can I make mailto: links open up in gmail instead of evolution?

Yes, you can use the desktop webmail application, for instance. http://apt.ubuntu.com/p/desktop-webmail

And put the following in file /usr/share/applications/desktop-webmail.desktop:

[Desktop Entry]
Encoding=UTF-8
Name=Desktop Webmail
GenericName=Email
Comment=Compose email in browser
Comment[de]=EMail in Browser schreiben
Exec=desktop-webmail %U
Icon=desktop-webmail
Terminal=false
Type=Application
StartupNotify=true
Categories=Application;Network;Email
MimeType=x-scheme-handler/mailto
X-Ayatana-Desktop-Shortcuts=Compose

[Compose Shortcut Group]
Name=Compose New Message
Exec=desktop-webmail mailto:%U
TargetEnvironment=Messaging Menu;Unity


Cannot update because of webfilter set in the router

There is a file inside Ubuntu with a list of repository locations from where it gets the updates. You have to copy the list of web sites from there into your iBoss web-filter's allow list.

First, make a temporary copy of the file we will open, in case we mess it up. Open a terminal by pressing Ctrl+Alt+T and enter

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

You will be asked to enter your password. The cursor won't move when you enter the password and it will look like nothing happened. This is normal. Type the password and hit Enter.

Second, now open the list in an editor so that you can copy the web sites. In the terminal enter the code

sudo -i gedit /etc/apt/sources.list.temp

You will see lots of lines that look like:

deb http://archive.ubuntu.com/ubuntu/ saucy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ saucy main restricted

Note 1, the web site name is the same in the above example. You only need to copy it once.

Note 2. You have to copy only the http://archive.ubuntu.com part and ignore the rest.

Paste all the different web sites in the list and one by one into your iBoss web-filter configuration page and save the changes.

Third, exit the gedit program. Do not save the temp file if it asks. Optionally delete the temp file by the following command:

sudo rm /etc/apt/sources.list.temp

Hope this helps


Is it possible, today, to read avi files on Aquaris m10?

Yes, avi files stored on the memory card can be played from the video scope. Tried and it worked.


to call up owncloud with own domain name instead of Ipadress?

The most basic way of handling this is just editing the "hosts" file  on the computer that's going to be looking up the domain. On an Ubuntu computer that would mean running sudoedit /etc/hosts and adding something like:

192.168.5.169   myprojekt.com

If you're dealing with Windows, you can find similar instructions here. It's largely identical except you have to backflip through a burning hoop  to edit it with sufficient privileges.

You may also need to tell OwnCloud about the domain. Which may break other clients using the IP address. I don't use it so I'm not sure how attached OwnCloud is to a particular or whether it just uses relative links.

If you have more than one computer that needs to address this, get a domain. I know you explicitly said you didn't want to do this but I'm guessing it's a cost assumption. Some domains are free, especially if you don't need a top-level domain.

There are hundreds of organisations like afraid.org that offer free subdomain direction. You sign up, plumb in your internal IP (192.168.5.169) and that should allow you to resolve it from anywhere (but it'll only connect within the LAN).

If you don't want a something.afraid.org domain, find another service or simply buy a domain. Most aren't expensive.


You're missing the name of the link, it should be:

cd ~
ln -s / root

Which then would create a symlink called root in your home directory. So the correct usage is:

ln -s <target> <link-name>

The error message you see is, that ./ always exists and a link can not be created with this name, best is to use the ln command2 with both parameters to prevent wrong linkage.

From man ln:

    SYNOPSIS

(1st form) ln [OPTION]... [-T] TARGET LINK_NAME
(2nd form) ln [OPTION]... TARGET
(3rd form) ln [OPTION]... TARGET... DIRECTORY
(4th form) ln [OPTION]... -t DIRECTORY TARGET...

    DESCRIPTION

      In the 1st form, create a link to TARGET with the name LINK_NAME. In
         the 2nd form, create a link to TARGET in the current directory. In the
         3rd and 4th forms, create links to each TARGET in DIRECTORY. Create
         hard links by default, symbolic links  with --symbolic. By default,
         each destination (name of new link) should not already exist4. When
         creating hard links, each TARGET must exist. Symbolic links can  hold
         arbitrary text; if later resolved, a relative link is interpreted in
         relation to its parent directory.

      Mandatory arguments to long options are mandatory for short options
         too.

    OPTIONS

The final parameter, <link-name>, defaults to the last part of the target. So when the target is /path/dir the link name will default to dir if not specified.1 And if you for example create ~/etc with mkdir ~/etc and then run ln -s /etc in ~ it can not create the link because the name/directory already exists.3

And you can see the link created in your home directory (here as example, of course you're free to name it whatever you like):

$ ls -l ~/root
lrwxrwxrwx 1 videonauth videonauth 1 Dez 14 00:28 root -> /

1 Thanks to @thomasrutter for pointing that out.
2 See also man link and man symlink
3 Thanks to @steeldriver for providing an example in comments.
4 Emphasised part to make text point out since it is relevant to the question.


Internet Connection Setup in Ubuntu (Wired)

Before I go into this detailed technical babble, I want to go over a basic check list for connectivity to the Internet.

Cable/DSL modem is powered on and is authenticated with your ISP (meaning, the “Cable” or “DSL” light on the front is on solid, and you have a good connection to your ISP).
Your cable modem is directly attached to your PC Ethernet port via a Cat5 Ethernet cable. If you have more than one PC in your house and you own a router see the next item:
Your Cable/DSL modem is attached to your router’s up link port via a Cat5 cable, and your PC is attached to one of the routers down link ports.
Once again: DOUBLE CHECK YOUR PHYSICAL LAYER and make sure everything is correctly connected.

Kind of like this:

The above is the standard connection scheme of a home network. If you have done the above, shoot for the moon and try to open Firefox and visit www.google.com. If it says the page can’t be displayed, try clicking (inside of Firefox) Edit>Preferences and then select the Advanced catagory at the top-far-right, and then click the Network tab (see below).

From there, click on the Settings button within the Connection zone of the window. This window will then appear:

From here, make sure the “Auto-Detect Proxy Settings” radio button is selected (as above). Then hit OK.

Now, close Firefox, restart it and attempt to visit www.google.com again.

Connection Troubleshooting
(skip if you’re not having any problems)

Typical Internet users have to have the following equipment in order to get access to the Internet:

A modem (Could be dial up, could be DSL, could be cable. All three perform the same basic function: Modulate and demodulate data as it is sent to and received from your Internet Service Provider, as well as assign you one single IP address).
An Ethernet Adapter.
A Router (required if you have more than one computer in the house and you want them to access the Internet simultaneously).

Another networking device that is similar to a router, but inadequate for Internet connection management between more than one computer, is a Hub. Hubs are devices that do absolutely no routing of traffic with IP address, but instead, can only route traffic based on MAC addresses. Hubs were originally designed for LAN networks that did not need Internet access; only shared access between local, in-house computers. Hubs are also bad for security reasons, since they are nothing more than repeaters that echo all traffic out of every port on the device.

Basic Internet connectivity requires IP address routing capability (a router, in other words), as well as default gateway and DNS addresses to either be known in advanced, or (much more often) auto-configured by the modem/router using DHCP. In Ubuntu, DHCP is enabled on all Ethernet devices by default. This means that when you turn your computer on, it should ask the router (or cable/DSL modem) “What is my IP address, subnet mask, and default gateway supposed to be?” And the router replies and assigns the client PC an unused IP address along with the rest of the requested information. In this way, multiple computers on a LAN can be dynamically assigned IP addresses by the router as they are needed.

So the first thing you should check is if your computer is being assigned an IP address by the router at all. A quick way to do this is to open Applications>Accessories>Terminal, and once it is open, type in “ifconfig” (which is short for Interface Config). The readout will look similar to this:

In the above screenshot, you’ll see interface names listed down the left side (in this case, there are only two shown: eth0 and lo — which stands for “loopback”). These names vary depending on the type of networking device you are using. Another example: if you had more than one Ethernet adapter in your computer, you would likely see the second one listed here as “eth1″.

To the right of “eth0″ we see a lot of information written out for us. The “inet addr:” is your Local IP address. (In the above example, the IP address assigned to the computer is 192.168.73.129). If you have an address here, then that means your router/modem properly assigned you an address while booting your PC. If you don’t see an ip address here, you can attempt to force your router to assign you one by typing in “dhcpcd eth0″ and pressing enter.  (Note: dhcpcd is not installed by default.  To installed it from terminal, type “sudo apt-get install dhcpcd”).

An alternative place to check and see if you are being assigned an IP address is System>Administration>Network Tools applet:

Unlike the ifconfig command, you can only view the IP addressing information for one network device at a time in here. And other than that, you can’t do much here when it comes to setting up your device.

The other place to check your network settings is in System>Administrator>Network. In here, you should select your Ethernet device and make sure it is in “Roaming Mode”, which places the device into DHCP mode.

If you’re still not able to get an IP address assigned to your networking interface then the cause might be a bad cable, the modem/router may need to be reset or your network interface is broken or unsupported (rare).


I do not use Ristretto (a little at my Linux life start only) and people often suggest "eliminate this utility" (quote). And despite this fact if I right figure out you need to know where exist such checkbox alike first at Ristretto Menu > Edit > Preferences:

I think more settings for Ristretto you can find at Settings Editor (xfconf GUI), and you can see ristretto exists at settings channels list:

Alternatively I do not know what to suggest.
If I'll needed to use XFCE I'll chosen Feh which also lightweight also image also viewer however Feh it is "barebone" image viewer and can be a bit difficult for plain user.

So, look if interesting Feh

Hope it help you.


Unable to install Linux container in 14.04 LTS

The following command:

sudo apt-get clean

will delete the contents of those directories.

Then, try the command again:

sudo apt-get update

If you continue to get the error, change mirrors and repeat the process over again.

Alternatively, you can run this instead:

sudo rm -R /var/lib/apt/lists/* -vf

The -R flag is recursive so it will delete directories as well as files.


Can't connect to wifi after software update on ubuntu 12.10. Additional drivers says it is working. BCM4312

Fixed by using jockey-kde to manually start additional driver updater which reinstalled the wifi driver, then activated it when the additional drivers window came up, restarted and wifi works again! Thanks for the responses Eliah!


Ubuntu Server 20.04 - cifs mount not working. cifs_mount failed w/return code = -2

Resolved.
Windows Firewall Defender was blocking it.
Had to allow @netlogon.dll in Allowed apps in Firewall Settings.


You can compile from following command :

$ gcc -o object-file C-source-file

Then try to run :

$ ./object-file

For C code you can use cc command too also you can use g++ for C++.

Once your code becomes more complicated and you start using more and more files, the above will become cumbersome and you'll want to look into "makefiles". They work for small projects too, so the sooner you become familiar with them, the better. If you later code in C++, you will also likely use these.


How to insert the contents of one file to an exact place in another file

I don't think you can get the r command in sed to replace text in the middle of a line. You can use sed s to replace inserthere with the contents of file2 in an inelegant way:

sed "s/inserthere/$(cat file2)/" file1 > file3

Explanation:

s replace: /old/new/
$(cat file2) pass the output of cat file2 to sed s (command substitution)
use double quotes to allow $ expansion

file3:

document.body.innerHTML = document.body.innerHTML.replace('<textarea rows="3"></textarea>', '<textarea rows="3"> A B C D E F G </textarea>');


How to disable EEE in TG3 Driver (disable energy efficiency ethernet)?

I was able to toggle EEE by enabling/disabling pcie power saving features in the BIOS.


Shotwell , (Default in Ubuntu): Install.

  Import photos from folders or from any digital camera supported by gPhoto.
  Shotwell automatically groups photos taken at the same time. You can also use tags and ratings to organize your photo collection.
  You can rotate, crop, reduce red-eye, and adjust the exposure, saturation, tint, and temperature of each photo.
  Publish photos and videos to Facebook, Flickr, Picasa Web Albums, and YouTube.
  Basic support for RAW images, including import support for all common formats like CR2 and DNG.

Screenshot


./configure.sh while installing CHARM toolkit giving unsuccessful results

Normally you can run configure.sh with the --help option to get help - like:

./configure.sh --help

In the help text you can see your options. To disable the integer module you could write:

./configure.sh --disable-integer

Together with any other options you will like to change away from the default.


list of wifi connections disappears after kernel update, kubuntu 16.04

Maybe the issue is about that kernel in particular?
Why don't you try updating to the latest kernels? like 4.8 or 4.9?
The application: Ukuu (Ukuu kernel update utility)


Is there a way to install multiple fonts on Ubuntu without needing to do them one at a time?

Just for your user? Create a hidden directory in your home folder named .fonts. Drop all your fonts in the directory.

cd
mkdir .fonts

Copy the fonts to that directory. Voila!


You can use gparted to write a new partition table (msdos)
Select Device -> Create Partition Table (msdos)

If gparted is not install run:
sudo apt-get install gparted


If I run boot repair will I lose everything in my hard drive?

Boot repair won't delete anything on your hard drive. It will just repair boot issues by making GRUB the default bootloader in the Master Boot Record


Why is Banshee not showing in sound menu in 11.04?

The "sound menu integration" extension is not needed - not in my end at least, where banshee works perfectly from the sound menu.
Try disabling it.


unable to write or create anything on my NTFS partitions

Actually you have to mount the ntfs partion with read write access as below:

mount -t ntfs-3g /dev/sdb1 /mnt/ntfs/

From man ntfs-3g:
       ntfs-3g  is an NTFS driver, which can create, remove, rename, move files, directories, hard links, and streams; it can read and write files,
       including streams, sparse files and transparently compressed files; it can handle special files like symbolic  links,  devices,  and  FIFOs;
       moreover it provides standard management of file ownership and permissions, including POSIX ACLs.


Solving /var/lib/dpkg/lock - open (13: Permission denied) with "are you root?" error

You forgot the sudo for the second command.
sudo apt-get update && sudo apt-get upgrade will work.


Bionic Beaver 18.04 CD black screen in VMware Workstation 14

If I disable 3D acceleration in VMware settings, it works.


The correct place to put scripts for every logged user including ROOT

After talking with some experts, specifically in this question: Run script on shell login for all users someone told me to read the sudo caveat section of the link below:

https://help.ubuntu.com/community/EnvironmentVariables#sudo_caveat

And here's the answer:

sudo caveat

Any variables added to these locations will not be reflected when invoking them
with a sudo command, as sudo has a default policy of resetting the Environment and
setting a secure path (this behavior is defined in /etc/sudoers). As a workaround,
you can use sudo su that will provide a shell with root privileges but retaining
any modified PATH variables. Alternatively you can setup sudo not to reset certain
environment variables by adding some explicit environment settings to keep in
/etc/sudoers:

Run sudo visudo and add the following to the bottom:

Defaults env_keep += "http_proxy SOMEOTHERVARIABLES ANOTHERVARIABLE ETC"


Are there known (slow boot) issues with Dell XPS17 (L702x) and Grub?

Okay, I just installed a second HDD in bay 2 - the problem is gone. No idea if that was actually the solution. Somebody over at the Dell forums (en.community.dell.com/support-forums/laptop/f/3518/p/19449900/20108654.aspx) thought that booting might get delayed artificially after typing an incorrect BIOS password. I never set a password, though.

Otherwise, my only guess is that this was some it-just-happens-sometimes thing. Thanks for your help and ideas! If somebody else comes across the same problem, please try if inderting a second HDD solves your problem. I don't want to open the Laptop again just to check :-)


Are proprietary graphic drivers worth installing?

My experience comes mostly from the Nvidia/Nouveau side of the house. And I wish to clarify that mostly this is an opinion. I leave the open source driver until I have issues. Supposedly there is better performance with gaming if you're using the proprietary driver. Where I end up moving onto the proprietary driver is when I'm doing something beyond simple usage of the graphics card. When I had two Nvidia cards in SLI, I couldn't quite get Nouveau to pull off dual monitor with each monitor driven by a different card. For machine learning, the defacto answer is to install the proprietary driver. But until you hit a use case that the OS driver can't handle, stick with what works and is better supported by your distribution.


Ubuntu recommends 30 GB :
As usual, it depends on what you will do with your system. 8 GB is enough, but some programs may take a lot of space (Google-chrome cache, for instance). My everyday installation with a lot of programs takes only 7,6 GB. And I don't really think I'll need more than that for the system only.

Using 20 GB would be the best choice for you, in my opinion. I'll explain why in the second point.

Redirect /home/user/ to C:/Users/Windowsuser :
You can't have your Home partition on a NTFS disk, NTFS can't read permissions the way Linux was meant to. You will have to use you /home/user on an EXT4 partition.

And because Ubuntu stores a lot of configuration files in your /home/user, you will need some space (mine takes now 800 MB, but I used to have 10 GB and more when I used Wine to emulate Windows Programs.

But, fortunately, you can make a "shortcut" that points C:/Users/WindowsUser to you /home/user using the symbolic link feature :

ln --help returns:

ln [OPTION]... TARGET LINK_NAME : create a link to TARGET with the name LINK_NAME.

So, let's say you want to link /home/user/Music to C:/Users/WindowsUser/Music, you can do that easily. First, mount your NTFS partition on Ubuntu, then :

ln /path-to-your-mounted-ntfs-partition/Users/WindowsUser/Music /home/user/Music

-> where /path-to-your-mounted-ntfs-partition is the path of your mounted ntfs partition.

Using this, you will have a /home/user on your EXT4 partition, allowing Ubuntu to store the needed files and their permission, and in this folder, you'll have shortcuts to your NTFS partition (more precisely to your WindowsUser folder).


(Thanks to Muru for helping me!)
There is a thing called tmux which you can use to create sessions. All I had to do was create a session on one device using tmux new -s [session name] and on the remote controlling device, type tmux attach -t [session name].

Now I can control my Minecraft server without having to walk upstairs to look at my laptop!


How Can i know the appropriate partition of ubuntu to be deleted?

From what we see in your screenshot we can only guess which partitions hold your Ubuntu. It definitely is not those that are NTFS formatted, and it is also unlikely the unallocated space. So there is a 134 GB Partition possibly holding Ubuntu, and a 2,9 GB Parition presumably Linux SWAP. Windows will not see those partitions because they are formatted in another file system.
To find out just boot an Ubuntu installer from USB (take any but I recommend you use the latest 18.04) from where you can "try out" Ubuntu to mount and inspect all partitions including Ubuntu and Windows partitions. Start Gparted there to see more details on the partition layout.
If you decide to overwrite Ubuntu with the new version then please first
Make a backup of all your data including those from Windows
Only if that was done you can safely install Ubuntu 18.04 just over the existing Ubuntu 14.04 partition on choosing "something else" in the installation process. Chose / as a mount point for root and let it continue to use the existing /swap partition.
If the format options was unticked then your previous HOME partition will still be there after the installation finished. In case you chose the same username even many of your personal setting will be preserved.
Tick the format option if you decide to start from scratch.


Enable NOPASSWD without manual interaction

Create a file with the required NOPASSWD line and drop it into /etc/sudoers.d. To verify the correctness of the file, use visudo to create it:

visudo -f some-file
cp some-file /etc/sudoers.d/

Then use scp or whatever means of control you use to send the files to the target systems.

sudoers.d files are read in lexicographic order, so use some numbering like 00-something, 99-most-important, etc. (like in /etc/grub.d/) to make ordering easier.


Why does Gnome create a new wired network connection every boot?

So the problem is/was, that network-manager seems to fully control its automatic created Connections Wired 1 and netplan-XY.
The linked answers from pierrely helped me understand this: Ubuntu only permanently saves changes to a network if it was created explicit by yourself.
The solution is to create a new wired network connection, I did it with nm-connection-manager and called it "My Ethernet connection".
I also checked "connect to this network if available" and "automatically connect to vpn"
Now the connection stays even after reboot and connects to vpn instantly.
Another Problem I ran into, was vpn connection got lost after suspend/hibernate and did not reconnect.
Some other question/answer suggested that I should make my vpn Passwort available for all users and that did the trick.
You can do that in System Settings > Network > VPN > Identity , right beside the Password field is an icon where you can set the password to be used by all users.
I hope this helps somebody else. Cheers.


You should have done more search as there are thousands of guides to do that on the internet. But here is my answer to the question.


Network scanner (Canon) stops after upgrade from 15.04 to 15.10

It's a bug in a few versions of sane-backends (pkg libsane) which affects versions 0.17.10 - 0.17.18 (the last one actually present in 15.10). Since the bug has been fixed since July 2015 we just need it packaged in a debian/ubuntu repo. Until then there are several possible workarounds:

Get a version of libsane, libsane-common and libphoto2-pack10 from vivid and downgrade. Vivid contains 0.17.4 and thus is not affected.
Get a version of libsane, libsane-common and libjpeg62-turbo from debian experimental. I found the version 0.17.23 in it and it seems to work for me. But be carefull, its experimental :-).
Build the sane-backends libraries by youself. Not a straightway method, you better get the debian packaging patch to get it into proper paths.
Use ScanGearMP which apparently works anyway. Is suitable for simple scanning for example through GIMP.


Getting set up with git-buildpackage, pbuilder, etc, for software packaging

You might want to look as the pbuilder-dist script in the ubuntu-dev-tools
package. It greatly helps with managing multiple pbuilders for different target environments. As an example, to create a Karmic pbuilder run:

pbuilder-dist karmic create

You can use your newly created Karmic pbuilder with:

pbuilder-dist karmic build /path/to/package.dsc

The package.dsc can is generated when you build the source package with git-buildpackage -S

There is also a git-pbuilder wrapper around pbuilder for git-buildpackage I have no experience with it. My understanding is that, DIST=karmic git-pbuilder create should create you initial Karmic pbuilder. You should then be able to build the package in that pbuilder with:

git-buildpackage --git-dist=karmic --git-pbuilder

See man git-pbuilder and man git-buildpackage for more info.


Restricting access to ip using .htaccess is not working

After some googling I found out that in order for htaccess files in folders other than the root to be taken into account by the server, the directive 'AllowOverride' needs to be set to 'All' for that site in /etc/apache2/sites-available/  (in my case the default site)

There may be other ways to acheive the same result but this is the one I found.


There are a few things you need to do to play DVDs in Ubuntu.  First you need to install restricted extras:

sudo apt-get install ubuntu-restricted-extras

Next you need to install libdvdread:

sudo apt-get install libdvdread4

Finally you need to execute it:

sudo /usr/share/doc/libdvdread4/install-css.sh

Some Media Players won't automatically update with the ability to play DVDs. I would recommend installing VLC (if you haven't already), and using it to watch DVDs.

sudo apt-get install vlc


I see no reason why it shouldn't work just fine. To be on the safe side, try running a live session first and see how things go before proceeding with the installation.


Nokia paired via bluetooth AND windows after reboot — possible?

Try having your phone create the key, or optionally, you can enter your own key.

To do this, find the computer from on your phone, and choose a key when it asks for one.


18.04 server - unable to locate package redis-server

As a commenter noted, the universe package was not enabled. Enabling with add-apt-repository did the trick:

sudo add-apt-repository universe


"Supplied storage credentials were not accepted by the server" error when trying to bootstrap juju

There's two possible reasons why you are getting this response.

Did you follow the instructions at https://wiki.ubuntu.com/ServerTeam/MAAS/Juju to set up the API key in the environments file?
The Django settings file on the MAAS server has a setting called "MEDIA_ROOT".  It needs to be set to a directory that is writable by the user that is running the MAAS server.


What's going to change in the kernel in Natty?

The short answer is: Lots.

Official:

As a kernel is released, though not before, all of the changes are written up in the Changelog: http://www.kernel.org/pub/linux/kernel/v2.6/

You'll notice they are published for each minor release. They contain absolutely everything, and are almost impossible to read, if you're not into all things kernel. :-)

Not official:

I usually read The H's summary of changes to the kernel. They've summarised all of the changes that you'll see in Natty quite well. Be warned, there are multiple pages behind each of the links:

2.6.36

Coming in 2.6.36 (Part 1) - Graphics
Coming in 2.6.36 (Part 2)
Coming in 2.6.36 (Part 3) - Architecture & Infrastructure
Coming in 2.6.36 (Part 4) - Drivers

2.6.37

Coming in 2.6.37 (Part 1) - Graphics
Coming in 2.6.37 (Part 2) - File systems
Coming in 2.6.37 (Part 3) - Network and storage hardware
Coming in 2.6.37 (Part 4) – Architecture and infrastructure code
Coming in 2.6.37 (Part 5) - Drivers

2.6.38

Coming in 2.6.38 (Part 1) – Graphics
Coming in 2.6.38 (Part 2) – File systems
Coming in 2.6.38 (Part 3) – Network drivers and infrastructure
Coming in 2.6.38 (Part 4) - Storage

and everything else as it's published

A (comparatively minimalistic) summary of the changes regarding Ubuntu in particular can be found on the Wiki pages for the pre-releases:

Natty Narwhal Alpha 1
Natty Narwhal Alpha 2
Natty Narwhal Alpha 3


It's possible that this is a bug in Flash Player; Adobe stopped releasing new versions of Flash Player for Linux a while ago, so unfortunately it's unlikely to get fixed. However, Chrome uses a different, more up-to-date version of Flash that is not available in Firefox.


The message you are seeing is a generic message they will give all when the application cannot find emacs.  Ubuntu doesn't come with emacs installed by default, so you will have to install it.  Once installed it is in the /usr/bin folder and the application should be able to find it.
From a terminal window run:
sudo apt install emacs


Netbeans keep acting strange. Can I get it fixed or install a better IDE with recommended plugins?

1 Download Netbeans from their website and follow their installation instructions

2 Have a look at Geany, IMO the best editor around (and it has plugins...)


You're not able to boot normally becuase you've got a "dirty" file system on /dev/sda2.

At the GRUB menu, choose Advanced Options, the choose Recovery Mode, then choose root level access. Once there, type sudo fsck -f /dev/sda2. Run this more than once if there are errors.

When completed, type reboot.

Let us know how you do. Cheers, Al


Not reaching Gigabit (~30MB/s) with Ubuntu 14.04

You don't mentioned what protocol you are using to transfer files. Regardless, one thing you could check is that your connection is negotiating properly:

ethtool eth0

Replace eth0 with whatever your actual interface is. You're looking for the rate and duplex parameters - they should be negotiating at 1000Mb/s, Full. If they aren't, then you can try setting them manually:

ethtool -s eth0 autoneg off speed 1000 duplex full


Delete Windows 7 after installing Wubi.exe

You can shrink Windows (using it's Disk Management console) and then install Wubi and use that to create partitions and then migrate the Wubi install over to the new partitions. It's a bit long winded, but it's definitely doable. After that, you could remove the remaining Windows if it's important to remove all traces.

See How to convert Wubi install into regular install?


Will there be a boot selection screen after uninstalling WUBI installed Ubuntu?

If windows is the only OS that remains i expect the screen will no longer appear since it has no purpose, otherwise it might just remove its own entry and thats it.


Which files to copy in order to get the same SSH key login on 2 servers?

It turned out to be a permission problem:

-rw------- 1 root root  411 Jan 14 22:39 authorized_keys

should not be accessible by root:root but by the user who shall log in. So the following fixed the issue:

chown myuser:myuser authorized_keys
rm id_rsa
rm id_rsa.pub
service sshd restart


Canon multifunction printer, scanner function not detected

might be a bit late but if not, hopefully it helps. I have a recently purchased Canon TR4500. Here's what I did.

Download cnijfilter2-5.70-1-deb.tar.gz from the Canon site, extract and run the install file as root.

Download scangearmp2-source-3.70-1.tar.gz from the Canon site, extract and run the install file as root.

During the install of scangearmp2, it complained that it could not find canontr4500.ppd. It was looking in the wrong directory. Copy it from /usr/share/ppd/ to /usr/share/cups/model

To launch the scanner device run scangearmp2 from a command line or create a launcher to /usr/bin/scangearmp2.

I haven't figured out how to make it work with the default Linux scan apps yet.


How to check which tool was used to install package

conda list  and  pip list should show what was installed with each. These will not list installs from apt.
apt uses /usr/lib, pip and conda use /usr/local/lib/.


Desktop file is not getting associated with application

Finally, the following helped:

Adding StartupWMClass=myapp in my .desktop file (it's possible to figure out a one by using xprop WM_CLASS)
Placing icon in /usr/share/pixmaps/ instead.


error in installation of gcc on ubuntu Ubuntu 12.04

You should make sure that you have the main archive activated in your sources.list file and that no packages are on-hold.

sudo apt-get update
sudo apt-get clean
grep -P 'main&precise-updates' /etc/apt/sources.list
## Here should return something like deb http://ubuntu.mirror.cambrium.nl/ubuntu/ precise-updates main
echo $(dpkg --get-selections | grep hold | awk '{print $1}') install | sudo dpkg --set-selections
sudo apt-get upgrade
sudo apt-get --fix-missing install build-essentials

With this, your installation should be flawless.


Problem uploading a file to Ubuntu One using the web interface

We had some server problems yesterday, and some accounts where affected.
Please try again.


ubuntu terminal is not working properly in vi editor

Type
sudo apt-get install vim

in your terminal,
this will solve your problem


how to extract a rar file with multiple parts?

Install unrar.
sudo apt install unrar

Extract the first part of the group of multiple .rar files with Archive Manager, and it will automatically extract all the other parts. You can also extract the contents of an archive named FILENAME.rar from the terminal with the following command:
unrar x FILENAME.rar # extracts all parts in the group if FILENAME.rar is the 1st part


Thank you guys, the problem is gone.
- I used the command : lsof | grep video0 to find the software using my webcam. It was FireFox.
- I just restarted FireFox, and then the webcam turned off.


Increasing RAM size on Ubuntu 16.04 running in VMware Workstation

Allocate enough virtual hardware resources in the VMware settings for the existing Ubuntu guest OS. This will change only the VMware settings for the existing Ubuntu guest OS without changing anything else in the guest OS itself.

2 CPUs instead of 1 CPU
at least 2GB of base memory (recommend 4GB for your Dell XPS 9560)
at least 25GB virtual hard drive
more graphics memory than the bare minimum amount


number of options of ubuntu keeps increasing after every restart.why?

How often do you restart?

Periodically, Ubuntu will provide an update to the Linux kernel that underlies Ubuntu. Because that's such a core component of the OS, it leaves the option to boot into the previous kernel version, to mitigate against the slim chance that the new kernel version has issues. After a period of multiple months, you might have several older kernel versions available.


logical volume management in ubuntu trusty

You have create two LVM physical volumes sda3 with 3.9 GB in size and sda4 with  4.8 GB in size.

After that you have created volume group myvg which spans across LVM physical volumes sda3 and sda4 to total of 7.7 GB size.

You continued with creating logical volume mylvm with 300 MB size. Currently mylvm is smaller than physical volume sda3, which means that logical volume mylvm resides only on pyhsical volume sda3.

Try to extend logical volume for a size larger than sda3 (for example 5 GB) and don't forget to resize ext4 file system after that with commands

sudo lvextend -L 5G /dev/myvg/mylvm
sudo resize2fs /dev/myvg/mylvm

Check output of command lsblk, logical volume myvg-mylvm should be spanned across sda3 and sda4 . There are other commands for LVM as well - for example vgs for volume group status and lvs for logical volume status.


Is there a button for viewing the location bar in Nautilus?

I don't think adding a button is possible - however, if you remember the following shortcut key CTRL+L, this will display the location field for you.


How can I stream my friend's Ubuntu desktop at < 2 FPS?

I use x2go for stuff like this. It has settings for different kinds of bandwidth; screen resolution and what not.

See install instructions for server here:
http://wiki.x2go.org/doku.php/doc%3ainstallation%3ax2goserver

And if you want to use the client on Mac OS X there seems to be a client; instructions here: http://wiki.x2go.org/doku.php/doc:installation:x2goclient#os_x


Optical mouse not working after login screen

This issue is due to Gnome Software. To stop this from happening we can disable the Gnome Software from startup applications.

Here are the steps to solve this issue:-

1:-open the dash and search for "startup applications" and open it.

2:-Disable Gnome Software (Uncheck the box on the left side).

3:-close it

4:-shutdown or restart and check it again.

this time your mouse will start working.

but you should know that every time you start the Gnome Software(Ubuntu Software Center), your mouse will stop working again. To solve this type this command:-

sudo rmmod usbhid


I had the same problem but I changed SATA controller to AHCI and it helped


If you restore a Full-Backup of your system on a Bare-Metal you will have the identical system that you have backuped. If everything goes well, you will have a running ubuntu 12.10, but this is not an upgrade - it is deleteing or overwriting all existing files and replace them with you backup.

Not every Backup-Software is able to make a Bare-Metal-Restore.


Screen display stretched horizontally after ubuntu update, can no longer see whole screen

Looks like it was a hardware failure - I swapped hard drives with another computer. The screen problem stayed with the computer and not the hard drive.  Also, the laptop could still display correctly on an external monitor,even though its own screen was still displaying strangely.

Perhaps there's something wrong with the graphics card, but on Lenovo T420s, it looks like it's a soldered component and not easily replaceable:  link

Time to scrap my laptop for parts...


How to search ALL keyboard shortcuts within KDE Plasma? (Not by web)

Shortcuts are recorded in ~/.config/kglobalshortcutsrc and ~/.config/khotkeysrc.

Global Shortcuts > ksmserver only lists shortcuts for

Halt Without Confirmation
Lock Session
Log Out
Log Out Without Confirmation
Reboot Without Confirmation

There is no shortcut in that GUI for Switch Users.

Re.

And to give a practical immediate use for this, also: when I try to close System Settings using Ctrl-Q, I get a chime and a popup message:

The key sequence 'Ctrl+Q' is ambiguous. Use 'Configure Shortcuts' from the 'Settings' menu to solve the ambiguity. No action will be triggered.

I have no problem closing System Settings with Ctrl+Q in Kubuntu 18.04 (Plasma 5.12.9), 19.10 (Plasma 5.18.3), and 20.04 (also Plasma 5.18.3).
However, when I try to set Ctrl+Q for something else, I too get a chime with the following pop-up which clearly states what current role is assigned to Ctrl+Q and so differs from what you posted:

Please note that it is preferable to ask one specific issue per question just like in Unix & Linux.


Render LaTeX is not working in Inkscape after installing to 18.04

Assuming you use Latex Inkscape plugin, texText, it support pdf2svg beside ghostscript+pstoedit. So, in case of Ubuntu 18.04, installing pdf2svg solves the problem

sudo apt install pdf2svg

It works for me on Ubuntu 18.04, InkScape 0.92.


Is there any program designed for writing a book?

For smaller projects, you should be fine with Libreoffice Writer.

If you are looking for a professional typesetting tool, the most well known and most widely used open source program is called LaTeX. On Ubuntu, the texlive LaTeX distribution is available in the software repository.

Beware, that LaTeX is not a WYSIWYG (What You See Is What You Get) editor, but a WYGIWYW (What You Get Is What You Want) typesetting language, and can in some respects be compared to HTML.

LaTeX files are plain text, which are compiled by the LaTeX program into DVI or PDF files. There exist numerous style templates, and with some knowledge of the LaTeX language one can write them oneself.

Using a style template and only writing plain text spares the user the tedious work with layout, and lets the writer concentrate on what is being written instead on how it might look in the end.


Make shortcut for navigational functions

Approach 1. Using Fn key

Check the keycode of yours key. Run this program at terminal.

xev

At this example, the terminal shows that the keycode for my k is "45".
Change them as you like creating this file:

gedit ~/.Xmodmap

It's contents should look like this example:

keycode 180 = Home End Down

(keycode 180 is for Fn+F3 at my notebook)

Ilustration:

(Obs.: if I want to change my k I must use keycode 45 as showed at step "1", if I want to change my Fn+F3 I must use keycode 180).
Log out and log back in or reboot or run this:

xmodmap ~/.Xmodmap

Approach 2. Using a shortcut (combination keys)

Install xdotool

sudo aptitude install xdotool

Open Gnome Keybindings

gnome-keybinding-properties

Create the shortcut with this commands:

xdotool getactivewindow key Home
xdotool getactivewindow key End
xdotool getactivewindow key Page_Up
xdotool getactivewindow key Page_Down

Example:

Enjoy!


Old laptop cannot boot from ubuntu 15.10 dvd

You can only upgrade from LTS to LTS, or to the next 6-monthly release. While you may attempt to do something else, it is NOT supported.

To upgrade from 14.04 LTS, then either wait for 16.04 LTS (April 2016) or try a new install of 15.10 on a separate partition/drive (or spare platform).

Do not attempt to upgrade from 14.04 LTS directly to 15.10.


Can not use NVIDIA binary driver from Additional drivers ubuntu 14.04

Your manually installed driver is probably causing the problem. The fix will be to uninstall it, reboot which should pick up the nouveau driver, and then the Software & Updates screen you show should offer the Nvidia 375.66 as an active choice.

Locate any line like  "blacklist nouveau" in any file in /etc/modprobe.d  These should all disappear when you uninstall manually your proprietary driver.  Uninstall the driver. Check that no "blacklist nouveau" line is left, if so, delete it or comment it out.
Reboot, and you should have the nouveau driver in use:

sudo lshw -C video

Now use the Software & Updater to install the Nvidia 375.66, which fixes some artifact problems with earlier 375 drivers.  Reboot and you should be using the nvidia driver (repeat above check).


How to Speed Up Booting Time ? (Bypass Grub)

You cannot disable GRUB.  What you can do though, is alter the value of GRUB_TIMEOUT in the /etc/default/grub file so that the system doesn't wait for you to select something.  In a terminal execute the following commands:

sudo nano /etc/default/grub

Find the line containing GRUB_TIMEOUT= and change the value to 0.  Save the file and execute:

sudo update-grub

for the changes to take effect.  You will never see the GRUB menu again.

I have to warn you though that doing this will result in you having to keep Shift pressed while booting, if you need to access the GRUB menu for any reason.


Accidentally deleted /opt, how do I create it again?

On a newly installed Ubuntu system, /opt exists but is empty. You can just run:

sudo mkdir /opt

And that will recreate it, with the correct permissions.

But if there was software installed inside when it was removed, that won't bring it back.

There probably wasn't, though. You'd likely have remembered installing it there. /opt is not usually for programs installed automatically through Ubuntu's package manager. Instead, for the most part it's used for programs that install with their own methods, often (but not only) proprietary payware installed from CD.

If you remember how you deleted /opt, a more specific prediction as to whether or not there was anything in it could be given. For example, if the way you remove it was to run sudo rmdir /opt, that will only work if the directory is empty. On the other hand, if you used rm -r, it needn't have been empty.


Characters not displayed in UI after waking from suspend : Ubuntu 16.04

See https://wiki.ubuntu.com/XenialXerus/ReleaseNotes :

Sometimes Gtk application menus go missing https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1532226. You can workaround this by launching this from a terminal or Alt+F2 dash view:
restart unity-panel-service


Problem with installing bumblebee in Ubuntu 14.10

The conflicting version 3.2.1-90~trustyppa1 is coming from the stable PPA.

Unless you need some specific feature from that version you could remove the PPA and use the version that comes with utopic by default:

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


To upgrade phpmyadmin only use

sudo apt-get update
sudo apt-get install phpmyadmin

This install with an already installed package will upgrade it to the latest version.

To upgrade all packages — phpmyadmin and all others — use

sudo apt-get update
sudo apt-get upgrade


How to create an iso from current installation

I create my backups and live iso files with Systemback utility, you can install it from its PPA and it works the same as remastersys (no longer maintained), i think. In ubuntu 14.04 i needed an extra package called unionfs-fuse too. It can also create live usb images. You can add your user files in iso which can then be installed on other machines, but other machines may have different graphics etc so make sure you have not uninstalled preinstalled xorg video packages. So all you need is add ppa and install

sudo add-apt-repository ppa:nemh/systemback
sudo apt-get update && sudo apt-get install systemback unionfs-fuse

After creating iso file, creating live usb and booting from it on same machine or different machine, you will find systemback installed.


Can't open terminal through tightvncserver on Ubuntu 20 / no gnome panel

For xfce, the default action of open terminal is to open x-terminal-emulator, which in turn links to gnome-terminal.wrapper. You can get this info from Applications->File Manager->Edit->Configure custom actions..., and Applications->Settings->Settings Manager->Preferred Applications->Utilities, also to trace the symlink of x-terminal-emulator.
The thing is that gnome-terminal is trying to connect to D-Bus but failed to get a response and timed out, to verify it you could launch D-Bus first, e.g. $ dbus-launch gnome-terminal and you will see a gnome terminal pops up.
The easiest way to solve this is to use an alternative terminal. To do it, open a xfce terminal from Applications->System->Xfce Terminal, use command $ sudo update-alternatives --config x-terminal-emulator, choose an alternative from the list instead of the default gnome-terminal, like xfce4-terminal or xterm, then you should be good to go to open a terminal.
For using gnome instead of xfce, try put the following to your xstartup file, start the vncserver and check the log file, fix any errors by installing the missing packages, then you should be able to see the gnome DE from vnc client.
xrdb $HOME/.Xresources
xsetroot -solid grey

export XKL_XMODMAP_DISABLE=1
export XDG_CURRENT_DESKTOP="GNOME-Flashback:Unity"
export XDG_MENU_PREFIX="gnome-flashback-"

unset DBUS_SESSION_BUS_ADDRESS

gnome-session --session=gnome-flashback-metacity --disable-acceleration-check &


You have Permission denied error because you need to run make install as sudo (root) :

 ./configure
 make
 sudo make install

But I strongly advise you to install this plugin using the samrog131 PPA instead.

You won't need to compile it by yourself and you will always have the up-to-date version of the plugin :

sudo add-apt-repository ppa:samrog131/ppa
sudo apt-get update
sudo apt-get install vlc-srpos-plugin

Srpos Plugin package has been removed from the PPA.


How to update xubuntu 14.04 LTS to xubuntu 16.04 LTS

sudo apt-get update && sudo do-release-upgrade -d

This should do the trick.


When $SHELL variable does not change when I switch shell

The SHELL variable (along with some other variables, such as HOME and USER) is set by the process that logs you in. It is set to the login shell value set in the passwd database (/etc/passwd). It is not meant to reflect the shell you're currently using.

screen uses the SHELL variable to determine what shell to run inside the screen, so you can override that by running e.g.

SHELL=/bin/bash screen

And if you want bash to be your login shell instead of zsh, you can run the chsh (change shell) command as your user.


Dconf settings in ~/.config/dconf/user.d/ not loaded

You can manually load the key files:

dconf load / < ~/.config/dconf/user.d/terminal.conf


Where did "Open with" (user defined command) go?

I think you are looking for an answer like this. A user has asked for help on how to open fits file type that is not supported by default ubuntu programs.

IraGainesUK has posted the answer at http://ubuntuforums.org/showpost.php?p=12242314&postcount=5

  I also can't believe it me took this long to figure out how to do such
  a simple thing in 12.04(!!), but the simple way is this:

  1) Install Ubuntu Tweak:

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

  2) Open it up on the command line:

$ ubuntu-tweak

  3) Navigate to Admins > File Type Manager and click All. This may
  take a moment whilst it scans all your mimetypes.

  4) Uncheck Only show filetypes with associated applications at the
  bottom (again, may take some time).

  5) Click anywhere in the right-hand panel and start typing fits to
  begin searching for the FITS document mimetype. Hopefully you should
  find it.

  6) Double click it, and click Add and then your custom command (for
  me, topcat, for you, ds9).

I should note that I have tested the solution and it worked well for me.


How can I use multi-monitor in my computer?

You can't use the default display settings to set-up multi-monitor setup with nvidia cards. Only setting the sticky edges and launcher on both/one screen need to be set in settings.

All I did in 12.04 was:

Install the current nvidia drivers (probably already installed). Search nvidia-current
Use the nvidia x server settings
Setup the multiple monitors in 'twinview' (choose resolution and drag the screens in position you want them)
Save conf.

To see changes you only need to log out/in.

If you click apply it tries to do it without logging out.

I had these problems in 11.10.
Found in my favorites:
11.10 dual monitor nvidia card problem


Is there any way, to make Ubuntu resistant to corruption of data?

and I lost all my data

This to me seems to show a lack of understanding operating systems. You erased all your data when installing a new operating system over the current one. If you wanted to save it I assume you could have with a live dvd. We will never know but only if your hard disc actually died and got replaced you loose your data. Besides that: if you had installed without formatting most of your personal data would have been there after installing.  Maybe there would be a file that was damaged (but that probably only happens if it was written to disc at the moment of the power failure).

  to make Ubuntu resistant to corruption of data

You might use another filesystem than ext. Both btrfs and ZFS claim "protection against data corruption" but I am not sure if the do a better job than ext. Journaling systems do not have a habit losing data, killing your system beyond repair.
The biggest risk is your hard disc itself. That can have a malfunction (like broken heads).

The best method to prevent data loss is and has always been to backup important files.


installing getopts.pl into the perl installation

getopts.pl is part of the package libperl4-corelibs-perl

sudo apt-get install libperl4-corelibs-perl

Why?

This is why:

% apt-file search getopts.pl
libperl4-corelibs-perl: /usr/share/perl5/getopts.pl


How to upgrade the Linux mainline 3.3.6 kernel?

You can double click each to install them in either the software center or gdebi, whatever your default is. However, I encourage you NOT to do this unless you have a specific reason for wanting this kernel. Canonical heavily patches their kernels to make it play nice with their system and you may wind up with a lack of drivers. You could compile your own kernel and manually add the Ubuntu patches and this would be a safer route. Kernel source is located at www.kernel.org.

For a guide on compiling your own kernel, visit https://help.ubuntu.com/community/Kernel/Compile as it is pretty in-depth.


How big is your SWAP? For default hybernation you need at least 2xRAM of swapspace. You can configure your kernel to use a file-swap instead, but this is not standard and a bit harder to install


How to create a profile in keryx for an offline machine?

Steps 3 to 5 of this answer tell you how to create a profile of your Ubuntu.

To check if there is another instance of keryx running, from a terminal:

ps -A | grep 'keryx'

That, I imagine, would work if you installed keryx from the Software Center (Is it even there?). If you downloaded the package and are running it from the command line, you would have to find the instances of python running:

ps -A | grep 'python'


Netcat not working (at least, not that I can tell)

Your example, INPUT=hostname; echo -e "HEAD / HTTP/1.1\nhost: $INPUT\n\n" | nc $INPUT 80, works in the command line (shows ok result from server), but not when put in a script, containing just the line (shows bad request error from server).

It's caused by a tricky shell incompatibility related to dash:

You run the shell script with the minimalistic shell /bin/dash - which is also linked as /bin/sh, the default shell. It's used when there is no "shebang" line, or #!/bin/sh.

The problem is caused bu the echo builtin command of dash, which does not support the -e option. The -e is literally passed as part of the HTTP request - which causes the server to return an error "400 Bad Request".

To fix, use bash instead of dash, for example by using the first script line #!/bin/bash


What is ubuntu 14.04 doing while showing "stopping early crypto disks"?

The OP solved their problem and explained how in a comment:

  I figured it out. When I installed it, I set the first boot media as
  CD-ROM. After installation, I must change it to HardDisk. The strange
  is that in previous cases, VirtualBox did it automatically. I used
  VirtualBox to install and use ubuntu several times successfully. I
  don't remember I changed boot priority by myself before. Anyway, it
  works now.

–  Stan Huang at Taiwan Jun 27 at 7:38


I had the same problem. I resolved it by changing the update server in ubuntu 20.04.
How do I change my update server in Ubuntu 18.04?
Following the solutions in the link above.
Type in the terminal: software-properties-gtk
From the opened window, open the drop down menu in front of Download from: and select main server.
Then do sudo apt update and sudo apt upgrade and it should work.
This worked for me!


Once you can connect to the machine from inside your LAN, the rest is completely outside of the control of Ubuntu running on that machine. So the problem is likely to be somewhere outside of your Ubuntu box. Possible causes may include:

incorrectly configured port forwarding on your router. Note that the internal IP of your machine may change when you reboot it, especially if you have more than one device in your LAN, it may depend on the order addresses are requested from the router's DHCP. You can use ifconfig command in the console to see your IP address.
you using an incorrect IP when trying to connect from outside (actually, "No route to host" message strongly suggests that). Google "what is my ip" to find one of many sites which will tell you what your current external IP is. Note your external IP may change if you reboot the router.
As a "security measure", some providers block incoming connections to their client's ports - either all ports or a range of well-known ports. There may be some setting in the ISP's control panel or you may need to call them to figure this out.

So the way to debug the problem would be:

make sure you can connect from within LAN
make sure you correctly configured port forwarding on the router using the correct internal IP of your machine
figure out your external IP
make sure you can ping that IP, use traceroute to see where the packets are blocked
possibly try configuring forwarding for some "easier" service, such as HTTP first to exclude problems with authentication etc.

(also, I'm not sure why you're mentioning DNS stuff - everything is done via plain IP addresses, DNS has absolutely nothing to do with it)


How can I create recurring events in Calendar?

I believe that this is not possible with the default Calendar application but there is an application called 'California' which borrows the look of the default application and extends its functionality. Install as follows:

sudo apt-get install california

And it certainly has the ability to create recurring events as this screenshot from my Xenial installation demonstrates:

References:

Gnome.org: California


How is Ubuntu's terminal different from Windows' cmd.exe?

cmd.exe is a shell. Bash is a shell. They both interpret and run command-line input in similar (ish) ways, both allow you to run things, and both can interpret scripts based on their relative syntaxes, but those syntaxes is fairly different.

PowerShell is another terminal interpreter from Microsoft. It's a lot more like Bash in terms of native capability albeit with an even wilder syntax.

In general, Windows' emphasis has been on providing graphical access to things. A lot of functionality isn't natively exposed by command line commands. What is has was mostly copied over from MSDOS so everyday things like moving files around is simple enough, but unmounting can take extra applications. I suspect you can do anything with enough searching and installing.

In other words, if I found primed nuclear device and the only interface to diffuse it was a cmd.exe command line, we'd probably all die. I'd take my chances with tar.


whats the difference between DocumentRoot and Directory

Here's an excerpt from the official Apache documentation:

  If multiple (non-regular expression) Directory sections match the
  directory (or one of its parents) containing a document, then the
  directives are applied in the order of shortest match first,
  interspersed with the directives from the .htaccess files. For
  example, with

<Directory /> AllowOverride None </Directory>

<Directory /home> AllowOverride FileInfo </Directory>

  for access to the document /home/web/dir/doc.html the steps are:

Apply directive AllowOverride None (disabling .htaccess files).
Apply directive AllowOverride FileInfo (for directory /home).
Apply any FileInfo directives in /home/.htaccess, /home/web/.htaccess and /home/web/dir/.htaccess in that order.

I.e. Directory / directive defines "defaults" for all other directories, which can be overridden by each particular directory

In your case both of the versions you're showing should be equivalent unless you have other Directory directives.


Segmentation fault (core dumped) Apache Directory Studio

This is because your apache Directory Studio got corrupted , you need to re-download the latest version
and start using that one..

Follow below link for latest version download :--
http://directory.apache.org/studio/downloads.html


Try

sudo apt-get purge cups

to remove all install config files and then install cups again.


Lock Screen - Screen Shield - Avoid 3 Up Scrolling Arrows. Ubuntu 18.04

I tried to make the arrows invisible by hacking /usr/share/gnome-shell/theme/ubuntu.css file.

Disclaimer: playing with shell files is very dangerous, small mistakes will stop access to GNOME desktop session. Only tty will work. I have several times reinstalled Ubuntu in such cases. although I have successfully achieved the required. Do this on your own risk.

found this part,

.screen-shield-arrows Gjs_Arrow {
  color: white;
  width: 80px;
  height: 48px;
  -arrow-thickness: 12px;
  -arrow-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); }

and made it to

.screen-shield-arrows Gjs_Arrow {
  color: white;
  width: 0px;
  height:0px;
  -arrow-thickness: 12px;
  -arrow-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); }

hack: width & height fields made to 0px

Observe that at every 7th second, arrows should be visible..
now no more with the above edits in /usr/share/gnome-shell/theme/ubuntu.css file.


Well, this is a problem with using packages from outside the Ubuntu repositories. You will need to either ask the Docker Engine Developers to write an apparmor profile for you or write your own. Same with a selinux profile.

Now here is where you will start to get options, should you use or not use LXC, apparmor, selinux, etc.

For example, the Docker developers feel you need to update - http://blog.docker.com/ and that is certainly one way to manage the situation.

Apparmor and selinux protect you (potentially) from zero day  exploits, but exploits are fixed via updates.

The advantage of apparmor is that it is easier to learn. The disadvantage is that you have to write you own profile.

See the apparmor documentation

https://help.ubuntu.com/community/AppArmor#Profile_customization

https://wiki.ubuntu.com/AppArmor

or, for a practical example, using a rather simple program, see http://blog.bodhizazen.com/linux/apparmor-privoxy-profile/

As long as we are on opinions ...

RHEL and Fedora are a bit ahead of the curve compared to Ubuntu in terms of Virtualization.  RHEL is working with Docker to provide support, including selinux

http://www.redhat.com/about/news/press-archive/2014/4/red-hat-docker-expand-collaboration

I am not sure about Fedora and Docker, but Fedora uses selinux and virtmanager to manage LXC - http://major.io/2014/04/21/launch-secure-lxc-containers-on-fedora-20-using-selinux-and-svirt/

At the end of the day, you will have to review the opinions and go with the solution that works best for you.


Xubuntu 14.04 Power button instantly powers off laptop instead of showing shutdown menu

it seems systemd kicks in and handles the power button before the xfce power manager.

Try to set systemd to ignore the handling of lid close or power button press, edit the file /etc/systemd/logind.conf, remove the comment sign # from the beginning of the line and set the appropriate line to ignore:

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# See logind.conf(5) for details

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
Controllers=blkio cpu cpuacct cpuset devices freezer hugetlb memory perf_event
ResetControllers=
#InhibitDelayMaxSec=5
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#IdleAction=ignore
#IdleActionSec=30min


I think I ran into the same problem. The issue (at least for me) was that I was trying to update from within a chroot.

You have to run sudo sh ~/Downloads/crouton -u -n chrootname from the ChromeOS shell: Ctrl+Alt+T, type shell and hit enter, and then enter the update command.


To use linux permissions, edit /etc/fstab, add an entry for your windows partition

# command line
sudo -e /etc/fstab

# graphical
gksu gedit /etc/fstab

use the "permissions" option, similar to this

UUID=12102C02102CEB83 /media/windows ntfs-3g auto,users,permissions 0 0

Change your uuid and mount point accordingly.

List your uuid with

sudo blkid


server install from iso using apt-cacher server

During the setup, you can specify a custom repo URL in the repo selection screen. So you just enter an address pointing to apt-cacher server there for example http://apt-cacher:3142/mirrors.kernel.org/ubuntu


The reason you can't do this is simple and two fold
1
cd is not a program but an in-built command and sudo only applies to programs.
sudo foo means run the program foo as root
sudo cd /path returns
sudo: cd: command not found

because cd is not a program.
2
If it were possible to use sudo to cd to a protected directory then having run the command sudo cd /var/named you would be in that directory as a normal user but normal users are not allowed to be in that directory.
This is not possible.
Workaround:
You can use sudo -i to elevate yourself to super user. For example:
sudo -i
cd /var/named

You are now logged on as root and can use whatever commands you wish. When finished type exit and you are back to being logged on as a normal user.


Touchpad not working after system update (18.04)

Ok looks like it really is caused by the recent kernel update (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1854798). I'll probably just wait for a stable update. Thanks!


error while loading shared libraries: libQtSql.so.4: cannot open shared object file: No such file or directory

I've got the same issue when installing Time Doctor (not from repos) on fresh install of Ubuntu 13.10 GNOME x64.

Your comments made me to investigate and do this:

sudo apt-get install libqt4-sql
sudo apt-get install libqt4-gui

After that the error did not occur.


Ubuntu on Laptop external monitor not working properly

I found out, that on my system two X display managers where installed: gdm and lightdm. The default one was lightdm. After setting the one to gdm I can now use both monitors without any problem!

To change the default simply run sudo dpkg-reconfigure lightdm.

I hope this helps if someone has the same problem!


won't boot after 4.2.0-30-generic kernel update

Kernel 4.2.0-30 has a bug.  Uninstall it by issuing the following commands in the terminal.

sudo apt-get remove linux-image-4.2.0-30-generic
sudo update-grub2


Error trying to make rtl8812AU_linux_v4.3.20_16317.20160108

In the terminal, navigate to the driver file:

cd ~/Desktop/rtl8812AU_linux_v4.3.20_16317.20160108

Next, edit the Makefile:

nano Makefile

Find the line that reads like this:

#EXTRA_CFLAGS += -Wno-error=date-time   # Fix compile error on gcc 4.9 and later

Change it to read like this:

EXTRA_CFLAGS += -Wno-error=date-time    # Fix compile error on gcc 4.9 and later

Save (Ctrl+o followed by Enter) and exit (Ctrl+x) the text editor.

Now recompile:

make clean
make

Assuming there are no further errors:

sudo make install


About supported devices under ubuntu touch

The support of devices is created one-by-one and not every device is supported.

While Ubuntu Touch is considered a comminuty-project as a whole, there are some devices that are considered to have "official" status because they are maintained directly by the UBports team. Those devices are listed on the Ubuntu Touch devices page.

In the case of your device, it isn't listed on the page, which means you will have to go for an "unofficial" image at most (essentially, an immage that a member of the community put together, with no support from the UBports team).
One possible source for those images (while the forum is mainly focused on Android) would be XDA-Developers.

Worst case would be that nobody made an image for your phone and you'd have to put it together yourself. However, that might be a complicated process and a guide or step-by-step list of instructions can't easily be made. Two sources of information would be the official page about porting and this AskUbuntu answer.
Also, XDA-Developers would help a lot here as well, since getting Android/CyanogenMod/LineageOS to run on your device is apparently considered an important step in porting Ubuntu Touch.

EDIT: Assuming that the "Micromax Canvas Doodle 3" is also known as "Micromax A102", here is the device-specific XDA subforum for your device, where you might obtain a base-ROM for starting development or maybe even an unofficial build of Ubuntu Touch.


Can't able to add Gionee F103 in android studio?

As @CelticWarrior said, for Ubuntu no drivers required to connect your phone. But if that's not working here is the simple way. I also faced the same problem with my Redmi Note 3S. But I installed some of drivers using wine. To do that follow the below steps,

Install Wine. To install Wine check this AskUbuntu thread.
Download the Gionee drivers from their official website. (It's Windows compatible drivers).
Now extract the files and right click on AutoRun_install.exe file open with Wine.
The installation process goes like the software installation in your Windows OS.
After installation connect your phone using data cable and don't forget to enable USB debugging.
If it isn't detecting your phone just restart the phone with connected to Computer.
And also don't forget to choose MTP option as your connection type.


Is there a settings manager available for Mutter?

Mutter is lean and mean by design, and is for sure way less configurable than Compiz. That's a choice made by the GNOME designers, who place simplicity and maintainability above configurability.

If deep customization is your thing, the best answer is probably "don't use Metacity/Mutter". Compiz is one of your possible alternatives, but there is a bajillion of more customizable X window managers that could do the job for you. Try some of them! From what you say, maybe you could start with Enlightenment and Openbox. And Compiz, yes.
If for some other reason you really want mutter, the grand total of settings you can adjust is 5, managed through the GConf infrastructure (soon migrated to DConf) and declared in a XML schema located at /usr/share/gconf/schemas/mutter.schemas. To edit them, fire gconf-editor and go to /apps/mutter/.

Also, this Fedora Gnome 3 Tips page has a few interesting paths to explore in gconf, and you might find a few interesting not exactly mutter-related but still interesting in gnome-tweak-tool