Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-05 Thread shadowh511
On Thu, Mar 5, 2009 at 2:12 PM, Kenneth Wimer  wrote:

> On Wednesday 04 March 2009 18:53:08 Ryan Prior wrote:
> > See this bug [1] and blueprint [2]. The people involved with those might
> be
> > interested in our solution (a visual warning, while allowing nautilus to
> > run as root) or might convince us that we're wasting time because
> nautilus
> > should never be run as root anyway. I'd be interested to see.
> >
> > Ryan
> >
> > [1] https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/12154
> > [2] https://launchpad.net/ubuntu/+spec/privileged-nautilus
>
> I don't think there is any interest in looking into something that has been
> avoided by choice.
>
> --
> Ken
>
> --
> ubuntu-art mailing list
> ubuntu-art@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-art
>
+1, compiz doesn't like weird window themes anyway


-- 
Ubuntu FTW!
-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-05 Thread Kenneth Wimer
On Wednesday 04 March 2009 18:53:08 Ryan Prior wrote:
> See this bug [1] and blueprint [2]. The people involved with those might be
> interested in our solution (a visual warning, while allowing nautilus to
> run as root) or might convince us that we're wasting time because nautilus
> should never be run as root anyway. I'd be interested to see.
>
> Ryan
>
> [1] https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/12154
> [2] https://launchpad.net/ubuntu/+spec/privileged-nautilus

I don't think there is any interest in looking into something that has been 
avoided by choice.

--
Ken

-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-05 Thread Steve Dodier

Hello,

I just wanted to say that i don't think we're having the good approach, at the 
moment. It is true that running nautilus as root is clearly not such a great 
idea, and that the mecanisms used by Thunar are pretty useful.

But i don't think modding the whole theme would be a good workaround, for two 
reasons :

- The "sudo'd" window, with its own theme, may render really badly in the midst 
of other windows, and some users (like me) just install their themes in 
/usr/share/themes so that their gksudo'd windows integrate correctly with the 
other ones. This feature won't make them happy at all.

- This would be a very ubuntu-specific workaround for an actually real Gnome 
problem. Only the themes designed by Ubuntu and the community would take this 
into account, with a lot of extra work from the theme designers, just for this 
feature. It would probably have a pretty low impact.

What i think to be the most accurate solution is to contact the Gnome 
developers, and to kindly ask them to do the same thing (and possibly to 
include the possibility to customize the warning thing, for theme designers). 
This would be better because it would work with any theme, wouldn't disturb the 
users as much as modifying the whole theme, and would also benefit other Gnome 
users.

SD.


_
Découvrez toutes les possibilités de communication avec vos proches
http://www.microsoft.com/windows/windowslive/default.aspx-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-04 Thread Who
On Wed, Mar 4, 2009 at 5:51 PM, Cory K.  wrote:
> Who wrote:
>> On Wed, Mar 4, 2009 at 5:25 PM, Cory K.  wrote:
>>
>>> So we would need a plan "B".
>>>
>>>
>>
>> By default .icons and .themes for the root directory symlink to
>> /usr/share/themes/caution/ and /usr/share/icons/caution/ ?
>>
>> Anyone that _actually_ wants to change the theme for their root user
>> will deal fine with this and fix it as required, I would say.
>>
>> Worse option, use the fact that a theme is loaded first from  the
>> .themes directory and then from /usr/share/themes.
>>
>
> The root user uses themes from /usr/share/*. No .icons or .theme folders
> are there. So, doesn't seem like this would work.
>

The above was a suggestion - ie we modify (in the initial distro..)
the /root folder to contain .icons and .themes that link elsewhere...
I was suggesting creating these new /usr/share/(themes|icons)/root/
folders for this purpose.

>> Any of them viable?
>>
>
> Strike 2. :P
>

Yea, it looks like we might just have to put it in the 'nice idea for
another day' bin... :(

-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-04 Thread Ryan Prior
See this bug [1] and blueprint [2]. The people involved with those might be
interested in our solution (a visual warning, while allowing nautilus to run
as root) or might convince us that we're wasting time because nautilus
should never be run as root anyway. I'd be interested to see.

Ryan

[1] https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/12154
[2] https://launchpad.net/ubuntu/+spec/privileged-nautilus
-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-04 Thread Cory K.
Who wrote:
> On Wed, Mar 4, 2009 at 5:25 PM, Cory K.  wrote:
>   
>> So we would need a plan "B".
>>
>> 
>
> By default .icons and .themes for the root directory symlink to
> /usr/share/themes/caution/ and /usr/share/icons/caution/ ?
>
> Anyone that _actually_ wants to change the theme for their root user
> will deal fine with this and fix it as required, I would say.
>
> Worse option, use the fact that a theme is loaded first from  the
> .themes directory and then from /usr/share/themes.
>   

The root user uses themes from /usr/share/*. No .icons or .theme folders
are there. So, doesn't seem like this would work.

> Any of them viable?
>   

Strike 2. :P


-Cory K.

-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-04 Thread Who
On Wed, Mar 4, 2009 at 5:25 PM, Cory K.  wrote:
> Who wrote:
>> On Wed, Mar 4, 2009 at 4:31 PM, Ryan Prior  wrote:
>>
>>> On Wed, Mar 4, 2009 at 10:19 AM, Who  wrote:
>>>
 Here is a screenshot to demonstrate what I'm talking about... Nothing
 says 'beware' like red folder icons, right?
 In that screenshot you can also see the way red bar in Thunar.

 What do people think - worth pursuing?

>>> I definitely think that it is. Have you written a blueprint for this?
>>> Otherwise, that is where we should start. Once the blueprint is done, we can
>>> milestone it for Karmic, solicit opinions (especially from people on Planet
>>> Ubuntu who can share thoughts with their readership) and get 'er done.
>>>
>>
>> Here is a blueprint
>> https://blueprints.launchpad.net/ubuntu-drupal/+spec/warning-themes-under-sudo
>>
>> Does anyone have ideas on who to assign it to, etc?
>>
>
> Ok. I poked around and /root is treated pretty much like a users dir.
> "Untouchable". So we would need a plan "B".
>
>

By default .icons and .themes for the root directory symlink to
/usr/share/themes/caution/ and /usr/share/icons/caution/ ?

Anyone that _actually_ wants to change the theme for their root user
will deal fine with this and fix it as required, I would say.

Worse option, use the fact that a theme is loaded first from  the
.themes directory and then from /usr/share/themes.

Any of them viable?

-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-04 Thread Cory K.
Who wrote:
> On Wed, Mar 4, 2009 at 4:31 PM, Ryan Prior  wrote:
>   
>> On Wed, Mar 4, 2009 at 10:19 AM, Who  wrote:
>> 
>>> Here is a screenshot to demonstrate what I'm talking about... Nothing
>>> says 'beware' like red folder icons, right?
>>> In that screenshot you can also see the way red bar in Thunar.
>>>
>>> What do people think - worth pursuing?
>>>   
>> I definitely think that it is. Have you written a blueprint for this?
>> Otherwise, that is where we should start. Once the blueprint is done, we can
>> milestone it for Karmic, solicit opinions (especially from people on Planet
>> Ubuntu who can share thoughts with their readership) and get 'er done.
>> 
>
> Here is a blueprint
> https://blueprints.launchpad.net/ubuntu-drupal/+spec/warning-themes-under-sudo
>
> Does anyone have ideas on who to assign it to, etc?
>   

Ok. I poked around and /root is treated pretty much like a users dir.
"Untouchable". So we would need a plan "B".


-Cory K.


-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-04 Thread Who
On Wed, Mar 4, 2009 at 4:31 PM, Ryan Prior  wrote:
> On Wed, Mar 4, 2009 at 10:19 AM, Who  wrote:
>>
>> Here is a screenshot to demonstrate what I'm talking about... Nothing
>> says 'beware' like red folder icons, right?
>> In that screenshot you can also see the way red bar in Thunar.
>>
>> What do people think - worth pursuing?
>
> I definitely think that it is. Have you written a blueprint for this?
> Otherwise, that is where we should start. Once the blueprint is done, we can
> milestone it for Karmic, solicit opinions (especially from people on Planet
> Ubuntu who can share thoughts with their readership) and get 'er done.
>

Here is a blueprint
https://blueprints.launchpad.net/ubuntu-drupal/+spec/warning-themes-under-sudo

Does anyone have ideas on who to assign it to, etc?

-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-04 Thread Cory K.
Who wrote:
> Hi all,
>
> in XFCE, Thunar and Mousepad do a nice trick of having a red box when
> you're running the app as superuser to warn you that bad things could
> happen.
>
> I really like this, I think it makes it really clear that you need to
> watch out. I tried some ways to replicate it on Ubuntu/GNOME. I came
> up with a solution that gives a really clear clue to the user that
> doesn't require any apps to be modified (see the screenshot). It is
> this:
>
> Create or choose a read icon and gtk theme, place those in the .icons
> and .themes directory in /root, and then make that theme have the same
> name as the icon and gtk themes being used by the user - obviously
> when a user changes their theme this will be lost, but many people
> don't change their theme (arguable those who do don't need such cues)
> and there might be a way to adapt it to make it more flexible...
>
> Here is a screenshot to demonstrate what I'm talking about... Nothing
> says 'beware' like red folder icons, right?
> In that screenshot you can also see the way red bar in Thunar.
>
> What do people think - worth pursuing?

I'll poke around and ask the -desktop team about this. I'm unsure if
there's a policy on installing stuff to /root.


-Cory K.

-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


Re: [ubuntu-art] Make being root more obvious (scary)

2009-03-04 Thread Ryan Prior
On Wed, Mar 4, 2009 at 10:19 AM, Who  wrote:

> Here is a screenshot to demonstrate what I'm talking about... Nothing
> says 'beware' like red folder icons, right?
> In that screenshot you can also see the way red bar in Thunar.
>
> What do people think - worth pursuing?


I definitely think that it is. Have you written a blueprint for this?
Otherwise, that is where we should start. Once the blueprint is done, we can
milestone it for Karmic, solicit opinions (especially from people on Planet
Ubuntu who can share thoughts with their readership) and get 'er done.

Is the Breathe team (esp. Cory and Sebastian) interested in building a
"Breathe-dangerous" subtheme?

Ryan
-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art


[ubuntu-art] Make being root more obvious (scary)

2009-03-04 Thread Who
I am sending this again without the attachment to avoid
ubuntu-desktop's file size limit. Please see
http://dl.getdropbox.com/u/506088/Don%27t%20Move/Red%20is%20scary.png
for the attachment I discuss. Sorry to those on the art list who will
see this twice.

Original Message:

-
Hi all,

in XFCE, Thunar and Mousepad do a nice trick of having a red box when
you're running the app as superuser to warn you that bad things could
happen.

I really like this, I think it makes it really clear that you need to
watch out. I tried some ways to replicate it on Ubuntu/GNOME. I came
up with a solution that gives a really clear clue to the user that
doesn't require any apps to be modified (see the screenshot). It is
this:

Create or choose a read icon and gtk theme, place those in the .icons
and .themes directory in /root, and then make that theme have the same
name as the icon and gtk themes being used by the user - obviously
when a user changes their theme this will be lost, but many people
don't change their theme (arguable those who do don't need such cues)
and there might be a way to adapt it to make it more flexible...

Here is a screenshot to demonstrate what I'm talking about... Nothing
says 'beware' like red folder icons, right?
In that screenshot you can also see the way red bar in Thunar.

What do people think - worth pursuing?

Who

-- 
ubuntu-art mailing list
ubuntu-art@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-art