From owner-freebsd-questions@FreeBSD.ORG Wed Mar 8 13:41:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2963B16A420 for ; Wed, 8 Mar 2006 13:41:03 +0000 (GMT) (envelope-from vaaf@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA4A443D45 for ; Wed, 8 Mar 2006 13:41:02 +0000 (GMT) (envelope-from vaaf@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IVT006CQA0DI5B0@osl1smout1.broadpark.no> for freebsd-questions@freebsd.org; Wed, 08 Mar 2006 14:41:01 +0100 (CET) Received: from urban.broadpark.no ([213.187.181.70]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IVT009DTA0C63L0@osl1sminn1.broadpark.no> for freebsd-questions@freebsd.org; Wed, 08 Mar 2006 14:41:00 +0100 (CET) Date: Wed, 08 Mar 2006 14:41:03 +0100 From: Kristian Vaaf In-reply-to: <20060308092202.GA1005@flame.pc> To: Giorgos Keramidas Message-id: <7.0.1.0.2.20060308144007.02244358@broadpark.no> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <5d6e65c52459.440e6cd2@broadpark.no> <20060308092202.GA1005@flame.pc> Cc: freebsd-questions@freebsd.org Subject: Re: Trying to patch a beautiful desktop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 13:41:03 -0000 At 10:22 08.03.2006, Giorgos Keramidas wrote: >On 2006-03-08 05:34, Kristian Vaaf wrote: > > > > Hello! > > > > I've done some research on how to make ones desktop look the best, > > without being too bloated in terms of looks and functionality but > still classify > > as good design and give users a smooth experience. > > > > I've found that if done correctly, Openbox together with Gnome can look > > pretty darn nice. I've found some nice themes for Openbox as well as GTK > > 1 and 2, however the Openbox code needs some patching. There already > > is a patch, but having the obsessive compulsive disorder, I want the patch > > file to also look good. > > > > After I edited it, it wouldn't work. No matter what > line/character coordinates > > I typed in for the @@ lines. I also assume it's unnecessary, at least it > > ought to be, including lines other than + and - unless they serve a > > purpose. > >You're going backwards. The proper way of generating a patch is not by >manually editing a file. Extract the original source tree, copy it to a >'clean' place, make your changes and use diff(1) to generate the patch. > >- Giorgos I know, but I need to do it this way. How may I learn more about the .diff format? Thanks.