Linux

6753 readers
309 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
101
102
103
 
 

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

Wow!

104
105
106
 
 
107
108
109
110
 
 

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?

111
112
113
114
115
116
117
118
119
 
 

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

120
 
 

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

121
122
123
124
125
view more: ‹ prev next ›