Null characters in "disper -l" output
Bug #337721 reported by
Jeroen Hoek
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
disper |
Fix Released
|
Medium
|
wvengen |
Bug Description
Running "disper -l" produces a list of displays with their resolutions as expected. However, on my laptop the display names are both suffixed with a null character. This causes command line tools to treat the output as binary data.
Suggested solution:
Strip null characters from the display name.
Attached is the output as seen on my laptop. After "DFP-0: CMO" and "DFP-1: Iiyama PLE2208HDS" there is a byte with the value of 0 right before the newline, causing grep and such to complain.
disper 0.2.1
Thanks for creating disper! It is quite useful.
Related branches
lp://staging/~wvengen/disper/trunk
(Merged)
Changed in disper: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for your bug report. I cannot reproduce it here. Could you please attach the EDID of your DFP-0 device? That can be obtained using nvidia-settings by selecting GPU-0->DFP-0 in the list at the left and pressing the button "Acquire EDID...".