Browse Source

Misc fixes

tags/14.04.2
falkTX 11 years ago
parent
commit
1542e07bb8
5 changed files with 33 additions and 21 deletions
  1. +1
    -1
      menu/26kxstudio-menu
  2. +1
    -1
      menu/README
  3. +19
    -19
      scripts/xrec_1
  4. +3
    -0
      scripts/xrec_2
  5. +9
    -0
      welcome/Makefile

+ 1
- 1
menu/26kxstudio-menu View File

@@ -1,3 +1,3 @@
#!/bin/sh

export XDG_CONFIG_DIRS=/usr/share/kxstudio/menu/:/etc/xdg/
export XDG_CONFIG_DIRS=/usr/share/kxstudio/menu:/etc/xdg

+ 1
- 1
menu/README View File

@@ -15,5 +15,5 @@ This module was specially made for users that install a lot of apps, so the mult
To install just do the usual '[sudo] make install'.

If your distro does not follow '/etc/X11/Xsession.d/' rules, insert this new line into your ~/.bashrc or ~/.profile:
export XDG_CONFIG_DIRS=/usr/share/kxstudio/menu/:/etc/xdg/
export XDG_CONFIG_DIRS=/usr/share/kxstudio/menu:/etc/xdg


+ 19
- 19
scripts/xrec_1 View File

@@ -23,24 +23,24 @@ export DISPLAY=:0
plasma-desktop
}

case $1 in
gnome|-gnome|--gnome)
init_screen
start_screen_gnome
;;
kde4|-kde4|--kde4)
# case $1 in
# gnome|-gnome|--gnome)
# init_screen
# start_screen_gnome
# ;;
#
# kde4|-kde4|--kde4)
init_screen
start_screen_kde4
;;
*)
echo "usage: xrec_1 <DE>
DE can be:
-gnome Gnome session
-kde4 KDE4 session
"
;;
esac
# ;;
#
# *)
# echo "usage: xrec_1 <DE>
#
# DE can be:
# -gnome Gnome session
# -kde4 KDE4 session
# "
# ;;
#
# esac

+ 3
- 0
scripts/xrec_2 View File

@@ -9,4 +9,7 @@ mkdir -p $HOME/Screencasts/
xterm -display :0.0 -e jack_capture -b 24 $HOME/Screencasts/screencast_audio_$DATE-$TIME.wav &
ffmpeg -an -f x11grab -r 30 -s 1280x720 -i :2 -vcodec libx264 -vpre lossless_ultrafast -threads 2 $HOME/Screencasts/screencast_video_$DATE-$TIME.mkv

# ffmpeg -an -f x11grab -r 30 -padleft 1366 -s 1920x1080 -i :0 -vcodec libx264 -threads 2 $HOME/Screencasts/screencast_video_$DATE-$TIME.mkv
# -vpre lossless_ultrafast

killall jack_capture

+ 9
- 0
welcome/Makefile View File

@@ -0,0 +1,9 @@
# simple make file just to generate UI file

all: ui_welcome.py

ui_welcome.py:
pyuic4 -o ui_welcome.py welcome.ui

clean:
rm -f ui_welcome.py

Loading…
Cancel
Save