Re: GWorkspace question

2014-10-31 Thread Alessandro Sangiuliano

A little demo of what I'm using every day, with tricks, on my laptop:

https://twitter.com/slex20/status/516337884568518656/photo/1

I not investigate if is possible to get a better result at the actual 
state of the art


Il 29/10/2014 18:55, Edwin Ancaer ha scritto:
With my scrolling problems solved, I want to start using as much 
GNUstep applications as possible. The first victim is GWorkspace. My 
question is how I specify in GWorkspace that I want to use the Gemas 
editor to open .txt, .m, .h, ... files. From the user guide by Dennis 
Leeuw, I got the impression I should have the choice from a list of 
suitable applications, but I see no list. What's more, I can't find a 
way to b wse around to the application I choose.pplications: The tools 
inspector only lets me select from an empty list. What am I not seeing 
here?


Kind regards,

Edwin Ancaer


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


GWorkspace question

2014-10-29 Thread Edwin Ancaer
With my scrolling problems solved, I want to start using as much GNUstep
applications as possible. The first victim is GWorkspace. My question is
how I specify in GWorkspace that I want to use the Gemas editor to open
.txt, .m, .h, ... files. From the user guide by Dennis Leeuw, I got the
impression I should have the choice from a list of suitable applications,
but I see no list. What's more, I can't find a way to b wse around to the
application I choose.pplications: The tools inspector only lets me select
from an empty list. What am I not seeing here?

Kind regards,

Edwin Ancaer
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: GWorkspace question

2014-10-29 Thread Germán Arias
Hi

On 2014-10-29 11:55:05 -0600 Edwin Ancaer eanc...@gmail.com wrote:

 With my scrolling problems solved, I want to start using as much GNUstep
 applications as possible. The first victim is GWorkspace. My question is
 how I specify in GWorkspace that I want to use the Gemas editor to open
 .txt, .m, .h, ... files. From the user guide by Dennis Leeuw, I got the
 impression I should have the choice from a list of suitable applications,
 but I see no list. What's more, I can't find a way to b wse around to the
 application I choose.pplications: The tools inspector only lets me select
 from an empty list. What am I not seeing here?
 
 Kind regards,
 

After install Gemas, or any other documents based app, you should run the tool 
make_services. Then restart GWorkspace, and you will see listed the new apps. 
However, notice you can specify Gemas to open txt files. Although Gemas can 
open any text file, txt is not listed in type files for Gemas. Should I add 
this?

Germán.


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: GWorkspace question

2014-10-29 Thread Edwin Ancaer
German,

thanks, it is working now.
So it is not I that choose an application, it is the application that
decides the file types it can open.
Is there a way to tell what extensions an editor is handling?

I suppose if nobody usus Gemas to edit txt files, it might not be the best
choice for it.
What is the editor I shlould use for txt-files?

Kind regards,

Edwin

2014-10-29 19:16 GMT+01:00 Germán Arias germanan...@gmx.es:

 Hi

 On 2014-10-29 11:55:05 -0600 Edwin Ancaer eanc...@gmail.com wrote:

  With my scrolling problems solved, I want to start using as much GNUstep
  applications as possible. The first victim is GWorkspace. My question is
  how I specify in GWorkspace that I want to use the Gemas editor to open
  .txt, .m, .h, ... files. From the user guide by Dennis Leeuw, I got the
  impression I should have the choice from a list of suitable applications,
  but I see no list. What's more, I can't find a way to b wse around to the
  application I choose.pplications: The tools inspector only lets me select
  from an empty list. What am I not seeing here?
 
  Kind regards,
 

 After install Gemas, or any other documents based app, you should run the
 tool make_services. Then restart GWorkspace, and you will see listed the
 new apps. However, notice you can specify Gemas to open txt files. Although
 Gemas can open any text file, txt is not listed in type files for Gemas.
 Should I add this?

 Germán.


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: GWorkspace question

2014-10-29 Thread Charles Philip Chan
On 29 Oct 2014, eanc...@gmail.com wrote:

Hi Edwin:

 So it is not I that choose an application, it is the application that
 decides the file types it can open.
 Is there a way to tell what extensions an editor is handling?

Yes, this info is in the Resources/Info-gnustep.plist of the app
wrapper. For example this the one that I made for Emacs:

{
  NSExecutable = Emacs;
  NSRole = Editor;
  NSIcon = Emacs.tiff;
XAppWrapper = YES;
  NSTypes = (
{
  NSUnixExtensions = ( h );
  NSIcon = FileIcon_.h.tiff;
},
{
  NSUnixExtensions = ( cpp );
  NSIcon = FileIcon_.cpp.tiff;
},
{
  NSUnixExtensions = ( php );
  NSIcon = FileIcon_.php.tiff;
},
{
  NSUnixExtensions = ( pl );
  NSIcon = FileIcon_.pl.tiff;
},
{
  NSUnixExtensions = ( py );
  NSIcon = FileIcon_.py.tiff;
},
{
  NSUnixExtensions = ( java );
  NSIcon = FileIcon_.java.tiff;
},
{
  NSUnixExtensions = ( sh );
  NSIcon = FileIcon_.sh.tiff;
},
{
  NSUnixExtensions = ( m );
  NSIcon = FileIcon_.m.tiff;
},
{
  NSUnixExtensions = ( c );
  NSIcon = FileIcon_.c.tiff;
},
{
  NSUnixExtensions = ( html, htm, xhtml );
  NSIcon = FileIcon_.html.tiff;
},
{
  NSUnixExtensions = ( org );
  NSIcon = FileIcon_.org.tiff;
},
{
  NSUnixExtensions = ( txt, text, el );
  NSIcon = FileIcon_.txt.tiff;
}
  );
}

Charles

-- 
I've run DOOM more in the last few days than I have the last few
months.  I just love debugging ;-)
(Linus Torvalds)


signature.asc
Description: PGP signature
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: GWorkspace question

2014-10-29 Thread Charles Philip Chan
On 29 Oct 2014, eanc...@gmail.com wrote:

Hi Edwin:

 When browsing through a directory, I saw GNUmakefile.  How can an
 application indicate it will open a file without an extension?

I don't think you can, but you can try:

,
| NSUnixExtensions = (  );
`

to see if it works.

However, you can set a default editor in the preferences of Gworkspace
app for this. Personally, I have set it to emacs.app.

Charles

-- 
Avoid the Gates of Hell.  Use Linux
(Unknown source)


signature.asc
Description: PGP signature
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: GWorkspace question

2014-10-29 Thread Germán Arias
On 2014-10-29 16:29:39 -0600 Charles Philip Chan cpc...@bell.net wrote:

 On 29 Oct 2014, eanc...@gmail.com wrote:
 
 Hi Edwin:
 
 When browsing through a directory, I saw GNUmakefile.  How can an
 application indicate it will open a file without an extension?
 
 I don't think you can, but you can try:
 
 ,
 | NSUnixExtensions = (  );

Should be:

NSUnixExtensions = ( * );

Germán

 `
 
 to see if it works.
 
 However, you can set a default editor in the preferences of Gworkspace
 app for this. Personally, I have set it to emacs.app.
 
 Charles
 


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


GWorkspace question

2007-01-28 Thread Yves de Champlain

Hi

How can I set GWorkspace to open images with gimp by default instead  
of ImageMagick ?


thanks

yves



___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: GWorkspace question

2007-01-28 Thread Charles philip Chan
On 28 Jan 2007, [EMAIL PROTECTED] wrote:

 How can I set GWorkspace to open images with gimp by default instead
 of ImageMagick ?

You need to:

(1) have a gimp app wrapper installed

(2) goto a file with the image file type

(3) show the Tools Inpector

(4) Click Set Default in the tools Inspector.

-- 
if(ct0)
ct=2;/* Shit happens.. */
linux-2.6.6/drivers/net/wan/z85230.c


pgpH6qHvJpyzy.pgp
Description: PGP signature
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep