You are not logged in.
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
I dont think this would be the most proper solution but writing a script and executing it with urxvt -c script should work.
Offline
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
Does it work without slim (i.e. just startx)?
Offline
Didn't have a chance to test. Will try tomorrow and see.
meh
Offline
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
And it's working again.
Putting this down to my own stupidity and lack of sleep again.
meh
Offline
edit: Sorry wrong thread
Last edited by anonymous_user (2012-06-26 16:43:04)
Offline
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
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
pauldonnelly wrote:I believe "subtile" is an archaic spelling of "subtle". So it's pretty much the same word.
'subtile' sounds more like the German meaning of it.
works like buttah, thanks unexist
Offline
works like buttah, thanks unexist
You are welcome, I also fixed the placement issue with the sublet window but that requires r3226.
Offline
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
I totaly fall in love with Subtle mechanics. Thanks for what you've done there.
Glad to hear and you are welcome.
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.
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
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
"amixer set Master 5%- unmute"
"amixer set Master 5%+ unmute"
Last edited by Earnestly (2012-08-07 08:43:50)
Offline
"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
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
Offline
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
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
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
@ unexist
Hi, seems like subtle FAQ web page has some problems, it gives a 500 internal error when trying to open it.
Offline
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
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
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