Nemo Context Menu Actions #1
Labels
No labels
bug
docs
feature
human-input-needed
prio
high
prio
low
prio
medium
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
shukutils/shukinstall#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In https://hex.wurzelraum.org/shukutils/dits-and-dots there is a mechanism to install nemo actions for image -> pdf and vice versa. also for size reduction. i want those to be available in the shukinstall. i'm fine with that meaning i install dits-and-dots. also, i want an additional action (in that repo if it stays there) to reduce size of a pdf.
Added the requested PDF-size-reduction action to dits-and-dots:
compress-pdfnemo action (Ghostscript, web/compact/thumbnail levels, mirrors the existingcompress-imageaction) — commit daac983 on shukutils/dits-and-dots main.For wiring dits-and-dots' nemo-action installer into shukinstall itself: shukinstall's installs run via
sudo ansible-playbookas root (shukinstall-data/site.yml), but dits-and-dots'shk_install_nemo_menusneeds to run as the real desktop user (chezmoi state, ~/.local/share/nemo, ~/.bashrc) and is interactive (it prompts which actions to install). Doing this safely means adding a role/task in shukinstall-data that: runsinstall.sh(or a new non-interactive entry point) asbecome_user: "{{ ansible_env.SUDO_USER }}"rather than root, to avoid root-owned files landing in the user's home dir.I didn't want to touch the live provisioning playbook and guess at that become_user handling without being able to test it against a real machine — a mistake there is annoying to unwind (wrong file ownership in ~/.local, ~/.config). Want me to go ahead and add a
ditstag/role to shukinstall-data on that design, or would you rather do that part / review it first? Happy to proceed either way — just say the word and I'll pick this back up.