Commit 1ba397f1 authored by Jens Henrik  Goebbert's avatar Jens Henrik Goebbert

added infoterm-wall-default for wall messages on JURECA

parent 99425e6b
[Desktop Entry]
Encoding=UTF-8
Version=
Type=Application
Name=infoterm-wall-default
Comment=
Exec=bash -c '/usr/bin/wait4signal.exe ${XDG_PROFILES_DIR}/default/data/infoterm-wall-default/infoterm-wall-default.sh'
StartupNotify=false
Terminal=false
Hidden=false
-- the debug_print command does only print anything to stdout
-- if devilspie2 is run using the --debug option
debug_print("Window Name: " .. get_window_name());
debug_print("Application name: " .. get_application_name())
if (get_window_name()=="infoterm-wall-default") then
-- Removes all window decorations
-- undecorate_window()
-- asks the window manager to put the window on all workspaces
pin_window()
-- Asks the window manager to keep the window's position fixed on the screen,
-- even when the workspace or viewport scrolls.
stick_window()
-- set this to true if you would like the window to skip listing in your tasklist
-- set_skip_tasklist(true)
-- set this to true if you would like the window to skip listing in your pager
-- set_skip_pager(true)
-- set the current window below all normal windows
-- set_window_below(true)
-- sets a window always on top
make_always_on_top()
-- centers the current window on the current workspace
center()
-- focuses the current window
-- focus_window() - this gives the error: "Wnck-WARNING **: Received a timestamp of 0; window activation may not function properly."
-- sets the window type, according to _NET_WM_WINDOW_TYPE
-- set_window_type("WINDOW_TYPE_SPLASH")
end
# set the XDG_CONFIG_HOME for infoterm to the directory infoterm.sh is stored
# and start terminal
# settings
INFOTERM_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo
echo "InfoTerm-Settings:"
echo " INFOTERM PATH = ${INFOTERM_DIR}/"
echo
# read stdin to TMP_FILE
export TMP_FILE=`mktemp`;
while read line
do
echo "$line" > ${TMP_FILE}
done < "${1:-/dev/stdin}"
# show TMP_FILE
XDG_CONFIG_HOME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" \
xfce4-terminal --disable-server --title=infoterm-motd-default --hide-menubar --hide-toolbar \
-e 'sh -c "cat ${TMP_FILE}; read -p \"Press [Enter] key to close...\""'
rm ${TMP_FILE}
unset TMP_FILE
[Configuration]
MiscAlwaysShowTabs=FALSE
MiscBell=FALSE
MiscBordersDefault=TRUE
MiscCursorBlinks=FALSE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
MiscDefaultGeometry=80x40
MiscInheritGeometry=FALSE
MiscMenubarDefault=FALSE
MiscMouseAutohide=FALSE
MiscToolbarDefault=FALSE
MiscConfirmClose=FALSE
MiscCycleTabs=TRUE
MiscTabCloseButtons=TRUE
MiscTabCloseMiddleClick=TRUE
MiscTabPosition=GTK_POS_TOP
MiscHighlightUrls=TRUE
TitleInitial=infoterm-wall-default
FontName=Monospace 11
ShortcutsNoMenukey=TRUE
ShortcutsNoMnemonics=TRUE
BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment