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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-28-2017, 01:14 PM
|
#1
|
LQ Newbie
Registered: Mar 2017
Distribution: Knoppix
Posts: 5
Rep: 
|
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.)
|
|
|
03-28-2017, 01:57 PM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
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???
|
|
|
03-28-2017, 02:39 PM
|
#3
|
LQ Newbie
Registered: Mar 2017
Distribution: Knoppix
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by ondoho
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.
|
|
|
03-28-2017, 02:50 PM
|
#4
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
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
|
|
|
03-28-2017, 02:59 PM
|
#5
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
fair enough.
i3 has MUCH better and more comprehensible documentation.
it can do everything you wish for.
what's RP?
|
|
|
03-28-2017, 03:13 PM
|
#6
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
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.
|
|
|
03-28-2017, 03:54 PM
|
#7
|
Member
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229
Rep: 
|
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 
|
|
|
03-28-2017, 05:41 PM
|
#8
|
Member
Registered: Apr 2012
Location: California
Posts: 422
Rep: 
|
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!
|
|
|
All times are GMT -5. The time now is 04:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|