Linux

6821 readers
126 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
126
127
 
 

cross-posted from: https://lazysoci.al/post/23100838

Wow!

128
129
130
 
 
131
132
133
134
 
 

curl https://some-url/ | sh

I see this all over the place nowadays, even in communities that, I would think, should be security conscious. How is that safe? What's stopping the downloaded script from wiping my home directory? If you use this, how can you feel comfortable?

I understand that we have the same problems with the installed application, even if it was downloaded and installed manually. But I feel the bar for making a mistake in a shell script is much lower than in whatever language the main application is written. Don't we have something better than "sh" for this? Something with less power to do harm?

135
136
137
138
139
140
141
142
143
 
 

There will be one for developers and another one for game developers.

144
 
 

I want to use an electron based app named trilium notes on my system.
I got wayland/niri on nixos
I installed trilium by writing it in configuration.nix and rebuilt system but after starting trillium it gives following error

[7292:0311/205146.782132:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY
[7292:0311/205146.782227:ERROR:env.cc(255)] The platform failed to initialize. Exiting.
The futex facility returned an unexpected error code.
Aborted (core dumped)

I tried setting ELECTRON_OZONE_PLATFORM_HINT=auto and DISPLAY=:0 in all three combinations.
This is all I got from internet.
And nothing worked.

So basically I need help from community
Thanks

145
146
147
148
149
150
view more: ‹ prev next ›