| Summary: | www-apps/mozilla-launcher: waste dependency to x11-apps/xdpyinfo | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Enrico 'nekrad' Weigelt <weigelt> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Enrico 'nekrad' Weigelt
2007-06-05 09:51:19 UTC
# If xdpyinfo isn't installed, then this will just check $DISPLAY
screens=("$DISPLAY"
$(xdpyinfo 2>/dev/null | awk '
/^name of display:/ {
disp = substr($NF, 0, match($NF, /\.[^.]*$/)-1)
}
/^number of screens:/ {
for (i = 0; i < $NF; i++) {
this = sprintf("%s.%d", disp, i)
if (this != ENVIRON["DISPLAY"])
print this
}
}')
)
Kindly do some research before filing bugs. Thanks!
|