mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Dumping unused default icons.
Install ede-xterm.desktop only if Desktop directory is not present or it is empty. This is done by install-in-desktop-dir.sh script. With this, when EDE is started for the first time, something will be on desktop.
This commit is contained in:
@ -1,10 +0,0 @@
|
||||
# EFLTK Configuration - Version 2,003000
|
||||
|
||||
[Desktop Entry]
|
||||
Icon=kppp.png
|
||||
X=20
|
||||
Y=210
|
||||
Name=Connect to Internet
|
||||
Exec=epppdialer
|
||||
Name[sk]=Pripojenie do Internetu
|
||||
|
18
data/desktop-links/Jamfile
Normal file
18
data/desktop-links/Jamfile
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Part of Equinox Desktop Environment (EDE).
|
||||
# Copyright (c) 2009 EDE Authors.
|
||||
#
|
||||
# This program is licensed under terms of the
|
||||
# GNU General Public License version 2 or newer.
|
||||
# See COPYING for details.
|
||||
|
||||
SubDir TOP data desktop-links ;
|
||||
|
||||
actions InstallIfEmpty
|
||||
{
|
||||
./$(SUBDIR)/install-in-desktop-dir.sh
|
||||
}
|
||||
|
||||
InstallIfEmpty install ;
|
@ -1,10 +0,0 @@
|
||||
# EFLTK Configuration - Version 2,003000
|
||||
|
||||
[Desktop Entry]
|
||||
Icon=konsole.png
|
||||
X=20
|
||||
Y=130
|
||||
Name=Terminal
|
||||
Exec=xterm
|
||||
Name[sk]=Terminál
|
||||
|
9
data/desktop-links/ede-xterm.desktop
Normal file
9
data/desktop-links/ede-xterm.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
Exec=xterm -fn 9x15
|
||||
Icon=utilities-terminal
|
||||
Categories=Utility;
|
||||
Name=Terminal
|
||||
Comment=Standard X11 terminal
|
18
data/desktop-links/install-in-desktop-dir.sh
Executable file
18
data/desktop-links/install-in-desktop-dir.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
# Create ~/Desktop/ directory if not exists and installs target file. If directory
|
||||
# exists but is empty, files will be also installed. If directory is not empty, it will do nothing.
|
||||
|
||||
desktop_dir="$HOME/Desktop"
|
||||
targets="ede-xterm.desktop"
|
||||
|
||||
[ -d $desktop_dir ] || mkdir -p $desktop_dir
|
||||
|
||||
curr_dir=`dirname $0`
|
||||
content=`ls $desktop_dir/*.desktop 2>>/dev/null`
|
||||
|
||||
# check if directory is empty and install if it does
|
||||
if test "x$content" = "x"; then
|
||||
for file in $targets; do
|
||||
cp $curr_dir/$file $desktop_dir
|
||||
done
|
||||
fi
|
Reference in New Issue
Block a user