Xorg and my laptop

2014-11-30 Thread Mohsen Pahlevanzadeh
Dear all, I migrate to awesome, But may be awesome depend on X, At first i provided xorg.conf with: Xorg -configure Then i changed InputClass such as : /// Section "InputClass" Identifier "keyboard0"

Re: Xorg and my laptop

2014-12-01 Thread Mohsen Pahlevanzadeh
; it's now recommended to not use the xorg.conf file, but the xorg.conf.d/ folder with one file for each device. Hopping that it will help you. Regards, Alexis Le Mon Dec 01 2014 at 03:21:46, Mohsen

Re: Xorg and my laptop

2014-12-04 Thread Mohsen Pahlevanzadeh
t a question : after defining your awful.key (your key binding, which is, moreover, defined twice), did you add it to root.keys ? https://github.com/awesomeWM/awesome/blob/master/awesomerc.lua.in#L347 Regards, Alexis Le Mon Dec 01

Re: Xorg and my laptop

2014-12-04 Thread Mohsen Pahlevanzadeh
ining your awful.key (your key binding, which is, moreover, defined twice), did you add it to root.keys ? https://github.com/awesomeWM/awesome/blob/master/awesomerc.lua.in#L347 Regards, Alexis Le Mon Dec 01 2014 at 20:43:52, Mohse

attemp to index global right_layout(a nil value)

2014-12-04 Thread Mohsen Pahlevanzadeh
Dear all, Hello, According to this page: https://awesome.naquadah.org/wiki/Change_keyboard_maps , I add the following line to my rc.lua : --- -- Add widget to your layout right_layout:add(kbdcfg.widget) --

Re: Xorg and my laptop

2014-12-05 Thread Mohsen Pahlevanzadeh
itch No more needed as your function doesn't require any arguments. it increases the readability. Regards, Alexis Le Thu Dec 04 2014 at 20:41:58, Mohsen Pahlevanzadeh <moh...@pahlevanzadeh.org> a écrit :

lua programming for awesome

2014-12-11 Thread Mohsen Pahlevanzadeh
Dear all, I found lua and luac on my machine, When i run : luac ./config/awesome/rc.lua I don't get any error. But when i run : lua ./config/awesome/rc.lua I get the following error: /// mohsen@debian:~$ lua

rc.lua development

2014-12-12 Thread Mohsen Pahlevanzadeh
Dear all, Suppose you are develope with C++ or Python or bash : in c++ : you have cout << "blahblah" << endl; in python : print "blahblah" in bash: echo -e "blahblah\n" or printf  command in lua we have print command for printing. S

aweful.key doesn't work

2014-12-15 Thread Mohsen Pahlevanzadeh
Dea all, awsome version: 3.5 I wrote the following code:   keyboard_layout = {"us","ir"}   current_layout =  keyboard_layout[1] switch = function()     naughty.notify{text=current_layout}     if current_layout == "us" then current_layou

awesoem wiki asminitrator

2014-12-24 Thread Mohsen Pahlevanzadeh
Dear all, Who is awesome wiki administrator? --Regards Mohsen -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

move a process to other tag

2015-01-06 Thread Mohsen Pahlevanzadeh
Dear all, Suppose I have a proccess such as music player or icedove at tag n.How can i move it to tag n-3 or my choosen tag? --Regards, Mohsen -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

new version of awesome and old version of a peace of code

2015-01-22 Thread Mohsen Pahlevanzadeh
Dear All, I migrated 3.5.x (32bit) to 64bit, I don't remember version of my awesome, My screenshot was working fine But doesn't work with new version: my new version of awesome is 3.5.5-1 I put such as past into rc.lua: awful.key({ }, "Print", function () awful.util.spawn("scrot -e 'mv $f ~/

new version of awesome and old version of a peace of code

2015-01-22 Thread Mohsen Pahlevanzadeh
Dear All, I migrated 3.5.x (32bit) to 64bit,  I don't remember version of my awesome, My screenshot was working fine But doesn't work with new version: my new version of awesome is 3.5.5-1 I put such as past into rc.lua: awful.key({ }, "Print", function

attempt to index global 'wibox' (a nil value)

2015-10-01 Thread Mohsen Pahlevanzadeh
Dear All, I have the following lua code: --- mywidget = wibox.widget.textbox() Then I get the following error: - attempt to index global 'wibox' (a nil value) - 1. What's the given error? 2. How can solve it? Note: I use awesome 3.5