Transparency?

Asked by Nastrafireblaze

Is there a way to make transparent the login box of the default GDM?

If not, will that be implemented in the final? Because asthetically, it throws off my background.

Thx, for you answer

Question information

Language:
English Edit question
Status:
Solved
For:
GDM2Setup Edit question
Assignee:
No assignee Edit question
Solved by:
Growlf
Solved:
Last query:
Last reply:
Revision history for this message
Growlf (growlf) said :
#1

It is done by manually editing the glade file used by GDM directly at present - which is not a "beginner" thing to try to do, sadly. We have no expectations at this time of adding in glade editor functionality to GDM2Setup. We do intend to add themeing which will include permade interface options to allow for this - in a later release.

However, you can modify the file yourself to add in that feature - but be warned changes may be replaced during updates to your OS (gdm and gnome portions in particular) at a later date. Also - it appears that not all options are implemented from the glade file at this time - and when I tried to use transparency, it did not seem to show up at all, even though many other changes that I made did.

WARNING - corrupting this file CAN "brick your box". So, do it cautiously. If you DO mess it up - reboot and then log-in in recovery mode to replace it with the copy that you made of the original glade file *wink-wink-hint*. That said, the file is /usr/share/gdm/gdm-greeter-login-window.glade on an Ubuntu system (and I suspect most others)

Revision history for this message
Best Growlf (growlf) said :
#2

It is done by manually editing the glade file used by GDM directly at present - which is not a "beginner" thing to try to do, sadly. We have no expectations at this time of adding in glade editor functionality to GDM2Setup. We do intend to add themeing which will include permade interface options to allow for this - in a later release.

However, you can modify the file yourself to add in that feature - but be warned changes may be replaced during updates to your OS (gdm and gnome portions in particular) at a later date. Also - it appears that not all options are implemented from the glade file at this time - and when I tried to use transparency, it did not seem to show up at all, even though many other changes that I made did.

WARNING - corrupting this file CAN "brick your box". So, do it cautiously. If you DO mess it up - reboot and then log-in in recovery mode to replace it with the copy that you made of the original glade file *wink-wink-hint*. That said, the file is /usr/share/gdm/gdm-greeter-login-window.glade on an Ubuntu system (and I suspect most others)

Revision history for this message
Nastrafireblaze (nastrafireblaze) said :
#3

Oy, Thanks for that particular info, I will see if I can edit it and see
what I can get. Hopefully, It wont completely brickout my machine as
that would be full of woe. Thanks for your answer!

On Fri, 2010-02-19 at 20:47 +0000, Growlf wrote:
> Your question #101329 on GDM2Setup changed:
> https://answers.launchpad.net/gdm2setup/+question/101329
>
> Growlf proposed the following answer:
> It is done by manually editing the glade file used by GDM directly at
> present - which is not a "beginner" thing to try to do, sadly. We have
> no expectations at this time of adding in glade editor functionality to
> GDM2Setup. We do intend to add themeing which will include permade
> interface options to allow for this - in a later release.
>
> However, you can modify the file yourself to add in that feature - but
> be warned changes may be replaced during updates to your OS (gdm and
> gnome portions in particular) at a later date. Also - it appears that
> not all options are implemented from the glade file at this time - and
> when I tried to use transparency, it did not seem to show up at all,
> even though many other changes that I made did.
>
> WARNING - corrupting this file CAN "brick your box". So, do it
> cautiously. If you DO mess it up - reboot and then log-in in recovery
> mode to replace it with the copy that you made of the original glade
> file *wink-wink-hint*. That said, the file is /usr/share/gdm/gdm-
> greeter-login-window.glade on an Ubuntu system (and I suspect most
> others)
>

Revision history for this message
Nastrafireblaze (nastrafireblaze) said :
#4

Thanks Growlf, that solved my question.

Revision history for this message
Growlf (growlf) said :
#5

Did it work for you?

Revision history for this message
Nastrafireblaze (nastrafireblaze) said :
#6

Sorry, I didnt see you latter question., but indeed I did find it. I did edit it and it is indeed the method for doing it.

Using Glade Interface Designer.

I opened it, and edited it but, it will not take affect at this time because there UI property for opacity was created in 2.12 version of glade, but the current GDM glade is targeted for 2.6. So, obviously it wont take affect.

Though, this is indeed the solution for the question.

Revision history for this message
Paul (ginshi13) said :
#7

could one of you tell me which element of gdm-greeter-login-window.glade should be made to be transparent and how? i'm running ubuntu 10.04 and Glade 3.6.7 the file is called gdm-greeter-login-window.ui

Revision history for this message
Growlf (growlf) said :
#8

Depends on what you want transparent. Probably the window itself, I would imagine. Set the Alpha to a medium value to test with.

Revision history for this message
Albert Bonell (stealz) said :
#9

I'd also like to know where and how to set the opacity.....
and if this works in 10.04. (willing to find out the last part myself)

The help says something about setting gtk_window_set_opacity(), but I dont know where to put it.
Also, the window seems to be a widget so I am not even sure if I can apply the above setting.

Revision history for this message
Nastrafireblaze (nastrafireblaze) said :
#10

 I wasnt able to do it. I was too lazy to learn how to use Glade so I gave up after a while.

Though, do post back if you figure it out as some users would probrably still want to do that.