adapt-it / adaptit

Related language translation editor
Other
10 stars 5 forks source link

Balsa-XO/Adapt It: How to activate 'adaptit -xo'? #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the announcment of AI 4.1.4 it is written:
'Adapt It now can process an -xo command-line option. The -xo
command-line option was specifically designed to make Adapt It's
interface work better on an OLPC XO machine running the BALSA
distribution of Ubuntu Linux (Intrepid). The -xo option causes
Adapt It to use a toolbar with larger (but fewer) buttons; a mode
bar that spans two lines instead of a single line under the
toolbar; and a few dialogs adjusted for better layout. The -xo
option is not restricted to use on the OLPC XO; it can be added
to the command-line on most systems by right-clicking on a menu
item, shortcut, or launcher icon that is normally used to start
Adapt It, and choosing "Properties" from the popup menu. Find
the Command or Target field that invokes Adapt It, and add a
space followed by the -xo option to the launching command. To
reverse the effect of the -xo option, simply remove it from the
menu item, shortcut, or launcher properties.

What steps will reproduce the problem?
1. Trying to start 'adaptit -xo' from the menu or the desktop in Balsa-XO
gives the following problems:
The Menu starter for AI is found in Office/Adapt It.
As right click on it does not work (this is a limitation of Xubuntu I
suppose) I did not find any way to modify this shortcut in Xubuntu .

The only way I could start AI is by the terminal adaptit -xo, which is not
very intuitiv for users.

I suppose that in the next basla-xo release a shortcut for AI should be
built into the system as 'adaptit -xo' instead of 'adaptit'.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
AI 4.1.4 in Balsa-XO

Please provide any additional information below.

Original issue reported on code.google.com by wolfgang...@gmx.de on 4 May 2009 at 8:04

GoogleCodeExporter commented 9 years ago
Under Balsa on the XO machine, the intended way to start applications is for 
the user
to double click on the appropriate *desktop icon*, rather than by using the 
Xfce Menu
bar at the bottom (which may not be available for the "Balsa" user depending on 
how
Kim eventually configures Balsa). To adjust the way Adapt It is launched, you 
can
right-click on the Adapt It icon on the desktop, and choose "Edit Launcher". 
This
will bring up the Launcher's settings dialog. In the field called "Command:" is 
where
the command line that starts Adapt It is located. In the first release of Balsa 
the
wrong command line was entered here as explained on the Balsa website. It 
should have
been /usr/bin/adaptit and you can add the -xo option here in this same 
"Command:"
field. Just enter /usr/bin/adaptit -xo and then click on the "Save" button. You
should then be able to use the desktop icon to start Adapt It and it will use 
the -xo
option adjustments.

Original comment by adaptitbill@gmail.com on 5 May 2009 at 2:05

GoogleCodeExporter commented 9 years ago
Thanks, this works.
Forwarded this to Kim to include this in the Balsa website.

Original comment by wolfgang...@gmx.de on 6 May 2009 at 1:20

GoogleCodeExporter commented 9 years ago
Hi Bill,

As you know some of the basics of Xubuntu:
Is there also a way to modify the AdaptIt starter (shortcut) from the menu (not 
the
menu at the bottom, but when clicking on Applications).
I like to work with shortcuts. So I use Crtl+Esc to open the list of menu items 
(same
as clicking Applications) and then choose the submenu Office and the Adapt It 
from there.

Original comment by wolfgang...@gmx.de on 7 May 2009 at 8:01

GoogleCodeExporter commented 9 years ago
Currently for Balsa (this may be subject to change) which uses the xfce 
interface,
there are two places for a given user where application menu and launcher 
settings
are kept. 

For Adapt It, the launcher settings are stored in a file called adaptit.desktop 
which
is at (for OLPC log-in Admin user):

/home/olpc/Desktop/adaptit.desktop

or, if you log-in as Balsa user:

/home/balsa/Desktop/adaptit.desktop

When you select "Edit Launcher" it is one or the other of the above 
adaptit.desktop
files that is changed (depending on whether you are logged in as Olpc user or 
Balsa
user).

Only a few of the menu items that show up when you click on the "Xfce Menu" 
button at
the lower left of the Balsa screen, are controlled by the settings for 
individual
applications that come with Balsa.

Most of the general menu items are controlled by <application>.desktop files 
located
in the following directory:

/usr/share/applications/

where you will find the Adapt It file that the debian packager installs, which 
is at:

/usr/share/applications/adaptit.desktop

If you edit this adaptit.desktop file you can add the -xo option to the line 
that
currently looks like this:

Exec=adaptit

and change that line to read like this:

Exec=adaptit -xo

Once you make this change, the Adapt It menu item located in the Office folder 
will
use the -xo adjustments when you select Adapt It from the general menu.

Original comment by adaptitbill@gmail.com on 7 May 2009 at 6:46

GoogleCodeExporter commented 9 years ago
Hi Bill,
Thanks for the explanations.

Tried to change the Adapt It file in /usr/share/applications/
Opened it with a text editor, added the -xo parameter, but when trying to save 
it,
the message came: not the necessary permissions to do this.
Tried this both as balsa and olpc user.

Looking at Properties/permissions of this file, it says:
Owner: root (root) Access: Read @ Write,
Group: root, Access: Read only, Others: Read only

So I activated the terminal, typed: sudo thunar (file manager as root), and now 
I
could save the changes.

Now it works.
Thanks

Original comment by wolfgang...@gmx.de on 8 May 2009 at 6:12