Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
de:tips [2008/08/13 22:05] – Translate more, particularly Workspace margins kalikiana | de:tips [2008/09/11 00:12] – translated to german w3lly | ||
---|---|---|---|
Line 58: | Line 58: | ||
=== Programm hinzufügen === | === Programm hinzufügen === | ||
- | You have to create a .desktop | + | Einen neuen Eintrag für das Programmmenü kann erstellt werden, entweder Systemweit mit einer neuen '' |
- | In the following example, we create an entry in the menu with the name " | + | Ein Eintrag mit den Namen " |
[Desktop Entry] | [Desktop Entry] | ||
Line 66: | Line 66: | ||
Name=foo | Name=foo | ||
GenericName=bar | GenericName=bar | ||
- | Comment=Senseless program ever | + | Comment=Ein sinnloses Programm |
Exec=foobar | Exec=foobar | ||
Icon=/ | Icon=/ | ||
Line 73: | Line 73: | ||
Categories=Multimedia; | Categories=Multimedia; | ||
- | You can read more about .desktop | + | Mehr über '' |
- | + | Das '' | |
- | + | ||
- | The libexo | + | |
=== Ein Programm aus dem Menü entfernen === | === Ein Programm aus dem Menü entfernen === | ||
Line 104: | Line 102: | ||
Öffne **Einstellungen > Arbeitsflächen und Seitenränder > Seitenränder**. Wenn Du z.B. eine Leiste an der Oberkante des Bildes hast kannst Du Rand an der unteren Seite einstellen. Das gewährt Dir ab jetzt immer Zugriff auf den Hintergrund, | Öffne **Einstellungen > Arbeitsflächen und Seitenränder > Seitenränder**. Wenn Du z.B. eine Leiste an der Oberkante des Bildes hast kannst Du Rand an der unteren Seite einstellen. Das gewährt Dir ab jetzt immer Zugriff auf den Hintergrund, | ||
Der gleiche Trick klappt mit Leisten an allen Rändern. | Der gleiche Trick klappt mit Leisten an allen Rändern. | ||
+ | |||
+ | |||
+ | ===== Zeige Xfce-Logout Optionen durch drücken des Stromschalters ===== | ||
+ | |||
+ | Wenn ihr System ACPI unterstützt, | ||
+ | |||
+ | * ''/ | ||
+ | < | ||
+ | # / | ||
+ | # This is called when the user presses the power button and calls | ||
+ | # / | ||
+ | |||
+ | # Optionally you can specify the placeholder %e. It will pass | ||
+ | # through the whole kernel event message to the program you've | ||
+ | # specified. | ||
+ | |||
+ | # We need to react on " | ||
+ | # of kernel changes. | ||
+ | |||
+ | event=button[ /]power | ||
+ | action=/ | ||
+ | </ | ||
+ | |||
+ | * ''/ | ||
+ | < | ||
+ | # | ||
+ | # xfce4-shutdown-as-user.sh | ||
+ | # | ||
+ | # Check how many users are currently logged into X. | ||
+ | # If only one user is logged in, run a script which sets | ||
+ | # up the environment to call xfce4-session-logout. | ||
+ | |||
+ | LOGGED_IN_USER=`ls -l / | ||
+ | NUM_X_USERS=`echo $LOGGED_IN_USER | wc -l` | ||
+ | | ||
+ | if [ $NUM_X_USERS -eq 1 ]; then | ||
+ | sudo -H -u $LOGGED_IN_USER / | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | * ''/ | ||
+ | < | ||
+ | #!/bin/sh | ||
+ | # xfce4-user-session-shutdown.sh | ||
+ | # | ||
+ | # Set up the environment so that DISPLAY and | ||
+ | # SESSION_MANAGER are valid, and xfce4-session-logout can run | ||
+ | |||
+ | HOST=`hostname` | ||
+ | SESSION_ID=`ls / | ||
+ | # Note that distros use different syntax for the SESSION_MANAGER variable (this script has Debian' | ||
+ | # If this does not work, then try something like SESSION_MANAGER=" | ||
+ | # instead. You can always find the correct format for your distribution by looking at the | ||
+ | # value of SESSION_MANAGER in a X session. | ||
+ | DISPLAY=:0 SESSION_MANAGER=" | ||
+ | </ |