New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[from Ubuntu] hardinfo -r from comand line always shows displays in X as 0x0 pixels #200

Open
bp0 opened this Issue Oct 28, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@bp0
Collaborator

bp0 commented Oct 28, 2017

https://bugs.launchpad.net/ubuntu/+source/hardinfo/+bug/1494523

Brendan Perrine:

I expected hardinfo to show the display resolution like it does in a gtk window when run on the command line. Instead it shows 0x0 pixels no matter the display resolutoin. Instead I get 0x0 pixel from a terminal emulator and get the correct resolution in a gtk window.

This happens because the resolution information is from GDK, but that stuff hasn't been initialized. Also, the method used has been deprecated in GNOME, so it should be replaced anyway.

@bp0 bp0 added the bug label Oct 28, 2017

@bp0 bp0 referenced this issue Mar 6, 2018

Open

Computer/Display information TODO #225

4 of 18 tasks complete
@tsimonq2

This comment has been minimized.

Show comment
Hide comment
@tsimonq2

tsimonq2 Mar 11, 2018

Contributor

Bump.

Contributor

tsimonq2 commented Mar 11, 2018

Bump.

bp0 added a commit to bp0/hardinfo that referenced this issue Mar 18, 2018

Use x_util for display information
Hardinfo only knows about X right now, so make it clear that
this information is X-only.

This commit fixes:
* lpereira#200
  now using xrandr to get screen info instead of gdk, so it works
  from the cli
* lpereira#230
  (by removing extension list)

Signed-off-by: Burt P <pburt0@gmail.com>
@bp0

This comment has been minimized.

Show comment
Hide comment
@bp0

bp0 Mar 18, 2018

Collaborator

This is fixed as part of #237.

Collaborator

bp0 commented Mar 18, 2018

This is fixed as part of #237.

bp0 added a commit to bp0/hardinfo that referenced this issue Mar 18, 2018

Use x_util for display information
Hardinfo only knows about X right now, so make it clear that
this information is X-only.

This commit fixes:
* lpereira#200
  now using xrandr to get screen info instead of gdk, so it works
  from the cli
* lpereira#230
  (by removing extension list)

Signed-off-by: Burt P <pburt0@gmail.com>

bp0 added a commit to bp0/hardinfo that referenced this issue Mar 18, 2018

Use x_util for display information
Hardinfo only knows about X right now, so make it clear that
this information is X-only.

This commit fixes:
* lpereira#200
  now using xrandr to get screen info instead of gdk, so it works
  from the cli
* lpereira#230
  (by removing extension list)

Signed-off-by: Burt P <pburt0@gmail.com>

bp0 added a commit to bp0/hardinfo that referenced this issue Mar 18, 2018

Use x_util for display information
Hardinfo only knows about X right now, so make it clear that
this information is X-only.

This commit fixes:
* lpereira#200
  now using xrandr to get screen info instead of gdk, so it works
  from the cli
* lpereira#230
  (by removing extension list)

Signed-off-by: Burt P <pburt0@gmail.com>

bp0 added a commit to bp0/hardinfo that referenced this issue Mar 23, 2018

computer/display: use x_util for display information
This commit fixes:
* lpereira#200
  now using xrandr to get screen info instead of gdk, so it works
  from the cli
* lpereira#27
  opengl core and compatibility versions are both listed
* lpereira#230
  (by removing extension list)

Signed-off-by: Burt P <pburt0@gmail.com>

bp0 added a commit to bp0/hardinfo that referenced this issue Mar 23, 2018

computer/display: use x_util for display information
This commit fixes:
* lpereira#200
  now using xrandr to get screen info instead of gdk, so it works
  from the cli
* lpereira#27
  opengl core and compatibility versions are both listed
* lpereira#230
  (by removing extension list)

Signed-off-by: Burt P <pburt0@gmail.com>

bp0 added a commit to bp0/hardinfo that referenced this issue Mar 25, 2018

computer/display: use x_util for display information
This commit fixes:
* lpereira#200
  now using xrandr to get screen info instead of gdk, so it works
  from the cli
* lpereira#27
  opengl core and compatibility versions are both listed
* lpereira#230
  (by removing extension list)

Signed-off-by: Burt P <pburt0@gmail.com>

bp0 added a commit to bp0/hardinfo that referenced this issue Mar 25, 2018

computer/display: use x_util for display information
This commit fixes:
* lpereira#200
  now using xrandr to get screen info instead of gdk, so it works
  from the cli
* lpereira#27
  opengl core and compatibility versions are both listed
* lpereira#230
  (by removing extension list)

Signed-off-by: Burt P <pburt0@gmail.com>

bp0 added a commit to bp0/hardinfo that referenced this issue Mar 25, 2018

computer/display: use x_util for display information
This commit fixes:
* lpereira#200
  now using xrandr to get screen info instead of gdk, so it works
  from the cli
* lpereira#27
  opengl core and compatibility versions are both listed
* lpereira#230
  (by removing extension list)

Signed-off-by: Burt P <pburt0@gmail.com>

lpereira added a commit that referenced this issue Apr 24, 2018

computer/display: use x_util for display information
This commit fixes:
* #200
  now using xrandr to get screen info instead of gdk, so it works
  from the cli
* #27
  opengl core and compatibility versions are both listed
* #230
  (by removing extension list)

Signed-off-by: Burt P <pburt0@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment