AROS World Exec
Distros => Icaros Desktop => Topic started by: jacko on June 30, 2019, 11:52:45 AM
-
Hi,
how do I setup that a specific file type is open with a special program in Icaros? e.g. Libre Office calc files opens per double click the libre office calc viewer? I do not understand how it suppose to work.
-
you should set dopus in the internal options, I wouldn't know how to do Paolone maybe yes :)
-
Hi,
how do I setup that a specific file type is open with a special program in Icaros? e.g. Libre Office calc files opens per double click the libre office calc viewer? I do not understand how it suppose to work.
If the file has its own icon, right click on it, select icon>information and then set the program to launch it in 'Tool'. If you have to use view>all files to see it and so get a default icon for that file type, do the same action on the def_ icon in sys:prefs/anv-archive/sys. Note that you will need to copy this across to ram:env/sys or reboot to make the change take effect.
Cheers,
Nigel.
-
but which "def_" icon is it? I tried to create a "def_ODS" because there is a "def_PDF" just the end of file after dot. but no luck.
-
but which "def_" icon is it? I tried to create a "def_ODS" because there is a "def_PDF" just the end of file after dot. but no luck.
Unluckily, you can 'create' def files when compiling AROS only. AROS adopts MIME types to identify files and the .extension at the end of the file name isn't really necessary. Magellan, on the contrary, provides a far easier way to identify files: you can chosse either to use part of the filename (generally: its extension) or/and MIME types à-la-AmigaOS.
If you're using Magellan, you can read Magellan's manual which explain how to modify and create filetypes. Believe in me, it's quite straightforward once you start doing that correctly. Icaros Desktop manual, bay the way, explains how to assign a default host app (like LibreOffice) to a file, in hostbridge chapter.
-
thanks for the reply and the explanation.
maybe a stupid question, I found the Icaros manual on the web, which I used the whole time, but I do not find the magellan manual is it on DVD?
host-app? I thought thats only for linux hosted? I use native installation.
-
@Jacko
1. Magellan manual is included in sys:Storage/Icaros Manuals or sthg similar.
2. Sorry, I thought you were talking about hosted Icaros (I read LibreOffice and assumed that). That does not change so much the info you need, though.
-
paolone,
I will have to read the Magellan Manual sometime. I'm sure there are many features I haven't used yet.
Question about Magellan and other AROS components. How do you recompile Magellan for Icaros after making your changes? Have you done that?
-
Hi Miker
I never recompile Magellan. I build the distribution starting with binary files, not sources.
-
Thanks for the help and pointers
I got it some how, but its by no means straight forward. Therefore a little help, if someone wants to try it.
See picture:
you find the file type settings it in "Settings" Menu Sub menu "FileTypes" (Window left side middle "File Types") press "Add" to add a new FileType
The window under it opens press "Edit Class..."
The window lower right side opens to edit the file properties
(sometimes this window opens automatically)
Put in the name "LibreOffice calc" ID ODS (I'm not sure for what this is) and very important Pri to 5 (or something higher than the prio of Icaros, archive, which is the default)
Press the "Add" in this window to add a file property choose "Match Name" and enter "*.ods" into the field next to it, do not forget to press enter
Press "use" to apply that
now the name is already shown next to the file if you reload the directory
go back to the window on the left lower, press "Double-click" to edit the action of double click
the window in the middle lower section opens to edit actions
press Add to add an action
Choose "AmigaDOS" (where is "Command" as default) and put the program to the field next to it, and a "{f}" behind it as parameter, this is important! It is used as a placeholder for your file when starting the program, if you forget it, it will start the program but not load the file (do not forget to press enter in the field to apply it, its applied when its shown the upper list, as in the picture)
Again press "Use" to apply that
Press use in the lower left window and save in the main file types window.
Now if you double click your Calc file (upper left window the files, as you can see I added the Excel file as well, the third file I' not sure which program that belongs to, never saw before)
it shows the contents in the viewer. (upper right window, Leu open by double click)
hurray!
-
@Jacko
Astonishing. Are you making a spreadsheet program?
-
??
I just downloaded that recently, but had not much time to really try.
But now with double click feature I could actually use that for my files.
-
@Jacko
Astonishing. Are you making a spreadsheet program?
That is Leu (https://blog.alb42.de/programs/leu/), a recent project by ALB42 written in FreePascal and available for all Amiga systems.
-
is a great project alb42 is capable developpers there is also x86_64 version :)
-
I din't even know about this! :-(
That's great!!! :-)
Downloading...
-
look I still do not believe it and is still at version 0.6 :)
-
ah, yes thanks, I forget where I downloaded it, but now I remember it was at albs blog.
-
yes again is more fuctional :)