Skip to main content

Anyone tried Trinity on top of Raspbian?

I don't fancy either compiling from source if I don't have to, or ending up in dependency hell if it doesn't work....

@Lazy Admin
Thomas Willingham 3 weeks ago
There is a post about Trinity on the Raspbian forums here...but I could also find a bunch of posts that said they'd followed these instructions and it didn't work. I can't tell whether it's code error, or user error.

Unlike QT 4 which comes with it's own settings manager, QT 5 tries to inherit the settings of the environment it finds itself in. Except it sucks goats balls at actually doing so. And we're not even talking a sexy goat. We're talking an ugly goat. With maggot eggs in it's scrotum.

But not all is lost, you can fix the problem.

How to make QT5 apps behave themselves in LXDE (and presumably XFCE, etc too):


Download qt5ct for free. Qt5 Configuration Tool. This program allows users to configure Qt5 settings (theme, font, icons, etc.) under DE/WM without Qt integration.
@Lazy Admin



Hi all,
does have somebody a good HowTo about icinga2 on debian master and debian clients please ?
Hypolite Petovan 2 months ago
Never used it, sorry.


Fun with pipes

Piping with SSH |

One of the many nifty things you can do with SSH is piping data over a network. You're probably already familiar with plain old input/output redirection like grep viagra access_log | gzip > refererspam.gz. But throw SSH into the mix, and the pipe just became much more useful. Most of the tasks I mention below, for example piping tar, can also be do...
#linux @Linux statt Windows @Lazy Admin


Need help writing a BBCode capturing regular expression

Hi @Lazy Admin and @Friendica Developers,

I'm currently trying to write a regular expression that captures the content between code tags if and only if there is at least a new line character in that content. I tried with positive lookahead but to no avail.

So far I had found a workaround by first matching code blocks without newlines (\[code\]([^\n]*?)\[\/code\]) and then matching the remaining code blocks, but now I need the exact opposite.

Any hint?
This entry was edited (4 months ago)
Hypolite Petovan 4 months ago
Never mind, I find my issue with positive lookahead. For anyone curious, here's the correct regular expression to capture code blocks with at least a new line:


So, @Lazy Admin my SD Card failed, and I had to reinstall Raspbian. The known hosts keys have thus changed.

maidens-point (a Doctor Who AND Cthulhu mythos reference, I rock) is mapped in hosts to - the static IP of the Pi.

When I first ssh'd in, I got the warning about the change in known_hosts. I went "oh yeah", and cleared it out. SSH has been fine since. I login with a username and password, not with keys. With SSH it's fine.

However, with FISH, if I connect to maidens-point I still get the warning that known_hosts has changed, and that the keys are invalid. It allows me to connect, but displays a warning every single time. FISH also logs in with a username and password, and as the same user.

If I connect to, it's fine - but I never, not even a single time, logged in with an IP address before reinstalling Raspbian, so that probably explains it.

Why does it give me the warning? Where is FISH getting the well known from? I assume this is a KDE thing. That's the only explanation I can think of - KDE must have it's own SSH stuff, similar to the cookie store...but where is it? What is it reading from if not ~/.ssh?

Stackoverflow doesn't seem to know.

Thomas Willingham 4 months ago
FISH is a protocol, it won't have a man page. Though it's also a kpart, which does - but contains nothing useful.

It's the wrong system for the fish men though...all my machines are named after something in the Cthulhu mythos, but Innsmouth, where the fishmen live, is a laptop.

Thomas Willingham 4 months ago
Anyway, turns out I'm a massive cockwomble.

The issue is, of course, I'm a different user in FISH to SSH.

I find it odd that people here all use Github. I mean, I use github too, but my main repo is on my Raspberry Pi, and I did self host my repos until it got to the stage where I couldn't afford a decent VPS. Most of you have way more room for it than I do, but still, nobody self hosts.

Maybe you think it's hard, so here's a how-to showing that it isn't.

Host your own remote Git repositories  |  Kenn Wilson

You’d never know it sometimes, but not all developers want to use GitHub.
@Lazy Admin
Tobias 5 months ago from Friendly
A simpler way might be to use some suite managing it all. I settled down with Kallithea, as it supports git and mercirial.

I'll look into that setup might save some resources.

In RetroPie, I have two joypads, a DragonRise Analogue pad, which works fine, and a Level3 Digital Pad which works fine - except in the EmulationStation menu. In the emulation station menu, every time you move the pad, it behaves as if you've pressed the button two or four times. Always exactly two, or exactly four. Not a range. It is impossible to move one item at a time in the menu list. The only way to select items is to ensure there's an odd number of items in the list, so you can "jump" between scrolling odds and evens at the start and end of a page. Switching left and right work the same.

I've tried in the pad a different machine, also running emulation station, and it's fine there. It's specific to either RetroPie, or the Raspberry Pi.

I don't even know where to look. Any hint? Device information in the spoilers.

@Lazy Admin

Click to open/close

Also, heads up...

oss-security - Re: OpenSSH: CVE-2015-6565 (pty issue in 6.8-6.9) can lead to local privesc on Linux

Powered by blists - more mailing lists Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list. Powered by Openwall GNU/*/Linux - Powered by OpenVZ...
@Lazy Admin

Long time members of this forum - of which there are none - will be aware how much of a fan I am of Fish, but also how annoying it is that all bash scripts are written for, well, bash, so you get confused switching between the two.

So here's a cheat sheet.
Hypolite Petovan 6 months ago
I didn't know about Fish, thanks for the discovery. I don't think I'll use it because my usage of shell is sparse, but I'm always glad to learn something new.

Thomas Willingham 6 months ago
Fish has a vastly superior autocomplete to bash - that makes it especially useful if you don't know your way around the command line because you don't use it much, or you're using a strange system, or whatever. Against ZSH, it doesn't offer much - except you don't have to configure anything. If you do want to configure anything, you can use the text files - or you can use a graphical interface in your web browser, which isn't as stupid as it sounds.

I found it particularly useful when I was switching between Debian proper and Ubuntu. The apt autocomplete made finding Ubuntu's quirky package names so much easier. Didn't have to search for every renamed package, just let tab figure it out.

Syntax highlighting is built in, wildcards work much less arcanely than bash, and error messages make more sense.

The only disadvantage is that 99% of scripts are written for bash, so you either need to translate them, or execute them with sh filename instead of ./filename