What commands will allow me to programatically enquirer how of a gnome terminal: how many tabs it has, and what are their pwd’s

When I have a gnome terminal open, is there a command that will allow me to programatically enquirer of this gnome terminal:

(1) How many tabs the gnome terminal has open on it?

(2) What is the pwd of each of these tabs?

I loose my virtual machine in the evening, so I want to write a script to store the above information, and then programatically reopen all the gnome terminals the next day, upon log in.

Go to Source
Author: Rory Cornish

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

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

How do you correlate which version of Gnome Desktop does a certain version of Ubuntu ship with?

How do you most reliably and accurately correlate which version of Gnome Desktop does a certain version of Ubuntu ship with, without going through installing that version of Ubuntu? I’m relating here to more recent versions of Ubuntu, e.g. 18.04 and up.

Either what version comes with the base version of Ubuntu, or, any patch version that comes with the official updates for that version of Ubuntu.

Go to Source
Author: matanster

Gnome how to move and resize window using one hotkey like xfce(alt) or elementary os(super)

How to move and resize window in gnome desktop environment like xfce or elementary os?

In xfce, we can hold alt key, and using left mouse button to move window, or using right mouse button to resize window, similarly, in elementary os is super key, but in gnome ,how to set super key to drag or resize window? Thank you!

Go to Source
Author: 鸿则_

VNC on Ubuntu 20.04 without monitor

Since couple of days I am trying to set VNC Connection with my “server” Ubuntu desktop 20.04. I want to use it as remote workstation and I want to use gnome3 environment, VNC Connect or NoMachine (for better management). Everything works well as long as monitor is attached. As soon as I remove monitor – connection breaks. Ok, that’s how it works. I have created dummy screen…

sudo apt-get install xserver-xorg-video-dummy

With config based on this post:

Add Fake Display when No Monitor is Plugged In

I can access server, but it stuck on login screen with password prompt. When I put password, nothing happen. Still login screen with password prompt.

If anybody have any idea – please, help.


Go to Source
Author: sawax