Comments (7)
Digging around a bit, I found out about Arch's xdg-menu utility. It would be slightly simpler to maintain (since fewer lines are needed) and would provide a much more consistent solution across numerous window managers like Fluxbox, OpenBox or IceWM, not just awesome.
from archinstall.
Maybe changing the line
terminal = "xterm"
to
terminal = "alacritty"
webbrowser = "chromium"
filemanager = "nemo"
and changeing the part with
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{ "open terminal", terminal }
}
})
to
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{ "open terminal", terminal },
{ "open web browser", webbrowser },
{ "open file manager", filemanager }
}
})
is what you're looking for?
from archinstall.
Maybe changing the line
terminal = "xterm"to
terminal = "alacritty" webbrowser = "chromium" filemanager = "nemo"and changeing the part with
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon }, { "open terminal", terminal } } })to
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon }, { "open terminal", terminal }, { "open web browser", webbrowser }, { "open file manager", filemanager } } })is what you're looking for?
Exactly that :)
My main issue with awesome is that the LUA changes from time to time, so patch management is a PITA.
from archinstall.
I guess the simplest thing to do would be to have a diff patch included, it could be used by making a temporary copy of /etc/xdg/awesome/rc.lua
, patching it, then creating the directory /etc/skel/.config/awesome
on the target and moving the patched one there. Since awesome gets so few stable releases (4.3 was released over two years ago), it will probably be fine to do it that way.
from archinstall.
I guess the simplest thing to do would be to have a diff patch included, it could be used by making a temporary copy of
/etc/xdg/awesome/rc.lua
, patching it, then creating the directory/etc/skel/.config/awesome
on the target and moving the patched one there. Since awesome gets so few stable releases (4.3 was released over two years ago), it will probably be fine to do it that way.
I like that idea, In general we should probably have something like archinstall.apply_patch(installation, patch_file_path, destination_file_path)
for wrapping this functionality, It's needed else where too.
from archinstall.
That looks like a solid solution to the problem! Nice find!
from archinstall.
Also thinking about it, perhaps the changes could be put into an external file? Instead of patching the file at install and then leaving it, it could be put into a global directory and then be loaded from there. The only thing that would be required then would be to actually add the file load command itself, and those tend to not change. That could also be updated, but that would require a seperate package (it wouldn't be a good idea to install archinstall
for something other than installing archinstall
, would it?). It's questionable if that will work consistently for all WMs, but most should work.
from archinstall.
Related Issues (20)
- Don't format partition if it's not selected to format HOT 2
- Option to enable DNS caching (systemd-resolved) on other network configurations.
- failed install HOT 6
- RFE: support formatting nvme to optimal block size
- archinstall --config $yourconfigfile --creds &yourcredsfile dont work HOT 2
- seems to fail on existing linux partitions? log in description HOT 3
- /home not encrypted when it should be HOT 9
- Errors out when installing via Manual Partitioning HOT 1
- Grub doesnt recognize Windows after installing Arch through Archinstall HOT 4
- Error installing HOT 2
- `--help` should not require sudo HOT 1
- the auto partitioning size for /boot is too small HOT 10
- power-profiles-daemon package should be installed by default HOT 2
- ImportError: /usr/lib/libcrypto.so.3: version 'OPENSSL_3.3.P' HOT 3
- Something happen when i try install arch HOT 3
- Grub Install Failure HOT 2
- Selecting a single partition (ext4) it still creates different partitions for root and home. HOT 5
- sof-firmware and alsa-ucm-conf where not installed with pulse HOT 4
- /boot being mounted before / and its causing a crash HOT 5
- Israel is missing in mirror list HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archinstall.