View previous topic :: View next topic |
Author |
Message |
Randar Tux's lil' helper
Joined: 15 Nov 2003 Posts: 95
|
Posted: Fri May 21, 2004 8:14 am Post subject: [X] "Autostart" von Programmen |
|
|
Hi
ich hab mir Fluxbox auf meinem Gentoo system eingerichtet, weil ich Programme wie gkrellm automatisch starten wollte hab ich mal die Dokumentation zu fluxbox auf gentoo.de bei rate gezogen.
Doch es geht kein Autostart. Ich habs in die .xsession in die .xiinitrc und in fluxbox geschrieben. Doch gkrellm startet nicht. Ich hab das gefühl al swenn xsession und xinitrc garnicht aufgerufen werden, weil ich die Dateien vorher auch erst erstellen musste. |
|
Back to top |
|
|
sirro Veteran
Joined: 20 Jul 2003 Posts: 1472 Location: aachen.nrw.de.eu
|
Posted: Fri May 21, 2004 8:21 am Post subject: |
|
|
im Verzeichnis .fluxbox wird soweit ich mich erinnere automatisch eine Datei zum autostart von Programm angelegt. Guck einfach mal da rein. Vielleicht hilfts... |
|
Back to top |
|
|
disi Veteran
Joined: 28 Nov 2003 Posts: 1354 Location: Out There ...
|
Posted: Fri May 21, 2004 8:38 am Post subject: |
|
|
ich schliesse mich hier mal an also ich möchte aterm gestartet haben bei x-start, nutze xfce4.
er soll so starten, dass er auf dem bottom-layer liegt, eine bestimmte grösse hat, keinen rahmen, transparent und er soll /etc/profile auslesen.
folgendes habe ich schon zusammen:
Code: | aterm -tr -trsb -g 100x69 & |
was ich nicht finde ist, wie verhindere ich den rahmen von windows-manager, wie lege ich den aterm auf den bottom beim start und wie bekomme ich eine anständige PS1?
oder ob das überhaupt geht ?
eingetragen habe ich das terminal in die .xinitrc
edit: hab eben noch -bl entdeckt also das rahmen-prob ist gelöst _________________ Gentoo on Uptime Project - Larry is a cow
Last edited by disi on Fri May 21, 2004 8:44 am; edited 1 time in total |
|
Back to top |
|
|
Randar Tux's lil' helper
Joined: 15 Nov 2003 Posts: 95
|
Posted: Fri May 21, 2004 8:41 am Post subject: |
|
|
So also das mit dem startup menü von fluxbox hat fast geklappt. Also das Programm mit dem der Hintergrund gesetzt wird geht schonmal, doch gkrellm startet nicht :-/
Wenn ich "gkrellm -w &" in aterm ausführe geht es einwandfrei. |
|
Back to top |
|
|
disi Veteran
Joined: 28 Nov 2003 Posts: 1354 Location: Out There ...
|
|
Back to top |
|
|
Randar Tux's lil' helper
Joined: 15 Nov 2003 Posts: 95
|
Posted: Fri May 21, 2004 10:20 am Post subject: |
|
|
Ich trage jetzt die Programme in ~.fluxbox/startup ein. |
|
Back to top |
|
|
Randar Tux's lil' helper
Joined: 15 Nov 2003 Posts: 95
|
Posted: Sun May 23, 2004 8:44 am Post subject: |
|
|
Keiner mehr Hilfe für mich? Die methode geht ja noch nicht ganz, siehe gkrellm.
Naja ich schreib jetzt einfach mal meine configs.
/etc/X11/sessions/fluxbox
Quote: |
#!/bin/sh
source /etc/profile
startup=$HOME/.xsession
/usr/bin/fluxbo
|
fluxbox startup
Quote: |
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
Esetroot -s /home/js-mueller/.fluxbox/backgrounds/influx.png &
#
# This sets a black background
/usr/bin/bsetroot -solid black
# This shows the fluxbox-splash-screen
# fbsetbg -C /usr/share/fluxbox/splash.jpg
# Other examples. Check man xset for details.
#
# Turn off beeps:
# xset -b
#
# Increase the keyboard repeat-rate:
# xset r rate 195 35
#
# Your own fonts-dir:
# xset +fp /home/js-mueller/.font
# Your favourite mouse cursor:
# xsetroot -cursor_name right_ptr
#
# Change your keymap:
# xmodmap ~/.Xmodmap
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
gkrellm -w &
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
exec /usr/bin/fluxbox
# or if you want to keep a log:
# exec /usr/bin/fluxbox -log ~/.fluxbox/log
|
Den fluxbox startup musste ich mehrteilig rauskopieren, ich hoffe ich hab nichts vergessen. |
|
Back to top |
|
|
simon Apprentice
Joined: 26 Apr 2002 Posts: 225 Location: Vienna
|
Posted: Sun May 23, 2004 6:55 pm Post subject: |
|
|
Randar wrote: |
fluxbox startup
Quote: |
[...]
gkrellm -w &
[...]
|
|
Verwendest du nicht gkrellm2 oder ist das hier ein copy/paste Fehler?
simon |
|
Back to top |
|
|
|