package request - MX-23: activity-log-manager

Message
Author
User avatar
dolphin_oracle
Developer
Posts: 22422
Joined: Sun Dec 16, 2007 12:17 pm

Re: package request - MX-23: activity-log-manager

#11 Post by dolphin_oracle »

Duliwi wrote: Wed Dec 18, 2024 8:14 am
dolphin_oracle wrote: Sun Dec 15, 2024 8:32 pm I would be shocked if this comes in. Activity-log-manager has been non maintained for a very long time.
Why? Security concerns? Or would it destroy the system?
because the current packages are not currently installable on debian and its likely a major PITA to make them so. and even then, who knows if it will actually work with whatever current configuration of diodon has.

In other words, its unmaintained, and I don't think we want to maintain it.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Duliwi
Posts: 1178
Joined: Sun Jul 07, 2019 9:34 am

Re: package request - MX-23: activity-log-manager

#12 Post by Duliwi »

I see. Thank you dolphin_oracle.

User avatar
Duliwi
Posts: 1178
Joined: Sun Jul 07, 2019 9:34 am

Re: package request - MX-23: activity-log-manager

#13 Post by Duliwi »

Duliwi wrote: Mon Dec 16, 2024 4:18 am What I want, are the following features:
1. Clipboard should not be deleted after I close a flatpak programme
2. Passwords, copied from passwordmanager "Enpass" should not be hold in the clipboard history.

– Clipman supports neither feature 1 nor feature 2
– diodon supports feature 1 and together with "activity-log-manager" also feature 2
– copyQ supports not feature 1, but it supports feature 2

So the only clipboard, that suits my demands is didion. But only if I can install "activity-log-manager"
OK. I have found a way to get both with copyQ.

1. Click on copyQ icon in panel
2. press F6
3. press "add" button (Hinzufügen)
4. new command
5. under command type in this:

Code: Select all

const timeoutMilliseconds = 500;

function reset(key, getFn, setFn) {
    if (hasData()) {
        settings(key, [data(mimeText), str(Date.now())]);
        return false;
    }

    const last = settings(key);
    if (!last) {
        return false;
    }

    afterMilliseconds(timeoutMilliseconds, function() {
      if (!str(getFn()) && last[1] == settings(key)[1]) {
        serverLog('Reset from ' + key);
        setFn(mimeText, last[0], mimeHidden, 1);
      }
    });
    return true;
}

function resetClipboard() {
    return reset('lastClipboard', clipboard, copy);
}

function resetSelection() {
    return reset('lastSelection', selection, copySelection);
}

let onClipboardChanged_ = onClipboardChanged;
onClipboardChanged = function() {
    onClipboardChanged_();
    const wait = isClipboard() ? resetClipboard() : resetSelection();
    if (wait) {
        sleep(timeoutMilliseconds + 1000);
    }
}
k20241223-223724.png
6. apply
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “Package Requests - MX-23”