Author Topic: How to install Thunar "Split view Patch'..?  (Read 2981 times)

Offline GeneC

  • Full Member
  • ***
  • Posts: 126
How to install Thunar "Split view Patch'..?
« on: November 15, 2014, 07:30:40 pm »
There is a nice patch for Thunar file manager that allows a 'split view' mode (toggled with F3 key).  There is a PPA for Ubuntu, but no direct method for Debian.  A 'patch' is shown, but I do not know how to implement it.  If anyone can give me any clues, it would be appreciated... :)

http://www.webupd8.org/2014/11/split-view-patch-available-for-thunar.html

https://1.bp.blogspot.com/-8p6bt00aGDA/VGNmrx_VYVI/AAAAAAAAU2Y/O8lHTh3V_fk/s1600/thunar-split-view.png
Quote
SPLIT VIEW PATCH AVAILABLE FOR THUNAR FILE MANAGER
Author: Andrew | Date: Wednesday, November 12, 2014

Thunar, the default Xfce file manager, doesn't support split view. In a bug report from 2013 which requested this feature, Nick Schermer, one of the Thunar developers, said that Thunar won't support split view because "Thunar is by design meant to be simple and easy to use".

Since Thunar is open source software, Xfce user Román decided to take this issue into his own hands so he implemented the split view / dual pane feature in Thunar and released a patch, so everyone who wants this feature can use his work.

Thunar split view

Maybe the Thunar developers will change their mind and implement this feature at some point but until (if?) then, if you really need this feature, you can grab the patch from HERE and build Thunar with split view yourself. If you use Xubuntu 14.04 or 14.10, I've uploaded Thunar with the split view patch to a PPA so you can install it easily.

Before using this patch, it's important to note that currently, the split view / extra pane feature is pretty basic: it doesn't show up in the Thunar menu (you must use "F3" to toggle the extra pane on / off), there are no specific dual pane actions and you can't set Thunar to start in split view mode by default. Also, the patch may have bugs.

The patch itself.
https://bugzilla.xfce.org/show_bug.cgi?id=10232
https://bugzilla.xfce.org/attachment.cgi?id=5751
« Last Edit: November 15, 2014, 07:37:48 pm by GeneC »

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1463
    • SparkyLinux
Re: How to install Thunar "Split view Patch'..?
« Reply #1 on: November 15, 2014, 08:30:44 pm »
Add normal repo instead of ppa:
Code: [Select]
sudo nano /etc/apt/sources.list.d/webupd8team.listPaste it to the file:
Code: [Select]
deb http://ppa.launchpad.net/webupd8team/experiments/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/experiments/ubuntu trusty main
Then:
Code: [Select]
sudo apt-get update
sudo apt-get install thunar
or
Code: [Select]
sudo apt-get dist-upgradeProbably it will tell you that there is a public key missing so install it or ignore.
If it doesn't work, change 'trusty' to 'utopic'.
« Last Edit: November 15, 2014, 08:51:07 pm by pavroo »
Nothing is easy as it looks.

Offline GeneC

  • Full Member
  • ***
  • Posts: 126
Re: How to install Thunar "Split view Patch'..?
« Reply #2 on: November 15, 2014, 09:32:14 pm »
Quote
Nothing is easy as it looks.
.....  ;)

Not that easy...
Thunar in Debian testing is on 1.6.3-2
The ubuntu...  package is 1.6.3-1.  I even tried using the 'force-package' option in synaptic, but no good.  It wants to remove.. xfdesktop4...
Not the best idea to use Ubuntu packages in any event (though I have in the past..).. :-[

--------------

I believe the source code for Thunar would have to be downloaded, patch applied, and then compiled..  I have limited experience in compiling, but have no idea on how to apply the patch..  I see a 'patch' directory in the source code main folder.  Would I simply make the patch file and insert there and compile?  That does not seem quite right..
http://i285.photobucket.com/albums/ll58/genecharb/22.png
I believe i will wait until someone more knowledgeable does it.  It seems like a popular option, perhaps the Debian folks will step up..

Thanks..
« Last Edit: November 15, 2014, 09:37:12 pm by GeneC »

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1463
    • SparkyLinux
Re: How to install Thunar "Split view Patch'..?
« Reply #3 on: November 15, 2014, 09:46:17 pm »
You are right, it's not good option.
I haven't checked numbers :)
Nothing is easy as it looks.

Offline way12go

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 476
  • Existence is all about what matters & what doesn't
Re: How to install Thunar "Split view Patch'..?
« Reply #4 on: November 15, 2014, 11:33:34 pm »
Code: [Select]
http://comments.gmane.org/gmane.linux.debian.devel.xfce/17462
 Picon
thunar 1.6.3-2 MIGRATED to testing

FYI: The status of the thunar source package
in Debian's testing distribution has changed.

  Previous version: 1.6.3-1
  Current version:  1.6.3-2

Code: [Select]
http://comments.gmane.org/gmane.linux.debian.devel.xfce/17457
Quote
Hi all,

A few days ago, there was a patch[0] released that adds a 'split' view support for the thunar file manager like most modern file managers have.

I have patched my thunar with it and so far so good, it works as expected.
This is a NMU upload, and I would like to contribute it if I can.

Best regards,
Mijo Medvedec

Quote
On a personal part, I don't really think that's really useful. But in
any case, that need to go upstream first.

Regards,

Attachment: Patch ---
Code: [Select]
http://cache.gmane.org//gmane/linux/debian/devel/xfce/17457-001.bin
Also

Code: [Select]
deb http://ppa.launchpad.net/webupd8team/experiments/ubuntu utopic main
deb-src http://ppa.launchpad.net/webupd8team/experiments/ubuntu utopic main
Existence is all about what matters and what doesn't. - Sagar Gorijala.

Offline GeneC

  • Full Member
  • ***
  • Posts: 126
Re: How to install Thunar "Split view Patch'..?
« Reply #5 on: November 16, 2014, 02:42:29 pm »
Hi  way12go... :)

Thanks for your efforts.  Yes, it does not appear to be worth the effort right now with our version of Thunar being newer than the patched deb.  I downloaded the patch itself (17457-001.bin), but honestly do not know what to do with it.

I will just wait to see any new developments.. ;)

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 255
  • Problem solver ;)
Re: How to install Thunar "Split view Patch'..?
« Reply #6 on: November 20, 2014, 12:27:42 pm »
I downloaded the patch itself (17457-001.bin), but honestly do not know what to do with it.

The standard procedure for this is always the same:
  • Download package sources.
  • Apply patch.
  • Resolve conflicts.
  • Make package compile again.
  • Build package.
  • Create .deb.
  • Install .deb.
  • Test. If problems occur go to step 1. ;)

I wish we had more time to play around with making custom versions of certain packages and adding the more usable bits and pieces. :P
There isn't a single thing that's impossible. Just the things that we don't yet know how to deal with. ;)

Offline GeneC

  • Full Member
  • ***
  • Posts: 126
Re: How to install Thunar "Split view Patch'..?
« Reply #7 on: November 20, 2014, 01:05:34 pm »
  • ...............Apply patch
    ..............

I wish we had more time to play around with making custom versions of certain packages and adding the more usable bits and pieces. :P

Hi Moros.
Thanks, but HOW to apply patch?

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 255
  • Problem solver ;)
Re: How to install Thunar "Split view Patch'..?
« Reply #8 on: November 20, 2014, 01:12:10 pm »
Thanks, but HOW to apply patch?

You usually just give a command like this:
Code: [Select]
patch -i path_to_patch_file path_to_original_file
There isn't a single thing that's impossible. Just the things that we don't yet know how to deal with. ;)

Offline GeneC

  • Full Member
  • ***
  • Posts: 126
Re: How to install Thunar "Split view Patch'..?
« Reply #9 on: November 20, 2014, 01:15:00 pm »
Thanks, Moros.. ;)