Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Preloading dmenu

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
w1n73rmu7e
n00b
n00b
User avatar
Posts: 32
Joined: Mon Jul 20, 2009 7:53 pm
Location: The greatest country on Earth.

Preloading dmenu

  • Quote

Post by w1n73rmu7e » Thu Feb 18, 2010 2:28 am

Hi,

When I start dmenu for the first time upon boot, I have to wait a few seconds before it actually shows up. After this, even if I log out/in, dmenu loads almost immediately. Is there some way to "preload" dmenu on boot (or login) so that it will not lag the first time I start it?

Thanks in advance!
BoneKracker wrote:Sorry for being patronizing.
Top
sk8harddiefast
Guru
Guru
User avatar
Posts: 335
Joined: Sun Feb 15, 2009 12:16 pm
Location: athens

  • Quote

Post by sk8harddiefast » Thu Feb 18, 2010 10:12 pm

i don't thing there is a way.is propably because he try to load all 2000&up possibilities of the system.so is to logical to make a little more the first time.and i dont thing that is something that you can set to init.
also plz.can you help me here: http://forums.gentoo.org/viewtopic-t-81 ... t-dwm.html.i am so sad :(
Compile The Universe
Top
dreadlorde
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Tue Dec 16, 2008 8:29 pm
Location: /adm/timezone/US_Michigan
Contact:
Contact dreadlorde
Website

  • Quote

Post by dreadlorde » Fri Feb 19, 2010 1:53 am

cat ~/.dmenu_cache

dmenu re-indexes all of your executables when there's new ones, so if you're always merging new crap, dmenu is always going to re-index it's cache.
Ludwig von Mises Institute
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Top
w1n73rmu7e
n00b
n00b
User avatar
Posts: 32
Joined: Mon Jul 20, 2009 7:53 pm
Location: The greatest country on Earth.

  • Quote

Post by w1n73rmu7e » Fri Feb 19, 2010 2:57 am

dreadlorde wrote:cat ~/.dmenu_cache
Hmm, I tried that manually, and it didn't work (still had the lag).
BoneKracker wrote:Sorry for being patronizing.
Top
sk8harddiefast
Guru
Guru
User avatar
Posts: 335
Joined: Sun Feb 15, 2009 12:16 pm
Location: athens

  • Quote

Post by sk8harddiefast » Fri Feb 19, 2010 10:16 am

if i edit .dmenu_cache and delete the most off packages and keep only the 15-20 i need and dont emerge anything else dmenu will re-indexes all of my executables???if not then dmenu_cashe will be too smaller so it will make less time to be loaded the first time!!!from 2000 possibilities we will go down to 20!!!maybe i am wrong but is an idea
Compile The Universe
Top
dreadlorde
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Tue Dec 16, 2008 8:29 pm
Location: /adm/timezone/US_Michigan
Contact:
Contact dreadlorde
Website

  • Quote

Post by dreadlorde » Fri Feb 19, 2010 1:28 pm

w1n73rmu7e wrote:
dreadlorde wrote:cat ~/.dmenu_cache
Hmm, I tried that manually, and it didn't work (still had the lag).
The cat'ing of ~/.dmenu_cache was to show you it was there.

If you want dmenu to stop being 'slow', stop merging tons of crap.
Ludwig von Mises Institute
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Top
w1n73rmu7e
n00b
n00b
User avatar
Posts: 32
Joined: Mon Jul 20, 2009 7:53 pm
Location: The greatest country on Earth.

  • Quote

Post by w1n73rmu7e » Fri Feb 19, 2010 4:39 pm

dreadlorde wrote:
w1n73rmu7e wrote:
dreadlorde wrote:cat ~/.dmenu_cache
Hmm, I tried that manually, and it didn't work (still had the lag).
The cat'ing of ~/.dmenu_cache was to show you it was there.

If you want dmenu to stop being 'slow', stop merging tons of crap.
I don't think you understand. dmenu is slow the _first_ time I launch it after boot. After that, there are no problems. I just want a way to automatically launch it once at boot, so that the lag doesn't show up when I go to actually use it.
BoneKracker wrote:Sorry for being patronizing.
Top
sk8harddiefast
Guru
Guru
User avatar
Posts: 335
Joined: Sun Feb 15, 2009 12:16 pm
Location: athens

  • Quote

Post by sk8harddiefast » Sat Feb 20, 2010 1:00 am

i understood but i dont speak english very well to explane it :(
try this

Code: Select all

cp /usr/bin/dmenu  /etc/init.d  (with this you will copy dmenu to init)
rc-update add dmenu default   (with this you will set dmenu to boot)
maybe will work.you have nothing to lose to try it.
if will not work then

Code: Select all

rc-update delete dmenu (will unset dmenu from boot)
rm /etc/init.d/dmemu    (will delete dmenu from init)
Compile The Universe
Top
w1n73rmu7e
n00b
n00b
User avatar
Posts: 32
Joined: Mon Jul 20, 2009 7:53 pm
Location: The greatest country on Earth.

  • Quote

Post by w1n73rmu7e » Thu Feb 25, 2010 11:52 pm

Hmm, that didn't work. Any other ideas?
BoneKracker wrote:Sorry for being patronizing.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy