From: Martin on
I installed awesome window manager on slack64-current. I've started
reading documentation/tutorials. I've made some tweaks in ~/.awesomerc
The problem is that the file rc.lua keeps popping up in tutorials and
I can't find it on my system. I'm not sure where to create it.
Some of the tutorials for awesome are for version 3.x. For compatibility
reason the awesome slackbuild is 2.x. From what I read there are
considerable differences between the two. So:

1. Where can I create rc.lua in awesome 2.3.6 (any examples, if possible:))?

2. How can I add a clock somewhere on the taskbar? (I'd assume some lua
script?)

3. Is it possible (with one keyboard shortcut) to open a few programs in
one tag (possibly, automatically on startup of awesome)?

Thank you


--
regards

Martin
From: barnabyh on
On Sat, 20 Feb 2010 15:55:45 +0000
Martin <xtd8865(a)gmail.com> wrote:

>
> 1. Where can I create rc.lua in awesome 2.3.6 (any examples, if
> possible:))?
>
> 2. How can I add a clock somewhere on the taskbar? (I'd assume some
> lua script?)
>
> 3. Is it possible (with one keyboard shortcut) to open a few programs
> in one tag (possibly, automatically on startup of awesome)?
>
> Thank you
>
>
Since awesome isn't even part of Slack I suspect you'll be better off
asking the awesome people?

Barnabyh


--
The general public is a bunch of morons who destroy the fun and life in
everything it collectively touches. Disney is what the public wants.
NASCAR is what the public wants. Windows is what the public wants.
(Slashdot, Monday March 28 2005, Gnome Removed From Slackware.)

From: Martin on
On 02/20/2010 04:08 PM, barnabyh wrote:
> On Sat, 20 Feb 2010 15:55:45 +0000
> Martin <xtd8865(a)gmail.com> wrote:
>
>>
>> 1. Where can I create rc.lua in awesome 2.3.6 (any examples, if
>> possible:))?
>>
>> 2. How can I add a clock somewhere on the taskbar? (I'd assume some
>> lua script?)
>>
>> 3. Is it possible (with one keyboard shortcut) to open a few programs
>> in one tag (possibly, automatically on startup of awesome)?
>>
>> Thank you
>>
>>
> Since awesome isn't even part of Slack I suspect you'll be better off
> asking the awesome people?
>
> Barnabyh
>
>

I guess you're right, just hoped someone would be using similar settings
here.

--
regards

Martin
From: anrxc on
Martin wrote:

> 1. Where can I create rc.lua in awesome 2.3.6 (any examples, if
> possible:))?
>
> 2. How can I add a clock somewhere on the taskbar? (I'd assume some lua
> script?)

No Lua in awesome v2. Awesome v2 uses libconfuse for configuration in the
awesomerc file. Awesome v3 uses rc.lua as the configuration file, which is a
Lua program.

You can create a widget (for your clock) in awesome v2 and feed it trough
awesome-client utility. Many used shell scripts, others used a widget
library called "Amazing" written in Ruby.


> 3. Is it possible (with one keyboard shortcut) to open a few programs in
> one tag (possibly, automatically on startup of awesome)?

Yes. Autostart applications from your xinitrc file and setup tag mappings in
the rules section of your awesomerc.


Awesome v3 switched to Lua, more than a year ago. What you are using is very
old, and there are not nearly as much resources as for v3. In addition since
now a true language is used to configure this window manager the sky is the
limit to what people do to improve their desktop - you can find numerous
libraries and addons for v3.

http://awesome.naquadah.org/wiki/Awesome-3-Slackware