Mate snipping tool faster to display than “mate-screenshot”/Eye-of-Mate

I am a SysAdmin of many decades. I routinely juggle dozens of windows on my Mate desktop when working a crisis. My workstation has 4 monitors, 4 Mate workspaces, and it is not nearly enough! So I use screen captures to help further organize the data.

However, “mate-screenshot –area” has no direct option for “display now”. You have to save to disk and open in “Eye of Mate”. WTF!

Way back, Windows 7 had “Snipping Tool”: one click, one drag, instant display! Of course, Microsoft totally screwed it up in Windows 10 – one of so many reasons my workstations are Ubuntu these days and any Microsoft OS I have to deal with is safely sequestered in a VM!

I am sure I can script/code something that will do all the keystrokes for me but I thought I would ask here first just to avoid possibly reinventing the obviously necessary:

Is there an existing snipping tool for the Mate Desktop that displays with one click and one drag?

Go to Source
Author: Frobozz

Operating VirtualBox on Win10 with KVM Nested

My current environment is Ubuntu 20.04.
CPU: AMD 3950X

I want to install and operate VirtualBox on Win10 using KVM Nested.

Host: Ubuntu 20.04
L1: Windows10
L2: VirtualBox(Win10 Or Win7)

Neste setting situation

kimcar@kimcar-Ubuntu:~$ cat /proc/cpuinfo | grep -c svm
32
kimcar@kimcar-Ubuntu:~$ cat /sys/module/kvm_amd/parameters/nested
1
kimcar@kimcar-Ubuntu:~$ cat /etc/modprobe.d/qemu-system-x86.conf
options kvm_amd nested=1
kimcar@kimcar-Ubuntu:~$

L1 XML Setting

Windows10_GAME
853e7548-3870-4587-a64a-0270b79d8924

8392704
8392704
8
2

hvm
/usr/share/OVMF/OVMF_CODE.fd
/var/lib/libvirt/qemu/nvram/Windows10_GAME_VARS.fd

destroy
restart
destroy

—————————————————————————

I searched for various information and tried it, but the symptom of turning on and stopping when running the Client in VirtualBox keeps appearing.

Go to Source
Author: Chul Hwam Kim

Why .deb packages never add desktop and start menu shortcuts, even if installed software is graphical UI only?

Sorry if it’s a lame question but why installing software from .deb package never seems to add any shortcuts to desktop and start menu, even if installed software is a graphical UI program?

For example, try installing Chrome on fresh Ubuntu 20.20. You go to official chrome page where it will point you to the latest .deb package. Great. You download and install the package. Perfect. But then what?

No shortcut on desktop, no icon in start menu and -if you happened to close the package installer window – you even have no clue where the software was installed.

Is this fundamentally impossible due to some technical limitations of the package manager or is it just laziness of package creators which don’t care about auto creating those launcher shortcuts on desktop?

I’ve just installed new Ubuntu, installed Chrome and was puzzled how counter-intuitive and user-unfriendly the whole process is. I had to 1) find where the stuff from .deb was physically installed 2) create launcher manually 3) assign an icon to the shortcut manually.

Go to Source
Author: PawelRoman

mouse and keyboard not working on Ubuntu 20.04

I’m sorry I’m new to Ubuntu so I’ll try be as descriptive as possible.
At the moment my mouse is working when plugged into a specific USB port on the back of my PC. However when I move it to another port it doesn’t work. If I plug my keyboard into this same USB port then the keyboard will work and the mouse won’t. I have my system on a dual boot at the moment and I know for a fact that both the mouse and keyboard do work, it’s only when I reach the login screen that I have issues with my keyboard/mouse. I have tried other solutions given on this site and elsewhere but they don’t seem to work.
Like I said I’m new to Ubuntu and Linux as a whole so I’m sorry if this is an obvious question.

Go to Source
Author: Alexander Hunter

Postgresql: can’t start service database system was shut down

I install Postgresql using

sudo apt install postgresql postgresql-contrib

then I run

sudo systemctl restart postgresql

then I run

sudo systemctl status postgresql

It says

Active: active (exited) since ... 1s ago

So it looks like the restart command exits immediately.

the /var/log/postgresql/postgresql-12-main.log says:

2020-08-13 23:58:39.553 MSK [47081] LOG:  received fast shutdown request
2020-08-13 23:58:39.607 MSK [47081] LOG:  aborting any active transactions
2020-08-13 23:58:39.613 MSK [47081] LOG:  background worker "logical replication launcher" (PID 47088) exited with exit code 1
2020-08-13 23:58:39.613 MSK [47083] LOG:  shutting down
2020-08-13 23:58:39.888 MSK [47081] LOG:  database system is shut down
2020-08-13 23:58:40.246 MSK [47200] LOG:  starting PostgreSQL 12.2 (Ubuntu 12.2-4) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-8ubuntu1) 9.3.0, 64-bit
2020-08-13 23:58:40.247 MSK [47200] LOG:  listening on IPv4 address "127.0.0.1", port 5432
2020-08-13 23:58:40.293 MSK [47200] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2020-08-13 23:58:40.470 MSK [47201] LOG:  database system was shut down at 2020-08-13 23:58:39 MSK
2020-08-13 23:58:40.508 MSK [47200] LOG:  database system is ready to accept connections

/etc/init.d/postgresql:

#!/bin/sh
set -e

### BEGIN INIT INFO
# Provides:     postgresql
# Required-Start:   $local_fs $remote_fs $network $time
# Required-Stop:    $local_fs $remote_fs $network $time
# Should-Start:     $syslog
# Should-Stop:      $syslog
# Default-Start:    2 3 4 5
# Default-Stop:     0 1 6
# Short-Description:    PostgreSQL RDBMS server
### END INIT INFO

# Setting environment variables for the postmaster here does not work; please
# set them in /etc/postgresql/<version>/<cluster>/environment instead.

[ -r /usr/share/postgresql-common/init.d-functions ] || exit 0

. /usr/share/postgresql-common/init.d-functions

# versions can be specified explicitly
if [ -n "$2" ]; then
    versions="$2 $3 $4 $5 $6 $7 $8 $9"
else
    get_versions
fi

case "$1" in
    start|stop|restart|reload)
        if [ "$1" = "start" ]; then
            create_socket_directory
        fi
    if [ -z "`pg_lsclusters -h`" ]; then
        log_warning_msg 'No PostgreSQL clusters exist; see "man pg_createcluster"'
        exit 0
    fi
    for v in $versions; do
        $1 $v || EXIT=$?
    done
    exit ${EXIT:-0}
        ;;
    status)
    LS=`pg_lsclusters -h`
    # no clusters -> unknown status
    [ -n "$LS" ] || exit 4
    echo "$LS" | awk 'BEGIN {rc=0} {if (match($4, "down")) rc=3; printf ("%s/%s (port %s): %sn", $1, $2, $3, $4)}; END {exit rc}'
    ;;
    force-reload)
    for v in $versions; do
        reload $v
    done
        ;;
    *)
        echo "Usage: $0 {start|stop|restart|reload|force-reload|status} [version ..]"
        exit 1
        ;;
esac

exit 0

How do I fix it?

PS: The problem I’m having is that Postgresql wont’ start. After the restart command its status should be active (running) while it is active (exited).

Go to Source
Author: parsecer

Can’t run Google Chrome on Ubuntu 18/20

I’ve installed Ubuntu 20 LTS from official site with Rufus. And then I downloaded Google Chrome from google.com/chrome 64 bit.deb for Ubuntu
The first time I open, Chrome works nomally but after that time I can’t manage to open it, I tried to launch it from terminal/gnome it yeilds:
NaCl helper process running without a sandbox! Most likely you need to configure your SUID sandbox correctly
This also happens on Ubuntu 18.04
Any help is appreciated!

Go to Source
Author: Phạm Văn Tiến

tlmgr: Local TeX Live (2019) is older than remote repository (2020)

I already tried what is suggested in the answer to the question:
“I got an error when trying to install a latex package trough tlmgr on ubuntu 20.04, verify_checksum: -5 “.

When I type this command:
tlmgr --verify-repo=none install beamer
I get:

(running on Debian, switching to user mode!)

tlmgr: Local TeX Live (2019) is older than remote repository (2020).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.

I went to the link above (https://tug.org/texlive/upgrade.html) and as is suggested there, in the first place, i tried a “new installation” of texlive-latex-extra but nothing changed.
So I followed the guide. At the first point it says that the parent directory should be:

/usr/local/texlive/

and that, inside texlive directory, I should find a 2019 (or 2020) directory but the only directory I have is:
texmf-local:

ale@ale-ThinkPad-L13-Yoga:~$ ls /usr/local/texlive/
texmf-local

Eventually I looked for a “texlive/2019” or “texlive/2020” directory, but there are none:

ale@ale-ThinkPad-L13-Yoga:~$ sudo find / -iwholename */texlive/2020/*
find: ‘/run/user/1000/doc’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied
ale@ale-ThinkPad-L13-Yoga:~$ sudo find / -iwholename */texlive/2019/*
find: ‘/run/user/1000/doc’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied

I thought again that I did a wrong installation of texlive-latex-extra but after a reinstallation of “texlive-…” the problem was still there??

Go to Source
Author: alessandro

Cannot use buttons on MPOW Headphones to pause video/audio Ubuntu 20.04

I use MPOW headphones to listen to podcasts on my HP Pavilion Laptop while I work, and while on windows 10, I was able to use the buttons on my headphones to pause and play the audio as I pleased. Upon switching to Ubuntu 20.04, pressing the buttons on my headphones no longer works. The audio is just fine, it is the pause/play feature through the headphones that no longer works. Does anyone have solutions to my predicament?

Go to Source
Author: hawin03

Icon change on Desktop doesn’t effect/apply

When I want to change the icon from a shortcut or folder on Desktop the change doesn’t effect/apply on Desktop. When I navigate to $HOME/Desktop ($HOME/Schreibtisch in my way) the icon change effects but not on the Desktop itself.

OS version: 20.04 LTS

gnome-shell-extension-desktop-icons is installed.

Go to Source
Author: Johnnii360

Ubuntu 20.04 looses WiFi adaptor

I just did a fresh install of Ubuntu 20.04 on an old computer and after 1-2H of usage the WiFi drops and there is no way to connect it back since the prefs show an error message: No wifi adaptor found. (Works again after a reboot).

FYI: The wifi card is an Atheros AR9485 (internal) and is running using ath9k & everything is up-to-date

Go to Source
Author: Skïp

alt keys broken after upgrading from ubunutu 18.04 to 20.04

I recently upgraded to 20.04 LTS from 18.04 LTS and now both my left and right alt keys are not working when I try to use them for any keyboard shortcuts. I had no issues before upgrading. My keyboard is mapping hasn’t changed since the update (Macintosh UK).

Any help would be appreciated. Thanks in advance.

Go to Source
Author: barnsley92

Battery percentage is not visible on top bar of Ubuntu 20.04 LTS for Surface Pro (Surface_Pro_1796)

I have done a fresh installation of Ubuntu 20.04 LTS on Surface Pro (Surface_Pro_1796) and it seems like there is some issue with battery percentage which supposed to be displayed on top bar of GNOME desktop. Did some research on this and tried the following without any success:

  1. I have no entry for battery under these directories /proc/acpi/battery or /sys/class/power_supply

    enter image description here

    enter image description here

  2. Ran acpi -b command – no output.

  3. Installed GNOME Tweaks and tried to enable batter percentage but it didn’t help.

    enter image description here

  4. Installed Linux Surface kernel from this link, but it didn’t help. Although it should not help, but gave a try.

I am not sure what else to try, please help.

Go to Source
Author: Prat