Local configuration file gets overwritten by byobu-config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Medium
|
Unassigned | ||
byobu (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
/etc/byobu/statusrc is a sample config file (that gets read first by byobu), with the mention:
# Byobu's default status notifications
# Override these in $BYOBU_
First, there's no clue about what $BYOBU_CONFIG_DIR might be (I had to read through the code to find out it is $XDG_CONFIG_HOME i.e. ~/.config/byobu by default).
So I copied this to ~/.config/
I just happened to see that byobu also look for ~/.config/
I am thus suggesting the following (btw, tell me if my attempt at configuring byobu started the wrong way):
* keeping names consistent (either use '/etc/byobu/status' and '~/.config/
* byobu-config should leave unmodified any line it doesn't know about in '~/.config/
* on the first run of byobu, populate '~/.config/
* adding 'NETWORK_UNITS' to '/etc/byobu/
* adding commentaries about the goal and allowed value of each configuration variable (eg. the unit of NETWORK_THRESHOLD). It's in the man, but having to look through every page of byobu man just to have a very basic piece of knowledge is a bit harsh.
If there's some obscure reasons for these facts I didn't see, well, you have all of my excuses.
Keep making byobu a very cool project !
Changed in byobu: | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in byobu: | |
status: | In Progress → Fix Committed |
Changed in byobu (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package byobu - 4.18-0ubuntu1
---------------
byobu (4.18-0ubuntu1) oneiric; urgency=low
[ Dustin Kirkland ] byobu-status: byobu-config, usr/bin/ byobu-ctrl- a, bin/byobu- disable, usr/bin/ byobu-launcher, usr/bin/ byobu-quiet, bin/byobu- reconnect- sockets, usr/bin/ byobu-select- profile, bin/byobu- select- session, usr/lib/ byobu/. constants: socketdir, usr/bin/byobu, usr/lib/byobu/date, lib/byobu/ notify_ osd, usr/share/ byobu/keybindin gs/f-keys, share/byobu/ keybindings/ screen- escape- keys, share/byobu/ profiles/ common, usr/share/ byobu/profiles/ NONE, share/byobu/ profiles/ tmux, usr/share/ byobu/windows/ common: byobu/. common, usr/lib/ byobu/. constants: byobu-classroom => l/byobu- classroom: byobu/. constants: byobu/. constants: byobu/. shutil: byobu/status, configure.ac, byobu/statusrc, experimental/ byobu-status- all => usr/bin/byobu- byobu-janitor, usr/bin/ byobu-status- Makefile. am, usr/lib/ byobu/color, lib/byobu/ .constants, usr/lib/ byobu/Makefile. am, lib/byobu/ .shutil, usr/share/ byobu/profiles/ common, share/byobu/ status/ 1, usr/share/ byobu/status/ 2, share/byobu/ status/ 3, usr/share/ byobu/status/ 4, share/byobu/ status/ Makefile. am: byobu-select- session, usr/lib/ byobu/. common, lib/byobu/ .constants, usr/lib/ byobu/. dirs, lib/byobu/ Makefile. am, usr/share/ byobu/profiles/ common, share/byobu/ status/ 1, usr/share/ byobu/status/ 2:
* usr/bin/byobu, usr/bin/
- remove some redundancies
* usr/bin/byobu, usr/bin/
usr/
usr/
usr/
- use a BYOBU_BACKEND environment variable, to support both screen
and tmux
* etc/byobu/
usr/
usr/
usr/
usr/
- use a BYOBU_BACKEND environment variable, to support both screen
and tmux
* usr/lib/
- ensure that libraries only get included once
* === removed directory usr/sbin, usr/sbin/
experimenta
- move the classroom to experimental (about to be an ensemble formula)
* etc/byobu/backend, usr/lib/
- add support for storing byobu backend configuration (screen|tmux)
* debian/control: start suggesting tmux
* usr/bin/byobu, usr/lib/
- support tmux -V version
* usr/lib/
- update ec2 detection method
* === added directory usr/share/
etc/
statusd, Makefile.am, usr/bin/
print, usr/bin/
usr/
usr/
usr/
usr/
usr/
- add shared configurations for status ordering
- install symlinks to status ordering
- add status script for status colors
- move color function to shared utils
- add stub for tmux color support
- add byobu-statusd, daemon to cache and update status information in the
run directory as the information expires
- add byobu-status-print, script to concatenate status per ordered
configuration
- move byobu backend support below BYOBU_CONFIG_DIR determination
- move status frequencies to a shared utility function
- drop the backtick commands for all the individual status functions
- add the backtick commands for the 4 quadrants of status
- update the hardstatus line accordingly
* usr/bin/
usr/
usr/
usr/
- fix string bug in select session
- re-add a couple of necessary backticks
- update caption line to use new statusd cache
- significantly reduce the numb...