Install Ubuntu 15 alongside Windows 10 on Dell XPS 15 9550 2015 from Scratch

Boot Windows to disable hibernation and Fast startup.
Open command prompt as administrator and execute:

powercfg /h off

Open the "old version" of the Windows Control Panel.

Go to Power Settings and uncheck "Fast startup".
If it is not visible, enable "Show hidden settings".

Shutdown the machine completely - do NOT reboot.
Boot from the Ubuntu installation media.

Select Try Ubuntu without installing.

Open GParted (to do this press the Windows key and type "GParted").

Check whether there is free unallocated space on the disk, if not:

Shrink the Windows partition to generate some free space.
Create a new ext4 partition - in a size that fits your needs.
Create a new swap partition - the same size as the RAM.

On the desktop click Install Ubuntu. Choose Something else.
Select the new partition you had created for Ubuntu before.
Select / as mount point and ext4 file system as the format.
For the boot loader location select the same disk on which Windows is installed.

The boot loader will automatically be installed to the existing EFI partition.

Notes:

I suggest to create a minimum of 20 GB space for the Ubuntu operating system.
In case you don't want to hibernate Ubuntu, you don't need the swap partition.
Assuming you have sufficient RAM, a swap partition is optional on a SSD drive.

Screenshots giving examples to demonstrate the setup and what GParted shows:

sda = HDD (personal data)
sdb = SSD (operating system)
sdc = USB (installation media)


I tried to install Ubuntu 14.04 on an old laptop in place of Windows 8.1, and now it won't boot

Resources http://ubuntuforums.org/showthread.php?t=2147295
You have got a Lenovo model try to find a post about.


Is there an exposé like window overview feature in xubuntu?

skippy-xd is the closest thing I can see.

Code and bug tracker: https://github.com/richardgv/skippy-xd/
PPA: https://launchpad.net/~landronimirc/+archive/skippy-xd-daily/

I'd check the bug tracker because this doesn't come without issues.

You can install the PPA with:

sudo add-apt-repository ppa:landronimirc/skippy-xd-daily
sudo apt-get install skippy-xd
mkdir -p ~/.config/skippy-xd
wget -qO ~/.config/skippy-xd/skippy-xd.rc https://raw.github.com/richardgv/skippy-xd/master/skippy-xd.sample.rc

Then you just need to run skippy-xd to see the windows laid out. You can set a keyboard binding for that to make things easier.


Cannot download Steam Console Client (SteamCMD)

steamcmd is in most recent Ubuntu releases. Did you follow all the instructions? Notably...

sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install lib32gcc1 steamcmd


Startup Disk Creator fails to erase disk

Try this.  Insert your USB flash drive, and just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

dmesg | tail

The sdb is your USB drive, yous might be different

Unmount your USB drive using the following command:

sudo umount /dev/sdx

Format the drive using the following command: (this would format it as FAT32)

sudo mkdosfs -F 32 -n 'Label' -I /dev/sdx

make sure that you replace the x with your device id.


I experienced exactly the same. I solved the problem by replacing libreoffice-gtk3 with libreoffice-gtk2 package


How to install Kubuntu 12.04 amd64 on an Asus N56V notebook

Your disk is GPT-type, so you need either an EFI or a BIOS-boot partition.
Run Boot-Repair, update it, and click Recommended Repair.
Note the URL that will appear. Reboot and check if your problem is solved. Indicate the URL if not.


nameserver 127.0.1.1 in resolv.conf won't go away!

NetworkManager is the program which (via the resolvconf utility) inserts address 127.0.1.1 into resolv.conf. NM inserts that address if an only if it is configured to start an instance of the dnsmasq program to serve as a local forwarding nameserver. That dnsmasq instance listens for queries at address 127.0.1.1.

If you do not want to use a local forwarding nameserver then configure NetworkManager not to start a dnsmasq instance and not to insert that address. In /etc/NetworkManager/NetworkManager.conf comment out the line dns=dnsmasq

sudo nano /etc/NetworkManager/NetworkManager.conf

[main]
plugins=ifupdown,keyfile,ofono
#dns=dnsmasq

and restart the NetworkManager service.

sudo service network-manager restart

In this mode, NetworkManager updates /etc/resolv.conf (still via resolvconf) to include the nameserver addresses NetworkManager has for active connections.

If you want to disable the resolvconf mechanism for updating resolv.conf and just use a static resolv.conf file, do the following.

sudo rm -f /etc/resolv.conf  # Delete the symbolic link
sudo nano /etc/resolv.conf   # Create static file

# Content of static resolv.conf
nameserver 8.8.4.4
nameserver 8.8.8.8


Nvidia Prime doesn't appear in Nvidia Settings on Ubuntu 18.04?

I saw the "fail". It's stupid but I didn't find the option until now.

We have to set in terminal sudo apt install nvidia-prime and then we'll have this option in Nvidia Settings.

Besides, I had to put in the GRUB settings noveau.runpm=-1 to use the Intel graphics.


You have to permit Apache to follow Symlink, read the following existing thread.

https://superuser.com/questions/244245/how-do-i-get-apache-to-follow-symlinks


You could try using crontab, and enter this in the terminal:

 crontab -f nohup

and then enter this:

 pyton(version) -v -f echo 'nohup' & disown

and then enter this in the terminal:

 crontab reboot

and it might work fine this way.


No Grub Bootloader after installing any linux distribution

go through bad way use live ubuntu and copy-paste grub files from live ubuntu to ubuntu.

  copy paste using terminal with root user


Is Ubuntu faster than Windows is a broad topic that depends on many topics including your computer's hardware. Try running the Ubuntu live USB (which can also be used to install Ubuntu) from a live session without installing it to your computer's hard drive. Then you can compare Ubuntu's performance with Windows 10's performance overall and on a per application basis.

Ubuntu runs faster than Windows on every computer that I have ever tested. LibreOffice (Ubuntu's default office suite) runs much faster than Microsoft Office on every computer that I have ever tested. Many Windows games can also being installed on Ubuntu using Wine, and they usually run faster (and better) in Windows than they do in Wine.

There are several different flavors of Ubuntu ranging from vanilla Ubuntu to the faster lightweight flavors like Lubuntu and Xubuntu, which allows the user to select the Ubuntu flavor that is most compatible with the computer's hardware.


Yes, you should install cifs-utils first and than add an entry to your /etc/fstab like this:

//ipofyourmachine/sharedfolder /mnt/share/ cifs username=user,password=pass,defaults 0 0

Edit:

Create share.mount in /etc/systemd/system

sudo nano /etc/systemd/system/share.mount

Then paste this and adjust with your IP and folder directory names. Also, user and pass refer to the username and password of an account that has enough privileges to access the folders of the samba share.

[Unit]
Description=Mount unit for data

[Mount]
What=//192.168.1.1/shared
Where=/mnt/share
Type=cifs
Options=username=user,password=pass

[Install]
WantedBy=multi-user.target

Then enable and start the daemon:

sudo systemctl daemon-reload
sudo systemctl enable share.mount
sudo systemctl start share.mount


How to load an existing windows installation as a virtual Guest inside Ubuntu

http://lifehacker.com/how-to-dual-boot-and-virtualize-the-same-partition-on-y-493223329

Try the above link.It will give you a hint.


error in locking authority file /home/robert/.Xauthority

means that that file does not have the correct permissions.

Do a ls -l /home/robert/.Xauthority and verify it looks like this up the the 2nd "robert":

-rw------- 1 robert robert 57 sep  4 08:02 .Xauthority

You can set user and group with ...

sudo chown $USER:$USER /home/robert/.Xauthority

And the permissions with ...

sudo chmod 600 /home/robert/.Xauthority

It is possible that there is an underlying problem though and that this is just a symptom.

  Fatal Server Error: sCould not create lock file in /tmp/.tX0-lock. Go to X.org Foundation for help

can have a lot of reasons. It could be due to the other error above so when you fix that and this goes away fine. But it can also indicate a faulty hard disk, or a wrongly mounted /tmp.

Do have a look at Ubuntu boots into terminal and XServer Error could not create lock file


Ubuntu 18.04 - sudo: no tty present and no askpass program specified

The issue us that the file is read in order. See the "SUDOERS FILE FORMAT" section of man sudoers:

  When multiple entries match for a user, they are applied in order.  Where there
       are multiple matches, the last match is used (which is not necessarily the most
       specific match).

So, first it reads this line:

jenkins ALL=(ALL) NOPASSWD: ALL

And allows jenkins to run sudo command with no password (this seems like an absolutely horrible idea, by the way, but let's leave security out of it for now). Then, it continues reading the file and finds:

%sudo   ALL=(ALL:ALL) ALL

Since jenkins is part of the sudo group, this applies to jenkins as well and overwrites the NOPASSWD command.


Why is the LaTeXDraw logo so big in Xfce 4.10?

The problem appears to be a bug in the desktop launcher for LaTeXDraw.

Copy the application icon to ~/.local/share/icons:

cp /usr/share/pixmaps/latexdraw32.xpm ~/.local/share/icons/latexdraw.xpm

In the application launcher (/usr/share/applications/latexdraw.desktop), the icon entry is

Icon=/usr/share/pixmaps/latexdraw32.xpm

Replace this with

Icon=latexdraw

This should fix the problem!


In case anyone has trouble with more recent versions, the following worked for me, for Ubuntu 14.04 (trusty):

First, I completed a 'vanilla' install of TeXLive as per the instructions in the link.

Then simply:

sudo apt-get -y install biber

This currently installs version 1.8.

Everything appears to work fine with this, including AucTeX.


Machine freezes on update of secureboot-db

I had the same problem crop up a couple of weeks ago - I eventually solved it today by simply cancelling the update for that package (based on this answer). Probably not the 'correct' answer/solution, but it allowed me to update other stuff after...

sudo mv -v /var/lib/dpkg/info/secure* /tmp
sudo dpkg --remove --force-remove-reinstreq secureboot-db


Mount a file instead of directory using sshfs?

No, it is not possible. Only filesystems can be mounted.


Your computer is set up with at least 2 accounts. If you are a single user you have 2 roles: user and administrator. The last one requires a sudo password every time you do an admin task. That is the way Ubuntu works and is part of the security model Ubuntu follows.

You can circumvent sudo with

sudo visudo

If you add a line like

%Arathorn867 ALL = NOPASSWD: /usr/bin/k3b

user Arathorn867 can use program k3b without it asking a sudo password.

If you want to remove this security model you can alsofollow this guide:

http://my.opera.com/Viperstryker/blog/how-to-disable-sudo-password-prompts-on-ubuntu

But we AskUbuntu all (well at least alot of us) advice AGAINST it. Just get used to this method.


The heart of the distribution is the package archive, so they started by creating an archive (archive.ubuntu.com), and copying the debian source packages there and building them on the build daemons.  Then they proceeded to modify many packages and update the archive, before finally declaring it the first release of Ubuntu, and building fresh cd images from the archive.

The live cd and ubiquity came about several releases later.  Initially the install cd used debian-installer: what we now call the alternate/server cd.


Can a printer user code be entered in the printer settings gui?

It misses some information that should result useful. Nevertheless I see 3 family of  solutions:

You can install a Virtual Machine (Virtualbox) on your Ubuntu with a  working  Windows operative system, install the printer following the usual procedure from your university and after share the printer with your computer. There are many tutorial about different version of Windows. The advantage is that you can fully use the normal procedure. You emulate a machine (hardware) and not the operative system. If the Virtual Machine is up you can download a pre-made system too. Follow, e.g., this post to have other news about it.
You can try to install the driver through wine. I see more problems because this time you go to emulate the system and explorer have to connect with a probably dedicated interface and install the driver in the emulated system. So it seems to be a specific task and I don't know how much it can be tested. This doesn't mean it cannot function.
From another computer with installed that printer you can obtain the IP address and the other parameters you should need. Else, since you have the authorization to print, at least you have the possibility to put physically your hands on the printer: from the panel option on the printer you may see the IP address. Often in the universities this can be even more easy: the IP can be directly written on the printer, or on the network plug.

If it is a fixed IP, you can try to install in Ubuntu the printer as a network one. Via CUPS. With those parameter
Driver: Ricoh Aficio yyy foomatic/plx mono (reccomanded)  yyy is your model or one compatible
Connection soket://xxx.xxx.xxx.xxx (the IP you read before)
Fixing by hands the parameter for Media source, double side printing, quality  and so on...
If it is a DHCP printer it should be more tricky. With Samba you can discover the printer in the network and after you should obtain a connection like
Connection dnssd://RICOH%20Aficio%ZZZZZZZZ_pdl-datastream._tcp.local/ instead of "ZZZZZZZZ" there will be your model/id of printer.

The latter way is possible only if the administrators did not close the printer with a firewall, or did not set the printer to accept jobs only from their queue.

Note. Once that you obtain the IP of your printer you can probably enter in the internet page of your printer (!). http(s)://xxx.xxx.xxx.xxx always the same IP of before. (I don't remember if it is encrypted or not, http or https). It's even possible that you can download from there the driver too.

General consideration: IMO it's impolite, even if not unusual, that a University forces the use of a proprietary software to access a shared resource.

Additional References

Create a virtual machine and install a guest operating system


How to install Juniper VPN on Ubuntu 14.04 LTS?

You could try the suggestion in this post: Juniper setup on 12.04

Update for 14.04 Trusty Tahr (64-bit)

First run with Network Connect on 14.04 resulted a failure and Network Connect just complained about missing 32-bit libraries. My NC version is 7.4R6. I did have all the libraries installed and openjdk-7-jre:i386 installed.

Digging a little bit deeper revealed that Network Connect is using update-alternatives listing to decide if 32-bit jre is installed.

/usr/sbin/alternatives command not found
Command = /bin/sh -c /usr/sbin/update-alternatives --display java 2>&1 | grep -v "/bin/sh:" | grep ^/ | cut -d " " -f 1 | tr " " " "

However it's looking update-alternatives from /usr/sbin/ and there seems to be no symlink pointing to the right directory like 13.10 had. So adding symlink to /usr/sbin/ helped.

$ sudo ln -s /usr/bin/update-alternatives /usr/sbin/

Just for completeness, as well as having to install a 32-bit JRE, I also had to follow the info here: http://itfuzz.blogspot.de/2013/11/juniper-network-connect-and-ubuntu-1310.html and run this command on 14.04:

sudo apt-get install libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0 libxext6:i386 libxrender1:i386 libxtst6:i386 libxi6:i386

I must already have done this on 13.10 as it worked then, but on 14.04 the Network Connect window just closed. This fixed the problem.


Problem exporting my database sql through the terminal

you shouldn't need the []'s try

mysqldump -u root -p guru99 > guru99.sql

and guru99 should be your database name


How to Remove ffmpeg completely in Ubuntu 13.10?

How to Compile FFmpeg in Ubuntu tells you how to undo everything in the Reverting Changes Made by This Guide section:

rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,vsyasm,x264,yasm,ytasm}

sudo apt-get autoremove autoconf automake build-essential git libass-dev \
libgpac-dev libmp3lame-dev libopus-dev libsdl1.2-dev libtheora-dev \
libtool libva-dev libvdpau-dev libvorbis-dev libvpx-dev libx11-dev \
libxext-dev libxfixes-dev texi2html zlib1g-dev

hash -r

However, seeing your other recent ffmpeg question it appears that you did not follow the guide or did not follow it correctly so this may not work for you.

The guide does not install ffmpeg to the system. This is to avoid conflicts with packages from the repository, but I'm guessing you did install to the system with sudo make install without using checkinstall; therefore it is not integrated in the package management system. If this is the case then try:

cd ~/ffmpeg
sudo make uninstall
hash -r

The guide is supposed to make compiling easy since the ideas is that the user must only successfully copy and paste, but compiling is not for everyone and results may vary.


From the machine that is not visible, try doing the Ctrl+L then smb://localhost. You can connect to itself.

Also, make sure that the smb service is running on the machine that you can't see.

It might also be worth seeing if you have a firewall issue, turn off the firewalls on your machines to see if there is a difference.


Up-to-date password manager with import CSV option

Well, I think Universal Password Manager will help you in this condition. It has an ability to import from CSV.

Features:

Simplicity - it provides a small number of very strong features with
no clutter
Cross platform - UPM runs on Android, Windows, Mac OS X and Linux
Database syncing - This feature allows your to keep you database in
sync across several PCs/devices using either Dropbox or a HTTP
location.

Key Features:

Small, fast and lean
Uses AES for database encryption
Database sync across multiple PCs/devices
Written in Java/SWING
Android, Windows and Mac OS X native feeling versions available
Fast account searching
Streamlined for those who are more comfortable using the keyboard
only

How to install:

Type Ctrl+Alt+T and enter each of these lines seperately on the terminal:

sudo add-apt-repository ppa:adriansmith/upm
sudo apt-get update
sudo apt-get install upm

You can find it under Accessories Menu.

If you are using Ubuntu version that is unavailable to run upm from repository, then download upm from http://upm.sourceforge.net/download.html under Linux tag, then store it where it should be.

Then, Type Ctrl+Alt+T and enter each of these lines seperately on the terminal:

cd /path/to/zip
sudo apt update
sudo apt install openjdk-9-headless
tar xzf upm-x.xx.tar.gz
cd upm-x.xx
sh upm.sh

If you want to make a shortcut on your desktop, do the following:

Right click on your desktop
Choose "Create Launcher..."
Change "Application" to "Application in Terminal" in the drop down box.
Give it a name like "UPM"
Enter the command like this /path/to/upm-x.xx/upm.sh
Add a comment if you like, it will show up when you mouse hover over it if you move the launcher to a menu bar.


The Netinstall/Minimal image (two names for the same thing) was a byproduct of the Debian installer server build. While popular with some users, the Ubuntu developers never supported it.
Ubuntu Server recently changed to a new installer, so the Netinstall image will longer be created. The final 20.04 Netinstall image is here.

For a VM, consider using a daily cloud image: https://cloud-images.ubuntu.com/focal/current/

For Bare Metal, consider simply using an older Netinstall image, then release-upgrading those minimal packages to 20.04, then installing the rest of your system.

Netbooting the server installer is still possible, see https://discourse.ubuntu.com/t/netbooting-the-live-server-installer/14510

There are many other options: Vagrant, pre-built VMs, Ubuntu Core, Ubuntu Base, etc. It really depends upon what you want your final system configuration to look like.


Integrate a media-player into Nautilus file browser

I believe this link will show you how to add to the right click menu in nautilus; then all you have to do is write the script that adds and plays a song with MPlayer.

Let me know if this works out for you. I got it working here.


How do you completely shut down Ubuntu One?

run gnome-session-properties and uncheck the "Ubuntu One" service.

You can also set transfer limits in ubuntuone-preferences.


How do I remove items from the Places section of the Files sidebar?

The answer to this question is covered here.

You need to change the variables in .config/user-dirs.dirs to point to $HOME like this:

XDG_VIDEOS_DIR="$HOME"


Unable to run g++ after upgrading to Ubuntu 14.10

Ok I fixed it:

I removed the packages that were causing the errors, starting by valgrind:

sudo apt-get remove valgrind

and then the 3 other ones. And no more errors after that.


Up to now, the problem seem solved by disabling Adblock (leaving Adblockplus).

EDIT:

The problem unfortunately still persists.


Ubuntu 16.04 NVIDIA Prime not showing up

What about just trying to install the Nvidia X Server Settings Tool?

sudo apt-get install nvidia-settings


Install SQLite browser, it's in the repositories. (Source)
There's also an extension for Firefox (if you use it): SQLite Manager

A list of tools that can manage those files can be found here.


How to get the onscreen keybord appear on login

Lubuntu does not come with a screen keyboard installed, nor is the option enabled on the log-in screen by default or even after installing a virtual keyboard.

So first, install a screen keyboard. I recommend Onboard, the default in Ubuntu. Open a Terminal window and enter:

sudo apt-get install onboard

Type your password and hit enter. When that's done processing, you need to enable it on the login screen. A simple matter of editing a config file to tell it you have a keyboard that it can use. Enter the following in your Terminal window:

In Lubuntu 14.04:

sudo leafpad /etc/lightdm/lightdm-gtk-greeter.conf

In Lubuntu 15.10:

sudo leafpad /etc/lightdm/lightdm-gtk-greeter.conf.d/30_lubuntu.conf

You can substitute "leafpad" (the default text editor in Lubuntu) with the editor of your choice. Scroll to the bottom and you should see a line like:

#keyboard=

You just have to specify onboard and then un-comment the line by removing the hash symbol before "keyboard" like so:

keyboard=onboard

Now save the file and close the editor. To test it, just log out. You'll be back at the login screen. Click the Universal Access icon (the little man), then On Screen Keyboard. If everything's set up right, onboard should now appear on your screen.


I have decided to file the bug against xorg-xserver-input-synaptics as shown here. I guess I'll know based on feedback from the devs whether this is the right package.

UPDATE: This bug was almost immediately marked a duplicate of Bug 934770, which currently requires feedback to decide whether to revert the relevant default setting or not. At least I now know for sure that I filed against the correct package.


Kubuntu 18.04 LTS - Account Details unavailable

Looks like that installing the backports solved the issue.


It says that you need these packages:

sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev

So, installing the above packages will solve your issue.


According to the diff output, your problem is definitely inside your ~/.bashrc. You should correct it by editing. (To edit files in your home directory (~), root permissions should not be necessary unless something else is messed up.)

In the first export command, you overwrite the current PATH contents by not including $PATH. To extend the existing list, the command should read:

export PATH="/home/bghanem/python/python27/bin:$PATH"

You can also merge both export commands into one.
Moreover, you should use $HOME instead of ~ when setting the PATH variable (thanks @DavidFoerster for the explanation!), so the result is:

export PATH="$HOME/anaconda/bin:$HOME/python/python27/bin:$PATH"

Use your favorite editor to edit the file. In your current situation, you might need to invoke it using the full path, e.g. /bin/nano. After that, don’t forget to reload .bashrc using . ~/.bashrc or by opening a new shell.


I think this one is going to require a reinstall.  I have not had the issue you are describing, however, I have had others.  A complete purge and reinstall has fixed the issue on those occasions.  Some info that would be useful to further troubleshoot this would be the version of Ubuntu you are using.


Streaming Radio Stations on Ubuntu 16.04, and Firefox

I visited one of the site you commented on, mpr.org and was able to listen to streaming music from the classical section. (big mistake on my part, now I'm scarred for life) :)

I think you need to install adobe flash plugin. The installation process is simple:

open a terminal.
execute the following command: sudo apt install flashplugin-installer
the package itself is just a pointer to where it can download the plugin from the internet. Watch the terminal output and make sure the installation completed successfully.
if for some reason the installation failed, you can remove the package by executing: sudo apt remove flashplugin-installer, then do step 2 again.
upon successful installation, open firefox and type the following in the address bar: about:plugins
If flash plugin is installed and enabled in firefox, you should see the following:

  Shockwave Flash

File: libflashplayer.so
Path: /usr/lib/flashplugin-installer/libflashplayer.so
Version: 25.0.0.148
State: Enabled
Shockwave Flash 25.0 r0

visit the mpr.org site again and see if you can now listen to music.


Preseed file whith ufw command do not work

Old mainline kernel 3.14.1 (12.04) was retained after upgrade as it was newer than what 14.04 had.

Both UFW & Firestarter seemed to work but did nothing even when I tried to block everything.

Solution:
- Installed 3.15.RC2 kkernel.
- Removed 3.14.1 kernel.
- Downloaded & installed 3.14.1 again (as 3.15.2.RC2 was unstable on my machine).
- Removed 3.15.RC2 kernel.

Now firewall rules are working fine.

Think this mess happened as kernel was retained from older OS & that messed somethings up.

Hope this resolves the issue for you as it did for me.


What's wrong with my isc-dhcp-server configuration?

Found the culprit! Missing a semi-colon:

/etc/dhcp/dhcpd.conf

option routers 10.0.0.1;

The YouTube video DHCP Relay Configuration on Juniper SRX 210 using Ubuntu 12.04 DHCP Server (here) introduced me to this command:

:~$ sudo dhcpd -4 eth0

That's a great check to see if isc-dhcp-serveris running, but in my case it reported the error. It was trivial to fix after that.


Can't connect to one wifi network, keeps asking for password

First remove all special characters from the network name.

Now, check the settings in the router. WPA2-AES is preferred; not WPA and WPA2 mixed mode and certainly not TKIP. Second, if your router is capable of N speeds, I have better luck with a channel width of 20 MHz in the 2.4 GHz band instead of automatic 20/40 MHz.

I also have better luck with a fixed channel, either 1, or 11, rather than automatic channel selection. After making these changes, reboot the router.

Next, I recommend that your regulatory domain be set explicitly. Check yours:

sudo iw reg get

If you get 00, that is a one-size-fits-all setting. Find yours here: Country Code Then set it temporarily:

sudo iw reg set IS

Of course, substitute your country code if not Iceland. Set it permanently:

gksudo gedit /etc/default/crda

Use nano or kate or leafpad if you don't have the text editor gedit.

Change the last line to read:

REGDOMAIN=IS

Proofread carefully, save and close the text editor.

Next, I'd set IPv6 to Ignore in Network Manager: IPV6 setting  This example is for ethernet, but you want wireless.


You can try PDF to DjVu converter.  pdf2djvu creates DjVu files from PDF files.  Its available in Ubuntu Apps.

To install, just click pdf2djvu .

Or

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

sudo apt-get install pdf2djvu


Yes, you will need to convert the .woff to a .ttf before Ubuntu can use it. A simple way to do this would be to use the woff2 package that is part of Universe. You can install it like this:
sudo apt install woff2

Once installed, you can convert a .woff to a .ttf like this:
woff2_decompress fontname.woff2

If you would like to convert a .ttf to a .woff, you can do this:
woff2_compress fontname.ttf

Hope this helps


Use the ppa:ondrej/php5 repository. It only has php 5.5 as you can see from https://launchpad.net/~ondrej/+archive/ubuntu/php5/+index?batch=75&memo=75&start=75 page.


Yes you can install Ubuntu on your SSD and enable trim support after install by clicking here: http://www.webupd8.org/2013/01/enable-trim-on-ssd-solid-state-drives.html


What fanless ATI Radeon cards work with the open-source drivers?

I am using a Sapphire fan-less card on my system, its not top of the notch and its a bit outdated but that only means you wont have problem with drivers ;)

If you are not interested in running Crysis on your system and you just want a card that can handle anything thrown at it (games, films, external monitors, HDMI connections) and doesn't make a sound when your using it this might be a good option and the current price is well affordable.

Have a look here:
http://www.sapphiretech.com/presentation/product/?leg=&psn=000101&pid=352

If you want to look for one yourself I would say that the open source driver will work on anything on the compatible list (https://help.ubuntu.com/community/RadeonDriver) the only issue really if finding a good designed fan-less card.


Install dependencies

sudo apt-get install python-software-properties python g++ make
sudo apt-get install libnss3-1d libnspr4-0d gyp gtk+-2.0
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
sudo npm install -g grunt-cli
npm install

Go to your source folders, eg:

mkdir -p ~/src
cd ~/src

Clone the repositories

git clone https://github.com/adobe/brackets-shell.git
git clone https://github.com/adobe/brackets.git

Build

cd brackets-shell
grunt setup
grunt build


How to format writable directory when snap is installed?

The correct way to handle this is for the command to run a script instead of mongod directly. The script should format the directory and then exec mongo.


According to this Ubuntu Forums thread this problem is specific to GNOME. The pause button doesn't show up or appears in a strange place.

The solution posted there was to install the TopIcons extension.


Ubuntu 15.04 server DNS server - private network (no internet access)

You will need to install bind9 bind9utils bind9-doc
to install locally you need to make a private repository

Read the following articles
https://help.ubuntu.com/community/Repositories/Personal
and How to create a local APT repository?
Follow the instructions and you should be good to go.

To learn more about BIND and how to configure you can refer to this link
https://help.ubuntu.com/community/BIND9ServerHowto


Alps Touchpad on Dell: how do I install the DKMS driver to enable multitouch?

This one works beautifully.

Download the source from the link below and place psmouse-alps-dst-0.4 folder in /usr/src/ (you need root permission).

https://docs.google.com/open?id=0BzNsvDx_ae6bQnFLQkNFT0dWc3c

Run the install.sh with root permission (Ctrl+Alt+T)

sudo bash /usr/src/psmouse-alps-dst-0.4/install.sh

You can now configure the Touchpad in System Settings.


Thunderbird id the default mail client even in 12.04. Upgrading won't remove Evolution.

In any case it is recommended you backup your data before upgrading. You might encounter problems during such a major operation as an OS upgrade.


Cannot use screen capture apps in Wayland

The default Screenshot (gnome-screenshot) application should work fine. Search for it in the "Activities" overview or use the Prt Sc key. You can capture your whole screen just by running

gnome-screenshot

For the GUI, run

gnome-screenshot -i

Run

gnome-screenshot -h

to see all possible options.


To check Software RAID status, run following command:

sudo cat /proc/mdstat

It will provide you out with three possible values as follows:

root@tmp:~$ cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb2[1]
116414912 blocks [2/1] [_U]
md0 : active raid1 sda1[0] sdb1[1]
803136 blocks [2/2] [UU]
unused devices: <none>

Personalities on this machine are "raid1" which means this machine is set-up to use raid devices configured in a raid1 configuration.

Here,

[UU] indicates a healthy RAID partition.

[_U] or

[U_] indicates a failed partition.
You can read more on this at Installation/SoftwareRAID

To check Hardware RAID status,

sudo aptitude install mpt-status
sudo modprobe mptctl                --Load the *mptctl* kernel module
sudo mpt-status -p                  --Find the SCSI ID for your disk array

To get RAID status report:

sudo mpt-status -i 2                --“2” is the SCSI ID from above step


where to type command sudo apt-get install-f?

You are asked to use the "command line interface" (CLI). You do that by opening a terminal, which can be done by pressing CTRL + ALT + T. There, enter the command sudo apt-get install -f (mind the space after install) and press ENTER.

You will be asked for your password, which will not appear on the screen, not even as *****, as you might expect.

Then, the apt software installation program will start, which will try to sort out what you need to get a fully working system.


tar command can't find file or directory

You need to go to the folder where the file is to extract it.
The Downloads folder is in your home folder.
Your home folder is in /home/yourusername, but you can access to it with ~.
Try:

cd ~/Downloads

ls

if your file is really there, then execute the tar command

tar -xvJf tor-browser-linux64-3.5.3_en-US.tar.xz

Or if you don't feel confident with the console, you can open a file manager, go to the location of your file, right click on it and select "extract here". This will do the same thing as your command.

If you want to avoid typos when using the terminal, you can:

Type  tar -xvJf, and drag the file onto the terminal window. (Thanks Jacob2)
Start typing the name of the file name and press the Tab key. This will complete the name of the file if only one file starts with the string that you have typed. If there are more files starting with that name, press Tab again and you will see a list of options.


Problem with Ubuntu cloud image 16.04 on VirtualBox

Instead of what you are doing

As your question is old, these may be better ways to start 16.04 virtual machines.

multipass - launch ubuntu images really easily, even testing cloud-init config in the process
uvt-kvm - more developer centric ubuntu launch model

Answer to your Question

As you asked specifically about virtualbox, as of the current writing, I see the following issues in your current procedure:

You need to enable a serial port on your virtual box machine.  In the UI, it's a matter of checking the 'serial port' box.  The vboxmanage cli also has a way to do this.
I see you are modifying the kernel command line, but I don't know how to do that in virtualbox, so instead, I attach an .iso with the right cloud config following a modification of this procedure.

Virtualbox cloud-image procedure

This is modified from the reference procedure, but worked for me

Download the latest 16.04 .vmdk file
Create the seed.iso with #cloud-config (see below)
Create a virtualbox VM

disk: point to ubuntu-16.04.vmdk download
cdrom: seed.iso
enable serial port

Upon boot, I can login.

Creating a seed.iso

## create user-data file and a iso file with that user-data on it.
$ seed_iso="my-seed.iso"
$ cat > my-user-data <<EOF
#cloud-config
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True
EOF
$ cloud-localds "$seed_iso" my-user-data

References

https://askubuntu.com/a/921830/7056
https://gist.github.com/smoser/6066204


Buttons in nautilus to toggle sidebar and view

Try Caja, which is MATE desktop's file-manager, and basically a fork of Nautilus.
Though latest (1.4) is based off Nautilus 3.0 (dated), there's work being done (on git) to bring it up to speed, without removing such features as the sidebar mode switcher (places/tree/emblems), compact mode, etc.

Another option is "nemo" -- Linux Mint's file-manager, also based off Nautilus, though a little more recent version (3.2?), which had directory backgrounds/emblems feature, and the drop-down list on the top of the side-bar to toggle places/tree mode removed. It has, however, three toolbar buttons to switch between grid/list/compact modes, since version 1.0.7


Copy files from directory if the name is present in a text file

if cp "$line"*.rpm destination/ ; then
    echo $line "successful!"
else
    echo $line "not found!"
    echo "$line">> /home/Sud/notfound.txt
fi

This worked for me.


Is there a way to set temperature thresholds in Ubuntu?

You shouldn't put your laptop on your lap. Your clothing can block the intact vents. You should put your laptop on a cooling pad:

The cooling pad in turn you can put on your lap or your couch, coffee table, bed, etc.

The fans on laptops are controlled by the manufacturer and kick in at given temperatures. To prevent your laptop from turning off when it gets too hot you can use Intel Powerclamp. Additionally you should be using thermald and tlp.

See: Stop cpu from overheating


No user name/password required when exploring from live USB?

This is possible because your files are on the hard disk, so anyone with full control over whatever operating system is running on the computer has full control (including full access) to your files. This is the case when running Ubuntu or another OS from a live system (live CD/DVD or live USB), and this is also the case if someone were to take the hard drive out of your computer and put it in their computer.

You can get a reasonable degree of protection from this by encrypting your home folder, making sure to only store your files in your home folder (of course back them up somewhere else besides this computer, though...and make sure the backup is secure), and using a very strong password. The password is stored, encrypted, on the hard disk, so if it's weak, the encryption can be cracked pretty easily. See this comic for a relatively accessible explanation of some of the issues relevant to password choice.

Encrypting your home folder is an option during installation, but you can also enable it on an already-installed system by following the instructions in this guide. It is recommended to encrypt your swap partition too, which that guide also explains.

The reason most users do not encrypt their home folders (besides not knowing that it is an option or not being extremely concerned about the privacy of their data) is that, often, the person trying to access your files without your password is you. This also complicates (but does not usually prevent) recovering data from the disk, even if it is mostly intact and you remember the password.

If you want to increase your protection, make sure the password you use for your Ubuntu system is not the same as or even similar to the password you use for anything else, such as any websites.


hostapd-wpe not working but wireless adapter supports AP mode?

It seems that you forget to build the certirficates that are needed by hostapd-wpe.
look in your log:

OpenSSL: tls_global_ca_cert - Failed to load root certificates error:02001002:system library:fopen:No such file or directory
OpenSSL: pending error: error:2006D080:BIO routines:BIO_new_file:no such file
OpenSSL: pending error: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

Since there are no certificate files, hostapd-wpe will not start!


Interrupted upgrade to 12.04  - "no upgrade possible" - how to fix?

Try this in a terminal:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update && sudo apt-get upgrade


Cannot create folder and file on external drive (Xfce, Thunar) after change of mount point

Changing the ownership and permission may help you to access your drive.

These steps would help you to do so.

First un-mount your /dev/sdb1 drive

sudo umount /dev/sdb1

And then change the ownership of /media/sdb1 to working user.

sudo chown -R cipricus:cipricus /media/sdb1

if cipricus is your Ubuntu user's name (if this command fails says: directory not found then ignore previous step i,e un-mounting)
Then change the access permission

sudo chmod -R 774 /media/sdb1

And last mount the driver again.

sudo mount -a

if it doesn't mount then try to mount from icon from your home folder or from gparted.

Reply what happens..


Enable Kubuntu backports repository:

sudo add-apt-repository ppa:kubuntu-ppa/backports

Update the package index:

sudo apt-get update

Install Kate:

sudo apt-get install kate

You may find more info here: http://pkgs.org/download/kate


On the „What's that?” question the answer probably is that it is a HTTP error message.

  10.4.17 416 Requested Range Not Satisfiable

  [...] a request included a Range request-header field [...], and
  none of the range-specifier values in this field overlap the current
  extent of the selected resource [...]

The HTTP request tried to retrieve a part of the file (specified as a range) but the file does not have data in that range. (More on Content-Range.)

I suspect that the HTTP request was modified by the proxy in such a way that the server in question cannot accept.

Can you download a file in Firefox, pause the download and then resume it? Does it pick up where it left off or restarts the whole download?


Ubuntu 14.04 Ethernet and Wifi not working (unclaimed network)

The incorrect driver has been installed for the wireless. Let's fix it:

sudo apt-get purge bcmwl-kernel-source

Now let's load the correct ethernet driver:

sudo modprobe b44

Now that the ethernet is working, install the required firmware for the wireless:

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

After a reboot, all should be working as expected.

EXPLANATION: The installation of the driver bcmwl-kernel-source, in your specific case, the wrong driver, blacklists conflicting drivers:

blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma

The installation is supposed to determine if you have a Broadcom ethernet device and allow its driver b44 and the crucially blacklisted ssb to load nevertheless. Like most things in Linux or, for that matter, life, it usually goes perfectly and invisibly. Once in a while, it does not.

When it goes perfectly, the blacklist file is longer:

blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma
blacklist b44
install wl
modprobe -r b43 b44 b43legacy ssb; modprobe --ignore-install wl ; modprobe --ignore-install b44

That is supposed to allow the otherwise blacklisted ssb to load and bring along b44 allowing the ethernet to work. For some reason it did not install such.

Since you had the incorrect driver all along, it was quick and easy to purge bcmwl-kernel-source which also removes the blacklist-bcm43.conf file altogether. This allowed ssb, b43 (for wireless) and b44 (for ethernet) to load normally. The installation of firmware then gets your wireless working well, too.


Will i get ubuntu working with a gma3650 graphics card?

It works, but asks a lot of special configuration, and there is no openGL support, and you need it for unity effects...
I find netbook a bit slow reacting...
someone has made a ppa with the drivers you need:
https://launchpad.net/~sarvatt/+archive/cedarview
Better buy one with a AMD e450
joost van der wulp from belgium


Sound broken in general, possibly a gstreamer issue

I'm not sure exactly how to fix the problem(s), but since you asked for ways to diagnose the problem, some of the following suggestions might be useful:

Are all gstreamer players broken?

Test out Clementine, Banshee, Rhythmbox, and Totem. Can you play the files in some media players, but not others?  Does seeking work with some of those players but not others? Since all of those players are based on gstreamer, they should behave pretty similarly. If they don't, you're probably looking at a bug in a particular media player.
What about non-gstreamer media players?

If the problems seem to affect all of the gstreamer players you try, it will be good to know if you can play and seek in the files using other media players such as VLC or mplayer.
Need some extra plugins?

If the problem seems to be limited to gstreamer, you'll want to check your gstreamer plugins. Depending on the type of file you're trying to play, you may need to install gstreamer0.1-plugin-ugly. It's important to note that the -ffmpeg plugin allows for playback but not seeking in mp3 files.
Or should we blame PulseAudio?

The bullet points above may help you narrow down the problem, but in all honesty, I'll be surprised if they fix things. Youtube playback should have very little to do with gstreamer, and much more to do with Flash's interaction with PulseAudio. Unfortunately, I don't know enough about PulseAudio to be of much use. :(


Slowness and instability after some minutes of html videos

Have you downloaded flashplugin-installer? If not, try this,

sudo apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt-get update
sudo apt-get install flashplugin-installer

Hope this helps!


The solution is to create a new rc.local through:

gksudo gedit /etc/rc.local

paste the code:

#!/bin/sh -e
#
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0

Make it executable:

sudo chmod +x /etc/rc.local


Is it possible to use album art as an icon for a folder in Nautilus Elementary?

Yes. Add the Cover Thumbnailer PPA, and install cover thumbnailer from the Software Center. It will automatically set your covers as the folder icon.

Graphical method:

To add the PPA, open your software sources and add:

ppa:flozz/flozz

Then install cover-thumbnailer  from the Software Center.

Or, run the following in a terminal:

sudo add-apt-repository ppa:flozz/flozz
sudo apt-get update
sudo apt-get install cover-thumbnailer


I have the Ubuntu WSL2, is it possible to run games like nSnake? how would i install it?

To install nSnake in all currently supported versions of Ubuntu open the terminal and type:
sudo add-apt-repository universe # If you already have a root prompt (#) you don't need to preface any commands with sudo.
sudo apt update
sudo apt install nsnake

To start nSnake run nsnake from the terminal, and it will open in the terminal because it's a terminal game.
In order to run graphical applications on WSL 2 see What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?.


Permission denied to read file owned by www-data from script

It's not the owner of the script that matters when deciding what it is allowed to do, but the user who executes the script.

In your question/comments, it seems like you run it with your own user account, not www-data, so the script can do exactly what you as user can do.

-rw-------  1 www-data www-data 40448 Jun  3 16:19 0000000007

This file is only readable and writable by its owner, www-data. A script running eon your user account can obviously not access it, hence the permission Error in your Python script.

So I see two ways how this could be resolved:

Run the script as www-data. This can be done using sudo, if your account has admin rights. Otherwise some special configuration would be necessary to allow you running stuff as www-data. If you have sudo rights though, it becomes as simple as:

sudo -u www-data python main.py

Open up the permissions of the 0000000007 file so that it's readable and writable by its group too, not just the owner, but also still not everyone:

sudo chmod g+rw 0000000007

Now make sure your own user is also a member of the www-data group, so that it can profit from these group permissions:

sudo adduser YOUR_USERNAME www-data

You will have to log out and back in after this to allow the group changes of your user account to take effect.

Now you should be able to access the file, and so will any script that you run under your account.


sudo must be owned by uid 0 and have the setuid bit set: what does it mean?

Your /usr/bin/sudo executable has either a wrong owner or permission set.

No matter which one applies here, the following two commands should fix it:

pkexec chown root: /usr/bin/sudo
pkexec chmod 4755 /usr/bin/sudo

After that, sudo should be working normally again and you will be able to use it to run fdisk with root privileges with it.


Trying to install my Wireless adapter RTL8812AU

I suggest that you try:

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

Reboot.


Add user that can read / write a root, www-data files

The normal way to do this is to add that user to the sudoers file. You can do that this way:

Open a terminal and type

sudo su

After entering your admin password type

visudo

Using the arrow keys, navigate to the bottom of the sudoers file that is now displayed in the terminal
Just under the line that looks like:

root ALL=(ALL) ALL

Add

amira ALL=(ALL) ALL

Now press Ctrl+X and press Y when prompted to save

User amira can now use sudo to edit file, permissions and anything an admin user (like the one you used installing your Ubuntu) is capable of doing.


Can I download and burn an Ubuntu CD for the Mac on a Windows PC?

PowerPC is not officially supported by Ubuntu, but you can download a PPC version here.


Driver written and tested for ubuntu 12.04 doesn't work on Ubuntu 14.04, how can I make it work for Ubuntu 14.04?

You do not. Linux kernel intentionally breaks its ABI each release, making drivers incompatible.


How can I install Geforce 310M drivers Raring Ringtail?

Have you tried writing this on terminal?

sudo apt-add-repository ppa:xorg-edgers/ppa

sudo apt-get update

sudo apt-get install nvidia-current nvidia-settings

These commands apply on ubuntu versions 13.04, 12.10 & 12.04! Hope it covers you.


I have a machine on 16.04 but need to update it before April 2021. Will 18.04 still be available on software updates up until April 2021?

Yes. Later LTS releases reach End of Standard Support after earlier LTS releases.1 If you have an LTS release that is currently supported, there should be no problems upgrading it at any time while it is still supported. (You can could even attempt to upgrade it after it is no longer supported, which usually succeeds but is sometimes more difficult. But I recommend against needlessly placing yourself in such a situation.)

Regarding the specific releases you mentioned, as shown on the releases wiki page, Ubuntu 18.04 LTS reaches End of Standard Support in April 2023, which is after April 2021. You should upgrade your 16.04 LTS system before it reaches End of Standard Support in April 2021, mainly because if you don't then, at least for a short time, you'll be running a release that doesn't receive security updates, which is undesirable. But there is no need to upgrade it before that unless you want the new features of a newer release sooner, or need a bugfix that is is provided for 18.04 LTS and not backported to 16.04 LTS.

Of course it is always possible, when upgrading from one release to another, that something could go wrong. But there's no reason to think this is more likely if you wait until the earlier release has almost, but not quite, reached End of Standard Support. For example, updates for security and other stability bugs could introduce a bug that complicates upgrading, but they could also fix a bug that complicates upgrading.

(Note that if you end up deciding you want to move from 16.04 LTS to 20.04 LTS, you should still upgrade to 18.04 LTS first and then to 20.04 LTS. Usually this is what happens automatically if you perform two release upgrades starting from an LTS release.)

1 There was a time when this was not fully true. 8.04 LTS and 10.04 LTS had unusual (and confusing) support periods, with a very small number of packages supported for a very long time. However, this is fully true for all releases that are currently supported or have been supported in the last few years, and it is likely to remain true many years into the future. Even if it does not, the specific releases you're talking about already exist and their support lifecycle has already been determined. It's unlikely that the support lifecycle of an existing release will be extended beyond what has been planned, though you can get limited support for an LTS release beyond its End of Standard Support through the Canonical Advantage program.


Unable to boot Windows 10 after installing Ubuntu 20.04

Often Ubuntu will not show GRUB by default, but you can learn how here: How to get to the GRUB menu at boot-time?

If you do not see Windows, try running sudo update-grub in the terminal, and the booting back into GRUB.


I suggest you gksu than sudo because sudo is not GUI sudo program, but gksu is it.

You can do it with following command.

gksu nautilus

If you had not install gksu, You must install it with following command.

sudo apt-get install gksu


People seem to really like the AVS Gear HA-IR01SV. It comes with a remote control, and it's not that cheap ($21.23 at the time of writing this) - but it's reported to work excellently.

There is also a comprehensive compatibility list from the people at LIRC. And it actually contains some parts that are still being sold. :)


There are a few things you can try:

1)You may try this command /opt/google/chrome/google-chrome --no-startup-window

2)There's an option in Chrome's preferences to do that. In wrench menu, under the hood section, there's "Background Apps, Continue running background apps when Google Chrome is closed" checkbox.

3)You can try to use Devilspie to help with this command sudo apt-get install devilspie and you can get more information here http://www.webupd8.org/2011/02/how-to-start-applications-minimized.html


Apparently a driver for Apple's Magic Mouse is under development. If you're feeling adventurous, try what they've got so far. If you aren't comfortable with compiling the kernel, you might not want to mess with it. Otoh, compiling the kernel is pretty easy, so long as you're patient, willing to learn, and not on a super-important production system.


Accidentally set "Left Control" as a shortcut to change typing language after updating Ubuntu

Use (GNOME) Tweaks to disable this left-Ctrl shortcut. Follow these steps:

Install the application by running

sudo apt install gnome-tweaks

and then launch it.
Go to Keyboard & Mouse section.
Click the "Additional Layout Options". A window should appear.
Look for "Switching to another layout" and expand it. Disable 'Left Ctrl'.


How to make keyboard behave like in Windows

You can open the /usr/share/X11/xkb/symbols/cz file for editing and make the desired changes directly. When doing so, you'll need to decide how important the original symbols typed via AltGr+{1,3,7} (!, #, &) are to you, and handle those accordingly.

Caveat pointed out by terdon:

This will be overwritten by any updates though, so it would make sense to make a copy of the file so the changes can be reapplied easily.


How to Install Tata Photon Plus (VME 101 Olive)?

You cant because .exe is the extension of winows executable files ,and you cant install windows drivers directly

here is the instruction to setup Tata Photon Plus (VME 101 Olive)  in linux

Plug in your device and you will notice the dialer on desktop , right click on the dialer and eject
it.
(Ejecting is compulsory )
17
On task Manger right click on the icon highlighted and select the option “Edit Connections “.

New window “Network Connections” will open > select Mobile Broadband option as displayed,

then click on “Add” option:
Select Forward without changing anything from drop down box:

Select Forward again without changing anything from drop down box:

Select TATA Indicom (Photon+) option & click on Forward:

Select “Apply”

After clicking “Apply” new window will pop up as displayed in picture below:

Fill the following details:-
Username –internet (small letters)

Password- internet (small letters)

Check the option “Connect automatically” & “Available to all users”, then click “Apply”.
20
8. After entering the details in above step, a pop up window will open and ask for password to
authenticate – you need to enter your admin password & after entering press authenticate.

9 . After authenticating the following window will be seen. Close the window.

10
Now single click on network connection and you will notice there will be a connection named as
“ Tata Indicom (Photon+) connection1 “ ----
Single click on the connection name & you will be connected to internet .


Using bash:

#! /bin/bash
rename_count ()
{
    count=1
    for i in *
    do
        new="$1$count"
        mv "$i" "$new"
        # if a directory, recurse into it.
        [[ -d "$new" ]] && (cd "$new"; rename_count "$new")
        ((count++))
    done
}
shopt -s nullglob
cd "$1"
rename_count ""

Initially:

$ tree foo
foo
├── a
│   ├── d
│   │   └── g
│   ├── e
│   │   └── g
│   └── f
│       └── g
├── b
│   ├── d
│   │   └── g
│   ├── e
│   │   └── g
│   └── f
│       └── g
└── c
    ├── d
    │   └── g
    ├── e
    │   └── g
    └── f
        └── g

12 directories, 9 files

Then:

$ ./foo.sh foo
$ tree foo
foo
├── 1
│   ├── 11
│   │   └── 111
│   ├── 12
│   │   └── 121
│   └── 13
│       └── 131
├── 2
│   ├── 21
│   │   └── 211
│   ├── 22
│   │   └── 221
│   └── 23
│       └── 231
└── 3
    ├── 31
    │   └── 311
    ├── 32
    │   └── 321
    └── 33
        └── 331

12 directories, 9 files


As per Ubuntu License yes, you may copy and distribute the machine to anyone you wish.  Just install, configure and export as a OVA file, for better compatibility.


The group permissions are not applied from the server perspective when it looks at /home/serverone/DADES/Tecnica or from the client when it looks at /home/tecnoc/Tecnica?

If it's from the client side does it work correctly if you add the "nounix" option:

//192.168.1.10/Tecnica /home/tecnic/Tecnica cifs credentials=/root/.smbcredentials,uid=1001,gid=1001,rw,dir_mode=0770,file_mode=0770,_netdev,nounix 0 0

EDIT: If the problem is multiple clients accessing this share and not multiple users on the same client one option is this:

You allow only two users access to this share tecnic and albert and albert appears to be the administrator so add another line to the share definition of [Tecnica]:

force user = albert

[Tecnica]
 comment = Carpeta de manuals i informació tècnica
 browseable = yes
 path = /home/serverone/DADES/Tecnica
 writeable = yes
 public = no
 valid users = tecnic albert
 force user = albert

Then when tecnic is allowed access he will act as albert. Any new file tecnic adds will be owned by albert so now both users will be able to write to each others files. All the old files will have to have their ownership change to albert.

The alternative to this is slightly more complicated and will only work if you are using Ubuntu Server. See my post here: Best practice for shared directory on server (samba windows 10 clients)


Ubuntu for someone who doesn't know code?

You don't need any programming experience to use Ubuntu. Ubuntu aims to be similar to Windows in user requirements. The Ubuntu motto is "Linux for human beings".


In linux and open source world, almost everything is possible

bitlocker is supposed to encrypt a partition, not the whole HDD; so this should not be a problem.

So, assuming you are booting using UEFI (please specify that in your question by editing it), you can create an ESP on your USB drive alongside the ext4 partition. This means you need to reformat it using a GPT header, not MBR.

Just use gparted from the Live USB to format your USB drive:

Choose to create a new partition table with GPT
Create a vfat partition and add the boot flag and esp on it (this turn it into an ESP)
Create the ext4 partition

Then, during the installation, you point GRuB to be instaled on your USB ESP. I have not tested this.

When you boot your laptop, choose to boot from the USB, and this should boot straight away into ubuntu.


Finally, i've solved this.

I have no idea yet what's so special about those videos. However, by trial and error, i tested on my friend's machine some other screen resolutions, and saw that the one he was using was the only one with this problem. That resolution was 1360x768.

So, searching about problems with that resolution, i've found a bizarre problem regarding that resolution, some standars, and nvidia. It seems that is a bogus resolution, and there's a problem between 1360x768 and 1366x768. nVidia gpus seems to detect 1360 but no 1366. So, i went to nvidia settings (not Ubuntu control center), and setted the resolution by hand at 1366 using "advanced" option in the resolution configuration. After that, the video displays fine on my friend's machine.

Odd stuff.


What is the release schedule for the ubuntu branches?

The closest thing to "official" that you can get is "when its ready."

Generally speaking, they are released on the same day, however this is not set in stone, because there might be a release blocker that pops in late in the cycle.

For example, Xubuntu 11.10 was released on 13 October 2011, as was Kubuntu and normal Ubuntu.

10.04 Kubuntu, Xubuntu and Ubuntu were also released on the same day (29 April 2010).

As of right now, it appears that official derivatives will be released on the same day as "normal" Ubuntu 12.04.

As per GridCube on the #xubuntu irc channel:

15:44:57 <jrgifford> Hey, quick question: Is the Xubuntu 12.04 release date currently set as the same date that "normal" Ubuntu is? (that is, April 26th)
15:45:12 <GridCube> jrgifford, yes
15:45:15 <jrgifford> i can't find a official release schedule wikipage or anything like that.
15:45:17 <jrgifford> GridCube: thanks
15:45:19 <Unit193> Should be, maybhe a respin after.
15:46:42 <GridCube> jrgifford, https://wiki.ubuntu.com/PrecisePangolin/ReleaseSchedule
<jrgifford> GridCube: so is that release schedule for all official *buntu's?
15:47:40 <GridCube> jrgifford, for oficial derivatives, yes
15:47:49 <jrgifford> GridCube: gotcha, thanks!
15:47:58 <GridCube> like ubuntu/kubuntu/lubuntu/xubuntu

The release schedule is available on the Ubuntu Wiki here.


First try installing package libmng2 since libmng1 is for ubuntu precise and below

sudo apt-get install libmng2

Else if the package already exist,try linking to libmng.so.2

sudo ln -s /usr/lib/x86_64-linux-gnu/libmng.so.2 /usr/lib/x86_64-linux-gnu/libmng.so.1


Problem with wifi on kubuntu 15.04 with Realtek rtl8192cu USB dongle

You can install a better driver by running in terminal

sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt-get update
sudo apt-get install rtl8192cu-dkms linux-firmware

and reboot.


Been using Truecrypt, but trying ecryptfs

I am not an eCryptFS expert, to say the least, and I don't use gnome, but I set something like this up.

Removing the wrapped passphrase file will cause it not to mount when you log in, but only because it will also make your Private directory cryptographically inaccessible -- the wrapped-passphrase file is the "real" passcode that your typed-in passphrase/password decrypts so that the system can in turn decrypt your files. You can even symlink the wrapped passphrase file to some other location, say a removable SD card, so you can remove the card and thus disable the encrypted directory.

To disable automatic mounting, the method I used is to remove the .ecryptfs/auto-mount file (I also removed the auto-umount file because it unmounts the directory on session logout -- e.g. if you go to a vterm and log in and then log out, suddenly the directory is gone. You could have e.g. a gnome session script unmount it when you truly "log out" of the machine, but i'm the only user, so I don't worry about that.)

I then run a script that pops up a term window that runs ecryptfs-mount-private which asks for the password to unwrap the wrapped-passphrase file, as you describe.

If you actually deleted your wrapped passphrase (as opposed to renaming or moving), you'll have to recreate your Private directory.

Note that you'll want to make sure your swap space is encrypted as well, lest the OS spool data to that (this breaks hibernation, though, and maybe "sleep" as well, don't know.) Read up on "ecryptfs-setup-swap" for more. You may also want to encrypt /tmp for similar reasons. I did this (turns /tmp into a ram risk that could spool to swap -- so swap should be encrypted or this is risky):

  $ sudo echo "tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0" >> /etc/fstab

...but that's out of scope for this question. Those complications (and the fact that ecryptfs is slower) are part of why people like block-level encryption like TrueCrypt, but I do appreciate the flexibility of ecryptfs.

Presumably, your wrapped-passphrase file was wrapped using your standard login password when you used the setup wizard. Most people want the encrypted directory to mount automatically for convenience: the files are still encrypted until they login with their password. Your question implies that you want to use a different password for the encrypted files for some reason. To do that, you'll need to change the password used for the wrapped passphrase file. To do that, I believe what you want to do is something like this (untested):

unmount the Private directory
run:

  $ ecryptfs-rewrap-passphrase ~/.ecryptfs/wrapped-passphrase


First of all, you are going to need to access the UEFI/BIOS on your machine via one of the function keys (it varies per manufacturer). To install Ubuntu, you MUST disable secure boot in the BIOS settings. Then, you can either change the boot order in your BIOS settings so that the USB disk or CD ROM boots first or simply select it in the boot devices menu. That's about it...


How do I prevent race conditions in Upstart 'starting on' scripts?

Simple - use a pre-start stanza to perform all your sed checking. If the pre-start determines that the supporting daemon should not be started, have it call simply stop (which forces Upstart to not continue starting the job). There is an example of this in the Upstart Cookbook here:

http://upstart.ubuntu.com/cookbook/#pre-start

Note that Upstart only performs PID tracking for the exec and script stanzas (in other words the "main" part of the job) - PIDs for pre-start, post-stop et al are not tracked. See http://upstart.ubuntu.com/cookbook/#expect


How can I migrate from Elementary OS to Ubuntu 13.10?

If you installed your /home in a separated partition, just select "Something else..." in the Ubuntu installation, then select the /home partition, and mark it as do not format. Select your / partition and use it as /. Then continue the installation.

Do backups as well.

In any other case, do backups and reinstall bottom-up


To install Audacity, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo add-apt-repository ppa:audacity-team/daily
sudo apt-get update
sudo apt-get install audacity

Or just click Audacity

Or if you still want to compile, see Compiling Audacity For Beginners


Dual-boot with Windows 10 on UEFI system and GPT partitions

So apparently the problem is Kubuntu 19.04, i flashed Kubuntu 18.04 and it's working perfectly.


Yes, it's happening because you have all repositories set to trusty in /etc/apt/sources.list file. You can change all trusty words to zesty, apt update repositories and install ghc again for 8.0.2-1. After that return all back to trusty. But it may break dependencies and corrupt your system! I strongly don't recommend this.

What you can try is download version you want and install it with dpkg -i <package>.deb

At the right-top of this page choose version (trusty/xenial/zesty) and at the bottom of the page choose your architecture for download links. I suppose there will also be some problems with dependencies (which you may have to solve), but this isn't so much dangerous as the first solution.


Ubuntu One indicator for GNOME Shell panel?

There is no such extension for GNOME 3. You are free to write one, however. :)


Make sure, that you define the interface enp0s3 here: /etc/network/interfaces.


Is there a plugin for KOrganizer that allows me to access google calendar?

yes, akonadi-kde-resource-googledata, and its in the repos

sudo apt-get install akonadi-kde-resource-googledata


Ubuntu 14.04 Kernel Update 3.13.0-30.55 made my Laptop CPU gets overheated

if you don't have synaptic  package manager . install synaptic package manager.

$ sudo apt-get install synaptic

open it search in the quick filter for

linux-image

right click the kernel that you are wanting to keep '3.13.0-30.54'
mark for upgrade
right click on the kernel that you want to remove '3.13.0-30.54'
mark for removale & lock it by clicking in the menu package => lock version => uncheck auto install
then click on apply

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

pic :


Unable to boot Win 7 from DVD on HP Notebook

The selection of a boot device (hard drive vs optical drive vs USB flash drive vs PXE LAN boot) must be made before you get to a boot manager such as GRUB.

With an HP system, as soon as you press the power-on button, immediately begin hitting the Esc button (like tap-tap-tap) - like press and begin hitting before any logo appears.  Soon, you will be presented a list of boot options; press  F9  for a one-time boot option, and your optical drive will appear if that drive sees a good disk.


Left-Click Spam on Hold Down [ Scripting Tools ]

After installing a bunch of automation tools like SikuliX, xdotool, Autokey, Easytouch, etc. I finally came across a tutorial detailing how to write a python script to spam left click on hotkey toggle (credit to: How to write an Autoclicker ) It isn't exactly what I wanted, but I'm sure I'll get it with enough tinkering.


Copying Folder while Preserving Permissions/Ownership Error: operation not permitted

FAT32 (or any FAT-type filesystem for that matter) does not support permissions. Any file copied to a FAT filesystem will appear with default owner/group/mode attributes, depending on how the filesystem was mounted.

If you need to preserve these attributes, use a different filesystem. Most (if not all) Unix filesystems (ext*, ReiserFS, btrfs and a bunch of others) supported by Linux will work, so will NTFS to an extent (not strictly a Unix filesystem but designed with a certain degree of Unix compatibility in mind).


I have managed to install both the printer and scanner drivers for my Canon MX452, you can grab them from here,

Printer: http://support-sg.canon-asia.com/contents/SG/EN/0100515301.html
Scanner: http://support-sg.canon-asia.com/contents/SG/EN/0100517701.html

In both cases, you will have to extract the tar balls, and run the install.sh script. To run the script you might have to make it executable by running:

$sudo chmod a+x install.sh
$./install.sh

The printer script will have menus for you to choose between find the printer via USB or Network. I installed mine via network, but in both cases you need to have the printer powered and ready.

I wasn't able to use my scanner using "Simple Scan" but the "scangearmp" application that is installed by the script works just fine. You can start it from terminal by running:

$scangearmp &


Ubuntu 14.04 can't or won't connect to wifi, even after clean install

We need to reset resolv.conf and add a driver parameter, please do:

echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf
sudo modprobe -rfv ath9k
sudo modprobe -v ath9k

Then do:

sudo dpkg-reconfigure resolvconf

and then answer 'Yes' to the "Prepare /etc/resolv.conf for dynamic updates?" question and 'No' to the one about temporarily appending your existing config to the dynamic one, it is possible the second question will not be present.
Reboot

Go into network manager and change the network settings to match the screenshots, to include setting IPV6 to ignore, save then reboot.


If you have used live disk to install it --

Put your windows 7 disk in the drive. Reboot and choose to boot from dvd.
Use "Repair" option and then choose "Repair Start Up "
Once successfully completed, see if windows 7 is booting correctly as before. If not then follow - http://support.microsoft.com/kb/927392. (use /fixboot and /fixmbr option)
If so, in windows 7 RUN prompt, type "diskmgmt.msc" and press enter.
Delete partitions that belong to ubuntu for freeing up space.

If you have using WUBI , just go to add/remove programs and remove it.


Magnet links opens up Opera error dialog - Yet Opera was removed!

I think permissions have been changed to root on the config and cache folders. If you want to reinstall Opera, you can just delete them:

sudo rm -R ~/.config/opera ~/.cache/opera

Or, you can try to change back permission, and then start Opera and see if it works:

sudo chown -R yourUsernameHere ~/.config/opera ~/.cache/opera
sudo chmod -R 700 ~/.config/opera ~/.cache/opera


ttf-mscorefonts-installer data download error popup

There seems to be a bug with the latest ttf-mscorefonts-installer, but here is a way around it.

As first uninstall it completely, to make sure when you later install it you accept the EULA.

sudo apt remove --purge ttf-mscorefonts-installer

then install it again and as said make sure you accept the EULA by tabbing to untill the 'O.k.' field is highlighted and press Return

sudo apt-get install ttf-mscorefonts-installer

untill now you might are facing still the same bug this were gonna change now by craeting a folder in the /tmp directory and downloading the fonts into it.

TMP=$(mktemp -d)
cd "$TMP"
awk '/Url/ {system("wget "$2)}' /usr/share/package-data-downloads/ttf-mscorefonts-installer

with this out of the way you can begin to update your corefonts

sudo /usr/lib/msttcorefonts/update-ms-fonts "$TMP"/*

after this is done al you need to do is cleaning up

sudo touch /var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer
cd ..
rm -r "$TMP"

(Solution found here)


If by version you mean architecture, then you should get the armhf version. All arm processors above v7 (which i only imagine you have) work with that.


The file apache-ant-1.9.4-bin.tar.gz is not installable package. A installable package ends with .deb.

You can install ant via the package manager.

But first you have to fix a bug in your system:

Open a terminal and run this command

sudo nano /etc/apt/sources.list

Remove the line (line 2)

sudo apt-get install python-software-properties$

and in line 35 and 36 add a # at the beginning of the line:

# This software is not part of Ubuntu, but is offered by third-party
# developers who want to ship their latest software.

and remove all the $ from your sources.list

Then run the command:

sudo apt-get update

Then install ant:

sudo apt-get install ant


How do I get networking to work for a Live USB?

You have to figure out your Wireless or Ethernet NIC with lspci | grep Wireless or lspci | grep Network then find the module associated with it and load it with modprobe <module>.


Running Ubuntu from a USB Stick - Can't Locate any Files in Windows partition

Which version of Ubuntu did you start? I assume you are referring to 12.04.

At first, look at the left for an icon named "Home folder". Click it and you will see a window similar to Windows Explorer, like in this screenshot.

Then look at the devices and search for your Windows drive. It will not be called "C" but it has the same label (e.g. "Windows").


Ubuntu 12.04 rename folders in mnt & media

sf_ is alwasy prepended by VirtualBox to indicate that it's a shared folder. This is done by a vbox service, part of the Guest Additions. You can bind the shared folder directory to another of your choice in mtab if you desire.

Use this to open the mtab file:

sudo gedit /etc/mtab

In the mtab file enter a new line at the bottom.  The format you want to use is:

/real/folder/location  /where/youwantit/toshow bind rw 0 0

Here's an example from one of mine:

/media/sf_IBM /opt/ibm bind rw 0 0

It's standard practice to hit [enter] when you've finished your edit so there is a new line entry at the end of the file.


I had similar issue and it's probably linked with Gnome Shell. You can run winecfg and try running with the following option under Display tab.

Automatically capture the mouse in full-screen windows (enable)
Allow the window manager to decorate the windows (disable)
Allow the window manager to control the windows (disable)

If your game is not running under the same resolution than your desktop environment, you could also try to Emulate a virtual desktop, but this might place the game in a small Windows.

Here the sources:
https://ubuntuforums.org/showthread.php?t=470767


How much slower will my computer be with Ubuntu (instead of Lubuntu)?

Contrary to popular belief, difference in performance of Ubuntu, Lubuntu and Xubuntu is hardly noticeable. If your computer cannot handle standard Ubuntu with Gnome, it will also perform poor with lightweight Ubuntu versions.


Use a here document, making sure to quote the delimiter word so that the shell does not expand anything in the body:

#!/bin/bash

cat << 'EOF' | sudo tee -a /usr/local/sbin/adduser.local
#!/bin/bash
lastuser="$(grep home /etc/passwd | cut -d: -f 1 | tail -1)"
EOF

The use of tee is because sudo echo "..." >> somefile doesn't do what you think it does - see How to solve “permission denied” when using sudo with redirection in Bash?


libxcb-xinput.so.0: cannot open shared object file: No such file or directory

I had the same issue on Ubuntu 18.04. My solution was running the command sudo apt-get install libxcb-xinput0 to install the missing package.


Display adapter or other hardware, driver maybe?

While waiting for the card,  I played around with bios, pallet snoop , and other things that I figured were video related and the distortion stopped.   I rebooted a couple of times and it seemed stable.   browsed internet etc.  left it on and it was still on next morning.    Being curious I reset bios to defaults and low and behold it is still working so I do not know what the deal was ( or still is)  I am going to put the video card in when it gets here before I place in service but ...  I am sure its the driver/on-board chip set  since it did the same thing with untangle.   but for just a second I thought I was onto something.
DC


can't browse secure sites, not chrome firefox or opera

The only thing I can think of is that you tried to manually set your IP and your gateway was set incorrectly on this particular machine. Did you use the GUI to set your IP or /etc/network/interfaces?

Try pinging another IP on your network and see if that validates. If you fail to ping out try pinging 127.0.0.1 or localhost to verify the card is working properly.

Other than those I'm stumped but I thought I'd give it my best shot.


Line in only comes out of front speakers and subwoofer on a 5.1 surround system

Yes i agree with xjonquilx.

your line in is most likely stereo which is different than 5.1, because stereo is analogue and 5.1 is digital. But it is odd that your sub would work when your playing stereo.


Is it possible to install the latest Amd Crimson Edition Proprietary Drivers?

The proprietary AMD drivers are not officially supported in 16.04. It's recommended you use an earlier Ubuntu.

However, you shouldn't use 15.10, since it's not an LTS version. LTS versions get security updates for five years. Non-LTS versions get security updates for nine months. 15.10 will stop getting security updates late this month.

Use 14.04 LTS. It's supported until 2019.


In ~/.bashrc, you should add a line

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/shabeer/ns-allinone-2.35/otcl-1.14:/home/shabeer/ns-allinone-2.35/lib

and either log out and in again or run

source ~/.bashrc

The program needs to know these paths.

Hopefully you don't need the second part, but write again if you do


Is there universal search/"search everything" function for Ubuntu?

Not too sure about it being within the GUI of Ubuntu, but on the command line you have a few options:

locate <name>

This will give you results based upon a file or directory name pretty much anywhere in the system.

find <Start Location> -name <Name>

e.g. "find / -name httpd.conf" would search the root directory recursively to find httpd.conf.

There's also grep that can be used to search through files recursively, this can be a little slow though:

grep -ir "Text to search for" /*

The line above with search for a case insensitive match (-i) and recursively (-r) from the last option provided (/*) which is the root directory and a wildcard, for the text between the quotes.


Is there an easy way to get a single folder out of a Deja-Dup backup?

I don't actually have a backup at hand, so I'm not 100% sure if that works for folders as well..

If you right-click in nautilus in your home folder there's an option Restore Missing Files... which can be used to restore individual folders.


Why is "boot-repair" listed twice in the ubuntu documentation?

The last line contains two commands.

The first part installs boot-repair.  (sudo apt-get install -y boot-repair)

The "&&" characters is a delimiter like ";" is, however its conditional on success, ie. the command following it is only to be run IF the first command had no errors.

The 'second' boot-repair is the one that runs it.


Printer not printing but recognized by computer

The HP website does not list Linux as an available operating system for the HP 1022.  You may be able to use it with some applications but some may give problems like the one you are experiencing with PDF file printing.

If you can print from Libreoffice with the current printer setup, just import it into Libroffice.  The file will be imported as an image file and can only be saved in an image file format, but you will be able to print without the need to invest in a PDF file conversion program like Able2Extract (7 day free trial thru Software Center).


How can I determine which Private PPAs are slowing down updates?

Use sudo apt-get -o Debug::Acquire::http=true -o Acquire::Queue-Mode=access update. This enables debugging options to make all HTTP requests sequential and show you every HTTP request going out and response coming back in.


How can I launch windows 10 usb on ubuntu 3.7

You can run windows program with by using Wine or create a virtual machine under VirtualBox to run Windows.


Yes, you can. But there are certain caveats.

When you publish the file, the address would be some random string like http://ubuntuone.com/0vKfOjPz0ZJSqXY8Q5B6i6flkasdjflkjsadflalkfdsjkjf, so it'd not be easy to remember.

Ofcourse you can use URL shorteners, but that's an extra layer of effort.

The CSS and JS files you use need to be shared as well, if they're stored on your Ubuntu One account, otherwise you can link them directly.
The above point would make your HTML code from something like:

<link rel="stylesheet" href="css/css.css" />

to something like:

<link rel="stylesheel" href="http://ubuntuone.com/somerandomstring"/>

If you can handle all of it, you're good to go!

Here's a sample page for an example linking to another CSS file: http://ubuntuone.com/3z3QTmzw9kJZmisMOKxnL3 (The link doesn't work anymore).


Installing keyboard layouts from terminal

There is no "install" involved since all the layouts are made available via the xkb-data package (installed by default).

To set e.g. the English (US) and French keyboard layout:

gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('xkb', 'fr')]"


dpkg is installing the wrong version of a package

Here's how to build version 1.3.20 from source.

Go to the URL ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/GraphicsMagick-LATEST.tar.gz and download the file to your Downloads folder and when it asks for a username click cancel or just close the popup.

Then open a terminal and execute the following commands one-by-one:

sudo apt-get update
sudo apt-get install automake build-essential libtool linux-headers-generic
cd ~/Downloads
tar zxvf GraphicsMagick-LATEST.tar.gz
cd GraphicsMagick-1.3.20
autoreconf -f -i
./configure
make
sudo make install

This will install version 1.3.20! If it does not work in the end, delete the extracted archive (GraphicsMagick-1.3.20 folder) and start over at command #3 on the list of commands above and when you run ./config, read the output and if there are missing dependencies, they should be listed somewhere in there.

Note: This may fail to run on a fresh installation of Ubuntu 12.04 because of outdated versions of automake and autoreconf. To resolve, change AC_PREREQ in configure.ac to 2.68 and change AUTOMAKE_OPTIONS = 1.12 to 1.11 in Makefile.am before running autoreconf. The package doesn't need the newer dependencies and compiles just fine.


Why is my boot time slower after upgrade?

I don't know WHY booting takes longer with 11.10 than with 11.04, but it's very well known that it does.  It is not you or your computer; it's the way it is for everyone.  I hope that with future fixes - and the next release - they can make it faster again, but for the time being I think you'll just have to live with it.  (Unless it's taking several minutes or more; in that case, you do have a problem.)


How can Snap permissions be viewed and modified?

Thanks to the link above to the documentation, I found this command to enable microphone access to the new chromium snap:

snap connections chromium  # to list existing permissions
sudo snap connect chromium:audio-record :audio-record  # to enable

The app must be restarted for new permissions to take effect.

(I'm not happy it took this long to find the answer, nor how obtuse the docs are.)


RPM:

You can find almost all the rpm files here.

DEB:

Debian

You can find an exhaustive list of Debian specific deb files here.
Ubuntu

You can find an exhaustive list of Ubuntu specific deb files here.


Need to Rebind Left Arrow Key to Right Control Key

setkeycodes can then be used to re-assign scancode to keycode mappings.

(only know of, because usually the caps-lock are the first ones I disable)

sudo setkeycodes E01D 105

where E01D is the scancode for right-ctrl and 105 is the keycode for cursor-left.

There's even a visual editor for the mapping, I just found:

set context menu key to function as right control


How To Mount RAID0 on Ubuntu (to recover data from Acer Aspire S5 Ultrabook)

You don't get the disks to mount in RAID0 any more when one of the disks fails...  RAID0 is basically a striping set and when one of the disks fails, the entire RAID array fails and the fat lady has sung...

Sorry to be the harbinger of bad news!  :-(

The only thing you can do now is reformat (or replace) and restore your back-up...


Without further details it may be hard to pinpoint what is going on.

If you use Chromium browser there is a reported issue stating that the browser creates the libpeerconnection.log file. If this is the case, there is a temporary fix until the issue is resolved.

Edit the /opt/google/chrome/google-chrome file and add cd/tmp before the last line:

'exec -a "$0" "$HERE/chrome"  "$@"'

you can read more about this issue here.

As for the rest files again without further details it is not easy to find who is creating them. One solution is to use a program that monitors file creations - modifications, this may help narrowing down the search and the cause of the problem.

Monit can monitor files and directories for changes
Here is an answer at unix.stackexchange that describes the available options on how to monitor file creations and changes
This article describes how to use audit

But again keep in mind that these files - directories may not be a security threat but like the Chromium case, a wrong design decision during application's development.


Suddenly, all text in terminal is corrupted

From the Terminal menu choose Edit->Profile Preferences and check the font choice as shown below:

By adjusting these settings you should be able to get back to "normal" output.


Unfortunately this is an issue with all broadcom modules and they seem to be limited to channels 1-11 in 2.4GHz

You might be able to use the patch at https://github.com/respeaker/openwrt/blob/master/package/kernel/mac80211/patches/850-brcmsmac-remove-extra-regulation-restriction.patch to patch the kernel source but it didn't work when I tried it with my BCM4313


Cannot boot to Windows after installing Ubuntu and running boot-repair

I solved this by posting the log from boot-repair on this forum thread.
The part of this answer that worked for me was

  uncheck the default and in advanced choose the Windows install and sda


You can download it from the official site : http://releases.ubuntu.com/lucid/


Gnome Tweak Tool does not show extensions

I had the same problem. Seems that the file metadata.json has a wrong shell-version. At least for Ubuntu 11.10. To solve the issue I had to:

cd ~/.local/share/gnome-shell/extensions/
cd into the desired extension directory.
edit the metadata.json file and change

"shell-version": [ "3.3.2" ]
to
"shell-version": [ "3.2" ],

logout from Gnome-Shell and login again. Now you should see all the estensions in gnome-tweak-tool.


What are the Major Differences between Ubuntu 12.04 and 12.10 in terms of Security?

You can see some benchmarks here comparing performance between 12.04 and 12.10. The majority of tests show no difference in terms of computational performance.

As with all benchmarks, there are many caveats:

It only tests one hardware combination. Your results may vary.
It is based on a pre-release version of 12.10 (although it is unlikely much has changed).
"Bare metal" computational performance is not the same as user interface responsiveness. As observed above, anecdotal evidence claims that the performance of the Unity interface has regressed, but I cannot find any actual quantification of this.


You can mount the AM335x rootfilesystem and chroot to it with something like:

# install QEMU ARM static to the host system
sudo apt-get install qemu-user-static

# mount rootfs
sudo kpartx -a -v rootfs.img
sudo mount /dev/mapper/loop0p2 /mnt

# copy qemu-arm-static executable
sudo cp /usr/bin/qemu-arm-static /mnt/usr/bin/
sudo cp /etc/resolv.conf /mnt/etc/resolv.conf

# prepare for chrooting
cd /mnt
sudo mount --bind /dev dev/
sudo mount --bind /sys sys/
sudo mount --bind /proc proc/
sudo mount --bind /dev/pts dev/pts
sudo rm /mnt/etc/ld.so.preload

# chroot to ARM filesystem
sudo chroot .

# do the stuff inside rootfs
apt-get update
apt-get install mc

I have tested this method with Raspberry Pi rootfs.

References:

https://wiki.debian.org/RaspberryPi/qemu-user-static
http://dev.lab427.net/rpi-raspbian-arm-chroot-on-x86-linux.html


C++ programming - Is there a way to make gedit recognize new classes?

I don't believe there is an automatic way to do this, but you can do it manually.  If you run gksudo gedit /usr/share/gtksourceview-3.0/language-specs/cpp.lang, it will open the definition file that controls how gedit does syntax highlighting for C++.  If you want your classes to have the same color as the built-in types (e.g. bool), add a line like

<keyword>classname</keyword>

To the section that begins

<context id="types" style-ref="type">


Any software that converts text to speech and sends speech via a microphone?

Two steps to this solution;

Text to speech: There are a number of approaches you can take to best solve your particular need: Ubuntu Community Text to Speech. Pick the one you find to be preferable.
Redirect the audio out to the microphone input: Here is one solution that fully redirects the audio out to the microphone input.

I have not prototyped this yet, but this should set you firmly on the right path. Let us know of your progress.


How to install request tracker on Ubuntu 12.04 Server?

Addressing your error message, as @ObsessiveSSOℲ pointed out in his comment "You should use sudo apt-get install <packagename> to install, and sudo apt-get update" to update your package index.

Installation Guidelines for installing Request Tracker(RT)

Request Tracker(rt) has a large number of dependencies required before it will work properly. What follows is a rough outline of the package requirements and steps required to complete the installation.

A complete step-by-step installation guide is beyond the scope of this question.

Request Tracker pre-requisites

The installation can be accomplished in a number of ways.

You will need to install and configure a number of applications before RT will run. I have tried to provide some preliminary sources to assist in getting started. I would strongly recommend reading over this install guide as a reference to get you started.

You will need to refer back to this guide to make additional changes to your Apache, mail, and RT services to complete the installation.

LAMP server

This can be done by running sudo tasksel install lamp-server from the command line.
See also the Ubuntu LAMP help page.

Mail server

Basic Postfix setup
dovecot configuration - for IMAP and POP3 mail deployment.
fetchmail is used for pulling mail into the RT ticket queue.

SQL server (MySQL)

MySQL server guide - RT does not require much manual configuration of its database beyond assigning a root user, their password, and dB name, but this might be useful for familiarity with your system.

My system preferences are noted above, but there are other backend email and database solutions available that RT could run with as well(i.e. exim, SQlite):

Once the above applications have been installed and configured, the packages specific to request-tracker can now be installed. To begin, use the following command from the terminal (Ctrl-Alt-t):

sudo apt-get install rt4-apache2 rt4-clients rt4-db-mysql request-tracker4 rt4-extension-assettracker fetchmail

Note that I have updated the package references to reflect the latest RT packages in the 12.04 repository.
If you choose to install request-tracker4 via Synaptic, most of the dependencies will be picked up, but you will need to specifically select rt4-db-mysql as the package dependencies install sqlite and exim by default.

Expect to be prompted to also install a large number(approximately 80-90) of additional packages. During installation the request-tracker4 package will bring up a menu and prompt you on personalizing your initial setup(Web URLs, default email accounts, etc.).

After the apt-get process completes, you will need to refer to the already referenced install guide to modify your apache2 and email configurations for RT-specific requirements.

Request Tracker has a very good documentation and wiki support system. There are also quite a few Q&As over on Server Fault that I have found useful for tips on customization.

Best of Luck!


It's possible, you'll have to split the load for the 20 outgoing IPs.

Information can be found here. Link

In your squid configuration, something like this should work...

acl r_20 random 1/20
acl r_19 random 1/19
acl r_18 random 1/18
acl r_17 random 1/17
acl r_16 random 1/16
acl r_15 random 1/15
acl r_14 random 1/14
acl r_13 random 1/13
acl r_12 random 1/12
acl r_11 random 1/11
acl r_10 random 1/10
acl r_9 random 1/9
acl r_8 random 1/8
acl r_7 random 1/7
acl r_6 random 1/6
acl r_5 random 1/5
acl r_4 random 1/4
acl r_3 random 1/3
acl r_2 random 1/2
acl r_1 random 1/1

tcp_outgoing_address x.x.0.20 r_20
tcp_outgoing_address x.x.0.19 r_19
tcp_outgoing_address x.x.0.18 r_18
tcp_outgoing_address x.x.0.17 r_17
tcp_outgoing_address x.x.0.16 r_16
tcp_outgoing_address x.x.0.15 r_15
tcp_outgoing_address x.x.0.14 r_14
tcp_outgoing_address x.x.0.13 r_13
tcp_outgoing_address x.x.0.12 r_12
tcp_outgoing_address x.x.0.11 r_11
tcp_outgoing_address x.x.0.10 r_10
tcp_outgoing_address x.x.0.9 r_9
tcp_outgoing_address x.x.0.8 r_8
tcp_outgoing_address x.x.0.7 r_7
tcp_outgoing_address x.x.0.6 r_6
tcp_outgoing_address x.x.0.5 r_5
tcp_outgoing_address x.x.0.4 r_4
tcp_outgoing_address x.x.0.3 r_3
tcp_outgoing_address x.x.0.2 r_2
tcp_outgoing_address x.x.0.1 r_1


disk check error at boot and then GNU GRUB. How do I fix it?

Try running the command fsck when you get to that part of black screen. If not sure, do an fdisk -l, see what partition is your ubuntu and do a fsck /dev/partition


How can I get rid of the GNOME volume overlay?

As a temporary workaround, you can run the following command:

sudo dpkg-reconfigure notify-osd

This appears to, almost never but still occasionally, cause notifications to completely disappear for the session.

Also, this command only works for the current session. The workaround survives suspends and locks but not restarts and logouts.


Software to show amount of data transfer of each process

You could use nethogs to see the speed of transfer for each process.

sudo apt-get install nethogs

Run it in terminal by running sudo nethogs but if you have more than one network device, you may need to specify it like so:

sudo nethogs eth0
sudo nethogs eth1
sudo nethogs wlan0
sudo nethogs wlan1

A picture of nethogs working with a chrome opening a webpage:

You also have bmon which shows you ethernet devide usage.

sudo apt-get install bmon

and just run it like sudo bmon it will show you all network devices are their usage


Installing Ubuntu desktop on Ubuntu production web server

You can install it using sudo apt-get install ubuntu-desktop.
Although I don't think it will be very useful as you will still need to do most of the configuration through terminal and text-based files.

Good riddance.