From 0169ba6e57beddd7a519a2dd678b1b652f659b86 Mon Sep 17 00:00:00 2001 From: Raman Sarda Date: Fri, 8 Nov 2019 16:07:57 -0800 Subject: [PATCH] Added default theme for Xscreensaver. Summary: Added Flurry with water preset as default theme for Xscreensaver. Test Plan: Test if Flurry is default Xscreensaver after adding xscreensaver-gl-extra to rSEED and rLUBUNTUMETAPACKAGING Reviewers: tsimonq2, wxl Reviewed By: wxl Maniphest Tasks: T21, T119 Differential Revision: https://phab.lubuntu.me/D58 --- debian/changelog | 7 + src/usr/lib/X11/app-defaults/XScreenSaver | 607 ++++++++++++++++++++++ 2 files changed, 614 insertions(+) create mode 100644 src/usr/lib/X11/app-defaults/XScreenSaver diff --git a/debian/changelog b/debian/changelog index 7ffc776..22eac4a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +lubuntu-default-settings (20.04.1) focal; urgency=medium + + * Added default theme for XscreenSaver + * Changed the look of dialogue box to match the above theme. Thanks to wxl. + + -- Raman Sarda Tue, 06 Nov 2019 05:33:39 +0530 + lubuntu-default-settings (19.10.8) eoan; urgency=medium * Fixed runner's default shortcut. diff --git a/src/usr/lib/X11/app-defaults/XScreenSaver b/src/usr/lib/X11/app-defaults/XScreenSaver new file mode 100644 index 0000000..c29646b --- /dev/null +++ b/src/usr/lib/X11/app-defaults/XScreenSaver @@ -0,0 +1,607 @@ +! +! XScreenSaver +! +! a screen saver and locker for the X window system +! by Jamie Zawinski +! +! version 5.42 +! 28-Dec-2018 +! +! See "man xscreensaver" for more info. The latest version is always +! available at https://www.jwz.org/xscreensaver/ + + +! These resources, when placed in the system-wide app-defaults directory +! (e.g., /usr/lib/X11/app-defaults/XScreenSaver) will provide the default +! settings for new users. However, if you have a ".xscreensaver" file in +! your home directory, the settings in that file take precedence. + + +! Don't hand this file to "xrdb" -- that isn't how app-defaults files work. +! Though app-defaults files have (mostly) the same syntax as your ~/.Xdefaults +! file, they are used differently, and if you run this file through xrdb, +! you will probably mess things up. + +#error Do not run app-defaults files through xrdb! +#error That does not do what you might expect. +#error Put this file in /usr/lib/X11/app-defaults/XScreenSaver instead. + +! /* (xrdb prevention kludge: whole file) + +*mode: one +*selected: 118 +*timeout: 0:10:00 +*cycle: 0:10:00 +*lockTimeout: 0:00:00 +*passwdTimeout: 0:00:30 +*dpmsEnabled: False +*dpmsQuickoffEnabled: False +*dpmsStandby: 2:00:00 +*dpmsSuspend: 2:00:00 +*dpmsOff: 4:00:00 +*grabDesktopImages: False +*grabVideoFrames: False +*chooseRandomImages: False +! This can be a local directory name, or the URL of an RSS or Atom feed. +*imageDirectory: +*nice: 10 +*memoryLimit: 0 +*lock: False +*verbose: False +*timestamp: True +*fade: True +*unfade: False +*fadeSeconds: 0:00:03 +*fadeTicks: 20 +*splash: True +*splashDuration: 0:00:05 +*visualID: default +*captureStderr: True +*ignoreUninstalledPrograms: False +*authWarningSlack: 20 + +*textMode: url +*textLiteral: XScreenSaver +*textFile: +*textProgram: fortune +*textURL: https://feeds.feedburner.com/ubuntu-news + +*overlayTextForeground: #FFFF00 +*overlayTextBackground: #000000 +*overlayStderr: True +*font: *-medium-r-*-140-*-m-* + +! The default is to use these extensions if available (as noted.) +*sgiSaverExtension: True +*xidleExtension: True +*procInterrupts: True + +! Turning this on makes pointerHysteresis not work. +*xinputExtensionDev: False + +! Set this to True if you are experiencing longstanding XFree86 bug #421 +! (xscreensaver not covering the whole screen) +GetViewPortIsFullOfLies: False + +! This is what the "Demo" button on the splash screen runs (/bin/sh syntax.) +*demoCommand: xscreensaver-demo + +! This is what the "Prefs" button on the splash screen runs (/bin/sh syntax.) +*prefsCommand: xscreensaver-demo -prefs + +! This is the URL loaded by the "Help" button on the splash screen, +! and by the "Documentation" menu item in xscreensaver-demo. +*helpURL: https://www.jwz.org/xscreensaver/man.html + +! loadURL -- how the "Help" buttons load the helpURL (/bin/sh syntax.) +! manualCommand -- how the "Documentation" buttons display man pages. +! +! And there are so very many options to choose from! +! +! Gnome 2.4, 2.6: (yelp can't display man pages, as of 2.6.3) +! +! Debian: If we _build_ with GNOME this one will be used, +! but the built packages should work on non-GNOME systems as well. +! Use yelp if installed, since it works fine in current GNOME. +! *loadURL: x-www-browser '%s' +! *manualCommand: yelp man:%s || \ +! x-terminal-emulator -title '%s manual' \ +! -e /bin/sh -c "man %s" +! +! Gnome 2.2: +! +! *loadURL: gnome-url-show '%s' +! *manualCommand: gnome-terminal --title '%s manual' \ +! --command '/bin/sh -c "man %s; read foo"' +! +! Gnome 1.4: +! +! *loadURL: gnome-moz-remote --newwin '%s' +! *manualCommand: gnome-help-browser 'man:%s' +! +! non-Gnome systems: +! +! Debian: This is used when _building_ without GNOME +*loadURL: x-www-browser '%s' +*manualCommand: yelp man:%s || \ + x-terminal-emulator -title '%s manual' \ + -e /bin/sh -c 'man "%s"' + + +! The format used for printing the date and time in the password dialog box +! (see the strftime(3) manual page for details.) +*dateFormat: %Y-%m-%d %H:%M:%S +! Original upstream format +! *dateFormat: %d-%b-%y (%a); %I:%M %p +! To show the time only: +! *dateFormat: %I:%M %p +! For 24 hour time: +! *dateFormat: %H:%M + + +! This command is executed by the "New Login" button on the lock dialog. +! (That button does not appear on the dialog if this program does not exist.) +! For Gnome: probably "gdmflexiserver -ls". KDE, probably "kdmctl reserve". +! Or maybe yet another wheel-reinvention, "lxdm -c USER_SWITCH". +! Oh wait, this wheel just keeps getting better: "dm-tool switch-to-greeter". +! +! ! *newLoginCommand: gdmflexiserver -ls +! Debian: Hard-wire the command in case the build machine does not have gdm +*newLoginCommand: gdmflexiserver -ls + + +! Turning on "installColormap" on 8-bit systems interacts erratically with +! certain jurassic window managers. If your screen turns some color other +! than black, the window manager is buggy, and you need to set this resource +! to false. Or switch WMs. Or join the 21st century and get a 24-bit +! graphics card. +! +*installColormap: True + + +! This is the list of installed screen saver modes. See "man xscreensaver" +! for the syntax used here. +! +! If you want to disable a screensaver, DO NOT remove it from this list: +! instead, mark it as inactive by placing a "-" at the beginning of the line. +! +! You can use the `xscreensaver-demo' program to edit the current list of +! screen savers interactively. +! +*programs: \ +- maze -root \n\ +- GL: superquadrics -root \n\ + attraction -root \n\ +- blitspin -root \n\ +- greynetic -root \n\ +- helix -root \n\ +- hopalong -root \n\ +- imsmap -root \n\ +- noseguy -root \n\ +- pyro -root \n\ +- qix -root \n\ +- rocks -root \n\ +- rorschach -root \n\ + decayscreen -root \n\ + flame -root \n\ +- halo -root \n\ +- slidescreen -root \n\ +- pedal -root \n\ +- bouboule -root \n\ +- braid -root \n\ +- coral -root \n\ + deco -root \n\ + drift -root \n\ +- fadeplot -root \n\ +- galaxy -root \n\ + goop -root \n\ + grav -root \n\ +- ifs -root \n\ +- unicode -root \n\ +- GL: jigsaw -root \n\ +- julia -root \n\ + kaleidescope -root \n\ +- GL: moebius -root \n\ +- moire -root \n\ +- GL: morph3d -root \n\ +- mountain -root \n\ +- munch -root \n\ + penrose -root \n\ + GL: pipes -root \n\ +- rd-bomb -root \n\ +- GL: rubik -root \n\ +- sierpinski -root \n\ +- slip -root \n\ +- GL: sproingies -root \n\ +- starfish -root \n\ +- strange -root \n\ +- swirl -root \n\ +- triangle -root \n\ +- xjack -root \n\ +- xlyap -root \n\ + GL: atlantis -root \n\ +- bsod -root \n\ +- GL: bubble3d -root \n\ + GL: cage -root \n\ + -effect swamp -reflect -magnify \ + -blackhole -vortex \n\ +- crystal -root \n\ +- cynosure -root \n\ +- discrete -root \n\ +- distort -root \n\ +- epicycle -root \n\ +- flow -root \n\ +- GL: glplanet -root \n\ +- interference -root \n\ + kumppa -root \n\ +- GL: lament -root \n\ + moire2 -root \n\ +- GL: sonar -root \n\ +- GL: stairs -root \n\ +- truchet -root \n\ +- vidwhacker -root \n\ +- blaster -root \n\ +- bumps -root \n\ +- ccurve -root \n\ +- compass -root \n\ +- deluxe -root \n\ +- demon -root \n\ +- GL: extrusion -root \n\ +- loop -root \n\ +- penetrate -root \n\ +- petri -root \n\ +- phosphor -root \n\ +- GL: pulsar -root \n\ +- ripples -root \n\ +- shadebobs -root \n\ +- GL: sierpinski3d -root \n\ +- spotlight -root \n\ +- squiral -root \n\ +- wander -root \n\ +- webcollage -root \n\ +- xflame -root \n\ +- xmatrix -root \n\ +- GL: gflux -root \n\ +- nerverot -root \n\ +- xrayswarm -root \n\ +- xspirograph -root \n\ + GL: circuit -root \n\ + -wireframe \n\ +- GL: dangerball -root \n\ +- GL: engine -root \n\ +- GL: flipscreen3d -root \n\ +- GL: gltext -root \n\ +- GL: menger -root \n\ +- GL: molecule -root \n\ +- rotzoomer -root \n\ +- speedmine -root \n\ +- GL: starwars -root \n\ +- GL: stonerview -root \n\ + vermiculate -root \n\ +- whirlwindwarp -root \n\ +- zoom -root \n\ + anemone -root \n\ +- apollonian -root \n\ +- GL: boxed -root \n\ + GL: cubenetic -root \n\ +- GL: endgame -root \n\ + euler2d -root \n\ + fluidballs -root \n\ + -elasticity 1 \n\ + GL: flurry -root -preset water \n\ + GL: glblur -root \n\ +- GL: glsnake -root \n\ +- halftone -root \n\ +- GL: juggler3d -root \n\ +- GL: lavalite -root \n\ +- polyominoes -root \n\ +- GL: queens -root \n\ +- GL: sballs -root \n\ +- GL: spheremonics -root \n\ +- thornbird -root \n\ +- twang -root \n\ +- GL: antspotlight -root \n\ +- apple2 -root \n\ + GL: atunnel -root \n\ +- barcode -root \n\ +- GL: blinkbox -root \n\ + GL: blocktube -root \n\ +- cloudlife -root \n\ + GL: cubestorm -root \n\ +- eruption -root \n\ +- GL: flipflop -root \n\ +- GL: flyingtoasters -root \n\ +- fontglide -root \n\ + GL: gleidescope -root \n\ +- GL: glknots -root \n\ +- GL: glmatrix -root \n\ +- GL: glslideshow -root \n\ + GL: hypertorus -root \n\ +- GL: jigglypuff -root \n\ +- metaballs -root \n\ +- GL: mirrorblob -root \n\ + piecewise -root \n\ + -maxradius 0.3107 \n\ +- GL: polytopes -root \n\ +- pong -root \n\ +- popsquares -root \n\ + GL: surfaces -root \n\ +- xanalogtv -root \n\ + abstractile -root \n\ +- anemotaxis -root \n\ +- GL: antinspect -root \n\ + fireworkx -root \n\ +- fuzzyflakes -root \n\ + interaggregate -root \n\ +- intermomentary -root \n\ +- memscroller -root \n\ + GL: noof -root \n\ +- pacman -root \n\ +- GL: pinion -root \n\ +- GL: polyhedra -root \n\ +- GL: providence -root \n\ + substrate -root \n\ + wormhole -root \n\ +- GL: antmaze -root \n\ +- GL: boing -root \n\ + boxfit -root \n\ +- GL: carousel -root \n\ + celtic -root \n\ + 26.3163 -no-logo \n\ +- GL: crackberg -root \n\ +- GL: cube21 -root \n\ + fiberlamp -root \n\ +- GL: fliptext -root \n\ +- GL: glhanoi -root \n\ +- GL: tangram -root \n\ +- GL: timetunnel -root \n\ +- GL: glschool -root \n\ +- GL: topblock -root \n\ + GL: cubicgrid -root \n\ + cwaves -root \n\ +- GL: gears -root \n\ + GL: glcells -root \n\ +- GL: lockward -root \n\ +- m6502 -root \n\ +- GL: moebiusgears -root \n\ +- GL: voronoi -root \n\ + GL: hypnowheel -root \n\ + GL: klein -root \n\ + 14.0985 -flexibility 0.1682 -wiggliness \ + 0.5364 \n\ +- lcdscrub -root \n\ +- GL: photopile -root \n\ +- GL: skytentacles -root \n\ +- GL: rubikblocks -root \n\ +- GL: companioncube -root \n\ +- GL: hilbert -root \n\ +- GL: tronbit -root \n\ + GL: geodesic -root \n\ +- hexadrop -root \n\ +- GL: kaleidocycle -root \n\ +- GL: quasicrystal -root \n\ + GL: unknownpleasures -root \n\ + binaryring -root \n\ + GL: cityflow -root \n\ +- GL: geodesicgears -root \n\ + GL: projectiveplane -root \n\ + GL: romanboy -root \n\ +- tessellimage -root \n\ +- GL: winduprobot -root \n\ +- GL: splitflap -root \n\ +- GL: cubestack -root \n\ +- GL: cubetwist -root \n\ +- GL: discoball -root \n\ +- GL: dymaxionmap -root \n\ +- GL: energystream -root \n\ +- GL: hexstrut -root \n\ + GL: hydrostat -root \n\ + -length 60 -friction 0 \n\ +- GL: raverhoop -root \n\ + GL: splodesic -root \n\ +- GL: unicrud -root \n\ +- GL: esper -root \n\ +- GL: vigilance -root \n\ +- filmleader -root \n\ +- glitchpeg -root \n\ +- GL: handsy -root \n\ +- GL: maze3d -root \n\ +- GL: peepers -root \n\ +- GL: razzledazzle -root \n\ +- vfeedback -root \n + + + +!============================================================================= +! +! You probably don't want to change anything after this point. +! +!============================================================================= + + +XScreenSaver.pointerPollTime: 0:00:05 +XScreenSaver.pointerHysteresis: 10 +XScreenSaver.initialDelay: 0:00:00 +XScreenSaver.windowCreationTimeout: 0:00:30 +XScreenSaver.bourneShell: /bin/sh + + +! Resources for the password and splash-screen dialog boxes of +! the "xscreensaver" daemon. +! +*Dialog.headingFont: -*-helvetica-bold-r-*-*-*-180-*-*-*-*-iso8859-1 +*Dialog.bodyFont: -*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1 +*Dialog.labelFont: -*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1 +*Dialog.unameFont: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-1 +*Dialog.buttonFont: -*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1 +*Dialog.dateFont: -*-helvetica-medium-r-*-*-*-80-*-*-*-*-iso8859-1 + +! Helvetica asterisks look terrible. +*passwd.passwdFont: -*-courier-medium-r-*-*-*-140-*-*-*-iso8859-1 + + +*Dialog.foreground: #000000 +*Dialog.background: #E6E6E6 +*Dialog.Button.foreground: #000000 +*Dialog.Button.background: #F5F5F5 +!*Dialog.Button.pointBackground: #EAEAEA +!*Dialog.Button.clickBackground: #C3C3C3 +*Dialog.text.foreground: #000000 +*Dialog.text.background: #FFFFFF +*passwd.thermometer.foreground: #4464AC +*passwd.thermometer.background: #FFFFFF +*Dialog.topShadowColor: #FFFFFF +*Dialog.bottomShadowColor: #CECECE +*Dialog.logo.width: 210 +*Dialog.logo.height: 210 +*Dialog.internalBorderWidth: 24 +*Dialog.borderWidth: 1 +*Dialog.shadowThickness: 2 + +*passwd.heading.label: XScreenSaver %s +*passwd.body.label: Please enter your password. +*passwd.unlock.label: OK +*passwd.login.label: New Login +*passwd.user.label: Username: +*passwd.passwd.label: Password: +*passwd.thermometer.width: 8 +*passwd.asterisks: True +*passwd.uname: True + +*splash.heading.label: XScreenSaver %s +*splash.body.label: Copyright \251 1991-2018 by +*splash.body2.label: Jamie Zawinski +*splash.demo.label: Settings +*splash.help.label: Help + + +!============================================================================= +! +! Pretty names for the hacks that have unusual capitalization. +! +!============================================================================= + +*hacks.antinspect.name: AntInspect +*hacks.antmaze.name: AntMaze +*hacks.antspotlight.name: AntSpotlight +*hacks.binaryring.name: BinaryRing +*hacks.blinkbox.name: BlinkBox +*hacks.blitspin.name: BlitSpin +*hacks.blocktube.name: BlockTube +*hacks.bouncingcow.name: BouncingCow +*hacks.boxfit.name: BoxFit +*hacks.bsod.name: BSOD +*hacks.bubble3d.name: Bubble3D +*hacks.ccurve.name: CCurve +*hacks.cloudlife.name: CloudLife +*hacks.companioncube.name: CompanionCube +*hacks.cubestack.name: CubeStack +*hacks.cubestorm.name: CubeStorm +*hacks.cubetwist.name: CubeTwist +*hacks.cubicgrid.name: CubicGrid +*hacks.cwaves.name: CWaves +*hacks.dangerball.name: DangerBall +*hacks.decayscreen.name: DecayScreen +*hacks.dnalogo.name: DNA Logo +*hacks.dymaxionmap.name: DymaxionMap +*hacks.energystream.name: EnergyStream +*hacks.euler2d.name: Euler2D +*hacks.fadeplot.name: FadePlot +*hacks.filmleader.name: FilmLeader +*hacks.flipflop.name: FlipFlop +*hacks.flipscreen3d.name: FlipScreen3D +*hacks.fliptext.name: FlipText +*hacks.fluidballs.name: FluidBalls +*hacks.flyingtoasters.name: FlyingToasters +*hacks.fontglide.name: FontGlide +*hacks.fuzzyflakes.name: FuzzyFlakes +*hacks.geodesicgears.name: GeodesicGears +*hacks.gflux.name: GFlux +*hacks.gleidescope.name: Gleidescope +*hacks.glforestfire.name: GLForestFire +*hacks.glitchpeg.name: GlitchPEG +*hacks.hyperball.name: HyperBall +*hacks.hypercube.name: HyperCube +*hacks.ifs.name: IFS +*hacks.imsmap.name: IMSMap +*hacks.jigglypuff.name: JigglyPuff +*hacks.juggler3d.name: Juggler3D +*hacks.lcdscrub.name: LCDscrub +*hacks.lmorph.name: LMorph +*hacks.m6502.name: m6502 +*hacks.maze3d.name: Maze3D +*hacks.memscroller.name: MemScroller +*hacks.metaballs.name: MetaBalls +*hacks.mirrorblob.name: MirrorBlob +*hacks.moebiusgears.name: MoebiusGears +*hacks.morph3d.name: Morph3D +*hacks.nerverot.name: NerveRot +*hacks.noseguy.name: NoseGuy +*hacks.popsquares.name: PopSquares +*hacks.projectiveplane.name:ProjectivePlane +*hacks.quasicrystal.name: QuasiCrystal +*hacks.raverhoop.name: RaverHoop +*hacks.razzledazzle.name: RazzleDazzle +*hacks.rd-bomb.name: RDbomb +*hacks.rdbomb.name: RDbomb +*hacks.romanboy.name: RomanBoy +*hacks.rotzoomer.name: RotZoomer +*hacks.rubikblocks.name: RubikBlocks +*hacks.sballs.name: SBalls +*hacks.shadebobs.name: ShadeBobs +*hacks.sierpinski3d.name: Sierpinski3D +*hacks.skytentacles.name: SkyTentacles +*hacks.slidescreen.name: SlideScreen +*hacks.speedmine.name: SpeedMine +*hacks.splitflap.name: SplitFlap +*hacks.starwars.name: StarWars +*hacks.stonerview.name: StonerView +*hacks.t3d.name: T3D +*hacks.testx11.name: TestX11 +*hacks.timetunnel.name: TimeTunnel +*hacks.topblock.name: TopBlock +*hacks.tronbit.name: TronBit +*hacks.unknownpleasures.name:UnknownPleasures +*hacks.vfeedback.name: VFeedback +*hacks.vidwhacker.name: VidWhacker +*hacks.webcollage.name: WebCollage +*hacks.whirlwindwarp.name: WhirlWindWarp +*hacks.winduprobot.name: WindupRobot +*hacks.xanalogtv.name: XAnalogTV +*hacks.xrayswarm.name: XRaySwarm + +! obsolete, but still used by xscreensaver-demo-Xm. +*hacks.documentation.isInstalled: True + +! (xrdb prevention kludge: whole file) */ + +! get rid of stuff we don't want to see +xscreensaver.passwd.uname: false +xscreensaver.splash: false +xscreensaver.passwd.thermometer.width: 0 +xscreensaver.dateFormat: + +! font settings +xscreensaver.Dialog.headingFont: -*-biwidth-bold-r-*-*-24-*-*-*-*-*-*-* +xscreensaver.Dialog.bodyFont: -*-biwidth-medium-r-*-*-24-*-*-*-*-*-*-* +xscreensaver.Dialog.labelFont: -*-biwidth-medium-r-*-*-24-*-*-*-*-*-*-* +xscreensaver.Dialog.buttonFont: -*-biwidth-bold-r-*-*-17-*-*-*-*-*-*-* +xscreensaver.passwd.passwdFont: -*-biwidth-bold-r-*-*-24-*-*-*-*-*-*-* + +! general dialog box (affects main hostname, username, password text) +xscreensaver.Dialog.foreground: #033C71 +xscreensaver.Dialog.background: #00182C +xscreensaver.Dialog.topShadowColor: #00182C +xscreensaver.Dialog.bottomShadowColor: #00182C +xscreensaver.Dialog.Button.foreground: #00182C +xscreensaver.Dialog.Button.background: #0068C8 + +! username/password input box and date text colour +xscreensaver.Dialog.text.foreground: #00182C +xscreensaver.Dialog.text.background: #0068C8 +xscreensaver.Dialog.internalBorderWidth: 10 +xscreensaver.Dialog.borderWidth: 1 +xscreensaver.Dialog.shadowThickness: 2 + +! Some credits to Lubuntu also please. :) +xscreensaver.passwd.heading.label: Lubuntu 20.04