Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
awesome wm rules for java apps [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tuxtor
n00b
n00b


Joined: 22 Apr 2007
Posts: 43
Location: Guatemala

PostPosted: Wed Dec 19, 2012 4:40 am    Post subject: awesome wm rules for java apps [solved] Reply with quote

Hi I'm trying to define some rules (always on top, run on a specific tag) for some independent .jar applications at awesome wm.

In order to execute a .jar file, I have to do
java -jar program.jar

However if I define any other name than java in rc.lua file including the tittle of the program, it simply avoids the new rules

I've tried defining aliases in rc.lua file and writing a wrapper script in bash, but It does not work.


Last edited by tuxtor on Wed Dec 19, 2012 1:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
jormartr
Apprentice
Apprentice


Joined: 02 Jan 2008
Posts: 174

PostPosted: Wed Dec 19, 2012 10:44 am    Post subject: Reply with quote

You can use class, name or instance to define rules, have you tried that?

awesome faq about that
Back to top
View user's profile Send private message
tuxtor
n00b
n00b


Joined: 22 Apr 2007
Posts: 43
Location: Guatemala

PostPosted: Wed Dec 19, 2012 1:41 pm    Post subject: Reply with quote

Hi jormartr, it worked for me changing instance for name.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum