Ubuntu screen profiles in SUSE Linux

What is this all about?

I like the look of screen application in Ubuntu, this feature is provided by screen-profiles package, which is not present in SUSE Linux (SLES 11).

Before start

Run zypper install newt newt-python to install dependencies.

Solution

contents of install-screen-profiles.sh

#!/bin/bash

PACKAGE_NAME='screen-profiles_1.44-0ubuntu1.2_all.deb'
WORKDIR='workdir-sp'
OPWD=`pwd`

# fetch package
wget http://us.archive.ubuntu.com/ubuntu/pool/main/s/screen-profiles/$PACKAGE_NAME

mkdir $WORKDIR

cd $WORKDIR

# unpack
ar x $OPWD/$PACKAGE_NAME

if [ ! -x "/usr/bin/screen.real" ] ; then
   sudo mv /usr/bin/screen /usr/bin/screen.real
else
   echo "Unable to write /usr/bin/screen.real - this can break your screen app"
fi

# unpack
tar -xvzf data.tar.gz

# Intall it
sudo find  usr -type f -exec install -D -m 755 {} "/{}" \;
sudo find  var -type f -exec install -D -m 755 {} "/{}" \;

echo "You may want to delete "$WORKDIR" (rm -rf $WORKDIR) "

Run bash install-screen-profiles.sh

Bugs

  • If you want to start screen after you login run bash /usr/share/screen-profiles/screen-launcher-install else bash /usr/share/screen-profiles/screen-launcher-uninstall.

  • F9 works a little bit strange … - so use it at your own risk.

Comments

comments powered by Disqus