LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2017, 02:14 PM   #1
Gruber
LQ Newbie
 
Registered: Mar 2017
Distribution: Knoppix
Posts: 5

Rep: Reputation: Disabled
Smile How to set the default terminal and create custom menus in Awesome Window Manager.


Hi everyone,

I am using Awesome window manager and I've got to the stage where I have two things that I would like to setup but I don't know how. I've looked around the awesome manual and many youtube videos but for some reason I'm struggling.

I want to :

Set fish as the default terminal that runs from the Awesome menu when you choose Open Terminal.

Create my own additional menu so that I can list the things that I use regularly on a regular basis all in one menu.

In words these don't seem to much to ask, but looking at the rc.lua in order to make them happen is confusing.

Help much appreciated.

Gruber
(Knoppix 7 with persistant storage layer. Awesome WM on a Lenovo T61.)
 
Old 03-28-2017, 02:57 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 6,770
Blog Entries: 3

Rep: Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628
this is your second thread about awesome by you, a self-confessed newbie.
why do you torture yourself with a window manager like awesome?

and if you really must, instead of opening a thread everytime you get stuck, why don't you familiarize yourself with awesome in a general way?
i know that its documentation is scattered, so back to my first question: why do you torture yourself with that when simpler, easier, more stable and also more lightweight and better documented window managers are around???
 
Old 03-28-2017, 03:39 PM   #3
Gruber
LQ Newbie
 
Registered: Mar 2017
Distribution: Knoppix
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
this is your second thread about awesome by you, a self-confessed newbie.
why do you torture yourself with a window manager like awesome?

and if you really must, instead of opening a thread everytime you get stuck, why don't you familiarize yourself with awesome in a general way?
i know that its documentation is scattered, so back to my first question: why do you torture yourself with that when simpler, easier, more stable and also more lightweight and better documented window managers are around???

Well, I'm a newbie to Awesome window managers and only moved to linux about two years ago full time. To answer your question, a tiling window manager makes better use of my slightly limited screen real-estate. I like using the keyboard more than the mouse although I don't particularly want to commit to using Rat Poison. I considered RP but it seemed too much like using Wordstar or WordPerfect for Dos all that Multiple layer key pressing just to do something seemed too much. I looked at I3 and compared it to Awesome and I liked the auto focus on Awesome when you have mulitple windows open and you move the mouse, the window where the mouse is, is active. I like that. Maybe I3 does this too, I'm not sure, I just chose Awesome really. I like the low memory useage, the lack of interface eye-candy and frankly I'm bored with using a WIMP GUI like KDE-GNOME-XFCE etc.
 
Old 03-28-2017, 03:50 PM   #4
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,737

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
google is my friend

"Awesome wm menu generation"

two years running -- google has been around for a while too .. just saying.

Switching to the awesome window manager
Keybindings
 
Old 03-28-2017, 03:59 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 6,770
Blog Entries: 3

Rep: Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628Reputation: 1628
fair enough.
i3 has MUCH better and more comprehensible documentation.
it can do everything you wish for.
what's RP?
 
Old 03-28-2017, 04:13 PM   #6
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,737

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
I'd have to agree with ondoho on that i3 over Awesome having to know lua over plain text config set up i i3. that is what made me pick i3 - I've moved on to fluxbox for now. but i3 is much simpler for sure.
 
Old 03-28-2017, 04:54 PM   #7
dejank
Member
 
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 224

Rep: Reputation: Disabled
For Awesome I can not help, never used it. If you really want it and like it more than I3, then use it. But in case that you would like to give I3 chance:

https://www.youtube.com/watch?v=j1I63wGcvU4

Watch all 3 parts and you'll also find some links to nice config files. And, as others have already stated, I3 is much better in terms of documentation and easier to configure.

Have fun
 
Old 03-28-2017, 06:41 PM   #8
Myk267
Member
 
Registered: Apr 2012
Location: California
Posts: 321
Blog Entries: 14

Rep: Reputation: Disabled
Aw. You don't have to abandon awesome for i3 just yet. If you change direction every time you find an obstacle in you'll get stuck in a valley.

First: I think you want chsh (read the man page) to change your shell from whatever it is now to fish.

Second: Editing the menu isn't too hard. Use your text editor to find the "mymainmenu" variable in lua.rc.

Code:
mystuff = {
	{"Web Browser", "firefox"},
	{"Another Browser", "chromium"}
}

mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu,beautiful.awesome_icon },
                                    { "open terminal", terminal },
                                    { "My stuff", mystuff},
                                  }
                        })
You don't have to put the "My stuff" entry at bottom, that's just where I put it. If you want more entries in the "mystuff" table, just make sure they have the same structure as the ones I wrote, and make sure they're separated with commas.

Here's a nice little resource for lua programming, with it's own set of links to other resources: https://learnxinyminutes.com/docs/lua/

Let us know if you need more help!
 
  


Reply

Tags
awesome, menus, terminal, window manager


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Where did Libre Office go to when I changed window manager from default to Awesome under Knoppix? Gruber Linux - Newbie 8 03-24-2017 02:06 PM
LXer: Awesome Window Manager Default Themes LXer Syndicated Linux News 0 02-05-2013 11:20 PM
LXer: Awesome Window Manager LXer Syndicated Linux News 0 06-16-2012 01:30 AM
Awesome Window manager ~ resize window key bindings do not work. bubnoff Linux - Desktop 0 12-23-2010 02:08 PM
awesome window manager loba09 Linux - Desktop 2 01-07-2010 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration