You are not logged in.

#401 2012-05-16 23:23:23

melw
Member
Registered: 2011-04-09
Posts: 95

Re: subtle - another tiling window manager

Was just wondering about something i thought of today when i was making some minor changes in my config.

First i'll make alittle example of the subtle.rb....

grab "W-Return",  "urxvt -name ncmpcpp -e ncmpcpp"

tag "ncmpcpp" do
match instance: "ncmpcpp"
gravity :fullscreen
end 

Well, this is simple. Press Windows-key and Return to open ncmpcpp in an urxvt terminal.

But here's my problem.
What if i want to use some option for ncmpcpp? Like if i want to use another config file, wich i'm simply doing by typing ncmpcpp -c <path> in a terminal, but how am i doing it in the subtle config file? Guess it's a simple solution, but my brain got stuck on this one for tonight (working for 12 hours and spent 8 hours writing stuff makes me.... stupid. Even my english is bad at the moment)

Havn't found a need for it yet, but just for the fun of knowing and learning.


I know I'm paranoid, but am I paranoid enought....

Offline

#402 2012-06-19 18:23:43

chippoke
Member
Registered: 2012-04-15
Posts: 9

Re: subtle - another tiling window manager

I dont think this would be the most proper solution but writing a script and executing it with urxvt -c script should work.

Offline

#403 2012-06-23 14:42:00

chamber
Member
From: ~/
Registered: 2012-03-29
Posts: 279

Re: subtle - another tiling window manager

Hello unexist if you are monitoring.

I has an issue this morning when I updated subtle from 0.10.3008-4 to 0.11.3224-1 it gave me the error failed to execute log in command after entering username and password in slim.

Downgrading allowed me to log back in.  Should I file a bug or would you like any more info?


meh

Offline

#404 2012-06-23 22:58:23

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: subtle - another tiling window manager

Does it work without slim (i.e. just startx)?

Offline

#405 2012-06-23 23:05:46

chamber
Member
From: ~/
Registered: 2012-03-29
Posts: 279

Re: subtle - another tiling window manager

Didn't have a chance to test. Will try tomorrow and see.


meh

Offline

#406 2012-06-25 21:28:56

chamber
Member
From: ~/
Registered: 2012-03-29
Posts: 279

Re: subtle - another tiling window manager

Ok. Startx didn't work but I think that the issue is my config. Reading through the news on the subtle homepage I'm using some older syntax. Will modify this and do some testing later this week.

A teething 5 month old means this isn't really a priority.


meh

Offline

#407 2012-06-26 16:37:34

chamber
Member
From: ~/
Registered: 2012-03-29
Posts: 279

Re: subtle - another tiling window manager

And it's working again.

Putting this down to my own stupidity and lack of sleep again.


meh

Offline

#408 2012-06-26 16:42:39

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: subtle - another tiling window manager

edit: Sorry wrong thread

Last edited by anonymous_user (2012-06-26 16:43:04)

Offline

#409 2012-07-05 09:26:34

suborbital
Member
From: #freenode
Registered: 2012-03-21
Posts: 21

Re: subtle - another tiling window manager

hi unexist, when you have  a chance can you take a look at the output below, been dealing with an issue with the notify sublet, idk if its my lack of competence in setting the config or missing a package:

<WARNING> NoMethodError: undefined 'write' for #<Sublext::Window:0x00000002271af8>
	from ~/.local/share/sublets/notify.rb:754:in 'block in (2 levels) in <main>'
       "			            ":753:in 'each index'
       "				    ":753:in 'block in <main>'

#notify.rb
# Write each message and calculate window width
753    s.dbus.messages.each_index do |i|
754      size    = s.win.write(2, height + s.font_y, s.dbus.messages[i].summary[0..50])


#config
  sublet :notify do
    interval      60
    foreground    "#eeeeee"
    background    "#000000"
    highlight     "#6090d1"
    font        "-*-terminus-medium-r-*-*-*-*-*-*-*-*-*-*"
#    font        "-*-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
  end

Offline

#410 2012-07-10 16:59:03

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

Re: subtle - another tiling window manager

suborbital wrote:

hi unexist, when you have  a chance can you take a look at the output below, been dealing with an issue with the notify sublet, idk if its my lack of competence in setting the config or missing a package:

Hey,

I fixed that and added notify-0.45. Just upgrade to it and it should work again.

Offline

#411 2012-07-11 06:45:49

suborbital
Member
From: #freenode
Registered: 2012-03-21
Posts: 21

Re: subtle - another tiling window manager

unexist wrote:
pauldonnelly wrote:

I believe "subtile" is an archaic spelling of "subtle". So it's pretty much the same word. tongue

'subtile' sounds more like the German meaning of it. wink

works like buttah, thanks unexist

Offline

#412 2012-07-11 10:06:00

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

Re: subtle - another tiling window manager

suborbital wrote:

works like buttah, thanks unexist

You are welcome, I also fixed the placement issue with the sublet window but that requires r3226.

Offline

#413 2012-07-19 08:34:01

Thom
Member
Registered: 2012-05-22
Posts: 72
Website

Re: subtle - another tiling window manager

Hi !

I totaly fall in love with Subtle mechanics. Thanks for what you've done there.

I'm using a dual-head and I would know if it's possible to have some application using the two screen (for pictures) ?

--------------------------------------------------------

I try to make the second screen "independant" from the first.

Is it possible to have somethink like :

# Screens {{{
screen 1 do
  stipple false
  top     [:views1]
  bottom  []
  view    1
end

screen 2 do
  stipple false
  top     [:views2]
  bottom  []
  view    0
end

# == Views {{{
#
view1 "term" do
  match    "terms|default"
end

view1 "web" do
  match    "browser"
end

view2 "media" do
  match    "media"
end

view2 "work" do
  match    "gimp*|office"
end

Last edited by Thom (2012-07-19 09:28:15)

Offline

#414 2012-07-19 12:04:53

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

Re: subtle - another tiling window manager

Thom wrote:

I totaly fall in love with Subtle mechanics. Thanks for what you've done there.

Glad to hear and you are welcome. smile

Thom wrote:

I'm using a dual-head and I would know if it's possible to have some application using the two screen (for pictures) ?

Use the zaphod option for this, it spans the windows across all screens. W-= toggles that in the default config and you can use 'zaphod true' in a tag as well.

Thom wrote:

I try to make the second screen "independant" from the first.

Currently this isn't possible but you can add a feature request on subforge, you are the second one asking for that within two weeks.

Offline

#415 2012-08-07 07:13:53

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: subtle - another tiling window manager

Hi, I'm starting to use Subtle and I'm liking it, I'm starting to configure all the basics and I have an issue with the grabs. I'm trying to get XF86AudioRiseVolume to run the command for rising the volume via alsamixer with the grab:

grab "XF86AudioLowerVolume", "amixer set Master 5%-"

I did it with mute and it works but it doesn't work with rise/lower volume, my guess is the % or the + or - symbols are getting in the way but I don't know how. Is there something I'm missing?, I have done the key naming as the wiki says (the mute grab does work)

Offline

#416 2012-08-07 08:43:05

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: subtle - another tiling window manager

"amixer set Master 5%- unmute"
"amixer set Master 5%+ unmute"

Last edited by Earnestly (2012-08-07 08:43:50)

Offline

#417 2012-08-07 15:01:44

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: subtle - another tiling window manager

Kaustic wrote:
"amixer set Master 5%- unmute"
"amixer set Master 5%+ unmute"

Thanks for the reply but It doesn't work, I have used the command on a terminal and mine works ok, the grab is what is not working

Offline

#418 2012-08-07 18:06:36

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: subtle - another tiling window manager

xangelux wrote:
Kaustic wrote:
"amixer set Master 5%- unmute"
"amixer set Master 5%+ unmute"

Thanks for the reply but It doesn't work, I have used the command on a terminal and mine works ok, the grab is what is not working

Everything works now, in the freenode chat the good guys helped me, there was a stupidity factor there tongue

Offline

#419 2012-08-19 12:48:54

murr4y
Member
Registered: 2011-05-22
Posts: 10

Re: subtle - another tiling window manager

I installed some sublets but not all of them want to show up.
The battery sublet works fine and I'm also able to see the nm-applet.
But I can't see gmail, notify and volume. I put them all under screen, tried if they show up in a seperate bottom bar but nothing.
I think volume and notify should work right away; I also configured the gmail sublet.
Am I missing something? They're all listed under "sur list"

Offline

#420 2012-08-22 14:50:44

irtigor
Member
Registered: 2011-01-21
Posts: 44

Re: subtle - another tiling window manager

Volume: http://subforge.org/ezfaq/show/subtle?faq_id=27
Notify: should work if no other notification daemon is running (like xfce4-notifyd or dunst).

Offline

#421 2012-08-22 19:12:50

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: subtle - another tiling window manager

Hi, I've installed the volume sublet and it works but there is a bug, I have some grabs binded to my volume controls, when I use them to change the volume level the volume sublet doesn't update until I interact with it (change volume again using the mouse over the sublet or mute or unmute).

For the notify sublet, how can I know which notification system is running so I can shut it down in order to get it working, I have used ps -a | grep notify and doesn't say any.

Offline

#422 2012-09-28 13:59:15

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

Re: subtle - another tiling window manager

@ unexist
Hi, seems like subtle FAQ web page has some problems, it gives a 500 internal error when trying to open it.

Offline

#423 2012-12-28 18:57:45

ksevelyar
Member
From: Moscow
Registered: 2012-03-03
Posts: 5
Website

Re: subtle - another tiling window manager

When switching to tag www (default config), Firefox appears with a lag.

For a couple of moments I see wallpaper only, and then Firefox starts.

1. W+3
2. wallpaper
3. After ~0.3 second
4. Firefox

Xmonad had no lag like that. Is it possible to solve this?

If launching google-chrome/gvim, there is no lag in switching to them.

gtx570 + nvidia 310.19-2 + subtle 0.11.3224-1 + firefox 17.0.1-1


Sorry for my poor English.

Offline

#424 2012-12-29 01:38:01

pielgrzym
Member
Registered: 2010-02-18
Posts: 49

Re: subtle - another tiling window manager

Nevermind - this was probably cairo 1.12 being nasty again. Downgraded to 1.10 and gvim runs smoothly.

I got a similar slow refresh problem on Nvidia crap too - but it affects gvim when switching from multiple terminal windows to a view with gvim. I've already tried using nvidia-beta, some urxvt flavors with patches and removing all bells and whistles from  .Xdefaults. It's not a consistent behavior - sometime the redraw is fast, sometimes it redraws quickly only the space between the gaps and space previously occupied by urxvt windows is blank.

Last edited by pielgrzym (2012-12-29 02:18:20)

Offline

#425 2012-12-29 09:08:11

ksevelyar
Member
From: Moscow
Registered: 2012-03-03
Posts: 5
Website

Re: subtle - another tiling window manager

Can anyone share working scratchpad snippet, please?

http://subforge.org/projects/subtle/wik … Scratchpad do nothing for me (tested with 0.11.3238 | 0.11.3224-1).


Sorry for my poor English.

Offline

Board footer

Powered by FluxBB