SalixOS Thunar Tips

Templates

In your home directory there is a directory called Templates, which is probably empty.
In this directory, you can create templates that then can be used in Thunar with a right click.
For this to work, the file ~/.config/user-dirs.dirs must exist and contain the path to the templates:
XDG_TEMPLATES_DIR="$HOME/Templates"

Bash template
Create a file called "bash.sh" in Templates with content:
#!/bin/sh
#
# Copyright (C) 2012 Your Name
#

Now you can create a bash file with the right-click in the directory you want with the content you have in the template.
Python template
Create a file called python.py in Templates with content:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#Copyright (C) 2012 Your Name.
#
Perl template
Create a file called perl.pl in Templates with content:
#!/usr/bin/perl -w
#
#Copyright (C) 2012 Your Name.
#


The content can be anything.
For example I have created html/css files that I then can use to make a website.
If you use OpenOffice/libre office, you can create templates even with these programs and save in Templates. I have created sub-directories in Templates, so it should be easier to find the template I want.
See Figure 1.

Figure 1.
Changed: 8-Jan-2012

News

2019-05-15
Salix OS stickers updated
2012-08-05
Fluxbox tips updated
2012-05-20
CD-labels for Salix OS MATE edition
2012-03-07
New page about Epson Perfection 1260
2012-01-29
New page about Hardware
2012-01-21
New Thunar Custom Actions under File Management
2012-01-17
Uppdated Thunar Custom Actions
2012-01-08
New page on Thunar Templates.
2012-01-05
My new homepage about Salix OS

Statistics

This page: 1931 Total visits:140609