Anno domini 2026 Tue, 10 Nov 14:44:20 -0800 William Morder via tde-users scripsit:
On Tuesday 10 November 2026 14:24:46 D. R. Evans via tde-users wrote:
Thierry de Coulon via tde-users wrote on 11/10/26 2:05 PM:
I find this quite useful when taking a range of snapshots, actually.
So today I have saved three screenshots: c8k-10m c8k-15m c8k-20m recording the three times that I have contacted the ham radio station C8K in Mozambique today. Imagine how annoying it is that if I contact him again on, say the 40m band, the default from ksnapshot will be c9k-20m.
It's a small thing, I know, but defaulting to this behaviour seems like the programmer thinking (s)he knows better than I do how I want files to be named.
I have no objection at all to this behaviour being available. It just seems bizarre to make it the default.
Doc
I agree with Doc here. To make this the default setting is totally annoying.
There is some glitch here, however. I did try to change settings like Nik advised, and that doesn't seem to work, either. It may be that one needs to write some special line or command, but that leaves it up to me to guess what that might be.
If Nik knows what to write, or where to insert that magic command, please tell us.
You can set "filename[$e]=file:///tmp/30.png" in the cinfig file to whatever you want. That name is used as the filename for the next snapshot. Problem is, you need to exit ksnapshot to set the next filename, so this limits your freedom. Anyway, you can create a wrapper like this:
#/bin/bash sed 's#^filename.*$#filename[$e]=file///tmp/'$(date +%Y-%m-%d_%H:%M:%S)'.png#' ~/.trinity/share/config/ksnapshotrc ksnapshot
I don't know how to redirect the "Print" hotkey function to your wrapper in a propper way, but this may work:
In ~/.trinity/share/config/khotkeysrc you find (hoefully) entries like this - strangely I have 2 of these: [Data_4_2Actions0] CommandURL=ksnapshot -c Type=COMMAND_URL
Replace the part right "CommadURL=" with the location of your wrapper (or put your wrapper in your $PATH). Next time "khotkeys" loads is configuration (which is usally when you log in again) then your wrapper should be called when you press the "Print"-key.
Well ... it looks like "khotkeys" is ancient and does crasy stuff. I my case it grabs <ctrl>+<cursor> and I can't find a way to disble that.
Nik
As for this method (editing these -rc config files), this generally works like a charm, with almost any TDE applications that have such files associated with them; for example, tdenetworkmanagerrc, and a few others that I have been editing for years.
Bill
tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...