SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-08-04 19:45:04

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

"Awesome" Window Manager

Hey =] I installed awesome last night and am trying to configure it atm I am a complete n00b at this as I usually use open/flux box. Can you post any helpful tutorials and scripts etc. here for people who are not used to awesome?

Last edited by xeNULL (2011-08-04 21:21:58)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

Help fund CrunchBang, donate to the project!

#2 2011-08-04 19:49:55

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,905

Re: "Awesome" Window Manager

Heres a brief tutorial and FAQ:

http://awesome.naquadah.org/wiki/My_first_awesome
http://awesome.naquadah.org/wiki/FAQ

The Awesome wiki of course also has other pages that may help you. If you have more specific setup questions, you could ask in this thread:

http://crunchbanglinux.org/forums/topic … ig-thread/


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#3 2011-08-04 19:56:18

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

Well my particular problem is that I need a titlebar with scroll, min, max and close buttons. Also I am not sure on how to make windows draggable. Thanks in advance


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#4 2011-08-04 20:06:14

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,905

Re: "Awesome" Window Manager

In your rc.lua in the last section (Signals), just uncomment the line that looks like:

awful.titlebar.add(c, { modkey = modkey })

Reload your awesome config and voila you have titlebars. It has a close button and restore/maximize. I don't think there is a minimize though.

As for dragging windows, first make sure the window is floating, then just hold the Super (Windows) key and drag with the left mouse button.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#5 2011-08-04 20:26:17

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

anonymous wrote:

In your rc.lua in the last section (Signals), just uncomment the line that looks like:

awful.titlebar.add(c, { modkey = modkey })

Reload your awesome config and voila you have titlebars. It has a close button and restore/maximize. I don't think there is a minimize though.

As for dragging windows, first make sure the window is floating, then just hold the Super (Windows) key and drag with the left mouse button.

Thanks for your help =]


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#6 2011-08-04 20:46:56

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

Also I was just wondering how do you run autostarts?


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#7 2011-08-04 20:52:23

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,905

Re: "Awesome" Window Manager

I just use~/.xinitrc file however that method will not work if you use GDM.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#8 2011-08-04 21:19:30

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

anonymous wrote:

I just use~/.xinitrc file however that method will not work if you use GDM.

Im gathering to remove GDM is to remove gdm from /etc/rc.conf?


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#9 2011-08-04 21:22:35

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,905

Re: "Awesome" Window Manager

Are you using Arch or Debian? I don't think /etc/rc.conf exists in Debian.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#10 2011-08-04 21:34:25

DarthWound
#! CrunchBanger
From: Paris, France.
Registered: 2010-08-17
Posts: 241
Website

Re: "Awesome" Window Manager

anonymous wrote:

I just use~/.xinitrc file however that method will not work if you use GDM.

Well, actually, it works if you choose the "execute client script" session in GDM (don't know the exact name in english).
If it still doesn't work, just ln xinitrc and xsessions.
---

xeNULL if you really want to remove GDM you can remove the package, Debian doesn't use a rc.conf.

Offline

#11 2011-08-04 22:03:37

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

anonymous wrote:

Are you using Arch or Debian? I don't think /etc/rc.conf exists in Debian.

Im using debian. Tried Arch and it was too much hassle lol almost finished it as well


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#12 2011-08-05 01:28:45

gutterslob
#! Resident Bum
Registered: 2009-11-03
Posts: 2,645

Re: "Awesome" Window Manager

Haven't used GDM or Awesome in a long while. Can't recall if Awesome has it's own start file or not.

You should have an awesome or awesome.desktop file in your /usr/share/xsessions. Open it with a text editor and copy-pasta the contents here.

It might be just a simple matter of symlinking or telling GDM to read a script to launch startup apps before the wm is launched.

Last edited by gutterslob (2011-08-05 01:33:46)


Point & Squirt

Offline

#13 2011-08-05 02:08:30

DarthWound
#! CrunchBanger
From: Paris, France.
Registered: 2010-08-17
Posts: 241
Website

Re: "Awesome" Window Manager

Awesome has an autostart ^^

In the rc.lua (or awesomerc if older version I guess), at the end :

-- {{{ Autostart
-- Launch programs at startup
awful.util.spawn("nitrogen --restore")
awful.util.spawn("wicd-client")
--awful.util.spawn("conky")
awful.util.spawn("xfce4-volumed")
awful.util.spawn("update-notifier")
-- }}}

That's mine for example.

For GDM see my post above.

Offline

#14 2011-08-05 19:35:50

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

thanks for that dartthwound =]


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#15 2011-08-05 20:23:55

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

How do I edit the menu? Also so that it shows no icons?


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#16 2011-08-05 20:25:47

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,905

Re: "Awesome" Window Manager

You can edit awesomewm's menu in rc.lua near the beginning, its starts something like:

-- {{{ Menu
-- Create a laucher widget and a main menu
awesomemenu = {

As for icons, the menu doesn't have icons. Or are you talking about icons somewhere else?


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#17 2011-08-05 20:53:44

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

anonymous wrote:

As for icons, the menu doesn't have icons. Or are you talking about icons somewhere else?

Must be a newer version. The menu is showing icons for a few programs in the list. I will have to have a look through the code. Thanks for your help


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#18 2011-08-05 21:26:00

DarthWound
#! CrunchBanger
From: Paris, France.
Registered: 2010-08-17
Posts: 241
Website

Re: "Awesome" Window Manager

Icons you see are with the Debian Menu, which is set by default in awesome.

You should visit those links if you want to learn more about awesome (which is really awesome) :
http://crunchbanglinux.org/forums/topic … ig-thread/
http://awesome.naquadah.org/wiki/Main_Page

I could give you my menu for example but if you have awesome < 3.4.9 it won't fit. (I have awesome 3.4.10)

edit : forgive my english if it's bad, I'm quite tired tonight.

Last edited by DarthWound (2011-08-05 21:26:43)

Offline

#19 2011-08-06 16:35:29

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

No I understand you perfectly lol. Yes awesome is awesome I have almost finished configuring. Just have keyboard shortcuts and the menu to sort out. I just ran awesome --version and its  v3.4.6.


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#20 2011-08-06 19:29:39

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

right I have worked out [kinda] how to do shortcut keys although I prefer using gmrun and dmenu to execute programs. Anyone know why these commands are not working?

    awful.key({ modkey, "Alt"     }, "F2", function () awful.util.spawn(gmrun) end),
    awful.key({ modkey, "Alt"     }, "F3", function () awful.util.spawn(dmenu) end),

Last edited by xeNULL (2011-08-06 19:30:13)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#21 2011-08-06 19:34:28

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,905

Re: "Awesome" Window Manager

Try putting gmrun and dmenu in quotes.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#22 2011-08-06 19:40:42

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

anonymous wrote:

Try putting gmrun and dmenu in quotes.

lol didnt think of that. thanks =]


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#23 2011-08-11 00:28:37

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

Anyone got any tips on making the top bar look fancy? and also align it to the bottom?


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#24 2011-08-11 01:25:34

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,905

Re: "Awesome" Window Manager

Well what do you mean fancy?

To align to the bottom, just look for this line in rc.lua:

mywibox[s] = awful.wibox({ position = "top", screen = s })

And just change top to bottom and restart awesome.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

Help fund CrunchBang, donate to the project!

#25 2011-08-11 11:22:51

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: "Awesome" Window Manager

Fancy like sunjack screeny here http://sunjack94.deviantart.com/#/d3jxiip


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo