Apps gone

Get help with KDE4 specific problems
linuxer
White ninja
White ninja
Posts: 9
Joined: 24 Jul 2016, 04:06
Distribution: pclinuxos
Location: Santo Domingo

Apps gone

Post#1 by linuxer » 24 Jul 2016, 11:44

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.

User avatar
Blaze
Moderator
Moderator
Posts: 1358
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Apps gone

Post#2 by Blaze » 24 Jul 2016, 11:54

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
Linux porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

linuxer
White ninja
White ninja
Posts: 9
Joined: 24 Jul 2016, 04:06
Distribution: pclinuxos
Location: Santo Domingo

Re: Apps gone

Post#3 by linuxer » 24 Jul 2016, 12:49

file:///home/guest/snapshot1.png
unknown media type in all

linuxer
White ninja
White ninja
Posts: 9
Joined: 24 Jul 2016, 04:06
Distribution: pclinuxos
Location: Santo Domingo

Re: Apps gone

Post#4 by linuxer » 24 Jul 2016, 12:54

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'

linuxer
White ninja
White ninja
Posts: 9
Joined: 24 Jul 2016, 04:06
Distribution: pclinuxos
Location: Santo Domingo

Re: Apps gone

Post#5 by linuxer » 24 Jul 2016, 16:30

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.

User avatar
Blaze
Moderator
Moderator
Posts: 1358
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Apps gone

Post#6 by Blaze » 24 Jul 2016, 17:21

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
Linux porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

linuxer
White ninja
White ninja
Posts: 9
Joined: 24 Jul 2016, 04:06
Distribution: pclinuxos
Location: Santo Domingo

Re: Apps gone

Post#7 by linuxer » 25 Jul 2016, 18:43

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.

User avatar
Blaze
Moderator
Moderator
Posts: 1358
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Apps gone

Post#8 by Blaze » 25 Jul 2016, 19:53

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)
Linux porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

linuxer
White ninja
White ninja
Posts: 9
Joined: 24 Jul 2016, 04:06
Distribution: pclinuxos
Location: Santo Domingo

Re: Apps gone

Post#9 by linuxer » 26 Jul 2016, 01:41

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

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Apps gone

Post#10 by Jack » 26 Jul 2016, 03:04

@linuxer,

Can you start using Code and it make reading easy and it has word Code on icon. And it will look like this .
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

linuxer
White ninja
White ninja
Posts: 9
Joined: 24 Jul 2016, 04:06
Distribution: pclinuxos
Location: Santo Domingo

Re: Apps gone

Post#11 by linuxer » 26 Jul 2016, 03:52

Jack can you be more specific, I do not know what you mean.
I dont know how to read or wright those codes, sorry

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Apps gone

Post#12 by Jack » 26 Jul 2016, 04:05

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#
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Blaze
Moderator
Moderator
Posts: 1358
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Apps gone

Post#13 by Blaze » 26 Jul 2016, 07:33

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.
Linux porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

linuxer
White ninja
White ninja
Posts: 9
Joined: 24 Jul 2016, 04:06
Distribution: pclinuxos
Location: Santo Domingo

Re: Apps gone

Post#14 by linuxer » 27 Jul 2016, 01:03

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

linuxer
White ninja
White ninja
Posts: 9
Joined: 24 Jul 2016, 04:06
Distribution: pclinuxos
Location: Santo Domingo

Re: Apps gone

Post#15 by linuxer » 27 Jul 2016, 03:30

is it possible to make ktorrent my default torrent and magnet links downloader? if so, how can I do that.

Post Reply