Page 1 of 2

Apps gone

Posted: 24 Jul 2016, 11:44
by linuxer
I am new to Porteus, I installed it with kde desktop environment then I started downloading the packages I use to work with in usm repo, I do not know what I did the thing all the applications icons from the menu on the desktop are gone.
When I run a specific program for instance libreoffice, it prompt, but upon trying to open a file there's no associated application. How can I get back the apps icon visibles. Need help.

Re: Apps gone

Posted: 24 Jul 2016, 11:54
by Blaze
Run these commands at the terminal

Code: Select all

su
toor
/usr/bin/update-mime-database /usr/share/mime
cache-module
and you can try a new Porteus - http://dl.porteus.org/x86_64/Porteus-v3.2rc4/

Cheers

Re: Apps gone

Posted: 24 Jul 2016, 12:49
by linuxer
file:///home/guest/snapshot1.png
unknown media type in all

Re: Apps gone

Posted: 24 Jul 2016, 12:54
by linuxer
Sorry Blaze, I am completely blocked, I tried the command you provided me but it returned this message
Uknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'

Re: Apps gone

Posted: 24 Jul 2016, 16:30
by linuxer
After re-installed Porteus, I started downloading the apps I use to work with then I noticed the apps disappeared again after downloaded and installed ktorrent. Does anybody knows why this is happening? I would not like to re-install again.
I really want to give a try to Porteus, I used to work with pclinuxos. not a expert but familiarized with it.

Re: Apps gone

Posted: 24 Jul 2016, 17:21
by Blaze
You should be able to eliminate that annoying message by removing the /usr/share/mime/packages/kde.xml file and updating the mime database.

Code: Select all

su
toor
mv /usr/share/mime/packages/kde.xml /usr/share/mime/packages/kde.xml.bkp
update-mime-database /usr/share/mime
Regards,
Blaze

Re: Apps gone

Posted: 25 Jul 2016, 18:43
by linuxer
Still no luck Blaze.
I run the commands as you suggested but nothing yet.
my computer is a 32bit. I checked the apps in /bin folder the executable are there, how can I add them into the applications menu.

Re: Apps gone

Posted: 25 Jul 2016, 19:53
by Blaze
Hi, linuxer.
This is a very strange problem. Can you show these commands?

Code: Select all

su
toor
ls /usr/share/applications
ls /usr/share/applications/kde4/
and run (how guest and root accounts)

Code: Select all

kbuildsycoca4 --noincremental
mv "/home/guest/.config/menus/applications-kmenuedit.menu" "/home/guest/.config/menus_applications-kmenuedit.menu"
mv "/root/.config/menus/applications-kmenuedit.menu" "/root/guest/.config/menus_applications-kmenuedit.menu"
kbuildsycoca4 --noincremental
I'm done for you this module kdelibs5-data_4.14.22-1_all.xzm (you can try too)

Re: Apps gone

Posted: 26 Jul 2016, 01:41
by linuxer
guest@porteus:~$ su
Password:
root@porteus:/home/guest# ls /usr/share/applications
CMake.desktop libreoffice-base.desktop qmmp_cue.desktop
Porteus-FAQ.desktop libreoffice-calc.desktop qmmp_dir.desktop
VirtualBox-builder.desktop libreoffice-draw.desktop qmmp_enqueue.desktop
activate.desktop libreoffice-extension-manager.desktop qv4l2.desktop
asunder.desktop libreoffice-impress.desktop qwinff.desktop
browser.desktop libreoffice-math.desktop scangearmp.desktop
bssh.desktop libreoffice-startcenter.desktop simple-scan.desktop
bvnc.desktop libreoffice-writer.desktop simplescreenrecorder.desktop
cups.desktop libreoffice-xsltfilter.desktop@ smplayer.desktop
deactivate.desktop mimeapps.list smplayer_enqueue.desktop
filefinder.desktop mimeinfo.cache smtube.desktop
gftp.desktop mount-manager.desktop src2pkg-dnd.desktop
google-chrome.desktop mozilla-thunderbird.desktop su-dolphin.desktop
greatlittleradioplayer.desktop pburn.desktop su-terminal.desktop
gtk-make-changes.desktop pidgin.desktop system-config-printer.desktop
gtk-porteus-settings-centre.desktop pinstaller.desktop transmission-qt.desktop
hplip.desktop policytool-1.7.0.desktop trojita.desktop
isomaster.desktop policytool.desktop uget-gtk.desktop
jconsole-1.7.0.desktop polyglot.desktop usm.desktop
jconsole.desktop psinfo.desktop uxterm.desktop
kde4/ qmmp.desktop xsane.desktop
root@porteus:/home/guest# ls /usr/share/applications/kde4/
KCharSelect.desktop* gwenview.desktop* ktelnetservice.desktop*
active-documentviewer_comicbook.desktop* kamerka.desktop ktorrent.desktop*
active-documentviewer_djvu.desktop* kcalc.desktop* kvkbd.desktop
active-documentviewer_dvi.desktop* kdepasswd.desktop* kwrite.desktop*
active-documentviewer_fax.desktop* kdesystemsettings.desktop* nepomukbackup.desktop*
active-documentviewer_fb.desktop* kepas.desktop nepomukcleaner.desktop*
active-documentviewer_ghostview.desktop* kfind.desktop* okular.desktop*
active-documentviewer_ooo.desktop* kfontview.desktop* okularApplication_comicbook.desktop*
active-documentviewer_pdf.desktop* kinfocenter.desktop* okularApplication_djvu.desktop*
active-documentviewer_plucker.desktop* klipper.desktop* okularApplication_dvi.desktop*
active-documentviewer_tiff.desktop* kmailservice.desktop* okularApplication_fax.desktop*
active-documentviewer_txt.desktop* kmenuedit.desktop* okularApplication_fb.desktop*
active-documentviewer_xps.desktop* kmix.desktop* okularApplication_ghostview.desktop*
ark.desktop* knetattach.desktop* okularApplication_ooo.desktop*
bluedevil-audio.desktop kolourpaint.desktop* okularApplication_pdf.desktop*
bluedevil-input.desktop kompare.desktop* okularApplication_plucker.desktop*
bluedevil-monolithic.desktop konsole.desktop* okularApplication_tiff.desktop*
bluedevil-network-dun.desktop krdc.desktop* okularApplication_txt.desktop*
bluedevil-network-panu.desktop krename.desktop okularApplication_xps.desktop*
bluedevil-sendfile.desktop krfb.desktop* partitionmanager.desktop*
bluedevil-wizard.desktop ksnapshot.desktop* superkaramba.desktop*
dolphin.desktop* ksysguard.desktop* sweeper.desktop*
root@porteus:/home/guest# kbuildsycoca4 --noincremental
kbuildsycoca4 running...
kbuildsycoca4(3300): "applications.menu" not found in ("/root/.config/menus/", "/etc/xdg/menus/")

root@porteus:/home/guest# mv "/home/guest/.config/menus/applications-kmenuedit.menu" "/home/guest/.config/menus_applications-kmenuedit.menu"
mv: cannot stat ‘/home/guest/.config/menus/applications-kmenuedit.menu’: No such file or directory
root@porteus:/home/guest# mv /home/guest/.config/menus/applications-kmenuedit.menu /home/guest/.config/menus_applications-kmenuedit.menu
mv: cannot stat ‘/home/guest/.config/menus/applications-kmenuedit.menu’: No such file or directory
root@porteus:/home/guest# mv "/root/.config/menus/applications-kmenuedit.menu" "/root/guest/.config/menus_applications-kmenuedit.menu"
mv: cannot stat ‘/root/.config/menus/applications-kmenuedit.menu’: No such file or directory
root@porteus:/home/guest#

Me again Blaze this is what the system returns when I run the commands you indicated me hope this info has been helpful. Thanks for you assistance a patient

Re: Apps gone

Posted: 26 Jul 2016, 03:04
by Jack
@linuxer,

Can you start using Code and it make reading easy and it has word Code on icon. And it will look like this .

Re: Apps gone

Posted: 26 Jul 2016, 03:52
by linuxer
Jack can you be more specific, I do not know what you mean.
I dont know how to read or wright those codes, sorry

Re: Apps gone

Posted: 26 Jul 2016, 04:05
by Jack
linuxer wrote:Jack can you be more specific, I do not know what you mean.
I dont know how to read or wright those codes, sorry
Here is what mean and like I said it the icon with word Code on it. You don't have to write anything. Just start a message and copy from a terminal or a text editor then paste it in a message then high lite the text again then push the button with code on it. Below is what it look like. Hope this help you out.

Code: Select all

guest@porteus:~$ su
Password:
root@porteus:/home/guest# ls /usr/share/applications
CMake.desktop libreoffice-base.desktop qmmp_cue.desktop
Porteus-FAQ.desktop libreoffice-calc.desktop qmmp_dir.desktop
VirtualBox-builder.desktop libreoffice-draw.desktop qmmp_enqueue.desktop
activate.desktop libreoffice-extension-manager.desktop qv4l2.desktop
asunder.desktop libreoffice-impress.desktop qwinff.desktop
browser.desktop libreoffice-math.desktop scangearmp.desktop
bssh.desktop libreoffice-startcenter.desktop simple-scan.desktop
bvnc.desktop libreoffice-writer.desktop simplescreenrecorder.desktop
cups.desktop libreoffice-xsltfilter.desktop@ smplayer.desktop
deactivate.desktop mimeapps.list smplayer_enqueue.desktop
filefinder.desktop mimeinfo.cache smtube.desktop
gftp.desktop mount-manager.desktop src2pkg-dnd.desktop
google-chrome.desktop mozilla-thunderbird.desktop su-dolphin.desktop
greatlittleradioplayer.desktop pburn.desktop su-terminal.desktop
gtk-make-changes.desktop pidgin.desktop system-config-printer.desktop
gtk-porteus-settings-centre.desktop pinstaller.desktop transmission-qt.desktop
hplip.desktop policytool-1.7.0.desktop trojita.desktop
isomaster.desktop policytool.desktop uget-gtk.desktop
jconsole-1.7.0.desktop polyglot.desktop usm.desktop
jconsole.desktop psinfo.desktop uxterm.desktop
kde4/ qmmp.desktop xsane.desktop
root@porteus:/home/guest# ls /usr/share/applications/kde4/
KCharSelect.desktop* gwenview.desktop* ktelnetservice.desktop*
active-documentviewer_comicbook.desktop* kamerka.desktop ktorrent.desktop*
active-documentviewer_djvu.desktop* kcalc.desktop* kvkbd.desktop
active-documentviewer_dvi.desktop* kdepasswd.desktop* kwrite.desktop*
active-documentviewer_fax.desktop* kdesystemsettings.desktop* nepomukbackup.desktop*
active-documentviewer_fb.desktop* kepas.desktop nepomukcleaner.desktop*
active-documentviewer_ghostview.desktop* kfind.desktop* okular.desktop*
active-documentviewer_ooo.desktop* kfontview.desktop* okularApplication_comicbook.desktop*
active-documentviewer_pdf.desktop* kinfocenter.desktop* okularApplication_djvu.desktop*
active-documentviewer_plucker.desktop* klipper.desktop* okularApplication_dvi.desktop*
active-documentviewer_tiff.desktop* kmailservice.desktop* okularApplication_fax.desktop*
active-documentviewer_txt.desktop* kmenuedit.desktop* okularApplication_fb.desktop*
active-documentviewer_xps.desktop* kmix.desktop* okularApplication_ghostview.desktop*
ark.desktop* knetattach.desktop* okularApplication_ooo.desktop*
bluedevil-audio.desktop kolourpaint.desktop* okularApplication_pdf.desktop*
bluedevil-input.desktop kompare.desktop* okularApplication_plucker.desktop*
bluedevil-monolithic.desktop konsole.desktop* okularApplication_tiff.desktop*
bluedevil-network-dun.desktop krdc.desktop* okularApplication_txt.desktop*
bluedevil-network-panu.desktop krename.desktop okularApplication_xps.desktop*
bluedevil-sendfile.desktop krfb.desktop* partitionmanager.desktop*
bluedevil-wizard.desktop ksnapshot.desktop* superkaramba.desktop*
dolphin.desktop* ksysguard.desktop* sweeper.desktop*
root@porteus:/home/guest# kbuildsycoca4 --noincremental
kbuildsycoca4 running...
kbuildsycoca4(3300): "applications.menu" not found in ("/root/.config/menus/", "/etc/xdg/menus/")

root@porteus:/home/guest# mv "/home/guest/.config/menus/applications-kmenuedit.menu" "/home/guest/.config/menus_applications-kmenuedit.menu"
mv: cannot stat ‘/home/guest/.config/menus/applications-kmenuedit.menu’: No such file or directory
root@porteus:/home/guest# mv /home/guest/.config/menus/applications-kmenuedit.menu /home/guest/.config/menus_applications-kmenuedit.menu
mv: cannot stat ‘/home/guest/.config/menus/applications-kmenuedit.menu’: No such file or directory
root@porteus:/home/guest# mv "/root/.config/menus/applications-kmenuedit.menu" "/root/guest/.config/menus_applications-kmenuedit.menu"
mv: cannot stat ‘/root/.config/menus/applications-kmenuedit.menu’: No such file or directory
root@porteus:/home/guest#

Re: Apps gone

Posted: 26 Jul 2016, 07:33
by Blaze
linuxer, run these commands

Code: Select all

su
toor
ll /etc/xdg/menus
mkdir /root/.config/menus
mkdir /home/guest/.config/menus
cp /etc/xdg/menus/kde-4-applications.menu /root/.config/menus/applications.menu
cp /etc/xdg/menus/kde-4-applications.menu /root/.config/menus/kde-applications.menu
cp /etc/xdg/menus/kde-4-applications.menu /home/guest/.config/menus/applications.menu
cp /etc/xdg/menus/kde-4-applications.menu /home/guest/.config/menus/kde-applications.menu
kbuildsycoca4 --noincremental
If you does not have kde-4-applications.menu at /etc/xdg/menus - you can download and activate this module kde-4-applications.xzm and run these commands (see above) again.

Re: Apps gone

Posted: 27 Jul 2016, 01:03
by linuxer
I've got news for you guys, I took extremes measures by wiping the two partitions I've got then I re-installed porteus with the xfce desktop environment, by the way, which I love it, but guess what, I am watching both desktop mixed kde4 and xfce. all apps from kde4 plus the apps from xfce are in the launch menu along with the packages I downloaded which are libreoffice, ktorrent, google chrome and thunderbird. So what do you think just happened?
and so far everything is running smoothely

Re: Apps gone

Posted: 27 Jul 2016, 03:30
by linuxer
is it possible to make ktorrent my default torrent and magnet links downloader? if so, how can I do that.