Tomás Solar Castro | 1 Nov 2010 18:40

Re: application font size.

Bill Sun <cap.sensitive <at> gmail.com> writes:

> On Thu, Oct 28, 2010 at 02:31:26PM +0600, Ekram wrote:
>> Hi Dear,
>> 
>> its really awesome.... I liked it a lot....... But could you tell me how can
>> i change application font size.
>> My applicatoin Font is too large.
>> Keep your good work going....
>> 
>> -EKram
> Maybe your problem is related to gtk settings.
>
> If that, you can 
>     1)manually edit .gtkrc 

This will solve your problem with GTK-based apps only:

Put this in your ~/.gtkrc

style "user-font" {
	font_name = "dejavu sans 8"
}

widget_class "*" style "user-font"

gtk-font-name="dejavu sans 8"

dejavu sans is the font, it can be another, like freesans, liberation
sans, terminus, etc
(Continue reading)

Ekram | 2 Nov 2010 07:20
Picon

world clock.

how to integrate world clock in the bar.

-Ekram

Gregor Best | 2 Nov 2010 08:54
Picon
Gravatar

Re: world clock.

On Tue, Nov 02, 2010 at 12:20:18PM +0600, Ekram wrote:
> how to integrate world clock in the bar.
> [...]

What do you mean by 'world clock'? Just a clock that displays a
different timezone or a clock which displays multiple timezones or one
that just displays UTC or one that changes its timezone depending on
where you are geographically?

--

-- 
    $l="\n";$p=q-sub r{rand}sub c{((shift)**2+(shift)**2)<1}while(
    $i++<=$s){$t++if c r,r}die("Gregor Best, 0xDB9F9A7C, ".($t/$s*
    4).$l)-;$s+=ord$$|$_ for split //,$p;srand($s|$$);eval$p;die$ <at> 
Ekram | 2 Nov 2010 09:28
Picon

Re: world clock.

For example i want to see 2 or more courtries time on the bar.
Like gnome default clock where i can add multiple timzones/country.

-Ekram

On Tue, Nov 2, 2010 at 1:54 PM, Gregor Best <gbe <at> ring0.de> wrote:
On Tue, Nov 02, 2010 at 12:20:18PM +0600, Ekram wrote:
> how to integrate world clock in the bar.
> [...]

What do you mean by 'world clock'? Just a clock that displays a
different timezone or a clock which displays multiple timezones or one
that just displays UTC or one that changes its timezone depending on
where you are geographically?

--
   $l="\n";$p=q-sub r{rand}sub c{((shift)**2+(shift)**2)<1}while(
   $i++<=$s){$t++if c r,r}die("Gregor Best, 0xDB9F9A7C, ".($t/$s*
   4).$l)-;$s+=ord$$|$_ for split //,$p;srand($s|$$);eval$p;die$ <at>

will floyd | 4 Nov 2010 20:09
Picon

Re: shifty won't let me do full screen flash video

> hi all.  recently started using shifty, which is pretty much amazing
> in most ways (thanks shifty devs!).  one problem, however, is that
> upon clicking fullscreen on a flash video (both youtube and vimeo for
> sure, probably others) i get a quick flash of fullscreen and then
> immediately dropped back to the embedded video.  fullscreen browsing
> with F11 works just fine.  anybody else experiencing this?  anybody
> have a workaround?
>
> using latest awesome-git, archlinux; same behaviour with both chrome
> and firefox.

finally bothered to figure this out today (i guess it wasn't really a
big deal :).  simple fix, default rc.lua has

-- {{{ Rules
awful.rules.rules = {
    -- All clients will match this rule.
    { rule = { },
      properties = { border_width = beautiful.border_width,
                     border_color = beautiful.border_normal,
                     focus = true,
                     keys = clientkeys,
                     buttons = clientbuttons } },
<snip>
}
-- }}}

and removing the 'focus = true,' line fixed the problem for me.

flevosap | 5 Nov 2010 15:14
Picon

awesome and globalmenu

hello,
I`m looking for a way to use awesome with gnome-panel and appmenu.
Everything is working fine except when i click on the appmenu applet, the
focus shifts from the applicationwindow to gnome-panel which changes the 
menu.
This makes it impossible to use.

appmenu: an applet which puts the applications main menu in the gnome 
panel (like on osx)
                  https://launchpad.net/indicator-appmenu
awesome: v3.4.8
GNOME Panel: 2.30.2

thanks -eelco

Stefano Zacchiroli | 6 Nov 2010 10:59
Gravatar

avoiding focus on a specific client (i.e. gnome panel)

Heya,
  I'm a returning user from xmonad to awesome, after a showstopping
issue which is now fixed [1] (BTW, thanks a lot for the exciting
development activity around awesome!).

I'm using awesome within GNOME and I'd like to use the GNOME panel.
Integration nowadays is very good out of the box, although I've a couple
of remaining glitches to fix.  One is that I want to avoid that the
GNOME panel get focused: it's useless for me and also a bit annoying
when used in conjunction with xcompmgr, as the panel drops its shadow on
underlying windows.

Looking briefly at the code, I guess that awful.client.focus.filter does
not return true on the GNOME panel, and hence does not inhibit it to get
focused (let me know if you think this is a bug that should be
reported).

I've tried a couple of workarounds, both failed. The first one was to
attach a callback at panel creation time which try toggling the
"focusable" field to false on the panel client. It doesn't work, but I'm
not even sure "focusable" is supposed to be writable, is it?.

The second one I've tried is adding a callback to the "focus" signal of
the panel to focus the next client using awful.client.focus.byidx(1).
This one trigger some kind of loop, even on tags with windows other than
the panel.

What is the best way to avoid that the GNOME panel, or any other
specific client FWIW, gets focused?

Many thanks for awesome!
Cheers.

[1] http://awesome.naquadah.org/bugs/index.php?do=details&task_id=503

--

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc  <at>  Univ. Paris 7
zack <at> {upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Quando anche i santi ti voltano le spalle, |  .  |. I've fans everywhere
ti resta John Fante -- V. Caposella .......| ..: |.......... -- C. Adams

Uli Schlachter | 6 Nov 2010 11:58
Picon
Gravatar

Re: avoiding focus on a specific client (i.e. gnome panel)


Am 06.11.2010 10:59, Stefano Zacchiroli wrote:
> Looking briefly at the code, I guess that awful.client.focus.filter does
> not return true on the GNOME panel, and hence does not inhibit it to get
> focused (let me know if you think this is a bug that should be
> reported).

Hi,

I'd expect awful.client.focus.filter to already catch the GNOME panel with its
'c.type == "dock"' check. Could you run "xprop -frame" in a terminal and then
click on the GNOME panel and paste the result?

You are right that the "focusable" property cannot be modified. It is set from
the window manager hints of the client. The xprop output would also show these.

Also, which exact version of awesome are you using?

Cheers,
Uli
--

-- 
Buck, when, exactly, did you lose your mind?
Three months ago. I woke up one morning married to a pineapple.
  An ugly pineapple... But I loved her
Stefano Zacchiroli | 6 Nov 2010 12:14
Gravatar

Re: avoiding focus on a specific client (i.e. gnome panel)

On Sat, Nov 06, 2010 at 11:58:34AM +0100, Uli Schlachter wrote:
> I'd expect awful.client.focus.filter to already catch the GNOME panel with its
> 'c.type == "dock"' check. Could you run "xprop -frame" in a terminal and then
> click on the GNOME panel and paste the result?

Attached. And indeed it shows _NET_WM_WINDOW_TYPE_DOCK, which I guess
should match the 'c.type == "dock"' check.  Bug?

Some more info that can be useful: I'm able to focus the panel by
clicking on it (or on some of its widgets of course), but I'm not able
to focus it neither via mouse-over/sloppy-focus, nor via Mod4-Tab.

In case it helps, attached there's also a screenshot showing the focused
GNOME panel, with its drop shadow over a sole Emacs window. In that
situation, if I do Mod4-Tab, Emacs gets focused, and further Mod4-Tab
does not give back the focus to the GNOME panel.

> You are right that the "focusable" property cannot be modified. It is
> set from the window manager hints of the client. The xprop output
> would also show these.

Ack, thanks.

> Also, which exact version of awesome are you using?

3.4.8, from Debian/unstable (specific Debian version is 3.4.8-1).

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc  <at>  Univ. Paris 7
zack <at> {upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Quando anche i santi ti voltano le spalle, |  .  |. I've fans everywhere
ti resta John Fante -- V. Caposella .......| ..: |.......... -- C. Adams
_NET_WM_USER_TIME(CARDINAL) = 13832145
XKLAVIER_TRANSPARENT(INTEGER) = 1
WM_COLORMAP_WINDOWS(WINDOW): window id # 0xe000f3, 0xe0010f, 0xe00111, 0xe001a3, 0xe001a5,
0xe001a7, 0xe001a9, 0xe0131d, 0xe01604
XKLAVIER_STATE(INTEGER) = 0, 0
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		bitmap id # to use for icon: 0xe00020
		bitmap id # of mask for icon: 0xe00023
		window id # of group leader: 0xe00003
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 24, 0, 0, 0, 0, 0, 0, 1439, 0, 0
_NET_WM_STRUT(CARDINAL) = 0, 0, 24, 0
_NET_WM_ICON(CARDINAL) = 	Icon (22 x 22):
	                      
	░░░░░░░░░░░░░░░░░░░   
	░                     
	░ ░░░░░░░░            
	░ ░      ░            
	░ ░      ░            
	░ ░      ░            
	░ ░      ░            
	░ ░      ░            
	░ ░   ▒  ░            
	░ ░  ▒█  ░            
	░ ░  ▒█  ░            
	░ ░   ▒  ░            
	░ ░      ░            
	░ ░      ░            
	░ ░      ░            
	░ ░      ░            
	░ ░      ░            
	░ ░░░░░░░░            
	░                     
	░░░░░░░░░░░░░░░░░░░░  
	                      

	Icon (16 x 16):
	░░░░░░░░░░░░░░  
	░               
	░ ░░░░░░        
	░ ░    ░        
	░ ░    ░        
	░ ░    ░        
	░ ░  ▒ ░        
	░ ░ ▒█ ░        
	░ ░ ▒█ ░        
	░ ░  ▒ ░        
	░ ░    ░        
	░ ░    ░        
	░ ░    ░        
	░ ░░░░░░        
	░               
	░░░░░░░░░░░░░░  

	Icon (24 x 24):
	                        
	                        
	 ░░░░░░░░░░░░░░░░░░░    
	 ░                      
	 ░ ░░░░░░░░             
	 ░ ░      ░             
	 ░ ░      ░             
	 ░ ░      ░             
	 ░ ░      ░             
	 ░ ░      ░             
	 ░ ░   ▒  ░             
	 ░ ░  ▒█  ░             
	 ░ ░  ▒█  ░             
	 ░ ░   ▒  ░             
	 ░ ░      ░             
	 ░ ░      ░             
	 ░ ░      ░             
	 ░ ░      ░             
	 ░ ░      ░             
	 ░ ░░░░░░░░             
	 ░                      
	 ░░░░░░░░░░░░░░░░░░░░   
	                        
	                        

	Icon (32 x 32):
	                                
	                                
	                                
	░░░░░░░░░░░░░░░░░░░░░░░░░░░     
	░                               
	░  ░░░░░░░                      
	░ ░       ░                     
	░ ░       ░        ░░  ░▒▒░     
	░ ░       ░       ░▓▒ ░▓▒▒░     
	░ ░       ░    ░▒░░▓▒ ▒▓▒▒░     
	░ ░       ░    ▒▓░░▓░ ▒▓▒░      
	░ ░       ░  ▒░░▓░ ░  ▒▓░       
	░ ░       ░  ▓▒ ░   ░░          
	░ ░    ▒  ░  ░▒  ░▒▓▓▓▓▒        
	░ ░   ▓█  ░    ░▒▓▓▓▓▓▓▓░       
	░ ░  ▒██  ░   ░▓▓▓▓▓▓▓▓▓░       
	░ ░   ▓█  ░   ▒▓▓▓▓▓▓▓▓▒        
	░ ░    ▒  ░   ▒▓▓▓▓▓▓▓░         
	░ ░       ░   ▒▓▓▓▓▓▒           
	░ ░       ░   ░▓▓▓▓░  ░░░       
	░ ░       ░    ▒▓▓▒  ░▓▓▒       
	░ ░       ░    ░▓▓▓▒░▒▓▓░       
	░ ░       ░     ░▒▓▓▓▓▓▒        
	░ ░       ░       ░▒▓▒░         
	░ ░       ░                     
	░ ░       ░                     
	░  ░░░░░░░                      
	░                               
	░░░░░░░░░░░░░░░░░░░░░░░░░░░░    
	                                
	                                
	                                

	Icon (48 x 48):
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	 
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

	  ░                                             
	  ░  ░░░░░░░░░                                  
	  ░ ░         ░                                 
	  ░ ░         ░           ░    ░▒▓▒             
	  ░ ░         ░          ▒▓░  ▒▓▓▓▓             
	  ░ ░         ░      ░░ ░▓▓▒ ░▓▓▓▓▒             
	  ░ ░         ░      ▓▓░░▓▓░ ▒▓▓▓▓░             
	  ░ ░         ░      ▓▓░ ▒▓░ ▒▓▓▓░              
	  ░ ░         ░   ░▒ ▒▓░ ░░  ░▓▓░               
	  ░ ░         ░   ▓▓░ ░       ░                 
	  ░ ░         ░   ▒▓░   ░░▒▒▒▒░                 
	  ░ ░     ▒   ░    ▒░ ░▒▓▓▓▓▓▓▓▒                
	  ░ ░    ▓█   ░      ▒▓▓▓▓▓▓▓▓▓▓                
	  ░ ░   ▒██   ░     ▒▓▓▓▓▓▓▓▓▓▓▒                
	  ░ ░    ▓█   ░    ░▓▓▓▓▓▓▓▓▓▓▓░                
	  ░ ░     ▒   ░    ░▓▓▓▓▓▓▓▓▓▒░                 
	  ░ ░         ░    ░▓▓▓▓▓▓▓▓▒                   
	  ░ ░         ░    ░▓▓▓▓▓▓▒░                    
	  ░ ░         ░     ▓▓▓▓▓▒   ░░░                
	  ░ ░         ░     ▒▓▓▓▓░  ░▓▓▓░               
	  ░ ░         ░      ▒▓▓▓▒  ▒▓▓▓░               
	  ░ ░         ░      ░▒▓▓▓▒▒▓▓▓▒                
	  ░ ░         ░       ░▒▓▓▓▓▓▓▒                 
	  ░ ░         ░         ░▒▓▓▓░                  
	  ░ ░         ░                                 
	  ░ ░         ░                                 
	  ░  ░░░░░░░░░                                  
	  ░                                             
	 
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                

	Icon (48 x 48):
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	 
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

	  ░                                             
	  ░  ░░░░░░░░░                                  
	  ░ ░         ░                                 
	  ░ ░         ░           ░    ░▒▓▒             
	  ░ ░         ░          ▒▓░  ▒▓▓▓▓             
	  ░ ░         ░      ░░ ░▓▓▒ ░▓▓▓▓▒             
	  ░ ░         ░      ▓▓░░▓▓░ ▒▓▓▓▓░             
	  ░ ░         ░      ▓▓░ ▒▓░ ▒▓▓▓░              
	  ░ ░         ░   ░▒ ▒▓░ ░░  ░▓▓░               
	  ░ ░         ░   ▓▓░ ░       ░                 
	  ░ ░         ░   ▒▓░   ░░▒▒▒▒░                 
	  ░ ░     ▒   ░    ▒░ ░▒▓▓▓▓▓▓▓▒                
	  ░ ░    ▓█   ░      ▒▓▓▓▓▓▓▓▓▓▓                
	  ░ ░   ▒██   ░     ▒▓▓▓▓▓▓▓▓▓▓▒                
	  ░ ░    ▓█   ░    ░▓▓▓▓▓▓▓▓▓▓▓░                
	  ░ ░     ▒   ░    ░▓▓▓▓▓▓▓▓▓▒░                 
	  ░ ░         ░    ░▓▓▓▓▓▓▓▓▒                   
	  ░ ░         ░    ░▓▓▓▓▓▓▒░                    
	  ░ ░         ░     ▓▓▓▓▓▒   ░░░                
	  ░ ░         ░     ▒▓▓▓▓░  ░▓▓▓░               
	  ░ ░         ░      ▒▓▓▓▒  ▒▓▓▓░               
	  ░ ░         ░      ░▒▓▓▓▒▒▓▓▓▒                
	  ░ ░         ░       ░▒▓▓▓▓▓▓▒                 
	  ░ ░         ░         ░▒▓▓▓░                  
	  ░ ░         ░                                 
	  ░ ░         ░                                 
	  ░  ░░░░░░░░░                                  
	  ░                                             
	 
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                

_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 14680069
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0xe00004
WM_CLIENT_LEADER(WINDOW): window id # 0xe00001
_NET_WM_PID(CARDINAL) = 9516
WM_LOCALE_NAME(STRING) = "it_IT.utf8"
WM_CLIENT_MACHINE(STRING) = "usha"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified location: 0, 0
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "gnome-panel", "Gnome-panel"
WM_ICON_NAME(STRING) = "Top Expanded Edge Panel"
_NET_WM_ICON_NAME(UTF8_STRING) = 0x54, 0x6f, 0x70, 0x20, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65,
0x64, 0x20, 0x45, 0x64, 0x67, 0x65, 0x20, 0x50, 0x61, 0x6e, 0x65, 0x6c
WM_NAME(STRING) = "Top Expanded Edge Panel"
_NET_WM_NAME(UTF8_STRING) = 0x54, 0x6f, 0x70, 0x20, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64,
0x20, 0x45, 0x64, 0x67, 0x65, 0x20, 0x50, 0x61, 0x6e, 0x65, 0x6c
Stefano Zacchiroli | 6 Nov 2010 12:26
Gravatar

Re: avoiding focus on a specific client (i.e. gnome panel)

On Sat, Nov 06, 2010 at 12:14:43PM +0100, Stefano Zacchiroli wrote:
> In case it helps, attached there's also a screenshot showing the focused
> GNOME panel, with its drop shadow over a sole Emacs window. In that
> situation, if I do Mod4-Tab, Emacs gets focused, and further Mod4-Tab
> does not give back the focus to the GNOME panel.

In fact, that was not the right screenshot as in that case the Emacs
window *is* focused (as can be guessed by the solid cursor), even if the
drop shadow of the panel is still on top of it. That might be another
issue intertwined with the main wine, let's postpone this for the moment
:-).

I'm anyhow able to have the panel focused alone, by clicking on top of
it. However, when I move the mouse on another window, that window gets
focused via sloppy focus. The correct screenshot is now at
<http://upsilon.cc/~zack/stuff/awesome-gnome-panel-foucused.png>.

Cheers.

--

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc  <at>  Univ. Paris 7
zack <at> {upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Quando anche i santi ti voltano le spalle, |  .  |. I've fans everywhere
ti resta John Fante -- V. Caposella .......| ..: |.......... -- C. Adams


Gmane