[SOLVED] dwm + gkrellm. gkrellm in all tags + apps not over it

hi! i'm using dwm right now, and it's here to stay in my config, but i'm a convert from fluxbox, and on it, i used to run gkrellm, it was beautifull to have it showed in every desktop, so right now i think if it's posible to have gkrellm in dwm, in the exact same behavior, so it shows in every tag, and the opened apps, dont get over it, like the slit in fluxbox...
here's my config.h, i've added gkrellm to the floating apps list, but don't know how to edit it so gkrellm show in every tag
/* See LICENSE file for copyright and license details. */
/* appearance */
/* static const char font[] = "-*-terminus-medium-r-normal-*-18-*-*-*-*-*-*-*"; */
static const char font[] = "-*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*";
static const char normbordercolor[] = "#111111";
static const char normbgcolor[] = "#000000";
static const char normfgcolor[] = "#ffffff";
static const char selbordercolor[] = "#777777";
static const char selbgcolor[] = "#222222";
static const char selfgcolor[] = "#ffffff";
static unsigned int borderpx = 1; /* border pixel of windows */
static unsigned int snap = 32; /* snap pixel */
static Bool showbar = True; /* False means no bar */
static Bool topbar = False; /* False means bottom bar */
/* tagging */
static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static Rule rules[] = {
/* class instance title tags mask isfloating */
{ "Gimp", NULL, NULL, 0, True },
{ "Firefox", NULL, NULL, 1 << 8, True },
{ "MPlayer", NULL, "MPlayer", 0, True },
{ "feh", NULL, "feh", 0, True },
{ "glxgears", "glxgears", "glxgears", 0, True },
{ "vlc", NULL, "vlc", 0, True },
{ "xine", NULL, "xine", 0, True },
{ "gkrellm", NULL, "gkrellm", 0, True },
{ "galculator", NULL, NULL, 0, True },
{ "xcalc", NULL, NULL, 0, True },
{ "winff", NULL, "winff", 0, True },
{ "snes9x", NULL, "snes9x", 0, True },
/* layout(s) */
static float mfact = 0.55;
static Bool resizehints = True; /* False means respect size hints in tiled resizals */
static Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
/* key definitions */
#define MODKEY Mod1Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
static const char *termcmda[] = { "urxvt", NULL };
static const char *termcmdb[] = { "urxvt", "-sh", "50", NULL };
static const char *amixcmdua[] = { "amixer", "-q", "set", "PCM", "20+", NULL };
static const char *amixcmdda[] = { "amixer", "-q", "set", "PCM", "20-", NULL };
static const char *amixcmdub[] = { "amixer", "-q", "set", "Front", "10+", NULL };
static const char *amixcmddb[] = { "amixer", "-q", "set", "Front", "10-", NULL };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmda } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmdb } },
{ MODKEY, XK_z, spawn, {.v = amixcmdda } },
{ MODKEY, XK_x, spawn, {.v = amixcmdua } },
{ MODKEY|ShiftMask, XK_z, spawn, {.v = amixcmddb } },
{ MODKEY|ShiftMask, XK_x, spawn, {.v = amixcmdub } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY|ControlMask, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY, XK_q, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
/* button definitions */
/* click can be a tag number (starting at 0),
* ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
static Button buttons[] = {
/* click event mask button function argument */
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
{ ClkWinTitle, 0, Button2, zoom, {0} },
{ ClkStatusText, 0, Button2, spawn, {.v = termcmda } },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
THANKS!!
Last edited by leo2501 (2008-08-08 11:01:14)

i will answer myself, someone get me the "key" in the ML. lol...
On 8/4/08, Anselm R Garbe <[EMAIL PROTECTED]> wrote:
> Also you might patch dwm.c to leave some space on the right for the
> window, e.g. in updategeom:
>
> wh-=200;
decreasing window area height would leave space at the _bottom_
ww-=200;
is probably what you meant
Anselm R Garbe
Mon, 04 Aug 2008 04:29:45 -0700
You need to define a rule to make it floating and tag it with all tags.
{ "gkrellm",  NULL,       "gkrellm",  ~0,            True },
Also you might patch dwm.c to leave some space on the right for the
window, e.g. in updategeom:
wh-=200;
Kind regards,
Anselm
Rickard Gustafsson
Mon, 04 Aug 2008 04:28:39 -0700
{ "gkrellm",  NULL,       "gkrellm",  (1 << 9) - 1,            True },
or you could just replace (1 << 9) - 1 with 511.

Similar Messages

  • My iPad is suddenly not loading any apps.  When I click on an app, the screen flickers to black and then back to normal, but will not load the app.  This is ALL the apps, not just one.  Have tried rebooting, to no avail.

    My iPad is suddenly not loading any apps.  When I click on an app, the screen flickers to black and then back to normal, but will not load the app.  This is ALL the apps, not just one.  Have tried rebooting, to no avail.

    Was a Restore one of the things tried.?  [Attach the iPad to your computer and in iTunes click on your device. On the Summary page click on Restore and go through the process. Be sure to click YES to Restore from a previous backup.]

  • Viewing "All" Purchased Apps not working

    In the App Store Purchased page, my "All" list and "Not on this iPhone" lists are exaxtly identical. I'm supposed to view all the apps in the "All" list, including the ones on my phone, but the ones on my phone are not there. Does anyone know what to do? Who else has this problem?

    Got it fixed!  I reset my profile backup by turning off the backup app, then I went to device info -> Reset options and did the quick erase apps & data option.
    When it came to profile logon, I logged in, and it loaded the launcher.  It began to restore all my apps, which got me worried because that includes TweetMe & Tweed.  But luckily it just did a fresh install of all apps and none of my corrupt profile data.
    Hopefully this helps anyone else with apps that stop functioning.  This one was interesting in that it was any apps that connect to Twitter.  So now I'm back to a fresh AT&T 1.4.5 Pre+ with all my downloads and purchases!
    Thanks to all who tried to help!

  • All purchased apps gone over night

    This morning I had a bad surprise: all user-installed apps have disappeared! I only see the iOS basic apps. I have my iPhone operating under iOS5 with wifi sync enabled. itunes on the Mac shows all the apps selected for sync, but does not show any folders any more. So both - on iphone and in itunes - I do not see the setting of the day before. What has gone wrong and maybe more important: how to restore the yesterday state of my phone??? (i don't want to recreate all the screen settings and folders by hand)

    Had something similar to this happen to me on not one but two devices today.   On my iPhone 4 and a iPad2. Out of the blue I noticed that about half of my apps on both devices were gone.  No clue what happened. Neither devices was plugged into power at the time and I had not initiated a sync or made any changes...  Half my apps and folder/screen organization were just gone. 
    I got my devices back in order (after several hours) by connecting the device directly to my iMac, doing a restore, and allowing iTunes to restore from my backup.  Several hours later I had everything back to normal.  I've now disabled wifi sync. I'm pretty sure they have a bug here someplace...  Good luck.

  • Im traveling to south América for a business , i would like to know if all my apps works over there.?

    I'm traveling to south América for a bussines i would like to know if all my apps all ready purchase here , works over there . I hope somebody can help me

    Yes, I am sure. Your apps will definitely work. However, you can't update them overseas. You might also be unable to buy in-app or in-game items. As far as the apps themselves, there is no way them should stop working. It's just like taking your music/videos/movies with you when you travel.

  • [solved]DWM rules for opening terminal based apps

    These are the rules that I have in my dwm config.h
    The ncurses apps that open in the terminal do not follow the rules. How can accomplish this?
    static const Rule rules[] = {
    /* class instance title tags mask isfloating monitor */
    { "Gimp", NULL, NULL, 0, True, -1 },
    { "Firefox", NULL, NULL, 1 << 3, False, -1 },
    { "Pcmanfm", NULL, NULL, 1 << 1, False, -1 },
    { "ranger", NULL, NULL, 1 << 6, False, -1 },
    { "mutt", NULL, NULL, 1 << 7, False, -1 },
    { "ncmpc", NULL, NULL, 1 << 8, False, -1 },
    Last edited by derrickcope (2015-05-02 05:26:14)

    thanks for the suggestion. xprop just sees them as "terminator". When I start them with -T "title" then xprop sees them with "title".
    When I used the -T switch in .xinitrc and then changed my rules to
    static const Rule rules[] = {
    /* class instance title tags mask isfloating monitor */
    { "Gimp", NULL, NULL, 0, True, -1 },
    { "Firefox", NULL, NULL, 1 << 3, False, -1 },
    { "Pcmanfm", NULL, NULL, 1 << 1, False, -1 },
    { "ranger", NULL, "ranger", 1 << 6, False, -1 },
    { "mutt", NULL, "mutt", 1 << 7, False, 2 },
    { "ncmpc", NULL, "ncmpc", 1 << 8, False, 2 },
    They are still opening on the first monitor and not on the tag I set. I am not sure I am doing it correctly. Should I write terminator as the class?

  • All downloaded apps not working

    For the last few days I have been unable to use any apps that I downloaded. All the preloaded apps work fine, but when I attempt to use downloaded ones the app attempts to open and then it returns me to the homepage. What could be causing this problem?

    may seem an obvious thing but when this happened to me i literally just had to plug into itunes and tick sync apps and they all came back, im sure its not always that simple to solve it though.

  • All music & apps not showing in iTunes

    I recently purchased the new MacBook Pro 15" and transferred all my iTunes music, apps etc from a backup from my Time Capsule. However, when I open up my iTunes, the screens meant to be showing my music and apps are blank.
    I can access the iTunes store and if I press play then the first song on my list plays and then iTunes crashes.
    PLEASE HELP!!!

    Thanks for the response. I'm not sure what you mean by right click on the device. In the upper right hand corner of iTunes I see the device, but I am unable to right click on it. 
    I really just wanted to have the apps show up in iTunes so that i could update them all. (This is how I did it before they all disappeared). But I guess I can just update them directly on my iPad and iPhone. Is there a reason i need to have them show in iTunes is I can update and manage them directly on my iPad?

  • Can all tags be cleared from documents in Finder?

    Before updating my OS to OS X 10.9.4, my document tag use was disjointed (used more as a highlight feature than grouping). I would like to clear all tags and start over. Is that possible or do tags have to be removed document by document?

    Hi,
    You can use an <h:outputText> for do it:
    <h:form id="opsForm" >
               <b>id:</b><b id="idToAccess"><h:outputText value="#{yourBean.yourBeanValue}" /></b><br/>html tags are not saved in your faces context, these tags are in your page, the page that is rendered. In your faces context you will have a representation view of the JSF components of your page, in this case, the component created from <h:outputText>, and the <h:form>.
    Regards.

  • Updating Apps not working???

    Just a quick question...I had a bunch of apps to update, 13+, and when I just went to update them, now it is showing that all my apps are up to date, but they are not....Is anyone else having problems with updating their apps in iTunes tonight?

    After updating my iPad (4.2.1) - arrgghhh- not good - looked around for help for the lockscreen problem (problem solved!) I tried same solution for apps not updating and it worked (I hadn't bothered for a while and there were 69!). On home screen double click home button, find App Store icon on taskbar at the bottom of screen, press and you go into iTunes updates (as pre-update) where your list of available updates is contained. Tho' now it's gone glitchy on me when I pressed 'update all' (possibly 'cos my husband and I share each other's apps, and it's gone to his account). See how you go...

  • IPad mini apps not using the internet.

    There is an issue with my sister's iPad mini where when she's connected to our home internet, only some of her apps use the internet and others don't. For example, while Safari and My Singing Monsters work (thats pretty well the only two apps that work with the internet), the App store, iTunes, Google, Youtube and every other app that requires internet doesn't. She's connected to our internet (it even says in Wi-fi that she's connected) but for some reason almost all her apps (not every app) acts as if she had no connection. Our internet is fine. It works with every other device in our house so its something to do with the iPad mini itself. Pretty well, she has internet connection but most of the apps act as if she doesn't.

    Hello Zoruzero,
    The first thing I would suggest checking is ... another Wi-Fi network.  Does your sister have the same issue when she is in a different location? (home, work, local coffeehouse?).
    Here are the basic troubleshooting steps for Wi-Fi connectivity:
    If your iPhone, iPad, or iPod touch won’t connect to a Wi-Fi network - Apple Support
    http://support.apple.com/en-us/HT204051
    Make sure your router is on and that you're within range.
    If you're too far from your router you won't get a signal, so make sure you're within range. 
    Make sure Wi-Fi is on and that you can see your network.
    Tap Setting > Wi-Fi and make sure Wi-Fi is turned on. Tap the name of your Wi-Fi network to join. A blue checkmark beside a network name means you're connected.
    Get help if you can't turn on Wi-Fi.
    If prompted, type in your Wi-Fi password.
    If prompted, enter the password for your Wi-Fi network. Learn what to do if you don’t know your password.
    Check all of your cables and connections.
    If you still can’t connect to your network or get online, make sure your router is connected to the modem and turned on.
    Restart.
    For more help, try restarting your device, router, or cable/DSL modem. After each step, check to see if you fixed the issue.
      • Restart your iOS device.
      • Unplug your router and plug it back in.
      • Unplug your cable or DSL modem and plug it back in.
    Still can’t connect?
    Reset your Network Settings. Tap Settings > General > Reset > Reset Network Settings. This also resets Wi-Fi networks and passwords, cellular settings, and VPN and APN settings that you’ve used before.
    Get more help
    If someone else set up your network, ask them for help. If you’re using a network at a company, school, hotel, store, or other free Wi-Fi location, find an employee for assistance.
    If you're connected to a Wi-Fi network but you can’t get online, try to use your Wi-Fi network on other devices. If you can’t get online using your other devices, there might be a service outage. Call your cable company or internet provider for help.
    Try connecting to a Wi-Fi network in a different location. If your device can connect, you’ll need to get help with your Wi-Fi network. If it can’t connect to any Wi-Fi networks, contact Apple.
    Update your Wi-Fi router with the latest firmware and make sure the router supports your Apple product. For more information, contact the manufacturer of your router.
    Hope this helps ...
    - Judy

  • Since I updated my 4S iphone to the latest iOS7 version, I can no longer close any of my apps.  As a result, all my apps remain open on my phone.  Even powering down and restarting does not solve the problem.  Specifically, the icons don't wiggle anymore.

    Since I updated my 4S iphone to the latest iOS7 version, I can no longer close any of my apps.  As a result, all my apps remain open on my phone.  Even powering down and restarting does not solve the problem.  Specifically, when I double-click the start button, my open app icons display.  But when I hold my finger on an icon, the apps do not wiggle and display an "x" to close.  Any advice... thanks?!

    Double tap the Home button, then swop upwards on the App Preview (not the App Icon). Tap the Home button again when done to return to normal screen.

  • HT201274 All the Apps on my iphone crash within 1minute after I start them.. How do I solve this?...any suggestions?

    All the Apps on my iphone crash within 1minute after I start them.. How do I solve this?...any suggestions?

    Download and install any free app from the App Store.  Really.

  • [SOLVED] HUGE Black Border In All Apps from Gnome

    Hello everyone, my window manager is  Openbox , and after i make a update, all the app that from gnome like "Evince", "File-roller" eg. have a huge black border, and also the volumeIcon trapicon also display un-correctly .....like what you can see in the picture...does it happens just because some feature is missing in the newest mesa driver or some? and is there some solution? thank u.
    PS:sorry for my poor english.
    Last edited by ExiaHan (2015-04-13 15:21:59)

    JohnWinkerbelt wrote:
    Even if already solved, I want to give some extra tipps, how it can be decent looking and usable again. Taken from the wiki you can add this lightly reduced and modified lines to the ~/.config/gtk-3.0/gtk.css file:
    .window-frame, .window-frame:backdrop {
    box-shadow: 0 0 0 black; /* removes shadow completely */
    border-style: none;
    margin: 1; /* this retains the ability to resize with the mouse, if 1px is too narrow, set some higher values */
    border-radius: 0;
    As for myself, I am using Openbox as wm, Numix as theme and the rest are the xfce environemnt. The effects are all disabled, which results in these black borders in the first place. If you use tiling wm and keyboard only, set the margin to 0 for zero frame and maximum.. content.
    With other words, no need to change themes, blame the.. hmm, wo exactly allowed this to be happen anyway..? Whatever..
    Greetings and good luck
    Hi, thank you, i also use numix as the theme for openbox, as i do not want to change my theme from numix, i must say that your solution is great! it works on my pc~~~~thank u very much~thank u~

  • I have ios 5.1.1. When I sync to iTunes, my purchased apps no longer work. They blink but do not open. The only way I have been able to solve this, is as follows: I delete one of the apps and then re-download and install it. Then, all my apps work.

    My new iPod touch 64 Gig has a problem after syncing with iTunes. My purchased apps no longer work. I touch them and they seem to try to open but they do not.
    The only way I have found to fix this is as follows:
    I delete one of the purchased apps. Then I go to the App Store and re-download and install the same app. After that, all my apps work again.
    Please help.

    Download/install an app is a know possible solution.
    3. Install another app from the App Store
    If all user-installed apps are not launching, it could be an Apple ID authorization issue. Download and install an app that isn't already installed on your device to reset this information.
    Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    Above from Apple's :
    iOS: Troubleshooting applications purchased from the App Store

Maybe you are looking for

  • How to change the font size of the string by using java?

    I wish to change the font size of the text, read from a text file by using java. Please send me the sample codes. By using ActiveX component for word we can do it. Please give me any other solution to suit the platform independ. Thanks in advance. th

  • Printer names in print dialog box

    When I print a document the printer list contains printers I no longer own or with network addresses that are no longer valid/active. There are only two printers in printer Setup Utility but 5 or more in the print dialog box (even more when printing

  • IMovie 09 export fails - exported movie stalls, parts missing

    Hi there fellow mac users, I've got a problem here, and it seems like I am the only one (I've searched extensively for a solution). I'm working on an iM project using 1080i AIC imported video, shot using a JVC HD7. The .TOD files the HD7 produces wer

  • How to store two maps in Oracle

    Greeting, folks, This message is also refering to the previous topic: help: spatial indexing by QiangHan. Sorry for duplicates here. Hi, thanks Dan. It helps a lot. Actually the thing I really want to do is to figure out what capabilities oracle can

  • Maximum no of connections to database

    Hi, I got one interview question...he asked.... How many maximum no of database connections can be connected to the database at a time???? is there any parameter to set that???