Transparent Panels
Brian J. Tarricone
bjt23 at cornell.edu
Fri Dec 22 08:00:10 CET 2006
JoeHill wrote:
> On Tue, 19 Dec 2006 18:56:29 +0100
> Mike Massonnet got an infinite number of monkeys to type out:
>
>> So you will be able to set the opacity of the solid background.
>
> Okay, I really, really tried. I read 'man patch', and followed their examples.
> I used googe/linux altogether too much, for howtos, guides, nothing I read led
> me to being able to apply the patch. Every way I run the command, I just
> get...nothing, no output (despite adding -v), it just sits...eventually, I just
> ctrl-c. I can see from the patchfile the file it wants to patch, and so of
> course I tried patch <patchfile> <targetfile>, same thing.
>
> I'm sorry, but how the heck do I apply this patch? :-)
Well, you could try this google search:
http://www.google.com/search?q=how+to+use+patch
The first link returned tells you what command to use. Note that you're
missing one crucial shell metacharacter: '<'. 'patch' does not read
files on its own; it can only read files from stdin.
Actually, the manpage also points out the correct command line. Note
the '-p' option; depending on how the patch was generated, you may need
to mess with it.
(The reason it's sitting there waiting is because it's expecting input
on stdin. The '<' character tells the shell to feed the contents of the
following filename to the process' stdin. You can also do
'cat file | patch -p1' to achieve the same effect.)
On a side note, I strongly recommend that anyone using 'patch' first run
it with the '--dry-run' parameter to make sure it applies correctly.
Removing a half-applied patch can be a pain if it doesn't. If it works
OK, just run the command again, but without '--dry-run'.
-brian
More information about the Xfce
mailing list