~ubuntu-branches/debian/sid/openbox/sid

« back to all changes in this revision

Viewing changes to .pc/658081_fix_kde_menu.patch/data/xsession/openbox-kde-session.in

  • Committer: Package Import Robot
  • Author(s): Mateusz Łukasik
  • Date: 2013-07-23 08:37:08 UTC
  • Revision ID: package-import@ubuntu.com-20130723083708-mcye16x2l1xlr0v5
Tags: 3.5.0-8
* New maintainer. (Closes: #566900)
* Bump standard version and compat.
* Add python-xdg to dependences:
  + Fix XDG_DATA_DIRS not set when using openbox-gnome-session,
    (Closes: #647427)
  + Fix openbox: missing dependency: python-xdg. (Closes: #695432)
* Update config files:
  + Add debian/patches/704724_fix_refers-to-autostart.sh.patch to fix
    openbox-session(1) refers to autostart.sh files, (Closes: #704724)
  + Add debian/patches/644628_fix_autostart.patch to fix openbox: Please
    provide a way to disable openbox-xdg-autostart via config file.
    (Closes: #644628)
* Remove support for gdm-control and gnome-panel-control to fix
  openbox: gdm-control fails to execute. (Closes: #705793)
* Add 91_fix_loose_focus.patch: From upstream, focus the windows when the
   execute action is run. (Closes: #709439)
* Add patches from Arch Linux:
  + openbox-3.5.0-which-2.20.patch,
  + openbox-3.5.0-title-matching.patch.
* Add 658081_fix_kde_menu.patch:
  + fix bad KDE menu placement when running a KDE/Openbox
  session (Closes: #658081)
* Add add_automake1.11_support.patch: From upstream, add support
  automake 1.11 and newest.
* Switch to Vcs-Git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
if test -n "$1"; then
 
4
    echo "Syntax: openbox-kde-session"
 
5
    echo
 
6
    echo "See the openbox-kde-session(1) manpage for help."
 
7
  exit
 
8
fi
 
9
 
 
10
# Set the prefix for the menu layout to use
 
11
export XDG_MENU_PREFIX="kde-"
 
12
 
 
13
# Clean up after GDM
 
14
xprop -root -remove _NET_NUMBER_OF_DESKTOPS \
 
15
      -remove _NET_DESKTOP_NAMES \
 
16
      -remove _NET_CURRENT_DESKTOP 2> /dev/null
 
17
 
 
18
# Run KDE with Openbox as its window manager
 
19
export KDEWM="@bindir@/openbox"
 
20
exec startkde "$@"