Page 1 of 1

How to make custom icons to start web pages, programs, etc.?

Posted: Mon Apr 10, 2023 1:08 am
by boof

i have certan programs i like to use in pairs, such as florence [virtual kbd] and [witer at eof of my journal], or [and one of several web pages], or [and thunderbird.]
i'm wondering if i can use unique, single click icons to open at the right points? syntax pls?


Re: How to make custom icons to start web pages, programs, etc.?

Posted: Mon Apr 10, 2023 2:56 am
by mr_gs

Hi @boof.
Create a file myscript.sh in root directory(Or anywhere). Open the file in leafpad/geany and add the following code

Code: Select all

#! /bin/bash
firefox www.google.com & thunderbird &

(This is to open google in firefox and thunderbird at the same time. You can give any number of commands with/without arguments separated by & symbol)
Save the file and open a terminal in its directory and type

Code: Select all

chmod +x myscript.sh

(This gives the file execution permission)

Drag and drop the file to desktop/pinboard from rox file manager. Right click on it and choose edit item to rename the shortcut. Also in the menu File>Set icon you can set custom icon for our new shortcut.
Have a nice day :thumbup: