Hi Emile,

A few Linux notes below.

On Dec 21, 2006, at 3:21 AM, Emile SCHWARZ wrote:

1. Control Text Size (and drawing baselines)
Very simple, BevelButton Captions fit the standard size (BevelButton boundaries) with the standard font and standard size (System and 0).

If you'd like to see these look right, start X11 on your Mac, in the Xterm provided, ssh to your Linux box and then in that session set an environment variable:

        export DISPLAY=your_mac_IP_address:0
i.e.:
        export DISPLAY=192.168.1.32:0

Start REALbasic in the ssh session and the Linux IDE will appear on the Mac's display.

Now, all of your controls look correct. The difference (I believe) is that most Linux systems default to the 100DPI fonts on the X11 display and the RB platform does not take that into account for baseline settings.

2. The Language Reference
-------------------------
No change at all. It may not be REAL's fault, but it is totally unusable, a REAL shame. I have to place the Pentium IV machine beside the PowerBook and check the LR there...

Yes - that is very ugly. And, I've actually had the LR crash the IDE when it is trying to start. However, there are dependencies on the Mozilla version you've got installed on your Linux box. Have you updated Mozilla to the latest version?


3. Where are the REALbasic Icons ?
----------------------------------

No green cubist icon on the projects files, no icons either in my application (built on Linux, but who comes from the PowerBook where I have a nicce set of icons). Maybe I do not notice some warning somewhere...

The icons are not associated with the applications under X11 the way that they are in Mac OS X. You actually need to place Icons into / usr/share/pixmaps and then create an appropriate app-default entry that assigns the icon to the app. Of course, this does lead to one question for the REAL guys - do Linux apps adhere to the app-default configuration settings?

5. The Touch Pad
----------------

I have a problem with the touch pad 'click' function (default feature under Windows and Linux). I resolved the trouble under Windows by using the ad hoc driver, but I do not found one for Linux. So in the use of REALbasic, I probably do some nasty things and get weird results. Part of that is my fault (in some way).

That is a Linux issue rather than a REALbasic issue. I have an Acer laptop and the touchpad works as it should. I suspect that there's something about your particular touchpad that your Linux distribution doesn't like. Have you tried a different Linux distro such as Fedora Core 5 or 6, Ubuntu, or PCLinux?

6. The MemoryStick case
-----------------------

You still cannot run a project opened from a MemoryStick (mine in all cases ... it is a 512 MB MS-DOS FAT32 formatted). Add a warning at project Open time for example if you cannot (do not have the time now to do it) squash that problem. That warning would say: "you can modify and save the project, but you will not be able to run it until you copy it in the main hard disk" or something that have this meanings...

This is also a Linux issue. By default, MSDOS formatted filesystems are mounted with the noexec flag set (meaning you can't execute programs from the filesystem). This is done to protect your system by preventing somone from walking up with a flash drive, inserting it into the socket and then running a harmful application from the flash drive. If you want this to be different, reformat the flash drive as ext2, edit the fstab and remove the noexec flag, or manually remount the flash drive with the noexec bit turned off.

7. Did I told you lately about the speed ?
------------------------------------------

No ? Oh, you're lucky... more than 30 seconds to get the project running in the IDE ! And this is not a very complex project nor a large footprint on disk (less than 500KB!)

I've solved this by "renice"-ing the RB IDE. After you start the RB IDE, open a second xterm and determine the IDE's process ID using 'ps -ax | grep REAL' like this:

        [EMAIL PROTECTED] ~]$ ps ax | grep REAL
        5210 pts/3    S+     0:14 ./REALbasic2007
        5245 pts/4    S+     0:00 grep REAL

Once you have the process ID (5210 in this example), use the renice command and set the priority to 19:

        [EMAIL PROTECTED] ~]$ renice 19 5210
        5210: old priority 0, new priority 19

That resets the RB IDE's priority to 19 and the threads then interact as they should. Project compile and start times become much more acceptable.

Granted, REAL should do something about this themselves, but you can get around it.

I'll leave the other REALbasic-specific issue for the REAL team, but hopefully I've provided some tips on using RB under Linux that will help you.

Happy Holidays!

Tim
--
Tim Jones
[EMAIL PROTECTED]

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to