You are not logged in.

#1 2009-08-08 03:47:42

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Awesome WM questions

Hello to everyone!

I just started using Awesome WM. Can someone answer some questions ? smile

1) How can we add a Keyboard layout widget to Awesome ? Can we configure it someway in rc.lua ?
2) Can the awesome menu (up in the left corner) can contain, if I press it, my Applications ? Like the KDE/GNOME/Xfce/Openbox menus.

Thank you very much.

Offline

#2 2009-08-08 07:36:58

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Awesome WM questions

Offline

#3 2009-08-08 07:52:50

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Awesome WM questions

Hello smile

Thank you very much, i'll try your suggestions as soon as possible smile

Offline

#4 2009-08-08 08:20:56

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Awesome WM questions

No problem, feel free to ask us smile

Offline

#5 2009-08-08 08:30:19

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Awesome WM questions

About the keyboard layout:

1) Which is exactly the "Mod" key ?
2)How can I use "Ctrl + Shift" in order to change layout ?

Thank you.

And about the mouse:

1)How can I change the mouse theme in Awesome ?

Last edited by flamelab (2009-08-08 08:31:01)

Offline

#6 2009-08-08 08:48:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Awesome WM questions

This blog post may help answer your questions:

http://urukrama.wordpress.com/2008/07/1 … w-manager/

Good luck with it!


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2009-08-08 08:54:58

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Awesome WM questions

Thanks ! I guess that there won't be a problem with the syntax ? He seems to talk about Awesome 2.x

Offline

#8 2009-08-08 08:58:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Awesome WM questions

My bad! I sent you the wrong link - this is to 3.3

http://compsoc.tardis.ed.ac.uk/wiki/AwesomeWM_guide


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2009-08-08 09:03:05

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Awesome WM questions

Νο prob ! I'll check it out.

Offline

#10 2009-08-08 09:43:41

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Awesome WM questions

Offline

#11 2009-08-08 09:49:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Awesome WM questions

djszapi wrote:

...naturally: I assume that is already bookmarked smile


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2009-08-08 09:51:21

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Awesome WM questions

It's the first place I visited, by it didn't really help me though hmm

For example, in the widgets area. It says "do this, do that", but it doesn't say "what am I exactly doing?". I did edit rc.lua by adding these, but I don't know how to configure them, or how to find other widgets.

And this http://awesome.naquadah.org/wiki/Wicked is full of examples, but it doesn't really help somebody new to Awesome.

Last edited by flamelab (2009-08-08 09:54:30)

Offline

#13 2009-08-08 18:22:43

alterecco
Member
Registered: 2009-07-13
Posts: 152

Re: Awesome WM questions

flamelab wrote:

1) Which is exactly the "Mod" key ?

The Mod key is user definable, and in the end dependant on your keyboard setup.
Take a look at the output of xmodmap -pm. It will show you the current modifiers assigned on your keyboard.
Mod4 is as far as I remember the default Mod key in awesome. It is probably assigned to Super_L (typically your left Windows Key), but it can theoretically be assigned to any key.

flamelab wrote:

2)How can I use "Ctrl + Shift" in order to change layout ?

To trigger an awesome keybinding the key set as Mod has to be involved. In addition, a combination of modifiers alone is not sufficient. A regular key has to be involved. So, you could set Mod+Ctrl+Shift+t to toggle layout.
In awesomes rc.lua it would look something like this

awful.key({ modkey, "Shift", "Control"}, "t", function () myLayoutTogglingFunction() end)

Please note that the layout toggling function should be replaced by something real smile

1)How can I change the mouse theme in Awesome ?

Awesome has nothing to do with the drawing of the mouse. There should be some X program or other that deals with that (a quick pacman search reveals a package named xcursor-themes. Take a look at that)

Hope that helped

.]

Offline

#14 2009-08-22 17:03:34

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Awesome WM questions

Hmm, another question:

Can I (somehow) rename those "1 2 3 4 5 6 7 8 9" workspaces ? I want for example to have them renamed like "www editor terminal" (etc etc)

Can that be done with Shifty ? I can't find it on AUR. Can I use Eminent ?

Offline

#15 2009-08-22 18:37:35

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Awesome WM questions

A god source for configuring awesome is the rc.lua from anrxc:

http://sysphere.org/~anrxc/local/scr/do … c.lua.html

From him a have stolen nearly all of my config smile

Offline

#16 2009-08-22 19:09:02

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Awesome WM questions

Oh that's nice. Thank you wink (i'll try to see what I can take from it tongue)

---

Question: what is "Vicious" ? Is it downloadable ? (like wicked? )

Last edited by flamelab (2009-08-22 19:10:46)

Offline

#17 2009-08-22 19:44:21

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 835
Website

Re: Awesome WM questions

Question: what is "Vicious" ? Is it downloadable ? (like wicked? )

You obviously did not read the FAQ in the header. It's 50 lines, how could you miss it smile


You need to install an RTFM interface.

Offline

#18 2009-08-22 19:55:42

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Awesome WM questions

anrxc wrote:

Question: what is "Vicious" ? Is it downloadable ? (like wicked? )

You obviously did not read the FAQ in the header. It's 50 lines, how could you miss it smile

Ι got lost in this rc.lua sorry big_smile

Offline

#19 2009-08-23 00:32:29

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 835
Website

Re: Awesome WM questions

You didn't get answers to some of your previous questions... 20 days have passed so I guess you solved some of the issues. However the menu is important so you, and future readers, should know that there is a project called awesome-freedesktop which provides a complete menu.

awesome-freedesktop.png


You need to install an RTFM interface.

Offline

#20 2013-03-10 05:17:57

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Awesome WM questions

I followed this guide http://awesome.naquadah.org/wiki/Change_keyboard_maps and pasted

-- Keyboard map indicator and changer
kbdcfg = {}
kbdcfg.cmd = "setxkbmap"
kbdcfg.layout = { { "us", "" }, { "gr", "" } }
kbdcfg.current = 1  -- us is our default layout
kbdcfg.widget = wibox.widget.textbox()
kbdcfg.widget:set_text(" " .. kbdcfg.layout[kbdcfg.current][1] .. " ")
kbdcfg.switch = function ()
  kbdcfg.current = kbdcfg.current % #(kbdcfg.layout) + 1
  local t = kbdcfg.layout[kbdcfg.current]
  kbdcfg.widget:set_text(" " .. t[1] .. " ")
  os.execute( kbdcfg.cmd .. " " .. t[1] .. " " .. t[2] )
end

 -- Mouse bindings
kbdcfg.widget:buttons(
 awful.util.table.join(awful.button({ }, 1, function () kbdcfg.switch() end))
) 

and

-- Alt + Right Shift switches the current keyboard layout
    awful.key({ "Mod1" }, "Shift_R", function () kbdcfg.switch() end),

It works with the mouse. The problem I have is that with keyboard shortcut (Alt + Shift_R) if I click it once it works (it changes to gr). After that I cannot use Alt + Shift_R again to go back to us while mouse works.
If I click the combination 2 (or 4) times it works (gr-us-gr-us) and then it works again to go to gr.
But if I click the combination 1, 3 or 5 times (gr-us-gr) then it does not work anymore, I have to use the mouse to change from gr.

Also, the Num Lock light switches off when I use Alt+Shift_R (but I can use the numbers).

Any idea why these happen?
Thank you

Last edited by hariskar (2013-03-10 05:34:15)

Offline

#21 2013-03-10 05:42:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Awesome WM questions

This thread is nearly four years old; awesome has changed considerably in that period.
Please do not necrobump threads:
https://wiki.archlinux.org/index.php/Fo … Bumping.27


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB