Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: ztealmax on July 27, 2012, 09:48:18 AM
-
Hi all again just me ones more ;)
A silly question im trying to figure out how to make a theme pack for XFCE4
how would i do that the easiest way?
What i am trying to do , i have a few themes i want to make a package of
and call it for example xfce4-themes.tcz.
now how would i go about to make this work?
Any tips and tricks from tc geniuses would be greatfully accepted ::D
Sincerally
Martin
-
Hi ztealmax
Basically, what you want to do is set up a temporary directory structure containing the files that mimics how
it would look in a running system. For example, if the package requires a file located in:
/usr/local/share/icons/Rodent/48x48/apps/xfce-printer.png
you could copy it to:
/tmp/xfce4-themes/usr/local/share/icons/Rodent/48x48/apps/xfce-printer.png
Add any remaining paths/files under /tmp/xfce4-themes/ that you want installed with the package.
Now create a file called:
/tmp/xfce4-themes/usr/local/tce.installed/xfce4-themes
If you need to perform any commands when the package is installed, add them to xfce4-themes, otherwise,
leave that file empty. Finally:
sudo chown -R root:staff /tmp/xfce4-themes/usr/local/tce.installed
sudo chmod -R 775 /tmp/xfce4-themes/usr/local/tce.installed
cd /tmp
mksquashfs xfce4-themes xfce4-themes.tcz
Copy the xfce4-themes.tcz file to your tce directory and add xfce4-themes.tcz to your onboot.lst.
-
Thank you m8 i will try it out :D
Martin
-
Hi all again just me ones more ;)
A silly question im trying to figure out how to make a theme pack for XFCE4
how would i do that the easiest way?
What i am trying to do , i have a few themes i want to make a package of
and call it for example xfce4-themes.tcz.
Study xfwm4-themes.tcz ?