Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 02-17-2007, 09:07 PM   #1 (permalink)
Greg's Avatar
 
Indeed.

Join Date: Dec 2004

Posts: 1,554

Greg is on a distinguished road

Default Howto: Make gksu not flicker

Whenever I open a program that uses gksu to give it root privileges it gets all flickery as it dims the background. Maybe this is just my problem, or maybe it's because of Beryl, I'm not sure. Doing the following will stop gksu from dimming the background altogether, it will just open a new window for you to put your password in.

Note: I am using Ubuntu 6.10, things may be different for you. I am not responsible if you screw anything up, but that would be pretty hard to do. You will not be modifying any vital system files or anything. This seems to be working really well so far, but I have been using it for all of 2 minutes. It's pretty easy:

Step 1:
Code:
sudo mv /usr/bin/gksu /usr/bin/gksu_orig
Step 2:
Code:
sudo gedit /usr/bin/gksu
Paste the following into the new file and save it:
Code:
#!/bin/bash
gksu_orig -g $@
Step 3:
Code:
sudo chmod +x /usr/bin/gksu
And you're done.

Test it out by opening Synaptic, or putting 'gksu echo' or something into the terminal.

If for some reason you want to put it back, run:
Code:
sudo rm /usr/bin/gksu && mv /usr/bin/gksu_orig /usr/bin/gksu

__________________
Greg is offline  
Old 02-18-2007, 10:48 AM   #2 (permalink)
 
Banned

Join Date: Jun 2006

Location: United States of America

Posts: 109

Enterpriser is an unknown quantity at this point

Default

Thanks for that. I did not have a problem with this, but I know plenty of people who do.
Enterpriser is offline  
Old 02-18-2007, 05:28 PM   #3 (permalink)
Greg's Avatar
 
Indeed.

Join Date: Dec 2004

Posts: 1,554

Greg is on a distinguished road

Default

Heh, I actually forgot a step. Fixed.
__________________
Greg is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On