| palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
Все работает на ура, УРАААААААААААА, только игры пока не доступны для запуска… набираем в терминале ~]$ steam steam://open/games ![]() Кстати сказать под вайном стим в полно экранном режиме никогда не работал, если я помню? (статья http://www.opennet.ru/opennews/art.shtml?num=35253 )
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
| krop |
|
|
Темы:
18
Сообщения:
63
Участник с: 02 июля 2010
|
VlaoMaolib32-видео дрова стоят? |
| VlaoMao |
|
|
Темы:
15
Сообщения:
306
Участник с: 23 января 2011
|
kropДа, всё стоит. Завелось сегодня после обновления версии, но игрушки не отображаются.VlaoMaolib32-видео дрова стоят? |
| VlaoMao |
|
|
Темы:
15
Сообщения:
306
Участник с: 23 января 2011
|
Что-то это поделие у меня процессор грузит конкретно, на 70-80% оба ядра. |
| palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
Опачки Team Fortress2 доступен для закачки, а так-же скидка 75% на Serios Sam3 - Valve радует с каждым днем, жду CS GO и Portal2 - мечты сбываются!!!
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
| palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
Ну что Team Fortress2 отлично работает, так как под виндой не работал, жду CS GO…
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
| palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
У меня вот такая хрень выскакивает Unable to copy /home/archie/Steam/bin_steam.sh to /usr/bin/steam, please contact your system administrator.![]() Что это, как убрать???
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
| sleepycat |
|
Темы:
98
Сообщения:
3291
Участник с: 19 июля 2011
|
как в винде звонить одмину ;) попробуй от рута разок.
Лозунг у них был такой: "Познание бесконечности требует бесконечного времени". С этим я не спорил, но они делали из этого неожиданный вывод: "А потому работай не работай — все едино". И в интересах неувеличения энтропии Вселенной они не работали. (с)
|
| vadik |
|
|
Темы:
55
Сообщения:
5395
Участник с: 17 августа 2009
|
bin_steam.sh это скрипт? Посмотрите что там и почему ему надо права рута. |
| palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
vadik вот он скрипт bin_steam.sh #!/bin/bash
#
# This is the Steam script that typically resides in /usr/bin
# It will create the Steam bootstrap if necessary and then launch steam.
export TEXTDOMAIN=steam
export TEXTDOMAINDIR=/usr/share/locale
# Get the full name of this script so the launcher can update it
export STEAMSCRIPT=$(cd "${0%/*}" && echo $PWD)/`basename $0`
function has_command()
{
which "$1" >/dev/null
return $?
}
function show_message()
{
style=$1
shift
if ! zenity $style --text="$*" 2>/dev/null; then
case $style in
--error)
title=$"Error"
;;
--warning)
title=$"Warning"
;;
*)
title=$"Note"
;;
esac
# Save the prompt in a temporary file because it can have newlines in it
tmpfile=`mktemp || echo "/tmp/steam_message.txt"`
echo -e "$*" >$tmpfile
xterm -T "$title" -e "cat $tmpfile; echo -n 'Press enter to continue: '; read input"
rm -f $tmpfile
fi
}
function run_sudo()
{
prompt=$1
shift
if has_command gksudo; then
# If your host file is misconfigured in certain circumstances this
# can cause sudo to block for a while, which causes gksudo to go into
# limbo and never return.
timeout --signal=9 5 sudo -v -S </dev/null 2>/dev/null
if [ $? -eq 124 -o $? -eq 137 ]; then
# sudo timed out or was killed due to timeout, gksudo will hang
show_message --warning $"sudo timed out, your hostname may be missing from /etc/hosts.\n\nSee https://support.steampowered.com/kb_article.php?ref=7493-ADXN-9620 for more details."
else
gksudo --disable-grab --message "$prompt" $*
return
fi
fi
if has_command kdesudo; then
kdesudo --comment "$prompt" $*
return
fi
# Fall back to sudo in a terminal
xterm -e sudo -p "$prompt
[sudo] password for user: " $*
}
function detect_platform()
{
# Maybe be smarter someday
echo ubuntu12_32
}
function setup_variables()
{
STEAMPACKAGE=`basename $0`
STEAMCONFIG=~/.steam
STEAMDATALINK="$STEAMCONFIG/$STEAMPACKAGE"
STEAMBOOTSTRAP=steam.sh
LAUNCHSTEAMDIR=`readlink -e -q "$STEAMDATALINK"`
LAUNCHSTEAMPLATFORM=`detect_platform`
LAUNCHSTEAMBOOTSTRAPFILE="/usr/lib/$STEAMPACKAGE/bootstraplinux_$LAUNCHSTEAMPLATFORM.tar.xz"
# Get the default data path
STEAM_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share}
case $STEAMPACKAGE in
steam)
CLASSICSTEAMDIR="$HOME/Steam"
DEFAULTSTEAMDIR="$STEAM_DATA_HOME/Steam"
;;
steambeta)
CLASSICSTEAMDIR="$HOME/SteamBeta"
DEFAULTSTEAMDIR="$STEAM_DATA_HOME/SteamBeta"
;;
*)
echo $"Unknown Steam package"
exit 1
;;
esac
# Create the config directory if needed
if [ ! -d "$STEAMCONFIG" ]; then
mkdir "$STEAMCONFIG"
fi
}
function install_extra_packages()
{
EXTRA_PACKAGES="$*"
# Get the list of packages which are already installed
INSTALLED="$(dpkg --get-selections $EXTRA_PACKAGES 2>/dev/null | grep "\binstall$" | cut -f1 | sort)"
# compute the list of packages that need to be installed
NEEDSINSTALL="$(comm -23 <(echo "$EXTRA_PACKAGES" | tr ' ' '\n' | sort) <(echo "$INSTALLED") | xargs ) "
NEEDSINSTALL=${NEEDSINSTALL## } # remove leading space
if [ "$NEEDSINSTALL" ]; then
# Call to actually do the work
MESSAGE=$"Please enter your password to complete the Steam installation.
Steam needs to install these additional packages:
"$NEEDSINSTALL
run_sudo "$MESSAGE" apt-get install $NEEDSINSTALL
fi
}
function install_bootstrap()
{
STEAMDIR=$1
# Save the umask and set strong permissions
omask=`umask`
umask 0077
echo $"Setting up Steam content in $STEAMDIR"
mkdir -p "$STEAMDIR"
cd "$STEAMDIR"
if ! tar xJf "$LAUNCHSTEAMBOOTSTRAPFILE" ; then
echo $"Failed to extract $LAUNCHSTEAMBOOTSTRAPFILE, aborting installation."
exit 1
fi
rm -f "$STEAMDATALINK" && ln -s "$STEAMDIR" "$STEAMDATALINK"
setup_variables
# put the Steam icon on the user's desktop
# try to read ~/.config/user-dirs.dirs to get the current desktop configuration
# http://www.freedesktop.org/wiki/Software/xdg-user-dirs
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
DESKTOP_DIR=${XDG_DESKTOP_DIR:-$HOME/Desktop}
cp /usr/share/applications/$STEAMPACKAGE.desktop "$DESKTOP_DIR"
chmod +x "$DESKTOP_DIR/$STEAMPACKAGE.desktop"
# Restore the umask
umask $omask
# Try and install any extra packages
install_extra_packages jockey-common python-apt
}
function repair_bootstrap()
{
rm -f "$STEAMDATALINK" && ln -s "$1" "$STEAMDATALINK"
setup_variables
}
function check_bootstrap()
{
if [ "$1" -a -x "$1/$STEAMBOOTSTRAP" ]; then
# Looks good...
return 0
else
return 1
fi
}
# Look for the Steam data files
setup_variables
if ! check_bootstrap "$LAUNCHSTEAMDIR"; then
# See if we just need to recreate the data link
if check_bootstrap "$DEFAULTSTEAMDIR"; then
echo $"Repairing installation, linking $STEAMDATALINK to $DEFAULTSTEAMDIR"
repair_bootstrap "$DEFAULTSTEAMDIR"
elif check_bootstrap "$CLASSICSTEAMDIR"; then
echo $"Repairing installation, linking $STEAMDATALINK to $CLASSICSTEAMDIR"
repair_bootstrap "$CLASSICSTEAMDIR"
fi
fi
if [ ! -L "$STEAMDATALINK" ]; then
# We don't have the data link and we couldn't find an existing bootstrap, so just install the bootstrap
install_bootstrap "$DEFAULTSTEAMDIR"
elif ! check_bootstrap "$LAUNCHSTEAMDIR"; then
# We have the data link but we can't find the data, prompt the user
if zenity --question --text=$"Couldn't find Steam content, did you move it?" --ok-label=$"Search" --cancel-label=$"Reinstall"; then
while true; do
STEAMDIR="`zenity --file-selection --directory`"
if [ -z "$STEAMDIR" ]; then
# User canceled
exit 0
fi
if check_bootstrap "$STEAMDIR"; then
repair_bootstrap "$STEAMDIR"
break;
else
show_message --error $"Please pick a valid Steam content directory"
fi
done
else
install_bootstrap "$DEFAULTSTEAMDIR"
fi
fi
if ! check_bootstrap "$LAUNCHSTEAMDIR"; then
show_message --error $"Couldn't set up Steam data - please contact technical support"
exit 1
fi
# go to the install directory and run the client
cd "$LAUNCHSTEAMDIR"
exec "$LAUNCHSTEAMDIR/$STEAMBOOTSTRAP" $*и как ему эти права дать? кстати стим и без этого работает…
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|