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

Moderators: 666philb, Forum moderators

Post Reply
boof
Posts: 555
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

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

Post 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?

User avatar
mr_gs
Posts: 38
Joined: Tue Dec 14, 2021 6:39 am
Has thanked: 7 times
Been thanked: 8 times

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

Post 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:

Fossapup 9.5 64bit Kernel 5.4.53
Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
8GB RAM
Intel (R) UHD Graphics

Post Reply

Return to “Fossapup64”