Ubuntu 12.10 overheats and fan runs high

For the error that you mention it is because the URL is wrong, if you try to get there you will get:

You actually want this URL: https://launchpad.net/~webupd8team/+archive/jupiter

So I suggest 2 things:

First try to edit the /etc/apt/sources.list and see if the URL that throws you the error is found there. If it is, change it to the correct one and update your repositories afterwards.
Edit your Software Sources. Simply open the Dash and type Software Sources. That should open the Software Sources window. On the second tab, the one that says Other Software find the PPA for Jupiter and remove that (Both, the source repository and the actual compiled repository for Jupiter).

Then open a terminal, update your repositories again like:

sudo apt-get update.

Then proceed to add the Jupiter PPA shown in https://launchpad.net/~webupd8team/+archive/jupiter
It should look like this when on the terminal:

sudo add-apt-repository ppa:webupd8team/jupiter

Then do sudo apt-get update to update the repositories again.

For the heat problem I would suggest:

Clean the laptop a bit (Just in case there is dust or something clogging the air flow)
Use the laptop in a position that makes sure it has enough space underneath it.
Anything that actually contributes to better air flow.

After you have solved the Jupiter problem (If you can not find it, just re-add the PPA using add-apt-repository it will take care of checking for anything missing. Maybe it had a problem when adding it the first time.

For the cooling part I also recommend using powertop. Install it by:

sudo apt-get install powertop

Then run the app like sudo powertop and go to the last TAB that has a column (The first column actually) that says BAD or GOOD. Go to all the ones that say BAD and start pressing SPACE to improve/fix them so they help in generating less heat and less power usage.

Last I want to point you to this question: How to control fan speed?

It has solved many users problems related to Fan speed: How to control fan speed?

Although again I would recommend checking into why the temperature is so high since the fan speed is higher, the higher the temperature of the CPU/GPU. So first check in Windows or physically the laptop for clean air circulation. Then proceed with the question.

HYBRID PROBLEMS

Since you have a Hybrid Laptop (It means it has 2 video cards, an Intel one and an Ati one) I did some research and found some links that might help or give you an idea of where to go:

http://ubuntuforums.org/showthread.php?p=5275392
(Research about DELL Laptops and Fan problems)

Is Dell Inspiron 15R Special Edition compatible with Ubuntu? (Information about this particular model)

http://ubuntuforums.org/showthread.php?t=842775
(A solution that might work with the Fan issues)

http://ubuntuforums.org/showthread.php?t=2095880
(Question about the same issue)

How do I get AMD/Intel Hybrid Graphics drivers to work?
(Fix for graphic problems. See NOTE1 for some additional information at the bottom.)

Dell Inspiron 15R [Special Edition] fan speed problem
(Link about checking BIOS for an option to remove one of the 2 video cards)

From all of this, the only one that actually went to where I was thinking was one that mentioned installing some Fan controlling  packages (The i8k). I believe this could be a solution since it involves checking the sensors (Which also made me suggest to install lm-sensors). So here is a small guide to try it out:

sudo apt-get install i8kutils
sudo gedit /etc/modules
Add in a new line i8k and save the file. It should look similar to this (Look at last line):

sudo gedit /etc/modprobe.d/options
Add in a new line options i8k force=1 and save the file. It should look like this:

Reboot the computer. Type sudo reboot if you want.
sudo gedit /etc/i8kmon
Paste in the file the following information and save it:

(Copy the data and paste that in the file)

# Run as daemon, override with --daemon option
set config(daemon)      0

# Automatic fan control, override with --auto option
set config(auto)        1

# Report status on stdout, override with --verbose option
set config(verbose) 1

# Status check timeout (seconds), override with --timeout option
set config(timeout) 1

# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
set config(0)   {{-1 0}  -1  55  -1  55}
set config(1)   {{-1 1}  55  70  55  70}
set config(3)   {{-1 2}  70  128  70  128}

# For computer with 2 fans, use a variant of this instead:
# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
# set config(0) {{-1 0}  -1  52  -1  65}
# set config(1) {{-1 1}  41  66  55  75}
# set config(2) {{-1 1}  55  80  65  85}
# set config(3) {{-1 2}  70 128  75 128}

# end of file

Now reboot. Although before doing that, install lmsensors and make it detect every sensor you have:

sudo apt-get install lm-sensors

sudo sensors-detect

Wait for it to finish. Every time it asks for something press ENTER. After it finished asking about the summary it will tell you if you want to automatically create a file to cover all that was checked so it loads every time you boot the laptop, type Yes and press ENTER. Now reboot.

If the module does not load by any chance, simply type: sudo modprobe i8k force=1

If you want to monitor the Sensors, you could install the indicator-sensor which I found with the following PPA (I am pretty sure it was in the repositories in 11.10):

sudo add-apt-repository ppa:alexmurray/indicator-sensors
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install indicator-sensors

Now reboot and run the indicator sensor from Dash (Should appear in the panel).

NOTE1 - If you do the link above related to fixing the video, please download the packages from this link https://launchpad.net/~andrikos/+archive/ppa/+sourcepub/2909374/+listing-archive-extra the cover some fixes for Ati/Intel Hybrids.


How to reset external protocol handler in Chrome?

I found a solution to this on Windows, and it turns out it also works on Ubuntu:

Close Chrome
Open ~/.config/google-chrome/Local State in a text editor.
Search for protocol_handler.
To make Chrome ask you how to handle a specific protocol again, remove the line corresponding to that protocol in the list of excluded schemes.
Save and exit.

Update: protocol_handler has been moved to the file Preferences in the subdirectory Default. If you are using multiple profiles, the file is also located in the folders Profile 2, Profile 3 etc.

Update: protocol_handler no longer seems to exist, this is now handled directly within the Chrome settings, see https://support.google.com/chrome/forum/AAAAP1KN0B0_FSBtFo5g_8 . Currently it is found in Settings -> Privacy and Security -> Site settings -> Handlers


Ubuntu 12.04 had been installed but bootstrapper only loaded Windows 7

Boot using a live cd of ubuntu.
Open a terminal and run the command

sudo fdisk -l

It lists the complete partition table of the hard disk. In there, identify which partition you have got your linux installed on. You can identify it using the drive size you had allocated for it and looking at the last column of the output which will be ‘extended’ for all of your linux partitions. The partition will most probably be something like /dev/sda5 or something. Remember this partition.

Create a temporary folder in your home directory (Note: You can make the temporary folder anywhere you want. I’m using the home folder just for the sake of explanation). I’m calling it ‘temp’ for now. So that ‘temp’ folder’s path will be /home/ubuntu/temp.
Mount your linux partition there. That is, assuming that you found your linux partition to be /dev/sda5, you mount that at the ‘temp’ folder by doing the following command

sudo mount /dev/sda5 /home/ubuntu/temp

If you want to check whether you have mounted the correct partition, go to your home folder and open temp. You will be in the ‘/’ directory. In there you will find ‘home’, in which your home folder’s name will be there. Once you’ve confirmed you have mounted the correct partition, do step 6.
You have to install grub by showing the system where to read the data from the hard disk at the beginning. Don’t worry, just run the following command

sudo grub-install --root-directory=/home/ubuntu/temp /dev/sda

The ‘/dev/sda’ corresponds to your hard disk name. Replace it by whatever the command ‘sudo fdisk -l’ command showed you.

You’re done. You may restart your system.


WARNING! "could be upper case or lower case" is incorrect. Unix/Linux is case sensitive, which means that SUDO_ASKPASS and sudo_askpass are different.
WARNING! "set in an environment variable or done in sudoers" is incorrect. You can set the environment variable SUDO_ASKPASS or modify /etc/sudo.conf.

From man sudo:

 -A, --askpass
             Normally, if sudo requires a password, it will read it from the user's terminal.
             If the -A (askpass) option is specified, a (possibly graphical) helper program
             is executed to read the user's password and output the password to the standard
             output.  If the SUDO_ASKPASS environment variable is set, it specifies the path
             to the helper program.  Otherwise, if sudo.conf(5) contains a line specifying
             the askpass program, that value will be used.  For example:

                 # Path to askpass helper program
                 Path askpass /usr/X11R6/bin/ssh-askpass

             If no askpass program is available, sudo will exit with an error.

Also, from man sudo.conf,

 The following plugin-agnostic paths may be set in the /etc/sudo.conf file:

 askpass   The fully qualified path to a helper program used to read the user's password when
           no terminal is available.  This may be the case when sudo is executed from a
           graphical (as opposed to text-based) application.  The program specified by
           askpass should display the argument passed to it as the prompt and write the
           user's password to the standard output.  The value of askpass may be overridden by
           the SUDO_ASKPASS environment variable.

So, you could add the following line to your ~/.bashrc:

export SUDO_ASKPASS=/usr/X11R6/bin/ssh-askpass

You could try it for one command,

SUDO_ASKPASS=/usr/X11R6/bin/ssh-askpass sudo -A id

OR, you could uncomment (remove the initial "#") on the appropriate line of sudo.conf (see /usr/share/doc/sudo/examples/sudo.conf)

#
# Sudo askpass:
#
# An askpass helper program may be specified to provide a graphical
# password prompt for "sudo -A" support.  Sudo does not ship with its
# own askpass program but can use the OpenSSH askpass.
#
# Use the OpenSSH askpass
#Path askpass /usr/X11R6/bin/ssh-askpass
#
# Use the Gnome OpenSSH askpass
#Path askpass /usr/libexec/openssh/gnome-ssh-askpass

#
# Sudo askpass:
#
# An askpass helper program may be specified to provide a graphical
# password prompt for "sudo -A" support.  Sudo does not ship with its
# own askpass program but can use the OpenSSH askpass.
#
# Use the OpenSSH askpass
#Path askpass /usr/X11R6/bin/ssh-askpass
#
# Use the Gnome OpenSSH askpass
#Path askpass /usr/libexec/openssh/gnome-ssh-askpass


Try chmod

Your www-data group does not have write permissions on the folder, only user www-data does. Run:

chmod g+w folder

If you have subfolders and files within the folder, run:

chmod -R g+w folder


Performing actions on my desktop causes it to crash

This turned out to be an issue with the Active-window plasmoid, once I got rid of that everything else started working normally.


open dash and choose desktop shortcut

Then go to shortcut tab and there press at +(add) sign to add a new shortcut

On the name write anything and for command write /bin/false which means do nothing in really then assign Ctrl+Q as its shortcut.

This actually make Ctrl+Q execute command /bin/false which means nothing


If you are certainly using the nvidia proprietary driver then it's probably a problem with the PPA package and you should report the problem to Guido Iodice:

https://launchpad.net/~guido-iodice


As you install Ubuntu, watch where you are installing grub.

Install grub into the same partition you installed ubuntu. This will NOT install grub into the MBR.

The exact location varies with the version of Ubuntu you are installing, here are screenshots for 12.04

See also https://help.ubuntu.com/community/GraphicalInstall

From there you will then need to configure the windows boot loader to boot Ubuntu. This may be more or less difficult then using grub, depending on how well you know windows.

There is a tutorial here - http://www.ubuntugeek.com/use-the-windows-bootloader-to-dual-boot-windows-vista-and-ubuntu.html


How to properly install IPython on Ubuntu 15.10?

Installing ipython notebook with:

sudo apt-get install ipython ipython-notebook

will automatically install python-tornado system-wide (it's a mandatory dependency, see http://packages.ubuntu.com/wily/ipython-notebook)

You have the singledispatch import issue because you also installed manually a tornado version in /usr/local/lib/python2.7/dist-packages/tornado.

Try to remove the culprit version with:

sudo rm -rf /usr/local/lib/python2.7/dist-packages/tornado


How to rename with keyword / specific text in terminal?

Try glob expansion
mv *youtube* video.mp4


Can't connect to local network using static IP - Ubuntu Server 16.04

Both are in the same subnet 10.0.0.0/24, AFAIK, this is will not work.

Change the second one to another subnet/network, example:

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto enp5s0f0
iface enp5s0f0 inet static
    address 10.0.0.241
    netmask 255.255.255.0
    gateway 10.0.0.205
    dns-nameservers 10.0.0.205

auto enp5s0f1
iface enp5s0f1 inet static
    address 10.0.1.241
    netmask 255.255.255.0

This question multiple physical interfaces with IPs on the same subnet has nice answer why this happening.


where does 'apt-cache depends' collect the dependency information from?

apt-cache data comes from lists within:

/var/lib/apt/lists

e.g:

grep -i "Package: wget$" -A10 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_zesty_main_binary-amd64_Packages

However as you know, the deb package's meta-data, contains a list of dependencies too.

So if you want to see what a deb file thinks of its own dependecies run:

dpkg -I package-name.deb | grep -i depends


What are the names of default indicators (and of packages they belong to) in Ubuntu 11.10?

From left to right

Tomboy
Keyboard layout (gnome-settings-daemon)
MessagingMenu (indicator-messages)
Power (indicator-power)
Bluetooth (gnome-bluetooth)
Network manager network-manager-gnome
Sound menu (indicator-sound)
Time and Date (indicator-datetime)
MeMenu (indicator-session)
Session menu (indicator-session)


Try editing the file using gksudo gedit /etc/default/grub.

In your file, change the line

GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT=0

to

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0

That is, there should be only one option in every line. Also, in the line that're commented out, inserting a space after a # where it isn't would be a good idea.


Is "mount --bind dir1 dir2" an alternative for hard links for directories?

Yes, with mount --bind you can make the same content (especially directories) appear in the file system twice.

For a very comprehensive article about this please see What is a bind mount?  on unix.stackexchange.com

Most important points:

Bind mounts are "just" an alternate way of viewing the contents of the file system.
They may cross filesystem boundaries and span chroot jails.
You can use them for directories (for instance to prepare a chroot by providing access to the /proc, /sys and /dev file systems (see mount dev, proc, sys in a chroot environment?  on superuser.com)
Quoted from Gilles' answer I mentioned above:

  Unlike a hard link or symbolic link, a bind mount doesn't affect what is stored on the filesystem. It's a property of the live system.


How to install libmeanwhile1 version 1.0.2-4.1ubuntu1 from Ubuntu Utopic while running Ubuntu Vivid?

Download the Utopic package, install and set on hold

wget http://mirrors.kernel.org/ubuntu/pool/main/m/meanwhile/libmeanwhile1_1.0.2-4.1ubuntu1_i386.deb
sudo dpkg -i libmeanwhile1_1.0.2-4.1ubuntu1_i386.deb
sudo apt-mark hold libmeanwhile1

Check it

% sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libmeanwhile1
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

To reverse the behaviour

sudo apt-mark unhold libmeanwhile1
sudo apt-get dist-upgrade

Note, there are some packages which depends on libmeanwhile1

% apt-cache rdepends libmeanwhile1
libmeanwhile1
Reverse Depends:
  kopete
  libpurple0
  libmeanwhile-dev


How can i uninstall QtCreator 2.6.1 from 12.04?

Run the QtCreator Maintenance program. If you accepted the default paths in the 2.6.1 installer, it's at /opt/Qt5.0.0/MaintenanceTool . The default option is Remove All Components.


It looks like @muru hit the nail directly on the head from his first comment - it was just difficult for me to understand how this was happening because of hard links.
du is smart enough to only count hard-linked files once - so in my first example, if it found the files in subfolder34 anywhere else, it wouldn't count them again towards the folder size.
In the second command, since I am only looking at subfolder2, it does not see the other hard links - so it counts the size of the files.
If I run du with -l (telling it explicitly to count hardlinks multiple times), I get the expected results:
#cd /storage/main_folder

#du -h --max-depth=2 subfolder1 | grep subfolder2

1.8G    subfolder1/subfolder2/subfolder31
5.3G    subfolder1/subfolder2/subfolder32
352M    subfolder1/subfolder2/subfolder33
76K     subfolder1/subfolder2/subfolder34
1.8G    subfolder1/subfolder2/subfolder35
4.0M    subfolder1/subfolder2/subfolder36
301M    subfolder1/subfolder2/subfolder37
9.4G    subfolder1/subfolder2

#du -h --max-depth=2 -l subfolder1 | grep subfolder2

1.8G    subfolder1/subfolder2/subfolder31
5.3G    subfolder1/subfolder2/subfolder32
352M    subfolder1/subfolder2/subfolder33
96G     subfolder1/subfolder2/subfolder34
1.8G    subfolder1/subfolder2/subfolder35
4.0M    subfolder1/subfolder2/subfolder36
301M    subfolder1/subfolder2/subfolder37
106G    subfolder1/subfolder2

Thank you, @muru, for the comments, and for your patience with my many questions! :)  And if you would post your comment as an answer, I will gladly accept it.


Ubuntu 20.04 LTS (Focal Fossa) Ubuntu base software update didn't complete

Software updates on Ubuntu work such way that the first half of the progress bar is just for downloading.
The second half is the actual writing to disk and configuring.
I will assume (based on personal experience) that if the network connection got interrupted during the download phase, it never got into the installation phase. There were no changes to the disk, and no bad consequences.
You are free to attempt the update again, by summoning the Updater app. If it still says everything is up to date, give it a reboot and try the Updater once more.
Bonus:
When you see the updater progress-bar, there should be some small widget around the bottom, or corner of that small window: it should say something like "See details" If you click that, you will see exactly what is happening when.


Ubuntu's own instructions specify how to upgrade from 17.10 on a desktop system:

Press Alt+F2 and type  update-manager -c   into the command box.

Update Manager should open up and tell you that Ubuntu 18.04 LTS is now available.
If not you can run  /usr/lib/ubuntu-release-upgrader/check-new-release-gtk

Click Upgrade and follow the on-screen instructions.


CPU frequency limited when AC adapter is on, but no limit with battery

Yeah, no one cares my problem, that's a tremendous pity.

However, luckily, I lave found a solution to deal with it!

What limits the CPU's maximum frequency? BIOS!

The file /sys/devices/system/cpu/cpu*/cpufreq/bios_limit tells the limitation value of BIOS.

On condition that performance governor is activated, when I use battery only, the value of bios_limit is 2400000, the maximum of the hardware. However, when I connect AC adapter, this value will soon lower to 1600000.

By default, Linux's governor follows bios_limit, so the problem occurs. But we can let Linux to ignore it, and don't let the maximum frequency stucks. Just set ignore_ppc to 1.

echo 1 | sudo tee /sys/module/processor/parameters/ignore_ppc

And modify /etc/default/grub to automatically set ignore_ppc on reboot. Open it with root privilege, attach processor.ignore_ppc=1 to GRUB_CMDLINE_LINUX_DEFAULT, just like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash processor.ignore_ppc=1"

then run:

sudo update-grub

and reboot.

References:

Permanently change maximum CPU frequency
Maximum CPU frequency stuck at low value
I cant set the cpu frequency to maximum


Fix unclaimed hardware on Ubuntu 16.04 Dell XPS 15

How to interpret lshw's output

  lshw displays nodes with attributes in a tree-like structure (that can
  be in indented plain text form, HTML, XML or graphically displayed in
  the GUI). Each node has its individual status: it be CLAIMED
  (potentially usable) or UNCLAIMED (no driver has been detected for
  this node), ENABLED (this device is supported and can be used) or
  DISABLED (this device is supported but has been disabled):

  a node is marked as CLAIMED if a driver (usually a kernel module or a driver within the monolithic kernel) has been loaded for it
  a node is marked as UNCLAIMED if no specific support for it has been loaded (or lshw has been unable to identify the driver)
  a node is marked as ENABLED if a driver has been loaded for it and is fully functional
  a node is marked as DISABLED if the node has been disabled by a configuration, some hardware failure, etc.

PMC is a Memory controller. The one in the image is probably related but there is no module you have to use.
The SMBus has though. Details from a skylark sunrise system:

Device: 00:1f.4
Class:  SMBus
Vendor: Intel Corporation
Device: Sunrise Point-H SMBus
SVendor:        CLEVO/KAPOK Computer
SDevice:        Sunrise Point-H SMBus
Rev:    31
Driver: i801_smbus

See if you have i801_smbus and if you can load the module into the kernel if that fixes this one.
See if i801_smbus is blacklisted in /etc/modprobe.d/blacklist.conf
If so try to load it and see if that fixes the unclaimed (don't uncomment the blacklisting before you are sure it works).


I would remove rsync, attempt to resolve the problem related to the vpnagentd_init script and reinstall rsync.

1) Remove rsync using sudo apt-get remove rsync

2) Edit /etc/init.d/vpnagentd_init and insert the following LSB tags.

### BEGIN INIT INFO
# Provides: vpnagentd_init
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start Cisco vpn agent daemon at boot time
# Description: Cisco vpn agent daemon (believe installed by company ssl client)
### END INIT INFO

Source: http://forums.debian.net/viewtopic.php?f=30&t=53192#p575807

3) Install rsync using sudo apt-get install rsync

If all goes well then you shouldn't see any of those vpnagentd_init warnings and the rsync post-installation script should execute without fault.


Open terminal and use:

sudo apt purge aisleriot gnome-mahjongg gnome-mines gnome-sudoku  && sudo apt autoremove


If your computer came with Windows 8 or 8.1 installed, there will be an option in your BIOS settings to boot into legacy or UEFI mode. (You can access your BIOS settings by pressing F2 or F8 or a different key depending on your motherboard, Google it and it should be easy.)

While on your Windows partition, create a bootable USB stick using the software called Rufus, because Rufus gives you the choice to create a USB stick that can be used on UEFI or legacy boot. Chose and create your USB for MBR bios (legacy).
Access your bios and change it from UEFI to legacy mode.

Once you boot your computer with your USB stick plugged in, install it in a partition of your choice. The only downside to that is that your every time that you want to boot to your other operating system you will have to change your bios settings (to UEFI if you want to boot to your windows 8.1 and to Legacy if you want to boot to your ubuntu).

I have done the same thing and my dual boot works like a charm with Windows 8.1 and Ubuntu 14.04

Link to download Rufus for Windows: http://rufus.akeo.ie/
(Get the latest version for best results)


Ubuntu 14.10 x64 usb printer HP DeskJet AllInOne not detected

USB Cable was faulty. I replaced the USB cable and it just worked. I had to install HPLIP after the printer was detected, and nothing more.

Output of dmesg:

[ 5898.551540] usb 3-4: new high-speed USB device number 17 using xhci_hcd
[ 5898.680036] usb 3-4: New USB device found, idVendor=03f0, idProduct=c111
[ 5898.680046] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5898.680051] usb 3-4: Product: Deskjet 1510 series
[ 5898.680055] usb 3-4: Manufacturer: HP
[ 5898.680058] usb 3-4: SerialNumber: XXXXXXXXXXXXXX
[ 5898.681435] usblp 3-4:1.1: usblp0: USB Bidirectional printer dev 17 if 1 alt 0 proto 2 vid 0x03F0 pid 0xC111
[ 5899.897408] usblp0: removed
[ 5899.898097] usblp 3-4:1.1: usblp0: USB Bidirectional printer dev 17 if 1 alt 0 proto 2 vid 0x03F0 pid 0xC111
[ 5940.759735] usblp0: removed

Output of lsusb:

$ lsusb  | grep -i hewl
Bus 003 Device 017: ID 03f0:c111 Hewlett-Packard


Ubuntu no Internet after using EXPORT https proxy= commands

unset https proxy
unset http_proxy

If you want to configure a proxy via the CLI (on a server) juste use

export http_proxy=http://xxx.xxx.xxx.xxx:3128/
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export rsync_proxy=$http_proxy
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"

Don't export https_proxy=https://youproxy ! Your proxy is probably not SSL

If you use networkmanager, gnome, kde ... just configure it inside
If you use a webbrowser, you can configure it inside


The more obvious answer is

safecopy - Copy utility ignoring errors


GUI alternative to WebHTTrack with similar functionality

I've found one Firefox add-on. It's called Scrapbook.

https://addons.mozilla.org/en-US/firefox/addon/scrapbook/

The Scrapbook's feature includes (from info page) -

  Save Web page
  Save snippet of Web page
  Save Web site
  Organize the collection in the same way as Bookmarks
  Full text search and quick filtering search of the collection
  Editing of the collected Web page
  Text/HTML edit feature resembling Opera's Notes

I've tested it. It can save webpage and website (with custom level's of depth) and is very customizable.


swap option missing while installing in ubuntu server 14.04 lts

mchid answered this in a comment, but just for the sake of completeness...

It's under 'Use as', not 'Mount point', switch from Ext4 to swap area.


Ubuntu-GNOME 13.04 - Lock screen takes lot of time to unlock

@DavidFoerster: Yes it is a bug.

See here: Launchpad Bug #515155. You may also find a workaround there.


I read your ubuntu forum thread. Since the problem is the kernel, why don't you just update it? I'm thinking you should be able to just download the latest kernel, import your current configuration, and compile it after adding SATA 6.0 gB/s support.

I see a second option too, and more in line with the Ubuntu way: PPA. Check out UbuntuUpdates.org, they have a ppa that backports the Narwhale kernels to Lucid. I don't see why that shouldn't also work for Maverick. Go read their site first, and make sure this is something you really want to do, because it's definitely not supported; but it looks as easy as:

sudo add-apt-repository ppa:kernel-ppa/ppa
sudo apt-get update
sudo synaptic

Once you've got Synaptic open, you need to edit the repository so that you're accessing what is intended for Lucid.

Click to Settings > Repositories
Go to the Other Software tab.
You'll see this line somewhere, probably at the bottom: http://ppa.launchpad.net/kernel-ppa/ppa/ubuntu lucid main. Click to highlight it, then click Edit.
In the box that pops up, make sure the Distribution field says lucid, not maverick.

Press okay, then press close.
Press the Reload button in the menu bar.
On the left side half way down, there are several buttons (Sections, Status, Origin..). Click the Origin button.
Click the LP-PPA-kernel-ppa/lucid above that, and you should see all the new kernels you have access to.

I trust you can take it from here?

For posterity, here is the bug fix report with all the juicy info. In short, support for your controller isn't around till Linux Kernel 2.6.37-rc4, aka Ubuntu Kernel 2.6.37-8.x.

To test this answer without buggering about your case and controllers and cables, please update your question with the output of lspci before, and after. You should see the controller going from Unknown to whatever it actually is.


This was really newby mistake - as the message state you have to check for stuck pppd processes. I used  ps aux|grep "pppd" and killed the results. After that it was really simple and pon dsl-provider worked as expected.


MATE - Language swtiching using shortcut stops once it reaches the last language in the list

I can reproduce the problem with Super+Space set as keyboard layout switching hotkey - the

dconf write /org/mate/desktop/peripherals/keyboard/kbd/options \
"['grp\tgrp:win_space_toggle']"

dconf write /org/mate/desktop/peripherals/keyboard/kbd/layouts \
"['us', 'ru', 'il', 'sk']"

results in the behavior that I can move from 'sk' to 'us' again.

So I have reported bug 1821988 to launchpad.

Consider to use workaround - use Alt+Shift instead.


In Midnight Commander, go to F9 -> Options -> Layout -> disable XTerm window title.

(And then Options -> Save setup, unless you have Auto save setup enabled.)


where is the default folder for theme, icons, and wallpaper?

Wallpaper
The default wallpaper directory is found at /usr/share/backgrounds/ and the default wallpaper is called warty-final-ubuntu.png so overwrite it to change the default wallpaper easily.

Icons
For Icons globcally it's the directory /usr/share/icons/ which typically contains pre-installed themes (shared by all users)
Or locally in your home folder : ~/.icons which typically contains folders with the themes installed by the user.
Also, many applications have their icons in /usr/share/pixmaps/

Themes
For Themes globally it's the directory /usr/share/themes/ which typically contains default themes (shared by all users)
Or locally in your home folder : ~/.themes which typically contains themes installed by the user.


Why isn't .profile sourced on login to LXDE?

I dont think that there is any requirement/standard for Desktop Environments to execute .profile at startup.  All freedesktop compliant desktops will check for .desktop files in /etc/xdg/autostart and ~/.config/autostart. If you only need ~/bin in PATH when using terminal then use ~/.bashrc.


MTP Not Working Showing: /usr/lib/gvfs/gvfsd-mtp (No such file or directory)

For users who were out of luck with mtpfs, jmtpfs, go-mtpfs or any other libraries which depend on libmtp; try android-file-transfer.

It does not depend on libmtp and thus free from inherent bugs, is the most up-to-date mtp library I have seen on github (as of May 2018), and also can be used with FUSE, although I personally recommend to use its own Qt based GUI to avoid possible FUSE back-front interaction bugs.

Just make sure you DO NOT open your MTP device using any default mechanisms provided by your linux distro, e.g. clicking on Open when the device-connected notification pops up!

github: https://github.com/whoozle/android-file-transfer-linux

PPA: https://launchpad.net/~samoilov-lex/+archive/ubuntu/aftl-stable

Read about MTP on linux: https://wiki.archlinux.org/index.php/MTP

P.S.: I'm only a user of the this application.


Is there a way to reset Windows XP administrator password?

You can use chntpw

Assuming you have a dual boot with windows and ubuntu.

First you need to install chntpw

  apt-get install chntpw

mount your Windows Partition writeable

Goto the following directory (assuming you mounted your windows partition to /mnt)

  cd /mnt/WINDOWS/system32/config

  chntpw -u Administrator SAM

SAM is the file where the password is stored. You should set it to an empty one choosing option 1

    - – - – User Edit Menu:
   1 – Clear (blank) user password
   2 – Edit (set new) user password (careful with this on XP or Vista)
   3 – Promote user (make user an administrator)
   (4 – Unlock and enable user account) [seems unlocked already]
   q – Quit editing user, back to user select

Reboot to windows Login as Administator without password :-)


By trying to purge lamp-server with aptitude, its trying to remove cups and other system utilities. that's what's resulting in all the other removes. You can remove the individual packages on their own: aptitude remove apache2 php5 mysql-server

This will remove the apache2 server, php5, and the mysql-server parts of LAMP.  Afterwards, you can remove unneeded packages.  However, do let me know if this triggers the long list of other removals, because if it does we may need to rethink the methods used to remove the server package(s).


nvidia optimus, ubuntu 12.04, No device detected

about bumblebee, I suggest you to reintall it at the rule write in https://wiki.ubuntu.com/Bumblebee.


error:no such partition fond grub rescue

I had a similar problem when I deleted a partition that I had installed ubuntu on. It wouldnt let me boot windows through my cd drive until I went to bios and changed it from fast boot to thorough boot. This allowed me to at least boot on my windows 7 disk. Dont know if that helps


For some reason, the soundmenu seems be set to invisible. To correct, run in a terminal:

gsettings set com.canonical.indicator.sound visible true

You can do it with dconf editor as well (but you would have to install it from the repositories). Open dconf editor, browse to com > canonical > indicator > sound,and check "visible"


CD/DVD-RW Drive not at all reading discs in Ubuntu 16.04 LTS

From the comments...

See if you can boot to a Ubuntu Live DVD. If you can, at least you could probably say that the drive is working. If it's real dusty, blow out the DVD drive and try other disks again.

Update:

After blowing out the DVD drive to remove any dust, the drive now seems to be working.


Is there a way not to store the password when logging into Ubuntu One?

The approach to this is fairly standard: most phones are single-user devices and I think it's widely expected that users only have one single-sign-on account. Logic follows that people will only need to sign in once.

But as Uri says, it can be done: you just need to clear the application data (through settings → applications).

If you need something more fluent than this, you'll want to file a bug against Ubuntu One. I suggest you explain why you need to do this because it's not the expected behaviour.


This worked for me, I have the same wifi adapter. Copy/Paste the following in a terminal and reboot. You have to re-"make" after every kernel update, to ensure best performance.

sudo apt-get install --reinstall linux-headers-generic linux-headers-$(uname -r) build-essential dkms git

git clone https://github.com/FreedomBen/rtl8188ce-linux-driver

cd rtl8188ce-linux-driver

make

sudo make install

sudo cp -r firmware/* /lib/firmware

echo "options rtl8188ee ips=0 fwlps=0" | sudo tee /etc/modprobe.d/rtl8188ee.conf


As answered you can use F-Droid on Android, so I assume you are looking for an android emulator.
You can try https://www.android-x86.org/ in a virtual machine and install f-droid on there. Other Emulators are pretty buggy, which is why I would like you to try this.


Launcher and Panel do not start after booting to terminal

If you want to run a desktop session, start like this gnome-session --session=ubuntu. That will load Unity, gnome-settings-daemon and the rest of the stuff that is required.


Unable to mount "lubuntu-15.04-desktop-i386.iso" on OSX Snow Leopard

This sounds like the downloaded file is corrupted. On a Mac OS, you can compute the MD5 sum of the file from a terminal using

md5sum /path/to/lubuntu-15.04-desktop-i386.iso

I think you can even view it in the file's properties alternatively.
Then compare that checksum to the one given on the download page. If they do match, ignore this answer, the problem is elsewhere...

Else, redownload the ISO file.

Hint: If you download it using BitTorrent, you can be sure the download is correct, as corrupted chunks are discarded automatically and redownloaded until they match their checksum.


2 Partitions are currectly active on /dev/sda

You appear to be trying to partition the disk that's running Ubuntu. You can't partition or resize an existing partition of a disk in use.
You need to run Ubuntu from another disk, such as booting the Ubuntu installation image from a USB stick. Also the partition you wish to modify can't be mounted when attempting to change it.


You can do one of two solutions:

Edit your PATH variable in /etc/environment and add the :/opt/file/base/bin/linux-x86_64 to the end of it. (this builds the PATH statically, meaning that whatever shows up here is the "base" for the PATH variable, and any additions, like in the profile, will be added to this)
Edit your bash profile in /etc/profile and append to it export PATH=$PATH:/opt/file/base/bin/linux-x86_64 (this build the PATH dynamically)


Cannot flash Galaxy Nexus ('maguro') device

What device do you have?

(a.) Samsung Galaxy Nexus ('maguro')

(b.) LG Nexus 4 ('mako')

Assuming that does NOT matter ..

You should verify device is 'online', with

adb devices

Then Try:

ubuntu-device-flash --channel=trusty --bootstrap


How to install the latest version of Vagrant

Download the Debian package (not the generic Linux zipfile)

Look in your Downloads directory for the exact filename. Mine was vagrant_2.2.9_x86_64.deb your filename may vary.

Install. Recall that the file is in the Downloads directory, and use the correct filename. On mine it's: sudo apt install ~/Downloads/vagrant_2.2.9_x86_64.deb


The lag could be caused because flash isn't hardware accelerated in Chrome by default.

You should check your about:gpu section in Chrome. In older PC's HW Acceleration is disabled by default and you only can enable it by overriding the settings in the about:flags.

Open the about:flags in your address bar
Look for Override software redendering list
Click "Enable"
Restart Chrome

You can also start chrome using chrome --ignore-gpu-blacklist but having to do so each time is not ideal.


Libreoffice on 16.04 - memory settings to prevent freezes?

Uninstalling libreoffice-gtk* made a significant difference for me. The drawback is that the UI integration would go away.

sudo apt-get remove libreoffice-gtk*

It seems to be a known bug: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1577093


I got memtest86+ from the official website instead and followed instructions on how to make a USB stick (http://forum.canardpc.com/threads/28875-Linux-HOWTO-Boot-Memtest-on-USB-Drive), and that version worked.

For some reason, Ubuntu's version on this particilar AcerAspire 5740 laptop was failing to work.


Virtualbox Guest OS unexpectely resets in Ubuntu 14.10

Recent versions of VirtualBox (4.3.18+) don't seem to install file /etc/init.d/vboxdrv. The instructions you have been following are obsolete.

Just start virtualbox and if it needs to recompile modules it will tell you.


How to uninstall Ubuntu 14.04 and install Windows 7 without dual boot?

Follow the instructions provided with your Windows 7 installation disc.  If you have no desire to keep Ubuntu, then it does not matter what was on the drive beforehand.


I've tried both. They're equally good and there's no difference. I should stick with Konsole because it's part of Kubuntu/KDE.


Is there a file manager with Mac Os like column view for Linux?

Yes. It's Elementary OS's Pantheon File manager. Install it using this ppa

sudo add-apt-repository ppa:elementary-os/stable
sudo apt-get update
sudo apt-get install pantheon-files

Activate this option by clicking the third button on the left hand side of the location bar.


Battle.net Launcher Completely White (Wine)

Okay, so in accordance with the comment under my question I installed Lutris, and it works great.


You are more than likely using the password protection feature of the Western Digital bloatware that came on the drive, correct? If that is the case I would recommend removing the password from the disk using the Windows software, at which point you would be able to mount it properly under Linux. I'll continue researching the topic to see if I can find a work-around for you, but I really doubt it as it's more than likely propriety WD code to enable the feature.

Source

Source 2


Intermitent Facebook connection on Empathy

After a couple days, the functionality was restored without any action from my part. I haven't even logged in on the site as suggested by other users.

It's been working fine since yesterday. It suggests the issue was caused by some factor outside my network, probably on the facebook servers.


add-apt-repository throws Python error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5

The software-properties-common is buggy, so if have a time, please report this as a bug in software-properties-common.

A better workaround was pointed out in the issue tracker that uses specific unicode locale when adding the repository

LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php5-5.6


"dirname: invalid option -- '/' " Error when I try to run a .sh file?

I won't try to understand the whole script. But I see that dirname is called once, and I suppose that this expression:

cat proprietary-blobs.txt | grep -v ^# | grep -v ^$ | sed -e 's#^/system/##g'

is supposed to generate a list of file paths, while at least one of the elements is not a valid path.

It's easy to trigger the same error message:

$ dirname -/
dirname: invalid option -- '/'
Try 'dirname --help' for more information.

Inside proprietary-blobs.txt are:

-/system/app/OmaDmclient.apk
-/system/app/qcrilmsgtunnel.apk
-/system/app/shutdownlistener.apk
-/system/app/SprintHiddenMenu.apk
-/system/app/TimeService.apk
-/system/app/UpdateSetting.apk

All of these error out:

dirname -/system/app/OmaDmclient.apk
dirname: invalid option -- '/'
Try 'dirname --help' for more information.

It says

This file is generated by device/common/generate-blob-lists.sh - DO NOT EDIT

So I consider this a bug in that script.


Add ctrl functionality to alt_l (Ubuntu 18.04)

run the commands as below:

xmodmap -e "remove mod1 = Alt_L"
xmodmap -e "keysym Alt_L = Control_L"
xmodmap -e "add Control = Control_L"

Example:

pratap@i7-4770U:~$ xmodmap -e "remove mod1 = Alt_L"
pratap@i7-4770U:~$ xmodmap -e "keysym Alt_L = Control_L"
pratap@i7-4770U:~$ xmodmap -e "add Control = Control_L"
pratap@i7-4770U:~$

Expalation:

removes the modifier from Alt_L
Alt_L becomes Control_L with out modifer
adds the modifier Control to Control_L keysym

these changes will not persist after a logout or reboot..

to make these changes permanent..

add below content to ~/.xmodmaprc file

remove mod1 = Alt_L
keysym Alt_L = Control_L
add Control = Control_L

and add this command to startup applications

xmodmap /home/user/.xmodmaprc #change user with your user name


Airplane mode key (Fn + F12) not working in HP ab027tx running Ubuntu 18.04 LTS

I also have had this problem with my HP laptop and Ubuntu 18.04. If you only need to only toggle wifi (but not bluetooth) on or off, you can use the following workaround.

Create a bash script with the following code and save it somewhere in your computer. I save mine as ~/.local/share/scripts/wifi-toggle.sh. If you need to create a folder, you can do it using mkdir /path/to/folder or using the file manager.

#!/bin/bash

wifi_status=`rfkill list wifi | grep "Soft" | cut -d " " -f 3`

icon_dir=/usr/share/icons/Adwaita/scalable/status

if [ $wifi_status == 'no' ]; then
    nmcli radio all off
    notify-send -i $icon_dir/network-wireless-offline-symbolic.svg --hint int:transient:1 "Wi-Fi turned off"
else
    nmcli radio all on
    notify-send -i $icon_dir/network-wireless-signal-excellent-symbolic.svg --hint int:transient:1 "Wi-Fi turned on"
fi

Give execution permissions to your script (I am assuming that the location you saved it is the same as mine; if not, use your location):

chmod +x ~/.local/share/scripts/wifi-toggle.sh

Then, open Gnome settings, go to Keyboard and add a new shortcut (I use Ctrl+F12) using the full path of your script as a command, i.e. /home/your_name/.local/share/scripts/wifi-toggle.sh, where your_name is your user's name.

Edit:
This script can be used to turn full airplane mode on or off.

#!/bin/bash

wifi_status=`rfkill list wifi | grep "Soft" | cut -d " " -f 3`
bluetooth_status=`rfkill list bluetooth | grep "Soft" | cut -d " " -f 3`

icon_dir=/usr/share/icons/Adwaita/scalable/status

if [ $wifi_status == 'no' ] || [ $bluetooth_status == 'no' ]; then
    rfkill block all
    notify-send -i $icon_dir/airplane-mode-symbolic.svg --hint int:transient:1 "Airplane mode turned on"
else
    rfkill unblock all
    notify-send -i $icon_dir/network-wireless-signal-excellent-symbolic.svg --hint int:transient:1 "Airplane mode turned off"
fi

However, for me this would need to be run as sudo (I am now using Xubuntu 18.04, so I am not sure if this is the case for Ubuntu too). Save it as ~/.local/share/scripts/airplane-toggle.sh and change its permissions with chmod +x as before. Try running it from terminal with and without sudo. If it runs without sudo, then map it to a shortcut as before. If not, you can only run it with sudo through the terminal.


PHP script unable to create directory with 777 permissions

www-data is the user that the apache2 webserver runs as in Ubuntu. (Usually that user has a UID of 33, the number you see.) So files created using the webserver are owned by that file. When you create a file thus, the umask of the server comes into play and any permissions you set are controlled by the umask.

You can work around this in three ways:

Use the chmod PHP function to set the permission after creating.
Use the umask PHP function to set the umask before creating. Be warned, this will set the umask for all threads in a multi-threaded server and can have unintended consequences.
Set the umask for the web server itself. This is worse than (2) in that every process and every site configured in the server is affected.

The best option is to use (1). Have a look at this SO answer for an example of (1), this SO question for a discussion of (2) and this SF question for an example of (3).


curtin/autoinstall storage section fails on swap mount in config

I'd try adding the argument path: none and seeing if that works.  Looking at the source for curtin, that appears to be what it does when there is no path value and the file system is 'swap'
https://github.com/canonical/curtin/blob/b4f5078663d9cbfd31a7d23b77c458e6a7447226/curtin/commands/block_meta.py#L1107
I have not setup swap like this, but your link is to some guy's four year old gist snippet.  The curtin docs are at
https://curtin.readthedocs.io/en/latest/topics/storage.html?#mount-command
Quotes from the mount section

The path to the target mountpoint must be specified as well as the target filesystem

If the device specified is formatted as swap space, then an entry will be added to the target system’s /etc/fstab to make use of this swap space.

I have found the curtin docs to be wrong before, so I found this file that appears to define the schema requirements.  I'm not certain how to parse it, but it would seem to me that path is not required since you have a device argument
https://github.com/canonical/curtin/blob/master/curtin/block/schemas.py
There is also the possibility subiquity is what is generating the error.  subiquity does its own yaml validation.  It uses this schema, but it looks like the storage section has no requirements.  I'm guessing they rely on curtin for the validation
https://ubuntu.com/server/docs/install/autoinstall-schema


Can't boot to Windows 10 after installing alongside Ubuntu 16.04 and using bcedit

You're probably running into this bug:

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1091464

If so, two workarounds come to mind:

You can disable Secure Boot, as described in more detail on this page of mine. This has the drawback that you'll lose the benefits of Secure Boot, which is designed to protect the computer against pre-boot malware.
You can install my rEFInd boot manager, which will then take over from GRUB as your primary boot menu. rEFInd does a better job than GRUB of launching Windows on some computers. Note that you'll probably have to add a rEFInd key to your MOK list on the first boot -- you'll probably see a blue screen that leads to a file manager in which you can select refind.cer and/or refind_local.cer from the EFI/refind/keys directory on one of your partitions. This process can be mystifying, but it's not hard if you don't panic. See this page of the rEFInd documentation for more information than you probably want about this.


the software was not part of debian package. So the solution was to run the uninstall file in that folder:

sudo ./uninstall


Upgrading an existing installation does not replace /etc/network/interfaces with netplan, and if /etc/network/interfaces exists and is populated, NetworkManager respects this configuration and treats those devices as unmanaged.

If you want to manage eth0 with NetworkManager, you need to delete / comment out the configuration for this interface in /etc/network/interfaces.


Do I need iptables or ufw if I have gufw?

The answer before mine is right. But let's see if we can make it sound simple.

iptables is the main firewall. It talks to the kernel. It's  more complicated.
ufw wants to make it "uncomplicated" ("ufw" stands for "uncomplicated firewall"). It talks to iptables. It's a command line tool.
The G in Gufw must stand for "graphical", which should provide a click-click interface for ufw. It talks to ufw. It's a GUI.

Now I hope we could make out their functions and dependencies. ;-)


How do I setup network connection between two Ubuntu computers using patch cable?

I finally got it to work. I changed my setup back to the original configuration to use NetworkManager and used the /etc/network/interfaces files for configuration.

This is what my /etc/network/interfaces file looks like for the laptop with ethernet port enp2s0:

auto enp2s0
iface enp2s0 inet static
address 192.168.1.151
netmask 24

This is what my /etc/network/interfaces file looks like for the NUC with ethernet port eno1:

auto eno1
iface enp2s0 inet static
address 192.168.1.150
netmask 24

I also used the following to reboot the interface and enable connection:

sudo ifdown enp2s0 && sudo ifup enp2s0

Then, I can see the connection is working by running ping 192.168.1.150 on the laptop. Thanks for all the help!


What is the keyboard shortcut for accessing the main (hamburger) menu in Gedit?

The Shortcuts list does include it, but in an obscure way:

  Open the file menu    F10


freshclam should be already running as a daemon, that is why you are getting that message.  If you run the following command you should see updates are happening:

tail -10 /var/log/clamav/freshclam.log

Here's an example of mine:

terrance@terrance-ubuntu:~$ tail -10 /var/log/clamav/freshclam.log
Fri Dec 23 19:08:16 2016 -> safebrowsing.cld is up to date (version: 45370, sigs: 2490012, f-level: 63, builder: google)
Fri Dec 23 19:08:16 2016 -> bytecode.cld is up to date (version: 285, sigs: 57, f-level: 63, builder: bbaker)
Fri Dec 23 19:08:16 2016 -> --------------------------------------
Fri Dec 23 20:08:16 2016 -> Received signal: wake up
Fri Dec 23 20:08:16 2016 -> ClamAV update process started at Fri Dec 23 20:08:16 2016
Fri Dec 23 20:08:16 2016 -> main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer)
Fri Dec 23 20:08:16 2016 -> daily.cld is up to date (version: 22765, sigs: 1152120, f-level: 63, builder: neo)
Fri Dec 23 20:08:16 2016 -> safebrowsing.cld is up to date (version: 45370, sigs: 2490012, f-level: 63, builder: google)
Fri Dec 23 20:08:16 2016 -> bytecode.cld is up to date (version: 285, sigs: 57, f-level: 63, builder: bbaker)
Fri Dec 23 20:08:16 2016 -> --------------------------------------

As you can see, mine updated just a few moments ago.  If you want to change the update intervals, run the following command from a terminal window:

sudo dpkg-reconfigure clamav-freshclam

Then just step through the prompts, and you can change the number of freshclam updates per day (24 means once per hour):

Hope this helps!


You can try to disable Hardware Acceleration in Wine Configuration.

Open Wine configuration, go to the Audio tab, on the bottom make sure that Hardware Acceleration is set to Emulation.


Check the trash: /home/*/.local/share/Trash

And next time you should remove files/directories by: rm -fr FILE, then it will be remove immediately instant of moving first to trash.

You can also check: sudo du -h --max-depth=1 /.


Ubuntu 20.04.1: How to remove Network file sharing location on Nautilus under other locations

I'm really not sure I understand the question.
You have two entries under Other Locations because the server is broadcasting it's presence to the network with two different protocols.
One is smb via mDNS ( Avahi in Linux ):

/home/justin/.local/share/gvfs-metadata/smb-server:server=remus.local

And the other one is afp ( apple file protocol ) via mDNS:

/home/justin/.local/share/gvfs-metadata/afp-server:host=REMUS.local

The Linux client can connect using either so you can't remove one of them from the client. You need to go to the server and tell it you only want to share it using one or the other.


Creating a Live USB with Ubuntu Startup Disk Creator that has persistent storage mounted on boot?

You can only create live (live-only) systems with the Ubuntu Startup Disk Creator (in Ubuntu 16.04 LTS and newer versions). The reason is that it is a cloning tool, that clones the content from the iso file with the read-only file system iso 9660.
But there are several tools that can create persistent live systems. I would recommend mkusb, which creates a partition with the label casper-rw for persistence. This means that the whole USB drive will be used.

There are several tools that create persistent live systems with a FAT32 file system, where the content from the iso file is extracted, and a file with the name casper-rw. Because of the FAT32 file system, the size of that file is limited to 4 GiB.
Links

help.ubuntu.com/community/Installation/iso2usb

help.ubuntu.com/community/mkusb

help.ubuntu.com/community/mkusb/persistent


Zoom audio fixed to an HDMI output and muted

Finally after some time I found that I can change this configuration within Zoom. It seems that Zoom locks itself to some audio output and the OS is not able to change it.


Which email client works best with GMail IMAP?

You're not going to find a client that does Gmail via IMAP and treats labels as labels instead of folders. This is because IMAP shows Gmail's labels as folders, so any email client that you use is going to see folders, not labels.

So really, your question boild down to: Is there a desktop mail client that treats IMAP folders as if they were labels? To that, my answer is that I don't know of any.


What are the different Ubuntu Cloud Guest images (-disk1, -root, -uefi1)?

I can't find any official documentation, but this is what I found by poking around:

{image}.tar.gz

$ tar tzf trusty-server-cloudimg-amd64.tar.gz
trusty-server-cloudimg-amd64.img
trusty-server-cloudimg-amd64-vmlinuz-generic
trusty-server-cloudimg-amd64-loader
trusty-server-cloudimg-amd64-floppy
README.files

So it's a tarball with a kernel image, boot loader, and a filesystem image. More details on the filesystem image:

$ file trusty-server-cloudimg-amd64.img
trusty-server-cloudimg-amd64.img: Linux rev 1.0 ext4 filesystem data (extents) (large files) (huge files)

You can access the .img contents with:

mkdir -p /media/trusty-server-cloudimg-amd64
mount -o loop trusty-server-cloudimg-amd64.img /media/trusty-server-cloudimg-amd64

{image}-disk1.img

$ file trusty-server-cloudimg-amd64-disk1.img
trusty-server-cloudimg-amd64-disk1.img: Qemu Image, Format: Qcow , Version: 2

{image}-root.tar.gz

  We make several formats of images available on cloud-images.ubuntu.com.
  The one relevant to this mail is the -root.tar.gz.  This is essentially
  a tar -cSpzf - / of the contents of /.

— Scott Moser posting on ubuntu-devel

The post goes on to state that the kernel and boot loader have been removed, since the primary use of this release is with LXC, where the kernel and boot loader files aren't used.


Network disabled on some wake-ups on saucy laptop

Use:

sudo touch /etc/pm/sleep.d/network-manager-resume
sudo chmod +x /etc/pm/sleep.d/network-manager-resume
sudo nano /etc/pm/sleep.d/network-manager-resume

Paste the following and save the file. This brings NetworkManager out of suspend mode:

#!/bin/sh

# This script gets NetworkManager out of suspend.
case $1 in
     suspend|suspend_hybrid|hibernate)
    # No need to do anything here.
        ;;
     resume|thaw)
    nmcli nm sleep false
        ;;
esac

Source: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1184262/comments/23


Will installing gcc-4.8 & g++4.8 break / change stuff which is used by the existing 4.6.3 versions ?

No.

  Is it safe to assume gcc-4.8 & gcc-4.8 are not going to cause a situation where a build ( which relies on 4.6.3 ) passes, but in
  reality the build code behaviour changes ? ( maybe due to being
  optimized differently ? )

Depends on how they rely on 4.6.3. Does your build process invoke gcc or gcc-4.6? If the latter, there shouldn't be any changes. If the former, you should use the alternatives system to configure gcc to use gcc-4.6, or change your processes to use gcc-4.6/g++-4.6. (Lookup update-alternatives.)

  Most importantly, Can several versions of the compilers be installed on a system without breaking previous versions of them ?

Yes, if you're installing using reasonably built debian packages. It's not unusual to have multiple versions of GCC installed.


It may be related to the problem that the manufacturer of the battery often does not disclose the specification of the battery, and for supplying a compatible - or at least almost compatible - battery, it's hard to build a correct 'battery chip'.
I think it could well be that the battery has about 5200mWh electrical capacity, but the chip does not know it, because it was easier to find or build a chip reporting 4400mAh.
That would mean, it reports no more than 4400mAh no matter what you do, but gives you more, and the battery capacity estimation will have to cope with the inconsistent data somehow.

There may be interesting info if you take a look at what you find in /sys/class/power_supply/BAT1 or so - see
 Battery design capacity is zero?. Maybe add it to the question if it looks interesting.


Kubuntu 14.04 hangs on logo while startup

I have the same problem as of today, after an upgrade and reboot.  I get stuck at a bright kubuntu logo.  I can access the various non-graphic login screens using Ctrl-alt-F1 etc.  I can boot if I select a much older kernel (3.2. something, as opposed to the default 3.13) but I expect this will create other problems.  /etc/syslog and boot.log don't show anything alarming.  I am not using ATI graphics (have nvidia, never caused a problem).

Any help would be greatly appreciated.


How do I setup a bluehost email account?

You might just either call them, or send a ticket.  But, I did a search for you on their website helpdesk and here is the link that shows all about thunderbird.

Blue Host


indicator-sound is crashing and VLC or any media player does not open

I had this problem this morning after messing around with VLC (changing some preferences, trying to add a skin, attempting to get bookmarking working). Finally I went into ~/.config/vlc and deleted everything – next time I started VLC, all was well.


how to remove kylin software-without Terminal

from Software & updates > other Software " found additional unclassified source codes that was the reason for the error" deleted them by clicking on remove button. restarted the system. made Ubuntu OS updates. then the UK kylin-software-center popped up again in Ubuntu-software. I removed it by clicking Remove button. then reinstalled it from the website itself www.ubuntukylin.com , the website is Chinese already so using some website translator would help to be more selective, and so i was able to choose the language of the appSoftware i prefer .but actually the kylin-software-center wasn't that helpful as i expected for 18.04.1 LTS


Ubuntu freezes booting up after hibernation

I would try a BIOS update as there seems to be some issues with power in the past. I have known BIOS updates to solve these issues. Try here.


juju 2.2.2 options bootstrapping vsphere essentials based controller, 3 node cluster with HA (esxi 5.5)

I was searching for the same information:

juju bootstrap kube-your-cloud --config datastore=datastore1


Nvidia not working on Ubuntu 17.10 on Xorg

I'm having the same problem with the nvidia-387 driver.
it worked until a system update.

the only way that worked for me is using an older driver: nvidia-384

root@sebapc:/home/sebastian# dpkg -l | grep -i -e nvidia
ii  bbswitch-dkms                              0.8-4ubuntu1                                amd64        Interface for toggling the power on NVIDIA Optimus video cards
ii  cuda-nvtx-9-1                              9.1.85-1                                    amd64        NVIDIA Tools Extension
ii  libcuda1-384                               384.111-0ubuntu1                            amd64        NVIDIA CUDA runtime library
ii  nvidia-384                                 384.111-0ubuntu1                            amd64        NVIDIA binary driver - version 384.111
rc  nvidia-387                                 387.26-0ubuntu1                             amd64        NVIDIA binary driver - version 387.26
ii  nvidia-modprobe                            387.26-0ubuntu1                             amd64        Load the NVIDIA kernel driver and create device files
ii  nvidia-opencl-icd-384                      384.111-0ubuntu1                            amd64        NVIDIA OpenCL ICD
rc  nvidia-opencl-icd-387                      387.26-0ubuntu1                             amd64        NVIDIA OpenCL ICD
ii  nvidia-prime                               0.8.5                                       amd64        Tools to enable NVIDIA's Prime
ii  nvidia-settings                            387.26-0ubuntu1                             amd64        Tool for configuring the NVIDIA graphics driver

The only problem is that this driver is not compatible with CUDA 9.1

* UPDATE *

The problem is (in my case) the kernel.
When installing the driver I get errors during DKMS compilation, The compilation produces a log located in
/var/lib/dkms/nvidia-387/387.26/build/make.log.

You can try compile DKMS for the current kernel running

sudo dpkg-reconfigure nvidia-387

and see if you get an error

I solved my problem booting from the old kernel 4.13.0-21-generic instead of latest 4.13.0-25-generic

Here are my system details

GPU:

root@sebapc:/home/sebastian# lspci | grep -i nvidia
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)

OS version:

root@sebapc:/home/sebastian# uname -a
Linux sebapc 4.13.0-21-generic #24-Ubuntu SMP Mon Dec 18 17:29:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


Depending on the SSD model you need to leave 20% free space on the SSD for best performance, although some SSDs continue to function normally even when they are 95% full. Try freeing up space on the SSD by copying some of the files from the SSD to another disk and deleting those files from the SSD. The second disk could be another internal hard drive or an external hard drive.


How do I get multitouch working on a on Asus EEE pc 1215n?

This wiki might be of some help: Synaptics Touchpad. Here is one more wiki, it has specific guidelines for EEE PC: Ubuntu community documentation


I'm posting this as a reference for myself. Yes, there are other answers to this problem but this is a bit different.

Instead of booting from liveDVD as other answers suggest, you may display GRUB menu at boot (e.g. by pressing and holding the Shift key) and then choose 'Advanced options for Ubuntu' in Ubuntu 14 LTS (in Ubuntu 12 LTS it is 'Previous linux versions'). Confirm the uppermost/latest version to boot. When OS is up and running, you may perform the following procedure.

sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
update-initramfs -u
update-grub
reboot

Note that you should verify that /dev/sda1 is really your boot disk.

Procedure was suggested here.

Update:

Is anybody aware of potential problems due to the fact that my solution uses the older version of the OS? By now, system where this was applied, works fine.


The same snap feature exists in Ubuntu 12.04, only in Ubuntu you use Ctrl+FLAG+↑/↓/←/→. This only works for Unity 3D though. In Unity 2D you'll still have UP and DOWN, but not LEFT and RIGHT.

With FLAG I mean the flag/Windows/system/super/... key.


Is there any frame interpolation media player for Ubuntu?

slowmoVideo is an OpenSource program that creates slow-motion videos from your footage. But it does not simply make your videos play at 0.01× speed. You can smoothly slow down and speed up your footage, optionally with motion blur.

How does slow motion work? slowmoVideo tries to find out where pixels move in the video (this information is called Optical Flow), and then uses this information to calculate the additional frames.

Features

Videos in any format supported by ffmpeg can be loaded. Image sequences can also be loaded, so, if you did a timelapse with too few frames, slowmoVideo may help as well.
slowmoVideo does not work with a constant slowdown factor but with curves that allow arbitrary time accelereation/deceleration/reversal.
Motion blur can be added, as much as you want.

To install it, open a terminal and enter:

sudo add-apt-repository ppa:brousselle/slowmovideo
sudo apt-get update
sudo apt-get install slowmovideo

Video tutorial on YouTube: Tutorial: SlowmoVideo.

slowmoVideo home page: http://slowmovideo.granjow.net/


Your image is incomplete, and shows no apache processes. After you start top, issue the i command to suppress "idle" processes.


Tachyons answered this in a comment:

  In the installation wizard chose advanced mode , in that mode you can
  see the option for where the grub is to be installed ,chose your linux
  partion and press next


The bad old Noise issue in the headphones on Ubuntu 16.04 LTS

A lot of users are facing noise problem when headphones are connected and are fed up with it just like I am. This solution is for them. There are a lot of solutions given on askubuntu but none have worked for me.

Things were good when I used Windows 8.1. There was no such sound issue. Well, but now I am on Ubuntu and I have no plans of going back to Windows.

I have accepted the fact that my laptop's sound system is not shielded properly.
I haven't addressed the root of the problem, but just kind of made it a virtually unnoticable.

So, the hack is quite simple. As the problem persists only when there is no playback, I came up with a hack to always have a playback!
Now, this should be true only when the headphones are connected. And the playback should stop when headphones are removed.

Follow these simple steps-

Step #1: Install mplayer and configure it.

sudo apt install mplayer
nano ~/.mplayer/config

type in that file-> lirc=no

Step #2: Download this mp3 file from here (silence-10sec.mp3)

Step #3: Create a folder in home directory and name it .hush
Copy the mp3 file in your .hush directory

cp ~/Downloads/silence-10sec.mp3 ~/.hush/

In that folder, create a script file and name it silence.sh
Copy paste this code in the script file.

#!/bin/bash

plugged="jack/headphone HEADPHONE plug"
unplugged="jack/headphone HEADPHONE unplug"

acpi_listen | while IFS= read -r event;
do
    if [ "$event" == "$plugged" ]
    then
       mplayer -really-quiet -loop 0 ~/.scripts/silence-10sec.mp3 &
    elif [ "$event" == "$unplugged" ]
    then
       pkill -f mplayer
    fi
done

Make it executable with the command chmod +755 silence.sh

Step #4: Type startup applications in the Dash and add the path of silence.sh script to it.

So, basically what we are doing is listening to events of headphones been connected and disconnected and playing or stopping the blank mp3 file in a loop. Now, I have used mplayer because I know that I am never gonna use that for any other purpose and killing its process is completely safe for me.

I came  up with this idea when Serg answered to one of my questions.
He came up with this script and I just made modifications to it to suite the requirement.


Apple Airpod's have low volume when connected to Ubuntu 19.04

Edit
sudo nano /lib/systemd/system/bluetooth.service
and change
ExecStart=/usr/lib/bluetooth/bluetoothd
to
ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=avrcp
and run
sudo systemctl daemon-reload
sudo systemctl restart bluetooth


Where can I get Ubuntu for a smartphone?

ROMs for specific devices, are pre-built and distributed ready to be flashed. They're distributed unofficially by those who compile and build it for their devices. You should search if anyone built Ubuntu for your phone in a mobile phone forum.

The most popular one is XDA at http://forum.xda-developers.com/


Will I need a PPA for my Dell XPS 13 "Sputnik" laptop?

I got this information from Kamal Mostafa, one of the maintainers of the Sputnik PPA:

  The two big pieces of functionality that were supplied by the Sputnik
  PPA were the Cypress Trackpad driver and the i915 backlight control
  fixes.

  The Cypress Trackpad driver is now shipping in stock {P, Q, and just
  this week, R} kernels and is queued up to land in mainline for Linux
  3.9.  So the trackpad is now a non-issue -- no PPA is required for that.

  Indeed the only thing left in the PPA kernel that isn't shipping in
  stock Ubuntu is the backlight control (i915 driver) fix....  That fix
  is still a problem:  In its current state, it can't go into standard
  kernels because it breaks some other backlights.  I'm hoping further
  progress will be made on that in the mainline 3.9 timeframe.  In the
  meantime though, the PPA is and will continue to be necessary to
  supply working backlight controls.

  I do have every intention of maintaining the Sputnik PPA as long as
  its necessary, for all versions >= Precise.  I haven't uploaded a
  Raring kernel to it yet, but will do so by early next week.

  The other kernels in the PPA (P and Q) aren't really falling behind --
  I always keep them just behind the stock 'proposed' kernels (hence the
  PPA indicates "Newer version available" on the days where proposed has
  just been released but I haven't uploaded new versions yet, like
  today!) I'll be updating those within 24 hours.

  Hope that clarifies the mud!  Let me know if you need any more info at
  all!


Broken link for kernel (nonexistent future version)

sudo dpkg --remove  --force-remove-reinstreq linux-image-extra-3.16.0-24-generic*

allowed to remove first the extra package and then followed by:

sudo apt-get autoremove linux-image-3.16.0-24-generic

The package was removed. I could tell that df -h dropped /boot space from 98.5% to 85% and I used the same command with other packages.

Credit to Zacharee1 for showing the --force-remove-reinstreq option.


How do I export a variable to the `sh` shell?

Perform the following steps in the current shell (tested with zsh and bash), not in dash:

Open your .profile:

nano ~/.profile

Add this line

ENV=$HOME/.dashrc; export ENV

Open .dashrc

nano ~/.dashrc

Add this line:

export MYVAR=/path/to/whatever

Finally reload .profile

. ~/.profile

or log out and then log in again.

Now start dash with:

sh

or
dash

and type

$ echo $MYVAR
/path/to/whatever


How do I delete my "./.adobe/Flash_Player" folder?

The reason why you didn't found the directory in question ~/.adobe was because all files starting on . (dot) are hidden by default. If you use a File Manager (Nautilus) you can show all the hidden files using Ctrl + H, then look for your directory and delete the file, to hide everything again, just press the same key combination. If you want to delete this file using the console/terminal, you can use rm ~/.adobe/Flash_Player.


I tried to install "ubuntu tweak" but i can't find it now, how to fix this?

As said tweak is not the same as ubuntu-tweak.
I'm using the ppa provided by Ding Zhou:

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


Upgrading Ubuntu Server to a recent version would update PHP too? This result in any problems?

Yes, an upgrade from 10.04 to, say, 12.04 will also upgrade PHP. The PHP version packaged for 12.04 is 5.3.10. If all extensions are installed from the repos, the upgrade shouldn't create problems in terms of PHP functionality per se.

But such an upgrade can create issues with web applications that may use specific functionality. My advise would be to set up a test server with 12.04 and try there any web applications running in the old server before upgrading.


If I use DejaDup to backup to alternating destinations, will its incremental features still work?

Yes, backup #2 will have the file and things will work like you expect.

However!  Note that Deja Dup uniquely identifies the USB drive by filesystem ID so you can't "trick" it in some fashion by merely swapping disks.  You will actually have to change your backup location in your system settings to switch which disk Deja Dup uses.


I am a graphic designer and interface designer who has recently become an Ubuntu user and was pleasantly surprised to find Wacom support built into Ubuntu 14.04 right out of the box. It also appears the driver can even be updated to more current versions than in the official Ubuntu Repositories if desired. In case you were wondering I am using an Intuos tablet, so I suppose I can't vouch for any other of the Wacom products, however I would likely assume that all their products (Minus maybe the centiq? But could be wrong) would work just fine here.


Do I have to uninstall NVIDIA drivers before replacing with an AMD GPU?

Ive seen ram do wierder things.  In this case you are prob looking at the video card as the culprit.  Possibly the controller.  I recently had to add a usb pci card to my machine because the onboard hub has failed.


how I can run an electron app on Ubuntu 18.04 ( I have only the binary )

you seem to have picked up an application meant for Macintosh, it does not work to just copy an Application folder or installed App to ubuntu and try to run it.

the Application has been compiled for a specifict target, it will not work for a whole other target for which there is a whole seperate compilation process.


How do I open Xara Extreme files on Ubuntu 15.10?

You can use the Open Source version of Xara Xtreme known as 'Xara Extreme for Linux' or Xaralx. This installs on Trusty Tahr as follows:

sudo apt-get install xaralx  xaralx-examples xaralx-svg

And in tests on my Trusty Tahr system this both imports and exports .xar files. Screenshot below demonstrating this:

Interestingly enough while xaralx is available and works beautifully under Trusty Tahr it does not appear to be available in either Wily or the upcoming Xenial...

References:

Wikipedia: Xara Xtreme LX
Edit Images In Linux With Xara Extreme


Approach to creating an Ubuntu Appliance

I would have a couple of recommendations, the first being on the security side;

Goto http://www.cisecurity.org/ and download the security guide for Debian and ensure the system has been hardened according to the guide.
For physical systems, goto http://www.geekconnection.org/remastersys to create a customized version of Ubuntu based on your build requirements(development of remastersys stopped).
For virtualization I would create both a VMWare and OVF (Virtualbox).

Hope this helps.


How to resize partition that is inside "Linux LVM" partition

GParted is useless for this. You'll need to either use an assortment of text-mode tools (such as resize2fs and lvresize) or another GUI front-end, such as kvpm or system-config-lvm. I believe that both are available in the Ubuntu repositories. This article I wrote a while back goes into a bit more detail, but stops short of being a step-by-step tutorial.


Add image to 3GP file and convert it to MP4 using avconv por ffmpeg

i find answer ; it is the same thing such as MP3 file , however you should use -oac pcm instead of -oac copy

mencoder mf://myimage.png -o out.avi -ovc lavc -lavcopts vcodec=mjpeg -audiofile myfile.3gp -oac pcm -fps 1/187 -ofps 30

the output file is;

 out.avi


Adding switzerland cran mirror for R in /etc/apt/sources.list

héhé found the answer: just adding 'deb' before the link:

deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu raring/

However, people can simply install directly by running from terminal

sudo apt-get install r-base

it's much easier and worked for me (R installed and works well)


Integrated Webcam Stopped Working Ubuntu 14.04

Install the webcam drivers containing packages:

sudo apt-get install build-essential linux-headers-`uname -r`

If they are already installed, then reinstall them:

sudo apt-get --purge autoremove build-essential linux-headers-`uname -r` && sudo apt-get install build-essential linux-headers-`uname -r`

Then reboot.


Occasionally on startup, there is no WiFi tab in the settings in Ubuntu 20.04.1 LTS

Windows doesn't shut down properly by default. Some wireless adapters, e.g. Intel don't work in Ubuntu in this case.
Disable Windows Fast Startup feature.


convert and rotate video from MOV (iphone) to WMV (windows)

You can do it easily using ffmpeg.

If it is not already installed, install it using apt:

sudo apt-get install ffmpeg

To convert and rotate the file:

clockwise by 90 degrees:

ffmpeg -i input.mov -vf transpose=1 output.wmv

counter-clockwise by 90 degrees:

ffmpeg -i input.mov -vf transpose=2 output.wmv

By 180 degrees:

ffmpeg -i input.mov -vf transpose=1,transpose=1 output.wmv

There are plethora of other options to configure. You can look and tweak them according to your needs, some options to consider closely would be the following video and audio options:

-c:v wmv2 -q:v 4 -c:a wmav2 -b:a 128k

This will give quite reasonable video quality with reasonable audio quality in a relatively small file size...


Dropbox indexing is much slower in Ubuntu than in WIndows

I believe Dropbox re-indexes the files when you switch because it sees that something has modified the indexes when you switch operating systems. Since you are using Dropbox, why don't you just have it manage the filesystems separately -- an NTFS filesystem when you are running in Windows, and an ext4 (or whatever you prefer) filesystem when you are in linux. Mixing the Windows and Ubuntu Dropbox clients on the same filesystem is very likely causing the issue.


Pretty certain that CCleaner DOES NOT perform a defrag, on my Win 7 installations I've used it's sister program Dfraggler for that purpose. More details HERE

From what I've gathered in reading defrag is not a real concern on ext4 file system, however cleaning up clutter and old files is a separate function. You've probably noticed when running BB quite a number of files are eliminated. For my ancient Dell laptop it really makes a difference by using BB frequently.


Unable to sync to ubuntu one with non-sudo user?

There are Ubuntu SSO credentials in the gnome-keyring:

GNOME Keyring is a collection of components in GNOME that store secrets, passwords,
keys, certificates and make them available to applications.
GNOME Keyring is integrated with the user's login, so that their secret storage
can be unlocked when the user logins into their session.

In your case, probably, passwords from gnome-keyring and shadow file are not the same. I.e. this is not an sudo issue.


How can I decrease DASH icon size for 13.10?

I solved this with changing source code of unity and then i built it.

I think this is the only way, but it works.

You can follow: https://unity.ubuntu.com/getinvolved/development/unity/ (read carefully everything is perfectly correct and working, just read..)

When you downloaded the code and tried to build it, and it worked.

Change this line:

  double const DEFAULT_SCALE = 1.0;

to

  double const DEFAULT_SCALE = 0.75;

in file "~/code/unity/trunk/Dash/ResultRenderer.cpp"

Then delete the build folder (if exists) in trunk folder, and rebuild the code.

Building installing and everything else is described on the page i posted.

On my 15.4" notebook with 1366x768 resolution the 0.50 is too small for me.
This changes the icon and text size inside unity dash.

Good luck to everyone, hope that in newer wersion there will be option to scale up/down icon size in dash.


Synapse - can I go to the location of a search result?

Not really sure but last time I used synapse you could use Tab key to select "open with"


How is logging of automatic/schedules scans enabled for clam AV?

A couple of things:

1) ClamTk does not take any arguments like a commandline program would.  Anything added after "clamtk" is assumed to be a file or directory for scanning.

2) ClamTk uses crontab for scheduling.  Open a terminal window and type "crontab -l", and you'll see what you have scheduled.  This should also appear in the GUI.

Hope this helps,
Dave M


Use of home plug in a snapcraft.yaml file

The home plug won't allow access to dotfiles/directories in the host home directory. However it will be able to access the confined home directory - typically /home/$USER/snap/$SNAP/current.


Postfix installed, by mail() in PHP not working

The problem is solved by re-installing (a new version of) PHP. Since no postfix was installed when compiling the first time, the mail() was disabled...


Try renaming the file bark.ogg change the alert sound, and then rename the file back.  All this needs to happen as root.  You may have to restart your machine.

Also make sure that you set the volume past the mid point to get alert sounds to kick in

If that doesn't work, try creating a new entry in Startup Applications, as below.  Use any of the files in /usr/share/sounds/gnome/default/alerts or use your own file, but place it in the same location.

Also see this question

This may or may not work, but its worth a shot.  You can try adding it in the Startup Application preferences.  Go to System Preferences --> Startup Applications and then find the GNOME login sound,

press Edit to change the command

/usr/bin/canberra-gtk-play --id="your file name" --description="GNOME Login"

That's it


Add more applications to the Gufw drop down menu

gufw does not work the way you think it does. It is not an application firewall, it is a front end to ufw which in turn is a front end to iptables.

gufw is not an application level firewall, when you allow an "application" you are allowing access to your local computer.

So when you allow ssh, you are allowing connections to port 22. Apache allows port 80, etc.

In general, if you add a server, it will add to the list so you can then allow access to that service running on your local box.

So for example, I installed the squid server, now I get squid in the pull down menu

sudo ufw app list
Available applications:
CUPS
OpenSSH
Squid

You can define a service in /etc/ufw/applications.d/

ls /etc/ufw/applications.d/
squid  openssh-server  cups

You can define a service if you wish, the syntax is fairly stright forward. Give it an title, description, and define the port.

Using squid as an example:

[Squid]
title=Squid proxy cache
description=Internet object cache (WWW proxy cache)
ports=3128/tcp


xubuntu, language support: cannot drag a language above "English" (which is the safe choice)

You can't place a non-English language after an English language. The simple rationale for this is that English is always available, so it would make little sense to set a non-English fallback language.

To enable Greek as the display language, you need to drag it to the far top of the list in this case.


If you install a local .deb file, dpkg does not automatically resolve the dependencies. To resolve those automatically, you could use gdebi to install local .deb packages. Install it with

sudo apt-get install gdebi

if it is installed, go to the folder where you have the .deb file and type

sudo gdebi skype-ubuntu-precise_4.3.0.37-1_i386.deb

dependencies shoud now be resolved and skype installed.


This question isn't quite as simple as you may think.

First off, MBR and GRUB aren't the same thing. MBR is:

  the information in the first sector of any hard disk or diskette that identifies how and where an operating system is located so that it can be boot (loaded) into the computer's main storage or random access memory. The Master Boot Record is also sometimes called the "partition sector" or the "master partition table" because it includes a table that locates each partition that the hard disk has been formatted into. In addition to this table, the MBR also includes a program that reads the boot sector record of the partition containing the operating system to be booted into RAM. In turn, that record contains a program that loads the rest of the operating system into RAM.

GRUB, however, is:

  a boot loader package from the GNU Project. GRUB is the reference implementation of the Free Software Foundation's Multiboot Specification, which provides a user the choice to boot one of multiple operating systems installed on a computer or select a specific kernel configuration available on a particular operating system's partitions.

A shorter version: MBR is the info on a hard drive that tells the BIOS of the computer what to boot. GRUB is a bootloader, which scans for installed operating systems and presents them in a list to choose among. (Not the best summary, but it should do for now)

  Where is MBR (GRUB) located, it's inside a partition?

Well, it depends. You see, there are actually at least two different ways a hard drive might be set up:

MBR

This was explained above, so I think I can leave it at that.
GPT

This is a newer standard than MBR, although it essentially does the same thing. GPT has more features and is generally more useful than MBR. However, for normal purposes, the two aren't vastly different.

(For a more in-depth explanation of the differences: http://www.howtogeek.com/193669/whats-the-difference-between-gpt-and-mbr-when-partitioning-a-drive/)

There is one difference that is very important to your question, though, and that is (U)EFI. Hard drives using GPT are compatible with EFI. MBR is not, at least not normally.

UEFI presents itself in the form of a small FAT32 partition at the very beginning of the hard drive. Inside this, operating systems that support GPT/EFI place their boot files. If the system the hard drive is on is compatible with EFI, it will first look into that EFI partition and find a boot file to load an OS. There's some sort of priority system that decides what file to boot from if there are multiple options, but I don't really know how that works.

MBR does not make use of this EFI partition. Instead, OS boot files are stored in their respective partitions, and the MBR tells the BIOS what to look for. In the case of GRUB, the normal MBR code gets replaced by the stage 1 portion of GRUB. This then passes off to the stage 1.5 part, which then passes off to stage 2. Stage 2 is the only part of the process on the partition.

This configuration is very different on Windows, but we're not here to talk about Windows.

So, finally, the answer. With both MBR and GPT, deleting just the Ubuntu partition is a bad idea. In both cases, important configurations for GRUB are stored in the respective OS partitions, while most (MBR) or all (GPT) of the actual bootloader is at the very beginning of the hard drive.

Deleting the Ubuntu partition won't delete GRUB, and will instead cause grub rescue to come up instead. This is why there are so many questions about removing Ubuntu and keeping Windows or removing Ubuntu and installing Windows: GRUB doesn't like to let go of the drive.

This leads me to the second part of your question:

  And does it get removed when you format & delete the partitions of Ubuntu?

Through the power of editing and lack of memory, I seem to have answered this above.

You seem to have a bit of a misunderstanding about what MBR is and what GRUB is. Hopefully, I've fixed that and answered your question as well.


Robomongo robo 3t - poorly readable text

After updating Ubuntu 18.04.1 LTS my problem has been solved. I have Robo3T 1.2.1.

Maybe some update of a package.


How can I report a suspected copyright or trademark infringement in a repo-hosted application?

First thing: This is up to the copyright holder to lodge any complaint. You can't do anything because it's (sincerely) none of your business.

If they feel there's a valid complaint, they can contact Canonical (see the bottom for a phone number). A DMCA notice is pointless because it's the wrong jurisdiction, but I'm sure they would listen to sense.

I would imagine the owner should also be taking other civil action against the other project if they feel there has been an infringement.

But as others have said, this is how open source works. If something doesn't work for you, GPL encourages you to fork it and fix it. The basic rules are you just don't use the same name but all that really depends on the license. That appears to be what has happened here... But similarly, this is for the owner to interpret.

Having seen Flavio's post, I'd like to make a few more comments:

Canonical should not be listing this as a proprietary download. You're right there.
Most non-opensourcerers might think blatent copying is evil but they've changed the name and they're working on your code just in their space. I can't see how people would get the two names confused either.
You can pull back fixes into your project from theirs. That's the beauty of GPL - even though they've added code, it needs to be the same license as the original.
However, there is a huge problem: Stroget has re-licensed your project as LGPL3. LGPL is more permissive than  GPL so it's not compatible. They're breaking your license to them.

The relicensing is the only thing you can think to action here (IMO, but remember: IANAL) but it is a significant issue. Talk to the project leaders or contact the FSF.


Cannot boot from LiveUSB: “aufs mount failed”

You can create a livecd Using UNetbootin, download it from the USC, and run it, once it loads you can select the distro you would like to make a livecd of,or of you already have the iso you can choose it, then select your SD card and off you go.

Also you can Install UNR on the SD card , of course if there is enough space for it, and if you have another USB device.

To Install the OS on the SD card this is what i did (you need 2 USB devices or 2 SD card with 4GB+ available):

Create a livecd using UNetbootin
Connect both devices to your PC
Make sure you select the livecd to boot into it
Once you're on the livecd mount the other USB/SD device
Format it to ext4 or w/e Filesystem you want to use
Make Sure that you choose the USB/SD card when asked where to install Ubuntu (i unplugged my HDD's to avoid any confusion, but just by looking at the GB count you'll know )
Now you must wait for it to finish, since it is an SD card it will take like 2 hours or more. (when i installed it, i chose not to install updates or 3rd party , 'cause it's going to take more time)


Cannot open files created on windows in ubuntu

You should have a OneDrive client for Windows installed on your Windows partition, and a different OneDrive client for Ubuntu installed on your Ubuntu partition.  These two clients may be called the same thing, but they are not programmed the same way, so their code is very different.  Your Ubuntu system cannot recognize the information for files or programs created for a Windows environment.  For Ubuntu to be able to open the file, the Ubuntu machine must have a program capable of reading the file.


have you tried using dd command. the usage is sudo dd if=< /path/to/your/iso > of= < /your/target/device >.

let me warn you firsthand, you can recover a partition accidentally deleted but, if you write your iso to the wrong drive using dd, you cannot recover the data from the overwritten partiion.. use it with caution. to find out which device you want to write on, type 'lsblk' in terminal. it will give you the list of devices. for example, if it says that /dev/sdb is 3.73 gb with a partition sdb1, with ubuntu.iso in your home folder, your command should be

sudo dd if=/home/username/ubuntu.iso of=/dev/sdb

if you want to reuse the pendrive, go to gparted and select your device correctly and in menu bar click device >> crate partition table. it will create a ms-dos partition table which is what we need. now, we can create partitions on it. click on new and then select ntfs and name it. i think you can understand the later steps.


Only squares instead of letters and numbers are displayed in my calculator and other apps in Ubuntu 18.04

Correct font permission issues, then rebuild the font cache:

find /usr/share/fonts -type f -exec sudo chmod 644 {} \;
find ~/.fonts -type f -exec sudo chmod 644 {} \;
sudo fc-cache -r -v


How can I fix white characters on menus and the Launcher not disappearing?

This might just be a matter of changed appearance settings. Go to System Settings > Appearance. Then try to change around two things.

To hopefully fix the white characters, toggle with the themes in "Look":

Then to fix the launcher from failing to disappear, switch to the "Behavior" tab and toggle with / set auto-hide the launcher to "On", like it is in the image below:


The problem seems to be with the specific file /etc/grub.d/bin/grubcfg_proxy.
Press Alt + F2 or open a terminal and run gksu nautilus. Browse to /etc/grub.d/bin/ and edit the permissions of grubcfg_proxy.

It should run fine but if sudo update-grub displays error for some other file, repeat the process for that file.


Multiple top panels popping up in the same screen

Looks like a GNOME Shell extension problem, or a theme/icon problem.

Edit your question and show me ls -al ~/.local/share/gnome-shell/extensions and ls -al /usr/share/gnome-shell/extensions. Go to https://extensions.gnome.org/local and turn off ALL extensions, restart GNOME Shell or reboot, and see if your problem is gone.

You indicate that this didn't solve the problem. However, I see at least three extensions that could cause your problem...

drwxrwxr-x  4 tirtha tirtha 4096 জুলাই  31  2019 extra-panels@darkxst.feathertop.org
drwxrwxr-x  4 tirtha tirtha 4096 আগস্ট  20  2019 hidetopbar@mathieu.bidon.ca
drwxrwxr-x  2 tirtha tirtha 4096 আগস্ট  20  2019 hide-top-panel@dimka665.gmail.com

Delete these extensions, and then restart GNOME Shell, or reboot.


How to bypass or stop the very long run times of grub2/os-prober?

os-prober is used to find other operating systems you might have installed on your drives and add them to your grub menu during boot.

If you want to disable os-prober you can edit /etc/default/grub (with root privileges) and add this line:

GRUB_DISABLE_OS_PROBER=true


How to install wireless headset Vengeance 2100

I purchased the headset recently, and ran pactl list cards. This is my result for the relevant USB dongle:

Card #27

Name: alsa_card.usb-Corsair_Corsair_Gaming_H2100_Headset-00-Headset
Driver: module-alsa-card.c
Owner Module: 49
Properties:
    alsa.card = "2"
    alsa.card_name = "Corsair Gaming H2100 Headset"
    alsa.long_card_name = "Corsair Corsair Gaming H2100 Headset at usb-0000:00:04.0-3, full speed"
    alsa.driver_name = "snd_usb_audio"
    device.bus_path = "pci-0000:00:04.0-usb-0:3:1.0"
    sysfs.path = "/devices/pci0000:00/0000:00:04.0/usb4/4-3/4-3:1.0/sound/card2"
    udev.id = "usb-Corsair_Corsair_Gaming_H2100_Headset-00-Headset"
    device.bus = "usb"
    device.vendor.id = "1b1c"
    device.vendor.name = "Corsair"
    device.product.id = "1b1b"
    device.product.name = "Corsair Gaming H2100 Headset"
    device.serial = "Corsair_Corsair_Gaming_H2100_Headset"
    device.form_factor = "headset"
    device.string = "2"
    device.description = "Corsair Gaming H2100 Headset"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-headset-usb"
    device.intended_roles = "phone"
Profiles:
    input:analog-mono: Analog Mono Input (sinks: 0, sources: 1, priority. 1)
    output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority. 6000)
    output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (sinks: 1, sources: 1, priority. 6001)
    output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority. 5500)
    output:iec958-stereo+input:analog-mono: Digital Stereo (IEC958) Output + Analog Mono Input (sinks: 1, sources: 1, priority. 5501)
    off: Off (sinks: 0, sources: 0, priority. 0)
Active Profile: output:analog-stereo+input:analog-mono
Ports:
    analog-input: Analog Input (priority: 10000, latency offset: 0 usec)
        Part of profile(s): input:analog-mono, output:analog-stereo+input:analog-mono, output:iec958-stereo+input:analog-mono
    analog-input-microphone-headset: Headset Microphone (priority: 8700, latency offset: 0 usec)
        Properties:
            device.icon_name = "audio-input-microphone"
        Part of profile(s): input:analog-mono, output:analog-stereo+input:analog-mono, output:iec958-stereo+input:analog-mono
    analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-mono
    iec958-stereo-output: Digital Output (S/PDIF) (priority: 0, latency offset: 0 usec)
        Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-mono

This product is not purely plug-and-play. In order to get an audio output, I had to open System Settings > Sound and manually change the output to the Corsair headset. It's a simple fix, but it's something that many could overlook.