On Tue, 12 Jun 2018 22:47:22 +0200, Christoph Böhmwalder wrote:

> I was wondering if there was a way to run a shell script anytime a
> specific package is updated.

There is, as Ian explained, but...
 
> My use case for this is as follows: I have a high DPI display, so I've
> modified Chromium's .desktop file to include the
> `--force-device-scale-factor=1.5` flag. It works fine, but the problem
> is that this file obviously gets overwritten on each update, so I have
> to manually run a sed script after every Chromium update. This is
> rather annoying, and since I've done this for over a year now I finally
> want to stop being lazy about it and tackle the issue.

It's not needed in this case, just add the options you want to
CHROMIUM_FLAGS in /etc/chromium/default.

BTW where did you find this options, chromium --help used to give options
but now it does nothing.


-- 
Neil Bothwick

To most people solutions mean finding the answers.  But to chemists
solutions are things that are still all mixed up.

Attachment: pgp0SFHjFGN5F.pgp
Description: OpenPGP digital signature

Reply via email to