-
aquatarkus
til
-
bodqhrohro
Just checked Gajim in Orca, it's awful generally. It's not even trivial to escape the input field with the keyboard, as Tab is overridden. I invoked Ctrl+F so the focused switched to the search field and I could navigate other UI elements lol.
-
bodqhrohro
Almost none of custom widgets are spoken out. Even the calendar items. So it suffers from the same illness as TelegramDesktop, which uses QtGui which provides a11y support for free but relies so much on custom widgets that a11y is totally broken and visually impaired users have to use Pidgin+tdlib-purple instead.
-
fjklp
there was a guy in here working on making gajim work for a blind person awhile back
-
Zach
Installed on Debian stable, Gajim v1.7.3, looks like normal behavior is to automatically download files to `~/.local/share/gajim/downloads`, and it doesn't get automatically cleaned up . So If I have installed Gajim for someone else, who doesn't pay attention to their disk space, I suppose I have to write a bash script to delete all files in that directory after a pre-agreed-upon period of time (as that's the desired result). Or is there a setting or something else I'm just not seeing? Regular messages appear to honor the setting for `Accounts > Modify Account > Privacy > Keep Chat History` but downloaded files aren't affected.
-
fjklp
Zach: I'm not too familiar with the options here. I don't think there is any option built into gajim to cleanup these files. But you can not create them in the first place.
-
fjklp
are they wanting to have file previews within gajim?
-
fjklp
For example, I think you can in Preferences>Chats>File Preview: turn File Preview off, then change Left Click Action to open in browser. I think this would never download the files.
-
Zach
Yes, they would need to view PDFs, images, but preferably not have the data stick around forever, as they don't really bother to secure their devices. (Elderly). I will experiment with File Preview as you say. If that's what it does, that will be great!
-
Zach
Thank you
-
fjklp
It would also be pretty trivial to make a script using `find` to delete files older than whatever on whatever schedule
-
fjklp
I'm just assuming linux, maybe I shouldn't :)
-
Zach
> It would also be pretty trivial to make a script using `find` to delete files older than whatever on whatever schedule Yes, I'm quite inclined to go this route. One is Linux, the other is Windows, which is both a tragedy, and a temporary affair hopefully. π¬οΈ
-
Zach
`.AppData\something\something`
-
fjklp
heh, I wouldn't even know. I haven't touched windows in over a decade.
-
fjklp
it looks like open in browser for left click action won't work if the given chat is encrypted with omemo
-
fjklp
looks like this command would do it
-
fjklp
`find . -type f ! -newermt `date --iso-8601=m -d "30 days ago"` -exec rm -rf "{}" +;`✎ -
fjklp
`find /path -type f ! -newermt `date --iso-8601=m -d "30 days ago"` -exec rm -rf "{}" +;` ✏
-
fjklp
find is awesome
-
bodqhrohro
`find` has the insanest syntax among UNIX utils probably.
-
bodqhrohro
Sysadmin's nightmare.
-
fjklp
it still trips me up sometimes :)
-
fjklp
it really has to be one of the most powerful and versatile commands
-
bodqhrohro
With great power greats responsibility.
-
bodqhrohro
A command like that can be really destructive if not tested beforehand.
-
amogus
`find` is destructive?
-
fjklp
true, maybe I shouldn't post it. Not sure. Don't run commands you don't understand.
-
fjklp
anyone might fail to see the danger in it sometimes, so I agree
-
bodqhrohro
amogus: yes, when used for removal.
-
bodqhrohro
And for executing external commands in general.
-
fjklp
I've almost deleted all my files with it before
-
amogus
i remember deleting all my files by accidentially setting a full path instead of just in the current working directory π
-
fjklp
lovetox: feel free to delete my `find` command example above if you care to
-
amogus
i used a live usb to clone the partition and i can use recovery tools on it later, they looked promising during tests but i needed more space :(
-
aquatarkus
btw is there a better way to dry run it other than just replacing rm with ls
- aquatarkus is very afraid of `find`
-
aquatarkus
> i remember deleting all my files by accidentially setting a full path instead of just in the current working directory π I've done `rm *` before, in the wrong directory ↺
-
aquatarkus
yeah, fun
-
aquatarkus
I'm not embarassed to say that I open a GUI file browser when deleting stuff
-
fjklp
> I'm not embarassed to say that I open a GUI file browser when deleting stuff I have set `alias mv='mv --interactive'` and `alias rm='rm --interactive'`. I'✎ ↺ -
fjklp
> I'm not embarassed to say that I open a GUI file browser when deleting stuff I have set `alias mv='mv --interactive'` and `alias rm='rm --interactive'`. I'm surprised these aren't defaults. ✏ ↺
-
bodqhrohro
fjklp: aliases won't help for scripts. And they're not defaults 'cause it's not windoze lol.
-
bodqhrohro
aquatarkus: I'm afraid of any automated file management/sync tools in general, and have been doing all file management stuff manually and precisely with thorough checks. Though when I got richer, and got more media for backups than the laptop's internal HDD and the home PC's internal HDD, as well as more phones, I got tired of that. Now I can only hope that if some file gets modified/corrupted without my notice, I'll still be able to retrieve it from some of multiple copies. Or not.✎ -
bodqhrohro
aquatarkus: I'm afraid of any automated file management/sync tools in general, and have been doing all file management stuff manually and precisely with thorough checks for many years. Though when I got richer, and got more media for backups than the laptop's internal HDD and the home PC's internal HDD, as well as more phones, I got tired of that. Now I can only hope that if some file gets modified/corrupted without my notice, I'll still be able to retrieve it from some of multiple copies. Or not. ✏
-
aquatarkus
automated backups/snapshots are good though :]
-
aquatarkus
as for syncing, yeah
-
bodqhrohro
I hope the situation improved when I switched from totally messy rsync without `--del` (I still have gigabytes of garbage in my system because I migrated it from such a backup, BTW), to borg with deduplicated snapshots. Though borg is too of blackbox, and I'm afraid that it would involve a lot of complications if the disk with backups gets partially damaged or if I'll have to restore the data from it on some system with no borg installed and which it would be complicated to install to, like a LiveUSB.
-
bodqhrohro
Also, it's unnecessary to backup all the data, each time it's a few gigabytes of browser cache and other crap.
-
aquatarkus
that is true
-
aquatarkus
it's smart to curate ~/ differently
-
bodqhrohro
They accumulated even with rsync though, just recently I manually purged a few hundreds of megabytes of cache files from TelegramDesktop folder which it didn't even recognize or manage.
-
aquatarkus
> They accumulated even with rsync though, just recently I manually purged a few hundreds of megabytes of cache files from TelegramDesktop folder which it didn't even recognize or manage. I periodically check for that, and for common offenders I just rm every time I turn on the computer ↺
-
aquatarkus
``` exec-once = rm -rf ~/.cache/BraveSoftware & exec-once = rm -rf ~/.cache/chromium & exec-once = rm -rf ~/.cache/torbrowser & ```
-
aquatarkus
nobody's got diskspace for gigabytes of cache
-
bodqhrohro
BTW: ``` @bq:07:48:08:/tmp/dl$ ls -1 ~/.local/share/gajim/downloads/|wc -l 40176 ``` Accessing it becomes laggy even on my modern laptop with NVMe SSD. I wonder what would happen on my former one, probably it would put the system on knees for a few minutes and I would resort to migrate some of it and suffer with watching old logs lol (now, as I still keep 1.3 with the image plugin, I still can browse logs, say, from 2020 or even 2016 with the history viewer and all images are loaded there from downloads).
-
bodqhrohro
aquatarkus: pff, but what if you need to rescue something from the browser cache?
-
aquatarkus
lmao
-
bodqhrohro
It gots more complicated nowadays though, as it becomes obfuscated/encrypted.✎ -
bodqhrohro
It gets more complicated nowadays though, as it becomes obfuscated/encrypted. ✏
-
bodqhrohro
No reason to laugh, I had visited a small imageboard in the past, whose maintainer has borked the backups and the files there got damaged partially, only hashes remained. I was collecting them through my whole disk. Some valuable ones still are lost.
-
bodqhrohro
And this board owner also was poisoned by the hype and rewrote the imageboard as an SPA app for no reason, thus breaking indexability and crawlability by search engines.
-
bodqhrohro
Which also led to losing half of functionality.
-
bodqhrohro
And claimed this rewrite made the board faster than it was before with the Python's GIL bottleneck making multi-threading useless, even though I did not notice any difference on my cellular connection.
-
bodqhrohro
Does it remind anything? :P
-
aquatarkus
what imageboard?
-
bodqhrohro
Neboard.
-
aquatarkus
never been there
-
aquatarkus
not that I remember of anyway
-
bodqhrohro
It's gone for two years already. I had a read-only mirror but also killed it in a depression, now I still have an offline copy but don't see a reason to publish it anymore.
-
bodqhrohro
aquatarkus: not surprising, the are hundreds of small imageboards like that.
-
bodqhrohro
With 3.5 anons.
-
aquatarkus
yeah
-
aquatarkus
I used to go around looking for small chans
-
aquatarkus
one of the best parts of the internet, probably
-
aquatarkus
aside from obscure chat rooms like on xmpp/irc
-
aquatarkus
I'm heading over to bed rn, good night bodqhrohro
- bodqhrohro looks at the window
-
bodqhrohro
As you say.
-
bodqhrohro
lovetox: I wonder if /me messages should be displayed as system ones, isn't that how they were intended to be when they appeared? I suspect they're intended to mimic stage directions in play scripts, if you have ever read them.
- luca has not
-
bodqhrohro
There's also unnecessary duplication. In textview-based IMs nick was never duplicated near such messages.
-
bodqhrohro
I've been in a few MUCs full of RP lovers, and they use /me a lot.
β€ 1 -
bodqhrohro
So it literally looks like a play script.
-
cal0pteryx
pedro.ataide: there are many gajim users on Windows. Please keep the swearing to yourself
-
bodqhrohro
> meson: > How big are your executables? Here both .exe have 375 kB I cannot believe it, there should be some β30 MB .dll aside. ↺
-
bodqhrohro
Or 30 MB of tiny dlls hidden in system32 after installation (virtualized one on modern Windows, but whatever).
-
cal0pteryx
bodqhrohro: whats your point?
-
bodqhrohro
cal0pteryx: on what? Windows build? No big point really; if I'm _really_ interested in that, I should just investigate the build myself lol.
-
bodqhrohro
Last time I downloaded Gajim for Windows was in 0.16 times, and even though it didn't work there.
-
bodqhrohro
So I used something other, Thunderbird and probably JAJC also.
-
bodqhrohro
> Length: 112724847 (108M) [application/x-msdos-program] No questions anymore.
-
bodqhrohro
I'm not even going to investigate it :P
-
cal0pteryx
Alright then
-
bodqhrohro
Interesting insight: https://conference.gajim.org:5281/pastebin/1c064c5a-12dc-451b-83cf-6248b9cd92cb
-
bodqhrohro
Eh, why you don't have a message collapsing module here? :S
-
bodqhrohro
``` for i in $(seq 2011 2024); do echo $i; git log|grep -B 1 "^Date.*$i"|grep Author|sort|uniq -c|sort -nr|head -n 3; done|pbcopy ```
-
bodqhrohro
> bodqhrohro: > Eh, why you don't have a message collapsing module here? :S Or you do. ↺
-
bodqhrohro
I just see the outgoing message intact.
-
bodqhrohro
Even though it's displayed collapsed in another client. Interesting.
-
lovetox
Yes that's the way since 1.9
-
lovetox
But I think it makes sense that we collapse it in the GUI
-
lovetox
We could put every message into a scrolled window
-
cal0pteryx
I guess that would be awkward ;D
-
Jeroen.Naeff
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
-
cal0pteryx
The Spoilers xep comes to my mind. But that's a different use case
-
nicoco
One thing that's not so nice about the spoiler XEP is that it's for the full message, not just part of it, eg, I can't do: > The big reveal is that ||Kaizer Soze was under your eyes during the whole movie||. Who would have thought? It can have a title though, but clients not implementing it won't display the title π
-
nicoco
A new span for 0393 message styling would be simpler and overall better I think.
-
bodqhrohro
> cal0pteryx: > I guess that would be awkward ;D Yeah, like scrolling 4PDA. Not even possible in Opera Mini, BTW (even though it tends to uncollapse such containers). ↺
-
bodqhrohro
> nicoco: > One thing that's not so nice about the spoiler XEP is that it's for the full message, not just part of it, eg, I can't do: > > The big reveal is that ||Kaizer Soze was under your eyes during the whole movie||. Who would have thought? > It can have a title though, but clients not implementing it won't display the title π AFAIR, there existed a plugin back then which autodetected NSFW marks in messages. Or I just suggested it's easy to implement in some chat where such marks were used and clients didn't fetch links automatically yet (but Gajim with the image plugin already did for me), and never implemented actually. ↺
-
lovetox
Hm but we already have a 5000 message limit
-
lovetox
We could add a line limit to that
-
bodqhrohro
nicoco: I do even think now this is a good case when modern clients not retrieving links if they're not wrapped into OOB messages is actually useful. Just send links in non-OOB messages lol.
-
drakos
is voice/video support for windows planned?
-
Skinwalker
Are v1.9.0 deb files for ubuntu jammy 22.04 available? Or a snap?
-
cal0pteryx
Skinwalker: flatpak is available
-
Skinwalker
I know... But Ubuntu does not support flatpak.
-
lovetox
? Of course it does
-
lovetox
What do you mean? That it's not shipped with the system?
-
lovetox
Sudo apt install flatpak
-
Skinwalker
Is there also a gui integration?
-
flit
This page will help with setting up Flatpak correctly: https://flathub.org/setup/Ubuntu
-
Skinwalker
Thanks.✎ -
Skinwalker
Thanks lovetox and flit. ✏
-
zak
Hi. Thank you for Gajim 1.9.0. Unfortunately after an update on Windows from 1.8.4 (portable edition), some colleagues are unable to connect to our company XMPP server. The error message is: > Connect Error: g-resolver-error-quark: No DNS record of the requested type for β_xmpp-client._tcp.xmpp.company.deβ (0) The server is ejabberd 23.01 (debian bookworm). I am assuming it has something to do with a connection through the VPN tunnel (which works fine, 1.8.4 worked fine!) Did something change in this regard in version 1.9.0 ?
-
zak
We already tried setting the hostname in the account settings, but that did not help.
-
zak
More logs: ``` 2024-06-21T16:14:11 (I) nbxmpp.stream | (xmpp.company.de) Current address: ServerAddress(domain='xmpp.company.de', service='xmpp-client', host=None, uri=None, protocol=<ConnectionProtocol.TCP: 0>, type=<ConnectionType.START_TLS: 'START TLS'>, proxy=None) 2024-06-21T16:14:11 (I) nbxmpp.stream | (xmpp.company.de) Set state: StreamState.CONNECTING 2024-06-21T16:14:11 (I) nbxmpp.connection | (xmpp.company.de) Set Connection State: TCPState.CONNECTING 2024-06-21T16:14:11 (I) nbxmpp.connection | (xmpp.company.de) Connect Error: g-resolver-error-quark: No DNS record of the requested type for β_xmpp-client._tcp.xmpp.company.deβ (0) 2024-06-21T16:14:11 (I) nbxmpp.connection | (xmpp.company.de) Set Connection State: TCPState.DISCONNECTED 2024-06-21T16:14:11 (I) nbxmpp.connection | (xmpp.company.de) Signal: connection-failed 2024-06-21T16:14:11 (I) nbxmpp.stream | (xmpp.company.de) Set state: StreamState.DISCONNECTED ```
-
zak
The bad thing is: After the database migration, a downgrade is probably not possible anymore without losing all history and settings.
-
aereaux
> Hi. Thank you for Gajim 1.9.0. > Unfortunately after an update on Windows from 1.8.4 (portable edition), some colleagues are unable to connect to our company XMPP server. The error message is: > > Connect Error: g-resolver-error-quark: No DNS record of the requested type for β_xmpp-client._tcp.xmpp.company.deβ (0) > > The server is ejabberd 23.01 (debian bookworm). > > I am assuming it has something to do with a connection through the VPN tunnel (which works fine, 1.8.4 worked fine!) > > Did something change in this regard in version 1.9.0 ? Are you able to get a SRV record for that domain on your VPN? ↺
-
zak
How can I do that?
-
luca
`dig _xmpp-client._tcp.xmpp.company.de SRV +short` (possibly without the .xmpp)
-
aereaux
I'm not sure how to do it on Windows, but maybe something like this: https://serverfault.com/a/99485
-
zak
> `dig _xmpp-client._tcp.xmpp.company.de SRV +short` (possibly without the .xmpp) No result from this command. Not even an error. Without .xmpp as well. ↺
-
zak
I don't have windows here, trying on Linux
-
aereaux
Ah, OK. I assumed windows because you mentioned you were using that version of gajim. Try drill? I usually like the error messages more: `drill SRV _xmpp-client._tcp.xmpp.company.de`
-
zak
Yes, the colleagues who updated are using Windows.
-
zak
With the command `dig SRV _xmpp-client._tcp.xmpp.company.de` I get some results
-
zak
But on Linux I could connect. I guess I have to try this on a Windows machine connecting through VPN.
-
zak
But the question remains: What exactly did change between the versions so this does not work anymore?
-
Skinwalker
> This page will help with setting up Flatpak correctly: https://flathub.org/setup/Ubuntu It wanted to install an additional gnome environment. I uninstall Flatpak now.
-
Skinwalker
Are there no plans for native Ubuntu support?
-
fjklp
I think it's a matter of requiring sqlalchemy version 2
-
cal0pteryx
>> This page will help with setting up Flatpak correctly: https://flathub.org/setup/Ubuntu > It wanted to install an additional gnome environment. I uninstall Flatpak now. Skinwalker: yes, and? Not sure how you think this would work? Of course it needs a specific (in this case: newer) version of libraries your system doesn't provide. ↺
-
cal0pteryx
As soon as the latest ubuntu ships with the required version of gajim's dependencies, it works
-
zak
I friend of mine just told me he could not resolve the SRV record on Windows. So I am assuming that our Ivanti software either has a bug there or because of some setting this record is not exposed through the VPN. If anybody has any more ideas on this, I'd be really happy. Otherwise we probably lose even more people to Teams only soon. ποΈ
-
meson
zak: you could try to git bisect on Windows
-
meson
If it's a Gajim issue
-
zak
> zak: you could try to git bisect on Windows I assume this means a checkout of the code directly? This is too time-consuming I'm afraid. ↺
-
zak
I guess some library was updated which now handles the connection differently by using the SRV record. At least a confirmation on this would be nice.
-
zak
Maybe there is a way to revert to the old behaviour somehow.
-
luca
I think you should also be able to specify the hostname and port directly, and not leave it up to dns SRV records
-
zak
> I think you should also be able to specify the hostname and port directly, and not leave it up to dns SRV records We tried that, and it did not help. ↺
-
meson
> I assume this means a checkout of the code directly? Yes, you install msys2, start its mingw64 version, git clone gajim, execute the script to create the dev environment, then git bisect the 7 steps and in between you test. Would assume an hour maybe, especially if everything is new to you.
-
zak
This is a company PC, so I am limited in what I can do as well.
-
meson
Alright.
-
cal0pteryx
zak: I'm not aware of any changes concerning that network code. But yes, underlying library versions changed. Please wait for lovetox, maybe he has an answer
-
zak
cal0pteryx, ok thanks. No problem.
-
zak
But I am right, a downgrade to 1.8.4 is not possible after the database migration, correct?
-
meson
Doesn't it create a backup before the migration?
-
meson
zak: I think it does. Look for logs.db.randomstring.bak
-
zak
meson, ok, will do so when I am back at work. At least that would be a solution for now.
-
cal0pteryx
Yes, there is a backup
-
meson
zak: good luck! Out of curiosity, what are features which make Gajim a good messenger for a company in your eyes and which features do you miss?
-
zak
meson, None. It's a leftover from the olden days when there was much more openness to OpenSource and there were no other solutions for chat besides IRC. Some people already said that it should be shut down, but apparently they updated the Debian underneath once more. Almost everyone uses Teams now.
-
zak
I guess in the company environment, making calls and conferences and screensharing are the most important features.
-
zak
With Gajim another problem is, that it is not included in any enterprise linux repository like RedHat. And now with the most up-to-date libraries like python-sqlalchemy, there are not even up-to-date packages in Fedora anymore.
-
zak
I am fighting to keep it still alive as long as possible. But I guess at some point I just don't have any arguments against a shutdown.
-
luca
Gajim is in fedora, which I assume is redhat-alike? https://packages.fedoraproject.org/pkgs/gajim/gajim/ (though I guess it's a bit of an old version)
-
zak
luca, see my comment above, it is still on version 1.7.3.
-
meson
Sounds reasonable. Afaik Fedora is still stuck on 1.7.4 because of protobuf still being a too old version, which is required for nbxmpp. But some people are on it, let's hope it will make it to rawhide soonish✎ -
meson
Sounds reasonable. Afaik Fedora is still stuck on 1.7.3 because of protobuf still being a too old version, which is required for nbxmpp. But some people are on it, let's hope it will make it to rawhide soonish ✏
-
ong
zak: if you're only allowed to install software as the user you're logged in as you can use flatpak --user
-
ong
to add repos and software
-
zak
ong, I now, I tried that. It was a solution for me, but it is not for everyone.
-
ong
over
-
Skinwalker
Why is there no monolithic deb provided that cotains all dependencies?
-
meson
Some appimage?
-
ong
would go against packaging guidelines
-
ong
you can technically
-
ong
it's just extremely messy
-
ong
that's the windows way
-
ong
I'm not sure if it should be the Linux way too
-
ong
imo anything between 1.7.3 -> 1.9.0 is mostly qol fixes
-
zak
> Sounds reasonable. > Afaik Fedora is still stuck on 1.7.3 because of protobuf still being a too old version, which is required for nbxmpp. But some people are on it, let's hope it will make it to rawhide soonish This is ongoing since over a year now ποΈ ↺
-
ong
python deps fail to compile a lot of the time
-
ong
cuz of the C libraries
-
ong
it's up to the python library maintainer to make sure the python library works with different C/other lang library versions 6-9
-
ong
if this doesn't happen it doesn't get pulled in
-
Skinwalker
> Some appimage? I could not find one. Really bad situation. A nice messenger comes with insufficient distribution.
-
cal0pteryx
I'm inclined to say that you are just a little picky ;) there _is_ a solution, but you don't _like_ it
-
Skinwalker
That is possible. :-)
-
meson
removed by cal0pteryx
user wants this moderated
-
meson
And how to interpret > <item jid='orangensaft@chinwag.im/Conversations.s3Kf' role='participant' affiliation='member'/></x></presence> As this is an Semi-Anonymous MUC, I expect not to see anyone JID as a normal participant?✎ -
meson
And how to interpret . As this is an Semi-Anonymous MUC, I expect not to see anyone JID as a normal participant? ✏
-
meson
. ✏
-
lovetox
zak: if you gather a debug log Ivan look into it
-
zak
lovetox, which log? I pasted the relevant section above. If you tell me what you need I will ask my friend to do that on monday.
-
zak
18:21
-
lovetox
zak: set the server IP as hostname in account settings and try again, then we know if it's really a DNS problem
-
zak
lovetox, will do. Thank you for your help. I will get back to you on monday.
-
a moderator
removed a message
user wants this moderated
-
zak
Argh. He is on holiday next week. Then this will probably have to wait another week.
-
Codimp
Hey here, is there a "report abuse" function in Gajim?
-
Polixgen
does any client have this function?
-
meson
On the XEP pages it should show which clients support which version, just like for the Wayland protocols :)