Will there be an App-Indicators Repository in Ubuntu 11.04?

There aren't any plans for collecting "cool little applets" in one place for 11.04.

If an application uses the indicator area it will either just use it or give you an option to use it in it's preferences.


Try to install all the graphic plug-ins and see if the problem persists:

sudo apt-get install mupen64plus-video-all

If you still have problems, you can check if there are some specific drivers for your graphic cars,  which I think is an Intel integrated card.


No. It will not format your new ssd properly. You will need to resize the partition on the new drive. The partition table will also probably be a little messed up but a utility like gparted should be able to easily fix it.
Only 128GB will be available until you resize the partition.
I dont see why this would be a problem.
It seems reasonable to me. I did the exact same thing to replace a hard drive with an ssd.


How to install steam games on other partition

I have a 128 SSD and a 1TB HDD on my laptop. What I do is I keep / as 30 GB and remaining as my /home partition. And I have auto mounted the 1TB HDD. I have tons of games and I wouldn't want my games to fill up my limited SSD.

So, what I did is:

Open steam
View > Settings
"Downloads" inside Settings
You will see "Steam Library Folder" open it.
"Add Library Folder" inside that option and add on your folder/HDD partition you want.
????
Profit


How to stop my trackpad from driving me crazy?

I'm running Ubuntu 14.10 on MacBookPro8,1, and I have had success with the synclient command (check the current settings with synclient -l).  For me, the following command disables 3-finger gestures

synclient TapButton3=1

Alternatively, you could try to adjust the sensitivity.  Here is the link that helped me
Disable three finger tap of Apple Trackpad in Ubuntu 12.04

and here is the link with info about each gesture

https://wiki.ubuntu.com/Multitouch#Supported_Gestures


Failed Kernel install results in apt and dpkg failure due to dependencies and configuration issues

The procedure is recover from this problem is to temporarly remove all problematic packages with:

 dpkg --force-depends --purge <packages>

Afterwards repair the missing dependencies with

apt-get install -f

Ensure that your system is running not on the 3.2.0-38 kernel with

uname -r

Then I suggest to do a:

dpkg --force-depends --purge linux*3.2.0-38*
apt-get install -f


Replacing python2 with python3 in terminal?

There is no need to replace Python. Use

python

for Python 2 and

python3

for Python 3 when calling your script.


Language change in Ubuntu - files not transfered to new paths

The behavior you describe is intentional. Empty standard folders are simply renamed, while non-empty are not. The reason is to not break the old file paths automatically. New files saved to ~/Desktop will end up in the new folder.

You can easily move the files; a command line way to do it is:

mv ~/Schreibtisch/* ~/Desktop

When you have made sure that all the files were moved correctly, you can remove ~/Schreibtisch.


Welcome to askubuntu.com! You installed only docker which is a container virtualization tool. There is nothing to remove apart from the image you pulled: docker rmi virtualcoin/cpuminer

Optionally, you can remove the docker too (which does nothing by itself): apt-get remove docker.io


Ubuntu 16.04 Gimp & UFRaw crash when Loading Canon CR2 Files

This is a known issue.

There is a Confirmed bug report on launchpad here

There is also an upstream bug report on bugzilla for Gnome here

The general consensus is that they are going to move to gegl 0.3

This has not been implemented yet.  The last update was 2016-09-10 22:20:37 UTC


Simply execute

sudo dpkg-reconfigure gdm

and select gdm instead of kdm.


Change directory of terminal unless one is specified

Is /usr/share/budgie-desktop/keycontrol your $HOME directory? Check with getent passwd $USER | cut -d: -f6.  Use vipw to edit the 6th field (HOME directory) of /etc/passwd, log out & in.

Is there a cd /usr/share/budgie-desktop/keycontrol in your $HOME/.bashrc? Remove it, or add

cd "$HOME"

to the file.


Building HTTrack fails with checking for SSL_CTX_new in -lssl..anks!. no configure: error: not available

I'm sorry, but why you don't want to install binary package with
sudo apt-get install webhttrack?

It is available in all releases since Trusty Tahr (14.04).

If you want to build it from source you should enable deb-src sources, run
sudo apt-get build-dep webhttrack and so on.


Unable to access my desktop computer hard disk

You may be able to get it working still from Ubuntu

Install ntfs-3g with

 sudo apt-get install ntfs-3g.

Then run the ntfsfix command on your NTFS partition.

For example:

ntfsfix /dev/hda6

Make sure to change /dev/hda6 to whatever it actually is.

Once that finishes, try to mount again.


error: file '/vmlinuz-4.4.0-59-generic' not found, you need to load the kernel first

When at the grub screen, read the instructions at its bottom.  Type "c" for a grub command line.  Then use the "ls" command and the Tab key to get the choices and look at (hd0,1)/boot (for instance).
ls TAB  and then choose the disk number (probably 0)
ls (hd0, TAB and choose the partition  (probably 1)
ls (hd0,1)/  TAB and see that boot is in the list, then
ls (hd0,1)/boot   to see what kernels are left.
Note the number you want to boot, exit the grub command prompt (instructions at bottom of screen), and at the grub menu, type "e" to edit the boot commands.  Change the kernel number and the initrd number to match the number you selected, and ctrl X or F10 to boot.
After a successful boot, immediately fix the grub.cfg file by running

sudo update-grub


Removing man pages on Ubuntu Docker installation

Short answer: no, this should not cause any major issue.

TL;DR

I think that you will not cause any major damage except these two cases:

If do you need a manual for any command, you won't find it.
The /usr/share/man folder will grow when you do a package install/update.

Disable the apt cache:

When you install a package with apt-get or aptitude on a Debian-based system, the downloaded package is, by default, kept in the APT cache located at /var/cache/apt/archives. This is really not necessary as you typically do not re-install the same package ever again. Over time, the content in /var/cache/apt/archives will grow.

Create a file in /etc/apt/apt.conf.d/ called 02nocache with these contents:

Dir::Cache "";
Dir::Cache::archives "";

Clear the apt cache:

sudo rm -rf /var/cache/apt/archives

Disable man pages, locales and docs:

You can disable a lot of rubbish doing this:

Create a file called 01_nodoc on /etc/dpkg/dpkg.cfg.d with these contents:

# /etc/dpkg/dpkg.cfg.d/01_nodoc

# Delete locales
path-exclude=/usr/share/locale/*

# Delete man pages
path-exclude=/usr/share/man/*

# Delete docs
path-exclude=/usr/share/doc/*
path-include=/usr/share/doc/*/copyright

Delete the current contents:

sudo rm -rf /usr/share/doc/
sudo rm -rf /usr/share/man/
sudo rm -rf /usr/share/locale/


files disapear using mv to move it using Ubuntu 18.04 for windows

Your command is incorrect.
If your destination for the mv command begins with a /, the path is absolute.
/ is the path for your root file system so your command is telling bash to move your file to a directory directly under / which probably doesn't exist and will require special permissions due to its protected location directly under /. (You really shouldn't make a folder here for personal files).
If you are trying to move a file into a folder that is under your current directory, you should use:
mv new_file.txt new_directory/

You add the backslash at the end to indicate that you want it to be moved into that directory.


"Qt 3.x not found please set QT_INCLUDE, QT_LIB, MOC by hand" on my ubuntu14.04

You'll need some dev packages:

sudo apt-get install libqt4-dev

Edit ./configure, as per this patch:

@@ -48,6 +48,11 @@

        fi ;
 done ;
+
+MOC="/usr/bin/moc" ;
+QT_LIB="-L /usr/lib/x86_64-linux-gnu/ -lqt-mt" ;
+QT_INCLUDE="-I /usr/include/qt"
+
 if [ ! "$QT_INCLUDE" ]; then
        echo -e "\n\n*** Qt 3.x not found please set QT_INCLUDE, QT_LIB, MOC by hand\n\a"
        exit 1
@@ -64,6 +69,8 @@
        fi ;
 done ;

+UIC="/usr/usr/bin/uic";
+
 if [ ! "$UIC" ]; then
        echo -e "\n\n*** uic  not found please set UIC by hand\n\a"
        exit 1

That will get you further, but you'll still require an installation of carmen somewhere - maybe follow this guide?

Extra notes, if you want to find out what package provides files that the configure script is looking for, apt-file search is your friend:

sudo apt-get install apt-file
apt-file update
apt-file search bin/uic  # for example


The window title:

class LoveWallpaper(QMainWindow):
    def __init__(self, parent=None, app=None):
        super(LoveWallpaper, self).__init__(parent)
        #Set app title
        self.app = app
        self.setWindowTitle(u"爱壁纸HD")

There is also a

 self.searchLine.setPlaceholderText(u"搜索")

Hardcoded it seems...

Also note that there is already a language file for the desktop launcher:  https://gitcafe.com/LoveWallpaper/LoveWallpaperHD-Linux/blob/master/lovewallpaper/love-wallpaper.desktop

For british it includes:

Keywords[en_GB]=Wallpaper;Screen;Desktop;

Might be worth to include the language it uses (if not already there). It might be due to there not being a [us] in there! :D

Since it is a commercial application the answer will be: no we can not. Be careful to not violate their license (maybe start by mailing the owner and ask if they can do it for you or if not you can do it for them and then send them thee things you altered): https://gitcafe.com/LoveWallpaper/LoveWallpaperHD-Linux/blob/master/COPYING You may copy, share and use it. Nothing about altering it ;)


Rtcwake based script not working as cronjob

The solution is to use sudo: sudo crontab -e'


Can't access local network when connect to pppoe

Set a static IP on your Ethernet Connection (LAN Adapter), without a Gateway and without DNS, make sure to put it in the same range/subnet as your LAN ie. 172.x.x.x

Connect your LAN cable and confirm you can reach your FTP etc. Everything should work except you should not be able to access the Internet at this time.

Now connect via PPPOE and confirm you can access the Internet, then confirm you still have access to your LAN.

If you continue to have issues then post the output of route -n as mentioned above.

The reason it's not currently working is because Ubuntu is getting assigned 2 Gateways and doesn't know which one to use for what, ie. the routing is incorrect. The solution above configures Ubuntu on the LAN but without a Gateway as it is not necessary as well as on PPPOE for internet access (using your ISP's gateway).


Makes "Files" the default program to open folders

Run this in your terminal:
xdg-mime default nautilus-folder-handler.desktop inode/directory application/x-gnome-saved-search


Running a program from terminal, "command not found"

If you type the command

echo $PATH

it will display your command path, or where commands are searched for. Your current directory would be shown as a "." if its there (i very much doubt it) which is what you're probably missing.

The easiest way to run commands in your current directory is:

./nuetrino_s1_1

The ./ part tells the system to look for the command in the current directory [or $PWD, or present.working.directory].


Grub won't load Windows 7 (unknown file system)

Reinstalling GRUB2 to the Master Boot Record using any of the methods detailed here usually solves this sort of problem.


Deluge torrent client says "no incoming connection"

I had the same problem in the past. I DMZ'ed my PC through the router and it worked.

Look into your router for DMZ.


Found it - The option is under "IPv4 Settings", "Routes", "Use this connection only for resources on its network".


How to make /home point to another partition?

Before we start
Make a fresh backup of all your data on an external drive.
On installation
When installing Ubuntu with defaults it will always create then HOME directory in the root of our newly installed OS. In case we do not want this we'd have to choose "Something else" on installation to then partition our drive according to our (non-default) needs.
Then we can choose to install on a root partition (on mount point /) and  also mount another partition as HOME (mount point /home).
On the screen there please note the small boxes () where we choose to format a partition.

We may want to format the root partition / holding our newly installed OS. All data on that partition will be deleted.
We may however not want to format our HOME partition as we would like to keep our data there. Formatting will delete those.
We then need to tell the installer to mount our previous HOME partiton to /home. This is done by clicking on Change... after we had selected this partition. Again, take care to have "Format this partition" unticked.

Example:
For a separate HOME partition the screen may then look similar to this:

In the example above we will install Ubuntu, and format /sda1 to mount it on the mount point /. We will keep an exisiting swap partition on /sda5, and we will have an additional partition /sdb5 that we chose to mount as HOME on /home. Format option is ticked and greyed out in this example because it was an unformatted drive.
After installation
In case we had already installed Ubuntu but forgot to tell it to use another partition as HOME we simply edit our /etc/fstab to define the partition we want to mount as HOME on boot. Such an entry may look similar to this:
UUID=<uuid of partition to use>    /home    ext4    defaults   0  2

If, after a reboot, everything is to our liking we could delete the contents of our previous /home directory but after a fresh install it is not really populated much, so we could also just leave it in place.
For more details on these steps see my answer to the following question

Move home folder to second drive

Note that the directory name /home will still reside on the root partition to  be used as a mount point.


You have to use do-release-upgrade -d (the -d flag to upgrade to a development version)

more info at Ubuntu Documentation


what is an alternative to irfan view- sharpen feature?

No alternative required as on my Xenial system using the Repository Wine:

andrew@athens:~$ wine --version
wine-1.6.2

and the latest 64bit IrfanView there was absolutely no issues running this application. I note as well there are glowing reports (if not somewhat old ones) on WineHQ...

Screenshot on my system, and yes the 'Sharpen' command works fine:


Multitouch with Touchegg on SynPS/2 Synaptics TouchPad

You have to force Xorg to use the evdev (generic) driver in stead of the regular synaptics driver. For me it (Touchegg) does work, the only problem is that mouse input is not being recognized anymore, just the gestures. See also my question, but perhaps it does work on your system, so it's worth a try I think!

To do load the evdev driver;

Run xinput and get the deviceId of the touchpad
Run xinput --watch-props DEVICEID and note the Device Node (234), e.g. /dev/input/eventXXXX
Tell Xorg to load the evdev driver (/etc/x11/xorg.conf) (substitute eventXXXX)

    Section "InputClass"
         Identifier "touchpad catchall"
         Driver "evdev"
         MatchDevicePath "/dev/input/eventXXXX"
         Option "Ignore" "false"
         Option "Floating" "off"
EndSection

Now you just have to restart the X server with "sudo service lightdm restart", for the changes to take effect.

Also I've found this page on the official Ubuntu Wiki, it states that three finger touch should work by following the instructions, tried it but no luck. So I still don't understand if its a feature of Ubuntu or if we really do need these external applications.

Another external application worth to try may be xSwipe, I've never tried it but it seems to include the same features. Some worries about battery life though, but it can be fixed by lowering the accuracy.


I have the same problem (hibernate/suspend) and this solution works for my Asus K53E (I use step 2, not older step 2):

http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug/comment-page-10#header-0

Good luck!


Error:No root filesystem defined when trying to install

When you select the partition to install, click on it, click edit, set the mount point to install in as / in the dialog. Then, try to install again. If this continues to fail, start the installer, then select advanced partitioning mode. Delete all of your partitions, and add anew partition. Set it to max size. Then, click OK to acknowledge this partition. Then, click edit when the new partition is highlighted and in the mount point dropdown, and select / as the mount point. Click OK to acknowledge, and try to continue installation. Hope this helps :-)


Remove a Custom Dialog Windows (PyGTK + Quickly)

No ,
quickly did'nt included command for removimg added dialogs , you should do it manually .ie delete python file and ui file generated by quickly add dialog command


Ubuntu 14.04 boots to black screen after upgrade from 13.10 - no display, problem seems to be X connected

I had the the same issue. I re-installed from scratch after backing up my home directory. After the fresh install of 14.04.1 I still got a black screen when booting. I then selected the advanced options in the grub boot loader, selected start networking, then went to a root shell and ran 'apt-get update' and 'apt-get upgrade' and the next reboot worked fine. Just thought I would share in case these easy steps help anyone else.


Slow and laggy scrolling in Firefox with FGLRX installed

ATI's proprietary drivers are notorious for their bad 2D performance. Unfortunately there is not much you can do about this for now. However, Ubuntu 13.10 will ship with Linux >3.11 which comes with significant performance and power management improvements to the open source radeon drivers, which have always been better at 2D rendering.

I woul advise you to try upgrading to 13.10 when it's released in October. Until then, I fear, you will have to deal with the performance issues surrounding FGLRX.


Creating a UFI-bootable Live Ubuntu *DVD* with a Windows 8.1 machine

If you burn the Ubuntu 14.04 or 14.10 x64 ISO image correctly, then the result should be a UEFI bootable DVD.

There may be issues with the firmware not allowing to boot from DVD via UEFI, firmware bugs/incompatibilities or an unclear user interface.

Simply copying the data from the ISO image to a USB stick would be the easier way to create UEFI only live media.

More technical detail

  Reading about UEFI, it seems to require a FAT-type format on the boot device. I have not been able to find any way to "format" a DVD as FAT.

The solution to this is El Torito.

Very short explanation: The ISO image contains a boot catalog with one or more files to boot from. For UEFI it's an image with the FAT filesystem containing the EFI loaders. The image is like a disk dump created with dd.

$ mkdir iso-img
$ mkdir efi-img

$ sudo mount Ubuntu-14.04.1-desktop-amd64.iso iso-img

$ file iso-img/boot/grub/efi.img
iso-img/boot/grub/efi.img: x86 boot sector

$ sudo mount iso-img/boot/grub/efi.img efi-img

$ ll efi-img/efi/boot/
total 2298
drwxr-xr-x 2 root root    2048 Jul  21  2014 ./
drwxr-xr-x 3 root root    2048 Jul  21  2014 ../
-rwxr-xr-x 1 root root 1355736 Jul  21  2014 bootx64.efi*
-rwxr-xr-x 1 root root  993144 Jul  21  2014 grubx64.efi*

$ mount | grep efi-img
/home/livewire/Downloads/iso-img/boot/grub/efi.img on /home/livewire/Downloads/efi-img type vfat (ro)


I solved it.
I went to bios and set "OS optimized default" to "enabled" and hit "Load default setting". Then save and exit.


Display battery percentage for mouse and keyboard

What you're asking for is to have percentages displayed instead of progress bars at all time instead of percentages with low battery warnings!

That is something for the new version (here is a link to the new User Interface) so unfortunately not available right now.

But looking at the activity of the project, they could use an additional hand, so if you're willing to do some programming work yourself, you can start helping yourself!  ;-)


I downloaded Dwarf Fortress. Why won't it run?

The Dwarf Fortress archive you downloaded features no dependency resolution, and that error indicates you haven't installed the necessary libraries to play.

Open a terminal and enter the following:

sudo apt-get install libsdl1.2debian libsdl-image1.2 libsdl-ttf2.0-0

That should allow Dwarf Fortress to run correctly unless you are on a 64-bit installation. On 64-bit installations, you may need to add ":i386" as seen here:

sudo apt-get install libsdl-image1.2:i386 libsdl-ttf2.0-0:i386 libgtk2.0-0:i386 libjpeg62:i386 libglu1-mesa:i386 libopenal1:i386

You may also run into problems with sound. If so, you can follow the directions on the dwarf fortress wiki, which suggest the following:

$ cd df_linux/libs
$ ln -s /usr/lib/i386-linux-gnu/libopenal.so.1 ./libopenal.so
$ ln -s /usr/lib/i386-linux-gnu/libsndfile.so.1 ./libsndfile.so


If Ubuntu is installed on the computer but you can't boot it because it lacks a boot loader, you must first ascertain whether it's installed to a GPT disk or an MBR disk. The former are generally used in EFI-mode boots and the latter are generally used with BIOS-mode boots, although that linkage is not nearly as strong as it is with Windows. If you've got an MBR disk but want to boot in EFI mode, or a GPT disk and want to boot in BIOS mode, you should re-assess your situation to decide what to do -- proceed with an unusual configuration, change the partition table type, or change the boot loader type.

Assuming you've got (or convert to) a GPT disk and want to install an EFI-mode boot loader, there are many options. The two easiest are:

GRUB/Boot Repair -- Boot the Ubuntu installer in EFI mode, install the Boot Repair program, and run it. This should set up GRUB correctly on your disk. The biggest caveat is that, although Boot Repair usually works, sometimes it doesn't, and on rare occasion it can actually make matters worse. Of course, since you're unable to boot now, the risk of it getting worse seems pretty remote.
rEFInd -- You can disable Secure Boot (if it's active), download the USB flash drive or CD-R version of my rEFInd boot manager, and boot from it. rEFInd should enable you to boot Ubuntu. If this works, install the PPA or Debian package version. rEFInd will then become your default boot manager, enabling you to boot without GRUB. This approach is a little more incremental -- the risk at each step is quite low, since you're either not changing the disk or you know that the program is almost certain to work when you make on-disk changes.

If you continue to have problems, or if you don't have a GPT/EFI setup, you should post back with details. The URL provided by Boot Repair will show us details about your system, which may be necessary to give a better answer. Alternatively, you can run Boot Info Script, post the RESULTS.txt file that it generates to a pastebin site, and post the URL to your document here.

EDIT:

Your symptoms are consistent with a buggy firmware; some manufacturers are known to release computers with buggy EFIs that "forget" or ignore their boot entries. Your question, though, implies that this all worked fine with your Elementary OS installation. That, in turn, suggests that the firmware's NVRAM entries are damaged in some way, thus preventing new entries from being recorded. This is also a bug, but it might be overcome.

One thing to try is entering your firmware's setup utility and selecting the option to reset all the settings to their default values. Unfortunately, I can't tell you exactly where that option is, since it varies from one firmware to another. (It's even possible that yours won't have such an option.) When this is done, you can try running Boot Repair again or install rEFInd as described above, and with any luck the repair will succeed.

Another thing you might try is the EasyUEFI program in Windows. You can use this to re-order existing entries, delete existing entries, and create new entries. You should be able to create an entry for Ubuntu (\EFI\ubuntu\shimx64.efi -- note the use of Windows-and-EFI-style backslashes as directory separators) and test it. You could also use EasyUEFI to clear out any extra or redundant entries -- but the efibootmgr output in your Boot Repair run makes it look like there's nothing suspicious or redundant to be cleared out. Still, checking with another tool (that is, EasyUEFI) may be worthwhile.


HP Spectre x360 disable trackpad in tablet mode

I don't have such device neither have any system info. This is a generic answer.

Check for events

Get list of all input devices:

xinput

Using regular mode
Run these on separate terminals

udevadm monitor
acpi_listen
while sleep 1; do clear;for i in $(xinput --list --id-only); do echo $i $(xinput list-props $i | grep "Device Enabled"); done; done

Watch those commands output, while changing to tablet mode & back

Use that event to enable or disable track pad  xinput device, example

xinput disable "AlpsPS/2 ALPS GlidePoint"
xinput enable "AlpsPS/2 ALPS GlidePoint"

Quiet to board to go through all event types, but there are many question here in Ask Ubuntu for similar cases.

UDEV: How can I toggle the touchpad depending on whether a mouse is connected?
ACPI: What code is executed when headphones are disconnected?
XINPUT: use a loop


MTS Mblaze modem is not being recognized

For the first time when you insert your device; a new drive (like USB Pen-Drive) is automatically mounted.

Just browse across this drive, and search for a file with .deb extension with most probable name of the file being installer.version.something.deb

This deb file is the software and driver for your MTS Mblaze USB modem; which will help your system recognize the device.

As an extra piece of information, you USB modem hardware is supplied by a Chinese company ZTE if you are being bothered for the drivers then search ZTE's website. Alternativly just ring the MTS help-center


How to copy and paste a file through the command-line?

This should do it:
For a file: sudo cp /path/to/file /path/to/destination-folder/
For a folder: sudo cp -R /path/to/folder /path to destination-folder


If you delete Windows thoroughly then it should also vanish from the Grub menu after sudo update grub (or after a kernel update, which uses the same command eventually). In some cases it might leave an entry in the UEFI menu but that shouldn't be hard to delete.


I'm not sure if I correctly undrestand your question, however to address what you asked (Bold section), you should change logrotate configurations.

Have a look at this file:

less /etc/logrotate.conf

there should be lines like:

/var/log/wtmp {
    missingok
    monthly
    create 0664 root utmp
    rotate 1
}

If you remove these lines from file, "logrotate" does not remove this log anymore, you can change "monthly" to "yearly" to make it remove files after a year; rotate 1 means keep one backup before removing the old one which comes to:

$ ls /var/log/wtmp*
/var/log/wtmp  /var/log/wtmp.1

If you change it to 2, you're going to get:

$ ls /var/log/wtmp*
/var/log/wtmp  /var/log/wtmp.1  /var/log/wtmp.2


How to identify unnecessary partitions - dual boot?

Any suggestions with how to identify what is and is not being used by both Windows and Ubuntu?

Windows is off topic but these are Linux related:

├─sda6  swap     1.9G [SWAP]
├─sda7  swap     1.9G [SWAP]
├─sda8  ext4    26.1G /

That is 1 swap more than needed. If you have a look at /etc/fstab it will list what device the swap is on. You can delete the other one.

Example:

$ more /etc/fstab|grep swap
# swap was on /dev/sda5 during installation
UUID=b3821c31-2db0-48b7-8cab-2e4e0f3a03e4 none            swap    sw              0       0

Yours will list sda6 or sda7.


How do I add a missing display resolution after upgrade to Ubuntu 17.10

It turns out that the HDMI male to female adapter I was using was the problem. I switched to another version from the same company and now all the resolutions are showing as expected.


Geary mail not sync all massages I have for my accounts in xubuntu 16.04!

Select Geary > Accounts, then for each account select Everything from the Storage > Download mail combobox.


problem solved:

I had to add these lines in /var/lib/lxc/ContainerOne/fstab from host in all containers

/sys/fs/fuse/connections /sys/fs/fuse/connections none bind 0 0
/sys/kernel/debug /sys/kernel/debug none bind 0 0
/sys/kernel/security /sys/kernel/security none bind 0 0
/sys/fs/pstore /sys/fs/pstore none bind,optional 0 0


Suitable Resolution for my screen is not showing!

Looks like you have a very new computer, which means you'll need to install the 20.10 release of Ubuntu. Fortunately it's pretty easy:

Open the "Software & Updates" application
Go to the "Updates" tab
Find the section titled "Notify me of a new Ubuntu version"
Change "For long-term support versions" to “For any new version” (as seen in the image below)
If asked for your password, type it in
Click "Close"

From there, you can check for updates and the system will prompt you to upgrade to 20.10, which has the necessary drivers to get the most out of your new computer.
Hope this helps,


Why does 12.04 64-bit installer fail to find root fs and panic?

is the laptop booting from the live cd?
If yes than try to format you whole hard disk with gparted. As soon the hard disk is empty try to install Ubuntu again.

Greetings


NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver in Ubuntu 18.04

Check if Secure Boot is disabled in BIOS.


I don't know if you've solved this. I have the HP Envy dv7 and seem to have it working.

Ubuntu 12.10 - no wireless detected.
upgrade the linux kernel to 3.6.3 or later and make sure the firmware rt3290.bin is in lib/firmware and it should work.

However I have found that sometimes the wireless is disabled and the only way I have found to re-enable it is to boot into Windows.


How do I make the LED stop blinking during network activity with an Intel PRO/Wireless 5100 AGN?

The following commands should work for you:

sudo rmmod iwlwifi

sudo modprobe iwlwifi led_mode=1

To make it permanent, run

gksudo gedit /etc/modprobe.d/iwlwifi.conf,

paste in options iwlwifi led_mode=1, then save and close.


Upgrading to Ubuntu 17.10 results in Lag

To source the cause you can reduce the causes:
the upgrade to 17.10 make wayland as default display manager... try to log with Xorg insted from the login screen select the cogwheel icon.
Also check if with the previous kernel you still having lag.
Also hit esc during  boot to see if you have some error and launc your apps from terminal to check if you get warnings or errors from there.


Thunderbird calendar events don't have clickable URLs turned on

A bypass solution is to add the URL in the "location" field of the event. In that case, when you get the event notification (e.g. 1 minute before the meeting starts) the URL in the location field appears clickable.

This doesn't fully reply to your request, since many events come as invitations from other people, and in that case the URL is part of the description and is not clickable. I think the only solution to that is to highlight the importance of the older bug in in bugzilla and this newer one and hope it gets implemented soo.


When I resume from suspension - the screen is blank

It looks like you're affected by bug #578673 (the key for searching was to search for the model of your video controller: Intel HD Graphics). Make sure you have recommended updates (lucid-updates) checked in the “Updates” tab of the Update Manager settings, and that you have the latest kernel (at least 2.6.32-24.42).

If that doesn't help, read through the comments and see if someone has made a suggestion that might help you. If you can't find anything, report a new bug. Be sure to mention your exact hardware and kernel version and that the fix for bug #578673 didn't help you.


Does 20.04 support multi-touch gestures out of the box?

I've tried Ubuntu on a Lenovo-Yoga with touch screen.
Multi touch works (as described here) but only on certain widgets. Entry fields for example were not supported (except 1 touch selection) and some more features just worked barely.
I really hate to say it, but the windows touch integration was far more elaborate - and I'm not a fan of that OS.
So it depends what you wanna do and what expectations you have.
Easiest way to test it would be with a live Ubuntu-USB on a laptop with a touch-screen if you can get your hands on one.
Last but not least I've tried several linux distros with Ubuntu as winner.


Ubuntu: Target Packages is configured multiple times

The issue was caused as a result of unknowingly adding Opera Stable apt-repository to the sources list.

Here's how I fixed it

Solution 1

Open your terminal or command line, and type the following

sudo nano /etc/apt/sources.list

This will open your sources list in the nano editor

Simply scroll down the list and comment out the line that is causing the issue.

For me it was the opera stable apt-repository line

deb [arch=amd64,i386] https://deb.opera.com/opera-stable/ stable non-free

All I had to do was to comment it out, like this

# deb [arch=amd64,i386] https://deb.opera.com/opera-stable/ stable non-free

Then exit the file, by pressing

Ctrl + X

And then Press Y on your keyboard to save the changes.

Solution 2

Open the Software and Updates application
Click on the Other Software tab
Scroll down and click on Opera Browser (final releases) stable
Click the Remove button at the bottom
After the removal, click the Refresh button to update your cache

That's all.

I hope this helps.


It hasn't changed.

Highlight the menu with the shortcut.
Push the backspace key.
Press a new key combination.

If you want to changes to be permanent (and not only for the session) Edit > Save shortcut keys.


Ubuntu (Linux) vs Windows device plug and play compatibility

Shortest answer: Yes.

Longer answer: Unless the device is brand new, strange, or just something that fell through the gap, anything plug and play on Windows will likely be plug and play on Ubuntu. Don't assume, though!

Plug-n-Play is an interesting term. There are multiple kinds, each doing different things - for example, a device like a keyboard that needs no special driver at all is plug-and-play, but technically so is the device that downloads its drivers through Windows Update.

Anything in the "generic" category will almost always work on Linux straight away. You should be able to plug in almost any keyboard, mouse, flash drive, etc. without any issue. You may get the rare device that doesn't want to work due to some quirk, but these are few and far between.

Things that download drivers in the background (quite a few webcams, printers, etc.) are more of a mixed bag. In my personal experience, these have almost always worked fine on Linux, but this is not always the case. You may need to install printer drivers or other things manually if the Linux kernel doesnt come with a working generic.

In your case specifically, I would hazard a guess that your barcode scanner will work just fine under Linux without anything fancy. Unless you got a very high-end (or very weird) barcode scanner, it will just expose itself to your computer as a keyboard. Keyboards don't need anything special, so it should Just Work™.


is there a way to customize keyboard shortcuts in LxTerminal?

In this case you need an app-specific solution. For cross-application configurations this page is helpful.

The short answer:

Unfortunately it is not possible to add new shortcuts.

The long answer:
lxterminal 0.2.0-1 (vivid) has a property tab for shortcuts.
In previous versions, there is no such possibility. I also tried to use the configuration of the newer version with the older version. It does not work.

Start the terminal

Click Edit > Preferences

Select the Shortcuts tab

Make your changes


xubuntu, /etc/X11/xorg.conf, nvidia issue

I just solved the issue. I noticed that my driver is "intel", but not "nvidia" :).

sudo nano /etc/X11/xorg.conf

I changed "nvidia" to "intel".


Well, there is an app called sunclock to show the local time around the world and the areas of the globe which are in night or day.

You can install it by using

sudo apt install sunclock


Ubuntu server is a command prompt only system.
You can install a desktop on Ubuntu server but that makes it a desktop version with server software. Nothing wrong with that either though.

  of switching to Ubuntu Server for security issues.

Like what security issues? I see no problems using a desktop system with server software. If all you use it for is a mailserver remove firefox if that one is a concern.

  can I do that from Terminal or I have to format again and lose all my work

You can do that from terminal, you can also re-install but that does not also mean you loose your work. Ever heard of backing up your files?

You can remove the Ubuntu 12.04 desktop with (this will not work for 13.10, 14.04)(source:psychocats):

sudo apt-get remove account-plugin-aim account-plugin-facebook account-plugin-flickr account-plugin-google account-plugin-icons account-plugin-identica account-plugin-jabber account-plugin-salut account-plugin-twitter account-plugin-windows-live account-plugin-yahoo acpi-support acpid activity-log-manager-common activity-log-manager-control-center adium-theme-ubuntu aisleriot apg app-install-data-partner appmenu-gtk appmenu-gtk3 appmenu-qt apt-xapian-index apturl apturl-common avahi-autoipd avahi-daemon bamfdaemon baobab binutils bluez-alsa bluez-cups bluez-gstreamer branding-ubuntu brasero brasero-cdrkit brasero-common brltty checkbox checkbox-qt compiz compiz-core compiz-gnome compiz-plugins-default cryptsetup-bin cups-bsd dc dconf-tools deja-dup doc-base duplicity dvd+rw-tools empathy empathy-common eog espeak-data evolution-data-server evolution-data-server-common example-content firefox firefox-globalmenu firefox-gnome-support folks-common fonts-kacst fonts-kacst-one fonts-khmeros-core fonts-lao fonts-lklug-sinhala fonts-opensymbol fonts-sil-abyssinica fonts-sil-padauk fonts-takao-pgothic fonts-thai-tlwg fonts-tibetan-machine fonts-tlwg-garuda fonts-tlwg-kinnari fonts-tlwg-loma fonts-tlwg-mono fonts-tlwg-norasi fonts-tlwg-purisa fonts-tlwg-sawasdee fonts-tlwg-typewriter fonts-tlwg-typist fonts-tlwg-typo fonts-tlwg-umpush fonts-tlwg-waree foomatic-db-engine freerdp-x11 gcalctool gcc gcc-4.7 gedit gedit-common geoclue geoclue-ubuntu-geoip gir1.2-accounts-1.0 gir1.2-appindicator3-0.1 gir1.2-atspi-2.0 gir1.2-dbusmenu-glib-0.4 gir1.2-dee-1.0 gir1.2-gdata-0.0 gir1.2-gmenu-3.0 gir1.2-gnomebluetooth-1.0 gir1.2-gnomekeyring-1.0 gir1.2-goa-1.0 gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10 gir1.2-gtksource-3.0 gir1.2-gudev-1.0 gir1.2-indicate-0.7 gir1.2-javascriptcoregtk-3.0 gir1.2-messagingmenu-1.0 gir1.2-peas-1.0 gir1.2-rb-3.0 gir1.2-signon-1.0 gir1.2-soup-2.4 gir1.2-syncmenu-0.1 gir1.2-totem-1.0 gir1.2-totem-plparser-1.0 gir1.2-ubuntuoneui-3.0 gir1.2-unity-5.0 gir1.2-webkit-3.0 gnome-accessibility-themes gnome-bluetooth gnome-contacts gnome-control-center gnome-control-center-data gnome-control-center-signon gnome-desktop3-data gnome-font-viewer gnome-games-data gnome-mahjongg gnome-media gnome-menus gnome-online-accounts gnome-orca gnome-power-manager gnome-screensaver gnome-screenshot gnome-session gnome-session-bin gnome-session-canberra gnome-session-common gnome-settings-daemon gnome-sudoku gnome-system-log gnome-system-monitor gnome-terminal gnome-terminal-data gnome-user-guide gnome-user-share gnomine growisofs gstreamer0.10-alsa gstreamer0.10-gconf gstreamer0.10-plugins-base-apps gstreamer0.10-pulseaudio gstreamer0.10-tools gstreamer0.10-x gtk2-engines-murrine guile-1.8-libs gvfs-bin gwibber gwibber-service gwibber-service-facebook gwibber-service-identica gwibber-service-twitter hplip hplip-data hwdata ibus-gtk3 ibus-pinyin ibus-pinyin-db-android ibus-pinyin-db-open-phrase ibus-table indicator-appmenu indicator-datetime indicator-messages indicator-power indicator-printers indicator-session indicator-sound intel-gpu-tools kerneloops-daemon landscape-client-ui-install laptop-detect libaccount-plugin-1.0-0 libaccounts-glib0 libaccounts-qt1 libart-2.0-2 libasound2-plugins libatk-adaptor libatk-adaptor-data libavahi-core7 libavahi-gobject0 libbamf3-0 libboost-date-time1.49.0 libbrasero-media3-1 libbrlapi0.5 libc-dev-bin libc6-dev libcamel-1.2-40 libcanberra-gtk-module libcanberra-gtk0 libcanberra-gtk3-0 libcanberra-gtk3-module libcanberra-pulse libcanberra0 libclutter-1.0-0 libclutter-1.0-common libclutter-gst-1.0-0 libclutter-gtk-1.0-0 libcmis-0.2-2 libcogl-common libcogl-pango0 libcogl9 libcompizconfig0 libcrypt-passwdmd5-perl libcryptsetup4 libcurl3-nss libdaemon0 libdbusmenu-qt2 libdecoration0 libdee-1.0-4 libdmapsharing-3.0-2 libdotconf1.0 libebackend-1.2-5 libebook-1.2-14 libecal-1.2-15 libedata-book-1.2-15 libedata-cal-1.2-18 libedataserver-1.2-17 libespeak1 libexempi3 libexiv2-12 libexttextcat-1.0-0 libexttextcat-data libfile-copy-recursive-perl libfolks-eds25 libfolks-telepathy25 libfolks25 libfreerdp-plugins-standard libfreerdp1 libgail-common libgail18 libgdata-common libgdata13 libgeoclue0 libgexiv2-1 libglew1.8 libglewmx1.8 libgmime-2.6-0 libgnome-control-center1 libgnome-desktop-3-4 libgnome-media-profiles-3.0-0 libgnome-menu-3-0 libgnome-menu2 libgnomekbd-common libgnomekbd8 libgoa-1.0-0 libgoa-1.0-common libgomp1 libgtkmm-3.0-1 libgtksourceview-3.0-0 libgtksourceview-3.0-common libgtkspell-3-0 libgweather-3-1 libgweather-common libgwibber-gtk3 libgwibber3 libhpmud0 libhyphen0 libical0 libido3-0.1-0 libindicate5 libitm1 libjavascriptcoregtk-3.0-0 libjs-jquery liblcms1 liblouis-data liblouis2 liblua5.1-0 liblvm2app2.2 libmessaging-menu0 libmetacity-private0a libmission-control-plugins0 libmng1 libmusicbrainz5-0 libmx-1.0-2 libmx-bin libmx-common libmysqlclient18 libmythes-1.2-0 libnotify-bin libnss-mdns libnux-3.0-0 libnux-3.0-common liboauth0 libopencc1 libpackagekit-glib2-14 libpam-freerdp libpam-gnome-keyring libpeas-1.0-0 libpeas-common libprotobuf7 libprotoc7 libproxy1-plugin-gsettings libproxy1-plugin-networkmanager libpulsedsp libpython3.2 libqjson0 libqt4-dbus libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtassistantclient4 libqtcore4 libqtgui4 libqtwebkit4 libquadmath0 libquvi-scripts libquvi7 libraw5 libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-emailmerge libreoffice-gnome libreoffice-gtk libreoffice-help-en-us libreoffice-impress libreoffice-math libreoffice-ogltrans libreoffice-pdfimport libreoffice-presentation-minimizer libreoffice-presenter-console libreoffice-style-human libreoffice-style-tango libreoffice-writer librest-0.7-0 librhythmbox-core6 librsync1 libsane-hpaio libsensors4 libsgutils2-2 libsignon-extension1 libsignon-glib1 libsignon-plugins-common1 libsignon-qt1 libsnmp-base libsnmp15 libsonic0 libspeechd2 libspeexdsp1 libssh-4 libstlport4.6ldbl libsync-menu1 libsyncdaemon-1.0-1 libtelepathy-farstream2 libtelepathy-logger2 libtimezonemap1 libtotem-plparser17 libtotem0 libubuntuoneui-3.0-1 libufe-xidgetter0 libunity-core-6.0-5 libunity-misc4 libunity-protocol-private0 libunity-webapps0 libunity9 libuuid-perl libvncserver0 libwacom-common libwacom2 libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libwmf0.2-7-gtk libyaml-tiny-perl libyelp0 libzeitgeist-1.0-1 light-themes lightdm-remote-session-freerdp lightdm-remote-session-uccsconfigure linux-headers-generic-pae linux-libc-dev make manpages-dev mcp-account-manager-uoa media-player-info metacity-common mousetweaks mscompress mtools mysql-common nautilus nautilus-sendto nautilus-sendto-empathy nautilus-share network-manager-pptp network-manager-pptp-gnome notify-osd notify-osd-icons nux-tools obexd-client onboard oneconf overlay-scrollbar overlay-scrollbar-gtk2 overlay-scrollbar-gtk3 pcmciautils pinyin-database pkg-config plymouth-theme-ubuntu-logo policykit-desktop-privileges pptp-linux printer-driver-c2esp printer-driver-foo2zjs printer-driver-hpcups printer-driver-min12xxw printer-driver-postscript-hp printer-driver-ptouch printer-driver-pxljr printer-driver-sag-gdi printer-driver-splix protobuf-compiler pulseaudio pulseaudio-module-bluetooth pulseaudio-module-gconf pulseaudio-module-x11 pulseaudio-utils python-apport python-configglue python-debtagshw python-dirspec python-gconf python-gi-cairo python-gnupginterface python-gst0.10 python-httplib2 python-imaging python-lxml python-mako python-markupsafe python-oauth python-openssl python-pam python-pexpect python-piston-mini-client python-problem-report python-protobuf python-pyinotify python-qt4 python-qt4-dbus python-renderpm python-reportlab python-reportlab-accel python-serial python-simplejson python-sip python-twisted-bin python-twisted-core python-twisted-names python-twisted-web python-ubuntu-sso-client python-ubuntuone-client python-ubuntuone-control-panel python-ubuntuone-storageprotocol python-uno python-xapian python-zeitgeist python-zope.interface python3-aptdaemon.pkcompat python3-brlapi python3-cairo python3-crypto python3-gi-cairo python3-httplib2 python3-louis python3-lxml python3-oauthlib python3-pyatspi2 python3-pycurl python3-speechd python3-virtkey qdbus qt-at-spi radeontool remmina remmina-common remmina-plugin-rdp remmina-plugin-vnc remote-login-service rhythmbox rhythmbox-data rhythmbox-mozilla rhythmbox-plugin-cdrecorder rhythmbox-plugin-magnatune rhythmbox-plugin-zeitgeist rhythmbox-plugins rhythmbox-ubuntuone rtkit samba-common samba-common-bin sane-utils seahorse session-migration sessioninstaller sgml-base shotwell signon-keyring-extension signon-plugin-oauth2 signon-plugin-password signon-ui signond sni-qt software-center software-center-aptdaemon-plugins sound-theme-freedesktop speech-dispatcher ssh-askpass-gnome syslinux syslinux-common syslinux-legacy telepathy-gabble telepathy-haze telepathy-idle telepathy-indicator telepathy-logger telepathy-mission-control-5 telepathy-salut thin-client-config-agent thunderbird thunderbird-globalmenu thunderbird-gnome-support toshset totem totem-common totem-mozilla totem-plugins ttf-indic-fonts-core ttf-punjabi-fonts ubuntu-artwork ubuntu-desktop ubuntu-docs ubuntu-mono ubuntu-settings ubuntu-sounds ubuntu-sso-client ubuntu-sso-client-qt ubuntu-system-service ubuntu-wallpapers ubuntu-wallpapers-quantal ubuntuone-client ubuntuone-client-gnome ubuntuone-control-panel ubuntuone-control-panel-qt ubuntuone-couch udisks unity unity-asset-pool unity-common unity-greeter unity-lens-applications unity-lens-files unity-lens-gwibber unity-lens-music unity-lens-photos unity-lens-shopping unity-lens-video unity-scope-gdocs unity-scope-musicstores unity-scope-video-remote unity-services unity-webapps-common unity-webapps-service uno-libs3 update-inetd ure usb-creator-common usb-creator-gtk vino wodim xcursor-themes xdiagnose xfonts-mathml xul-ext-ubufox xul-ext-unity xul-ext-websites-integration yelp yelp-xsl zeitgeist zeitgeist-core zeitgeist-datahub zenity zenity-common && sudo apt-get install lubuntu-desktop ubuntu-minimal && sudo /usr/lib/lightdm/lightdm-set-defaults -g lightdm-gtk-greeter

And ofcourse you will make a backup before you do this.


Will there be a Mac version of Ubuntu One?

Well, the Ubuntu one team did post a job opening for a Mac software developer on their website. So it may come in the future.

Ubuntu one is already available on other operating systems such as Windows, Android, and iOS

Source Link
http://www.omgubuntu.co.uk/2012/01/ubuntu-one-team-seeking-mac-dev/


This was answered in a comment by bcbc (slightly modified here).

The first reboot goes straight into Ubuntu to complete the install. Reboot and you should see the option to boot either. The default is Windows (keep it that way).

In the Ubuntu system, your Windows files can be found under /host.


The designation /dev/sda and /dev/sdb can be arbitrary as you  can see.

From https://wiki.archlinux.org/index.php/Persistent_block_device_naming

  If your machine has more than one SATA, SCSI or IDE disk controller, the order in which their corresponding device nodes are added is arbitrary. This may result in device names like /dev/sda and /dev/sdb switching around on each boot, culminating in an unbootable system, kernel panic, or a block device disappearing. Persistent naming solves these issues.

and Debian https://wiki.debian.org/Part-UUID

  If you have more than one disk controller (IDE or especially SCSI/SATA), or even if you just have variable numbers of removable USB/firewire storage devices attached from day to day, the order in which they are detected may not be deterministic. The result is that device names like /dev/sda1 and /dev/sdb1 may switch around randomly on each boot. Persistent naming allows you not to worry about this at all.

For file systems it's best to use UUID (/dev/disk/by-uuid/) or labels (/dev/disk/by-label/). For raw drives or unformatted partitions you can use IDs (/dev/disk/by-id/).

To identify your disk/partition, use blkid

sudo blkid

The Ubuntu information is here: https://help.ubuntu.com/community/UsingUUID

It may be best to temporarily remove your windows hard drive while you install Ubuntu, then configure your windows partition(s) to mount post install. You can then select which OS to boot in your BIOS.


My monitor's preferred resolution was 1920x1080, a common 16 x 9 aspect ratio monitor.  This is not supported by vbeinfo (nor are any 16x9 ratios as of Ubuntu 13.04).  You can run vbeinfo from the grub screen after pressing "c".  Uncommenting GRUB_GFXMODE=640x480 solved it for me.  I don't need more screen res in grub and most monitors support it.


Desktop file custom icon changing to terminal icon

Because this is a script which you require to run in the terminal, it will appear as such.

To avoid this you would need to create a custom GUI application which embeds a terminal widget, within which you run your script, and you can then specify a custom window title, icon, etc… as well.

Due to how window management and terminal applications work, there is no easy way to do this. A custom GUI app would be needed.


Ports misbehaving - Closed but they are opened

Never mind.... Just found it that there was no service running behind it. So it seems that it is closed as long as there is no service behind it.

My bad. Noob. Just learning the curve. Sorry.


How can i use the command translate in linux terminal

To use tr for this, you will need the -s (--squeeze-repeats) option:
$ echo 'DHX36 PMID:26489465;;PMID:26267306;PMID:32461552;PMID:32337838' | tr -s ';'
DHX36 PMID:26489465;PMID:26267306;PMID:32461552;PMID:32337838

Alternatively, with sed:
$ echo 'DHX36 PMID:26489465;;PMID:26267306;PMID:32461552;PMID:32337838' | sed 's/;;/;/g'
DHX36 PMID:26489465;PMID:26267306;PMID:32461552;PMID:32337838

(you can omit the g if there is only one ;; per line to be replaced).


E: Package 'libpng12-0' has no installation candidate [ubuntu 16.10 Gnome]

You can download the libpng12-0 package from here:

http://packages.ubuntu.com/xenial/i386/libpng12-0/download for i386 architecture and
http://packages.ubuntu.com/xenial/amd64/libpng12-0/download for amd64.

I had the same dependency problem. But downloading and installing fix edthe error. Ubuntu 16.10 killed these libs jeje.


How to get Franz messaging app start minimized and with window along the right edge of the screen?

1) A simple wrapper bash script that can be used as a startup app instead of Franz - e.g. ~/.bin/Login-Franz

#!/bin/bash
# Start Franz
"/opt/Franz/franz" &
sleep 3
# Get the WIDTH of screen
SWIDTH="$(xrandr | grep " connected" | grep "[0-9]x[0-9]"| cut -d ' ' -f 4 | cut -d '+' -f 1 | cut -d 'x' -f 1)"
# Get the HEIGHT of screen
SHEIGHT="$(xrandr | grep " connected" | grep "[0-9]x[0-9]"| cut -d ' ' -f 4 | cut -d '+' -f 1 | cut -d 'x' -f 2)"
# Get the WINDOW ID of Franz
FWINDOW="$(wmctrl -l | grep " Franz$" | cut -d ' ' -f 1)"
# Calculate the window LEFT position for 750px width
FLEFT="$(echo $(( $SWIDTH-750 )))"
# Calculate the window HEIGHT below a 22px top panel
FHEIGHT="$(echo $(( $SHEIGHT-22 )))"
# Move and resize Franz window as above
wmctrl -i -r $FWINDOW -e 0,$FLEFT,22,750,$FHEIGHT
# Close Franz window to system tray
wmctrl -ic $FWINDOW
exit 0

Note: Some adjustment might be required for other desktop configurations than the one with a 22px top panel and nothing else on the right edge.

2) A custom .desktop file: ~/.config/autostart/franz-startup.desktop

[Desktop Entry]
Type=Application
Version=1.0
Name=Franz
Comment=Franz Startup Script
Exec="~/.bin/Login-Franz"
Icon=franz
StartupNotify=false
Terminal=false
X-GNOME-Autostart-Delay=10
X-GNOME-Autostart-enabled=true

Note: You might need to change "~/" to "/home/YourUserName/" in the executable path.


Where to find remembered luks password for USB drive

You cannot, sorry.

A password stored in plain text would be a serious security bug. All passwords must be stored hashed...which is a one-way street. You can hash the correct password and get the correct hash, but you cannot un-hash to get the original password (if you could, that would also be a serious security bug).

I suggest that you let Ubuntu decrypt your USB drive, copy your data to some other media, then eliminate encryption (or simply reformat). You can, optionally, re-encrypt with a new password.


Configuration changes resist to apply, and some other mess; need help!

RE the themes
You need to set both the GTK theme and the window manager theme to the theme you want to use:

Install Ubuntu Tweak.

Navigate to this page in Ubuntu Tweak and set both "Gtk theme" and "Window theme" to the one you want to use.


How do I reverse sudo apt-mark hold linux-generic linux-image-generic linux-headers-generic on Ubuntu 20.04

The reverse command is
sudo apt-mark unhold linux-generic linux-image-generic linux-headers-generic


Possibly you hit bug #1372846. Try this:

sudo apt-get install skype-bin


Not the silver bullet but have solved 99% of the problems and I'm comfortable with few that remains. The Answer was to reset Firefox. Go to menu with path shown below and click "reset firefox" button and you are done

Help >> Troubleshoot Information


Try:

echo alx | sudo tee /etc/modules

This will add the module to the /etc/modules file, so it loads automatically, and so you don't have to run the sudo modprobe alx command every time.


Failed ubuntu-windows8 dual boot: Is uninstalling ubuntu the answer?

As far as I can tell, you have two options:

You run a boot-repair via live media and it fixes everything.
You uninstall Ubuntu, insert a Windows recovery disc, and use it to repair your booting problem.


How can I use "mv" to gather all the files found by "find" in the same folder?

A slight skew, cp and mv both support a -t target argument that lets you start with where your destination and end your command with a long list of things to copy or move. That lends itself perfectly to things like find -exec ... {} +, which will build a long command efficiently. Much more than find -exec ... {} \;

find . -type f -exec mv -t /new/path {} +


rEFIt Not Working with Ubuntu 12.04/MacOS dual boot after upgrade to El Capitan

Note: I maintain rEFInd.

Short Answer

Download the rEFInd .zip file from its download page and install it. Note that you're almost certain to run into issues related to System Integrity Protection (SIP), which can be overcome as described in the rEFInd documentation. Installing rEFInd should get you booting again. You may well see a rEFIt entry in rEFInd, which will be rendered redundant. You can remove it by deleting the /EFI/refit directory in OS X; or you can leave it in place, if you like.

Long Answer

Upgrading your OS X version has updated the OS X boot loader, which has taken control of the boot process from rEFIt. The new SIP feature makes it impossible for the rEFIt support tool called rEFItBlesser to do its job, so even if rEFItBlesser is installed, it can't switch the boot back to one that uses rEFIt. In principle, you could disable SIP and then run rEFItBlesser or re-install rEFIt to get things working again; however, there might be other changes made by installing OS X 10.11 that would create further complications. Overall, therefore, it's probably better to switch to rEFInd -- although rEFIt can be made to work, it's becoming necessary to jump through more and more undocumented hoops to do so.

Chances are your Ubuntu installation is just fine, although I can't be 100% certain of that from the information you've provided. Partition table information would be helpful in making that determination; but as I suspect it's all fine, and as installing rEFInd shouldn't create any real problems even if it's not, you might as well go ahead with a rEFInd installation. There's certainly no call to completely re-install Ubuntu unless you have reason to think that the OS X upgrade has damaged the Ubuntu installation.

Note that rEFInd can launch Linux kernels directly, provided it can read them. Once you install rEFInd, you may see two or more ways to launch Ubuntu. One is likely to show up as a generic penguin icon and will launch a BIOS-mode version of GRUB. This option might or might not still work. Another is likely to show up with an Ubuntu icon and have a description that references a file with a name beginning with vmlinuz. This option boots Ubuntu directly via the kernel in EFI mode, and is the preferred way to launch Ubuntu. If this option works, you can eliminate the BIOS-mode option by editing the refind.conf file: Uncomment the scanfor line and ensure that hdbios is not among the listed options.


How to remove the user name from XUbuntu session menu panel applet?

You can remove the session menu and add an item called 'Action Button' instead. Per default, it will display the usual xfce log-out menu (same as the main menu item).

If this is too pristine, you can add a custom launcher and add the various commands supported by xfce4-session-logout: (excerpt from xfce4-session-logout --help)

  -l, --logout             Log out without displaying the logout dialog
  -h, --halt               Halt without displaying the logout dialog
  -r, --reboot             Reboot without displaying the logout dialog
  -s, --suspend            Suspend without displaying the logout dialog
  --hibernate              Hibernate without displaying the logout dialog
  -f, --fast               Log out quickly; don't save the session

N.b.: This is from xubuntu 11.04, should still work in 11.10.


How can I reset system time to network time from the command line?

ntpdate deprecated
ntpdate is deprecated, read more here: http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate
For a one-shot approach

install the ntp package with sudo apt-get install ntp
set a server in your /etc/ntp.conf
and use sudo ntpd -q -g -x -n for a one-time sync.

This also works for deviations up to 68 years.
Alternatively, go to "System Settings" → "Time and Date" (I'm not sure its the correct translation) to enable Network time. Note that you can't specify a server there.


i want to remove windows 8 and windows 7 from my triple boot with ubuntu 12.04

Just delete the Windows partitions with gparted.
Make sure to open gparted as root.

if you don't have gparted installed install it by typing sudo apt-get install gpareted in a terminal.

Start it with sudo gparted and edit your partitions.


packages have been unpacked but not yet configured

Try:

sudo dpkg --configure network-manager-dbg:i386 network-manager:i386 network-manager-gnome:i386


How to reassign touchpad buttons to keyboard?

You can do this with Custom Keyboard shortcuts and xdotool. Install the tool using:

sudo apt install xdotool

Then go to System Settings -> Keyboard -> Shortcuts -> Custom:

Click on + to create a new shortcut.
Set Name to Left Click
Set Command to xdotool click 1
Click Apply button
Click on Accelerator option and when prompted for key press F1

Repeat process for Right Click but assign command as xdotool click 3 and set the accelerator as F2.

Now you can press F1 for left click and F2 for right click.


Is there a way to prevent nmap service detection?

Unfortunately, it is not possible. The only way to hide your services is making ports closed.


For KDE: KWordQuiz

Others: Anki

You can install both of them from repositories.


Failed to fetch https://apache.bintray.com/couchdb-deb/dists/xenial/InRelease Connection timed out after 120000 milliseconds

I ended up compiling the CouchDB 2.1.1 from source and adding it to systemd as a service. It was pretty straight-forward and smooth, following these instructions.

I added CouchDB to systemd by creating the following script at /etc/systemd/system/couchdb.service:

[Service]
ExecStart=/home/couchdb/couchdb/bin/couchdb
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=couchdb
User=couchdb
Group=couchdb
Environment=

[Install]
WantedBy=multi-user.target


The last version of ubuntu that packaged postgressql 8.3 was Hardy Heron 8.04 LTS. It is supported until April 2013 on the server if your interested in using it. Barring that, you can install the debs from here:

http://packages.ubuntu.com/hardy-updates/postgresql-8.3

You will need to grab the dependencies as well and manually install them in order. You won't get any security updates and it may just flat out fail to work :-( The alternative of adding the hardy repo to your sources.list is possible, but not for the feint of heart. I highly suggest upgrading if at all possible, or running an LTS if stability and unchanging packages is important.


These are hidden files and folders. Just press Ctrl+H and they will hide.


Second monitor not rendering correctly with NVidia drivers

mmm......maybe i'm missleaded ...but consider 2 things

1) does it happen with open drivers too?( this checks if is a monitor related issue or a software one)
2)disable compositing and try again....

if the problem stay still , maybe is a monitor issue

cause dude , i got 2 PCs with two nvidia card one with nvs5200 aboard the other one with a GTX660ti both with two monitors connected and nor one gave problems ever.
 and of course i use 346 drivers too


Upgrade from 14.04 LTS to 20.04 LTS (Focal Fossa)

Ubuntu has made many changes from Trusty Tahr (14.04) to Focal Fossa (20.04).

So, I would suggest backing up all your data (you can use deja dup) and then installing focal using installation media created from the ISO image found on Ubuntu's website


Btrfs mount options are parsed by the btrfs kernel module.
You should upgrade your kernel, because Btrfs isn't well supported on older kernels.
Fortunately 12.04 has backports of critical 13.10 packages: LTSEnablementStack

sudo apt-get install --install-recommends {linux-generic,xserver-xorg,libgl1-mesa-glx}-lts-saucy

This should upgrade the kernel from 3.2 to 3.11.

Btrfs in-place conversion produces a fragmented filesystem and doesn't let you select some important features. If you have the opportunity to rsync your data onto a new btrfs filesystem, use this:

mkfs.btrfs --nodesize 16k --leafsize 16k --features skinny-metadata /dev/YourDevice


Ubuntu 20.04.2 LTS: Download Speed very slow, Upload speed fairly good

Check your WiFi MTU, using
ip link

also notice your WiFi interface's name.
The MTU (Maximum Transmission Unit) is the size of the largest packet that can be sent in a single network transmission. If a packet exceeds the  MTU of a link, the data must be split into multiple packets (fragmented). These multiple packets must be sent over the link, received, acknowledged, and reassembled at the far end. If your link is misconfigured, and you have to fragment every packet you send, your actual data transfer rate drops.
Ethernet (wired)  networks use an MTU of 1500 bytes.
Due to additional per packet overhead for WiFi (8 bytes PPPoE header), WiFi uses an MTU of 1492.
Your MTU should be set by your DHCP server, check your router's config.
You can set your own MTU (setting does not persist over restarts) with
sudo ip link set dev name mtu 1492

where "name" is the interface name from above.
Here's an example:
walt@squid:~(0)$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp63s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:24:21:7f:e5:1c brd ff:ff:ff:ff:ff:ff
3: wlxf46d04b1790f: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
    link/ether f4:6d:04:b1:79:0f brd ff:ff:ff:ff:ff:ff
walt@squid:~(0)$   sudo ip link set dev wlxf46d04b1790f mtu 1492
[sudo] password for walt:
walt@squid:~(0)$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp63s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:24:21:7f:e5:1c brd ff:ff:ff:ff:ff:ff
3: wlxf46d04b1790f: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1492 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether f4:6d:04:b1:79:0f brd ff:ff:ff:ff:ff:ff

My WiFi "interface name" is "wlxf46d04b1790f".


The /usr/share/applications consist of .desktop files which are owned by root.

Eg :- For gedit, the default text editor.

Here, the Icon field shows the name of the .png or .svg file present in /usr/share/icons

Therefore, to change the application icon, you can either edit the .desktop file in /usr/share/applications to point to a new image by specifying its path or replace the .png or .svg file in /usr/share/icons with the icon image you wish to see.

Once you have done either of the above steps, refresh the icon cache using the command

gtk-update-icon-cache /usr/share/icons/<name of icon theme>

Alternatively, it is easier to use Main Menu or alacarte -

Install Main Menu (package name is alacarte) alacarte
Open Main Menu (alacarte)
Click on a program and select Properties in the right menu.
Click on the icon
Browse for your new icon and click Open
Close your programs properties
Close Main Menu

You do not need to reboot to see the changes.


I went to Edit->Settings and set the Logging level in the box Logging to Error, hit OK and then Apply which caused the continuous logging to stop!


Ubuntu 14.04: Using Bluetooth Dongle, not detecting any device

Not all dongles are supported. Try this in terminal:

sudo apt-get install bluez-utils
sudo /etc/init.d/bluez-utils restart
lsusb

if it is recognized and appropriate it should show up here, you can paste the output in reply if confused.


It seems there is no default on-screen keyboard available in Kubuntu. I had the very same issue in Kubuntu 17.04. I tried to install different virtual keyboards but none of them is better than Onboard (Onboard on-screen keyboard).
You can try to install it from Discover app or simply just by typingsudo apt install onboard in konsole terminal emulator.
If you are intrested to search for other virtual keyboards you can find them in Ubuntu Software or Discover app by searching for onscreen keyboard or virtual keyboard or just type in terminal:

apt search virtual keyboard

or

apt search onscreen keyboard


configure two LAN cards on a local server and access a locally hosted web app on LAN and on internet

The eth0 need to be configured as follows

netsh interface ip set address name=192.168.0.11 source=192.168.0.1

and assign the eth1 as follows

netsh interface ip set address name=”StaticIP” source=dhcp

Now restart the network

service networking restart

Your local application will be available to the local network and it can be tested as follows

curl 192.168.0.11/application-path

Cheers and all the best


Unable to install packages, error by software management

There is a conflict between gdebi and some other package management program - Software Center for GNOME, Ubuntu Software Center, Software Updater, Synaptic, apt, aptitude, etc. There can be only one software management program installing/updating software at the same time. To remove the conflict, close the terminal and close all other software management tools, except for the single one that you are currently trying to use.


My ex changed my authorization password. I am not at all tech savvy by any means and have no idea what to do

Sure, and I'm sorry to hear about your Ex. I actually have the same laptop-It used to run Windows Vista (Worst. Operating System. EVER!) and I had a similar Issue. First, boot up in Recovery Mode. If you have a single-boot (Ubuntu is the only operating system on your computer), to get the boot menu to show, you have to hold down the Shift key during bootup.

If you have a dual-boot (Ubuntu is installed next to Windows, another Linux operating system, or Mac OS X; and you choose at boot time which operating system to boot into), the boot menu should appear without the need to hold down the Shift key. Now, select Recovery Mode. After you select recovery mode and wait for all the boot-up processes to finish, you'll be presented with a few options. In this case, you want the Drop to root shell prompt option so press the Down arrow to get to that option, and then press Enter to select it.

The root account is the ultimate administrator and can do anything to the Ubuntu installation (including erase it), so please be careful with what commands you enter in the root terminal.

In recent versions of Ubuntu, the filesystem is mounted as read-only, so you need to enter the follow command to get it to remount as read-write, which will allow you to make changes:

mount -o rw,remount /
To reset the password, type

passwd username
where username is the username you want to reset. In this case, I want to reset Susan's password, so I type
passwd susan
You'll then be prompted for a new password. When you type the password you will get no visual response acknowledging your typing. Your password is still being accepted. Just type the password and hit Enter when you're done. You'll be prompted to retype the password. Do so and hit Enter again.

Now the password should be reset. Type

exit
to return to the recovery menu.
After you get back to the recovery menu, select resume normal boot, and use Ubuntu as you normally would—only this time, you actually know the password!
Source: http://psychocats.net/ubuntu/resetpassword

Good Luck!


Problems With NVIDIA binary 389.40 and Nouveau driver on 17.10

So basically i got it run under Linux Deepin 15.5 and Debian Stretch XFCE4, so there would be no need for to it under Ubuntu 17.10, but it should only be a new xorg.conf file, at least with that i got it run under debian and deepin.


Full screen Chromium but no remote desktop

X2go should help with that.

I have added some answer for basic remote desktop, but you can try it just for an application (it has that support)

Please check my answer here:

Remote desktop for multiple users

X2go and ssh Works with better support and features for linux remote desktop. (Like, file sharing, clipboard sharing, sound over net, web client, etc).


Can't get scanner function working on Epson ET-4550

This works on Fedora...

Make sure that your printer is connected to your network, then

cd /etc/imagescan/
sudo -H gedit imagescan.conf

(use your favourite text editor)

change the following line...

;myscanner.udi    = networkscan:esci://192.168.xxx.xxx:1865

to...

myscanner.udi    = networkscan:esci://192.168.PRINTER'S.IP:1865

(remove semi-colon and enter your printer's IP address: 1865 is the default port)


How to run Scilab 5.5.2 on Ubuntu 16.04 LTS with all updates installed?

Update 2020-04-29:
the fix below is no longer needed, we can use Java and Scilab from latest updates.

I have reported bug 1863726 to Launchpad about this crash first.

Then I installed Ubuntu 16.04.0 LTS and did not installed any updates in it. Scilab runs normally on a such system.

So I decided to freeze/pin/lock OpenJDK package to the previous 232 version from launchpad.

Warning: do not run commands below if you really concerned about security.

cd ~/Downloads
wget https://launchpadlibrarian.net/446930389/openjdk-8-jre_8u232-b09-0ubuntu1~16.04.1_amd64.deb
wget https://launchpadlibrarian.net/446930388/openjdk-8-jre-headless_8u232-b09-0ubuntu1~16.04.1_amd64.deb

sudo apt-get install ./openjdk-8-jre_8u232-b09-0ubuntu1~16.04.1_amd64.deb ./openjdk-8-jre-headless_8u232-b09-0ubuntu1~16.04.1_amd64.deb

cat <<EOF | sudo tee /etc/apt/preferences.d/pin-java-scilab
Package: openjdk-8-jre:amd64
Pin: version 8u232-b09-0ubuntu1~16.04.1
Pin-Priority: 1337

Package: openjdk-8-jre-headless:amd64
Pin: version 8u232-b09-0ubuntu1~16.04.1
Pin-Priority: 1337
EOF

And now I can run Scilab 5.5.2 as before.


Need to set up for music production and audio recording

The top programs for audio are:

Audacity
Ardour
QTractor
Jokosher


Most Unix/Linux operating systems know 3 different meta informations for a file or a folder: atime, mtime and ctime.

atime: access time: means when the file/folder was last accessed.
mtime: modify time: defines when the content of the file was last changed. Will be set when the file was created and evertime when the content changes. For a folder, mtime changes when a file is created or deleted inside of it.
ctime: change time (not create time!): Changes when the content of the file changes (like mtime) and also when metadata changes. That means when the owner or the permissions change.


How can I add android emulator as favourites in launcher bar ubuntu 19.04?

Can't comment because I don't have enough reputation. Is the Android Emulator only the app that you can't add to favorites?

You can try one of these:

Restart your laptop.
Click "All Applications" and drag an app to the toolbar.

Or there could be a bug that doesn't let you favorite a specific app. Check out this link:
https://bugzilla.gnome.org/show_bug.cgi?id=738672#c1


How to remount dev/sdb1 on external HDD?

Create a mount point:

sudo mkdir /media/your_mount_point

Mount your partition:

sudo mount -t ntfs /dev/sdb1 /media/your_mount_point

Copy your files to /media/your_mount_point

edit

Mount your external disque on fstab:

sudo cp /etc/fstab /etc/fstab.orig

edit the /etc/fstab file.

UUID=put_the_uuid_here  /media/your_mount_point  ntfs-3g  defaults,windows_names,locale=en_US.utf8  0 0

Change the locale=en_US.utf8 with yours.

Run sudo blkid to get the uuid

To fix the master boot record , install mbr and syslinux:

sudo apt-get install mbr syslinux

Run :

sudo install-mbr /dev/sdb

or

dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdb


Different DPI for different screens stopped to work on Ubuntu 18/04

Looks like the reason was that Ubuntu 18.04 switched back to Xorg as a default and 17.10 had Wayland as default display server. It appears that Xorg doesn't support different DPIs for different screens and Wayland does.

So the solution is: use Wayland - you can choose it on login screen.

Ubuntu 18.04 LTS silently overrides your choice to Xorg. Even though Wayland works better in most cases.


Network routing and port forwarding problem

I believe what you are trying to accomplish is have PC1, which is running Ubuntu, provide DNAT (Destination address and port change) for IP traffic from clients on network B to some specific servers on network A, and you wish to map the services from these servers to specific ports on the network B IP address of PC1.   You don't however want to do generic NAT routing between network A to B or vis versa, and no traffic for the internet needs to pass between A and B.
This is basically called "Port Forwarding" or DNAT, which is one of the functions provided by a generic home NAT router that would sit between your ISP (single public IP address) and your private local network.  But your application doesn't want the other typical feature of a home NAT router like DHCP server or upstream NAT to the internet.
You are on the right track to use iptables firewall rules and enable packet forwarding.  Directly configuring iptables is complex to understand, but your need is fairly simple.  Unfortunately, I don't have a DNAT recipe for iptables for your application, but I'd look for details on the following.  First you need a rule to perform the DNAT mapping from PC1 Network B:portX to Server on Network A:portY for each service you are trying to forward and it must include the ports number being used on both sides, and second rule is needed for the reverse direction traffic back from Network A servers that relies on state from the first rule (I believe these are two separate rules in iptables). Your example DNAT rule needs to be modified so that the DNAT destination is the Server IP address on network A, not the PC1 network A IP address.  Finally you need rules to override any default DROP rules that would normally prevent traffic from B to reach A, but only for traffic headed for your specific services you want open to network B and sourced locally on network B.
Rather than writing iptables rules directly, I have had good luck with firewall rule generation programs like Firewall Builder (graphical input) and FireHOL (text-based input), which can help you build and maintain very complicated Firewall and NAT routing rules.
I hope this helps you find a solution.


How to make a HTML file on Apache webserver accessible from other devices and locations via a web browser

Place the file like this /var/www/html/index.html. Then go to /etc/apache2/sites-available, here create a file index.conf and add the following

<VirtualHost *:80>
        ServerName test.com
        ServerAdmin info@test.com
        ServerAlias www.test.com
        DocumentRoot /var/www/html

        <Directory /var/www/html>
                Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

As I did forgot and E. Yagmahan mentioned save your file and run this command:

sudo a2ensite index.conf

This command will enable your configuration file.

After all that run this:

sudo systemctl restart apache2


You can workaround this.

Open your browser and type this:

about:config

Right-click on Name title, choose New Preference > Boolean

Create a new entry with this label:

plugin.load_flash_only

set it false and restart your browser.

In fact, this solution doesn't depends on which kind of java is installed and operating in this system. In this case, Openjdk plugin didn't work with Firefox ESR, but Oracle Java, installed as followed from Digital Ocean tutorial.
Although they told that it's deprecated (because it applies to Ubuntu 12.04), the procedures are the same: you can use it in ubuntu 17.10, just downloading jdk 8u161. I consider this as the best practice for Firefox, because OpenJDK will not install libnpjp2.so, essential to activate Java in Firefox ESR.

To activate  this plugin at Firefox ESR, you must create a symlink to the folder where is installed your Oracle Java:

mkdir </Firefox ESR installed path>/firefox/browser/plugins
cd </Firefox ESR installed path>/firefox/browser/plugins
ln -s </Oracle Java installed path>/jre/lib/amd64/libnpjp2.so

There may be other ways to activate Java plugin in Firefox ESR, but this way really works. I downloaded Firefox 52 ESR right now and activated Java at there!


Problems with remapping Shift with Up keys

I forgot to add this line:
xmodmap -e "remove shift = Up"

So it should look like this:
xmodmap -e "keycode 62 = Up"        # => Up
xmodmap -e "keycode 111 = Shift_R"  # => Shift
xmodmap -e "add shift = Shift_R"    # Make the new Shift key actually shift
xmodmap -e "remove shift = Up"      # Prevent the old Shift key from shifting
xset r 62                           # repeat Up key
xset -r 111                         # don't repeat new Shift key

I've got this solution from this Ask Ubuntu answer. I saved these lines as a .sh file and added it to my startup applications using KDE startup manager so I don't have to run these commands in the terminal after each restart. There is also an alternative, more universal way to make those changes permanent, described in the topic I've linked above.


The process list of the system monitor is not very detailed on my opinion. You should better use the command

top

in a terminal to monitor your ressources - system monitor consumes much CPU power with default settings.

Strange, however, is, that your ubuntu uses the swap memory in this situation... on my computer it fills the memory until there is nearly no space left and then uses the swap memory. However, it is long ago that that happened as I have 16 GB memory installed. So if the numbers in top are similar (much free RAM, but using swap), first try to disable swap (comment it out in /etc/fstab), hopefully performance increases then. With 4 GB system memory ubuntu should work without swap for standard applications. But Suspend to disk wont work without swap partition.


Cannot install Ubuntu 12 on Windows 8 machine with UEFI

If the Ubuntu installer is detecting your disk but claiming it has no partitions, then that likely means one of two things:

Your partition table is damaged (or at least, the libparted library doesn't like your partition table). This is essentially a bug in libparted.
The disk is configured as part of a motherboard-based software RAID (aka "fake RAID") array, but you're not using it as such in Linux.

The first issue seems to be more common, based on reports I've seen. A very common cause is that a GPT disk is repartitioned in Windows to use MBR instead. The result is a legal MBR disk, but with leftover remnants of GPT data. The problem is that libparted detects the leftover GPT data and becomes confused. This situation is becoming common because people re-install Windows 8 or install Windows 7 over Windows 8, often switching from EFI-mode booting to BIOS-mode booting in the process. Because Windows ties partition table type to boot mode (BIOS/MBR, EFI/GPT), this results in a change in the partition table, too. If this is the cause of your problem, it can be fixed by running FixParts on the disk. The same program can fix some other common problems, too, but I can't guarantee that it will fix your problem. See this page of mine for more on this issue.


initclt not seeing init script in Ubuntu 12 64bit

initctl is part of Uubuntu's upstart mechanism. initctl list only shows you the status of upstart-jobs. Your script is indeed is a SysV init script.

To list the status of SysV init script use this command:

service --status-all

Your service should be listed there.

To create links in the /etc/rcN folders use the following command:

update-rc.d your_init_script defaults

From the manpage of update-rc.d:

  If defaults is used then update-rc.d will make links to start the
  service in runlevels 2345 and to  stop  the service in runlevels 016.


Cannot install open-coarrays-bin for gfortran on ubuntu 20.04

Normal native method of installation is possible by using different package names:
sudo apt-get install libcaf-openmpi-3 libcaf-mpich-3

The mentioned open-coarrays-bin package is available only for Ubuntu 18.04 LTS, so you can download and install it manually:
cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/universe/h/hwloc/libhwloc5_1.11.9-1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/o/openmpi/libopenmpi2_2.1.1-8_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/o/open-coarrays/libcaf-mpi2_2.0.0~rc1-2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/o/open-coarrays/open-coarrays-bin_2.0.0~rc1-2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/o/open-coarrays/libcoarrays-dev_2.0.0~rc1-2_amd64.deb

sudo apt-get install ./libhwloc5_1.11.9-1_amd64.deb ./libopenmpi2_2.1.1-8_amd64.deb ./libcaf-mpi2_2.0.0~rc1-2_amd64.deb ./open-coarrays-bin_2.0.0~rc1-2_amd64.deb ./libcoarrays-dev_2.0.0~rc1-2_amd64.deb

and then use it as it was planned.


Automatic brightness / adaptive dimming basically making Ubuntu unusable - Asus UX303L

Had the same issue. You can just disable the automatic brightness setting. It is under "settings->power"

Hope that works!


After changing network properties, ubuntu doesn't finish booting

I believe that your interfaces file is malformed. Please amend it to:

#Interfaces(5) file used by ifup(8) and ifdown(8)

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.135
dns nameserver 192.168.1.135 4.4.4.4

Then get the system to re-read and use the changes:

sudo ifdown eth0 && sudo ifup -v eth0

Does it connect?

ping -c3 www.google.com


Gnome-Shell behavior in Ubuntu 14.04 is off after installing and then removing Pantheon

The Application list for Gnomes Overlay is the same as for it's menu You can find the shortcuts in /usr/share/applications/

Just copy one file. Python3.3 for example and fit it to your needs. Save it with a new name and sudo rights and your application will be back.


How to setup and connect Teletalk 3g modem in ubuntu 14.04?

Look at the context of the file and find a line that says Exec=Teletalk_3G and change it to Exec=gksudo "Teletalk_3G"

Now you can find this Teletalk_3G entry in the menu->Internet->Teletalk 3G. Run from there and connect to internet.

N.B: It will ask for root password every time you run it.

Installing in Ubuntu 64 bit:

You first need to install ia32-libs in ubuntu. If you are running Ubuntu 14.04 LTS then you won't find this in the repo. For that case run these codes:

sudo -i
apt-get install gksu
dpkg --add-architecture i386
cd /etc/apt/sources.list.d
echo "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
apt-get update
apt-get install ia32-libs
rm ia32-libs-raring.list

Now you can follow the instructions for installing in Linux Mint (#1) from above


Recovering GRUB after installing Windows 7?

You can re-install grub in the Master Boot Record using the LiveCD for you distribution version,

It goes like this:

Boot from LiveCD ⋯ please try to use a LiveCD that has the same version of Grub2 as the installed version
Mount the root of the installed Ubuntu at /mnt
Change root
Update grub
Install grub
Reboot

The above steps are from near the bottom of the Ubuntu Community Documentation of Grub2

After booting from the liveCD ( select "Try Ubuntu" on the opening screen)

Then start up a terminal (dash, type-in terminal, … )…

It may be easier to open this web page while running LiveCD.  Firefox should allow you  to do this.

Type in the terminal sudo fdisk -l - and enter your password if asked.  That's a lower case L. Find the installed Ubuntu partitions, (from mine with other disks snipped ― here):

me@mycomputer:~$sudo fdisk -l
...
Disk /dev/sde: 300.1 GB, 300089646592 bytes
255 heads, 63 sectors/track, 36483 cylinders, total 586112591 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3f5ebeb

Device    Boot      Start         End      Blocks   Id  System
/dev/sde2       138464296   586110975   223823340    5  Extended
/dev/sde3   *        2048   138463231    69230592   83  Linux
/dev/sde5       138464298   313460279    87497991    7  HPFS/NTFS/exFAT
/dev/sde6       313460736   317650943     2095104   82  Linux swap / Solaris
/dev/sde7       317652992   581922815   132134912   83  Linux
/dev/sde8       581924864   586110975     2093056   82  Linux swap / Solaris

Partition table entries are not in disk order

Find your Linux installation (Id=83, System=Linux0 then type in

sudo mount /dev/sde3 /mnt

but use your partition instead of /dev/sde3(my root partition is sde3, sde7 is my home partition).

This is assuming that you do not have a separate /boot partition.  If you do, you will need to also mount it by typing

sudo mount /dev/sd·· /mnt/boot

where sd·· is the partition where you installed the separate boot directory.

ls /mnt - just checking to see if I got it right:

me@mycomputer:~$ sudo mount /dev/sde3 /mnt
me@mycomputer:~$ ls /mnt
bin   cdrom  etc   initrd.img      lib         media  opt   root  sbin     srv  tmp  var      vmlinuz.old
boot  dev    home  initrd.img.old  lost+found  mnt    proc  run   selinux  sys  usr  vmlinuz

You should test to see if the boot directory is properly installed.  Type in ls /mnt/boot and if it is empty, the boot directory is not installed.  It should look something like this:

me@mycomputer:~$ ls /boot
abi-2.6.35-30-generic     initrd.img-2.6.35-30-generic  System.map-2.6.35-31-generic
abi-2.6.35-31-generic     initrd.img-2.6.35-31-generic  vmcoreinfo-2.6.35-30-generic
config-2.6.35-30-generic  memtest86+.bin                vmcoreinfo-2.6.35-31-generic
config-2.6.35-31-generic  memtest86+_multiboot.bin      vmlinuz-2.6.35-30-generic
grub                      System.map-2.6.35-30-generic  vmlinuz-2.6.35-31-generic

Then:

for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt #change the root
sudo update-grub # now update grub

Example:

me@mycomputer:~$ sudo for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
me@mycomputer:~$ sudo chroot /mnt
me@mycomputer:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.0.0-13-generic
Found initrd image: /boot/initrd.img-3.0.0-13-generic
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found initrd image: /boot/initrd.img-3.0.0-12-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sdc1
done

Now to re-install grub in the MBR.  You will need to know which disk your system boots from, and find it in the fdisk -l listing you have already done.  Then type in sudo grub-install /dev/sd replacing sd· with the disk you will boot from.

me@mycomputer:~$ sudo grub-install /dev/sd·

Then type in Crtl-D to exit chroot.

Then type in sudo for i in /sys /proc /dev/pts /dev; do sudo umount /mnt$i; done - as one line

me@mycomputer:~$ sudo for i in /sys /proc /dev/pts /dev; do sudo umount /mnt$i; done

If you mounted a separate /boot partition, type in sudo umount /mnt/boot

me@mycomputer:~$ sudo umount /mnt/boot

Then type in sudo umount /mnt

me@mycomputer:~$ sudo umount /mnt

Then type in sudo reboot to restart he system (remember to remove the LiveCD).

me@mycomputer:~$ sudo reboot

Hopefully, grub will be installed.


So, in the example you've supplied, the bug is filed against the kernel package for the Ubuntu operating system. You can tell this by looking at the package listed under the 'Affects' block. In this case, it is linux(ubuntu) so it is distro specific.

Depending on how it is filed, a bug may not get the attention it needs. If it was filed against the 'Linux' project, then it is important to note that this is used as an upstream bug tracker for bugs against related distributions.

If this bug was something that you wanted to be addressed by upstream Linux maintainers, then really the only thing you can do is file it on bugzilla.kernel.org. The site being the bugtracker that Linus and the maintainers use to address kernel issues.

In this case, the Kernel Defect Analyst(me :-) ) would triage your bug and bring it to the attention of the Kernel Release Manager. S/He would then determine whether it needed an Engineer's involvement (this is somewhat ambiguous as the KRM is an Engineer in his/her own right so it may be worked by them as well). At that time it will be acted upon.

It is important to note that not all bugs get actively worked. In the vast majority of cases bugs are left alone if there is work ongoing upstream. If you are aware of the bug upstream, then filing a bug against Ubuntu in launchpad is an important way for us to track the issues as they progress in the upstream kernel. This would be accomplished by adding that upstream watch I mentioned earlier.

Hope that helps you a bit. Let me know if you'd like some clarification of any of the above.


First run:
find /usr/include/ -name "stdio.h"

If no files are returned,
run
sudo apt install --reinstall build-essential

That will reinstall any missing files.


How do I set the framebuffer resolution for NVIDIA on 12.04?

So I missed a very obvious nomodeset in my /etc/default/grub file. I changed that to modeset. Now I have a better looking terminal.

Correct framebuffer settings for native FB resolution for my NV 550 Ti.

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modeset video=uvesafb:mode_option=1280x800-24,mtrr=3,scroll=ywrap"


Potentially this might work, using the snapd-control interface. There was a lengthy thread about this recently on the snapcraft forum on a similar topic.

While it may be technically possible, the user loses out here as the Snap B in your example won't have been validated by the usual store checks. It also won't auto-update as the system will see the snap has having been 'side-loaded'.

The Snap B could also contain anything, potentially malicious. As a result, the security team may not allow the use of snapd-control in this instance for Snap A.


Unable to open android studio project created in windows to other OS- Ubuntu 12.04

This might be the problem Gradle cache. So you need to delete .gradle folder from your home directory. To do that follow these steps.

Browse to this path

/home/your_user_name/

By default .gradle directory is hidden. Hit Ctrl + H. Now this will show you all the hidden directories and files.
Delete .gradle directory and restart your Android Studio.
If the above steps don't work you also need to delete .android directory which is in the same path of .gradle. And restart Android Studio.
Or another way is to follow these steps in Android Studio

File -> Invalidate Cache and Restart -> select -> Invalidate and Restart

Source: Android Studio: Unable to start the daemon process


How do I uninstall IPFS completely from Ubuntu 18.04?

The solution to the problem is Downloading and installing Synaptic Package manager from Ubuntu software center.

For removing IPFS GUI

1.Open Synaptics Package Manager

2.In the Sections tab select All and then type ipfs in the package tab. This will automatically search the ipfs-desktop package you installed using the .deb file.

3.Now right click and select Mark for Removal.

4.Apply the operations and wait. Synaptic Package manager will take care of the rest.

To remove IPFS

Just delete the ipfs files in /home/.config
To confirm that ipfs is removed check it by typing ipfs in the Terminal

Remove all the dependencies

In the end remove all the dependencies by

sudo apt-get autoremove

Here are some other ULTIMATE useful links which explains in-depth on how to remove a software not present in Ubuntu Software Application Center but still appearing in Applications Menu

1.In-depth and stepwise illustration to completely remove a package/software installed  (I have personally bookmarked this website as this is the ultimate solution to all your problems of uninstalling packages/software  )

2.Read the accepted answer on how to remove persistent config data from apt

3.How to find configuration files in your system.


Keyboard layout went crazy (in Fossa). How to fix?

You had enabled NumLock wich replaces some keys with NumPad's on your keyboard.
You can disable it by pressing NumLock (along with Fn depending on your configuration)


No that removes the dropbox in your system. Let me explain the code

rm -rf /var/lib/dropbox

rm: linux remove command
-rf: options passed to rm command where r stands for recursive [move into subdirectories], and f means remove without asking.
/var/lib/dropbox: this is the location of the dropbox folder to remove.

To run this command do the following:

Open terminal: Ctrl + Alt + t, or click windows button and type terminal
Type the commands into the terminal that appears:

sudo rm -rf /var/lib/dropbox

The sudo here elevates your ability and makes it possible for you to delete that folder which only members of the sudo group can and these are owned by the root user. sudo is a program that makes it possibel for you to act like the root user without needing to change to root.
To see what you can do as a member of the sudo group run sudo -l and you should see something like this:

  Matching Defaults entries for georgek on georgek-HP-Pavilion-17-Notebook-PC:
  env_reset, mail_badpass, secure_path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin,
  log_host, log_year, logfile=/var/log/sudo.log

  User georgek may run the following commands on georgek-HP-Pavilion-17-Notebook-PC:
  (ALL : ALL) ALL

(ALL : ALL) ALL means I can execute any command as any user or any group from any host

format: user (host)=(user:group) commands.


When you unsuccessfully tried it on your windows pc, did you install the drivers for it? If it didn't work on windows with the official drivers, then you have a hardware problem. Could be:

your usb port or hub is broken
the mic is broken

Doesn't bode well that it doesn't detect the device with a name.


How do I resolve unmet dependencies related to Mesa/Wayland?

Try these commands:

sudo dpkg -i --force-overwrite /var/cache/apt/archives/libwayland-client0_1.2.1-1~r~gd_amd64.deb /var/cache/apt/archives/libwayland-server0_1.2.1-1~r~gd_amd64.deb
sudo apt-get install -f
sudo apt-get dist-upgrade
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libwayland-cursor0_1.2.1-1~r~gd_amd64.deb
sudo apt-get dist-upgrade


Repairing a corrupt mp4 - I'm having issues getting untrunc installed

I created a snap version of untrunc : https://snapcraft.io/michaelp-anthwlock-untrunc
install:
sudo snap install michaelp-anthwlock-untrunc

usage:
michaelp-anthwlock-untrunc.untrunc -s ok.mp4 nok.mp4

The snap is based on https://github.com/anthwlock/untrunc which is more uptodate than the original version of ponchio.