LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2016, 05:42 AM   #1
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
a script to create tiled backgrounds with effects & set them with feh


tileset

https://github.com/ohnonot/tileset

Get a better impression of tiled images while browsing through folders full of them, recursively. change background color for transparent tiles, and use the resulting image as background (tiled).
You may pass a different path as an argument, otherwise the current folder will be searched for images.

Usage

tileset [path/to/folder]
You can add a symlink to your $HOME/bin (if it's in your $PATH):
cd ~/bin; ln -s /path/to/git/tileset/tileset

Dependencies

Requires both imagemagick (tested on versions 6.8.9-9 and 6.9.3-7) for image manipulation and feh (tested on versions 2.12 and 2.14.2) for background setting!
/tmp has to be user writable. Otherwise, adjust the tmpdir variable in the script.
optional: grabc (command line color picker)

Screenshot or it didn't happen

The background in the screenshot was produced with tileset.

Also see this blog post on how to obtain a nice collection of transparent tiles.

Last edited by ondoho; 04-09-2016 at 05:43 AM.
 
Old 04-13-2016, 12:32 AM   #2
A.Thyssen
Member
 
Registered: May 2006
Location: Brisbane, Australia
Distribution: linux
Posts: 158

Rep: Reputation: 44
What is this in aid of? Do you have an actual question? You seem to be missing some initial 'what is it for' aspect for someone who is not familar with what you are exactly trying to accomplish with the script. You know... Others don't!

Note I am not trying to be difficult but I see this with documentation a lot. Skipping some key initial bit of information known to someone not involved with the project.
 
Old 04-13-2016, 01:25 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872

Original Poster
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
this is not a help request; just proudly presenting my pet project ;-)

with this you can preview tiled images on a larger canvas, and, if so desired, set the root window background with that particular tile.
one can also apply some image magick to a screen-sized canvas filled with $tile.

it is, at this point, rather specific in that it requires feh and works best if you use feh as your constant background setter.

does this help to understand what this project is about?
if so, i will adjust the readme accordingly.
 
Old 04-13-2016, 01:36 AM   #4
A.Thyssen
Member
 
Registered: May 2006
Location: Brisbane, Australia
Distribution: linux
Posts: 158

Rep: Reputation: 44
Okay I see.. the missing information was that you were trying to view semi-transparent tiling images with a specific background.

Not I am a user of feh, and the author of ImageMagick Examples. Which is why I was interested in the topic when I saw it.

Last edited by A.Thyssen; 04-13-2016 at 01:37 AM.
 
Old 04-14-2016, 01:11 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872

Original Poster
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
hmmm.

i see there's a little confusion here.

i don't understand, are you a user of both imagemagick and feh, or are you not?


anyhow, let me explain how the script came to be in its current form:

1.) at first i had a script to just preview tiles (tiles, in my book, are samll images that can be tiled to create a larger image, seamlessly, i.e. you don't perceive the borders of the individual image).
some tiles can be pretty small and it's really impossible to tell how they look on a larger canvas. the script can still be used in this way.

2.) at some point i decided to add the option to set the tile in question as root window background (sometimes also refered to as wallpaper or desktop, but users of desktop environments willnot be able to use feh or any other root window bg setter for this)

3.) then i found a great website with transparent tiles, namely http://transparenttextures.com/ - these tiles do what is exlained above, but they all have a more-or-less transparent background.
now feh cannot add a solid background color under those tiles (some bg setters can), so i added the capability to add a background color of choice and create a new, now non-ransparent tile from that. this has no effect on any tiles that are non-transparent to begin with.

4.) lastly, i added the capability to create a screen-sized canvas from the tile, and then add some effects. i mostly use the lighting effect, but in some cases blur and possibly other effects.


currently the script has the following limitations:

- no command-line options (except path of image folder)
- the menus could really be more intuitive
- it is "hardwired" to use feh as bg setter. with some modifications, the user could have more choices, and maybe even desktop environments could be supported.
- possibly more.

i will invest more time into this and improve those limitations.
consider the script in its current form a beta release.


i am not quite sure how to put all this into the project's readme in a stringent form, but i agree that it's necessary.
 
Old 04-22-2016, 12:42 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872

Original Poster
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I made some changes to the UI.
it's not using (n)curses, and i'm not planning on, so it will remain clunky, but i strive to make it consistent.

I also updated the Readme, mostly with this text:
Quote:
An image viewer and background setter, with a focus on small tileable images

Get a better impression of tiled images while browsing through folders full of them, recursively.
Change the background color (needed for partly transparent tiles).
Apply effects to a screen-sized canvas created from the current tile.
All results can be set as the desktop background with feh (TODO: include other background setters).
The main menu also has a function to restore the background image to what it was before starting tileset.

Also see this blog post on how to obtain a nice collection of partly transparent tiles.

Last edited by ondoho; 04-22-2016 at 12:35 PM.
 
Old 04-26-2016, 12:40 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872

Original Poster
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i now added a single image mode, so you can use the script to e.g. work with one image straight from your file browser, as well as whole folders.
 
Old 06-21-2018, 08:05 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872

Original Poster
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I have moved all my repositories to https://framagit.org/ohnonot and https://notabug.org/ohnonot
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Set your IP as Wallpaper with convert and feh LXer Syndicated Linux News 0 10-30-2009 04:10 AM
Unable to set style-specific backgrounds in fluxbox 1.0rc3 nakedlunch Linux - Software 2 08-10-2007 09:40 AM
LXer: Australian Post-Production Facility, Frame, Set & Match, Adopts Autodesk's Discreet Flame Visual Effects Systems Running Linux LXer Syndicated Linux News 0 06-30-2006 09:54 PM
HOW-TO? Create User, Set Password with script longtex SUSE / openSUSE 13 10-02-2005 02:35 PM
Can I set unique backgrounds for each workspace in Bluecurve? dot hog Red Hat 4 10-25-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration