A PPA for the Unity2D fallback patch

Shahar Or mightyiampresence at gmail.com
Sat Mar 31 21:15:14 UTC 2012


On Mar 31, 2012 10:54 PM, "Haggai Eran" <haggai.eran at gmail.com> wrote:
>
> I see. The existance of the file /tmp/unity_support_test.0 is causing the
test to pass. I think it should have been deleted when you rebooted, but
apparently it didn't... I'll try to think of a workaround that works even
when this file exists.

K I see the problem. This file is global. Because this test is global. Our
test is per user.

This has to be an additional mechanism that doesn't get overridden by the
existence of this file.
>
> Haggai
>
> On 31 March 2012 22:44, Shahar Or <mightyiampresence at gmail.com> wrote:
>>
>>
>>
>> On 31 March 2012 22:23, Haggai Eran <haggai.eran at gmail.com> wrote:
>>>
>>> Okay,
>>>
>>> Would you mind running these two commands and writing the results?
>>>>
>>>> /usr/lib/nux/unity_support_test ; echo $?
>>>> ls /tmp/unity_support_test*
>>
>> Script started on Sat 31 Mar 2012 10:41:27 PM IDT
>> test at shahar-desktop:~$ /usr/lib/nux/unity_support_test ; echo $?
>> 0
>> test at shahar-desktop:~$ ls /tmp/unity_support_test*
>> /tmp/unity_support_test.0  /tmp/unity_support_test.1
>> test at shahar-desktop:~$ exit
>>
>> Script done on Sat 31 Mar 2012 10:42:20 PM IDT
>>>
>>>
>>> Thanks,
>>> Haggai
>>>
>>> On 31 March 2012 22:02, Shahar Or <mightyiampresence at gmail.com> wrote:
>>>>
>>>> On 31 March 2012 19:18, Haggai Eran <haggai.eran at gmail.com> wrote:
>>>>>
>>>>> It is independent. Please try running
>>>>>>
>>>>>> /usr/lib/nux/unity_support_test -p
>>>>>
>>>>> and tell me what the results are.
>>>>
>>>>
>>>> The results are that while the user is logged in a Unity session and
the desktop is Hebrew, the tests all show yes excluding the locale test
which shows no and thus the final line is the Unity is no. But Unity still
runs. Not Unity 2D.
>>>>
>>>>>
>>>>>
>>>>> Haggai
>>>>>
>>>>> On 31 March 2012 19:12, Shahar Or <mightyiampresence at gmail.com> wrote:
>>>>>>
>>>>>>
>>>>>> On Mar 31, 2012 6:39 PM, "Haggai Eran" <haggai.eran at gmail.com> wrote:
>>>>>> >
>>>>>> > Yes, but I think /tmp files are cleaned every reboot.
>>>>>> I did reboot. Not working. What could be different? Does our test
depend on other tests or is it independent?
>>>>>>
>>>>>> >
>>>>>> > Haggai
>>>>>> >
>>>>>> > בתאריך 2012 3 31 18:09, מאת "Shahar Or" <
mightyiampresence at gmail.com>:
>>>>>> >
>>>>>> >> Wouldn't that be the case with any existing installation? That
the file exists?
>>>>>> >>
>>>>>> >> On Mar 31, 2012 5:53 PM, "Haggai Eran" <haggai.eran at gmail.com>
wrote:
>>>>>> >>>
>>>>>> >>> Hi Shahar,
>>>>>> >>>
>>>>>> >>> I tested the PPA package on my netbook. One thing I know that
might prevent it from working is the cache that the test keeps in /tmp. If
it found your system to be capable of running Unity (3D) it keeps a file in
/tmp named /tmp/unity_support_test.0. If you ran the script before
installing the package, then this file might cause the test to pass.
>>>>>> >>>
>>>>>> >>> Haggai
>>>>>> >>>
>>>>>> --
>>>>>> Ubuntu-RTL mailing list
>>>>>> Ubuntu-RTL at lists.ubuntu.com
>>>>>> Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-rtl
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Ubuntu-RTL mailing list
>>>>> Ubuntu-RTL at lists.ubuntu.com
>>>>> Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-rtl
>>>>>
>>>>
>>>>
>>>> --
>>>> Ubuntu-RTL mailing list
>>>> Ubuntu-RTL at lists.ubuntu.com
>>>> Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-rtl
>>>>
>>>
>>>
>>> --
>>> Ubuntu-RTL mailing list
>>> Ubuntu-RTL at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-rtl
>>>
>>
>>
>> --
>> Ubuntu-RTL mailing list
>> Ubuntu-RTL at lists.ubuntu.com
>> Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-rtl
>>
>
>
> --
> Ubuntu-RTL mailing list
> Ubuntu-RTL at lists.ubuntu.com
> Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-rtl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-rtl/attachments/20120401/b7bb103f/attachment.html>


More information about the Ubuntu-RTL mailing list