Portál AbcLinuxu, 10. května 2025 06:46
pozri tiez na Iron
whereis nazov_programu
which
, ne witch
:)
do konzoly zadaj
which google-chrometo ti vypise kde sa nachadza google chrome
#!/bin/bash # # Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Let the wrapped binary know that it has been run through the wrapper export CHROME_WRAPPER="`readlink -f "$0"`" PROGDIR="`dirname "$CHROME_WRAPPER"`" case ":$PATH:" in *:$PROGDIR:*) # $PATH already contains $PROGDIR ;; *) # Append $PROGDIR to $PATH export PATH="$PATH:$PROGDIR" ;; esac # Always use our versions of ffmpeg libs. # This also makes RPMs find the compatibly-named NSS3/NSPR symlinks. LD_LIBRARY_PATH="$PROGDIR:$PROGDIR/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH exec -a "$0" "$PROGDIR/chrome" "$@"...takže jsem tam kde jsem byl, protože absolutně netušim odkud vítr vane
Nainstalil sem včera ze systemovýho repa Chrome, ...Z repa jaké distribuce? Jakou verzi Chrome? Máš splněné všechny závislosti, nainstalovanou správnou architekturu apod.?
/usr/lib/chromium-browser/
příkazem ./chromium-wrapper
, případně ./chrome
, třeba z něj něco vypadne
Zkusit změnit spouštěcí skript (/usr/lib/chromium-browser/chromium-wrapper
) na následující:
#!/bin/sh # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Running Chromium via this script makes it possible to set Chromium as the # default browser directly out of a compile, without needing to package it. TITLE="Chromium" # Checks a file to see if it's a 32 or 64-bit check_executable() { out=$(file $(readlink -f $1) 2> /dev/null) echo $out | grep -qs "ELF 32-bit LSB" if [ $? = 0 ]; then echo 32 return fi echo $out | grep -qs "ELF 64-bit LSB" if [ $? = 0 ]; then echo 64 return fi echo neither } # Let the wrapped binary know that it has been run through the wrapper export CHROME_WRAPPER="`readlink -f "$0"`" HERE="`dirname "$CHROME_WRAPPER"`" case ":$PATH:" in *:$HERE:*) # $PATH already contains $HERE ;; *) # Append $HERE to $PATH export PATH="$PATH:$HERE" ;; esac # Always use our ffmpeg and other shared libs. export LD_LIBRARY_PATH="$HERE:$HERE/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" exec "$HERE/chrome" "$@"(převzat z funkčního Chromium 4.0.295.0) volat chromium následujícím příkazem:
chrome-wrapper --enable-plugins --enable-user-scripts --enable-extensions --enable-sync
, ale to asi nebude mít vliv na funkci
Mno a poslední možnost je podívat se po nějakých přepínačích pro debugging, ale v man chromium
prakticky nic neni a na webu jsem taky nic moc nenašel chrome
v /usr/lib/chromium-browser/
.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.