You are not logged in.

#276 2011-11-18 20:20:00

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: subtle - another tiling window manager

echo.unity wrote:

Well not the widget per-say , it's the window that pops up after you add the bookmark within chromium (from there you select which folder to add it to and or remove).

Seems like the issue is most likely is how wmname interacts with chromium or vice-vesa. (as you can tell the issue is tiling specific)

Still odd, that shouldn't be a java window. Can you still post me the output of xprop of that window? Just can xprop and click on it. xprop is in the xorg-xprop package.

echo.unity wrote:

Other then that - subtle is a great project - keep up the good work.

Thanks I will!

Offline

#277 2011-11-18 22:22:23

echo.unity
Member
Registered: 2011-11-14
Posts: 68

Re: subtle - another tiling window manager

unexist wrote:
echo.unity wrote:

Well not the widget per-say , it's the window that pops up after you add the bookmark within chromium (from there you select which folder to add it to and or remove).

Seems like the issue is most likely is how wmname interacts with chromium or vice-vesa. (as you can tell the issue is tiling specific)

Still odd, that shouldn't be a java window. Can you still post me the output of xprop of that window? Just can xprop and click on it. xprop is in the xorg-xprop package.

echo.unity wrote:

Other then that - subtle is a great project - keep up the good work.

Thanks I will!

Hmm - having an issue with xprop and the popup itself. I can only xprop the icon that invokes it (bookmark star) for the popup takes control of the entire window and am unable to invoke anything but within the popup.

But here is the xprop for the icon that calls the popup:

_NET_WM_USER_TIME(CARDINAL) = 11818695
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 0, 0
_NET_WM_DESKTOP(CARDINAL) = 1
SUBTLE_CLIENT_SCREEN(CARDINAL) = 0
SUBTLE_CLIENT_GRAVITY(CARDINAL) = 12
SUBTLE_CLIENT_FLAGS(CARDINAL) = 0
_NET_WM_STATE(ATOM) = 
SUBTLE_CLIENT_TAGS(CARDINAL) = 4
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x4
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		bitmap id # to use for icon: 0x140002c
		bitmap id # of mask for icon: 0x140002f
		window id # of group leader: 0x1400001
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
_NET_WM_ICON(CARDINAL) = 	Icon (128 x 128):  

#shows chromium icon
#shows another chromium icon (24x24)

_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 20971563
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x140002a
WM_CLIENT_LEADER(WINDOW): window id # 0x1400001
_NET_WM_PID(CARDINAL) = 5973
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "liv3"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified minimum size: 187 by 89
		window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "chromium", "Chromium"
WM_ICON_NAME(STRING) = "Post a reply / Arch Linux Forums - Chromium"
_NET_WM_ICON_NAME(UTF8_STRING) = "Post a reply / Arch Linux Forums - Chromium"
WM_NAME(STRING) = "Post a reply / Arch Linux Forums - Chromium"
_NET_WM_NAME(UTF8_STRING) = "Post a reply / Arch Linux Forums - Chromium

some of the strings above state the where bookmark would be anchored at - and as for doing an xprop on the popup  ... I'm clueless

Offline

#278 2011-11-18 22:53:54

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: subtle - another tiling window manager

echo.unity wrote:

Hmm - having an issue with xprop and the popup itself. I can only xprop the icon that invokes it (bookmark star) for the popup takes control of the entire window and am unable to invoke anything but within the popup.

Thanks for your effort, but the output of the icon doesn't help. kyrylo from #subtle pasted me the output already. So why do you think it is related to :wmname?

Offline

#279 2011-11-18 23:27:34

echo.unity
Member
Registered: 2011-11-14
Posts: 68

Re: subtle - another tiling window manager

unexist wrote:
echo.unity wrote:

Hmm - having an issue with xprop and the popup itself. I can only xprop the icon that invokes it (bookmark star) for the popup takes control of the entire window and am unable to invoke anything but within the popup.

Thanks for your effort, but the output of the icon doesn't help. kyrylo from #subtle pasted me the output already. So why do you think it is related to :wmname?

I only use :wmname for one java app, but disabling it the problem goes away ...

Only thing that comes to mind atm is to tag the client that needs java to :wmname if that is possible, for the time being I am just going to pre-configure the java app and leave :wmname out of the loop.

As for why it is doing it is beyond my scope, but I do know it is the source is :wmname is conflicting with  chromium in some form or vice versa.

Offline

#280 2011-11-19 09:24:16

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: subtle - another tiling window manager

echo.unity wrote:

I only use :wmname for one java app, but disabling it the problem goes away ...

Only thing that comes to mind atm is to tag the client that needs java to :wmname if that is possible, for the time being I am just going to pre-configure the java app and leave :wmname out of the loop.

As for why it is doing it is beyond my scope, but I do know it is the source is :wmname is conflicting with  chromium in some form or vice versa.

Pretty odd, need to check that. For me that sounds like a coincidence since chromium is no java app or I rather hope it is not. wink

Offline

#281 2011-11-21 12:37:15

aakos23
Member
From: Hungary
Registered: 2009-09-11
Posts: 38

Re: subtle - another tiling window manager

style :all do
  background  "#202020"
  icon        "#757575"
  border      "#303030", 0
  padding     0, 3
  #font        "-*-*-*-*-*-*-14-*-*-*-*-*-*-*"
  font        "xft:Envy Code R:pixelsize=13"
end

Cannot load font `xft:Envy Code R:pixelsize=13`

Why? sad

Offline

#282 2011-11-21 13:03:42

kyrylo
Member
From: Ukraine
Registered: 2011-11-16
Posts: 5

Re: subtle - another tiling window manager

aakos23 wrote:

Cannot load font `xft:Envy Code R:pixelsize=13`

Show us the output of the following commands, please:

fc-list | grep -i envy

And

ldd /usr/bin/subtle | grep -i xft

Offline

#283 2011-11-21 13:34:52

aakos23
Member
From: Hungary
Registered: 2009-09-11
Posts: 38

Re: subtle - another tiling window manager

fc-list | grep -i envy
Envy Code R:style=Bold
Envy Code R:style=Italic
Envy Code R:style=Regular

ldd /usr/bin/subtle | grep -i xft
nothing out

Thanks

Offline

#284 2011-11-21 13:43:46

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: subtle - another tiling window manager

aakos23 wrote:
ldd /usr/bin/subtle | grep -i xft
nothing out

No output means that subtle has no support for xft. Please install libxft and reinstall subtle.

Offline

#285 2011-11-21 14:01:58

aakos23
Member
From: Hungary
Registered: 2009-09-11
Posts: 38

Re: subtle - another tiling window manager

Hmm.. interesting. Reinstall libxft and subtle, and worked. o.O
Thanks!

Offline

#286 2011-11-21 16:04:25

elixis
Member
Registered: 2011-11-21
Posts: 2

Re: subtle - another tiling window manager

Hello,

I'm playing with arch and subtle (which is great, btw) and I'm wondering how to get rid of the ugly default gtk theme for the GUI apps (I try to avoid them, but there is a couple ones I have to use) ? I come from Fedora with WMFS running on top of Gnome, so it was pretty much straightforward but now I've installed only subtle (maybe a few gnome packages coming with nautilus) so I don't know what to install and how change the theme… Do I have to install Gnome as well ?

Last edited by elixis (2011-11-21 16:04:50)

Offline

#287 2011-11-21 16:10:34

kyrylo
Member
From: Ukraine
Registered: 2011-11-16
Posts: 5

Re: subtle - another tiling window manager

elixis wrote:

I don't know what to install and how change the theme… Do I have to install Gnome as well ?

Hello. No, you should install either gtk-chtheme or something similar to it. Of course, there is "true" pathway through editing your .gtkrc config.

Last edited by kyrylo (2011-11-21 16:11:44)

Offline

#288 2011-11-21 16:41:57

elixis
Member
Registered: 2011-11-21
Posts: 2

Re: subtle - another tiling window manager

Great, thanks wink I thought it wasn't possible without the whole desktop environment… I'm not a pro-customizer yet tongue

Last edited by elixis (2011-11-21 16:42:57)

Offline

#289 2011-12-01 06:25:55

echo.unity
Member
Registered: 2011-11-14
Posts: 68

Re: subtle - another tiling window manager

hey was wondering if one of you subtle pros can guide me ...
I am trying to get an xprop value on a window (its full screen mode in youtube/chromium)  so I can match it to a view, however when dropping/switching to console obviously I can't grab it being that full screen escapes as soon as you leave the window. So can anyone enlighten me how to best grab the xprop values on a window that behaves that way? (I need the values so it doesn't jump to a view I did not specify)
solved - launched another virtual and from term: xprop -display :0 - ahh smell of sweet victory

Finally I haven't looked too much in the wiki for this but I'd love it if someone could post an example on how I could achieve this:

view "term"
tagged - "rox|lilyterm|leafpad" to term
first client I have set to :gravity66
but I would like to cycle the clients in this manner: 1st:gravity66, 1st:kp4 2nd:kp6, 1st:kp4 2nd:kp3 3rd:kp9, 1st:kp7 2nd:kp1 3rd:kp3 4th:kp9

creation like a clock

Last edited by echo.unity (2011-12-01 08:52:56)

Offline

#290 2011-12-01 10:25:24

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: subtle - another tiling window manager

echo.unity wrote:

Finally I haven't looked too much in the wiki for this but I'd love it if someone could post an example on how I could achieve this:

view "term"
tagged - "rox|lilyterm|leafpad" to term
first client I have set to :gravity66
but I would like to cycle the clients in this manner: 1st:gravity66, 1st:kp4 2nd:kp6, 1st:kp4 2nd:kp3 3rd:kp9, 1st:kp7 2nd:kp1 3rd:kp3 4th:kp9

creation like a clock

Uhm I don't get it. kp4, kp6 etc. are gravities as well and you want to toggle between this gravities? Or do you want to apply this set of gravities to your tagged windows? No idea what the fourth should be, I just see three: 1) rox, 2) lilyterm 3) leafpad

Last edited by unexist (2011-12-01 10:31:45)

Offline

#291 2011-12-01 21:56:26

echo.unity
Member
Registered: 2011-11-14
Posts: 68

Re: subtle - another tiling window manager

unexist wrote:
echo.unity wrote:

Finally I haven't looked too much in the wiki for this but I'd love it if someone could post an example on how I could achieve this:

view "term"
tagged - "rox|lilyterm|leafpad" to term
first client I have set to :gravity66
but I would like to cycle the clients in this manner: 1st:gravity66, 1st:kp4 2nd:kp6, 1st:kp4 2nd:kp3 3rd:kp9, 1st:kp7 2nd:kp1 3rd:kp3 4th:kp9

creation like a clock

Uhm I don't get it. kp4, kp6 etc. are gravities as well and you want to toggle between this gravities? Or do you want to apply this set of gravities to your tagged windows? No idea what the fourth should be, I just see three: 1) rox, 2) lilyterm 3) leafpad

I would like to tag a view and have the clients cycle gravity's when a new client is called - whatever is tagged to the view - for instance:

client 1 gravity :center66
client 2 gravity :right , client 1 gravity :left
client 3 gravity :top_right, client 2 gravity :bottom_right, client 1 gravity :left
client 4 gravity :top_right, client 3 gravity :bottom_right, client 2 gravity :bottom_left, client 1 gravity :top_right

so whatever clients assigned to the view would cycle in this manner when called

Offline

#292 2011-12-01 22:45:20

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: subtle - another tiling window manager

echo.unity wrote:

I would like to tag a view and have the clients cycle gravity's when a new client is called - whatever is tagged to the view - for instance:

client 1 gravity :center66
client 2 gravity :right , client 1 gravity :left
client 3 gravity :top_right, client 2 gravity :bottom_right, client 1 gravity :left
client 4 gravity :top_right, client 3 gravity :bottom_right, client 2 gravity :bottom_left, client 1 gravity :top_right

so whatever clients assigned to the view would cycle in this manner when called

When a new client is called aka. client created or focus set to it? So the goal is to have a 2x2 grid and set a layout manager for exactly that? Not the original idea about subtle but quite doable with subtle:

on :client_create do |c|
  view = Subtlext::View[:viewname]

  if c.views.include?(view)
    clients = view.clients

    gravities = case clients.size
      when 1 then [ :center66 ]
      when 2 then [ :left, :right ]
      when 3 then [ :left, :bottom_right, :top_right ]
      when 4 then [ :top_right, :left, :bottom_right, :top_left ]
      else next
    end

    clients.each_with_index { |c, idx| c.gravity = gravities[idx] }
  end
end

There is an error in your fourth line, :top_right is used twice.

Last edited by unexist (2011-12-01 22:52:30)

Offline

#293 2011-12-02 07:46:07

echo.unity
Member
Registered: 2011-11-14
Posts: 68

Re: subtle - another tiling window manager

unexist wrote:
echo.unity wrote:

I would like to tag a view and have the clients cycle gravity's when a new client is called - whatever is tagged to the view - for instance:

client 1 gravity :center66
client 2 gravity :right , client 1 gravity :left
client 3 gravity :top_right, client 2 gravity :bottom_right, client 1 gravity :left
client 4 gravity :top_right, client 3 gravity :bottom_right, client 2 gravity :bottom_left, client 1 gravity :top_right

so whatever clients assigned to the view would cycle in this manner when called

When a new client is called aka. client created or focus set to it? So the goal is to have a 2x2 grid and set a layout manager for exactly that? Not the original idea about subtle but quite doable with subtle:

on :client_create do |c|
  view = Subtlext::View[:viewname]

  if c.views.include?(view)
    clients = view.clients

    gravities = case clients.size
      when 1 then [ :center66 ]
      when 2 then [ :left, :right ]
      when 3 then [ :left, :bottom_right, :top_right ]
      when 4 then [ :top_right, :left, :bottom_right, :top_left ]
      else next
    end

    clients.each_with_index { |c, idx| c.gravity = gravities[idx] }
  end
end

There is an error in your fourth line, :top_right is used twice.


That is freaking sweet - thank  you so much . That was the last item I wanted to add, that snippet should defiantly should be wiki'd. Awesome work.

Offline

#294 2011-12-02 10:40:41

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: subtle - another tiling window manager

echo.unity wrote:

That is freaking sweet - thank  you so much . That was the last item I wanted to add, that snippet should defiantly should be wiki'd. Awesome work.

Yw. wink

Well, I am not a big fan of layouts like that, butone of the goals of the grid system and subtlext is and was that this should be possible.

Offline

#295 2011-12-02 22:18:26

echo.unity
Member
Registered: 2011-11-14
Posts: 68

Re: subtle - another tiling window manager

unexist wrote:
echo.unity wrote:

That is freaking sweet - thank  you so much . That was the last item I wanted to add, that snippet should defiantly should be wiki'd. Awesome work.

Yw. wink

Well, I am not a big fan of layouts like that, butone of the goals of the grid system and subtlext is and was that this should be possible.


That is what so great about subtle - certain things that you didn't have in mind for the design but can be achieved. However, I do need to learn Ruby to help contribute.
Once again great work.

Offline

#296 2011-12-02 22:49:04

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: subtle - another tiling window manager

echo.unity wrote:

That is what so great about subtle - certain things that you didn't have in mind for the design but can be achieved.

Yeah, people never cease to surprise me with the stuff they do with it.

echo.unity wrote:

However, I do need to learn Ruby to help contribute. Once again great work.

Thanks, subtle is written in C btw. It uses Ruby just for scripting.

Offline

#297 2011-12-06 22:33:26

TheShadowFog
Member
Registered: 2011-11-24
Posts: 21
Website

Re: subtle - another tiling window manager

What is the name of the font in the screenshots?

Offline

#298 2011-12-06 22:47:34

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: subtle - another tiling window manager

TheShadowFog wrote:

What is the name of the font in the screenshots?

What screenshots?

Last edited by unexist (2011-12-06 22:47:51)

Offline

#299 2011-12-06 22:53:05

TheShadowFog
Member
Registered: 2011-11-24
Posts: 21
Website

Re: subtle - another tiling window manager

unexist wrote:
TheShadowFog wrote:

What is the name of the font in the screenshots?

What screenshots?

http://subforge.org/images/screenshots/subtle-0.9-1.png
smile

Offline

#300 2011-12-06 23:04:42

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: subtle - another tiling window manager

The font in most of my shots is Envy Code R, there is a package for it in AUR.

Offline

Board footer

Powered by FluxBB