Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94708 - xscreensaver-5.02-r2 always try to use gnome-terminal
Summary: xscreensaver-5.02-r2 always try to use gnome-terminal
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High minor (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 00:34 UTC by Octavio Ruiz (Ta^3)
Modified: 2009-03-18 20:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xscreensaver-4.21-settings.patch (xscreensaver-4.21-settings.patch,2.41 KB, patch)
2005-06-01 00:35 UTC, Octavio Ruiz (Ta^3)
Details | Diff
xscreensaver-5.02-gentoo.patch (xscreensaver-5.02-gentoo.patch,6.64 KB, patch)
2007-07-15 07:53 UTC, Octavio Ruiz (Ta^3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Octavio Ruiz (Ta^3) 2005-06-01 00:34:51 UTC
Xscreensaver always try to use gnome-terminal, if it's not installed you can
not see documentation. Changed to always use xterm.
Comment 1 Octavio Ruiz (Ta^3) 2005-06-01 00:35:54 UTC
Created attachment 60342 [details, diff]
xscreensaver-4.21-settings.patch

Changed to always use xterm.
Comment 2 Jonathan Smith (RETIRED) gentoo-dev 2005-06-23 15:22:16 UTC
this has already been fixed
Comment 3 Octavio Ruiz (Ta^3) 2005-06-23 19:33:48 UTC
xscreensaver-4.{21,22} still use by default gnome-terminal. Attachment #61819 [details, diff]
fix the problem for both.
Comment 4 Jonathan Smith (RETIRED) gentoo-dev 2005-06-24 15:43:56 UTC
sorry about that... i marked the wrong bug
Comment 5 Jonathan Smith (RETIRED) gentoo-dev 2005-06-24 16:11:13 UTC
fixed in 4.22-r1 (for real this time)... thanks
Comment 6 Octavio Ruiz (Ta^3) 2006-05-26 10:23:31 UTC
xscreensaver-4.2{2,4}-settings.patch doesn't fix this anymore.

The proposed fix was:

*loadURL: firefox '%s' || mozilla '%s' || netscape '%s' || \
links '%s' || lynx '%s' || w3m '%s'
*manualCommand: xterm -sb -fg black -bg gray75 -T '%s manual' \
		    -e /bin/sh -c 'man "%s" ; read foo'
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-06-07 14:36:03 UTC
xscreensaver-4.x? It's not in Portage.
Comment 8 Octavio Ruiz (Ta^3) 2007-07-15 07:36:38 UTC
Clever.

sh: gnome-terminal: command not found
Comment 9 Octavio Ruiz (Ta^3) 2007-07-15 07:53:57 UTC
Created attachment 124904 [details, diff]
xscreensaver-5.02-gentoo.patch

xscreensaver-5.02-gentoo.patch
Comment 10 Peter Volkov (RETIRED) gentoo-dev 2009-01-21 17:36:55 UTC
Octavio, in my opinion this is just default that you, as administrator of your system, should change in configuration file. Just change that in /usr/share/X11/app-defaults and that's it! Gnome users will hate us for this change ;)


The only problem I see is that that file is not config-protected.

X11, could you help us here. Some app-defaults files are installed into /usr/lib/X11/app-defaults, which is symlink on ../../../etc/X11/app-defaults (and thus all files there are config-protected. On the other hand some applications install app-defaults into /usr/share/X11/app-defaults:
 $=> qfile /usr/share/X11/app-defaults/
x11-apps/xclock (/usr/share/X11/app-defaults)
x11-apps/xsm (/usr/share/X11/app-defaults)
x11-apps/xfontsel (/usr/share/X11/app-defaults)
x11-apps/xmessage (/usr/share/X11/app-defaults)
x11-terms/xterm (/usr/share/X11/app-defaults)
x11-base/xorg-server (/usr/share/X11/app-defaults)

So it looks like all newer X11 applications install app-defaults files into /usr/share instead of /usr/lib. What is correct location? What /usr/share/X11/app-defaults is not config-protected?
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2009-01-21 19:19:52 UTC
(In reply to comment #10)
> So it looks like all newer X11 applications install app-defaults files into
> /usr/share instead of /usr/lib. What is correct location? What
> /usr/share/X11/app-defaults is not config-protected?

/usr/share for distribution defaults and /etc for administrator overrides. /usr/lib is obsolete.
Comment 12 Peter Volkov (RETIRED) gentoo-dev 2009-01-22 07:24:32 UTC
Thank you Donnie. I've checked: Octavio if you put /usr/share/X11/app-defaults/XScreenSaver into /etc/X11/app-defaults and put the only line there:

*manualCommand: xterm --title '%s manual' \
                --command '/bin/sh -c "man %s; read foo"'

There, you'll get what you want. So this is not a bug, but misconfiguration. If anybody disagrees here with me, please, reopen this bug.
Comment 13 Octavio Ruiz (Ta^3) 2009-03-18 20:07:19 UTC
Thank you Peter, I agree.