Fix Locked Screen Opacity in Compiz Fusion
Friday, July 20th, 2007If you’re using the latest Compiz Fusion, you’ll notice that when your screen is locked, the black window that hides your screen is slightly transparent and you can read what is underneath! So much for locking the screen. Want to fix it?
This forum post suggests that you just turn off window opacity, but I like my transparent menus and such. Instead, go to System - Preferences - CompizConfig, choose General Options, then Opacity Settings. Edit this entry:
((type=Menu | PopupMenu | DropdownMenu | Tooltip | Notification | Combo | Dnd | name=sun-awt-X11-XWindowPeer) | (type=Normal & override_redirect=1)) & !(name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer)
To look like this:
((type=Menu | PopupMenu | DropdownMenu | Tooltip | Notification | Combo | Dnd | name=sun-awt-X11-XWindowPeer)) & !(name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer)
Save, lock your screen (I use Control-Alt-L) and peer carefully into the darkness. You shouldn’t see any more stuff showing through your “locked” screen.


