MoLoPoLY

joined 2 years ago
[–] MoLoPoLY@discuss.tchncs.de 5 points 2 weeks ago

With Arch based, like CaxhyOS or Manjaro? Whenever I install new things or at weekends or when something important is fixed. But god beware, not every day. There is no reason for that.

[–] MoLoPoLY@discuss.tchncs.de 2 points 3 weeks ago (1 children)

It seems that this doesn't work as expected. Please see my new post from today. I have found also the following issue https://github.com/systemd/systemd/issues/3107. According to this, a monotonic timer doesn't survive a reboot or power off. Please correct me, if I'm wrong.

If I understand this correctly, only a onCalendar type can be used here. That's a little bit annoying, but as of yet, I haven't found a way around this.

[–] MoLoPoLY@discuss.tchncs.de 1 points 3 weeks ago* (last edited 3 weeks ago)

Sorry, i have to ask again. I actually thought I had solved the problem. However, today I discovered that the jobs are overdue and have not been started for several days. When I display the timers with systemctl --user list-timers, I see that the NEXT column is empty::

NEXT LEFT LAST                         PASSED UNIT                  ACTIVATES              
-       - Sun 2026-02-01 20:01:48 CET       - backup.timer  backup.service

Since there is no NEXT date, the timer/service will probably not be restarted. The timer unit looks like this:

[Unit]
Description="Backup to remote"

[Timer]
OnUnitActiveSec=3d
Persistent=true

[Install]
WantedBy=default.target

As you can see, I am well over the 3 days. When I call systemctl --user status backup.timer, I get:

● backup.timer - "Backup to remote"
     Loaded: loaded (/home/username/.config/systemd/user/backup.timer; enabled; preset: enabled)
    Drop-In: /home/username/.config/systemd/user/backup.timer.d
     Active: active (elapsed) since Fri 2026-02-13 16:53:31 CET; 7min ago
 Invocation: 95ae3860c50a454b98078fc2ce3eb3c5
    Trigger: n/a
   Triggers: ● backup.service

To me, this looks perfectly "normal." The only thing that puzzles me is the Active line. Why is the current date (Fri 2026-02-13 16:53:31 CET) set there and not the date on which the job last ran (Sun 2026-02-01 20:01:48 CET)? The NEXT column fills up again when I start systemctl --user restart backup.service. The job is then executed immediately and the column is filled. However, after rebooting the laptop, the column is empty again and the job is no longer started at the given intervals.

 

Until now, I have been using Visual Studio Code to develop my PHP projects. However, I would like to give Kate a try, even though it offers slightly less in terms of overall scope. My PHP projects are usually organized in folders. In VSCode, I can save these as “workspaces” and also save various settings that only apply to that one project/workspace. I couldn't find any workspaces in Kate. I therefore assume that the equivalent is “projects.” Is that correct?

If so, how can I open a specific project? I haven't found a way to save a project under a specific name, so I have no idea how to open an existing project later.

Can someone briefly explain to me how working with projects in Kate is supposed to work?

BTW: I usually edit PHP files in a local directory, but when I save them in VSCode, the changes are also transferred to another computer via SFTP at the same time. Is there a similar option in Kate? I mean, without me having to trigger anything else.

[–] MoLoPoLY@discuss.tchncs.de 2 points 1 month ago

Ahh even more possibility's. Many thx.

[–] MoLoPoLY@discuss.tchncs.de 3 points 1 month ago

OK. I think 7 day was a slightly misleading schedule :-) My bad. But yes, you are right, for 7 days, this will work fine. But i think OnUnitActiveSec=7d is more flexible, when i change this to 12 days, 9 days and so on... I should learn to be more precise in my questions. Sorry.

[–] MoLoPoLY@discuss.tchncs.de 3 points 1 month ago

Shifting the day of the week is totally fine, since i only care about days between the job executions. Many thx, then i try my luck with this.

 

I am trying to create some systemd units that are supposed to start scripts at certain intervals. With Cron, I used an expression like 0 3 */7 * * to start a job every 7 days at 3 a.m. That worked great. With OnCalendar, I have no idea how to implement "every 7 days". Or can I use OnUnitActiveSec here? Additional problem: The computer is not always on at the specified time. The job should therefore be repeated as soon as the computer is available again. I have set Persistent=true for this purpose. However, I suspect that OnUnitActiveSec is reset every time I restart the computer. Or does OnUnitActiveSec refer to the time when the unit was activated with systemctl enabled test.timer?

 

Coming from years of using GNOME, so please forgive me, if this is a stupid question.

When I have kwrite open and multiple documents open (one in each tab) and i press usual shortcuts like strg+c, strg+v, strg+s and so on, I get a annoying popup, which tells me that the shortcut has multiple meanings and it can't do what I want. If I have only 1 document open, it works fine.

From my point of view, this looks like a bug. Or do I have to setup something special?

Im using Arch Linux with kwrite 25.12.1

 

When I add images to my post, they sometimes don't appear in the mobile app on Android. I only see them when I edit the post. It probably has something to do with the size of the image. If I load smaller versions into a post, they are easily loaded. My tests included images in JPG format with a resolution of 6542x4365. File size at about 15MB. I assumed that the images would be automatically reduced before uploading and that EXIF data would be automatically removed. Obviously, this is not so. I was able to download the images in the browser. All Exif data was included, the file was also identical in size.

Is there a setting somewhere that can be automatically adjusted before uploading?

What I also noticed is that there is no way in Android to display the alt text of an image or to enlarge it full screen. Surely the latter is a mistake? Is it?

[–] MoLoPoLY@discuss.tchncs.de 3 points 10 months ago

Cromite, KeepassDX, Moshidon, Phone, K9

 

I have searched the settings in the app, but didn't found such a setting. I want to have bigger thumbnails for posts with images and link previews. Is that available or if not can this be implemented? I have added a screenshot from "Thunder" with exact such bigger thumbnails. Can this be done?

 

Creating *.desktop files for WIndows/Wine applications, specify sometimes a Icon like this:

[Desktop Entry]
Name=Game to start
Comment=Play this game on Steam
Exec=steam steam://rungameid/738520
Icon=steam_icon_738520
Terminal=false
Type=Application
Categories=Game;

with Icon=steam_icon_738520. Is this extracted from the *.exe file and how do i get the name mentioned here? I know, that i can use the path to a *.png, but i would prefer to use the *.exe file itself.

 

In einem Projekt schiebe ich Video von meinen Kameras in ein Verzeichnis auf den Rasperry Pi4. Ein Cronjob geht dieses Verzeichnis dann durch und konvertiert diese Videos mit ffmpeg. Seit letzter Woche schlägt dies fehl. Folgendes Kommando wird dabei benutzt: ffmpeg -y -i "/tmp/4B9A9487.MP4" -vf format=yuv420p -c:v h264_v4l2m2m -b:v 8M -c:a aac -movflags +faststart "/tmp/4B9A9487_cv.mp4". Für einige Video klapp dies, für andere erhalte ich die Fehlermeldung: [h264_v4l2m2m @ 0x558fae9600] Could not find a valid device.

Das es aber für einige funktioniert, für andere nicht, glaube ich nicht, das dies am fehlenden device liegt. Denn wenn ich die Auflösung des Videos reduziere, funktioniert es durchaus. So klappt folgender Befehl mit den bisher fehlgeschlagenen Videos problemlos: ffmpeg -y -i "/tmp/4B9A9487.MP4" -vf format=yuv420p -c:v h264_v4l2m2m -b:v 8M -s 1280x720 -c:a aac -movflags +faststart "/tmp/4B9A9487_cv.mp4".

Geändert hat sich nur die Angabe der Auflösung mit -s 1280x720. Das Input Video hat hier 3840x2160. Ich vermute daher das der Rasperry Pi hier irgendwo mit 3840x2160 nicht mehr klar kommt und daher abbricht.

Was ist denn die maximale Auflösung die der Rasperry Pi hier unterstützt?

 

I use Darktable 5.0.1. I don't know if this is a bug or just a user error on my part. But I can remember that it worked differently in 4.8.x.

When I am in the lighttable module, I can select “rejected only” in the filter. I would now expect to see all rejected images. However, the opposite is the case. I now see all images that have not been rejected. However, if I select “all except rejected”, I see the rejected images.

Why is the filter effect reversed?

[–] MoLoPoLY@discuss.tchncs.de 3 points 11 months ago

USB Debugging is disabled, when im travelling. I had two such situations last week. At the first, i had enough time to shutdown and lock the device, before that. But the second time, they asked to unlock the device. I have no idea, if they can force me to do that, when a password is set, instead of only a fingerprint. But i don't want to risk anything. Its not that i have to hide something. There is nothing on the phone what is not allowed. Only 2 VPN connections, which is not that good in China and some other countries. One for access to my home network and the other which i use in public networks.

I don't want to have any problems with the authorities (in any country). As long as I don't have to hand over the device, they can have a look at what's on the phone. But I also don't want anything to be installed that doesn't belong there and I want to use my VPN the way I want to.

The second situation, was the first time in my travelling, when someone asked me to unlock the device. They didn't take it with them after unlocking it (unlike the situation where it wasn't unlocked) but I don't see what could stop them from doing so.

[–] MoLoPoLY@discuss.tchncs.de 5 points 11 months ago* (last edited 11 months ago) (3 children)

That's not the point. I travel a lot and here the phone is occasionally checked by the local authorities. I have no control over what the Chinese authorities do with the phone when they take it with them. Needless to say, I don't plug the phone into any USB ports myself. The fact that apps from the Playstore are not affected by this is also OK, but I have installed very few apps via the Playstore, most of them are from F-Droid.

To make a long story short: There were several such situations on my last trip and I was happy that I had this “Auto Blocker” active. But it's not a permanent solution.

 

On Samsung Phones. there is a function called "Auto Blocker". If this is enabled, this blocks installing apps from unknown sources and via USB and ADB. In principle, this is a useful feature, but it also prevents the installation of updates via F-Droid. Even if F-Droid is classified as trustworthy in general and can therefore theoretically install apps and updates automatically, activating this function prevents automatic updates. If this function is deactivated, new apps and updates are installed automatically on request.

Is there a way to activate this function and still receive automatic updates via F-Droid? Does the installation of the F-Droid.apk via ADB/USB change anything in this constellation?

[–] MoLoPoLY@discuss.tchncs.de 2 points 1 year ago

Many thx. This is exactly what I want. Will try that when I'm batch from vacation.

 

As my time with linux, I created a lot of scripts. Some of them have input parameters and sometimes I just forget this parameters.

So I wonder if there is some way to create autocomplete parameters, like i autocomplete a path by pressing the tab key?

For example a script. ./test.sh can be completed with parameter-one, eg. ./test.sh parameter-one or ./test.sh parameter-two. If i type now ./test.sh followed by tab it should add parameter-one if i press tab again it should change to parameter-two.

How can I do that? I'm on bash…

[–] MoLoPoLY@discuss.tchncs.de 1 points 1 year ago

Good point. Will try that

[–] MoLoPoLY@discuss.tchncs.de 1 points 1 year ago (2 children)

Hmm this is close enough to mine... Manjaro...

have Arch in parallel boot, but I'm not happy how it works with Steam Games. This is at least for me, a lot better with Manjaro. But anyway, I will compare with Arch settings next time im on it. Tomorrow I have to go to Bangkok for some weeks and can't use my private laptop for this time.

 

When I send a notification with notify-send -i /path/to/my/icon.png "title" "message" , it appears wonderfully in Gnome 47.4. However, the icon is very tiny. According to the screenshots I saw, the icon can be very large. It is also obviously displayed in addition to the app icon. Is there a way to send such an icon in the message or another way to create desktop notifications?

 

I'm using Gnome as DE and was really happy with it until my last update. I would like to re-install Gnome, but want to remove before that all Gnome stuff, settings and dependencies. This is no problem for the packages installed via pacman and also it's dependencies. But I fear that I don't know how to remove all relevant settings. Is there some special folder or set of files to remove, before I can start from scratch?

view more: next ›