Same or not same

Post here if you are a new Porteus member and you're looking for some help.
Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Same or not same

Post#1 by Jack » 17 Feb 2018, 05:12

gnsu or gksu Do they do the same?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Same or not same

Post#2 by ncmprhnsbl » 17 Feb 2018, 05:55

yes,
it was used in porteus a couple of versions back, when there was some problem with gksu..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Same or not same

Post#3 by Jack » 17 Feb 2018, 06:27

I have this file fluxbox-master.zip and I want to use for another Desktop but I don't know what to do with these.

Code: Select all

## Create symlinks
ln -sf /etc/X11/xinit/xinitrc.fluxbox etc/X11/xinit/xinitrc
ln -sf /usr/sbin/lxdm usr/bin/lxdm
ln -sf /usr/bin/gnsu usr/bin/gksu
ln -sf /usr/bin/gnsu usr/bin/gnsudo
ln -sf /usr/bin/gnsu usr/bin/ktsuss
[ ! -d opt/porteus-scripts/xorg ] && mkdir -p opt/porteus-scripts/xorg
ln -sf /usr/bin/gnsu opt/porteus-scripts/xorg/psu
ln -sf /usr/bin/spacefm opt/porteus-scripts/xorg/fmanager
if [ "$SHARCH" = "64" ]; then
[ ! -e usr/lib64/libudev.so.1 ] && ln -sf /lib64/libudev.so.0.13.1 usr/lib64/libudev.so.1
fi
#mv usr/bin/slock usr/bin/slock-binary
#ln -sf /opt/porteus-scripts/xfce/start-slock usr/bin/slock
#chmod u+s usr/bin/slock-binary
#for a in `find usr/share/icons/hicolor -type f -name "xfce4-panel.png"|egrep -v "16x16|22x22"` \
#`find usr/share/icons/hicolor -type f -name "xfce4-panel-menu.png"|egrep -v "16x16|22x22"`; do
#         b=${a%/*}
#         c=/$b/porteus-button.png
#         rm $a
#         ln -sf $c $a
#done
#ln -sf /usr/share/icons/hicolor/48x48/apps/porteus-button.png usr/share/pixmaps/xfce4_xicon.png
#ln -sf /usr/share/icons/hicolor/48x48/apps/porteus-button.png usr/share/pixmaps/xfce4_xicon1.png
#ln -sf /usr/share/icons/hicolor/48x48/apps/porteus-button.png usr/share/pixmaps/xfce4_xicon2.png
#ln -sf /usr/share/icons/hicolor/48x48/apps/porteus-button.png usr/share/pixmaps/xfce4_xicon3.png
#ln -sf /usr/share/icons/hicolor/48x48/apps/porteus-button.png usr/share/pixmaps/xfce4_xicon4.png
#rm usr/share/pixmaps/gcolor2/icon.png
#ln -sf /usr/share/icons/Faenza/apps/48/gcolor2.png usr/share/pixmaps/gcolor2/icon.png
These are the ones in question but no sure about them all.
ln -sf /usr/bin/gnsu usr/bin/gksu
ln -sf /usr/bin/gnsu usr/bin/gnsudo
ln -sf /usr/bin/gnsu usr/bin/ktsuss
[ ! -d opt/porteus-scripts/xorg ] && mkdir -p opt/porteus-scripts/xorg
ln -sf /usr/bin/gnsu opt/porteus-scripts/xorg/psu
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Post Reply