how to automatically turn off gnome extension when I connect the external monitor (RGB)

So I am using “hide top bar” extension for gnome, but whenever I connect an external monitor (and the screen is located “above”) the laptop screen I can’t move my cursor to that external screen because of the top bar pop-ups instead.

So I am turning it off and on manually whenever I connect an external monitor. Is there a way to automate this?

Does a natural 20 on the attack roll still automatically hit if the target is wearing adamantine armor?

My Fighter (Battlemaster) Warlock (Hexblade) build character has just acquired a suit of +1 adamantine plate armour.

From the description of adamantine armor (DMG, p. 150):

This suit of armor is reinforced with adamantine, one of the hardest substances in existence. While you’re wearing it, any critical hit against you becomes a normal hit.

Is a roll of a natural 20 (which is normally a critical hit) still automatically a hit, despite the critical becoming a “normal hit” because of the armour? Or would the attacker need to exceed my AC in order to score the “normal hit” if (for instance) I cast shield or use the Evasive Footwork maneuver to boost AC?

My AC is 20, so with shield cast it becomes 25; for example, would a goblin with a +4 attack modifier score a hit on a roll of 20 against me? A total of 24 would not be sufficient to “hit” under normal rules, but does the “20 is always a hit” mechanism override this despite the critical being cancelled by the adamantine armour?

Change a file in an SVN repository, should automatically make changes in other repository of same file

We have four repositories in VisualSVN, in which most of the files are same in all four repositories. Here my requirement is, if I commit in any of the particular files, it should automatically affect in other three repositories, which will reduce most of our development team work and time.

I tried to find solution by googling it, but didn’t get any proper solution. So, can anyone please tell me that whether it is possible or not, and if it is possible please guide me how to achieve it.

Thanks in advance. Bala

Do teammates automatically resist (and break) illusions?

I’m a new GM running my first 5e campaign. Among others, the team of runners includes:

  • A Decker with augmented eyes that offer some excellent perception rolls

  • A Face who’s got some middling skill at casting illusions like physical mask, trid phantasm, and improved invisibility

On several occasions now, the Face has cast an illusion spell that was very convincing to the intended target, but which the Decker easily saw through. My (possibly poor!) understanding of the rules tells me that one person resisting the illusion breaks it for everyone. This is decidedly un-fun for the Face, so I’ve been running on a house rule that teammates aren’t required to resist his illusions unless they’re an intended target.

Even if I opt to keep that rule in place, I’d like to understand the official rules’ stance on the subject so I can identify any balance issues I might be introducing.

Automatically dim brightness if battery is low (command fail)

I was trying to apply these instructions on how to automatically dim brightness when battery is low, but in the answer, this command didn’t work with me

> percent_left=$  ((100 * `cat /sys/class/power_supply/BAT0/charge_now` / ` cat /sys/class/power_supply/BAT0/charge_full`)) 

It said

cat: /sys/class/power_supply/BAT0/charge_now: No such file or directory cat: /sys/class/power_supply/BAT0/charge_full: No such file or directory bash: 100 *  / : syntax error: operand expected (error token is "/ ") 

Any solution!! I’m a beginner Ubuntu user

Automatically create list item occurrences

I am trying to create a number of list items that have the same information except the date which is automatically filled in with, for example, 1 week between each list item.

Creating a recurrent event in a calendar web part isn’t an option because if I do so, the created events would be the same item and not a number of different items.

Do you have an idea on how to solve this?

Thank you for your help.

How to recursively and automatically convert all TIFs to an aggregated PDF per directory?

I’m attempting to use GraphicsMagick in Ubuntu to convert hundreds of directories that contain multiple TIF files into one multi-page PDF file per directory. The folder depth is consistent with this structure:

Root/Limb_1/Branch_1/Twig_1/A.tif B.tif C.tif

So there would be one multi-page PDF per “Twig” directory.

To retain contextual information found in the file path, each multi-page PDF per directory would ideally be named with its given file path.

So output PDF files would be named like: Root_Limb_1_Branch_1_Twig_1.pdf

To the extent of producing 1 PDF per 1 TIF this question has been useful:

How to recursively and automatically convert all bmps to pngs in a given directory?

Especially the script provided by @andrew.46, which I’ve modified for my use case:

find . -name '*.tif' -type f -exec bash -c 'gm convert -monitor "$  0" "$  {0%.tif}.pdf"' {} \; 

Unfortunately, I don’t know how to modify this script to output 1 PDF per directory; or how to produce the file path name per PDF.

Thanks for any and all input.