/[soft]/drakx-kbd-mouse-x11/trunk/tools/drakx-update-background
ViewVC logotype

Contents of /drakx-kbd-mouse-x11/trunk/tools/drakx-update-background

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6057 - (show annotations) (download)
Tue Sep 25 22:02:39 2012 UTC (7 years, 6 months ago) by blino
File size: 276 byte(s)
do not crash when xorg.conf but set a default background instead

This should fix some installations having no background at all, for
example on systems with multiple graphic cards and none configured by
default.

1 #!/usr/bin/perl
2
3 use lib qw(/usr/lib/libDrakX);
4 use common;
5 use Xconfig::xfree;
6 use Xconfig::resolution_and_depth;
7
8 require_root_capability();
9
10 my $resolution = eval { Xconfig::xfree->read->get_resolution };
11 Xconfig::resolution_and_depth::set_default_background($resolution);

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26