Please support VectorLinux!

Author Topic: Sane Scanner Launcher ? VL 6.0  (Read 1270 times)

svgt

  • Member
  • *
  • Posts: 18
Sane Scanner Launcher ? VL 6.0
« on: March 11, 2009, 06:16:46 pm »
Hi,

as standard the sane and xsane packages are installed in the system. But there is no entry in the menu.  I must lauch it in the terminal with xsane command.

Is there an easy way to get an entry in the menu?

Regards,
Svgt

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: Sane Scanner Launcher ? VL 6.0
« Reply #1 on: March 12, 2009, 02:16:03 am »
As root, execute this command:
Code: [Select]
cp /usr/share/icons/Rodent/48x48/apps/xsane.png /usr/share/pixmaps
Then with mousepad, create a file called xsane.desktop and copy these contents to the file:
Code: [Select]
[Desktop Entry]
Encoding=UTF-8
Name=XSane
Comment=Scanner Access Now Easy
Exec=xsane
Icon=xsane
Terminal=false
Type=Application
Categories=Application;Office;

Then, as root, move this xsane.desktop file to /usr/share/applications.

An icon will show up under Office.

You've asked about creating launchers a couple of days ago, and lots of possible solutions were provided.
This one is just copy/paste, so I hope you'll try it.

(another way to help is to test packages that show up in the testing repository. Sometimes they slip by without icons, so the earlier the packagers catch that, the earlier they fix it)

caitlyn

  • Packager
  • Vectorian
  • ****
  • Posts: 2876
    • The Linux Works
Re: Sane Scanner Launcher ? VL 6.0
« Reply #2 on: March 13, 2009, 02:41:07 pm »
wcs is spot on about testing.  The sane package needs to be rebuilt.  That won't fix the iso, of course.  I'll check into who the original packager is and work from there.
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1