-
Notifications
You must be signed in to change notification settings - Fork 602
How to install or update & run the app automatically on Linux
To install or update the app, first download the latest version that matches your system architecture in .deb
format from here.
- If you're unsure which version to download, open your terminal and run the following commands:
uname -m
cat /etc/os-release
Navigate to the folder where the file was downloaded, and install the package (for example, oblivion-desktop-linux-amd64.deb
) using the following commands:
cd ~/Downloads
sudo dpkg -i oblivion-desktop-linux-amd64.deb
If you encounter the error dependency problems - leaving unconfigured
, run:
sudo apt -f install
- If you're upgrading from an older version to a newer one, simply follow the same steps as installation.
To run the application, use the following command in your terminal:
oblivion-desktop --no-sandbox
- If you see the message
Creating new od instance...
and the app doesn't start, run the following command to terminate existing instances:
pkill -f oblivion-desktop
Then run the launch command again:
oblivion-desktop --no-sandbox
For easier access, you can create or edit the app's desktop shortcut:
cd /usr/share/applications
sudo nano /usr/share/applications/oblivion-desktop.desktop
In the text editor, update the Exec
line to:
Exec=/opt/oblivion-desktop/oblivion-desktop --no-sandbox %U
Then press CTRL+X
, then Y
, and hit Enter
to save and exit.
To launch the app automatically at system startup, use the following commands:
mkdir -p ~/.config/autostart
cp /usr/share/applications/oblivion-desktop.desktop ~/.config/autostart/
برای نصب یا آپدیت برنامه ابتدا آخرین نسخه مناسب با معماری سیستمعامل خود را از اینجا با فرمت .deb
دانلود کنید
- اگر نمیدانید کدام نسخه مناسب است، وارد ترمینال شده و از کامندهای زیر کمک بگیرید:
uname -m
cat /etc/os-release
به مسیر دانلود فایل رفته و بسته برنامه را (مثلا فایل oblivion-desktop-linux-amd64.deb) با دستور مشخصشده نصب کنید:
cd ~/Downloads
sudo dpkg -i oblivion-desktop-linux-amd64.deb
اگر با خطای dependency problems - leaving unconfigured
مواجه شدید، دستور زیر را اجرا کنید:
sudo apt -f install
- در صورتی که قصد بروزرسانی از یک نسخه قدیمی به جدید را داشته باشید، پروسه آپدیت عینا همانند پروسه نصب است
برای اجرای برنامه میتوانید دستور زیر را در ترمینال وارد کنید:
oblivion-desktop --no-sandbox
- اگر پیام
Creating new od instance...
را دیدید و برنامه اجرا نشد، دستور زیر را وارد کنید تا نمونههای باز قبلی بسته شوند:
pkill -f oblivion-desktop
سپس دوباره دستور اجرای برنامه را وارد کنید:
oblivion-desktop --no-sandbox
اما برای دسترسی راحتتر میتوانید مراحل زیر را دنبال کنید:
cd /usr/share/applications
sudo nano /usr/share/applications/oblivion-desktop.desktop
در محیط ویرایشگر مقدار Exec را به صورت زیر تغییر دهید:
Exec=/opt/oblivion-desktop/oblivion-desktop --no-sandbox %U
سپس بر روی CTRL+X
، بعد Y
و در نهایت Enter
بزنید، تا تغییرات ذخیره شوند
برای اجرای خودکار برنامه هنگام بوت سیستمعامل از کامندهای زیر استفاده کنید:
mkdir -p ~/.config/autostart
cp /usr/share/applications/oblivion-desktop.desktop ~/.config/autostart/