You are not logged in.
Pages: 1
Topic closed
Hello to everyone!
I just started using Awesome WM. Can someone answer some questions ? ![]()
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
Hello Flamelab!
http://wiki.archlinux.org/index.php/Awe … opup_Menus <- Is it good for you ?
Keyboard layout widget:
http://bbs.archlinux.org/viewtopic.php?id=75046
Offline
Hello ![]()
Thank you very much, i'll try your suggestions as soon as possible ![]()
Offline
Offline
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
This blog post may help answer your questions:
http://urukrama.wordpress.com/2008/07/1 … w-manager/
Good luck with it!
Offline
Thanks ! I guess that there won't be a problem with the syntax ? He seems to talk about Awesome 2.x
Offline
My bad! I sent you the wrong link - this is to 3.3
Offline
Νο prob ! I'll check it out.
Offline
And of course ArchWiki:
http://wiki.archlinux.org/index.php/Awesome3
Offline
And of course ArchWiki:
http://wiki.archlinux.org/index.php/Awesome3
...naturally: I assume that is already bookmarked ![]()
Offline
It's the first place I visited, by it didn't really help me though ![]()
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
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.
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 ![]()
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
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
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 ![]()
Offline
Oh that's nice. Thank you
(i'll try to see what I can take from it
)
---
Question: what is "Vicious" ? Is it downloadable ? (like wicked? )
Last edited by flamelab (2009-08-22 19:10:46)
Offline
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 ![]()
You need to install an RTFM interface.
Offline
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
Ι got lost in this rc.lua sorry ![]()
Offline
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.

You need to install an RTFM interface.
Offline
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
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
Offline
Pages: 1
Topic closed