Tarball sourcing non-existent /usr/share/byobu/keybingindings/common on startup?

Bug #535166 reported by ermo | Rune Morling
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
Low
Dustin Kirkland 

Bug Description

I've tried my hand at packaging Byobu for Foresight Linux using the 2.61 tarball release . On startup, byobu writes a new ~/.byobu/keybindings file which contains the line "source /usr/share/byobu/keybindings/common". This effectively disables the default (F-keys) keybindings and results in an error message being displayed briefly on startup.

If I change the line to "source /usr/share/byobu/keybindings/f-keys" Byobu works as expected. I observed the same behaviour with the 2.58 and the 2.59 tarballs as well.

The only file I can see that is named "common" is the one from /usr/share/byobu/profiles/

What gives?

Related branches

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 535166] [NEW] Tarball sourcing non-existent /usr/share/byobu/keybingindings/common on startup?

Ah, yes.

So /usr/share/byobu/keybindings/common is a symlink to
/usr/share/byobu/keybindings/f-keys created in the Debian and Ubuntu
packaging.

$ ls -alF /usr/share/byobu/keybindings/
total 20
drwxr-xr-x 2 root root 4096 2010-03-05 12:19 ./
drwxr-xr-x 8 root root 4096 2010-03-03 11:48 ../
lrwxrwxrwx 1 root root 6 2010-03-05 12:19 common -> f-keys
-rw-r--r-- 1 root root 2197 2010-03-03 01:14 f-keys
-rw-r--r-- 1 root root 63 2010-03-03 01:14 none
-rw-r--r-- 1 root root 2086 2010-03-03 01:14 screen-escape-keys

You just need to throw up that symlink in your package.

Thanks for packaging for Foresight ;-)

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Actually, I can fix this in the source tarball. Thanks!

Changed in byobu:
status: New → Fix Committed
status: Fix Committed → In Progress
importance: Undecided → Low
assignee: nobody → Dustin Kirkland (kirkland)
Revision history for this message
ermo | Rune Morling (ermo) wrote :

Dustin,

*facepalm*

Of course I could have created the link myself -- it just never occurred to me for some reason. I've been debugging other snafus that are mostly related to minor system differences; for instance, our screen uses /tmp/uscreen/ instead of /var/run/screen/ and I'm also seeing all sorts of tracebacks quickly flash by when I try to change config options (how do I save/keep those?)

In any case, creating the link in the tarball itself is probably the safest option as it simplifies packaging, where every little bit helps :o)

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 535166] Re: Tarball sourcing non-existent /usr/share/byobu/keybingindings/common on startup?

Will do! I've committed a fix. Will be in the next release ;-)

File other bugs, if there are other things that should be handled
upstream, rather than by the distro, for better portability. Thanks!

Changed in byobu:
status: In Progress → Fix Committed
Changed in byobu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.