Skip to content

Commit c47703d

Browse files
..
1 parent 23d06d6 commit c47703d

File tree

9 files changed

+51
-51
lines changed

9 files changed

+51
-51
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# fs-manager-hippo
1+
# fs-manager-udroid
22
A tool manage common things with ubuntu-on-android
33
& some scripts and linux apps
44

5-
[![CodeFactor](https://www.codefactor.io/repository/github/randomcoderorg/fs-manager-hippo/badge)](https://www.codefactor.io/repository/github/randomcoderorg/fs-manager-hippo)
5+
[![CodeFactor](https://www.codefactor.io/repository/github/randomcoderorg/fs-manager-udroid/badge)](https://www.codefactor.io/repository/github/randomcoderorg/fs-manager-udroid)
66
<!--
77
## Target to V01
88
- [X] upgrade system
9-
- [X] launch shorcuts vncserver and others ( [0530e7965907002c614e70c6f8a398c6b9d13fd8](https://github.com/RandomCoderOrg/fs-manager-hippo/commit/0530e7965907002c614e70c6f8a398c6b9d13fd8) to [5a4ee56e9219988b24204e8b49787a8f7ed3b8ef](https://github.com/RandomCoderOrg/fs-manager-hippo/commit/5a4ee56e9219988b24204e8b49787a8f7ed3b8ef) )
9+
- [X] launch shorcuts vncserver and others ( [0530e7965907002c614e70c6f8a398c6b9d13fd8](https://github.com/RandomCoderOrg/fs-manager-udroid/commit/0530e7965907002c614e70c6f8a398c6b9d13fd8) to [5a4ee56e9219988b24204e8b49787a8f7ed3b8ef](https://github.com/RandomCoderOrg/fs-manager-udroid/commit/5a4ee56e9219988b24204e8b49787a8f7ed3b8ef) )
1010
-->

etc/proot-env/Hidpi/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
hidipi
22

33

4-
This apps comes preinstalled in hippo
4+
This apps comes preinstalled in udroid
55

66
scripts in this folders are prconfigured to run with WhiteSur Theme
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[Desktop Entry]
2-
Name=Hippo HiDPI Mode
3-
Exec=hippo-hidpi-mode
2+
Name=udroid HiDPI Mode
3+
Exec=udroid-hidpi-mode
44
Terminal=false
55
Type=Application
6-
Icon=/usr/share/hippo/hidpi-logo.png
6+
Icon=/usr/share/udroid/hidpi-logo.png
77
OnlyShowIn=XFCE
8-
Keyboards=display;screen;hidpi;hippo;
8+
Keyboards=display;screen;hidpi;udroid;

etc/proot-env/Hidpi/hidpi/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env bash
22

3-
ICONDIR="/usr/share/hippo"
3+
ICONDIR="/usr/share/udroid"
44

55
if [ -f app.sh ]; then
6-
cp app.sh /bin/hippo-hidpi-mode
7-
chmod 775 /bin/hippo-hidpi-mode
6+
cp app.sh /bin/udroid-hidpi-mode
7+
chmod 775 /bin/udroid-hidpi-mode
88
fi
99

1010
if [ -f logo.png ]; then
@@ -19,7 +19,7 @@ fi
1919

2020
if [ -f app.desktop ]; then
2121
if [ -d /usr/share/applications ]; then
22-
cp app.desktop /usr/share/applications/hippo-hidpi-mode.desktop
22+
cp app.desktop /usr/share/applications/udroid-hidpi-mode.desktop
2323
fi
2424
fi
2525

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[Desktop Entry]
2-
Name=Hippo XHiDPI Mode
3-
Exec=hippo-xhidpi-mode
2+
Name=udroid XHiDPI Mode
3+
Exec=udroid-xhidpi-mode
44
Terminal=false
55
Type=Application
6-
Icon=/usr/share/hippo/xhidpi-logo.png
6+
Icon=/usr/share/udroid/xhidpi-logo.png
77
OnlyShowIn=XFCE
8-
Keyboards=display;screen;hidpi;hippo;
8+
Keyboards=display;screen;hidpi;udroid;

etc/proot-env/Hidpi/xhidpi/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env bash
22

3-
ICONDIR="/usr/share/hippo"
3+
ICONDIR="/usr/share/udroid"
44

55
if [ -f app.sh ]; then
6-
cp app.sh /bin/hippo-xhidpi-mode
7-
chmod 775 /bin/hippo-xhidpi-mode
6+
cp app.sh /bin/udroid-xhidpi-mode
7+
chmod 775 /bin/udroid-xhidpi-mode
88
fi
99

1010
if [ -f logo.png ]; then
@@ -19,7 +19,7 @@ fi
1919

2020
if [ -f app.desktop ]; then
2121
if [ -d /usr/share/applications ]; then
22-
cp app.desktop /usr/share/applications/hippo-xhidpi-mode.desktop
22+
cp app.desktop /usr/share/applications/udroid-xhidpi-mode.desktop
2323
fi
2424
fi
2525

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
this is a script to install pulseeffects in hippo or any ubuntu/debian based system
1+
this is a script to install pulseeffects in udroid or any ubuntu/debian based system
22

33
MIT Copyright (c) 2021 Saicharan Kandukuri

etc/scripts/udroid/udroid.sh

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ HIPPO_SCRIPT_FILE="${SCRIPT_DIR}/udroid.sh"
1818
# SOCIAL_PLATFORM="\e[34mhttps://discord.gg/TAqaG5sEfW"
1919

2020
# HIPPO_DIR = "${INSTALL_FOLDER}/${HIPPO_DEFAULT}"
21-
# HIPPO_SCRIPT_FILE="${SCRIPT_DIR}/hippo.sh"
21+
# HIPPO_SCRIPT_FILE="${SCRIPT_DIR}/udroid.sh"
2222

2323
# * Usefull functions
2424
# die() exit with code 1 with printing given string
@@ -81,7 +81,7 @@ function __upgrade() {
8181
fi
8282

8383
mkdir -p "${CACHE_ROOT}"
84-
axel -o "${CACHE_ROOT}"/version https://raw.githubusercontent.com/RandomCoderOrg/fs-manager-hippo/main/version >> /dev/null || {
84+
axel -o "${CACHE_ROOT}"/version https://raw.githubusercontent.com/RandomCoderOrg/fs-manager-udroid/main/version >> /dev/null || {
8585
die "error"
8686
}
8787

@@ -111,7 +111,7 @@ function __upgrade() {
111111

112112
function start_upgrade() {
113113
mkdir -p "${CACHE_ROOT}"
114-
axel -o "${CACHE_ROOT}"/upgrade.sh https://raw.githubusercontent.com/RandomCoderOrg/fs-manager-hippo/main/etc/scripts/upgrade_patch/upgrade.sh >> /dev/null || {
114+
axel -o "${CACHE_ROOT}"/upgrade.sh https://raw.githubusercontent.com/RandomCoderOrg/fs-manager-udroid/main/etc/scripts/upgrade_patch/upgrade.sh >> /dev/null || {
115115
die "Error"; exit 1
116116
}
117117
bash -x upgrade.sh || {
@@ -127,38 +127,38 @@ function __force_uprade_hippo()
127127
if [ ! -d "$CACHE_ROOT" ]; then
128128
mkdir "$CACHE_ROOT"
129129
else
130-
rm -rf "${CACHE_ROOT}/fs-manager-hippo"
130+
rm -rf "${CACHE_ROOT}/fs-manager-udroid"
131131
fi
132132

133-
FSM_URL="https://github.com/RandomCoderOrg/fs-manager-hippo"
133+
FSM_URL="https://github.com/RandomCoderOrg/fs-manager-udroid"
134134

135135
if [ -z "${BRANCH}" ]; then
136-
git clone ${FSM_URL} "${CACHE_ROOT}/fs-manager-hippo" || die "failed to clone repo"
136+
git clone ${FSM_URL} "${CACHE_ROOT}/fs-manager-udroid" || die "failed to clone repo"
137137
else
138-
git clone -b "${BRANCH}" "${CACHE_ROOT}/fs-manager-hippo" || die "failed to clone repo"
138+
git clone -b "${BRANCH}" "${CACHE_ROOT}/fs-manager-udroid" || die "failed to clone repo"
139139
fi
140140

141-
if [ -f "${CACHE_ROOT}"/fs-manager-hippo/install.sh ]; then
142-
cd "${CACHE_ROOT}"/fs-manager-hippo || die "failed to cd ..."
141+
if [ -f "${CACHE_ROOT}"/fs-manager-udroid/install.sh ]; then
142+
cd "${CACHE_ROOT}"/fs-manager-udroid || die "failed to cd ..."
143143
bash install.sh || die "failed to install manager..."
144144
fi
145145
}
146146

147147
function __help()
148148
{
149-
msg "hippo - termux Version ${version} by saicharankandukuri"
149+
msg "udroid - termux Version ${version} by saicharankandukuri"
150150
msg
151151
msg "A bash script to make basic action(login, vncserver) easier for ubuntu-on-android project"
152152
msg
153153
msg "Usage ${0} [options]"
154154
msg
155155
msg "Options:"
156-
msg "--install To try installing hippo"
156+
msg "--install To try installing udroid"
157157
msg "--help To display this message"
158158
msg "--enable-dbus To start terminal session with dbus enabled"
159159
msg "--force-upgrade To reinstall this script of origin"
160-
msg "startvnc To start hippo vncserver"
161-
msg "stopvnc To stop hippo vncserver"
160+
msg "startvnc To start udroid vncserver"
161+
msg "stopvnc To stop udroid vncserver"
162162
msg "--enable-dbus-startvnc To start vnc with dbus"
163163
msg "------------------"#links goes here
164164
msg "for additional documentation see: \e[1;34mhttps://github.com/RandomCoderOrg/ubuntu-on-android#basic-usage"
@@ -176,32 +176,32 @@ function _lauch_or_install()
176176
exit 1
177177
fi
178178
if ! __check_for_filesystem; then
179-
echo -e "Installing hippo..........."
180-
if proot-distro install hippo; then
179+
echo -e "Installing udroid..........."
180+
if proot-distro install udroid; then
181181
echo -e "Installation Done......\a\a" # \a triggers vibration in termux
182182
echo "Waiting..."
183183
sleep 4
184184
clear
185185
echo -e "Now You can launch your ubuntu 21.04 with command \e[1;32mhippo\e[0m"
186-
echo -e "use hippo --help for more option and comming up features"
186+
echo -e "use udroid --help for more option and comming up features"
187187
fi
188188
else
189189
#######################################################################################################
190190
# Thanks to @GxmerSam Sam Alarie, @mizzunet, @Andre-cmd-rgb for the issues randome ideas and suggestion
191191

192192

193193
pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1 >> /dev/null
194-
if [[ -f "${CACHE_ROOT}"/fs-manager-hippo/etc/scripts/vncserver/startvnc.sh ]] && [[ ! -f ${HIPPO_DIR}/bin/startvnc ]]; then
195-
DIR="${CACHE_ROOT}/fs-manager-hippo/etc/scripts/vncserver/startvnc.sh"
194+
if [[ -f "${CACHE_ROOT}"/fs-manager-udroid/etc/scripts/vncserver/startvnc.sh ]] && [[ ! -f ${HIPPO_DIR}/bin/startvnc ]]; then
195+
DIR="${CACHE_ROOT}/fs-manager-udroid/etc/scripts/vncserver/startvnc.sh"
196196
cp "${DIR}" ${HIPPO_DIR}/bin/startvnc
197-
proot-distro login hippo -- chmod 775 /bin/startvnc
197+
proot-distro login udroid -- chmod 775 /bin/startvnc
198198
fi
199-
if [ -f "${CACHE_ROOT}"/fs-manager-hippo/etc/scripts/vncserver/stopvnc.sh ] && [ ! -f ${HIPPO_DIR}/bin/stopvnc ]; then
200-
DIR="${CACHE_ROOT}/fs-manager-hippo/etc/scripts/vncserver/stopvnc.sh"
199+
if [ -f "${CACHE_ROOT}"/fs-manager-udroid/etc/scripts/vncserver/stopvnc.sh ] && [ ! -f ${HIPPO_DIR}/bin/stopvnc ]; then
200+
DIR="${CACHE_ROOT}/fs-manager-udroid/etc/scripts/vncserver/stopvnc.sh"
201201
cp "${DIR}" ${HIPPO_DIR}/bin/stopvnc
202-
proot-distro login hippo -- chmod 775 /bin/stopvnc
202+
proot-distro login udroid -- chmod 775 /bin/stopvnc
203203
fi
204-
proot-distro login hippo "$@" || warn "program exited unexpectedly..."
204+
proot-distro login udroid "$@" || warn "program exited unexpectedly..."
205205
fi
206206
}
207207
__verify_bin_path
@@ -218,21 +218,21 @@ if [ $# -ge 1 ]; then
218218

219219
startvnc)
220220
if __check_for_hippo; then
221-
proot-distro login hippo --no-kill-on-exit -- startvnc
221+
proot-distro login udroid --no-kill-on-exit -- startvnc
222222
else
223-
echo -e "This command is supposed to run after installing hippo"
223+
echo -e "This command is supposed to run after installing udroid"
224224
echo -e "Use \e[1;32mhippo --install\e[0m install"
225-
echo -e "\e[32mError:\e[0m Hippo not found"
225+
echo -e "\e[32mError:\e[0m udroid not found"
226226
fi
227227
;;
228228

229229
stoptvnc)
230230
if __check_for_hippo; then
231-
proot-distro login hippo --no-kill-on-exit -- stoptvnc
231+
proot-distro login udroid --no-kill-on-exit -- stoptvnc
232232
else
233-
echo -e "This command is supposed to run after installing hippo"
233+
echo -e "This command is supposed to run after installing udroid"
234234
echo -e "Use \e[1;32mhippo --install\e[0m install"
235-
echo -e "\e[32mError:\e[0m Hippo not found"
235+
echo -e "\e[32mError:\e[0m udroid not found"
236236
fi
237237
;;
238238
*) _lauch_or_install "$@";;

etc/scripts/vncserver/startvnc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fi
2727

2828

2929
if ! $vnc; then
30-
vncserver -xstartup "${DEFAULT_XSTARTUP}" -desktop "Hippo Default VNC" :${port}
30+
vncserver -xstartup "${DEFAULT_XSTARTUP}" -desktop "udroid Default VNC" :${port}
3131
else
3232
echo "A vncserver lock is found for port ${port}"
3333
echo -e "Use \e[1;32mudroid stoptvnc\e[0m or \e[1;32mstopvnc\e[0m to stop it and try again..."

0 commit comments

Comments
 (0)