Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Alternate icons
Alternate icons
 
   NeoOffice Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
lga
Sentinel


Joined: Sep 09, 2004
Posts: 25
Location: Paris, France

PostPosted: Thu Sep 16, 2004 2:22 am    Post subject:

Quote:
To avoid install OOo/X11 (I suppose is not a 5 min work) why not post yours soffice.cfg as .tar.gz file like ooo_theme_mini.tar.gz?


Because I don't have time right now and that way I would impose my preferred set of icons on you (which will evolve anyway). What I'll try to tackle if I have time is to modify the KDE script in order to install directly in NeoOfficeJ. Shouldn't be hard. However, it won't be before next week so if anybody has time to do it right now, go ahead.

That way, we may be able to experiment easily with different sets of icons while waiting for a better (read integrated) solution.

You should also note that if you do this replacement, you lose the ability to assign different icons to buttons via Customize. We'll need a way to do that either by correcting that bug or creating more assignments through this system.

Lga.
Back to top
GibHenry
Councilperson


Joined: Jun 20, 2003
Posts: 104
Location: Birmingham, Alabama; and Amelia (Terni), Italy

PostPosted: Thu Sep 16, 2004 11:25 am    Post subject:

lga wrote:
What I did is install in OOo/X11 and then copy the soffice.cfg dir to NeoOfficeJ.


Okay, so what does 'soffice.cfg' look like inside? Is it the same as the contents of ooo_theme_mini.tar.gz ? Cheers,

_________________
Gib Henry
Back to top
GibHenry
Councilperson


Joined: Jun 20, 2003
Posts: 104
Location: Birmingham, Alabama; and Amelia (Terni), Italy

PostPosted: Thu Sep 16, 2004 11:26 am    Post subject: Re: Copy the soffice.cfg dir to NeoOfficeJ

lga wrote:
What I did is install in OOo/X11 and then copy the soffice.cfg dir to NeoOfficeJ.


Okay, so what does 'soffice.cfg' look like inside? Is it the same as the contents of ooo_theme_mini.tar.gz ? Cheers,

_________________
Gib Henry
Back to top
Max_Barel
Oracle


Joined: May 31, 2003
Posts: 219
Location: French Alps

PostPosted: Thu Sep 16, 2004 12:12 pm    Post subject: Modified script for kids to play

It was easy to modify the script to generate icon set for NeoJ-alpha.
I only changed the destination directory, the background color, and a ls option (not bsd).

So if you want to play and test icons sets available:
- go to the site pointed early in the original thread : http://www.kde-look.org/content/show.php?content=7131
- download the archive with the script and icon sets.
- unzip the archive
- download the modified two scripts from here: http://coderie.ac-mb.info/trucs/icon_scripts.zip
- unzip and replace original script
- edit the config.tcl file to select the icon set you wish to use.
- run the "tclsh genbar.tcl" command from a terminal in the same directory.

Message in the terminal show the name of backed-up config dir to revert to original setting.

The script default to use 22x22 icons, std are 16x16.
BTW, the GTK icon set previously mentioned looked fuzzy because they are 22x22px icons displayed at 16x16.

Anyway, upcoming native menus do NOT display icons.
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Thu Sep 16, 2004 3:39 pm    Post subject: Re: Modified script for kids to play

Max_Barel wrote:
It was easy to modify the script to generate icon set for NeoJ-alpha. I only changed the destination directory, the background color, and a ls option (not bsd).


Thanks! Sorry for not digging into this myself. I have some real-world community responsibilities that eat much of my spare time, so I have trouble getting into the technicals.

Max_Barel wrote:
Message in the terminal show the name of backed-up config dir to revert to original setting.


I also get the following result:
hemeDir: Aqua/22x22/
icon-size = (22,22)
num icons: 171
OpenOffice config directory:
$HOME/Library/NeoOfficeJ-1.1/user/config/soffice.cfg/
Backing up config dir (soffice.cfg) to:
$HOME/Library/NeoOfficeJ-1.1/user/config/soffice.cfg.bak0/
couldn't execute "convert": no such file or directory
while executing
"exec convert -size $len$x$cy xc:$bg $out1"
(file "genbar.tcl" line 555)

Any thoughts?
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Thu Sep 16, 2004 8:36 pm    Post subject: Re: Copy the soffice.cfg dir to NeoOfficeJ

GibHenry wrote:
lga wrote:
What I did is install in OOo/X11 and then copy the soffice.cfg dir to NeoOfficeJ.


Okay, so what does 'soffice.cfg' look like inside? Is it the same as the contents of ooo_theme_mini.tar.gz ? Cheers,


No, ooo_theme....'s contents are things that go inside that directory, some of which (imagelist.xml) replace existing things, while most of the items "replace" things that are wrapped up in the compiled OOo/NeoJ and don't actually appear in the directory.

Basically, a bunch of custom user toolbar and menu config files get installed there.... And custom icon sets.

Smokey
Back to top
Max_Barel
Oracle


Joined: May 31, 2003
Posts: 219
Location: French Alps

PostPosted: Fri Sep 17, 2004 2:44 am    Post subject: Re: Modified script for kids to play

ovvldc wrote:
couldn't execute "convert": no such file or directory
while executing
"exec convert -size $len$x$cy xc:$bg $out1"
(file "genbar.tcl" line 555)

Any thoughts?

Yes. As the README (!) says:
Code:
Requirements:
 -------------
 1. convert, composite (imagemagick.org)
 2. TCL (8.x)

You should install this package to be able to use this icon script.

Max
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Fri Sep 17, 2004 4:51 am    Post subject: Re: Modified script for kids to play

Max_Barel wrote:

Yes. As the README (!) says:
Code:
Requirements:
 -------------
 1. convert, composite (imagemagick.org)
 2. TCL (8.x)

You should install this package to be able to use this icon script.


<feeling as blonde as he looks>Duh!

Thanks, Max
Back to top
Eric
Guest





PostPosted: Sun Oct 24, 2004 2:29 pm    Post subject:

It doesn't work for me Sad

each time I run the command, I get this message :
Quote:
eric% tclsh /Users/eric/Desktop/OOo_toolbar/genbar.tcl
couldn't read file "config.tcl": no such file or directory
while executing
"source config.tcl"
(file "/Users/eric/Desktop/OOo_toolbar/genbar.tcl" line 33)
Back to top
Guest






PostPosted: Mon Oct 25, 2004 7:15 am    Post subject:

Eric:

You need to change to the directory then run the script.

Giving a file path isn't equivalent, since the script itself makes relative_to_current_directory file references, that is, won't work otherwise.

Glenn
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Mon Oct 25, 2004 1:49 pm    Post subject: Re: Modified script for kids to play

ovvldc wrote:
I also get the following result:
hemeDir: Aqua/22x22/
icon-size = (22,22)
num icons: 171


And now everything works and the script finishes and I start NeoOffice/J and all of the icons are black Sad. Please tell me where I fumbled this one (again).

Best wishes,
Oscar
Back to top
M-Rick
Guest





PostPosted: Mon Oct 25, 2004 4:39 pm    Post subject:

I have created a set almost complete, some icons are missing, with the Ximian stock icons collection.

I will try to make more Mac OS with a melt of different OpenSource icons from Ximian stock icons, Gnome Crystal, and Nuvola and a few others ...


http://niwaconcept.free.fr/soffice.cfg.zip
Back to top
M-Rick
Guest





PostPosted: Mon Oct 25, 2004 4:59 pm    Post subject:

In this archive there are all the Ximian stock icons for OOo 1.1 ready to integrate as this in the source code instead of the already existing icons.

http://niwaconcept.free.fr/ooo-icons-OOO_1_1-9.tar.gz
Back to top
M-Rick
Guest





PostPosted: Mon Oct 25, 2004 5:19 pm    Post subject: Re: Modified script for kids to play

ovvldc wrote:
ovvldc wrote:
I also get the following result:
hemeDir: Aqua/22x22/
icon-size = (22,22)
num icons: 171


And now everything works and the script finishes and I start NeoOffice/J and all of the icons are black Sad. Please tell me where I fumbled this one (again).

Best wishes,
Oscar


Try with this version of ImageMagick, that should work after.
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Tue Oct 26, 2004 3:16 am    Post subject: Re: Modified script for kids to play

M-Rick wrote:
Try with this version of ImageMagick, that should work after.


Thanks! Now why did I go through the trouble of getting and installing 6.1.0?

Ciao,
Oscar
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Testing All times are GMT - 7 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.