This isn't well noted on the March Madness website, but there's a blue button in the upper right that says 'select TV provider.'

If you click it, you can log in through your provider, where for the first time this helpful text will appear:

  Subscription to TBS, TNT or TruTV is required to experience March
  Madness live online

Since I don't have cable and found that at least the ads worked once I turned off Ghostery and Adblock, my assumption is that the request for the video stream will always fail because I'm not authenticated through my ISP as a cable subscriber.

However, if you have cable, my guess is that you need to click the blue button and log in.


A few hardware details would be welcome to find out what's going wrong.
Could you complete your answer with the output of sudo dmidecode -s system-product-name (so we get your computer model) and egrep -i 'synap|alps|etps' /proc/bus/input/devices (to try to find out more information about your touchpad).

Be sure to check out System Settings > Devices > Mouse & Touchpad as well as Software & Updates > Additional Drivers to see if your touchpad appears there.

EDIT: If you don't have an additional mouse, it of course won't help (you can still do the terminal part from the terminal or tty's). Assuming your touchpad is managed by Synaptics (and doesn't show in /proc/bus/input/devices), try purging synaptics and installing it again:
    sudo apt-get purge synaptics-touchpad
    sudo apt-get install --reinstall xserver-xorg-input-synaptics


Spaces missing from strings in an Bash array

The problem is that the Bash shell's field splitting feature is removing the multiple spaces. You can prevent this by quoting all of your variable/array expansions. When you're building your compound array:

declare -a buildfolders=(
  "${step_1[@]}"
  "${step_2[@]}"
)

Also when you're putting parts of that array into variables:

echo "Start:"
     arrayleght=${#buildfolders[@]}
     for (( i=1; i<${arrayleght}+1; i++ ));
     do
       folder="${!buildfolders[$i-1]:0:1}"
       file_task="${!buildfolders[$i-1]:1:1}"
       file="${!buildfolders[$i-1]:2:1}"
       task="${!buildfolders[$i-1]:3:1}"
       variable_name="${!buildfolders[$i-1]:4:1}"
       variable_value="${!buildfolders[$i-1]:5:1}"

This will keep all of the multiple spaces in place.


The quickly run command uses a file .quickly in the project directory. I think you might have missed this in copying, because it is hidden by default. Type Ctrl+H to see hidden files in the default file manager. Then make sure you move this hidden file to the new directory.


Kubuntu 16.04.1: Konsole: Cannot see underscore in the last line

I faced same problem.
I fixed it by changing the font for Konsole.
Setting -> Current profile -> Appearance tab -> font

The font was Monospace when I cannot the underscore.
Now I am using Noto Mono.

I hope that your problem is fixed by same way.
Enjoy!


How do i stop Google Chrome (which is not installed) from launching?

Go to System Settings --> System Info --> Default Applications. Then choose Firefox (or another browser you like) at the point Web.
 I hope I could help ;)


Make boot parameters permanent on live session itself?

Please re-edit that document and this time use nano text editor.

How to use nano:

Open the document in question:

sudo nano /etc/default/grub

Do the edit re-move that entry you made and re-add it again:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"

Now save the file with: Ctrl+o, then Enter
Close nano with: Ctrl+x
Now update grub: sudo update-grub
Reboot your system


Can I control Intel's backlight when nvidia card is enabled?

I had the same problem.

I had Intel and NVidia cards and whenever I switch to NVidia's propriety driver nvidia-381 using nvidia-prime, xbacklight didn't work.

Finally I have 2 solutions which allows changing brightness no matter which graphics card or driver you are using.

1st solution: Commandline solution

First, use this command to get max brightness:/usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-max-brightness. Say it gives value y.

Second, use this command to set brightness(requires sudo): sudo /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness x.

Replace x with any value between 0 to y.

I have tested it on Ubuntu 14.04. Might not work on Kubuntu.

NOTES:

Don't try to use 0 in x, you will get a blank screen aka screen with no brightness (Yes, you can type on blank screen in this case).
If you don't want to use sudo everytime in 2nd command then type sudo visudo and append %VAR_USER ALL = NOPASSWD:
/usr/lib/gnome-settings-daemon/gsd-backlight-helper to sudoers
list. (Change VAR_USER to your username).

Warning: Be careful when you edit sudoers list if you are not experienced user then don't do it.

2nd solution: Graphical solution

Install indicator-brightness package using below commands(Please look at this answer for more elaborate steps):

sudo add-apt-repository ppa:indicator-brightness/ppa
sudo apt-get update
sudo apt-get install indicator-brightness

Add it to startup applications if you don't have its entry as shown below.

It is worth noting that indicator-brightness uses same commands found in  1st solution but as daemon.

  Also, 1st solution can be used to set brightness on virtual consoles accessed via Ctrl+Alt+F1 to Ctrl+Alt+F6.


Split/Tile A3 (landscape) pdf to A4 (portrait)

command line solution

Install pdfposter

sudo apt-get install pdfposter
Use pdfposter

pdfposter path/to/input.pdf path/to/output_splitted.pdf -m a4 -p 2x1a4


WiFi interface down on boot. Need to restart network manager

In terminal, type gksudo gedit /etc/modules and add rtl8192eu to the end of the file. Save and quit gedit. Restart the computer and the driver for your wireless card will now load at boot time, and your wireless should be more reliable.

You should probably remove any lines that you added to /etc/network/interfaces.


SOLVED  => After disabling GPU support in VLC, everything was working fine

I have to confirm this behaviour without DVD!
I just installed Ubuntu LTS 16.04 and the VLC Player with no any extras. During playing an mp4 file (copied to the filesystem) the system freezes without any chance to check why. No remote login with ssh possible. Only power off and on is possible, just like on windows blue screen.
I am desperately disappointed, I know such crashes only from windows until now.

$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) pro Kern:    2
Kern(e) pro Socket:    4
Socket(s):             1
NUMA-Knoten:           1
Anbieterkennung:       GenuineIntel
Prozessorfamilie:      6
Modell:                30
Model name:            Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
Stepping:              5
CPU MHz:               1199.000
CPU max MHz:           3066.0000
CPU min MHz:           1199.0000
BogoMIPS:              5851.83
Virtualisierung:       VT-x
L1d Cache:             32K
L1i Cache:             32K
L2 Cache:              256K
L3 Cache:              8192K
NUMA node0 CPU(s):     0-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm ida


Pidgin does not load all messages in a correspondence?

Google's Chat (previously called Talk, now Hangouts) uses the XMPP protocol to send and receive messages. XMPP does not support cross-device history.

Google thus added a proprietary extension to Hangouts to enable that feature, using GMail as storage backend. Unfortunately, there is (currently) no way for Pidgin to use that extension.

If you are really set on having the history synchronized, you could use the Hangouts web client on Google+.

EDIT: There is at least one XMPP extension for centralized history[0] and client synching, as well as "Carbon copy"ing messages sent from one client to other open clients, but Google, Facebook, and others who built chat services on XMPP decided it was more in their interest to silo off than to work together and allow interoperability.  They could have published their extension as a spec.

[0] Example: http://xmpp.org/extensions/xep-0313.html .  There may be others.


w

Yeah, that simple. That's an expanded version of who which shows who is logged in, and where they're connected from. That includes graphical sessions and that will show you all the current X displays, amongst other delicious data.

Here's what I see:

oli@bert:~$ w
 01:07:38 up 5 days, 58 min,  4 users,  load average: 0.40, 0.37, 0.41
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
oli      tty7     :0               Sat00    5days  4:22m  0.94s gnome-session --session=gnome-fallback
oli      pts/4    :0               Sat00   47:09m  0.77s  0.77s /bin/bash
oli      pts/6    :0               Wed02    0.00s  0.12s  0.00s w

You can file that down with various flags (try -hs) and then you can awk/grep away at that if you need to automate. Consider piping the resulting list through sort -u to get unique display strings. Something like this:

oli@bert:~$ w -hs | awk '{print $3}' | sort -u
:0


I get the changelog when upgrading using apt-get

Press q to exit this info screen.

To get rid of it in the future remove apt-listchanges package with:

sudo apt-get remove apt-listchanges


Updated post:

Using the following ForceCommand in sshd_config for your (otherwise normal) user should work:

ForceCommand /usr/bin/git-shell -c "$SSH_ORIGINAL_COMMAND"

This magic little command was originally found here.  Note that the user's shell must be a normal fully featured shell in order for this to work properly.

Reason for edit:

I just realized my initial answer didn't actually work for me (so embarrassing).  Sure it disables SFTP, but it seems to prevent git from working properly as well!

Original post:

  Try using a ForceCommand, and use the git-shell for the command as well. ForceCommand disables sftp unless set to internal-sftp. - muru

Just decided to quote muru's comment so that others might benefit from it.  It works like a charm.

I was having the exact same issue, and almost missed this gem since it was in the comments instead of posted as an answer.


Try adding the -y option to the install command. This tells apt-get to automatically install everything it needs. Assuming the dependencies are available of course.

sudo apt-get -y install shutter


Ubuntu 11.04 currently has 8.4.7 and I don't expect that to be changed. Debian testing has Postgres 9.0.3 so I'd expect it to be in Ubuntu 11.10.


scanner of Samsung SCX-4200 does not work on ubuntu 12.10

This is a kind of an old question, but I had similar issues in Ubuntu 18.04.

The problem in my case was USB3. After putting the cable to an USB2 input, it worked all fine.

This has been discussed here (in french language): https://forum.ubuntu-fr.org/viewtopic.php?id=2023391


Thunderbird : email notification and unity-panel icon

You can get Popper work again on Ubuntu 14.04 with the following actions (see bug 1683516 ):

sudo apt-get install libindicate-gtk3 libindicate5 python-indicate python-support

cd ~/Downloads
wget http://ppa.launchpad.net/ralf.hersel/rhersel-ppa/ubuntu/pool/main/p/popper/popper_0.31.3-0ubuntu1_all.deb
sudo dpkg -i popper_0.31.3-0ubuntu1_all.deb

wget http://archive.ubuntu.com/ubuntu/pool/main/i/indicator-messages/libindicator-messages-status-provider1_0.6.0-0ubuntu2_`dpkg --print-architecture`.deb
sudo dpkg -i libindicator-messages-status-provider1_0.6.0-0ubuntu2_`dpkg --print-architecture`.deb

wget http://archive.ubuntu.com/ubuntu/pool/main/i/indicator-messages/indicator-messages_0.6.0-0ubuntu2_`dpkg --print-architecture`.deb
sudo dpkg -i indicator-messages_0.6.0-0ubuntu2_`dpkg --print-architecture`.deb

wget http://archive.ubuntu.com/ubuntu/pool/universe/i/indicator-messages/indicator-messages-gtk2_0.6.0-0ubuntu2_i386.deb
sudo dpkg -i indicator-messages-gtk2_0.6.0-0ubuntu2_`dpkg --print-architecture`.deb

Then for MATE - mate-tweak -> Panel (Interface) -> Enable indicators.

Then Applications -> Internet -> Popper - set account settings.

cat <<EOF | sudo tee /etc/apt/preferences.d/pin-indicators
[ /etc/apt/preferences.d/pin-indicators ]
Package: indicator-messages
Pin: version 0.6.0-0ubuntu2
Pin-Priority: 1337

Package: indicator-messages-gtk2
Pin: version 0.6.0-0ubuntu2
Pin-Priority: 1337

Package: libindicator-messages-status-provider1
Pin: version 0.6.0-0ubuntu2
Pin-Priority: 1337

Package: popper
Pin: version 0.31.3-0ubuntu1
Pin-Priority: 1337

EOF

For Ubuntu 16.04 you can use my solution posted here on AskUbuntu.


Ubuntu Installer crashes - "low disk space"

run a RAM diagnostic. RAM errors are strange to have
try to partition it manually
on an other computer install ubuntu to a thumb dive and boot it on you's to troubleshoot.
You computer ?


Remove broken PPA package with unknown option

It looks like postrm script of the package is broken. A workaround that helped me is to edit /var/lib/dpkg/info/context.postrm, namely replace

case "$1" in
    remove|disappear)
        dhit_call_update_texmf_config format

with

case "$1" in
    remove|disappear)
        dhit_call_update_texmf_config

Then you'll be able to fix your system with apt-get -f install.


Partial distro upgrade causes gnome-shell-extensions to be incompatible?

The OP found the answer (originally posted in question):
I found the solution. The problem was that the partial upgrade updated many of the dependencies for gnome3, and those dependencies are not backwards-compatible. This is why it made every extension act as if it were out of date. I used a package called ppa-purge to remove all third party packages and return dependencies to the latest versions required. Here where the steps I took:
#WARNING: This will remove ALL third party ppa's!!!
sudo apt-get install ppa-purge
sudo apt-get remove gnome-shell-extensions-*
sudo apt-get purge gnome-shell
sudo apt-get purge gnome-tweak-tool
sudo ppa-purge ppa:gnome3-team/gnome3
sudo apt-get autoremove
sudo apt-get update

After this, I reinstalled gnome3 the normal way.
sudo apt-get add ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell
sudo apt-get install gnome-tweak-tool


Playing video in browser: outdated browser error (Ubuntu 16.10)

I had the same problem with my Kali install (Kali is very similar to Ubuntu) I was able to fix it by enabling the flash extension (Yes I know... flash). I have not tested in Chrome but works fine in Firefox.
Link to the Ubuntu doc on this:
https://help.ubuntu.com/stable/ubuntu-help/net-install-flash.html


Recompile all packages and trigger on updates

Have a look at apt-build (not installed by default)


Can not install jdk11 using update-alternatives --install

Your first command was wrong, I think; it should have been:

sudo update-alternatives /usr/bin/java java /opt/jdk-11/bin/java 1102

and the same for all the others executables of the jdk.

how to do it

Install jdk-11

First install jdk-11 inside a directory in /usr/lib/jvm. We will use openjdk-11+28-amd64 here

Create a shell script to udpate alternatives automatically

I call it jdk-11.sh

#!/bin/bash
if [[ $# -eq 0 ]] ;then
    echo "Usage: jdk-11.sh [-i|-r]"
    echo "  -i install alternatives for jdk-11"
    echo "  -r remove alternatives for jdk-11"
    exit -1
fi

install_dir="openjdk-11+28-amd64"

cmd=(java jexec jjs keytool pack200 rmid rmiregistry unpack200 jaotc jarsigner jar javac javadoc javap jcmd jdb jdeprscan jdeps jhsdb jimage jinfo jlink jmap jmod jps jrunscript jshell jstack jstatd jstat rmic serialver jconsole)

if [[ "$1" == "-i" ]] ;then
    for c in ${cmd[@]}; do
        update-alternatives --install /usr/bin/$c $c /usr/lib/jvm/$install_dir/bin/$c 1102
    done
fi

if [[ "$1" == "-r" ]] ;then
    for c in ${cmd[@]}; do
        update-alternatives --remove $c /usr/lib/jvm/$install_dir/bin/$c
        update-alternatives --auto $c
    done
fi

Then make jdk-11.sh executable, and run

sudo ./jdk-11.sh -i

to add alternatives for the new jdk-11

Switch to this jdk-11

then switch to that alternative with the help of update-java-alternatives

We need a helper file called .openjdk-11+28.jinfo inside /usr/lib/jvm

name=openjdk-11+28-amd64
alias=openjdk-11+28-amd64
priority=1102
section=main

hl rmid /usr/lib/jvm/openjdk-11+28-amd64/bin/rmid
hl java /usr/lib/jvm/openjdk-11+28-amd64/bin/java
hl keytool /usr/lib/jvm/openjdk-11+28-amd64/bin/keytool
hl jjs /usr/lib/jvm/openjdk-11+28-amd64/bin/jjs
hl pack200 /usr/lib/jvm/openjdk-11+28-amd64/bin/pack200
hl rmiregistry /usr/lib/jvm/openjdk-11+28-amd64/bin/rmiregistry
hl unpack200 /usr/lib/jvm/openjdk-11+28-amd64/bin/unpack200
hl jexec /usr/lib/jvm/openjdk-11+28-amd64/lib/jexec
jdkhl jlink /usr/lib/jvm/openjdk-11+28-amd64/bin/jlink
jdkhl jdeps /usr/lib/jvm/openjdk-11+28-amd64/bin/jdeps
jdkhl rmic /usr/lib/jvm/openjdk-11+28-amd64/bin/rmic
jdkhl jinfo /usr/lib/jvm/openjdk-11+28-amd64/bin/jinfo
jdkhl jstat /usr/lib/jvm/openjdk-11+28-amd64/bin/jstat
jdkhl javac /usr/lib/jvm/openjdk-11+28-amd64/bin/javac
jdkhl jhsdb /usr/lib/jvm/openjdk-11+28-amd64/bin/jhsdb
jdkhl jps /usr/lib/jvm/openjdk-11+28-amd64/bin/jps
jdkhl jstack /usr/lib/jvm/openjdk-11+28-amd64/bin/jstack
jdkhl jrunscript /usr/lib/jvm/openjdk-11+28-amd64/bin/jrunscript
jdkhl javadoc /usr/lib/jvm/openjdk-11+28-amd64/bin/javadoc
jdkhl jmod /usr/lib/jvm/openjdk-11+28-amd64/bin/jmod
jdkhl javap /usr/lib/jvm/openjdk-11+28-amd64/bin/javap
jdkhl jar /usr/lib/jvm/openjdk-11+28-amd64/bin/jar
jdkhl jaotc /usr/lib/jvm/openjdk-11+28-amd64/bin/jaotc
jdkhl jshell /usr/lib/jvm/openjdk-11+28-amd64/bin/jshell
jdkhl jmap /usr/lib/jvm/openjdk-11+28-amd64/bin/jmap
jdkhl jdeprscan /usr/lib/jvm/openjdk-11+28-amd64/bin/jdeprscan
jdkhl jimage /usr/lib/jvm/openjdk-11+28-amd64/bin/jimage
jdkhl jstatd /usr/lib/jvm/openjdk-11+28-amd64/bin/jstatd
jdkhl jdb /usr/lib/jvm/openjdk-11+28-amd64/bin/jdb
jdkhl serialver /usr/lib/jvm/openjdk-11+28-amd64/bin/serialver
jdkhl jcmd /usr/lib/jvm/openjdk-11+28-amd64/bin/jcmd
jdkhl jarsigner /usr/lib/jvm/openjdk-11+28-amd64/bin/jarsigner
jdk jconsole /usr/lib/jvm/openjdk-11+28-amd64/bin/jconsole

Then run

sudo update-java-alternatives -s openjdk-11+28-amd64

To roll-back to ubuntu package

sudo update-java-alternatives -s java-1.11.0-openjdk-amd64
sudo ./jdk-11.sh -r # optionnal
sudo rm -rf /usr/lib/jvm/openjdk-11+28-amd64 # optionnal


Is there a shortcut to put gnome to sleep without locking the screen?

First, in settings - Screen Lock, turn "Screen Lock" off to disable the lock screen from automatically kicking in after a period of inactivity, or when you return from "sleep" state.

To make Super+L blank the screen, first disable its default assignment in "Settings" - "Keyboard shortcuts" (Click the entry, press Backspace to clear the assignment and click "Set" to finish.

Then, under custom shortcuts, create a new shortcut key (click "+" at the bottom).
As "Command", specify

sh -c 'sleep 1 && xset dpms force off'

and assign your desired shortcut key.

The "sleep" command is needed to give you time to release the keys. Otherwise, the xset command is executed, but as you release keys, the screen will be unblanked already.


Ubuntu 16 w/PHP7, Graphics Magick: Class 'GMagick' not found

Install Pear so you can use pecl

sudo apt install php-pear

Install phpize which is require by gmagick

sudo apt install php7.0-dev graphicsmagick libgraphicsmagick1-dev

This installs the PHP extension:

sudo pecl install gmagick-2.0.4RC1

This loads the extension in the php.ini

sudo sh -c 'echo "extension=gmagick.so" >>  /etc/php/7.0/apache2/php.ini'

Restart Apache

sudo service apache2 restart


Is it possible to determine a list of manually installed Tasks (or special packages with ^ in the end) without using tasksel?

I don't think this is the same way that tasksel actually checks, but without tasksel you can

parse the list of tasks
apt-cache dumpavail | grep ^Task: | sed -e 's/Task: //' -e 's/,./\n/g' | sort -u

get a list of packages installed for a task.  E.g. for the openssh-server^ meta-package
apt-cache show openssh-server^ | grep ^Package: | sed -e 's/Package: //' | sort -u

check the installation status for the list of packages installed for a task. E.g. for the openssh-server^ meta-package
apt-cache policy $(apt-cache show openssh-server^ | grep ^Package: | sed -e 's/Package: //' | sort -u) | grep -B 1 Installed:

glue it all together with bash to get task status
for t in $(apt-cache dumpavail | grep ^Task: | sed -e 's/Task: //' -e 's/,./\n/g' | sort -u); do
  t_installed=u
  if (( $(apt-cache policy $(apt-cache show ${t}^ | grep ^Package: | sed -e 's/Package: //' | sort -u) | grep Installed: | grep -c 'none') == 0 )); then t_installed=i ; fi
  echo $t_installed $t
done


How to test other DE in Ubuntu 12.10 live (alpha)

Does the live cd let you change to the tty login by pressing CTRL+ALT+F1 ? If so you might be able to killall lightdm and then try kubuntu-desktop. That's what i would try. (-=


right click menu on mouse release (windows behavior)

It's really annoying behaviour for mouse when it opens context menu on right-click-down event, I tried to fix it in driver level but I couldn't.
But I found  very reliable workaround to fix it.

1) Install Easystroke Gesture Recognition from repository

sudo apt-get install easystroke

2) Open Easystroke then go to preferences tab, in Behavior section click Gesture Button

and right click on the rectangular area in Select a Mouse or Pen Button window.

3) In Timeout Profile dropdown list pick up Timeout Off

That's all! You don't need to add an action


How to fix broken dropdown menu of HPLIP tray icon in Ubuntu MATE 18.04 LTS?

The autostart file from hplip-gui is located in /etc/xdg/autostart/hplip-systray.desktop.

To fix the menu display we need to launch hplip with help of DBus (as in DropBox case) by creating a custom copy of this file for the user:

killall hp-systray
rm ~/.hplip/hp-systray.lock
mkdir -p ~/.config/autostart/
cp /etc/xdg/autostart/hplip-systray.desktop ~/.config/autostart/
sed -i "s/hp-systray -x/dbus-launch hp-systray -x/" ~/.config/autostart/hplip-systray.desktop

and then reboot and enjoy:

Notes:
This method is useful for 18.04 LTS, 18.10, 19.04 and 19.10. It is a temporary fix for bug 1810745.


how to take Automatic screenshots in ubuntu 12.04 every 2 minutes

I'd prefer ImageMagick.

Note: check applicable privacy laws, as the screenshots may contain confidential data.

Now, on how to do this:

You need to have the ImageMagick package:

# apt-get install imagemagick

Then, make a Bash script to take the screenshot, save it somewhere (I'm using an example filename of /path/to/your/script.sh) and make it executable (chmod +x /path/to/your/script.sh):

#!/bin/bash

# change this for a different date format - see: man date
export DATE=`date '+%Y-%m-%d_%H%M%S'`
# display to take the screenshot of
export DISPLAY=:0
# filename to screenshot
export SCREENSHOT_FILENAME="/tmp/screenshot-$DATE.png"
/usr/bin/import -window root "$SCREENSHOT_FILENAME"

Last, set up a cron script to do this for you (crontab -e, add this line to the end):

*/2 *   * * * /path/to/your/script.sh

This will, every two minutes, try to take screenshots of display 0 (which is the default one; if you have a multiseat setup, you may need to find out which window you need), and save them as timestamped PNGs to /tmp (this is an example location which is likely to exist; you may want to use a different directory).

Caveats: there is no checking of free space, so the script may fill up all the space in target location. The script assumes the user is logged in at display :0 (if another user is logged in, user is logged in at different display, or there is no X session, the script will fail).


This is a known issue with recent Lenovo models. The word is that the trackpad works with full functionality if you use kernel 4.0, but using 3.19 (the 15.04 kernel) requires some ad hoc workarounds. Here's a thread you might find helpful:
http://www.reddit.com/r/thinkpad/comments/33gkqq/t450s_can_confirm_that_linux_kernel_4_fixes/


Try with this on the console.

sudo rfkill list

it should show you if your wifi card is soft or hard blocked.

0: samsung-wlan: Wireless LAN
    Soft blocked: no <---- THIS COULD BE YES
    Hard blocked: no <---- THIS COULD BE YES
1: samsung-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
8: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

It happens on my laptop whenever I close the screen and reopen it. For some reason the wlan does not come up automatically. I had to write a script to unblock my card.

To unblock just execute this command on the console

sudo rfkill unblock all

Hope it helps.


How is your printer connected to your PC? USB, Network cable, wireless? Exactly which driver/version are you installing/re-installing? Where did you get the driver from?
And I suggest you elaborate on "get stuck" as that does not tell people anything. Do you mean it jams? Simply stops printing? Does the job queue still show a job when this happens? Can you delete the job from the job queue? Edit your original question with the results of lpstat -t
Have you gone through this page? wiki.ubuntu.com/DebuggingPrintingProblems


Is there any particular desktop environment which android uses and is there any way to get on on Ubuntu?

Not inside Ubuntu as such, but you could dual boot the computer by running Android on Intel


How to delete all source codes and packages I have downloaded

I suggest you read this Community Documentation article: Recover Lost Disk Space

From link:

How to find lost space

To check the amount of space being used for package storage, run:

du -h /var/cache/apt/

How to Fix It

There are several system commands you can use to reduce or eliminate the number of locally stored packages.

Remove all expired packages from /var/cache/apt/archives and /var/cache/apt/archives/partial that are no longer available for download:

sudo apt-get autoclean

"Not available for download" does not mean the user should save them - normally these files have been replaced or are no longer needed.
Remove all the packages from /var/cache/apt/archives and /var/cache/apt/archives/partial folders:

sudo apt-get clean

Remove unneeded dependencies which are no longer needed:

sudo apt-get autoremove

Synaptic custom filter practice can also help for search packages:

You can use this method for searching custom packages, but I DON'T RECOMMEND IT as universal method for cleaning.

You can choose different Statuses for New Filter :

And create different Properties :

Good Luck!


What is the @ sign added as a suffix to images used for apps based in the Ubuntu SDK?

This is related to Resolution Independence in the Ubuntu SDK. Currently the documentation for this part is missing, but it should be added soon.

Taking the avatar@8.png image file name as an example, the @8 suffix refers to the DPI in which the original image was created.

That information will be used in the resolution independence calculations that will happen when scaling the image. When referencing to the image in the code, you should use the name without the suffix, e.g. avatar.png


How to stop .NET Core from collecting data to protect privacy?

Short answer:

Issuing this command should disable telemetry:

export DOTNET_CLI_TELEMETRY_OPTOUT=1

More details:

This is the output from running the dotnet new as the first command.

Welcome to .NET Core!
---------------------
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
Telemetry
--------------
The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include commandline arguments. The data is collected by Microsoft and shared with the community.
You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.
You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
Configuring...
-------------------
A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once.
Decompressing 100% .... ms
Expanding 100% .... ms

More information can be obtained from the sources and the pull request for telemetry feature

  DOTNET_CLI_TELEMETRY_OPTOUT

  Specifies whether data about the .NET Core tools usage is collected
  and sent to Microsoft. true to opt-out of the telemetry feature
  (values true, 1 or yes accepted); otherwise, false (values false,
  0 or no accepted). If not set, it defaults to false, that is, the
  telemetry feature is on.

It is good to know where .NET Core creates its cache.


Docker Symlink from shared folder in virtualbox

To change the ownership of your symbolic link try the following command and see if it fixes your problem. A sudo might be needed.

 chown -H myuser:mygroup mysymbolic


How to clear system tray notification via command line

If you wrote the application, you could just put a timeout on the notifications:

notify-send -t 5000 "Title" "Details"

If not, the only way I know of would be to restart the gnome desktop. You can do it by pushing Alt + F2, type "r" then Enter. But if you want to do it via command line:

killall -3 gnome-shell

Unfortunately the kill gnome option will interfere if you want to keep using applications during the flickery restart of gnome-shell.


Keyboard shortcut - get a list of what is already used?

It is not possible to have one comprehensive list of keyboard shortcuts that are in use. That is because keyboard shortcuts may be defined and act on different levels.

Keyboard shortcuts used in an application are defined by the developers of the application. In some cases, the application allows to reconfigure these definitions, in other cases, it doesn't.
Keyboard combinations can defined by your desktop environment. These are active throughout and have preference over the shortcut defined in an application. For example, if you define Ctrl+f to launch your browser, then the same shortcut defined at the level of an application, i.e. Ctrl+f in your browser or word processor to find something, will not work anymore.

For (1), there may be a list of the shortcuts in the manual, or on a help page, or there might be no documentation. It depends on the software. For (2), you can typically see these in the Keyboard settings of your desktop environment (Gnome, Mate, Budgie, KDE, ...), or in the configuration manual of window managers (openbox, i3wm, ...).

There are some conventions on the use of certain keyboard combinations. Typically, programmers will attempt to define their hotkeys as to not conflict with combinations that find general use (otherwise they will hear it from the users!). You thus need to have the same care in choosing your hotkeys. If at some point, you discover that your choice of Ctrl+f to open a browser conflicts with an important hotkey in an application, then you will need to consider whether to keep that combination or not.


smtp authentication virtual domain ubuntu 14.4

Based on the output of doveconf -n, Dovecot is not set to handle SMTP SASL authorizations from Postfix. You can try adding the following to your /etc/dovecot/conf.d/10-master.conf file:

# Add SMTP SASL authorizations from Postfix:
service auth{
unix_listener auth-userdb{
}
inet_listener {
port=12555
}
}

And in your /etc/postfix/main.cf file, add the following:

# Add Dovecot listener for SASL authorizations:
smtpd_sasl_type=dovecot
smtpd_sasl_path=private/auth
smtpd_sasl_path=inet:127.0.0.1:12555

The # at the start of a line to add comments about the changes so you can keep track of what you changed - I recommend you do this in case you need to go back and remove the edits.

The port number 12555 is arbitrary, but make sure to use a port that is not being used for any services. Port 12555 isn't used for any common services which is why I selected it.

Restart Postfix and Dovecot with sudo service postfix restart and sudo service dovecot restart. See if this allows SMTP authorizations through Dovecot.


Why am I getting "apt-setup/security_host ubuntu doesn't exist" while instaling from pressed?

It seems this was a bug - Fix released.

source: https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/728710


Firstly, please make sure you reach the screen where the installer says something to this effect.

"Please remove the disk form the drive and reboot, you can continue to work, however any settings will not be saved"

Once there, please reboot and press F2 or F8 or other function key to get into the boot menu option.
If that does not appear for some reason, please reboot again (power key).
Enter into BIOS (usually it should be DEL key)
Go to the Settings and locate the Boot Menu.
Locate the Harddisk you have installed Ubuntu 14.04 and move it to the top.
Now, reboot. you should be able to.


This system is currently not set up to build kernel modules. Please install the gcc make perl packages from your distribution

You probably need to install these 2 packets: virtualbox-guest-utils and virtualbox-guest-dkms

It will require few seconds through this terminal command:

sudo apt install virtualbox-guest-utils virtualbox-guest-dkms

Then execute again sudo ./VBoxLinuxAdditions.run as you did and it should work fine ;)


How can I get a external hard drive with Ubuntu 16.04 to appear in Windows?

You can read ext2, ext3 and ext4 partitions from Windows using ext2explore:

https://sourceforge.net/projects/ext2read/files/latest/download


To uninstall Skype

sudo apt-get remove skype:i386

in fact you should be able to uninstall any app installed from .deb using apt-get


How can I stop a guest session created by startx command?

You updated your cached sudo credentials (no real effect), switched the user to yourself (again no effect), then started an X session on tty8, which had an effect :).

Use Ctrl+Alt+F8 (not F7) to switch to the graphical display if you want to see it.

Starting the second X session caused a problem with your .Xauthority file. You can fix the problem by deleting it.

Use Ctrl+Alt+F1 (or F2, etc) to get to a terminal and login as yourself.

rm ~/.Xauthority


unable to connect to ethernet in ubuntu 14.04

Overview

This is caused by during the installation of Ubuntu, they where unable to automatically grab you're wireless adapter. These hardware id's you see are Vendors and Devices, these Vendors and Devices may be hard to find for a Linux distribution as you're laptop/notebook was designed for a Windows OS. Most manufactures will not provide Linux Distribution drivers for there products.

Solution

The only solution I can see for you is to search around in places like PCI Database or google, I can see that you have Internet connection and if that is caused from you being on a different personal computer, you can simply copy it to a USB Key/Fash Drive or burn the files to a CD/DVD.

Links:

http://www.pcidatabase.com/

http://pci-ids.ucw.cz/read/PC/

These are all places to search for you're driver and there are thousands more all across the Internet.


Internel Server Error when installing Savanna

I guess you have installed not only Savanna service, but Savanna UI as well following this doc
http://savanna.readthedocs.org/en/latest/horizon/installation.guide.html

right?

Which version of OpenStack do you use?

I would recommend two things: first check that you correctly followed the instructions at each step. Second try to find Horizon logs on your system, they may have a clue.

And one more suggestion: for the further questions I would recommend using
https://ask.openstack.org/en/questions/

It is much more probable to find OpenStack users and experts there.


How to execute a terminal command every time the firefox windows closes

The only way I can think of is not very elegant. You can have a script running in the background that counts the number of open firefox windows every second and launches your command if that number changes. Something like:

#!/usr/bin/env bash

## Run firefox
/usr/bin/firefox &

## Initialize the variable to 100
last=100;

## Start infinite loop, it will run while there
## is a running firefox instance.
while pgrep firefox >/dev/null;
do
    ## Get the number of firefox windows
    num=$(xdotool search --name firefox | wc -l)

    ## If this number is less than it was, launch your commands
    if [ "$num" -lt "$last" ]
    then
        rm -rf ~/.wine-pipelight/*;
        ## I included this since you had it in your post but it
        ## does exactly the same as the command above.
        rm -rf ~/.wine-pipelight/./.*;
        cp -a ~/viewright_backup/. ~/.wine-pipelight
    fi

    ## Save the number of windows as $last for next time
    last=$num

    ## Wait for a second so as not to spam your CPU.
    ## Depending on your use, you might want to make it wait a bit longer,
    ## the longer you wait, the lighter the load on your machine
    sleep 1

done

Save the script above as firefox, put it in your ~/bin directory and make it executable chmod a+x ~/bin/firefox. Since Ubuntu adds ~/bin to your $PATH by default and adds it before any other directories, running firefox will launch that script instead of the normal firefox executable. Now, because the script is launching /usr/bin/firefox, this means that your normal firefox will appear, just as you expect, only with the script running as well. The script will exit as soon as you close firefox.

DISCLAIMER:

This script is

Not elegant, it needs to be run as an infinite loop in the background.
Requires xdotool, install it with sudo apt-get install xdotool
Does not work for tabs, only windows.


Ubuntu 14.04 - LibreOffice Writer doesn't have visible minimize, maximize and close buttons

Alt+F7
The keyboard shortcut to move a window is Alt+F7
To use this, click somewhere within the misbehaving libreoffice window to make sure it has focus.
Then use the keyboard short cut.  The mouse grab will occur - just move you mouse downwards to move the window from under the panel.
Other useful shortcuts can be viewed in the System Settings - Keyboard window


How to get to the GRUB menu at boot-time ?

To get into that menu you should simply press shift as soon the BIOS is done, this might need a few tries to get the timing right.

The other option is to edit grub itself for making it permanently appear you can open a terminal (ctrl+alt+t) and edit /etc/default/grub:

sudoedit /etc/default/grub

There you change this line

GRUB_HIDDEN_TIMEOUT=0

to

#GRUB_HIDDEN_TIMEOUT=0

After that you need to update your grub bootloader with:

sudo update-grub


Wired Settings Disappeared in Ubuntu 20.04.2 LTS

No driver attached
lsmod | grep r81

Remove
sudo modprobe -r <your_module_name>

Add
sudo modprobe <your_module_name>

If the module is not found. You can download the source code of the driver. Build for your version of the system.


How to change Applications Menu Contents

Open System -> Preferences -> Main Menu (hope I got it properly translated) and simply drag and drop the elements you want to change.

(EDIT: As Reuben Swartz suggests in a comment below, a quicker way to get to the same place is right click on the Application Menu and then select "Edit Menu").

On a side note, you can even Create a new menu (or menus) and create launchers within any menu -in case you don't want to delete those elements from the Accesories menu, but just want to have duplicate entries-.


Once you have deleted the partition, it's gone forever. Unless you have made a backup of the partition, then you can't get it back.


Failed to add plugin to the panel, no running instance of xfce4-panel was found

ps aux | grep xfce showed the following process:

/usr/bin/xfce4-panel --add=launcher /home/simon/.config/autostart-scripts/xscreensaver.desktop

Once I deleted ~/.config/autostart-scripts/xscreensaver.desktop the error stopped appearing.


How to get Spyder IDE to use Python 3 in Ubuntu 12.04 LTS?

Now that you have got the Universe PPA, you will need to update the apt-get cache by running the following command:

sudo apt-get update

And once the apt-get cache is updated the following command should now work to install:

sudo apt-get install spyder3


"A fatal error has occured: Couldn't create admin" error when installing Ubuntu OpenStack - Canonical Distribution

Your error is

Database.connect(**conn_params)\n  File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect\n    connection_factory=connection_factory, async=asyn
c)\ndjango.db.utils.OperationalError: could not connect to server: Connection refused\n\tIs the server running on host "localhost" (::1) and accepting\n\tTCP/IP connections on port 5432?\ncould not connect to serve
r: Connection refused\n\tIs the server running on host "localhost" (127.0.0.1) and accepting\n\tTCP/IP connections on port 5432?\n\n'}

It looks like there is something happening during the MAAS installation. Can you verify MAAS did get installed?


memtest
Go to https://www.memtest86.com/ and download/run their free memtest to test your memory. Get at least one complete pass of all the 4/4 tests to confirm good memory. This may take many hours to complete.
BIOS
MSI-Z490 Gaming Edge Wifi
You have BIOS version 1.00.
There's a newer BIOS available that might help solve your problem, version 1.30, dated 10/14/2020, and can be downloaded here.
Note: Confirm that I have the correct web page for your motherboard model #.
Note: Have good backups before updating the BIOS.
/swapfile
Even though you have a lot of memory, a swap partition or /swapfile is still recommended. Let's create a fresh /swapfile...
Note: Incorrect use of the dd command can cause data loss. Suggest copy/paste.
In the terminal...
sudo swapoff -a           # turn off swap
sudo rm -i /swapfile      # remove old /swapfile

sudo dd if=/dev/zero of=/swapfile bs=1M count=4096

sudo chmod 600 /swapfile  # set proper file protections
sudo mkswap /swapfile     # init /swapfile
sudo swapon /swapfile     # turn on swap
free -h                   # confirm 32G RAM and 4G swap

Confirm this /swapfile line at the end of /etc/fstab... and confirm no other “swap” lines...
To edit, use sudo -H gedit /etc/fstab or sudo pico /etc/fstab
/swapfile  none  swap  sw  0  0

reboot                    # reboot and verify operation

vm.swappiness
Since you have 32G RAM, to minimize swapping, let's change this value...
Set vm.swappiness=10 (based on 32G RAM and 4G SWAP), this way...
sudo -H gedit /etc/sysctl.conf # edit this file
Search for an existing vm.swappiness= entry...
CTRL+f vm.swappiness

If found, edit it to say vm.swappiness=10

If not found, add vm.swappiness=10 at the end of the file

Save your edits and quit gedit
sudo sysctl -p
Update #1:
Set intel_idle.max_cstate=1 in /etc/default/grub, and then sudo update-grub and reboot solved the problem.


Can I use SPICE as a VNC replacement for fast local 5ghz remote desktop?

This is probably ok for a comment, but being too long, I post it as an answer.

A long time ago, I recall dealing with a Spice server in Ubuntu.
I am now looking for a few sources that you may check.

This is one I remember reading
http://learn.linksprite.com/pcduino/desktop-visualization/install-spice-server-on-a-ubuntu-12-04-server-and-create-virtual-machine-to-be-used-with-pcduino3s-as-client/

These are others, with a varying degree of relevance. Some are related to Spice as a client.

https://hungpt7.github.io/en/note%20(1894).html

https://www.linux-kvm.org/page/SPICE

https://launchpad.net/ubuntu/+source/spice-protocol

https://launchpad.net/ubuntu/xenial/+source/spice

https://wiki.ubuntu.com/spice

https://www.server-world.info/en/note?os=Ubuntu_18.04&p=kvm&f=7

https://www.server-world.info/en/note?os=Ubuntu_16.04&p=kvm&f=10


Wifi stop working after while on Ubuntu 14.04.2

you can try one of the below solution:

Open terminal and type in: sudo service network-manager restart.
OR
Go to System Setting -> Network -> Forget your wifi and reconnect to it.
OR
Restart or Log off and Log into your laptop.


How can I remove "Show Desktop" from the Alt-Tab (application) switcher?

13.04 and newer
For 13.04, 13.10 and 14.04, to enable or disable the "Show desktop" option in application switcher you can use unity-tweak-tool

12.10
For 12.10, a new setting has been added to CCSM to enable or disable the "Show desktop" option in application switcher.
Run this command in a terminal to install CCSM:
sudo apt-get install compizconfig-settings-manager

Now open CCSM and go to Ubuntu Unity plugin.

Switch to Switcher tab. Then tick the check box next to Disable Show Desktop in the switcher option.


Unable to login to Gnome (-> login loop), only Unity login possible

I had the same problem and I do not know why it stopped working. Check if you can  install wayland session.

sudo apt-get install gnome-session-wayland

After that in login screen you can select "GNOME on wayland".
It resolved my problem and at this moment I didn't see any difference in use.


How to add custom directory e.g. phpmyadmin?

Edit your Apache config file and add an Alias Directive. For example, let's use the default file.

sudo -e /etc/apache2/sites-available/default

Make your alias by adding a section within the VirtualHost directive:

Alias /database/ "/usr/share/php5/phpmyadmin/"
<Directory "/usr/share/php5/phpmyadmin/">
    Order allow,deny
    Allow from all
    # New directive needed in Apache 2.4.3:
    Require all granted
</Directory>

Save and restart: sudo /etc/init.d/apache2 restart

Or for the other reference:

sudo -e /etc/apache2/sites-available/default

And the contents...

Alias /myportal1/ "/media/my/web/portal1/"
<Directory "/media/my/web/portal1/">
    Order allow,deny
    Allow from all
    # New directive needed in Apache 2.4.3:
    Require all granted
</Directory>

Save and restart: sudo /etc/init.d/apache2 restart

Add more directives within the Directory directives, such as

Options Indexes FollowSymLinks

See http://httpd.apache.org/docs/2.2/mod/core.html#directory

That what you were after?


How to install windows on a separate hard drive

Ideally, Windows should not ruin your bootloader if it's installed on a different drive. That being said, Windows is Windows, and we really don't ever know what it's going to do. So I would do what was suggested in the comments: remove your Ubuntu drive, install Windows in the new drive, then put the Ubuntu drive back, and make sure you boot into Ubuntu (may have to change boot order in your BIOS/UEFI settings). One in Ubuntu, update your GRUB configuration so Windows shows up in the list. Then when you boot, your Ubuntu drive will load GRUB, which you can then choose to boot Windows if you'd like.


How do I get /usr/bin/python3 back after deleting it?

You didn't delete the Python 3 which Ubuntu was using, instead you deleted only the symbolic link. /usr/bin/python3 is the symlink which points to the default Python 3 version being used in Ubuntu. You can check the default version of Python 3 by doing a package search. In 18.04, 3.6 is the default version. Luckily, it wasn't deleted. To recreate the symlink, you can simply use ln, i.e.,

sudo ln -s /usr/bin/python3.6 /usr/bin/python3


How to connect remotely to the Ubuntu CLI from a Mac?

You can connect to your machine through SSH. Here is a tutorial on how to do it. In summary:

Open MAC terminal and type:

ssh {your ubuntu user}@{your ubuntu IP}

It will prompt for a password, type your Ubuntu's user password.
If all went ok, the prompt you have is now your ubuntu prompt.

Remember you need to have an ssh server listening on your Ubuntu machine.

Take in account that if what you want to do is run X applications in your MAC (i.e. run an application that has windows) you will need to connect your X server from your Ubuntu machine to your Mac. Here is another tutorial for that.


Use Software Updater or Software for updates? Or both?

This is not an either or option.  Use whatever tool works for you.  I use aptitude, apt-get, and Software Updater on some systems.

These are mostly different front-ends in front of the same data.  aptitude uses apt-get among other tools.  I haven't bothered to discover which tools Software Updater uses, but I expect apt-get will be one of them.


How to unfold Mate Menu on hover (hot corner)

It could be done by editing the file:

/usr/lib/mate-menu/mate-menu.py

then adding one line:

        self.toggleMenu()      # added by me

for me it was lines 547-549, watch out for indentions, 8 empty spaces before the third line, it should look like that:

    def enter_notify(self, applet, event):
        self.do_image(self.buttonIcon, True)
        self.toggleMenu()      # added by me

now kill the toolbar and it will start again with hot corner support.

killall mate-panel

enjoy

Thanks for Akuli from #mate channel at freenode.net for providing the answer


Installing Windows 8 alongside with Windows 7 and Ubuntu 12.04

There would be no problem if you install windows 8 on another partition, but there will be a problem when you format the Windows 7 partition and install Windows 8, you will no longer be able to boot Ubuntu because you have installed Ubuntu using the Wubi installer.


In general, it's better to install postgreSQL through the Ubuntu packages (with apt). Doing that, man postgres would work directly. When using custom installers, the fact than manpages are not being readily available is just one of many annoyances you'll see, due to lack of integration with the rest of your system.

But if you have good reasons to do it the hard way, adding non-default directories to the paths searched by man is possible and explained at : How to set MANPATH without overriding defaults?


How Ubuntu 15.04 amd64 Desktop install media (ISO file) is generated?

Thank you for the suggestions guys but I think I've found the answer to my own question, also it was (at least partially) answered here: How do I create an EFI-bootable ISO of a customized version of Ubuntu? in great detail, with the exception of the isohybrid portion.

In fact that guide produce a bootable ISO9660 (Rock Ridge) EFI/UEFI image but when I try to write the resulting image to a USB drive with the low level dd utility all I get is an unbootable drive (it works however when I burn it to a DVD)

The trick here is to use the isohybrid utility to modify the image: isohybrid --uefi output.iso, this will add a small FAT partition to the structure of the ISO image, making it capable of booting via USB on EFI/UEFI systems.


How to run Synaptic with sudo privileges?

I'm not sure if this is what you mean, but you can try gksu synaptic.


I had a similar problem; try the following:

First check that the video device is unclaimed:

sudo lshw -c video

Then check to see if you have the radeon module installed:

find /lib/modules/`uname -r` -type f -name "*.ko" | grep radeon

My problem specifically was that the radeon module was not added to the autostart file:

less /etc/modules

If "radeon" does not appear there, add it in:

echo 'radeon' | sudo tee -a /etc/modules

Reboot and see if it starts.  You can check afterwards if the video device is claimed.


Nvidia Card not detected -- clean install -- Have tried many solutions

Have you followed these instructions and still couldn't get your nvidia card to work?


That's right, if you have a key generated in End-To-End and want to use it in GnuPG, you have to use version 2.1, which is not officially released yet (still in beta). You can either look for third-party repositories which provide it, or compile it yourself.


Why do I find two menu bars when I upgraded to Ubuntu 16.04?

It is a bug (possibly in Unity) that affects other users as well. for more info see : https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1542519


Since updating to kernel 4.0, the issue hasn't appeared again. I guess it is fixed in the new version.


How to I install plugins and CMYK on gimp 2.10.10 snap package?

The GIMP's preferences (GIMP → Preferences → Folders → Plugins) shows the following plugins directory for Snap installation:

/home/$USER/snap/gimp/165/.config/GIMP/2.10/plug-ins

You have to download and extract the plugin to this directory and then restart GIMP.


"USB HDD" option replaced by "ubuntu" in BIOS, now cannot use USB boot media

Partial fix/workaround:

Restored Samsung factory settings, resulted in Windows factory install
Manually install rEFInd via Windows
Boot Arch Linux USB from rEFInd


Please help me work out what is happening with the available space on my VM's LVM2 partition

LVM has three levels of abstraction:

"physical volume" (PV) is, as the name says, the basic "physical" layer. That is what refers to your hardware and what you have increased by sudo pvresize /dev/sda5. sudo pvdisplay should now show the full size and the size used.

"logical volume group" (VG) is the grouping layer for one or more PVs. You may find the name and size of your VG with sudo vgdisplay. This name should be "box--template--vg"; look for this name. With resizing PV, the VG should be automatically extended.

"logical volume" (LV) is the top layer you can use like ordinary partitions. One VG can have one or more LVs. The name and size of your LVs are shown with sudo lvdisplay. The name of your LV is "box--template--vg-root", as can be seen in the device column of df (/dev/mapper/box--template--vg-root).

This is not increased automatically when you extend the VG. So you have to extend the LV: sudo lvresize -r -l100%VG box--template--vg-root. This will resize the LV to use the full VG (-l100%VG) and then increase the size of your filesystem / as well ( -r), supposed this may be increased online (like ext4 does).

Edit: I just saw your output of lvdisplay. So increase this with sudo lvresize -r -l100%VG /dev/box-template-vg/root. Or, what is identical, sudo lvextend -r -l +100%FREE /dev/box-template-vg/root.


Run in a terminal

sudo tee /etc/modprobe.d/blacklist-acer.conf <<< "blacklist acer_wmi"

and reboot.


The sshpass is only wrapper to provide password to the rsync/ssh command inside. Once the rsync ends, the connection is automatically closed.


blocking a normal user's access to a command using sudoers file

I choose this a final answer :

Also the sudoers file can not block commands not run with sudo – Soren A

Thanks.


Change directory ownership on mounted drive

The problem is in your chmod -R command.  The * in the command is excluding the actual mike/ portion of your space.  By default the * doesn't see the dot . in the intended immediate directory.

These are commands that will achieve what you are looking for.  First, it's common for users to mistakenly change owner of their home's root director or some of the files and folders in their space.  This can be corrected with:

$ sudo chown -R $USER:$USER ~/

or in the case of the command in your question, use this:

$ sudo chown -R mike:mount_group /mnt/archives/mike/


How can I stop bluetile from changing the window manager theme?

If I'm reading the bluetile site properly, it is a window manager itself, so when you load it, it replaces your window manager, which is where your theme is coming from.  If you watch the video he explains the theme, the buttons have been modified to fit in with the tiling aspect of things.

thats my guess at least.


This link is a list of Old Ubuntu releases:

Old Ubuntu Releases


You probably need to install unzip

sudo apt-get install zip unzip

as far as your error message, yes you should probably file a bug report on that one.

"How do I report a bug?"


how did Ubuntu 18.04.2 LTS address to the fix for RIDL and Fallout: MDS attacks?

CVE-2018-12127?
The link to the CVE has a list Ubuntu versions and packages affected and changed. A lot are DNE (does not exist).

Priority High
Description
Microarchitectural Load Port Data Sampling (MLPDS): Load ports on some
microprocessors utilizing speculative execution may allow an authenticated
user to potentially enable information disclosure via a side channel with
local access. A list of impacted products can be found here:
https://www.intel.com/content/dam/www/public/us/en/documents/corporate-information/SA00233-microcode-update-guidance_05132019.pdf

References

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12127
https://usn.ubuntu.com/usn/usn-3977-1
https://usn.ubuntu.com/usn/usn-3978-1
https://usn.ubuntu.com/usn/usn-3979-1
https://usn.ubuntu.com/usn/usn-3980-1
https://usn.ubuntu.com/usn/usn-3981-1
https://usn.ubuntu.com/usn/usn-3982-1
https://usn.ubuntu.com/usn/usn-3983-1
https://usn.ubuntu.com/usn/usn-3982-2
https://usn.ubuntu.com/usn/usn-3980-2
https://usn.ubuntu.com/usn/usn-3984-1
https://usn.ubuntu.com/usn/usn-3981-2
https://usn.ubuntu.com/usn/usn-3983-2
https://usn.ubuntu.com/usn/usn-3985-1
https://usn.ubuntu.com/usn/usn-3985-2
https://usn.ubuntu.com/usn/usn-3977-2
https://usn.ubuntu.com/usn/usn-3977-3


Boot with a livecd.

You need to shrink sda7 and then increase the size of sda6.

Backup before you start. It is not likely that anything will go wrong - but if it does you will be glad.

Do not stop gparted once it starts - it could take time to do.

Open gparted - right click on sda7 and Resize

Select the left hand edge of sda7 - arrow not hand - and shrink to the right.

Once shrink you will have unallocated space between the partitions

You can then right click sda6, resize again.

Select the right hand edge and resize to the right to fill the space.

This might change the UUID of the partition and cause grub to fail, I would while in the livecd reinstall grub to ensure you can boot.

https://help.ubuntu.com/community/Grub2/Installing#Reinstall_from_the_LiveCD

In a terminal - assuming that sda7 is still called that.

sudo mount /dev/sda7 /mnt

sudo grub-install --boot-directory=/mnt/boot /dev/sda


Edit compose key - in system/preferences/keyboard

Compose key behaves a bit differently than you expect. It is not a modifier like Ctrl or Alt which should remain pressed while you typing the rest character(s). Compose is pressed, then released and the keyboard switches to the state which waits for the additional key sequence. If the key sequence is valid, it is transformed into some Unicode symbol, if it is invalid, keyboard leaves this state and waits for the next keystrokes. For example, to enter Em-dash symbol (long dash) I should press Compose, -, -, - sequentially.
Valid sequences can be found here.
And one more source: /usr/share/X11/locale/en_US.UTF-8/Compose (this one is huge).

In order to set Compose key, press Disabled word to the right of Compose in the window you provided in your question. Then press the button which will take over Compose function. For example, I use Menu button, which isn't used too often. It is located between right Super (with window logo) and right Ctrl. Close the window and try some Compose combination in any editor.


Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' from sessionclean cron

You're trying to use a Windows library (a DLL) on a Linux system. DLLs don't work on Linux (apart from emulating with Wine, developing with Mono or such). Additionally, the .dll file you're referencing in your config isn't even there ;)

You need the corresponding .so library, which should be supplied by the package php7.0-soap. In general, many PHP modules can be found in their respective packages, like php7.0-mysql, php7.0-intl or php7.0-cgi.


When you run this command:

sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12

and this message appears:

Xfce 4.12 packages for currently supported versions of Xubuntu. Please note that these are pre-release versions, which may contain annoying bugs and/or crash.

Then it's just a warning. There is the potential possibility that this PPA can also supply unstable versions.

But you can compile the stable version.

Here are the instructions to compile from source, e.g. for xfce-4.12:

wget http://archive.xfce.org/xfce/4.12/fat_tarballs/xfce-4.12.tar.bz2
tar xf xfce-4.12.tar.bz2
cd src
for f in *.tar.bz2; do tar xf $f; done

Then in each folder, e.g. Thunar-1.6.6

cd Thunar-1.6.6
./configure
make

and install with:

make install

or with checkinstall for .deb packages:

sudo apt-get install checkinstall
sudo checkinstall


Try:

apt-get install python-evdev python3-evdev

The error message just indicates a missing Python package (evdev>=0.3.0 not found).


AMI based on Ubuntu 18.04 AWS image does not have network interface

I hit the same problem.  It turns the ifupdown pkg is up to blame.  Simply removing it (apt purge ifupdown) should solve the problem.


You probably can fix this by disabling the touchpad while typing.

You have two options.

Graphical

This will include some additional gnome libs ;)

sudo apt-get install tpconfig

In tpconfig you will find options to enable/disable tap mouse clicks and to disable touchpad while typing.

Command line

In the XFCE options, add this command to autostart

syndaemon -t -k -i 2 -d

See man syndaemon for a full set of options.


Set up NGINX and bought a domain. How to connect the two?

You need a nameserver. That's what connects a domain name with a server.

You can do that all yourself by installing bind9 on your server and setting it up but this is usually a pretty poor idea. They need to be online 100% (more than the server itself) and they need to respond really quickly. You'll also need two distinct IP addresses. These are qualities that are just easier to accomplish through managed DNS services.

Many registrars provide nameservers these days (mine certainly do) and even more hosts (I'm not sure who owns your server so this might not apply) provide it for free too. Failing that, there are other third party options like EasyDNS and ZoneEdit, ClouDNS, etc. These are massively available services. They're doing it better than you ever could.

Anyway, once you have that in place, point the domain to the nameserver and then you can set up domain records on the nameserver. This allows a browser to resolve an IP address for a given domain name.


First, reset the port to 10000 for Webmin by editing /etc/webmin/miniserv.conf putting 10000 in the port and listen fields. Save the changes. You should now be able to access Webmin through the standard web address.

Go into the Webmin Configuration page and add the new port you want to access through in the "Listen on IP's and ports:" section; leave the standard port 10000 open for now - you can add a second port in the settings. Make sure the "Open new ports in firewall" box is checked. Save the changes and try accessing Webmin through the new port. If that works, you can remove the port 10000 entry and use the new port.

If you are going to be accessing Webmin from outside of your LAN, make sure to add a port forwarding rule in your router for the new port.


Is Ubuntu 17.10 safe on Lenovo Laptops if it is already installed?

The launchpad bug website indicates that a fix for Artful (17.10) has been released - see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1734147

The fix is to load kernel => 4.13.0-21.24, which is currently available in the Ubuntu repositories.


The following link has instructions on how to go about doing this:

Installing SkyDrive (SMEStorage) on Ubuntu 12.04

It makes use of SME (Storage Made Easy), which provides a deb file for Ubuntu. Supports 12.10 and 13.04.


Qualcomm Atheros WiFI, Lenovo v310 & Ubuntu 16.04

You need to disable ideapad_laptop module that is blocking the Wi-Fi.

Run in a terminal

sudo tee /etc/modprobe.d/blacklist-ideapad.conf <<< "blacklist ideapad_laptop"

and reboot.


Error while installing deepin on ubuntu 20.04

I think I fixed the issue. I found this website (in chinese, but you can translate using google), which seems to have a solution. This is linked to a problem with the deepin-anything-dkms package.
In this link it asks you to download the kernel ver 5.8, but I did not had to do it to fix the problem. Focus on the last instructions:

After inquiring, it should be deeping-anything (
https://github.com/linuxdeepin/deepin-anything ) that the kernel
module has a problem. The new version of the kernel has changed the
structure, resulting in unsuccessful compilation. Modify its source
code directly
sudo gedit /var/lib/dkms/deepin-anything/0.0/source/vfs_change.c

Modify time_t on line 128 to ktime_t
Amend lines 336-343 as follows:
static struct proc_ops procfs_ops = {
  .proc_open = open_vfs_changes,
  .proc_read = read_vfs_changes,
  .proc_ioctl = ioctl_vfs_changes,
  .proc_lseek = no_llseek,
  //.llseek = generic_file_llseek,
  .proc_release = release_vfs_changes,
};

You can successfully install the 5.8 kernel by compiling.
Keep it for yourself, or some people may need it.
After executing these simple steps I executed the following command:

sudo apt install sudo apt install deepin-anything-dkms

And the issue seemed to be solved.


How to change the minimum brightness value?

The best way i with sysfsutils.

sudo apt install sysfsutils

create in under folder /etc/sysfs.d/ a file named brightness.conf with following content. The name  has to and with suffix .conf

class/backlight/intel_backlight/brightness = 2070

Restart service

sudo systemctl restart sysfsconf.service

sorry for  link but I can not explain in english.


not logging in blank screen after login with system error message

Fixed: just had to uninstall all the nvidia drivers


As always with FFmpeg there are a number of choices to make, and I have narrowed this down a little further to create a clear answer:

1. Your input file's codecs are supported in  TS container:

Examine your input file with FFmpeg as follows:

ffmpeg -i input.mp4

If the file contains codecs that are well supported in a TS container, for example H.264 video and AAC sound, you can simply copy the streams across:

ffmpeg -i input.mp4 -c copy output.ts

This will give great results although you may need to vary this command line depending on your actual use of the output file (streaming, a certain playback device etc).

2. Your input file's codecs are not supported in a TS container:

If your input file contains codecs that are not well supported in a TS container you will need to re-encode either video or audio streams or both. The default codecs for FFmpeg and the TS container are mpeg2video and mp2 sound. If you are happy to go with these default codecs the following will give great results:

ffmpeg -i input.mp4 \
       -c:v mpeg2video -qscale:v 2 \
       -c:a mp2 -b:a 192k \
       output.ts

This certainly gave quite reasonable results on my system and should on yours as well...

3. You wish to segment your file for HTTP Live Streaming (HLS):

And finally you may wish to produce a segmented TS file with playlist for use with HTTP Live Streaming (HLS). There are as always several ways to accomplish this but the sample command line below will work well for input files whose codecs are supported in a TS container:

ffmpeg -re -i input.mp4 \
       -codec copy -map 0 \
       -f segment -segment_list playlist.m3u8 \
       -segment_list_flags +live -segment_time 10 \
       out%03d.ts

If you wish to alter the codecs of the input file simply add the required settings in place of -codec copy, I believe that H.264 and AAC are popular codecs for this type of streaming. A lot of room for experimentation with the segment options which are described here...

Notes:

Comparison of video container formats: A handy set of tables showing which codecs live most happily in each container format
Audio codecs for TS containers: FFmpeg will happily place these codecs in TS: MP2, MP3, LC-AAC, HE-AAC, AC3. Reference here... under 'Container Formats'.
Segment settings and options for FFmpeg: Great explanation of the required settings to segment your files. Well worth looking at the examples section...


How to save files from applications to external hard drives?

There are answers related to this question already

here https://askubuntu.com/a/375319/1088769
and here https://askubuntu.com/a/165462/1088769

Basically using the GUI method you use the disks or gnome-disks program to mount the drive on startup. On the command line you edit /etc/fstab with a line that looks something like this

UUID=<uuid> <pathtomount> <filesystem> defaults 0 0

For me, the path to the external drives is /media/user_name/drive_identifier. I am able to go there after mounting the drives. Alternatively you could mount the drives to a different designated folder and access them there.


Synaptics touchpad shows in xinput and devices, but doesn't work. 18.04

Found an answer that works through someone using Centos7, of all things.

Dell Inspiron 3551 Unresponsive Touchpad


ubuntu server 20.04 run on raspberry CM4 (wifi chip inside) , wifi interface not found

i was having the same problem.  I can confirm that 20.10 recognizes the interface wlan0, and can connect to a wireless router through wlan0


Failed upgrade from ubuntu 19.04 to 19.10

You could try to use "Rescatux & Super Grub2 Disk"

https://www.supergrubdisk.org/

Note: ESC shows the Grub menu on system, not SHIFT.

To show console use CTRL+ALT+F1 to load the TTY1 console.


How to compile indicator terminal? Fails with "A required package was not found" message

You must install this packages:

sudo apt-get install pkg-config libgranite-dev libindicator3-dev libkeybinder-3.0-dev libvte-2.90-dev

Those are the exact package name from the buildlog.


Organising Audiobook Folders with Banshee

I just went through this with Banshee 2.6.2 (Ubuntu 14.04): twenty audio books already arranged in their own folders under ~/Audiobooks, and my music in ~/Music. The copy files to media folder option unchecked.

After doing the import into the Music library, select each audiobook in the library browser and then drag it to the Audiobooks source in the left panel.  That moves them from the Music source to Audiobooks (just the library view, not the files).

My audio books were ripped from CD, and each disc was showing its own icon in the Audiobooks library.  These can be merged in the Audiobooks library view by shift or ctrl selecting all of the entries belonging to the same book, then right click and select Merge Discs...


My wired Internet connection gets disconnected Ubuntu

The r8169 driver that is currently being used for your ethernet is buggy.

Replace it with r8168-dkms, like so:

In terminal...

sudo apt-get update
sudo apt-get install r8168-dkms
reboot


error : no such device:.... Entering rescue mode... grub rescue

This tutorial shows how to repair your Windows bootloader (MBR) from Ubuntu dual boot or Ubuntu live DVD/USB. This can be useful if you don't have a Windows DVD on hand.

Boot into your Ubuntu operating system. When you're in Ubuntu, open the terminal and follow the below steps.

Run this command to check your disk:

sudo fdisk -l

The output tells you the disk information:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x016c8108

Device Boot Start End Blocks Id System
/dev/sda1 * 63 39054014 19526976 7 HPFS/NTFS/exFAT

Now run these commands to install syslinux, which is a suite of lightweight IBM PC MBR bootloaders for starting up computers with the Linux kernel.

sudo apt-get update
sudo apt-get install syslinux

Once installed, you can fix your Windows bootloader by running the below command in the terminal:

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


The file will not be created automatically in this way.

Create a file:

sudo nano /etc/apt/sources.list.d/mptcp.list

and add the line

deb http://multipath-tcp.org/repos/apt/debian trusty main

Update the repositories

sudo apt-get update

and install your package.

sudo apt-get install linux-mptcp

And I quote @ThomasW.:

  Lets clarify this a little - the instructions that are posed by the
  upstream source (multipath TCP) are implying that the user doing these
  commands and tasks has ample understanding of the Command Line and the
  package management system to know that the file is not automatically
  created, and that the end user/admin has to create the file and such.


This worked for me:

xinput --set-prop 11 294 1

where:

11: is my mouse id, you should find and replace with yours

xinput --list --short

294: is the "Accel Speed" property id of my mouse. Just change 11 with your id and you can find your desired prop id with

xinput --list-props 11

1: the final number is the property value. For me default was 0, 1 accelerated the pointer up.

You can add the first command to the startup applications to keep the settings after a reboot. Instead of the device and prop id you can quote them in case they change after a reboot, ex:

xinput --set-prop 'Microsoft Basic Optical Mouse' 'libinput Accel Speed' 1

Source and more details taken from here:
How to change mouse speed/sensitivity?


Open Software & Updates and check this setting... then click the Close button, and approve reloading the software database, if it asks. If you then use Software Updater, it'll show when 18.04.1 LTS is available.


To quickly answer the question: yes, you can import that template. The link to the template is at the bottom of this answer.

If you'd rather not download a (possibly) duplicate template, you should be able to find the correct template where you are looking. After clicking New > Labels you should see two options in the bottom-right, labeled Brand and Type. Choose Avery Letter Size for Brand and 5160 Address for Type (you may have to scroll down the list to see all available options).

If those options are not available to you, you can certainly download the template and import it into LibreOffice Writer directly. Avery's templates can all be found on their website, the specific template you're looking for can be found here: https://www.avery.com/templates/5160 . All that needs to be done is to open the file in LibreOffice Writer. Tested today on 18.04 with LibreOffice 6.0.7.3.

I hope this helps!


No Grub menu after new 16.04 installation? (Boot-repair gives no effects)

check your system setting boot order. If that doesn't fix it then

In the efi partition, there is efi/boot/bootx64.efi
This is the default boot loader, in this case windows.
Move it to the efi/windows folder
Now copy /efi/ubuntu/grubx64.efi or /efi/ubuntu/shimx64.efi (the file you have depends if you want secure boot)
rename the copy to bootx64.efi and move it to /efi/boot/

set you boot options to device boot first.

If the system setting aren't having an effect then we need to edit the NVRam.

boot from a liveCD and install efibootmgr
sudo apt-get install efibootmgr

type sudo efibootmgr to get a list of the logged OS's
type sudo efibootmgr -b 0000 -B to delete the first entry (windows)

continue to delete all except pxe net.

this will force the computer to use device boot. log into ubuntu first so it get's placed on slot 0000, then boot wiindows.


How to create shared home directories across multiple computers?

You can set up NFS (Network Filesystem) to do the shared files. You can find a guide to do this here:

https://help.ubuntu.com/community/SettingUpNFSHowTo
https://serverfault.com/questions/19323/is-it-feasible-to-have-home-folder-hosted-with-nfs

The single sign on will be much more difficult, here's some places to get started:

https://help.ubuntu.com/community/OpenLDAPServer
https://help.ubuntu.com/community/LDAPClientAuthentication

However if your organization has an LDAP or Active Directory infrastructure in place it would help.


It should be as simple as adding the desktop couch contacts book back, like so:

From the New menu under contacts you can add an Address Book, that will show a window which you can put the type as CouchDB, give it a name such as "Ubuntu One" and then select "Desktop CouchDB" as the Server.

More detail: This ties into this couch file in your home directory which is automatically added to your ubuntu one account:

Assuming deleting the address book from Evolution didn't delete this file, then you should have a working and syncing address book.


Do you need sudo rights to shutdown on Ubuntu?

Yes, the user need to have sudo rights, but you can use NOPASSWD to skip password authentication anyway.

To allow a user to run specific commands, in this case, the shutdown command, edit the /etc/sudoers file, for example:

user ALL=/usr/bin/apt-get,/sbin/shutdown

A more detailed version which suits your requirement better (user can shut down using sudo shutdown -h now and reboot with sudo reboot. Users wishing to power down a system can also use poweroff or halt without password):

user hostname =NOPASSWD: /sbin/shutdown -h now,/sbin/halt,/sbin/poweroff,/sbin/reboot

You can use the following command to show what the user can run will tell us what commands the user can run with sudo:

sudo -U user –l


Better ubuntu 14.04 experience: Intel HD Graphics 4400 or NVIDIA GeForce GT750M?

I have a lenovo Y510P with a nvidia 775m & only use the Intel Graphics  for Ubuntu. Why? -

Mobile nvidia adapters are Optimus. If setting the laptop to nvidia only then that's done thru nvidia-prime. In that case there is no vsync at all which is unacceptable here when using an ubuntu session. The way bumblebee is used also provides an unacceptable solution.

So irregardless of whether you purchase the Intel only or the Nvidia card laptop the odds are you'll just be using Intel.

As far as Intel drivers what's provided by 14.04 for Intel by default is just fine, no need to install anything.


I get an authentication failed message when I try to remove or install software

I had the same problem.
I thought this bug was fixed, but maybe not. Here is information I found while searching for a solution(don't remember where or I would link to it)

There is(or was) a bug that removes your password when you set the automatic login.
open a terminal and type to following.

passwd {username}
replace {username} with your username NOTE THE SPELLING: passwd (no "or")
it will ask you for your current password just press enter.(your password should be blank due to the bug)
it will then ask you for your new password type it and press enter
it will ask you to enter it again, do so and press enter.
It should then tell you your password has been updated, you should then be able to use your password as needed.

This is the easiest way to reset your password but, if you get errors, you will need to reset your password with the rescue shell, that answer is HERE.


Question about dual booting with windows 10

It's your BIOS/UEFI configuration decides which physical device to boot from. So you don't have to unplug drives for installation or later. To switch between systems simply choose in BIOS/UEFI setup whether to boot from ssd or hdd.

That said, you might want to unplug hdd with Windows for Ubuntu installation if you don't want Grub menu to have an entry to boot Windows, though I see no harm in this.

UPD: as pointed out in comments, Ubuntu installer ATM has a bug forcing Grub to be installed to whatever drive seen as /dev/sda. You can reinstall it later with grub-install command, but still you end up with excess Grub on sda. If it annoys you, you indeed can unplug the second drive for Ubuntu installation, and don't forget to add yourself to the bugreport.


Can I turn off global menu only in Nautilus?

You can disable the global menu in Nautilus.

Open a terminal and type gksudo gedit /usr/share/applications/nautilus.desktop
Find the line Exec=nautilus %U and change it to Exec=UBUNTU_MENUPROXY=0 nautilus %U
Save and exit
Kill Nautilus by opening Nautilus, press Alt + F2, type xkill, click the Nautilus window.
Launch Nautilus again. No more global menu.

Now launching nautilus should have the global menu disabled.

EDIT

I just realised that this method works with other programs but not with Nautilus bacause Nautilus is launched at startup. This is not a direct answer to your question but if you want a faster file manager, you might consider installing Thunar.


How to restore installed packages from backup

The list of packages that you had installed was kept in /var/lib/dpkg/status, with daily backups of the dpkg database to /var/backups. These directories unfortunately aren't in the list of directories that you backed up.


Lost privileges - no more suspend, mounting partitions needs password

Thanks, CelticWarrior, you nailed it and I had not noticed before that for whatever reason varíous hidden directories in my home folder suddenly belonged to root.

sudo chown -R 1000:1000 .hiddenfolder

then got everything back to normal again


Fonts in message area too small to read in Thunderbird

Go to Edit-Preferences->Display->Advanced and then change the Minimum Font Size to something bigger than 10 (depends on how big you like them to be)

This worked on my system.


Ubuntu mobile OS/Ubuntu for phones: How much control do you have over your data?

I was under the impression it didn't store any of that automatically in the cloud, because those cloud services are all optional based on the use of either an Ubuntu One account, Gmail, MSexchange, etc.

All those things must be manually set up using applications such as thunderbird, or evolution mail, and if you don't set them up using cloud software, then they won't end up in the cloud.  Simple right?

Your call history won't be shared by Ubuntu, but it will be by your cell phone carrier.  There's no way out of that one I think....

Android may be linux based, but it is built by Google, the information giant.  Don't compare it's privacy policies to the rest of the linux distributions.  Canonical is not interested in collecting "big data".

Ubuntu One is a software application installed by default on Ubuntu OS.  It is an optional software that offers very good integration with Ubuntu.  Google "Ubuntu One privacy policy" for more information about their privacy policies.

Canonical preaches about convergence of the OS.  You are running the same OS on your phone, as you do on PC; with the only difference being the processor that the OS is aimed towards, and a few extra software packages focused on the GUI and user experience.

At this time, the only information Ubuntu applications that are installed by default, which share information, is Unity.  It sends search terms from the Dash to amazon (and a few others like Facebook I believe) so you can pull search results for amazon store products and facebook images with matching filenames.  This option is enabled by default and can be disabled easily, after you do a quick google search for "privacy settings in Unity desktop".

"can you set up syncing via usb only and avoid cloud / internet?"  Canonical announced that the device will sync up via mass storage mode with any computer.  It doesn't "sync" like MTP devices do, and instead offers only the classic drag n' drop file management support.  I am sure there will be other applications down the road to enable MTP and other sync methods with Ubuntu OS.

All of the former statements are in regards to Ubuntu OS for phones.  If you're planning on purchasing an Ubuntu Edge device, keep in mind that the Ubuntu Edge dual boots android, with FULL integration with your Ubuntu information.  Pictures, contacts, emails, calendar, etc... are all shared with both OS.  You will have to wrestle with android again to get your privacy settings the way you like, or it'll share all your Ubuntu info anyways.


How can I boot from a 16 Gb pendrive with some old BIOS?

Very often you can run in to problems with high-capacity usb-sticks and old hardware, most of the time the it is only BIOS that seems to be the problem. So if the BIOS can be upgraded then try that.

The only other solution (afaik) is to kickstart usb-booting from a floppy-disk, and that is not really an alternative to carrying two sticks.

If you are interested in the floppy method you should look at the grub documentation, and this brief guide on how to dd the precompiled image for pendrivelinux, after writing the disk you might have to edit the grub-config file on there.


BleachBit 3.0 does not support Ubuntu 16.04?

The python-scandir is a known issue documented in the release notes for BleachBit 3.0. There is a link there to an issue ticket that has a link to a pre-release of an official .deb with a fix.

Alternatively, you could download the older version BleachBit 2.2.

The pkgs.org site has an ancient BleachBit version 1.10. Please be careful not to use ancient versions such as this. Each version of Ubuntu (e.g., 16.04) does not update BleachBit, so it is best to get the official version from the BleachBit site.


Can't paste items into directory if it is made by another user

Thats the dealing with the permission the user2 set. The folder was created by user2 so the rightful owner of that folder is user2 only.unless he gave the permissions to you , you can not view that.

how can you access it ??

well you can access that in two ways.

If you are the root /admin user then you can directly access the folder by using your root power.
ask him for the permissions.

There are no other ways legally.

Update

OP as you mentioned , If something there to deal with SAMBA , then you must look over /etc/samba/smb.conf

for example:

[music]
path = /home/shared/music

for that shared file If you made the permissions as

read only = Yes  # only read only
create mask = 0775  # this is the mask value as root can do anything , but users and others can read and execute can not write.
writeable = Yes  # giving write permissions.

So everything to deal with sharing will be at samba configuration file. The path already gave you.


Is it safe to delete btmp from log on ubuntu 14.04 rackapace server?

btmp logs failed attempts into your system. In theory this could mean someone is trying to brute force passwords. You can empty this file but should not remove it since software could crash when it expects the file to be there. To empty it from command line:

sudo > /var/log/btmp

If it gets filled quickly you really should investigate why.

driveclient.log is something specific to space rack. Again to empty it use...

sudo > /var/log/driveclient.log

Regarding this last you should have the following files (nore info in the link):

  Agent file location (Linux)

  Assuming a default installation, following are the agent file
  locations on Linux systems:

Configuration files: /etc/driveclient
Logs: /var/log
Startup script: /etc/init.d
Application: /usr/local/bin
PID file for running the agent: /var/run/driveclient.pid
Database: search for a *.db file under /var/cache/driveclient

You can turn logging off or set the size of this log in /etc/driveclient and also how many compressed backups will be saved before the next one gets deleted.


I see the same on Ubuntu 15.04. My workaround is to explicitly specify the server IP. For example, 192.168.0.2 instead of [::] in the /etc/default/tftpd-hpa configuration file:

RUN_DAEMON="yes"
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot"
#TFTP_ADDRESS="[::]:69"
TFTP_ADDRESS="192.168.0.2:69"
TFTP_OPTIONS="--secure --create"

Then it gets the file every time. No need to restart.


Running a 1024x768 app in a 800x600 display with the use of a downscaling transform

You can run your application in a vnc (maybe x11vnc), and do the scaling with the vnc client (vinagre).

The application will not be as responsive as a native application, but should be sufficient for testing purposes.

I just came across run_scaled, which can be used to run an application scaled. It depends on a fairly recent version of xpra that is available for ubuntu here.


From the source to memtest86+ I can see that the version (4.20-1.1ubuntu1) in Precise handles parity errors explicitly. (PARITY_MEM is defined in config.h to enable separate handling of vector ==2).

So the error you are getting is not for a memory parity error.

As a guess I would suggest that the memory test is triggering some memory-mapped I/O in your system, causing an interrupt as an accidental byproduct. This doesn't necessarily suggest a problem.

Knowing the kind of interrupt from the next line of the error screen might help someone to narrow this down.


How do I build a project with qmake-qt4?

First, restore the code back to the way it was before.  When you ran qmake-qt4 -project you stomped all over the previous (and likely correct) .pro.

Once you are back to the start, navigate to the directory containing the .pro and type qmake-qt4.  That will generate a Makefile based on the characteristics in the .pro.  When it finishes, run make.  This should build the entire project (assuming you already have the qt4 build dependencies installed).  If not, download the Qt 4 source and follow these instructions.


yes, the output of mount was helpful.  i ran sudo mount -t ntfs /dev/sdb2 /mnt/windows, and it said “Windows is hibernated, refused to mount”

i went into windows and ran these commands as a command prompt admin powercfg -h off and shutdown /s /t 0

The fall creators update is weird in how it manages reboots, opening everything up where you left off.  Even if you disable quick boot, hibernation.  I read using the classic reboot menu (press alt+F4 on desktop) also works (if you hold shift or use reboot)


Using Kubuntu to accelerate FFmpeg using Nvidia GPU

I have noticed one thing. If you copied the command from Nvidias homepage, it fails.
For some reason, the "-" in the command is not the character you expect. Type them manually instead.


Network connection error after suspend Ubuntu 14.04

Robbin's answer fixes it for me.  To have this run every time the system wakes create a script with this content...

#!/bin/sh

case "${1}" in
    resume|thaw)
        service network-manager restart;;
esac

and put the script in /etc/pm/sleep.d and make it executable.  (The script is a slight variation of the one on this page)


How to repair bad sectors on ntfs partition

Firstly, before doing anything else, I would check the extent of the damage done to the hard drive since that will in part determine the next step. Check the SMART data through Disk Utility (palimpsest from a terminal). In Disk Utility, select the drive in question and click the "SMART Data" button to view information about the number of disk errors that have been reported.

Take careful note of the "Reallocated Sector Count" and especially the "Uncorrectable Sector Count". Either any amount of uncorrectable sectors, or an excessive amount of reallocated sectors, is an immediate red flag that you should back up your data and replace the drive.

If you see signs of damage at this point but decide to proceed in making alterations to the filesystems anyway, you are doing so at your own risk!

You have a couple options to try to fix corrupt ntfs volumes:

In my experience, using Windows chkdsk is usually the best option, since ntfs is inherently a part of the Windows world, and Linux tools that operate on it are just reverse-engineered solutions. This of course requires that you have a bootable Windows installation on the disk already.

Equivalently, you can run ntfsfix from Ubuntu which will mark the partition in question as 'dirty' so that Windows will automatically run chkdsk on it the next time it's booted. Take note that ntfsfix is not a Linux replacement for chkdsk, as stated in the ntfsfix manual.

If you can't run chkdsk, you may want to try reading up on and running testdisk, a powerful data recovery tool that can fix inaccessible ntfs partitions and make various repairs, but it depends on exactly what kinds of symptoms (if any) you're currently seeing.

Again, if you suspect the integrity of your data is in question you shouldn't hesitate to back up your drive before proceeding, since any further writes may make the problem worse, especially if there's physical damage.


Wireless won't connect after resume - adapter is not asleep

I have had the same problem and

killall wpa_supplicant

only worked for a while before it became totally useless.

After some update the resume thing caused a clickpad failure along with the wireless thing and installing fglrx fixed both issues:

sudo apt-get install fglrx


Create a file to automatically check user list for users specified

This code should work for you.

for username in $( awk -F':' '$3 >= 1000 {print $1}' /etc/passwd )
do
        if ! grep -q "$username" list.txt; then
                echo "$username"
        fi
done

Keep the usernames to check in list.txt as one user per line


Toshiba T110 brightness control "FN" doesn't work (Ubuntu 12.04 LTS 32 bit)

you can try below command

xrandr --output LVDS1 --brightness 0.89


Ubuntu 17.04 upgrade asks me to choose trusted certificates

Short answer:
You can't really know which ones are trustworthy (and you're right that it is really much too complex to be asking the user to make a decision like that during upgrade). For most people it is best to allow Mozilla and Google to manage their respective trust stores, as they will ban or restrict any CAs found to be violating trust.

Longer answer:
Even the CAs which are supposedly the most "trustworthy" are regularly being found to have fallen short. For example, Google recently found that Symantec (a CA that most would assume to be a pillar of trustworthiness, especially since they own VeriSign) had mis-issued over 30,000 certificates and committed major violations of the CABForum baseline requirements for CAs. Apparently this has been going on for years. Several other widely trusted CAs have similarly been found to be mis-issuing certificates or have had their trust compromised over the years (CNNIC, Comodo, Comodo again, and the now defunct DigiNotar are a few examples). It is becoming increasingly clear that the industry itself does not know how to accurately verify CA trustworthiness.

Also, understand that even CAs that are following the rules can be abused because they employ automated systems. For example, the fully automated CA Let's Encrypt can be abused to make phishing sites look more trustworthy, and Let's Encrypt is not actually doing anything wrong. It's important to understand what is being asserted when you visit a "secure" site. Domain validation certificates (the most common) only assert that the person who registered the certificate also owns the domain, and that you have a secure connection to that domain's server. They don't assert anything about who the person or company operating that domain is.

If you are highly concerned about security and the possibility of lesser known CAs mis-issuing certificates, a good rule is to only trust CAs that are likely to issue certificates for the major sites you visit. For many people, this would be the major US and EU certificate authorities (here are the top 10 from 2015, but keep in mind that Let's Encrypt is a big player now as well). You can later add trust for additional CAs as you may find the need to.


Run the following:
cd /usr/share/gnome-shell/extensions/
sudo mv ubuntu-dock@ubuntu.com{,.bak}

Press ALT + F2 and type r in the input.

In case if you need to undo:
cd /usr/share/gnome-shell/extensions/
sudo mv ubuntu-dock@ubuntu.com{.bak,}


As of apktool v1.5.1 I added support for passing the path to apktool via --aapt/-a, so on rebuild just use apktool b --aapt /path/to/aapt nameofapkfolder. So update your apktool and forget messing around with path variables.

As for the path problem. What happens on echo $PATH?


So, after much searching it turns out the directory ~/.local/share/keyrings had the wrong permissions.

chmod 700 ~/.local/share/keyrings

should correct it.


Can I modify a bash script (.sh) file while it is running?

When you make changes to your script, you make the changes on the disk(hard disk- the permanent storage); when you execute the script, the script is loaded to your memory(RAM).

So, the changes that you make to the script will not affect the running script, it will run the version you executed before making those changes.

However, when you execute the changed script again without terminating the previously running instance, there will be two instances of the script- one which has the changes and the old one.

Be warned that the resources that the script uses and modifies will conflict. For example, if you are modifying a file using the script, the script that runs later will not be able to open that file for writing and fail to execute correctly.

Update:
Thanks to Registered User for pointing me to a better answer on Unix.stackexchange.com.

Depending upon the size of the script and the compiler/interpreter in question, the script is loaded partially/completely. So, if the script is not completely loaded, the changes that you make to your script will reflect on the running instance once the part of the script is loaded into memory.

So, it is not recommended to change your script on the disk which is currently running for unpredictable output: First stop the running instance and then modify your script and then re-execute the script.


So ...

./Uninstall\ JDownloader

from the directory where you installed it and it will start this:


ccrama, I Do agree that this is a duplicate of How to copy an Ubuntu install from one laptop to another but that is precisely one of the things i have enjoyed the most about switching to Linux: Most users (not all, but hey) will be very helpful and instead of shutting you down or making you feel dumb, they help and point at other references. This shows experience and the fact that Linux (Ubuntu in our case) has been around and knows there are issues, but knows how to go about addressing them.

Both methods described in the link above work well, but here is the way i've approached it:
Your SSD will come with a CD for precisely moving your OS install from one drive to another. 99.5% of the time it is Acronis Home. Even though it is geared towards windows installations, it works fine with Linux (asumming you don't have some really specialized File system). If you do, it still works but the SSD has to be the same size or bigger than the original one. However, it will detect that for you and let you know how it will proceed.

So, run the utility, choose the option to clone, choose any resizing options you may need on your partitions, and let it do its magic.
Now, i've had to do this a couple of times so here are some things i've learned along the way:

If you did some of the recomended partitioning on your existing system (i.e. /home in separate partition, etc) then great. If not, is the moment to do it.
Search in this site for SSD specific settings to maximize the speed you can get from the drive ( If not here are 2 bookmarks i kept for this purpose: Tuning Solid State Drives in Linux and A Tweaker's Guide to Solid State Drives (SSDs) and Linux but please keep in mind that they are a bit older, so i would search for newer info

So those are my 2 cents. :) Good luck