Skip to content

Hook scripts are not executed #31

@joseon-penggwin

Description

@joseon-penggwin

Hi,

I installed dockd according to the readme and have it running now.

Although, the dock and undock scripts are not working.

The scripts are executeable and work well when I call them manually, but don't work when I let them call automatically through dockd.

/etc/dockd$ ls -la
total 32
drwxr-xr-x   2 root root  4096 Dez 13 11:56 .
drwxr-xr-x 147 root root 12288 Dez 13 11:12 ..
-rw-r--r--   1 root root   342 Dez 13 11:17 docked.conf
-rwxr--r--   1 root root   587 Dez 13 11:56 dock.hook
-rw-r--r--   1 root root   272 Dez 13 11:19 undocked.conf
-rwxr--r--   1 root root   283 Dez 13 11:56 undock.hook

My dock.hook and undock.hook respectively look like this:

...
echo "Docking at: " $(date) >> /home/user/Desktop/test
...

Alas, both don't work.

Lenovo T480s, Xubuntu 18.04

If there's anything you need, just ask.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions