Есть приложение под винду, запускается через батник. Накидал скрипт под линукс, но чет не прокатывает. Wine стоит, мб через него как-то можно? Пните, что не так делаю?
Батник:
@echo off
@color 0A
title L2ClientDat
:start
echo %DATE% %TIME%
echo.
java -Xms512m -Xmx4024m -cp ./data/lib/*;L2ClientDat.jar l2god.Boot
if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restart ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly
echo.
:end
echo.
echo server terminated
echo.
pause
То что я накидал, ну и сам ответ терминала:
#!/bin/bash

while :;
do
	java -Xms512m -Xmx4024m -cp ./data/lib/*;L2ClientDat.jar l2god.Boot > log.log 2>&1

	[ $? -ne 2 ] && break
	sleep 10;
done
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32	  use a 32-bit data model if available
    -d64	  use a 64-bit data model if available
    -server	  to select the "server" VM
                  The default VM is server,
                  because you are running on a server-class machine.
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A : separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
Лог:
/home/psycho/l2clientdat/L2ClientDat.sh: строка 5: L2ClientDat.jar: команда не найдена
Я так ставил:
В биосе вырубаем CSM и грузимся только с uefi.

Создаем три раздела через cfdisk - efi, root, home и форматируем:
mkfs.ext4 /dev/sda2
mount /dev/sda2 /mnt

mkfs.fat -F32 /dev/sda1
mkdir -p /mnt/boot/efi
mount /dev/sda1 /mnt/boot/efi

mkfs.ext4 /dev/sda3
mkdir -p /mnt/home
mount /dev/sda3 /mnt/home

В
nano /etc/pacman.d/mirrorlist
зеркало яндекса ставим в начало списка.
pacman -Syu
(от обновы отказываемся)

pacstrap /mnt base base-devel
genfstab -p /mnt >> /mnt/etc/fstab

arch-chroot /mnt
echo имя_компа > /etc/hostname

rm /etc/localtime
ln -s /usr/share/zoneinfo/Europe/Moscow /etc/localtime

В
nano /etc/locale.gen
раскоментировать en_US.UTF-8 UTF-8 и ru_RU.UTF-8 UTF-8

locale-gen
echo LANG="ru_RU.UTF-8" > /etc/locale.conf

В
nano /etc/vconsole.conf
пишем:
KEYMAP=ru
FONT=cyr-sun16

В
nano /etc/mkinitcpio.conf
в разделе HOOKS удаляем fsck и прописываем keymap
mkinitcpio -p linux

Указываем пароль для root:
passwd

Ставим загрузчик:
pacman -S grub efibootmgr
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg

Выходим:
exit

Размонтируем всё это дело и в ребут:
umount -R /mnt
reboot

Профит. Можно настраивать систему.
Пускай некрофил, но сам наткнулся на тему, а ответа по scrot'у я так и не увидел.
Добавлю:
Снимок всего экрана: scrot Screenshot.jpg -q 100
Снимок активного окна: scrot Screenshot.jpg -q 100 -u
Ну и в настройках привязать команды к клавишам.
Уже помогли. Не поставил nemo-fileroller.
Всем привет.
Либо я дурак, либо лыжи не едут.
Вроде всё поставил, а толку нет.

http://screenshot.ru/upload/images/2017/11/26/2017-11-26-144138_772x422_scrot856a1.png
http://screenshot.ru/upload/images/2017/11/26/2017-11-26-144303_772x422_scrota69d9.png

Нет пункта "архивации" (как называется на английском не помню, но находится на предпоследней строчке)
http://screenshot.ru/upload/images/2017/11/26/2017-11-26-144408_800x550_scrotc8560.png

При попытке открыть выбивает ошибку.
http://screenshot.ru/upload/images/2017/11/26/2017-11-26-143413_337x148_scrot8d5d3.png

Так же стоят xfce, sddm, cinnamon. Может в этом проблема, я хз, подскажите люди добрые, ибо я вообще не въеду. =)
.
.
///удалил картинки. vadik///
A.T.W.A.
Pzychozes
А всё, нашел в сети.
Он какой-то левый.
ArchLinux.org.ru Начало Поддержка пользователей Новичкам в Arch Linux pacman.conf

Pzychozes
А всё, нашел в сети.
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc gcc bash
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pyalpm pacman glibc libtool gcc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = x86_64

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
#SigLevel = Never
SigLevel = Optional TrustedOnly
#SigLevel = Required DatabaseOptional PackageRequired TrustedOnly

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib-testing]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

#[multilib]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
А нет, это не дефолтный.

Aivar
Далеко искать не стоит:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/pacman.conf.x86_64?h=packages/pacman
или тут:
https://archive.archlinux.org/packages/p/pacman/pacman-5.0.2-2-x86_64.pkg.tar.xz
В архиве: /etc/pacman.conf
Спасибо.
А всё, нашел в сети.
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc gcc bash
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pyalpm pacman glibc libtool gcc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = x86_64

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
#SigLevel = Never
SigLevel = Optional TrustedOnly
#SigLevel = Required DatabaseOptional PackageRequired TrustedOnly

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib-testing]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

#[multilib]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
Ребят, скиньте pacman.conf пожалуйста. Забыл сделать бекап файла))
На xfce:
Иногда, заходишь в игру, и перестают работать кнопки(qwert и т.д.).
Лечится сбросом настроек клавы, и настройкой по новой. Но через день(примерно), та же ситуация. Кстати, в чате кнопки работают все!
Поставил cinnamon проблема исчезла. Но это не оболочка, а кусок г...
Возможно ли как-то решить этот баг на xfce?
Кстати, баг проявляется только в dota 2.