monitor hdmi never sleeping

It’s a known bug in Linux: when a monitor is connected with an hdmi cable, there are “sleeping” problems (monitor not sleeping as expected or sleeping but with annoying error/crash messages).

While we expect an hardware solution, a scripting workaround could be this code

bash -c 'sleep 0.1 && xset dpms force off'

Linux KDE: add an app to the panel (no pin it)

To have an application (a program, such as Firefox, or Thunderbird) in your KDE desktop bottom bar, not as “pinned”, but as an icon, you can a) add to desktop that app, and then b) copy it (with the mouse) into the left part of the bottom bar (not in Icon only task manager, but at its left).

php include: no absolute path

To get include command working you should avoid an absolute path: i.g. not

http://somepath/somefile

But, i.g.:

../somepath/somefile

2) In localhost it would be possible this workaround:

$yourvariablepath = realpath($_SERVER["DOCUMENT_ROOT"] . "/a/path");

But this doesn’t work in remote.

3) Another workaround to include a content from a file in another absolute path could be the object tag:

<object data=”your-file-even-on-another-server” />

But an object in another page is an island, a stranger “guest”, without any sharing with the “host” page.

4) Another way (for short text) is to use javascript.