Fwd: Fwd: Fwd: how to uses wmsetbg
勇顺张 <[email protected]> Sat, 7 Jan 2006 16:35:31 +0800
| Newsgroups | gmane.compw.window-managers.windowmaker.user |
|---|---|
| Message-ID | <[email protected]> |
---------- Forwarded message ---------- From: [email protected] <[email protected]> Date: 2006-1-6 =C9=CF=CE=E712:05 Subject: Re: Fwd: [wm-user] Fwd: how to uses wmsetbg To: [email protected] On Thu, 5 Jan 2006 12:47:28 +0800 _________ <[email protected]> wrote: > ---------- Forwarded message ---------- > From: Vano Beridze <[email protected]> > Date: 2006-1-5 ______9:57 > Subject: Re: [wm-user] Fwd: how to uses wmsetbg > To: [email protected] > > _________ wrote: > > > > > the wmsetbg can set the background, > > but i don't know how to do that , > > search from google ,yahoo, > > only find the wmFAQ, > > && > > > > > > > wmsetbg --help > Usage: wmsetbg [options] [image] > Sets the workspace background to the specified image or a texture and > optionally update Window Maker configuration > > -display display to use > -d, --dither dither image > -m, --match match colors > -S, --smooth smooth scaled image > -b, --back-color <color> background color > -t, --tile tile image > -e, --center center image > -s, --scale scale image (default) > -a, --maxscale scale image and keep aspect ratio > -u, --update-wmaker update WindowMaker domain database > -D, --update-domain <domain> update <domain> database > -c, --colors <cpc> colors per channel to use > -p, --parse <texture> proplist style texture specification > -w, --workspace <workspace> update background for the specified > workspace > --version show version of wmsetbg and exit > --help show this help and exit > > > The typical use would be > > wmsetbg -e -u /path/to/myimage > > Hope this will help. > > >----------------------------------------------------------------------= -- > > > >_______________________________________________ > >INFO: https://windowmaker.org/lists/listinfo/wm-user > >ARCHIVE: https://windowmaker.org/lists/archive/wm-user/ > >FAQ: http://windowmaker.org/faq.html > > > > > > > -- > Vano Beridze > Software Developer > Silk Road Group S.A. > > the problem is "i don't know how to add it" > if i add the wmsetbg -u -a /.... >>~/GNUstep/Defaults/WindowMaker > there always have a waring said the syntax error from the DISTORY:0, you're not suppose to cat it into your WindowMaker file WindowMaker has its own Proplist config file API with the -u flag wmsetbg will automatically update ~/GNUstep/Defaults/WindowMaker so you dont have to worry about adding it to that file manually Enjoy :) > _______________________________________________ > INFO: https://windowmaker.org/lists/listinfo/wm-user > ARCHIVE: https://windowmaker.org/lists/archive/wm-user/ > FAQ: http://windowmaker.org/faq.html _______________________________________________ INFO: https://windowmaker.org/lists/listinfo/wm-user ARCHIVE: https://windowmaker.org/lists/archive/wm-user/ FAQ: http://windowmaker.org/faq.html [biosedit@debian:16:31:14~/GNUstep/Defaults#6]%cat -v WindowMaker { AdvanceToNewWorkspace =3D YES; HighlightColor =3D "#ffffff"; IconSize =3D 72; EdgeResistance =3D 23; AntialiasedText =3D NO; MenuTextFont =3D "AR PL New Sung:slant=3D0:weight=3D80:width=3D100:pixe= lsize=3D12"; UTitleBack =3D (hgradient, "rgb:38/58/79", "rgb:26/36/46"); MoveResizeKey =3D None; StickyIcons =3D YES; PixmapPath =3D ( "/home/biosedit/GNUstep/Library/WindowMaker/Pixmaps", "/home/biosedit/GNUstep/Library/WindowMaker/Backgrounds", "/usr/local/share/WindowMaker/Pixmaps", "/usr/local/share/WindowMaker/Backgrounds", "/usr/X11R6/include/X11/pixmaps", "/usr/local/share/pixmaps", "/usr/share/pixmaps" ); PTitleBack =3D (hgradient, "rgb:18/38/59", black); WindowShortcut10Key =3D None; MiniwindowTitleBalloons =3D NO; NoWindowOverIcons =3D YES; NoWindowOverDock =3D NO; WindowTitleFont =3D "AR PL New Sung:slant=3D0:weight=3D80:width=3D100:p= ixelsize=3D13"; ClipTitleFont =3D "AR PL New Sung:slant=3D0:weight=3D80:width=3D100:pix= elsize=3D10"; MenuDisabledColor =3D "#616161"; MenuTextBack =3D (hgradient, "rgb:18/38/59", "rgb:00/14/28"); IconBack =3D (mdgradient, "rgb:61/51/59", "rgb:38/58/79", black, "rgb:18/38/59"); MenuTitleBack =3D (hgradient, "rgb:08/24/38", black); FTitleBack =3D (hgradient, "rgb:18/38/59", black); IconificationStyle =3D flip; WindowShortcut1Key =3D None; WindowShortcut2Key =3D None; WindowShortcut3Key =3D None; WindowShortcut4Key =3D None; ResizebarBack =3D (hgradient, "rgb:38/58/79", "rgb:26/36/46"); MenuTextColor =3D "#ffffff"; WindowShortcut5Key =3D None; HighlightTextColor =3D "#000000"; MenuTitleFont =3D "AR PL New Sung:slant=3D0:weight=3D80:width=3D100:pix= elsize=3D14"; WindowShortcut6Key =3D None; MenuTitleColor =3D "#ffffff"; WorkspaceNameDisplayPosition =3D center; LargeDisplayFont =3D "AR PL New Sung:slant=3D0:weight=3D80:width=3D100:= pixelsize=3D22"; WindowShortcut7Key =3D None; FTitleColor =3D "#ffffff"; AppIconBalloons =3D NO; WorkspaceBorderSize =3D 4; WorkspaceBack =3D (vgradient, "#7080a5", "#101020"); IconTitleFont =3D "AR PL New Sung:slant=3D0:weight=3D80:width=3D100:pix= elsize=3D14"; HideOthersKey =3D None; IconPath =3D ( "/home/biosedit/GNUstep/Library/Icons", "/usr/local/share/WindowMaker/Icons", "/usr/local/share/WindowMaker/Pixmaps", "/usr/X11R6/include/X11/pixmaps", "/home/biosedit/GNUstep/Library/WindowMaker/Pixmaps", "/usr/share/icons", "/usr/local/share/pixmaps", "/usr/share/pixmaps" ); UTitleColor =3D "#999999"; PTitleColor =3D "#999999"; Attraction =3D NO; WorkspaceBorder =3D LeftRight; SaveSessionOnExit =3D YES; HelpBalloons =3D NO; WindowPlaceOrigin =3D (0, 0); CirculateRaise =3D NO; CClipTitleColor =3D gray40; WindowShortcut8Key =3D None; DisableMiniwindows =3D YES; ScreenSwitchKey =3D None; ClipTitleColor =3D white; WindowShortcut9Key =3D None; IconTitleBack =3D "#0c1c2c"; IconTitleColor =3D white; HMaximizeKey =3D None; DisableBlinking =3D YES; wmsetbg -e -u /path/to/myimage/* if i add this row,the wmaker always uses the default config,the neam don't locad the windowmaker,*/ } [biosedit@debian:16:31:23~/GNUstep/Defaults#7]% this is my windowmaker,if i cp the backgroud to ~/GNUstep/Library/WindowMaker/Backgrounds _______________________________________________ INFO: https://windowmaker.org/lists/listinfo/wm-user ARCHIVE: https://windowmaker.org/lists/archive/wm-user/ FAQ: http://windowmaker.org/faq.html