mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-20 21:43:19 -07:00
* etc/update-motd.d, etc/update-motd.d/55-window-manager,
etc/update-motd.d/Makefile.am, Makefile.am, usr/bin/byobu-disable, usr/bin/byobu-enable: - add a helpful update-motd message and a convenient command to enable-and- launch byobu
This commit is contained in:
parent
150dc583b7
commit
8014151eb4
6 changed files with 76 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
SUBDIRS = etc/byobu \
|
SUBDIRS = etc/byobu \
|
||||||
|
etc/update-motd.d \
|
||||||
usr/share/applications \
|
usr/share/applications \
|
||||||
usr/share/byobu/ec2 \
|
usr/share/byobu/ec2 \
|
||||||
usr/share/byobu/keybindings \
|
usr/share/byobu/keybindings \
|
||||||
|
|
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -23,6 +23,11 @@ byobu (3.7) unreleased; urgency=low
|
||||||
usr/share/byobu/profiles/common: change location of $SSH_AUTH_SOCK symlink
|
usr/share/byobu/profiles/common: change location of $SSH_AUTH_SOCK symlink
|
||||||
from /var/run to $HOME, as we can't be sure that the user's var/run
|
from /var/run to $HOME, as we can't be sure that the user's var/run
|
||||||
dir will exist before screen starts, LP: #664059
|
dir will exist before screen starts, LP: #664059
|
||||||
|
* etc/update-motd.d, etc/update-motd.d/55-window-manager,
|
||||||
|
etc/update-motd.d/Makefile.am, Makefile.am, usr/bin/byobu-disable,
|
||||||
|
usr/bin/byobu-enable:
|
||||||
|
- add a helpful update-motd message and a convenient command to enable-and-
|
||||||
|
launch byobu
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 21 Oct 2010 12:09:14 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 21 Oct 2010 12:09:14 -0500
|
||||||
|
|
||||||
|
|
8
etc/update-motd.d/55-window-manager
Executable file
8
etc/update-motd.d/55-window-manager
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ ! -e /etc/profile.d/Z98-byobu.sh ]; then
|
||||||
|
cat <<EOF
|
||||||
|
For a superior command line experience, enable our text-based window manger:
|
||||||
|
byobu-enable
|
||||||
|
EOF
|
||||||
|
fi
|
2
etc/update-motd.d/Makefile.am
Normal file
2
etc/update-motd.d/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
etcdir = $(datadir)/update-motd.d
|
||||||
|
etc_DATA = 55-window-manager
|
29
usr/bin/byobu-disable
Executable file
29
usr/bin/byobu-disable
Executable file
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
#
|
||||||
|
# byobu-disable: disable byobu at login
|
||||||
|
# Copyright (C) 2010 Canonical Ltd.
|
||||||
|
#
|
||||||
|
# Authors: Dustin Kirkland <kirkland@canonical.com>
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, version 3 of the License.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
byobu-launcher-uninstall
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "The Byobu window manager will no longer be launched automatically at each text login."
|
||||||
|
echo
|
||||||
|
echo "To re-enable this behavior later, just run:"
|
||||||
|
echo " byobu-enable"
|
||||||
|
echo
|
||||||
|
echo -n "Press <enter> to continue..."
|
||||||
|
$(head -n1)
|
31
usr/bin/byobu-enable
Executable file
31
usr/bin/byobu-enable
Executable file
|
@ -0,0 +1,31 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
#
|
||||||
|
# byobu-enable: enable and launch byobu
|
||||||
|
# Copyright (C) 2010 Canonical Ltd.
|
||||||
|
#
|
||||||
|
# Authors: Dustin Kirkland <kirkland@canonical.com>
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, version 3 of the License.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
byobu-launcher-install
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "The Byobu window manager will be launched automatically at each text login."
|
||||||
|
echo
|
||||||
|
echo "To disable this behavior later, just run:"
|
||||||
|
echo " byobu-disable"
|
||||||
|
echo
|
||||||
|
echo -n "Press <enter> to continue..."
|
||||||
|
$(head -n1)
|
||||||
|
|
||||||
|
exec byobu
|
Loading…
Add table
Add a link
Reference in a new issue