You are not logged in.

#1 2008-02-16 16:10:14

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 217

Application icon & PDF conversion questions

Hi all, I am running Arch-i686 with Openbox (without panel). I chose Leafpad as my daily editor but it has no icon displayed in the app switch dialog (Alt+Tab dialog). Can I manually specify an icon for it? Also, the amule icon is so ugly, can I change its icon in the app switch dialog as well as the system tray icon?

I am also looking for a soft that can convert html documents into PDF docs. Any recommendations?

Offline

#2 2008-02-16 16:36:01

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: Application icon & PDF conversion questions

I can answer to your second question, even though I can't really recommend anything, since I've never used such programs.

In [community] we have htmldoc, which produces "PDF or Postscript from HTML documents including TOCs and Indices". It sounds cool to me.


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#3 2008-02-16 17:15:22

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Application icon & PDF conversion questions

hk2717 wrote:

Hi all, I am running Arch-i686 with Openbox (without panel). I chose Leafpad as my daily editor but it has no icon displayed in the app switch dialog (Alt+Tab dialog). Can I manually specify an icon for it? Also, the amule icon is so ugly, can I change its icon in the app switch dialog as well as the system tray icon?

I am also looking for a soft that can convert html documents into PDF docs. Any recommendations?

You can specify icons for programs in their desktop file entries. Take a look at the files in /usr/share/applications for examples if you need one. Then put the new copy in ~/.local/share/icons and that will override the global defaults.

For the second question you can also use OpenOffice if it's size isn't too much for you.

Offline

#4 2008-02-16 17:16:26

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 217

Re: Application icon & PDF conversion questions

htmldoc does not support UTF-8. What a pity.

Offline

#5 2008-02-16 19:31:54

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Application icon & PDF conversion questions

You can actually use open office for this.

See JODConverter which simplifies the conversion. http://www.artofsolving.com/opensource/jodconverter

You do need OO installed and the guide explains how to start it as a daemon.

Offline

#6 2008-02-16 19:37:53

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: Application icon & PDF conversion questions

with cups, you can create a pdf printer easily
theres a page on the wiki for it
then you can just tell your browser to print to this and you end up with a nice pdf.

(I guess that seeing as you're using openbox, you probably don't want to install something as big as openoffice)

Last edited by alex_anthony (2008-02-16 19:39:39)

Offline

#7 2008-02-17 05:47:54

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 217

Re: Application icon & PDF conversion questions

@skottish: I've copied some icons from /usr/share/applications to ~/.local/share/icons but nothing changed. amule still uses its ugly icon instead the one I put into the ~/.local/share/icons folder. (The icon file name is aMule), and Leafpad still has no icon.
@alex_anthony: I installed cups-pdf, but when I tried to print a html doc in firefox3beta4pre, I got a problem. My doc is as follows:
------------------
Header
ContentPage1
ContentPage2
ContentPage3
Footer
------------------
The printed PDF is as follows:
------------------
Header
ContentPage1
Footer
------------------
I completely lost ContentPage2 and ContentPage3. Is it a firefox3beta4pre bug?

On the other hand, I'll give openoffice a try.

Offline

#8 2008-02-17 06:39:52

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Application icon & PDF conversion questions

hk2717 wrote:

@skottish: I've copied some icons from /usr/share/applications to ~/.local/share/icons but nothing changed. amule still uses its ugly icon instead the one I put into the ~/.local/share/icons folder. (The icon file name is aMule), and Leafpad still has no icon.

Within the desktop file there should be an entry for the icon. For instance, on my computer the Firefox3 desktop file is this:

[Desktop Entry]
Hidden=false
Name[en_US]=Firefox3
NoDisplay=false
Icon[en_US]=/usr/share/icons/Kreski/web2.png
Exec=firefox3 %u
Type=Application
Version=1.0
Categories=Application;Network;
StartupNotify=false
GenericName=Firefox3
Name=Firefox3
Terminal=false
MimeType=text/html;
Icon=/usr/share/icons/Kreski/web2.png
GenericName[en_US]=Firefox3

The second to last line specifies the icon. Point that to the icon that you want and it (hopefully) will give you what you're looking for.

Offline

#9 2008-02-17 09:39:09

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 217

Re: Application icon & PDF conversion questions

I copied the desktop files to both ~/.local/share/icons  and modified the icon path to my prefered icon, then copy these desktop files to ~/.local/share/applications. After reboot, nothing changes. I am confused.

Offline

#10 2008-02-17 19:23:49

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: Application icon & PDF conversion questions

not a clue about cups-pdf really
I just used it and it worked - cant remember what it was that i was using it for...
Maybe you need to fiddle with the config file

Offline

Board footer

Powered by FluxBB