You are not logged in.
Hi
I often use console app's being offered by SliTaz, for ex. sc, the venerable spreadsheet, or alpine, needing to start in a terminal like Sakura (and would wish a friendly background in the terminal, some pastel color for example). And I use Seamonkey only for the part "WYSYG HTML editor"; to avoid to commute to it after the start, it would be much better to have a direct entry in the menu for it. My search action in the doc.slitaz.org were success less (for those two specific actions! I did find somewhat for Enlightment or JWM, but actually SliTaz 5.0 uses an other combination...).
How to do that?
Kind regards
Offline
Hi oui,
[c]$ cp /usr/share/applications/seamonkey.desktop .local/share/applications/seamonkey-composer.desktop[/c]
then
[c]$ nano .local/share/applications/seamonkey-composer.desktop[/c]
and append [c]-edit[/c] to the [c]Exec=[/c] line. Change the [c]Icon=[/c] to [c]/usr/lib/seamonkey/chrome/icons/default/editorWindow48.png[/c].
Now, I don't know how one refreshes the menu. (I use the desktop file for a launcher in the panel, not for adding items to the menu.)
Offline
As for sakura's background, right-click on it (sakura's background) > Choix des couleurs (I bet you are french-speaking like me!).
Offline
Copy/paste/save to text file named composer.desktop
[c]# cp composer.desktop /usr/share/applications[/c]
Applications/Development/Composer
[Desktop Entry]
Encoding=UTF-8
Name=Composer
Name[fr]=Navigateur Web Seamonkey
Name[pt]=Navegador web Seamonkey
Name[pt_BR]=Navegador web Seamonkey
Comment=wysiwyg editor
Exec=seamonkey -edit
Icon=seamonkey
Type=Application
Categories=Development;WebDevelopment;Network;
Offline
merci beaucoup pour composer! sc?
Offline
Hi
for SC (or other console app's), file ~/.local/share/applications/sc.desktop (check if subdir ~/.local/share/applications/ is already available!):
[Desktop Entry]
Type=Application
Name=SC
Name[fr]=Tableur SC
Name[pt]=
Name[pt_BR]=
Name[ru]=
Comment=
Comment[fr]=tableur
Comment[ru]=
Exec=terminal -e sc
Icon=gnumeric
Categories=Office;
Color adaptation in sc: I didn't find some way...
Offline
Have a look at the manual: http://pwet.fr/man/linux/commandes/sc
It seems you have to issue "set color" then some color commands are available (there's a dedicated section in the manual). You can put those commands in a file ~/.scrc .
Offline
Hi mojo,
Categories=Development;WebDevelopment;Network;
Application will appear both in the two main menu categories: under Development and under Network. So, maybe, better to remove "Network;" from end.
Also, to check handmade icons:
[c]desktop-file-validate /usr/share/applications/your-file.desktop[/c]
It validates file and shows you errors and warnings:
tux@slitaz:~$ desktop-file-validate /home/tux/Desktop/composer.desktop
/home/tux/Desktop/composer.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
/home/tux/Desktop/composer.desktop: hint: value "Development;WebDevelopment;Network;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
Offline
Hi Aleksej,
You are right.
Offline
[ Generated in 0.016 seconds, 8 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]