Please recommend an XML traffic capture and web debugging tool

You say "Fiddler" but then link to a "comparison of packet analyzers".

If it is just packet analysis you need, wireshark is the only one I've used, heard, or seen written about. If you need the "man in the middle" packet alteration of Fiddler, I can't advise you.


what is the code to disable "open file" under menu tab in Firefox userChrome.css?

Use

#menu_openFile { display: none !important }

in userChrome.css. Keep

@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

as the very first line.

Exactly the same process is used to remove Email links ...

Add

#menu_sendLink { display: none !important }

to remove that:

After making the change to userChrome.css and restarting the browser, we see that Email link ... is removed:


The equivalent application should be KLatexFormula, which can be installed by

sudo apt-get install klatexformula

But if you have a recent enough Ubuntu, the current version (3.2.7) triggers a bug that makes it unusable, which is fixed in 3.2.8, but it is not available at this date.

You can probably compile it from source following the instructions, I have not tried.

I have submitted a bug report.

UPDATE --- there is already (two hour after the filing of the bug!) a fix filed  for Trusty that should fix the problem. Thanks to the developer.


pip3 not working on ubuntu 20.04: "has no attribute 'SourceFileLoader'"

I recently experienced this with Ubuntu 20.04 LTS as well. After lengthy troubleshooting, I was able to resolve this by running:
python3 -m pip install --upgrade setuptools


Can you run Compute Benchmark (GPU) using Geekbench 5 on 20.04?

It looks like you're using a demo version of Geekbench5. GPU benchmarking is a Geekbench5 Pro feature. Using the Pro version:

Run geekbench5 --compute-list to get a list of available GPU tests.
Run the desired GPU test with geekbench5 --compute <test>

From the Geekbench5Pro CLI Specification:

You can view the Compute API available on your system with the following command:
geekbench5 --compute-list

You can then select one Compute API to run a benchmark with. For example, we can run an OpenCL Compute benchmark on a system that supports OpenCL with the following command:
geekbench5 --compute OpenCL

If you have multiple GPUs which support the same Compute API, you can differentiate between them with the platform and device ID numbers that appear before the GPU's name after running geekbench5 --compute-list. For example, if the output of geekbench5 --compute-list contains two devices under OpenCL, including 0 1 AMD Radeon VII, you can run the OpenCL benchmark on the Radeon VII with the following command:
geekbench5 --compute OpenCL --compute-platform-id 0 --compute-device-id 1


Uploading to my local server is slower than downloading from the Internet

Transfer speeds are hindered by three factors. Bandwidth, Protocol, and Disk speeds.
Bandwidth
This really doesn't seem to to be the issue - as you've mentioned you're on a LAN - ideally there isn't much to go wrong on a LAN except for other users taking more bandwidth on the network or poor reception (be it WIFI or long distance cable).
Protocol
This is where more overhead comes into play. You compared speeds of Bittorrent and SFTP - well those protocols differ extremely. Bittorrent is a highly compressed, multi-threaded, multi-seed (multi-peer) file transfer protocol. SFTP is FTP over SSH which can add some overhead especially when paired with and Bandwidth issues.
Disk
Hard drives are the last thing people suspect with talking about download or upload speeds. However, you can only save (and write) data as fast as your hard drives can spin (unless you're using an SSD (Solid State Disk) in which case this does not pertain to you).
I noticed you mentioned that you can download from Bittorrent to your laptop and experience poor uplink speeds to your server. Have you tried to run speed tests from Internet to your home server? That should help you benchmark speeds from "Internet" to server. Secondly, ensure you don't have any other major traffic on your network when you're running these tests (like having Bittorrent open) as it'll produce invalid results.


how to have a clock indicator highly visible?

Use Conky.

It provides a few themes by default and more themes can be downloaded and installed.

Follow these steps:

1) Install Conky Manager, which provides a GUI that allows you to easily manage Conky configurations:

sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install conky-manager

2) Create a conky config file this way:

$mkdir -vp ~/.conky/SimpleDateTimeClock
$cat >~/.conky/SimpleDateTimeClock/SimpleDatetimeClock.cfg

and paste this on it:

use_xft yes
xftfont Sans:style=Bold:size=10
own_window yes
own_window_hints undecorated,above,sticky,skip_taskbar,skip_pager
own_window_colour darkblue
gap_x 10
gap_y 30
alignment top_right

TEXT
${color white}${execi 1 date +"%H:%M"}${color grey}${execi 1 date +":%S"}${color yellow}${execi 1 date +" %d"}${color cyan}${execi 1 date +" %b"}

Important: there must have no NEWLINE character at the last line or it will be rendered on conky. So the last line must be the one of execi commands.

This minimal config is based on this example.

3) Activate it on Conky Manager, and on its settings, enable the clock to be run on startup.


symbol 'grub_isprint' not found, error on boot, cannot use computer

I reported a similar issue here: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1289017


Your solution will probably work okay. You just need to make sure that Apache is able to read the files in /var/www.

As an alternative, you can always install apache2-mpm-itk, which will allow you to configure virtual hosts running as users other than the one that Apache runs as (normally www-data). More info about apacke2-mpm-itk here.


First enter a terminal session by pressing Ctrl+Alt+T, then use the cd command access the directory the file is saved to, such as:

cd /path/to/download/directory

Then you need to apply the execute permission to the file so that you can run the file:

chmod +x Godot_v2.0_alpha_20150930_x11.64

Now all you need to do is run the file with:

./Godot_v2.0_alpha_20150930_x11.64


For always placing certain windows on certain desktops, I recommend Compiz's Place Windows plugin. It lets you assign windows to desktops based on window name or class.

To access compiz settings, install the settings manager:

sudo apt-get install compizconfig-settings-manager

Now run command "ccsm". This'll open advanced settings for the Compiz window manager (don't worry, the settings manager is clear enough that you won't screw up your system unless you're really trying ;).
Just scroll down or search for "Place windows".
Go to tab "Fixed Window Placement". Under "Windows with fixed viewport", click "new".
Add a new window to the set by clicking the plus sign.
You can select a window based on class (which application it belongs to), role (which window of a certain application), etc.. You can play around with this until you get a feel for it. To fill in the value, use grab and click the crosshairs on the window you want to select. I've found that grabbing a window title doesn't work, but you can always fill it in by hand.
When you have the window you want, fill in the X and Y coordinates of the desktop to assign it to. Voilá! The window will not open on that desktop by default (but you can still move it after it's been opened).

Having certain applications launch at startup is even simpler: just open unity and search for "Startup Applications". Here you can add every application that you want launched after you login.

Note: depending on how fast your application launches at startup, it may launch before Compiz is ready, in which case it will not be placed on its assigned desktop, but on the first desktop instead. I've been looking for a solution to this myself. Maybe it's as simple as using "sleep 3 && /usr/bin/myapp" instead of "/usr/bin/myapp".


What's the right way to access logs for my user

If you created the user yourself, add it to the adm group:

sudo adduser schumi adm

This will let the user read most of those logs.


Wireless disabled and cannot scan any network in Ubuntu

You have an RTL8822CE device that is not supported out of the box yet.
Get an internet connection by other means, e.g a phone connected to USB and install a driver this way:
sudo apt update
sudo apt install git dkms
git clone https://github.com/lwfinger/rtw88.git
sudo dkms add ./rtw88
sudo dkms install rtlwifi-new/0.6

If the Wi-Fi doesn't work, you may need to blacklist the in-tree module.


Broadcome Broadcom 802.11 Linux STA wireless driver problem

Try installing:

sudo apt-get install firmware-b43-installer


Why ufw is blocking my outgoing traffic?

You need to allow established traffic back in.

At the moment your machine is trying to do a DNS lookup for www.google.com but it is never getting the result as the traffic back from the DNS server is being blocked.


How do I install adobe flashplayer in ubuntu 16.04?

You won't be able to install it from that site. I believe Opera has pepper-flash built in which is a more up to date version then the one officially supported from Adobe.

If you still need to install it then add Canonical Partners to your software sources. To do this, go to System Settings, then open Software & Updates and on the tab "Other Software" make sure Canonical Partners is ticked. Then proceed normally with:

sudo apt update
sudo apt install adobe-flashplugin


GRUB2 - Create 2nd boot entry with different kernel command line options in GRUB_CMDLINE_LINUX_DEFAULT

I solved this with rerunning /etc/grub.d/10_linux from /etc/grub.d/40_linux, and picking off the menu entry.

First part is /etc/grub.d/40_linux

#!/bin/sh
. /etc/default/grub
export GRUB_DISABLE_RECOVERY=true
export GRUB_DISABLE_SUBMENU=y
export GRUB_CMDLINE_LINUX_DEFAULT=$GRUB_CMDLINE_LINUX_DEFAULT_ALT
/etc/grub.d/10_linux | python3 /usr/local/bin/extract-menuentry.py

So, I can rerun the 10_linux with alternate command line.

Put in the GRUB_CMDLINE_LINUX_DEFAULT_ALT in the /etc/default/grub. (In my case, "aufs=tmpfs")

And wrote a python script to pick off the menu entry. (in /usr/local/bin/extract-menuentry.py in my case.)

#!/usr/bin/env python3
import os, sys, re

menuentry_start = "menuentry"

def extract_menuentry(infile):
  in_menuentry = False
  for line in infile.readlines():
    if in_menuentry:
      if line.strip() == "}":
        in_menuentry = False
        print(line.rstrip())
        pass
      else:
        print(line.rstrip())
        pass
      pass
    else:
      if line.startswith(menuentry_start):
        in_menuentry = True
        match = re.search(r"menuentry '[^']+' (.*)", line)
        print("menuentry '%s' %s" % (os.environ.get('GRUB_ALT_NAME', 'Ubuntu alt'), match.group(1)))
        pass
      pass
    pass
  pass

if __name__ == "__main__":
  extract_menuentry(sys.stdin)
  pass


changing rights of /.gvfs not implemented. How to resolve it?

find ~/ -mount ! -user $(whoami) requires `sudo so ...

sudo find ~/ -mount ! -user $(whoami)

.gvfs needs to be owned by root so the notice is correct. The command though should not be run like that. Please follow the other answer https://askubuntu.com/a/876022/15811 if you only have problems with firefox.

Regarding 1:

$ find . -mount ! -user $USER
./.gvfs
find: `./.gvfs': Permission denied
./.config/enchant
find: `./.config/enchant': Permission denied
./.dbus
find: `./.dbus': Permission denied
./.cache/dconf
find: `./.cache/dconf': Permission denied

~$ sudo find . -mount ! -user $USER
./.gvfs
./.config/enchant
./.config/enchant/en_US.exc
./.config/enchant/en_US.dic
./.dbus
./.dbus/session-bus
./.dbus/session-bus/b9a307ab19d1c2845bf0bf9854f87478-0
./.cache/dconf

This is normal and should not be changed. If you see any other directories (and in your case that would be .mozilla you can change the owner and user with the 2nd command but I would then not do it on your home but the actual directory).


Samba free space issue, dfree command not being called

You can find description here and risky workaround:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1310792


keyboard layout settings in ubuntu 13.10

I found that the similar options are available in Ubuntu 13.10 installing the Tweak Tool - Tweak advanced GNOME 3 settings from the Ubuntu Software Center.


New install 12.4 LTS no network conncections

found some links who have same problem like you and their problem solved but its fof ubuntu 11.04 versions i think they work for 12.04 too

http://blog.tech4him.com/broadcom-wireless-on-ubuntu-11-04-and-11-10/

northd_tech solution at end of page in
http://ubuntuforums.org/showthread.php?p=11203404#post11203404

but first you can try getting drivers from additional drivers(to see if open source drivers are available) or reinstalling the os to see whether they work after reinstalling


Why does the status availability icon get stuck with three dots when logging in?

Do you have Skype chat enabled in Empathy? I am getting this behaviour, and have narrowed it down to the Empathy skype plugin, by enabling and disabling my different chat accounts, and then waiting for my computer to become 'idle'. The problem seems to disappear when I disable skype chat. Htorque mentions that this means that the system cannot determine one's status. So presumably, there is a bug with the Empathy skype plugin that prevents Empathy from guessing the status of Skype? (just guessing here)

Steps to reproduce the bug:

install pidgin-skype from the software centre and restart Empathy
enable skype chat in Empathy: first, launch the Skype app and log in, then back in Empathy choose Accounts> Add...> protocol=bigbrownchunx, enter your skype user name, play around with the options in case of errors.
Then to test, search for Screensaver in the Dash, select, remove the option to activate the screensaver, and set 'idle time' to 1 minute. Wait for one minute: does the icon with three dots pictured above appear?

I have reported this as bug in pidgin-skype at Launchpad: bug #794191.


Qt library: linked by ld.so.conf.d/qt.conf but were not found by installation package

I think you're confusing libraries with packages

When you install a package like rthlibs via the apt package management system, as far as I know it doesn't look directly at what individual libraries you have installed on the system - instead, it looks at what prerequisite packages you have already installed. So, for example, if you installed the Qt5 libraries by building them from source, then apt-get will not know that those dependencies are satisfied, and will still want to install the packages listed in the 'depends' section of the rthlib package. If those packages contain versions of libraries that conflict with the ones already on your system, then apt-get may not be able to resolve those conflicts and the installation will fail.

Also, 'linking' has a specific meaning in relation to libraries - ldconfig doesn't actually link anything, it just tells the dynamic loader where to look for the specified libraries.


On Ubuntu 19.10's guest virtual machine, the login screen does no longer show up after installing VirtualBox Guest Additions, on host Arch Linux

Had a similar issue after updating and installing Guest Additions.  Found that if I set the VM to VMSVGA, the login screen shows up and everything seems normal.


Installing source code in a package manger

A "package manager" does not take a source tree and excrete packages. A package manager (apt+dpkg in our case) literally stores a list of available packages, their URLs and their dependencies, as well as keeping track of what is already installed.
The packages are produced by compiling and then packaging. This can either be done by hand (as you start to mention)...
Or by creating a build recipe which instructs Launchpad on how to build and package your source. The advantage of the second is Launchpad can keep updating and keep building as the source changes.
What I've just described is completely non-beginner stuff. You need to learn certain elements of Launchpad (creating a LP branch and PPA, importing the github code, creating the recipe and snaggling all that together)
./configure, make and then sudo make install (or sudo checkinstall) is by far an easier way to get an application built and installed. If you use checkinstall you'll even have a package built to make removing it or upgrading slightly easier.

I know that doesn't really answer everything, but it does answer some of it. I believe just a bit of checkinstall should get you to a happy middleground without having to learn the Debian Packagers' Handbook.


Looks like you're trying to install a snap as root. Don't do that. Snaps are installed under a typical user account.

Open Terminal (if not already open)

Install the snap:
$ snap install mysql-workbench-community

Let it install, then output this message:
mysql-workbench-community 8.0.22 from Tonin Bolzan (tonybolzan) installed

Confirm it's available to run:

Start the snap:

Note: Starting seems to be painfully slow (~30 seconds).

I just went through all the steps to confirm the snap was still available and operational. Currently running Ubuntu 20.04.1 on the machine that did the work


Occasional dmesg log "NOHZ: local_softirq_pending 08"

Add nohz=off to the kernel parameters during boot to disable it.

  This option causes RCU to attempt to accelerate grace periods
  in order to allow CPUs to enter dynticks-idle state more
  quickly. On the other hand, this option increases the overhead
  of the dynticks-idle checking, particularly on systems with
  large numbers of CPUs.

You seem to be affected by the bold part.

More reading ...

phoronix about tickless kernel
And a topic on SO explaning it pretty thorough.


Is there any programs for Ubuntu that will track a certain face that I want to track

Have you tried installing this open-source facerec software, the detailed documentation including a few examples are also given on their GitHub page.

This project implements face recognition algorithm for MATLAB/GNU Octave and Python.


Java install does not work - no such file or directory

It appears that this is a 32 bit executable even though it is from a 64 bit jdk for Linux.
I found the solution here:
No such file or directory? But the file exists!

Using file suggested by Gilles confirmed the problem.
The answer by Avinash Raj was specific and fixed my install.


High load (and high temp) with idle processes

If you provided an output of a "typical" uptime and top, we might be able to help more.

Apart from that, I would suggest trying powertop: it analyzes the CPU load, gives you an overview of the most demanding processes, and even suggests what to do to reduce power consumption/CPU load.


Create /etc/xdg/autostart/unity-reset.desktop file, either as root (login with sudo -i) or simply do sudo gedit /etc/xdg/autostart/unity-reset.desktop and put the following information there

[Desktop Entry]
Name=unity-reset
Categories=Application
Exec=sh -c 'yes "yes" | unity-tweak-tool --reset-unity'

Terminal=false
Type=Application

This way you don't have to run unity reset every time, but it will do it for you


For anyone who occurs an issue like this, fn+f6 is the cause of this issue. For whatever reason fn+f6 makes your super key require fn+win instead of just the win key. I have zero clue why this happens or for what reason but if anyone is using an alienware laptop (not sure if its all alienware or all dells) and runs into this issue, fn+f6 fixes this issue.

Does anyone know what the reason for this is or if this is a known thing and im just stupid... I've never owned a alienware until this laptop so Im still working on getting over dells quirks.


Apparmor profile for Chromium browser to read from VirtualBox shared folder

AppArmor profile for Chromium browser needed customization by applying procedure shown below in order for Chromium running on Bionic Beaver virt. machine to be able to access host machine (hypervised by VirtualBox) shared folder.

$ sudo touch /etc/apparmor.d/local/snap.chromium.chromium

$ echo "/media/sf_exchange/ r," > /etc/apparmor.d/local/snap.chromium.chromium
$ echo "/media/sf_exchange/** r," >> /etc/apparmor.d/local/snap.chromium.chromium
$
$ sudo cat /etc/apparmor.d/local/snap.chromium.chromium
/media/sf_exchange/ r,
/media/sf_exchange/** r,

Followed by sequence

$ sudo apparmor_parser -R  /var/lib/snapd/apparmor/profiles/snap.chromium.chromium
$ sudo apparmor_parser     /var/lib/snapd/apparmor/profiles/snap.chromium.chromium -a

However, just

$ sudo apparmor_parser     /var/lib/snapd/apparmor/profiles/snap.chromium.chromium -r

instead of two former commands should help too if only my apparmor understanding is correct.
Profile file located in /etc/apparmor.d/local/ overlay profile provided by Ubuntu package and stored to /etc/apparmor.d/local/.

No modifications were necessary for other Chromium appsarmor profile:

/etc/apparmor.d/usr.bin.chromium-browser

as

sudo aa-status
...
10 processes are in enforce mode.
   snap.chromium.chromium (5871)
   snap.chromium.chromium (5984)
   snap.chromium.chromium (5986)
   snap.chromium.chromium (6010)
   snap.chromium.chromium (6015)
   snap.chromium.chromium (6165)
   snap.chromium.chromium (6178)
   snap.chromium.chromium (6198)
   snap.chromium.chromium (6209)
   snap.chromium.chromium (6212)
...

Please inform if found and applied approach needs improvement or optimization.


How to install Code Composer Studio on Ubuntu?

I had exactly the same error, after some research I found a forum of IT that the problem was with the 64-bit eclipse.
CCSv5 not support 64-bit.
The version of Eclipse with that achieved following the installation guide was this: (OESP-juno 3.8),
I'll pass the link
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index-086738.html

Good luck.
regards,
Martin.


What is the meaning of "drwxrwxr-x" and "drwxr-xr-x"

Those are the file access privileges.

The first character d tells you that it's a directory and not a regular file.

The next 3 characters tells you that the owner has write, read, and 'traverse' privileges on this directory.

The next 3 are the permissions for group ownership. Anyone that belongs to the group has the privileges that are shown in these 3 characters. In this case, the r-x means that anyone belonging to the group can read and traverse the directory(s) but cannot write to them.

The final three characters are permissions for anybody else. Here again this says that anyone can read and traverse directory(ies) but not write to them.

The 'x' on a directory does not refer to execute. The 'x' bit has a different meaning. "You cannot traverse the directory if the x bit is not set" but that's so confusing. Best to see what happens when you try. With a directory z with file y in it and x bit set, you can do an

ls z

and see y. You can do an

ls -l z

and see y's information. You can

cd z

With 'x' bit not set, and you do an

 ls z

you see that y is there but get

  ls: cannot access 'z/y': Permission denied

When you do

ls -l z

you get the same error message but see a line that looks like

  -????????? ? ? ? ?            ? y

i.e. you cannot see anything but the file name. You also cannot

cd z


000 permission for a single file is not working well

What's wrong?

Nothing. Removing all permissions from a file does not prevent deletion or renaming - those are controlled by the permissions of the containing directory (Desktop, in this case). If you want to prevent deletion or renaming, remove write permissions from the directory:

chmod a-w Desktop

Or make the files immutable:

sudo chattr +i Desktop/*.gif

rm will ask you if you want to delete an immutable file, but it can't:

$ rm foo
rm: remove write-protected regular file ‘foo’? y
rm: cannot remove ‘foo’: Operation not permitted


"Command not found" after running a file compiled on the same directory

You need to actually run the file:

Make sure the file is executable (you can learn more about file permissions here). If gcc succeeds in linking it should already be executable (thanks @steeldriver):

chmod +x remvocals

Execute the file:

./remvocals


Is there a terminal logout that does something like what GNU Screen does?

byobu is based on screen ; it has a menu option to make it your default shell.

You can either exit as normal or detach with alt-A, D as you would with plain screen, and your session will be waiting when you log in again.

In addition it adds a number of keys for terminal management, F2 to create a new terminal, and F3 and F4 to move between windows, and a status bar with a number of useful indicators like outstanding package updates.

It's installed by default on Ubuntu Server builds, and rapidly becomes my default terminal on most servers I manage.

As I said, byobu depends on screen to work though... I'm not aware of any way of resuming a session other than having a process stay running on the target machine.

Edit : byobu will also wrap tmux (which is the default on newer versions of Ubuntu). You don't have to do anything in most cases - it will just use the default terminal multiplexer.


Xdg-open doesn't do anything, Zoom in Chromium,

I just came across this, for some reason on another ubuntu install this works flawlessly and on this new ubuntu install it does not.

It seems it because of the way that snapd works:
https://bugs.launchpad.net/snapd/+bug/1776873

There is a comment on the bug that mentions a possible fix:
https://bugs.launchpad.net/snapd/+bug/1776873/comments/36

But the easier solution might be to install chromium from the repos and not from snap install (software centre). I uninstalled chromium snap and installed the chroumium found in the normal apt repo. The zoom install I used is first the one offered by zoom the company (a deb package) and the snap install found in the software centre. They both seem to work the issue being confirmed the chromium snap install being secure.

To remove the snap install:

$ snap remove chromium

To install the package manager version:

$ sudo apt install chromium-browser

This save the step of having to copy and past the meeting id and password into the meeting. The above works in a fresh install of ubuntu 18.04


Bash script to open multiple terminal widows?

This little script should be helpful:

#!/bin/bash

for i in {0..19}
do
    xterm &
done

Explanation:

{0..19}: number range from 0 to 19 to give total of twenty
xterm &: opens terminal and allows you to detach from the original terminal


I was experiencing something similar. I installed a PPA and then rebooted. Installing third party PPA's should be used with caution. The kind person from #ubuntu from FreeNodes told to install the repository listed below, but was quick to tell me to install 'ppa-purge', should the newly added repository not work out.

The following commands were what I used to fix the problem:

sudo add-apt-repository ppa:jamesf/lenovofixes
sudo apt-get install trackpoint-psmouse-reload touchpad-togglekey

After those were installed, and a reboot, the trackpad worked for me.  Just for completeness sake, I have a Lenovo x230 with Ubuntu 12.04 installed.

uname -a gives:

Linux XXX version 3.5.0-41-generic #64~precise1-Ubuntu SMP Thu Sep 12 16:50:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


editing videos avoiding change in format and resolution

Parts of this answer comes from: Downsize video for use on Android phone

It is about the bitrate itself. You can change it in kdenlive by creating a new custom render profile.

Transcoding will reduce the bitrate as in your case, thus the file size, but preserving the video scale/aspect ratio/size. Anyway, reducing the bitrate may harm quality if you exceed the limits.

Once understood the last, if you increase the bitrate, preserving the video scale/aspect ratio/size, you will get better quality but also a bigger file size.

Follow the instructions in this kde wiki/manual related to Create custom render profiles in order to learn how to add a new profile to the list, after which you can include the details of your profile. Make sure you add the maxrate value in order to be able to include your desired maximum bitrate and this way get the best quality in kdenlive.

As recommended in the wiki page, I suggest you to also take a look at the Render Profile Parameters - How to read them so that you can be able to add the proper parameters to your new profile.

Anything above 10000kbps should give you a good quality video file but you may wish to go for 15000k, 25000k or so in order to get broadcast quality.

BTW: You can also change the video and audio bitrates separately if you wish in order to keep sound quality.

Good luck!


libcap-dev (both 32 and 64 bits) are available in Ubuntu 14.04's main repo.

$ apt-cache policy libcap-dev:i386
libcap-dev:i386:
  Installed: (none)
  Candidate: 1:2.24-0ubuntu2
  Version table:
     1:2.24-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

I think you have not enabled the multiarch support leading to that error about non-existent package.

To enable multiarch support for i386 architecture so that you can install 32 bit packages on your 64 bit system :

sudo dpkg --add-architecture i386

Now run :

sudo apt-get update

Now you should be able to install libcap-dev (32 bit) :

sudo apt-get install libcap-dev:i386


Don't permit root login. That is like wearing a 'kick me'  sign. Transfer files as a regular user.

Appears to me your code has some gibberish, you are pasting together advice from different sources. The last 2 lines betray you there. These are old style service launchers. In current Ubuntu, you'd run

sudo systemctl start ssh

Since you mention ufw, it makes me wonder if you are also running other security. If you have fail2ban, then your SSH login might be blocked by your security because you have too many failed tries. If you did some cutting and pasting in /etc/hosts.deny, that could cause same effect.

Here is what I would do. Suppose you are logged in as user@home.com and you have account same user name on other system. Maybe if you are playing in 2 systems at home, you have IP numbers like 192.168.0.1 instead of system names. I guess the numbers are more likely.

On other system, Turn off UFW and other blockages like fail2ban, then  go to your user@home.com system.  Try

ping other.system

To make sure connects are ok

ssh user@other.system

To prove login works. Then log out, try

scp file.txt user@other.system:

That will copy file.txt to other system. Then login again over there an make sure file is there.

Keep it simple, don't copy/paste code you don't understand from websites.

While on the other system, do the UFW config. Do not run iptables directly. UFW is a simple interface to iptables firewalls.  Turn on the UFW firewall again. Log out. If you strangled yourself with errors in iptables, perhaps this is bad enough to warrant a restart.

Try to log in again. If rejected, then your UFW setup is bad, have to walk over to other system, try to fix over there, you are not allowed to log in.

Please note here that the ssh programs on home.com are needed, but at this stage you do not need change the config. Outgoing ssh is generally configured sufficiently. On other system, config generally does not need alteration. You make a disastrous mistake by allowing root login, don't cause trouble for yourself.

I realize that if you have account named "user" on both accounts, it is not needed to type "user@" in these commands. I write this for clarity to new users.

If problem is that fail2ban is blocking you and your user is in jail, I wrote notes on how to clear it a few years ago (http://pj.freefaculty.org/blog).

I suppose my 'old man' message is try to understand lines you run, and be more careful about copying instructions for other distributions or times.


Does Ext4 stores owner and group names? Or only IDs?

Ubuntu has a set of standardized usernames, UIDs, groups and GIDs. These are provided by the base-passwd package. See my answer on Unix & Linux (or /usr/share/doc/base-passwd/users-and-groups.txt.gz) for more information on those.

As for the filesystem, it stores UIDs and GIDs. The mapping between names and IDs are done by Name Service Switch (NSS) using the passwd and group databases. Unless you have the same mappings, the same UID might show up as different usernames on different systems.

If user a has UID 1000 on one system and creates files belong to it, and the filesystem is mounted on another system with b having UID 1000, then the second system will show b as the owner.


How to install OneDrive on ubuntu 13.10 x64

You can't. One drive is a Microsoft service and, oddly enough, they don't support Linux but only Windows and OSX. Apparently, there is a project to port it to Linux which looks like it's worth trying, but it is still under development.

In the meantime, I recommend you use another cloud storage service, there are various that have Linux versions. See, for example, here and here.


After much searching, I just performed the following steps:

Install the kyodialog3.pt_0.5-0_amd64.deb drive (or your printer's specification - http://www.kyoceradocumentsolutions.com)
Open the file by using Vim, /etc/cups/ppd/Kyocera-TASKalfa-255-KPDL.ppd - IMPORTANT: I do not know exactly why, but do not use Sublime or Gedit because they can not display the contents of the ppd file.
Look for the line

*% KmManagment
*OpenUI *KmManagment/Job accounting: PickOne
*OrderDependency: 60 AnySetup *KmManagment
*DefaultKmManagment: Default
*KmManagment Default/Off: "0"
*KmManagment MG00000000/00000000: "(00000000) statusdict /setmanagementnumber get exec"
*KmManagment MG00000001/00000001: "(00000001) statusdict /setmanagementnumber get exec"

...

*?KmManagment: "0"
*End
*CloseUI: *KmManagment

Change the line below by entering the ID of your work account

*DefaultKmManagment: MG00000000
*KmManagment Default/Off: "0"
*KmManagment MG00000000/YOUR_ACCOUNT_ID: "(YOUR_ACCOUNT_ID) statusdict /setmanagementnumber get exec"

Restart the cups service

sudo service cups restart

I hope I have helped.

References

http://pengelly-info.blogspot.com.br/2011/10/printer-setup-for-linux.html
http://article.gmane.org/gmane.comp.printing.cups.general/20509
http://abaqueiro.blogspot.com.br/2011/07/set-up-kyocera-mita-1820-in-ubuntu-1004.html
Kyocera job accounting and document box

:)


How to remove PostgreSQL 8.4 completely?

Assuming it's installed from packages,

sudo apt-get remove postgresql-8.4

Or does that not work and you need something more involved? Please post more details if so.

You can get a list of relevant packages to look at removing with:

dpkg -l | grep postgresql


Backup and restore whole system with TAR issue

Simply add -p in your tar command.

-p, --preserve-permissions, --same-permissions
                             extract information about file permissions
                             (default for superuser)


Lenovo's disable touchpad button not working

It does not work for me too(Ubuntu 13.10 Sony Vaio).

But I use following command(with shortcut key)

First determine the device id

xinput list

Then disable it, (this command as shortcut key action)

xinput set-prop 15 "Device Enabled" 0

Replace 15 with your device id.

SOURCE : https://help.ubuntu.com/community/SynapticsTouchpad


Run fsck -y  /dev/mmcblk0p2 at the prompt.


Epson Stylus NX420 - Scanner fails, prints OK

Try this post. Seems like the user was able to get things working.


How can I remove incomplete kernel installation in Ubuntu 16.10?

OP solved their own problem (edited into an answer from comments)

  I solved it using this thread on Ubuntu
  Forums

dpkg --get-selections >~/Desktop/bad-install
gedit ~/Desktop/bad-install

  erase the line(s) with the name of the program(s) that you couldn`t install properly from the file and
  save it, then run:

  sudo dpkg --clear-selections
  sudo dpkg --set-selections <~/Desktop/bad-install
  sudo apt-get -u dselect-upgrade
  sudo update-grub

  And that`s all. Issue fixed. :)


Ubuntu does not recognize external monitors when attached through docking station

Posting as posted by "danzel" in comments above. All credit to the guy. Hence posting this as a guest:
"USB 3.0 docking stations in most cases use DisplayLink hardware for video output. You can find the necessary drivers and installation instructions here. "


Your requirements #5 (no third-party/cloud storage) and #6 (no
IP/hostname disclosure) are in mutual conflict: to transfer a file to
a remote computer, you either make a direct connection or you don't.
If you do, the remote end will have your IP address (just because of
the way TCP/IP works); if you don't, then by assumption you are
relaying on a third party to do the transfer and they have to store
your data.

That said, there are a few approximations to your request.

F*EX: using web-based 3rd party transfer

The F*EX server was born exactly
for this purpose.  From the fex package description:

  F*EX (Frams's Fast File EXchange) is a service that can be used to allow users anywhere on the Internet to exchange very large files quickly and
   conveniently.

  The sender uploads the file to the F*EX-server and the recipient automatically gets a notification e-mail with a download-URL.

  Main features of F*EX:

  file transfer of virtually unlimited file size
  sender and recipient only need an e-mail program and a web browser (of any kind; they do not have to install any software)
  [...]
  maintenance-free: no administration necessary beyond creating new F*EX accounts
  multiple recipients only require one stored copy
  F*EX uses HTTP and needs no firewall tunnels
  shell clients provided for commandline users: fexsend and fexget. (fex-utils package)

As far as I understand, F*EX does not do encryption natively, but you
can just encrypt the file you want to send with GPG.

The F*EX server is entirely opens-sourced, so you just install and run
it on a server you trust.

The FEX homepage explains in detail
how FEX compares with other file transfer services and protocols.

sendfile: asynchronous file transfer across UNIX computers

The sendfile command has been
around for about 10 years: you install it and and the accompanying
daemon on both the sending and the receiving end, and then the
transfer is as easy as typing:

sendfile a.file user@otherhost

In addition, sendfile can automatically encrypt the file using GPG
(look for the -pe and -ps options).

Since this makes a direct connection, however:

the receiving computer must be up and running at some point,
it will have to be able to accept connections on the sendfile port, which means it should be reachable through a public IP
it can log the senders' IP address

sendfile
was written by the same authors of F*EX (see above), and they explain
the reasons why they chose to switch to an HTTP-based 3rd-party
service on the sendfile homepage

do-it-yourself: use nc

It's relatively easy to do the file transfer using only
netcat.

On the receiving side, you run:

nc -l 9999 > myfile

After that, on the sending side, you run:

nc otherhost 9999 < myfile

As usual, you should encrypt the file with GPG before sending (or you
can do that on-the-fly with a pipe, if you are confortable with the
shell). You can substitute the 9999 with any other valid port
number (for instance, to make several transfers at once).

Disadvantages:

coordination: you must issue the two commands on the two ends in the right order, so both the sender and the receiver must be online at the same time, and they must coordinate over, e.g., a chat or telephone line.
it will have to be able to accept connections on the 9999 port, which means it should be reachable through a public IP
the receiving end can log your IP address


Can I have a different $HOME for myself as sudo?

If you invoke sudo with -i you will get root's home.

If you want sudo to inherit from the current environment you could just set home to something else.

So, either use sudo -i command or do HOME=/wherever sudo command.

For example:

sudo -i sh -c 'echo $HOME'

Which gives you:

/root

Or:

HOME=/foo sudo sh -c 'echo $HOME'

Which gives you:

/foo


restoring files with only 2 USB ports machine

Install Ubuntu into the target drive

One alternative is to install Ubuntu into the target drive, the Drive/Hard Disk Destiny for recovered files.

You can install Ubuntu like into an internal drive (but to this external drive, connected to one of the two USB ports).
You can also create a persistent live Ubuntu in this this external drive, connected to one of the two USB ports.

Then you can boot Ubuntu from the target drive and copy from the source drive.

The following links describe how this can be done,

Boot Ubuntu from external drive
help.ubuntu.com/community/mkusb
help.ubuntu.com/community/mkusb/persistent

Backup

Installing an operating system is risky. Even if you think, that the files on the target drive will survive, they may disappear. So you should backup everything that you cannot afford to lose from the target drive before you start installing.


FFmpeg or GStreamer for command line conversion of audio files?

GStreamer is a multimedia framework used from within applications. It is not generally used directly from the command line.

FFmpeg also has a set of libraries for use within applications but is mainly known for the ffmpeg command. This program can transcode media files and seems more suitable for what you want to do.

To find out how to use ffmpeg, read man ffmpeg.


How to get the MuPDF OpenGL viewer on Ubuntu 18.04?

TL;DR

It is a Ubuntu packaging bug, it was already reported to launchpad as bug 1740105.

Compilation and installation from source

What you need

The analysis of the PKGBUILD file from ArchLinux shows that muPDF needs freeglut, glu and mesa-libgl libraries for OpenGL.

On Ubuntu, the simulation of build-dependencies (by running apt-get build-dep with the -s flag) installs many OpenGL related packages (including the aforementioned):

$ sudo apt-get build-dep mupdf -s | grep Inst.*gl
Inst freeglut3 (2.8.1-3 Ubuntu:18.04/bionic [amd64])
Inst libglvnd-core-dev (1.0.0-2ubuntu2.3 Ubuntu:18.04/bionic-updates [amd64])
Inst libgles1 (1.0.0-2ubuntu2.3 Ubuntu:18.04/bionic-updates [amd64])
Inst libopengl0 (1.0.0-2ubuntu2.3 Ubuntu:18.04/bionic-updates [amd64])
Inst libglvnd-dev (1.0.0-2ubuntu2.3 Ubuntu:18.04/bionic-updates [amd64])
Inst libxcb-glx0-dev (1.13-2~ubuntu18.04 Ubuntu:18.04/bionic-updates [amd64])
Inst libgl1-mesa-dev (19.2.8-0ubuntu0~18.04.1 Ubuntu:18.04/bionic-updates [amd64])
Inst libglu1-mesa-dev (9.0.0-2.1build1 Ubuntu:18.04/bionic [amd64])
Inst freeglut3-dev (2.8.1-3 Ubuntu:18.04/bionic [amd64])

While the default installation of muPDF gives the following library dependencies:

$ ls /usr/lib/mupdf/mupdf* -1
/usr/lib/mupdf/mupdf-x11

$ ldd /usr/lib/mupdf/mupdf-x11 | grep -i gl
    libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f55297f6000)

so we do not have the OpenGL libraries shown in the previous list.

What to do

To get OpenGL support we really need to recompile the package with build dependencies. So run:

sudo apt-get build-dep mupdf mupdf-tools

cd ~/Downloads
apt-get source mupdf

cd mupdf-1.12.0+ds1
make
sudo make install

and you will get mupdf-gl compiled and installed into /usr/local/bin/mupdf-gl.


Install fails - 'unable to install GRUB in /dev/sda' problem

First, disable Fast Startup in Windows. This feature is a good way to cause filesystem corruption (my nickname for it is "Fast Filesystem Corruption"), which in turn can cause any number of problems, including an inability to install GRUB -- precisely the symptom you're seeing.

After you've disabled Fast Startup, you can try running Boot Repair or re-install Ubuntu. With any luck, disabling Fast Startup will enable either of these procedures to work, but I can't make any promises about that.

If you disable Fast Startup but can't seem to get GRUB installed, another option is to try my rEFInd boot manager. You can try it risk-free by preparing a USB flash drive or CD-R with the appropriate version (see the downloads page for links). You should then be able to boot from the appropriate medium, which should let you boot either Windows or Ubuntu. If you can boot both OSes, you can install rEFInd via the PPA or Debian package to get it on your hard disk. One big caveat is that if there's filesystem damage that's preventing GRUB from installing, the same problem is likely to affect rEFInd. OTOH, it could be a bug in the GRUB installation script that's not shared by the rEFInd installation script, so rEFInd might work around such problems. If nothing else, using rEFInd on a USB drive or CD-R might be a useful temporary stopgap to get you into your regular Ubuntu installation. From there you'd need to do more detailed analysis to figure out what's causing the boot loader problems, but at least you'd have a way to boot.


Well in all the pgrep command would be helpful since you know the name of the command in question.

pgrep -l <name_of_command>

would list both the name and the PID so you can use that in your script.

See: man pgrep


Yes, but the UI is not particularly obvious. Click the down arrow to the right of "Cast to" and click "Cast desktop". Later when you start the cast you get a choice of any application window or entire desktop.


Ubuntu 12.04 installer not booting from usb

Unfortunately we keep getting such reports of problems with Windows USB bootable disk creators.

Instead of UNetBootIn, you can perhaps try Universal USB Installer here: www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/


Ricoh SP 310dn not working with Ubuntu 18.04

I had the same problem and asked Ricoh Technical Support for a workaround. I was told that their driver file RICOH SP 310SFN.ppd would not work with distros later than 16.x.
Instead I was asked to use this generic driver in the CUPS+Gutenprint stable:
Generic PCL 6 Printer wide margin - CUPS+Gutenprint v5.3.3
I tried it and it works. You might need to set up the printer using localhost:631 on a web browser.
FWIW, my setup is as follows:
Printer Model: Ricoh SP 310DN
Printer Driver: Generic PCL 6 Printer wide margin - CUPS+Gutenprint v5.3.3
Printer Driver File: STP02101.ppd
Gutenprint Version: 5.3.3
Linux Kernel Release: 5.3.7-2-MANJARO
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=18.1.2
DISTRIB_CODENAME=Juhraya
DISTRIB_DESCRIPTION="Manjaro Linux"

I hope this helps.


Sourcing a script from another script fails

Consider this error message:

install.sh: 4: install.sh: source: not found

That means that the script is not being executed by bash.  This error likely comes from dash which is the default shell under Ubuntu.

Try running your script as:

bash /path/to/install.sh

More

Observe the line:

sh kvminstall.sh

This starts kvminstall.sh using the default shell (dash).  However, kvminstall.sh is a bash script.  (you can tell this by looking at its first line.)  Thus, use instead:

bash kvminstall.sh


During boot press SHIFT to get into the GRUB menu, then select boot into recovery mode, "Drop to the root shell" and the just re-add yourself to the admin group with usermod including the -a option to append the groups to the current ones:

usermod -a -G admin USER

Check http://www.psychocats.net/ubuntu/resetpassword for more details for a different case.


I followed this link

and was able to install it without any issues. I am having Ubuntu Desktop 14.04.3 LTS


Can't load Windows 7 after choosing it in the GRUB

Try to run in a terminal:

sudo update-grub

And paste here the output, then try to reboot again to Windows.


Dependecies not met --  language-selector

There is/was a bug in the postinst script in that package.  I'm sure the developers will fix that ASAP (if they didn't do so already).

This is the relevant bug report:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/766534

You can recognize this type of bugs from a line like the following:

subprocess installed post-installation script returned error exit status 2

This means something went wrong in the script that handles whatever tasks need to happen after a package is installed or upgraded (e.g. restart a service after it was upgraded, etc.).


How can I add Images for each user to Ubuntu 12.04 Logon Screen?

Go to System Settings > User accounts > click the logo beside each user in the right section and browse for desired photo or select one of the existing

Installing another Display Manager (GDM 3) does what you want.

Execute sudo apt-get install gdm then restart your machine.

If at anytime you needed to roll-back:

run sudo dpkg-reconfigure gdm and select lightdm to go back to the original one.


I recommend for greater ease and comfort:

sudo apt --remove purge eclipse

or

sudo apt --remove purge netbeans

and install form SNAP:

sudo snap install eclipse --classic

or

sudo snap install netbeans --classic


You could make a dual boot with same version, so have one to test and the other to fall back on. I've had moderate success with that method figuring out hardware issues with Ubuntu 10.


Update your BIOS to the latest version. Follow the manufacturers recommendations for doing so. This will typically resolve problems.


How to change from kali linux to ubuntu with a pendrive

Unfortunately, changing between versions of Linux is not as simple as just running an executable. You need to put the downloaded ISO onto a USB with something like Unetbootin and do a fresh install, however if you keep the same username and password as well as computer name it should preserve the files in your home folder.


Note, i have not gotten this working for the 3.0.0.17 kernel but does for the 3.0.0.16

Okay I have come back to this with a fresh set of eyes and no hangover. My Card is now working.

A quick recap follows to assist anybody who may need help with this card/chipset.

Download your driver from the ralink Website
If your downloads default to "Downloads" directory you should be able to just copy and paste the commands into the terminal unless the driver version you download has been updated in which case edits will need to be made.

This Guide is assuming a chipset of 3062 but will work just the same for any of the drivers in the source download.

Terminal (ctrl + alt + T)
tar -C Driver -zxvf ~/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz

cd Driver/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217

gksu gedit Makefile may get password prompt
Check that the driver version is the version or your chipset eg: 3062. edit, save and close gedit.

gksu gedit os/linux/config.mk
Check the supplicant entries are set correctly, should read y for each. there are two of them. edit save and close gedit.

sudo make Make the driver

sudo make install Install the new driver

mkdir /etc/Wireless/RT2860STA If not existing

sudo cp RT2860STA.dat /etc/Wireless/RT2860STA/RT2860STA.dat copy the dat file over.

sudo modprobe rt3062sta start the module

sudo lspci -v check module is being used by card.

Blacklist Built in Mod
gksu gedit /etc/modprobe.d/blacklist.conf

At end of the file add, save and exit.
// Default kernel module does not work
blacklist rt2800pci

Make Sure the module is known.
gksudo gedit /etc/initramfs-tools/modules

Edit (add module name only), save and Exit.
rt3062sta

This should be you finished here. If the driver is being used but the device has not come up then reboot the system. Good luck.


Accessing LibreOffice Writer files via terminal

Convert the odt to text. You can use regular "open with" in python to read, write the text file and afterwards you can convert the text file back to an
 odt file.

Libreoffice has its own tool for this:

libreoffice --convert-to txt {file}.odt

and

libreoffice --convert-to odt {file}.txt

Python "open with"  is chapter 7.2 in the documentation.


Reconfigure keyboard layout - 13.10, 14.04

:D It’s simply:

dpkg-reconfigure xkb-data


matplotlib Error: No module named matplotlib even though it is installed

If you want to install Matplotlib for Python 3 through the APT package manager, you need the package python3-matplotlib:

sudo apt-get install python3-matplotlib

If you want to install it with Pip for Python 3, you need to use pip3:

sudo pip3 install matplotlib


How to enable mtod and ascii art at ssh login?

If you want to print MOTD to the user after succesful login, then edit /etc/motd

sudo editor /etc/motd

If you want to print anything before, use SSHD Banner option.

Edit your SSHD config file:

sudo editor /etc/ssh/sshd_config

And add this:

Banner /etc/issue.net

Then you can define your Banner on login prompt in /etc/issue.net

sudo editor /etc/issue.net

This way your message will be visible before authorization.


Problem with installation of apache solr

Being the root user is not the problem.

It looks like the tutorial contains a mistake. The --strip-components part of the command is actually part of the tar command found in the previous step.

The error message you're receiving is actually telling you that the option you're entering isn't one of the supported options in the list. The part about being the root user is just a note.

When compared to the tutorial found here you'll see that --strip-components is used in the unpacking of the .tar file.


Ditto on Jacob's response. Many times as simple as the port setting as incoming and outgoing should be different.

Check the configuration requirements at your service provider carefully.

Also, if you have it working on windows, look at the configuration there 'very carefully' to replicate on Linux.


At Present Which is the best choice for a Ubuntu graphics card, AMD or nVidia?

Does not matter, just check the compatibility list before you buy (both make both good and bad cards).

https://wiki.ubuntu.com/HardwareSupportComponentsVideoCards

and also http://free3d.org


I used to see that problem when the new gnome3 first came out, it had corrupted "snowy" "old-tv-set-to-no-channel" type stuff here & there, and half the letters of various text was missing (just not there, like invisible letters).

I think it was caused somehow by gnome + possibly unsupported graphics drivers, never fixed it but eventually gnome upgrades fixed it. In the meantime you could try a different desktop environment and see if it still happens, like xfce, or lxde, or kde, or cinnamon, or mate, or just a different window manager like fluxbox...

Ubuntu has different live iso's for different desktop envirnoments, like Xubuntu, Lubuntu, Kubuntu...

If others show the same corruption then maybe you need a specific or updated graphics driver which could be hard to do or impossible when running a live iso (can't reboot and save changes, though persistence might work). You could try a different distro, one based off of Ubuntu like Linux Mint should be very very similar to Ubuntu, or one not even based on Debian (like fedora, suse, slackware, could be very different.


Your system upgrade failed due to permission bug with windbind package.
You need to fixed permission by following command and restart windbind service.

sudo chmod 0700 /var/log/samba/cores
sudo systemctl restart winbind.service

After that you should be able to complete system upgrade.


Can the terminal calculate combinations?

Shell itself does have a utility for generating various combinations. I am not quite sure of the technical term for this, but here's how it works:

$ echo {1,2,3}{1,2,3}{1,2,3}
111 112 113 121 122 123 131 132 133 211 212 213 221 222 223 231 232 233 311 312 313 321 322 323 331 332 333

$ echo {a,b,c}{a,b,c}{a,b,c}
aaa aab aac aba abb abc aca acb acc baa bab bac bba bbb bbc bca bcb bcc caa cab cac cba cbb cbc cca ccb ccc

$ echo {0,1}{0,1}{0,1}{0,1}
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

It's not ideal though, if I remember correctly, i was trying to generate a list of Ukrainian phone numbers (for science purposes, of course), and  ended up with errors. So shell has it's limits. A tool written in a particular programming language, might be of a better use.


I've had this exact laptop with the exact same problem(among others) with ubuntu 16.04.

I'm not entirely sure if this is what fixed it but all I did after countless non working solutions offered by others on the internet was:

Upgrade the kernel to the very latest out at the time. I used UKUU to make it easy.
Rebooted(it automatically selects the newer kernel at boot)

and voila! My touchpad was working again.

Also, check to make sure in the Hardware Drivers section if you have any proprietary drivers that need to be installed.

That generally solves a few issues.


Palm Centro not even appearing on desktop

The Palm USB connection works only during a hotsync operation.

So if you installed Jpilot, try clicking both the hotsync button on your Centro and on Jpilot.

If this doesn't sync, open a terminal and type sudo usermod -a -G dialout username changing username with your actual username.

Then try syncing again as explained above.


How do I reboot from the recovery console?

Try telinit 6 you don't need sudo since your in single user mode.

EDIT:

If it wont reboot using the standard tools there is a way to do it straight through to the kernel, however this does not close file systems nicely.

Found this here

  you must activate the magic SysRq option:

echo 1 > /proc/sys/kernel/sysrq

  When you are ready to reboot the machine simply run the following:

echo b > /proc/sysrq-trigger

  This does not attempt to unmount or sync filesystems, so it should
  only be used when absolutely necessary..


NVIDIA 1060ti + Ubuntu 16.04 = Black screen

I think this might be helpful... I installed Nvidia driver and restarted my computer. I got black screen in loop. The solution is to use other graphic card to boot. Cd or usb is not required for this. My solution is:

As computer starts keep on pressing left Shift key.

In order to edit grub2 press e.

Then go to line starting with linux and enter i915.modeset=0 before quite slash.
Since my choice was to use the Intel graphic card. I inserted that line. If it was amd/ati, radeon.modeset=0 could work. In some computer simply inserting nomodeset may work.

Press Ctrl+x to reboot.

Then wait for a while... After screen freezes press Ctrl+Alt+F1

It asks for username and password. Enter them.

Then terminal appears. Uninstall NVdia drivers using
the command:
 sudo apt-get purge nvidia*

Then type reboot... then your Ubuntu will  boot...

This solution is just to enter the OS. Now follow proper method to install NVidia driver for better graphics.


Does Ubuntu 20.04.1 LTS not come with a c compiler by default?

The default version of gcc in Ubuntu 20.04 is gcc-9. Ubuntu 20.04 comes with gcc-9 installed by default which can be tested if it is installed by running apt policy gcc-9. gcc is the GNU C compiler, a fairly portable optimizing compiler for C. For more information type man gcc
gcc-10 is available in the default repositories of Ubuntu 20.04 and later. gcc-11 is available in Ubuntu 21.04 and later.


Gnome/metacity and Chrome bug leading a to a falal error

I had to turn off the hardware acceleration as described in this question: https://stackoverflow.com/questions/31810888/right-click-shows-black-box-in-chrome-on-linux . So I guess a system update changed something in my display driver/manager so this issue happens.


Can I backup my Windows partition with Acronis and then reinstall it inside a virtual machine?

No ; Windows is not nearly as forgiving as a modern Linux when moved between hardware - and VirtualBox is a machine composed of "Virtual" hardware that is almost certainly not compatible with your current real hardware.

You should look at this page : https://www.virtualbox.org/wiki/Migrate_Windows


How can I rename the current Xfce workspace from the command line?

This program should do it, but it opens a window where you rename the workspace.


If you want to be able to reproduce the same generated password if the user enters the same 3 answers again, just don't create a random password but derive the password from the answers only. That way your password is no longer truly random but only pseudo-random (seems random to humans, but is determined by the input only), but that's likely a smaller security problem than storing the passwords in plain-text in a password database.

I've written a short example that takes in 3 answers $answer1, $answer2, $answer3 and a numeric $length parameter that determines the output password length (max. 86 characters):

$ answer1=bytecommander
$ answer2=pizza
$ answer3=askubuntu.com
$ length=12

$ printf '%s-%s-%s%n' "$answer1" "$answer2" "$answer3" | sha512sum | xxd -r -p | base64 -w0 | grep -Eo "^.{$length}"
fBuIlC+lXiuW

The command looks complicated, but how it works is actually pretty easy:

printf '%s-%s-%s%n' "$answer1" "$answer2" "$answer3" simply concatenate the three answer strings together using - as delimiter and adding a newline. You can use any other method that converts your user input into one single string, it doesn't matter as long as you just always use the same.
sha512sum reads from standard input (where the output of the command above is piped) and calculates the SHA-512 hash of it. This is a string of 129 hexadecimal (0-9, a-f) characters.
xxd -r -p converts the hexadecimal characters to binary code.
base64 -w0 converts the binary code to Base 64 (a-z, A-Z, 0-9, +, /).
grep -Eo "^.{$length}" prints the first $length characters of the result. You should not specify a length greater than 86 (there are 88 characters, but the last two will always be ==).


When running Ubuntu, it is a completly seperated environment, except the hard drive.

Incase of hackers, once they do somehow get access to your computer, they would have access to all files, both Windows and Ubuntu partitions. So if a hacker for e.g. gets access to the computer while it's running Windows, they would also have access to the Ubuntu partiton. Therfore I suggest encrypting both drives if you want total security.

Also, I'd like to let you know that Windows has the ability to turn off the remote control option.


Make it easy and use the command

poweroff

It works with my Lubuntu 18.04 LTS.

halt means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.

After halt a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.


How do I improve the performance of my VirtualBox guest?

I don't know much about Player, but Vbox defaults are not good for Ubuntu releases that prefer a real GPU.

On spinning HDDs, pre-allocate the entire virtual disk. On SSDs, it
doesn't matter. VDI / qcow2 sparse allocations do reduce performance, but the reductions involved appear to be less than 10% since 2015. Weigh the performance vs convenience.
Allocate only the storage you need. Keep large files elsewhere, outside the vStorage.
Never allocate more CPUs or RAM than you should. 1 vCPU is probably enough.
Leave 1GB of RAM for the HostOS. Do not over commit RAM.
Use the VirtIO drivers for Storage and Networking. Modern Linux guests support this. For Windows guests, use the SATA (storage) and Intel PRO/1000 (network) drivers. It is possible to use virtio drivers under Windows, it is just a little harder.
Enable ACPI and AHCI for all guests from 2003, WinXP and later.
Desktop VMs should get all 128MB of display vRAM
Server VMs should stay with 9MB of vRAM; don't waste it.
Avoid 2D and 3D accel settings, until you have everything else working the way you like. I'm serious.  Ubuntu does bad things when this is enabled. It can bring a Core i7 to the ground.

For more details: http://blog.jdpfu.com/2012/09/14/solution-for-slow-ubuntu-in-virtualbox


Screen flickering on DELL Latitude E6510 with Intel Graphics

Typically this is what the vsyc or Vertical synchronization option is for in the graphics control/settings. It sounds like you monitors refresh rate is going out of sync with your video card. If this does not work, try raising and lowering the refresh rate of your video card in the settings menu as well.


Onscreen keyboard? (like OSX's Keyboard Viewer)

Onboard is installed by default, not sure if it is exactly what you are looking for but it is an option.


For some reason you need to download the web browser which isn’t in the Ubuntu Software Center. This answered my question:

sudo add-apt-repository ppa:webupd8team/tor-browser
sudo apt-get update
sudo apt-get install tor-browser


The link given by nobody in the comment answers this. Thanks much!

https://help.gnome.org/admin/system-admin-guide/stable/desktop-lockscreen.html.en

Set an administrative lock using dconf.


Translating inittab line to Ubuntu 9.04 jaunty system equivalent

Jaunty is no longer supported (it reached End-Of-Life last month), so I would recommend upgrading (go to 10.04 if you need a long-lived system). However, when you upgrade to a version that uses Upstart, you can create a file in the /etc/init directory to do what you need. For example, create /etc/init/sheevaplug.conf:

start on stopped rc RUNLEVEL=[123456]
stop on runlevel [!123456]

respawn
exec /sbin/runsvdir-start

That is a direct translation of the inittab line you gave, and should behave similarly with Upstart. You can start and stop it with service sheevaplug start and service sheevaplug stop, etc.


Mouse keys is only performing a right click

There are chances of it either being the issue of the driver or the mouse.
To check if its a driver issue, shutdown the computer and plug in another mouse and start the computer. If the left click works with the other mouse, it's the issue of the mouse. Otherwise it might be an issue with the driver.
These commands might solve your problem:
sudo add-apt-repository ppa:raof/aubergine
sudo apt-get update
sudo apt-get upgrade

if that doesn't work, try this command as well:
sudo modprobe -r psmouse


./configure --with-boost AND --prefix=$HOME/trentacoollime

You can chain arguments. Thus

./configure --prefix=$HOME/trentacoollime --with-boost=../boost.1.51.0

will work.

Space is normally used as the separator between arguments. You can generally add as many arguments as you want.


Ubuntu 18.04 LTS : Can't open snapstore gui

Okay here's how I solved the issue.
I installed snap-store from Ubuntu Software Centre and after that the issue mentioned in question.
Solution

Uninstall snap-store GUI from terminal (snap remove snap-store).
Install using snap command in terminal (snap install snap-store).
Open snap-store via terminal or apps (snap-store).

You may need to use sudo befare each command above to work.
Done


How to setup an encrypted voip structure?

I use SFLPhone
its actively developed, feature rich supports sip/iax , and has signaling and voice encryption (srtp)

SFL PHone

It also has support for IP2IP calls.

If you want that to be encrypted i think you will have to set up your own encryption.

have a look at:

OpenVPN video howtos


Can Juju be used for desktop setup automation?

MAAS sounds like a better fit for your needs.

MAAS does large-scale deploys of the operating system (Ubuntu, Windows, CentOS) and can use custom images. Seems like you want to make customer images that have all the packages installed, and then use a script for local customization post-install.

See http://maas.io/


You need to learn the Unicode numbers of these two characters. They are not actually hard to remember, because they look like years. ;)

En dash: U+2013
Em dash: U+2014

To write a Unicode symbol, perform the following actions:

Press Ctrl+Shift+U (the display will show something like u̲)
Type the code (e.g. 2014)
Press Enter

There you go: – —

For a complete reference to Unicode characters, run gucharmap.


The reason the indicator plugin shows that is because there are separate packages that need to be installed before the indicator plugin can be used. Install xfce4-indicator-plugin indicator-network-tools indicator-network. I also installed the indicator-bluetooth package. If this doesn't work try installing indicator-applet indicator-application indicator-application-gtk2 indicator-appmenu because I never tested whether these were necessary. Reboot your computer to finish the installation.


After I read something about openconnect possibly being related to this kind of issue, I launched Synaptic Package Manager and installed the following packages related to openconnect which resolved the problem:

libopenconnect-dev (3.15-0ubuntu2)
network-manager-openconnect (0.9.4.0-0ubuntu1)
network-manager-openconnect-gnome (0.9.4.0-0ubuntu1)


Dual boot pc boots directly to ubuntu instead of showing grub menu

I really dont know a lot about Linux, but i fixed the same problem by:

Check if grub is installed

grub-install --version

or even

sudo dd bs=512 count=1 if=/dev/sda 2>/dev/null | strings

If it is installed, probably he is not recognizing windows boot, so it directly boots into ubuntu and wont show the grub screen. So, if your windows boot file was not deleted, this should make grub appear and recognize windows as a boot option.

sudo -H gedit /etc/default/grub

Insert # at the start of the line GRUB_HIDDEN_TIMEOUT=0.

Now save then run:

sudo update-grub

This should be fine to make Grub menu appears on every boot.

( Grub menu won't show on dual Boot )


Can't update to 11.04 from 10.10. Update Manager and Terminal not working?

It seems that your internet connection is not working properly so when you try to upgrade from terminal error message is there that "failed to fetch http:\***".

There are many reasons for it. one of the reason could be that you are behind some proxy server. If so you can add proxy to work on your computer by

Go to system settings
find Network setting
in that you will find proxy server
chech for manual proxy
Insert your proxy settings (IP address  :  port no). add this proxy server for all type of connection like http, ftp, https
click on apply system wide

Now try upgrading your system by following command

sudo apt-get upgrade


after upgrade to 13.04 unity dash have this blur on my netbook how do i fix it?

This is a blur problem.

Install Unity Tweak Manager.

Choose Unity - Search.

You should change Background Blur from OFF to ON. ( or ON to OFF )


Difference between fonts-liberation and fonts-liberation2 packages?

The upstream (newest) version is packaged in fonts-liberation2 and does not contain the narrow fonts.  At some point in the future the remaining fonts will be available a new package named fonts-liberation-sans-narrow.

Debian Bug #699322

This explanation is given Debian bug #699322 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699322):

'...the plan is to fork off the current packaging twice and package the new upstream version in one branch and the sans-narrow font of the current package in the other one (as "fonts-liberation-sans-narrow") while keeping upstream patches on par with liberation-fonts.'

This bug was referenced in the changelog for fonts-liberation2 package.

Change log for fonts-liberation package:

http://metadata.ftp-master.debian.org/changelogs/main/f/fonts-liberation/fonts-liberation_1.07.2-6_changelog

Change log for fonts-liberation2 package:

http://metadata.ftp-master.debian.org/changelogs/main/f/fonts-liberation2/fonts-liberation2_2.00.1-5_changelog


Keyboard keeps defaulting to wrong layout

I had a similar issue and solved it by doing two things.
1. Dconf Editor
Install dconf-tools and open it.
Under desktop/ibus/general find engines order and change it to your preference.
ibus-setup
open a terminal and type ibus-setup
Under the advanced tab tick the use system keyboard layout option.


How to fix slow wireless on machines with Intel wireless cards?

OP Posted:

Note1: The slow connection can be due to your service provider or any other reason, to check it, try the same network by any other computer with different OS or by connection to the network by a cable. If it is fast, this solution can help you. If not, it can be wasting of time!*
Note2: In the first link in the References I put, there are more methods to solve the slow wireless connection. Each method solves different possible reason of the slow connection. I recommend to test the solution I put here before searching for different methods because it is most probably effective.*

If you are using Ubuntu 11.10, do the following:

open terminal. Type the following two lines:

sudo rmmod -f iwlagn
sudo modprobe iwlagn 11n_disable=1

Now, check your wireless Internet speed. If it is still slow, this solution is probably not a solution for your case. In this case, just restart the computer to revert the change you did.  If it becomes normal and fast, do it permanently by typing the following line in the terminal:

gksudo gedit /etc/modprobe.d/iwlagn-disable11n.conf

A file will be opened. At the end of the file, paste the following line then save:

options iwlagn 11n_disable=1

After saving, just quit, and ENJOY!

Solution for Ubuntu 12.04:

open terminal. Type the following two lines:

sudo rmmod iwlwifi
sudo modprobe iwlwifi 11n_disable=1

Now, check your wireless Internet speed. If it is still slow, this solution is probably not a solution for your case. In this case, just restart the computer to revert the change you did.  If it becomes normal and fast, do it permanently by typing the following line in the terminal:

gksudo gedit /etc/modprobe.d/iwlwifi-disable11n.conf

A file will be opened. At the end of the file, paste the following line then save:

options iwlwifi 11n_disable=1

After saving, just quit, and ENJOY!

References:

http://www.unixmen.com/resolve-slow-connexion-when-using-wifi-in-ubuntu-1104-natty-narwhal/
http://ubuntuforums.org/showthread.php?t=1965970&page=2

*I tried both solutions and they work.


How to outline fonts in a PDF (or eps) file?

You can use Inkscape for this.

File -> Open -> open your PDF.

A dialog "PDF Import Settings" will pop up. If you tick the checkbox "Import via Poppler", the text will be converted to symbols on importing.

If needed, you can convert symbols further to paths and edit them (but as far as the specific question here goes, namely editing/sharing the pdf without relying on the fonts, symbols work fine).


How to re-allocate (or increase) memory to Ubuntu 18 running as a dual boot

As mentioned the dual-boot configuration will have nothing to do with memory usage. I'm guessing you have 8gigs of RAM installed which is plenty for most users, unless you run memory intensive apps. If you find the system is swapping a lot, then upgrade your RAM to 16gigs. The operating system (Ubuntu or Windows) can only access 6.8gigs because the rest is taken by the system for shared memory, hardware operation, and built-in graphics. My system has 32gigs but only 31.1 is usable as the other 900megs is used by the hardware in the system. This is normal.


How to enable “Abbreviations” on code blocks on Ubuntu 14.04?

By installing "codeblocks-contrib" package on code blocks can solve this problem.
We can do this by terminal:

  apt-get install codeblocks-contrib


Handbrake is the best video converter tool I know.
From the details page:

Supported Sources:
Any DVD-like source: VIDEO_TS folder, DVD image or real DVD (unencrypted--protection >methods including CSS are not supported internally and must be handled externally with >third-party software and libraries), and some .VOB and .TS files
Most any multimedia file it can get libavformat to read and libavcodec to decode.
Outputs:
File format: MP4 and MKV
Video: MPEG-4, H.264, or Theora
Audio: AAC, CoreAudio AAC (OS X Only), MP3, or Vorbis. AC-3 pass-through, DTS pass-thorugh >(MKV only)

You can install it via Software Center or sudo apt-get install handbrake-gtk if you use their PPA:
deb http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu UBUNTU_VERSION main
deb-src http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu UBUNTU_VERSION main


I don't know what's wrong with ${eval} and nobody in the Conky's chat was able to explain it to me, but they suggested using ${execpi} and it did exactly what I wanted :)


Using free space from a drive (sda) onto another (sdb)

You can't move (free) space from one drive to another but you can still make the free space available to your Ubuntu system.

Method 1: Use plain partitions

This is the more simple albeit far less flexible variant. The basic idea is to:

Decide which data you want to store on or move into the now free space.

You could create a new volume and “mount” it at /media/pehuen/my-data or /mnt/my-data or pretty much wherever you like and store some of your files and data there.
You could have all of /home including your (and other users') personal files and data in a separate partition. For this one refer to the excellent “How can I move my /home directory to another partition if it's already part of the / partition?”.
In a similar fashion you can move all of /usr, /opt or /var onto a separate partition (though that's a little more complicated to manage if you ever run into boot issues).
You can choose more than one or all of the above.

Create one or more new partitions in the free space.
Depending on your decision on step 1, move the affected files to the new partition(s).
Configure your system to “mount” the new partition(s) at boot.

Method 2: Use logical volumes

This is more complicated and requires more work and is mostly for advanced users. Logical volumes let you aggregate multiple physical partitions/volumes into one or more logical volumes that span one or more (or all) of the physical volumes. This allows you to add or remove physical storage as needed while you can grow and shrink existing or add new logical volumes very flexibly.

In theory you can have your entire Ubuntu installation including all system files and personal data inside a single logical volume that spans thousands of physical drives. A little additional work is required to get Grub to boot Ubuntu from a logical volume though.

Conclusion

There are two basic methods how you can integrate the free space from a different disk into your Ubuntu setup. They provide different degrees of flexibility at the cost of a great deal of complexity in setup and maintenance. Both require you to make a decision how you want to organise your data.

If you made your decision and laid out a basic, abstract action plan, you're welcome to open a new question on how to flesh it out and/or implement it. Send me a notification in the comments if you want to draw my attention to the new question. Please don't extend your current question with such a broad follow-up question since it would invalidate previous answers and make things more difficult to follow for future readers.


How to import VNStat data from 32 bit ubuntu to 64 bit?

There are two options available for getting a vnStat database created in a 32bit system to be readable in a 64bit system:

Use the (somewhat experimental) database convertion tool: http://humdi.net/vnstat/dbconvert.c
Export the database using the --dumpdb parameter to a file in the 32bit system, then in the 64bit system, using vnStat 1.12 or later, use the --importdb parameter to import the database from the previously created text file

Both should give the same end result. Option 1 is simpler and isn't limited on having also the 32bit system available as long as the database files are still available. Option 2 allows you to also modify the database data if needed but will require more work since 14.04 doesn't include vnStat version 1.12.


Wubi 12.04 is not using the .ISO file which I've already downloaded

bcbc answered this (as well as it can be answered, and in a way likely to be helpful to many other Wubi users) in a comment.

  You need to look in the logfile to find out why (look for the last
  modified file named wubi-nn.nn-revnnn.log in the %TEMP%
  directory). Wubi is release sensitive and also validates the ISO. If
  it's a 12.04 ISO then it will fail if you're online because the latest
  ISO checksums are for 12.04.1. But running offline with the correct
  version of Wubi.exe will still work. etc. The log file will indicate
  the actual reason.

– bcbc Oct 16 '12 at 17:16


Temporary files from Caja/Engrampa taking up space

Apparently these files get stored in ~/.cache, in a subfolder whose name starts with .fr-, followed by six random characters. One of these files was around the size I expected, and contained some of the files and folders I had been trying to add to the archive.


Have a look at this question that I asked a bit ago, which is along the lines of yours Timestamp question

I raised this in launchpad under Bug #1603416. Add comments to this if it is what you want and also add the fact that it affects you. That way we may be able to get this moving and get a solution sooner rather than later. I will be raising a bug for this and when I have the number I will add it here.


Surface pen keeps jumping to the same spot while drawing but not with a finger or the eraser end

I also had a similar problem. In my case the pen kept jumping down. I also tried by hacking the software and buying a new pen, but no help. In the end I called the service (my laptop was still in guarantee), and thy said it was a display problem. And indeed changing the display solved the problem


17.10: How to auto mount drives on startup?

Use the "Disks" app.

Load the Disks app (In System) and select the disk with the filesystem you want to mount on startup.

Then select the filesystem on that disk and click on the gears (for configuration).

Select "Edit Mount Options" from the popup menu.

On the setup options, click to check the "Mount on Startup" box.
(This will add the entry to fstab when you click on "OK").

Reboot, and your filesystem should be available.

I agree with other comments here regarding manually adding lines to fstab via CLI/text editor. If you take the time to look at your fstab file it will help you understand what changes have been made and, ultimately the CLI method will become faster for you.


Enable serial console on Ubuntu 16.04.1 on ARM64

You have to use this as 16.04 uses systemd:

https://www.it-hure.de/2012/04/enable-serial-console-with-systemd/


Can I run a python package with snap on Ubuntu Core?

Declare an app within snapcraft.yaml

...
apps:
  ...
  your-app:
    command: app-launcher
...

Then app-launcher can be just simple shell script

#!/bin/sh
python3 -m mypackage $@

#if some arguments have space in some arguments use command below
#python3 -m mypackage $1 $2 $3 $4 $5 ...

To call command by user:

your-app:app-launcher "somearg"

References:

snapcraft.io: commands-and-aliases
snapcraft.io: defining-a-command
SO: Propagate all arguments in a bash shell script


I have a similar situation where I have Windows on my primary HDD and Ubuntu on the other (obtained by breaking the RAID). I can choose between Windows and Ubuntu by setting my boot priority on to the Ubuntu HDD. However, it sometimes automatically boots into Windows without giving me options to choose Windows or Ubuntu (which I believe is because of the automatic reset of boot priority).

Vinu


UFW blocking HTTPS although configured to allow that port on

I couldn't find an answer to disable this specific logging. In Fail2Ban I added something in the ignoreregex parameter.

My ufw-port-scan.conf filter:

[Definition]
failregex = .*\[UFW BLOCK\] IN=.* SRC=<HOST>
ignoreregex = .*\[UFW BLOCK] IN=.* SRC=<HOST> .* DPT=443

Now Fail2Ban wil not ban anything with port 443. I hope this can help someone.


First, right click on the desktop and open "Change Wallpaper".  Make sure the theme is set to ambiance.

Then make sure there aren't any files called .gtkrc or .gtkrc-2.0 in your home folder.  Delete any you find.  Logout and log back in.

Note:  files beginning with a . (period) are hidden.  To view them in Nautilus press CTRL + H or use ls -a in a terminal.


How to install programs using source code (e.g. wine staging 2.9)

From https://wine-staging.com/installation.html

  Tue, 28 Mar 2017: We have updated our build servers and have
  deprecated the repositories which were previously available at
  repos.wine-staging.com. We recommend all users to switch to the WineHQ
  repositories using the instructions below.

If you read down that page it has instructions for Ubuntu

  Ubuntu

  Start by importing the key for our repository:

wget -nc https://repos.wine-staging.com/wine/Release.key
sudo apt-key add Release.key

  Then use the following command to add our repository
  to your /etc/apt/sources.list file:

sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'

  As a next step, please update the package cache and install Wine Staging:

sudo apt-get update
sudo apt-get install --install-recommends winehq-staging


Hibernation failed due to insufficient Swap partition

Hibernation basically writes the contents of RAM to disk, using the swap partition. So, for hibernation to work, you need a swap partition not smaller than your RAM - I'd try something like 10Gb.

From SwapFAQ:

  Hibernation (suspend-to-disk) The hibernation feature
  (suspend-to-disk) writes out the contents of RAM to the swap partition
  before turning off the machine. Therefore, your swap partition should
  be at least as big as your RAM size. The hibernation implementation
  currently used in Ubuntu, swsusp, needs a swap or suspend partition.
  It cannot use a swap file on an active file system.

You'll need to boot from a LiveCD and use gparted to resize partitions.


How to create a new folder on List view on nautilus?

Use the File->New Folder or the Ctrl+Shift+N shortcut.

Under the File menu you can find the New Document option as well.


Hotmail inbox deleted after setting up evolution

You would find that all your mails are transferred in POP folder in your Hotmail Account. Look for it in your Trash Folder in Web Interface of Hotmail. You should also take a backup of profile folder of Thunderbird as a precaution.


How to play Google Drive video (in Cloud) like stream without download by using a application (in Local)?

Finally, It works.

I used google-drive-ocamlfuse and  gnome-mpv.

Using google-drive-ocamlfuse, I mounted Google Drive cloud to a local folder.

Using gnome-mpv, I play videos successfully. I also tried vlc, chromium-browser. They could work, but late.


Installation of MySQL on Ubuntu 18.04 - Authentication Issue

The only 2 issues I see here are

'user'@'localhost'

I expect here to see a name you created and not "user".
But in case that is what you picked then ...

(using password: YES)

the only other problem it could be is a wrong password.

But these assume you try to connect after installing mysql. Please explain what you meant with

  During the last step of installation of MySQL

as I do not remember -installing- mysql with apt install tries to connect to the installed mysql. Did you use a 3rd party script?

Tests:

I don't have a user "test":

$ mysql -u test -p
Enter password:
ERROR 1045 (28000): Access denied for user 'test'@'localhost' (using password: YES)

Correct user, wrong password:

$ mysql -u rinzwind -p
Enter password:
ERROR 1045 (28000): Access denied for user 'rinzwind'@'localhost' (using password: YES)

When there is no mysql installed:

$ ps -ef | grep mysql
$ mysql -u test -p
The program 'mysql' can be found in the following packages:
 * mysql-client-core-5.7
 * mariadb-client-core-10.0
Ask your administrator to install one of them


How disable programmatically notebook built-in keyboard before login screen

Well, I could suggest a hardware-based solution. You could look up the laptop's manual, open it (screwdrivers, etc.), find the connector that links the in-built keyboard and the laptop's motherboard (on my HP dv3 this was relatively easy), and unplug it. Then you won't have any more inadvertent key presses. While you're at it, you could take out the keyboard and see if it's possible to clean it up to make it behave.

As for a software-based solution, you can put xinput set-int-prop 14 "Device Enabled" 8 0 (as per your current workaround) in /etc/rc.local. You need to insert your command in this file before exit 0. For details, see Is it possible to run a command before log in screen?.


I'd make sure the power indicator is installed first:
indicator-power

And if it isn't, then I'd install it:
sudo apt-get install indicator-power

If it is installed, then it might have just crashed. I'd try restarting it:
/usr/lib/x86_64-linux-gnu/indicator-power/indicator-power-service &disown

And if that's still not working, then I'd reinstall it:
sudo apt-get purge indicator-power
sudo apt-get install indicator-power


mouse cursor blink on 14.04 live on cool drive

Go in settings -> Display, and you will probably see two active monitors: disable the one which is unknown and click apply.


How can I install php5-fpm and apache and configure the apache vhost?

Create the file /usr/lib/cgi-bin/index.php and put some text in it like "test", then save it. Try again. Furthermore I don't think that you should use a url path like /php5-fcgi. Just http://localhost/index.php (or .html) should do.


Can't change display resolution on a Lenovo G575

Looks like your user account has a custom monitor setting. See if removing the file ~/.config/monitors.xml, then logging back out and in helps.


Used sources.list of 11.10 in 10.10, how do I resolve a partial upgrade?

The correct way to upgrade an Ubuntu system to the next release is using do-release-upgrade. That tool downloads a set of upgrade scripts, different for each Ubuntu release, that will not just update your sources.list, but also tune some settings.

You said that you were on Maverick and then you skipped to Oneiric. This means that you have not run the Natty and Oneiric script sets. They are:

http://archive.ubuntu.com/ubuntu/dists/natty/main/dist-upgrader-all/current/natty.tar.gz
http://archive.ubuntu.com/ubuntu/dists/oneiric/main/dist-upgrader-all/current/oneiric.tar.gz

You can download and extract these two tarballs and examine the content, looking at the actions that the scripts would have performed. Note that you will find some uninteresting scripts, for example the Nvidia-related scripts (which, on a server, do not need to be run). It's safe to skip them.

Once you have identified the scripts that would have run if you did the upgrade correctly, you can try performing the actions of that scripts. Examining the scripts can also help you detect the potential problems that your upgrade may have introduced.

By the way, do test your server's services deeply. This is the only way to know for sure if everything works correctly. If everything works, then you don't have to worry (obviously, this sentence is true only if you have performed accurate and complete tests).

Finally, I'd like to point you to the answer of this question: How to install software or upgrade from old unsupported release?. It's too late to apply the procedures described there, however the next time you'll know what to do.


PSSH should do the job.
All you need to do is supply a known_hosts file and the script:

pssh -h host-file --user -P ./script


Open your terminal in the decompressed folder and run these commands:
chmod a+x deemix-pyweb
./deemix-pyweb


Commercial redistribution of Ubuntu Server

For a definite answer you should contact the sales team of Canonical, the company behind Ubuntu (I guess https://forms.canonical.com/sales/ is a good starting point). There are many other organizations that are concerned with the legal details around Free Software / Open Source licenses, foremost, the Electronic Frontier Foundation. I doubt, however, that the EFF will offer free legal counsel in such a case.


Software which opens PSD files correctly on Ubuntu?

If you are interested only in viewing them. This page: http://blog.pixarea.com/2011/10/opening-photoshop-psd-files-in-ubuntu-11-10-oneiric-ocelot seems to suggest that LibreOffice will do the trick. If you need to edit them, you may have to resolve to Photoshop via Wine.


You are using it the wrong way. The list command is part of pip

pip list

shows the installed python modules where you used pip to install.

pip3 uses pip3 list.


How can I build a website without 'coding' knowledge?

WordPress is a neat CMS for running a website. I'll give you instructions on how to install it.

You can install LAMP (Stack of Apache, PHP and MySQl) by running this terminal command on the server:

sudo tasksel install lamp-server

Then, after that you can install WordPress by running this command:

sudo apt-get install wordpress

Then you can fire up WordPress by entering the ip address of the server in the window of a client browser. For example, if the server IP address on the LAN is 10.25.43.25, then enter 10.25.43.25 in the browser of any desktop attached to the LAN. You'll get the WordPress install page. Follow the instructions here to install WordPress.

Drupal is another popular CMS. You can install it by running:

sudo apt-get install drupal6

Ubuntu has version 6 of drupal. The latest is version 7. You can install drupal 7 by following this guide.


Connect to wireless display in Ubuntu 20.04

Miracast (or Wi-Fi Display) is the relevant technology here. Your Microsoft adapter acts as a Miracast sink, while Ubuntu should act as a Miracast source, so you can mirror your laptop display on your monitor screen wirelessly.
Progress is being made with gnome-network-displays software, you can install it via Flatpak.
You can test it on Ubuntu 20.04, but it surely would be better if you upgrade to the non-LTS Ubuntu 21.04 cause some problems have been solved since.


"Permission denied" usually means you're not root. But you always need superuser rights to install software.

Try this:

> curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -

Notice the | sudo bash command at the end. That will run the install script as root.


I don't think I compeletely understand what you mean. Where does Ubuntu server run? On the laptop or on the desktop? I guess you want to install Ubuntu server on the laptop, right?

Anyway, if that is the case, then yes, you can compile from Ubuntu server. For most cases installing the build-essential package will install everything you need to compile a c++ application. Of course, you may need to install more libraries, e.g. if you are writing a GUI application.

As for getting the files back to your desktop, why not try using sshfs or NFS? I guess ubuntu one would also work, but I've not tried to use it on a command line only setup.


Keyboard issue -pressing any key displays shutdown menu on Asus r209ha after upgrade to 16.10

[SOLVED] I am very glad to announce keyboard works fine now on Asus R209HA [I think on BIOS also known as E200HA] after downloading kernel 4.9 as explained at http://ubuntuhandbook.org/index.php/2016/12/install-linux-kernel-4-9-ubuntu-linux-mint


What "Coordinate Transformation Matrix" must I use to get my touchscreen working correctly?

I managed to figure this out. There are 2 different Coordinate Transformation Matrix combinations for this particular touch frame. This depends on the screen rotation and if the touch panel has been mounted correctly or incorrectly "upside down"

Left Screen Rotate - Correct Mount Touch Panel
xinput set-prop "USB Touchscreen 6615:0001"  --type=float "Coordinate Transformation Matrix" 0 -1 1 -1 0 1 0 0 1

Left Screen Rotate - Incorrect Mount Touch Panel
xinput set-prop "USB Touchscreen 6615:0001"  --type=float "Coordinate Transformation Matrix" 0 1 0 1 0 0 0 0 1

Right Screen Rotate - Correct Mount Touch Panel
xinput set-prop "USB Touchscreen 6615:0001"  --type=float "Coordinate Transformation Matrix" 0 1 0 1 0 0 0 0 1

Right Screen Rotate - Incorrect Mount Touch Panel

xinput set-prop "USB Touchscreen 6615:0001"  --type=float "Coordinate Transformation Matrix" 0 -1 1 -1 0 1 0 0 1

Hope this helps someone in the future


Did Ubuntu One lose my Firefox bookmarks or don't they get synced?

Ubuntu One has discontinued bookmark syncing. According to this announcement:

  Those of you who have already upgraded to 11.10 may have noticed that
  Ubuntu One no longer supports bookmarks sync, this is because we have
  decided to discontinue bookmarks sync as a feature. There are a few
  reasons for this, the main one being that we felt we were not
  delivering a quality experience to our users. We have been aware for
  some time about performance issues with bookmark sync and users have
  feedback that in many cases it’s not been working properly. We would
  like to apologise to those of you who have been affected by this.


New printer HP 5540 envy he scanner doesn't work

It is not mattering if you use 14.04 Ubuntu or 15.04 Ubuntu or if this would concern 16.04 Ubuntu.

Open terminal and check if hplip is already installed. But first you need to switch on your brandish new printer. Plug-in the usb-cable into your Ubuntu-machine. Then reboot your Ubuntu-machine. When logged in after re-boot then open a terminal and type in (connected to internet):

  sudo apt-get install hplip

Your machine is probably reporting that hplip is already installed.
So we do then :

  sudo apt-get install --reinstall hplip

Machine is probably reporting that hplip is already installed but therefore we did reinstallation.

Then you can run in terminal :

  sudo hp-setup -i

Your printer should be recognized and set-up when you have followed the steps of hp-setup. Simply then print test-page and all should be fine now.