Astra linux drag and drop

How to Fix “virtualbox drag and drop not working”?

VirtualBox is a widely used tool that allows running several operating systems on a single computing device. While working with VirtualBox, the Drag and Drop feature is not enabled by default. Therefore, the error “VirtualBox drag and drop not working” arises when the user attempts to drag/drop between the host and remote machines.

This post will address the possible reasons and the solutions to the error:

  • Reason 1: Older Version of the VirtualBox
  • Solution: Install the Latest VirtualBox
  • Reason 2: Guest additions are not installed
  • Solution: Install the Guest Additions
  • Alternate Solution: Create a Shared Folder

Reason 1: Older Version of the VirtualBox

The drag-and-drop feature is supported by VirtualBox version 5 or newer versions. This is one reason your VirtualBox version does not support drag/drop.

Solution: Remove the Current Package and Install the Latest VirtualBox

Before installing a fresh copy, ensure you have removed the old version of VirtualBox installed on the system.

Step 1: Remove the Current Installed VirtualBox

To remove the VirtualBox, use the command as per your Linux distribution:

$ sudo apt remove --purge virtualbox #For Debian/Ubuntu-Based $ sudo dnf remove --purge virtualbox #For RHEL-Based $ sudo pacman -Rcns virtualbox #For Arch-Based

Step 2: Install the Latest VirtualBox

To install the updated version of VirtualBox, it is recommended to update the packages list via the command:

$ sudo apt update #For Debian/Ubuntu-Based $ sudo yum/dnf update #For RHEL-Based $ sudo pacman -Syu #For Arch-Based

Once the packages list is updated, use the command to install VirtualBox on Linux:

$ sudo apt install virtualbox #For Debian/Ubuntu-Based $ sudo dnf install virtualbox #For RHEL-Based $ sudo pacman -S virtualbox #For Arch-Based

Reason 2: Guest additions are not installed

Guest Additions adds some extra functionality to the VirtualBox, including the drag/drop, copy/paste, screen resolution and much more. The absence of “Guest Additions” is the primary reason the drag and drop is not working.

To verify if the “Guest Additions” is installed or not, just follow the instructions:

Then, click on the “Find” option and type “guest additions information report,” and it will highlight

The guest additions version if it is installed:

The red colour of the search bar shows no matches found, which means the guest additions are not installed. If they are installed, then the below-mentioned screen will appear:

Читайте также:  Какая файловая linux ssd

The clear figure of the version details is:

In our case, version 6.1.32 is installed on the computer.

Solution: Install the Guest Additions

To resolve the above mentioned reason, install the Guest Additions on the respective Linux distributions.

The commands to install Guest Additions are provided below:

Install Guest Additions on Debian/Ubuntu:

$ sudo apt update && sudo apt upgrade $ sudo apt install build-essential dkms linux-headers-$(uname -r)

For Arch-Based Distributions:

$ sudo pacman -Syyu $ sudo pacman -S virtualbox-guest-utils

After the successful installation, you need to stop the virtual machine and go to the “Devices” option on the menu bar and click on the “Insert Guest Additions CD image..” to mount the guest additions.

If the Guest Additions CD is already mounted, locate it via the commands:

$ ls /media/$USER/VBox* $ ls /media/cdrom*/VBox*

Now, run it via the command provided below:

$ sudo /media/$USER/VBox*/VBoxLinuxAdditions.run

Solution 3: Enable the Drag/Drop Functionality

If none of the solutions are working for you, then you have to enable the Drag and Drop functionality. For this, hit the “Devices” tab and hover over the “Drag and Drop”. Set its value to bidirectional:

For better usability, set the “Shared Clipboard” option to “Bidirectional” as well:

Alternate Solution: Create Shared Folder

If you are not interested in the VirtualBox Drag-and-Drop feature, then you can use the “Shared Folders” for transferring files from the host OS to the VirtualBox. To do so, launch the Ubuntu machine and then Select Devices > Shared Folders > Shared Folder Settings:

Then specify the “Folder Path”, and “Folder Name”, and then also specify the “Mount Point”:

Finally, press the “OK” button.

Conclusion

The “virtualbox drag and drop not working” error occurs if the guest additions are not installed, or the VirtualBox has version 5 or earlier. To fix this error, you need to get the latest version of VirtualBox and install the guest additions. This post has briefly explored the reasons and the solutions to VirtualBox’s drag-and-drop working issue.

Источник

Как работает Drag & Drop в linux ?

Имеет ли смысл разбираться с этим, или надо сначала разобраться, как работает Clipboard?

D&D реализовано по-разному в каждой DE?

Сколько разных DE вообще есть — Qt (KDE), Gtk (Gnome), ?(XFCE), всё?
ответ на этот вопрос важен для того, чтобы прикинуть объем работ по написанию драйверов для каждой из DE, скрытых за паттернами facade & factory

Что там за проблемы с прозрачностью при перетаскивании окошек?

Или это надо было писать в раздел форума Development?

как работают модификаторы действия в момент отпускания — что обычно означают Shift, Ctrl, Alt, Win, и их комбинации?

The X11 drag and drop protocol is called XDND: see http://www.newplanetsoftware.com/xdnd

Но что, если тащить надо в другое окно? А если оно свёрнуто и надо сначало его развернуть, наведя курсор мыши на таск-бар?
Такое можно реализовать только на уровне всей системы (хорошо если графической, а если надо добавить операции с консолью?)

Читайте также:  Linux разрешить исполнять файл

О боже. Используй D&D из Qt или GTK и не парься. ЕМНИП оно там есть и будет работать везде, где возможно. Если нужно глубинное велосипедирование, то ЕМНИП за D&D отвечает графический сервер (иксы, вяленый, мир).

Сотни. Добро пожаловать в Linux. Т.к. немного грубо DE это всего лишь набор из панельки, оконного менеджера, композитного менеджера и пары специфичных свистелок (иногда оконный менеджер не умеет рисовать обои, иногда можно поставить отдельный оконный декоратор). Таким образом можно сделать DE из Openbox+tint2+nitrogen+compton А можно из Openbox+панелька из xfce+feh+другой standalone композитный менеджер. А можно Openbox сменить на Blackbox или на awesome или на i3, да тысячи их. Да, не всё совместимо, не всегда требуются те или иные части (например, compiz сам обеспечит прозрачность, тени и прочие плюшки без compton, а некоторые файловые менеджеры (nautilus как пример) могут нарисовать обои). То что принято называть DE (KDE, XFCE, LXDE, Gnome, Unity) как правило включает ещё кучу предустановленного софта, но с твоей точки зрения, как разработчика, это не должно особо волновать. Т.е. тебе, как правило, нет разницы, что в Gnome в роли текстового редактора gedit, а в kde — kate.

чтобы прикинуть объем работ по написанию драйверов для каждой из DE

Что там за проблемы с прозрачностью при перетаскивании окошек?

Где там? Если дрова на видяху глючат? Если нет композитного менеджера или он глючит?

Или это надо было писать в раздел форума Development?

Гугл надо было поспрашивать.

Да, забыл тебя обрадовать — буферов обмена в Linux тоже очень много. У иксов свой (туда текст сразу при выделении попадает, пока программа, откуда ты его выделил работает, вставляется щелчком по колесику мыши), а ещё по Ctrl+c и Ctrl+v, у DE свои менеджеры буфера обмена, которые могут несколько поменять ситуацию, например, чтоб после закрытия программы текст остался в буфере или чтоб там было несколько последних скопированных данных и т.д.

Источник

[Quick Tip] Drag and Drop Pasting File / Folder Path into Terminal

Familiar with Linux commands? You may already know many tips and tricks that will save you a lot of time.

Here are some that I have been using for a long period of time, including Tab auto-completion, when you type something in Linux terminal and hit Tab, it auto-completes the command or file path, or outputs all possible options.

And Ctrl+Shift+V will do paste text to terminal instead of Ctrl+V. Without copying to the clipboard, you can simply select / highlight the text and use mouse middle-click to paste into terminal.

Today I found a new terminal tips that I didn’t know before. Thanks to the reddit, I’m going to share it with you by following steps.

1. Drag and drop file or folder to paste the path into terminal.

Just drag and drop a file or folder into terminal, and you’ll see the full path pasted with single quotes. It’s useful if there’s special character in file path or you just don’t want to type …

Читайте также:  Кроссплатформенная среда разработки linux windows

2. Drag and drop a selection of text into terminal.

You can also drag and drop a selection of text into terminal, so you don’t need to do copy and paste with context menu clicks or keyboard shortcuts.

permalink

Ji m

I’m a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to remind me outdated tutorial! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

One response to [Quick Tip] Drag and Drop Pasting File / Folder Path into Terminal

Wao, it works for me! The secret is set the window(or forlder, file) overlapping the terminal, and then, drag!

Источник

Как починить функции двунаправленный буфер обмена и двунаправленный Drag and Drop в VirtualBox 6.1.26?

Установил VirtualBox 6.1.26_Debian r145957 на KaliLinux. Создал виртуальную машину с win8.1, установил дополнения для гостевой ОС. Функции двунаправленный буфер обмена и двунаправленный Drag and Drop не работают. За исключением Drag and Drop из основной машины в виртуальную. Как это можно поправить? Пробовал ставить от рута и через sudo, пробовал устанавливать дополнения гостевой ОС от администратора, обновиться и переустановить VirtualBox. Всё безрезультатно. В чём может быть косяк? Что нужно поправить, куда смотреть?

P.S. Люди пишут что можно даунгрейднуться на другую версию VirtualBox где всё работает. Но что-то не понял как её подбирать. Если иначе никак нельзя и не затруднит, поделитесь ссылкой на нужную версию VirtualBox. Но хотелось бы всё-таки разобраться в чём проблема.

Сложный 1 комментарий

В сочетании Ubuntu 20.4 — хост, Windows 10 — гость, VirtualBox 6.1.26 двунаправленный буфер обмена работает. С одним но — нужно делать Normal Start, в режиме Detachable (фоновый режим с интерфейсом) перестает работать.

Adler_lug

Kenny00

подбирать методом тыка.
т.е. ставить — запускать — тестировать работу нужных функций. не работает — брать следующую версию.

или найти ошибку и попробовать ее обойти.
другого не дано.

если уж нужен обмен файлами, то настроить shared folders — быстрее и прямее.

sergueik

VirtualBox 5.2.20 (released October 16 2018)

This is a maintenance release. The following items were fixed and/or added:

VMM: fixed task switches triggered by INTn instruction (bug #17979)
Storage: fixed connecting to certain iSCSI targets (bug #17507)
Storage: fixed handling of flush requests when configured to be ignored when the host I/O cache is used (bug #17573)
Drag and drop: implemented support for UNC paths (bug #17146)
Drag and drop: fixed resuming operation when restoring from a saved state (bug #17649)
Drag and drop: fixed copying files with long file names (> 248 characters) from guests to Windows hosts (bug #17447)
Drag and drop: fixed handling files with Unicode names on Windows guests (bug #15501)
Drag and drop: fixed copying empty (0-byte) files to / from guests (bugs #14863 + #17443)
Drag and drop: fixed copying over files from hosts to Linux guests (bug #16025)

Источник

Оцените статью
Adblock
detector