Show newer
swiley boosted

#TIL Internet Archive's new service: Internet Archive Scholar. Search 25 million research articles preserved in the Internet Archive. scholar.archive.org/

re: average linux experience 

@icedquinn @purple The maintainers of your distro probably. You could maybe write a udev rule that works for you and suggest that and see what they say.

IMO: xrandr is pretty user friendly (except that no one tells you about it) and there are worse things to be upset about.

re: average linux experience 

@icedquinn @purple If OSX works for you it's nice that you can throw money at the problem. OSX has some serious issues that make it useless as far as I'm concerned.

re: average linux experience 

@icedquinn @purple But you really don't need to restart your display server to enable/disable monitors. It's something like `xrandr --output HDMI-1 --auto` to turn it on IIRC.

re: average linux experience 

@purple @icedquinn You definitely don't need dongles. You might actually be able to fix this with udevd now that I think about it. I think that's what this guy is doing: unix.stackexchange.com/questio

re: average linux experience 

@icedquinn @purple You could run a deamon in the background to do it. None of the OSes I use (besides guix which I haven't tried this with) run *anything* in the background after bootup besides agetty.

re: average linux experience 

@icedquinn @purple That's my main complaint with wayland. It's better than X11 if all your graphics drivers are set up correctly. So if the companies that are worst about screwing their users over screw you over then your computer is basically unusable outside of the kernel VTEs or X11.

re: average linux experience 

@purple @icedquinn My solution is a root menu entry to turn off the phone's display and turn on the external one using xrandr (X11 hotplugging works fine, but X gets really slow on the phone with two screens for whatever reason.) My power management scripts undo this if you lock the phone (just in case you yank it out of the dock without manually undoing this.)

IME: X11 is much faster on the pinephone but maybe some of the latest driver updates have changed that.

re: average linux experience 

@icedquinn Have you tried turning it on with xrandr?

For reference, this is the machine that doubles as my "TV" set top box and general purpose desktop (the "TV" is a projector pointed into the living room from my workshop.) On my machines with integrated graphics cards hotplugging works without anything special in Xorg.conf.

Looking at it now I'm actually not sure why this works.

```~ $ cat /etc/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
"SWcursor" # [<bool>]
"kmsdev" # <str>
"ShadowFB" # [<bool>]
"AccelMethod" # <str>
"PageFlip" # [<bool>]
"ZaphodHeads" # <str>
"DoubleShadow" # [<bool>]
Identifier "Card0"
# Driver "modesetting"
"radeon"
BusID "PCI:7:0:0"
EndSection
added

Section "dri"
Mode 0666
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "ServerFlags"
Option "DontZap" "false"
EndSection

Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
~ $
```

average linux experience 

@icedquinn Wait what? I hotplug HDMI displays with X almost every day.

@icedquinn But that won't deal with all the crap getting shoved into the CFR by the executive branch.

This isn't really surprising but it's good to be aware that it's known for sure now.

HN Tooter  
Git: Malicious repositories can execute remote code while cloning https://www.openwall.com/lists/oss-security/2021/03/09/3 (submitted by todsacerd...
swiley boosted
swiley boosted
swiley boosted
swiley boosted

@marathon I'm a little surprised it didn't happen sooner honestly.

@fabiscafe If your shell isn't in /bin chances are env isn't in /usr/bin.

about a cabal of evil linguists, no seriously, missionarism 

@elilla Also: I'm pretty sure some of the buildings at the university I went to were named after the same Townsend. At least before they tore down the religion school to build the new school of business in its place.

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.