On Sat, 18 Feb 2012, Kamil Rytarowski escribió:

> On 17.02.2012 17:12, Carlos R. Mafra wrote:
> >On Fri, 17 Feb 2012 at 16:47:46 +0100, Kamil Rytarowski wrote:
> >>I want to send more patches and suggestions, but please answer my
> >>question. What is the schedule of releases?
> >There is no schedule.
> OK, I will try to push all patches and we will see what will happen.
> >
> >The priority is on fixing bugs and code cleanups (to make bug fixing
> >easier in the future). But what happens on Window Maker depends
> >mostly on the people out there getting out of the woods with their
> >patches to scratch their own itches.
> >
> >
> Thank you for your reply.
> 
> I'm slowly switching from the old Mandrake configuration to the
> upstream one, I'm attaching a special patch to:
> - replace xterm with xvt (a universal binary, Debian has something
> similar too),
> - add a wmcalclock to the default configuration.
> 
> This is not a patch to implement upstream. I don't know how to
> prepare a right patch to add an option to the build process
> "--default-term=SOMETHING" and a 2nd one with "--with-wmcalclock".
> 
> Please implement this upstream, it will really help to clean things
> and be usable for other distros (or individuals).
> 
> Regards!

> From 38d92ec5c991105c528c0718f0c56532ea855d5c Mon Sep 17 00:00:00 2001
> From: Kamil Rytarowski <[email protected]>
> Date: Sat, 18 Feb 2012 08:32:08 +0100
> Subject: [PATCH] Patch WMState to use old Mageia configuration
> 
> Use xvt instead of xterm and add wmcalclock to the desktop.
> ---
>  WindowMaker/Defaults/WMState.in |   12 +++++++++++-
>  1 files changed, 11 insertions(+), 1 deletions(-)
> 
> diff --git a/WindowMaker/Defaults/WMState.in b/WindowMaker/Defaults/WMState.in
> index bdcef36..261f4e9 100644
> --- a/WindowMaker/Defaults/WMState.in
> +++ b/WindowMaker/Defaults/WMState.in
> @@ -10,7 +10,7 @@
>          DropCommand = "wmsetbg -u -t %d";
>        },
>        {
> -     Command = xterm;
> +     Command = xvt;
>       Name = xterm.XTerm;
>       AutoLaunch = No;
>       Forced = No;
> @@ -23,6 +23,16 @@
>       Forced = No;
>       Position = "0,2";
>       Lock = Yes;
> +      },
> +      {
> +        Command = "wmcalclock -b 100 -24 -tc #001100 -bc #7e9e69";
> +        Name = "wmcalclock.wmcalclock";
> +        AutoLaunch = Yes;
> +        Lock = No;
> +        Forced = No;
> +        BuggyApplication = No;
> +        Position = "0,3";
> +        DropCommand = "wmcalclock -b 100 -24 -tc #001100 -bc #7e9e69 %d";
>        }
>      );
>      Position = "-64,0";
> -- 
> 1.7.9.1
> 

Sorry, but I don't agree this patch:

- Why using xvt, is not the standard x-terminal. In debian, we have an 
"alternative" (like a link?) and we use x-terminal-emulator":

kix@kentin:~$ type x-terminal-emulator 
x-terminal-emulator is /usr/bin/x-terminal-emulator
kix@kentin:~$ ls -l /usr/bin/x-terminal-emulator
lrwxrwxrwx 1 root root 37 jul 14  2011 /usr/bin/x-terminal-emulator -> 
/etc/alternatives/x-terminal-emulator
kix@kentin:~$ ls -l  /etc/alternatives/x-terminal-emulator
lrwxrwxrwx 1 root root 31 jul 14  2011 /etc/alternatives/x-terminal-emulator -> 
/usr/bin/gnome-terminal.wrapper
kix@kentin:~$ ls -l /usr/bin/gnome-terminal.wrapper
-rwxr-xr-x 1 root root 1394 jul  2  2008 /usr/bin/gnome-terminal.wrapper
kix@kentin:~

I am not sure about other distros.

- wmcalclock, why? I am not using this dock app. Is not installed by default. 
The standard dockapps are dock, clip and WMPrefs. These are configured in the 
default WMState file included in the current WindowMaker.

Regards,
kix
-- 
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/


--
To unsubscribe, send mail to [email protected].

Reply via email to