Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
ca3d103a
Commit
ca3d103a
authored
Apr 14, 2017
by
Mikhail Efremov
Committed by
Michael Shigorin
May 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slinux: Disable tracker on live
Based on init5-disable-tracker from m-p-d.
parent
92f056e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
60-disable-tracker.sh
...ures.in/slinux/live/image-scripts.d/60-disable-tracker.sh
+17
-0
No files found.
features.in/slinux/live/image-scripts.d/60-disable-tracker.sh
0 → 100755
View file @
ca3d103a
#!/bin/sh
# Disable tracker on live
XDG_AS_DIR
=
/etc/xdg/autostart
LIVE_USER
=
altlinux
LIVE_USER_HOME
=
"/home/
$LIVE_USER
"
if
[
-d
"
$LIVE_USER_HOME
/.config/autostart"
]
;
then
for
d
in
extract miner-apps miner-fs miner-rss miner-user-guides store
;
do
[
-f
"
$XDG_AS_DIR
"
/tracker-
$d
.desktop
]
||
continue
cat
<<
EOF
>
$LIVE_USER_HOME
/.config/autostart/tracker-
$d
.desktop
[Desktop Entry]
Hidden=true
EOF
chown
"
$LIVE_USER
"
:
"
$LIVE_USER
"
$LIVE_USER_HOME
/.config/autostart/tracker-
$d
.desktop
done
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment