Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Tips and Tricks from the Xfce Forum

Topics relating to MX Docs and MX Videos
Message
Author
User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22420
Joined: Wed Jul 19, 2006 6:13 am

Re: Tips and Tricks from the Xfce Forum

#11 Post by Jerry3904 » Sat Jun 02, 2018 1:28 pm

Yeah, was just feeling ornery I guess.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1086
Joined: Sat Aug 06, 2011 4:58 am

Re: Tips and Tricks from the Xfce Forum

#12 Post by tascoast » Sat Jun 02, 2018 10:32 pm

Order partitions in Thunar

Normally Thunar reorders partitions with each login. Here is a trick to get it how you would like it (from user Paul1149):

Go to each internal drive, and from the right pane or address bar drag it into the PLACES list.
Drag them into your desired order.
Now right-click those drives under DEVICES in the left pane and uncheck them.
They will disappear, giving their vertical space back, and you will be left with a tidy list of devices in the order you want.
The "Now right-click those drives under DEVICES in the left pane and uncheck them" step has me stumped. Mind you I needed to change to view the side pane as shortcuts, rather than as a tree, as I usually have it set to.

Open, open in a new tab, open in a new window or unmount appear to be the only right-click options available here.


I do like this one and expect I'll test it out next:
Adjust spacing of Thunar columns

The text inside the columns of Thunar is often jammed up against the right column edge. ToZ looked at the code and found that this snippet will fix it. Create a new file ~/.gtkrc-2.0 and paste in the code below. Then log out and back in to see the effect.

----------

style "my-details-view"
{
GtkTreeView::horizontal-separator = 20
}
widget_class "*ThunarDetailsView*" style "my-details-view"

----------

You can vary the value (10, 15, ,etc.) to suit your tastes.

Center a window using the keyboard

You can center a window using a keyboard with this script:
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1086
Joined: Sat Aug 06, 2011 4:58 am

Re: Tips and Tricks from the Xfce Forum

#13 Post by tascoast » Sat Jun 02, 2018 10:49 pm

For: Adjust spacing of Thunar columns
"The text inside the columns of Thunar is often jammed up against the right column edge. ToZ looked at the code and found that this snippet will fix it. Create a new file ~/.gtkrc-2.0 and paste in the code below. Then log out and back in to see the effect."

this worked fine, although I note that I already had a .gtkrc-2.0 file present.

I simply opened with FeatherPad and hit return twice to paste the code as below:

Code: Select all

include ".local/share/mx-tweak-data/whisker-tweak.rc"


style "my-details-view"
{
GtkTreeView::horizontal-separator = 20
}
widget_class "*ThunarDetailsView*" style "my-details-view"
The first line, include ".local/share/mx-tweak-data/whisker-tweak.rc", was already there, for reference.

Not being very familiar with hidden user setting files but seeing how the added code resembles HTML cellpadding=, align= and the like, this seemed quite simple (I did back up the original .gtkrc-2.0 file of course, lest my efforts went wrong).
I will stay with the 'padded' look shown below for a while.
:thumbup:

....turns off Show Hidden Files now....
You do not have the required permissions to view the files attached to this post.
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22420
Joined: Wed Jul 19, 2006 6:13 am

Re: Tips and Tricks from the Xfce Forum

#14 Post by Jerry3904 » Mon Jun 04, 2018 7:44 am

rich wrote:
Sat Jun 02, 2018 10:21 am
My favorite thing I got from there I detailed in this post: viewtopic.php?f=23&t=45293
Basically, the ability to refresh the clock after suspend. Idk how many people actually use the native panel clock though, in pre 4.13 panel there's a bug that makes it tricky to set the timezone. The workaround by the way is to edit the clock panel item properties by opening the panel preferences dialog from the menu and going to panel items instead of just right clicking on the clock item itself in the panel.
Added this, also the padding one from Alt.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22420
Joined: Wed Jul 19, 2006 6:13 am

Re: Tips and Tricks from the Xfce Forum

#15 Post by Jerry3904 » Mon Jun 04, 2018 7:49 am

The "Now right-click those drives under DEVICES in the left pane and uncheck them" step has me stumped. Mind you I needed to change to view the side pane as shortcuts, rather than as a tree, as I usually have it set to.

Open, open in a new tab, open in a new window or unmount appear to be the only right-click options available here.
I can't see how that works now, either. Will remove if no one can do it.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9303
Joined: Sun Dec 16, 2007 1:17 pm

Re: Tips and Tricks from the Xfce Forum

#16 Post by dolphin_oracle » Mon Jun 04, 2018 8:06 am

you actually need to right click in an open space in the drives area to get the hidden menu.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22420
Joined: Wed Jul 19, 2006 6:13 am

Re: Tips and Tricks from the Xfce Forum

#17 Post by Jerry3904 » Mon Jun 04, 2018 8:36 am

Oh--in the space to the right of the word Drives works for me.

th
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1086
Joined: Sat Aug 06, 2011 4:58 am

Re: Tips and Tricks from the Xfce Forum

#18 Post by tascoast » Mon Jun 04, 2018 8:54 am

Cheers also. In effect it removes Device listings and shows partitions listed under Places, but in the order a user has added them.
This works well for those who prefer the left pane as View-Shortcuts, but does not allow for these to be displayed in a -Tree view. So ultimately, Device listings cannot be rearranged per user preference. This is still a good tip for those preferring a shortcut view, just not for those users relying on a tree view Thunar.
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

User avatar
oops
Forum Regular
Forum Regular
Posts: 299
Joined: Tue Apr 10, 2018 5:07 pm

Re: Tips and Tricks from the Xfce Forum

#19 Post by oops » Mon Jun 04, 2018 9:06 am

Jerry3904 wrote:
Wed Apr 19, 2017 6:43 am
Did you know that we keep a running list created from interesting and useful posts on the Xfce Forum?
https://mxlinux.org/wiki/xfce/xfce-comm ... eful-stuff
The one I just put up there is a neat script that centers a window and can be assigned to a keystroke.
Thank you Jerry ... interesting tricks.
$ inxi -S : System: Host:XEON Kernel: 4.16.0-xeon-01.efi x86_64 bits: 64 Desktop: Xfce 4.12.3 - Distro: MX-17.1_x64 Horizon


Post Reply

Return to “Documentation and videos”