You are not logged in.
Pages: 1
Here is what I ran to apply the patch
patch > dwm-systray-6.3.diffrunning that command outputs nothing, and when I compile dwm and install it, when I run:
nm-appletNothing shows! I'm using DWM 6.3 straight from the sources.
journalctl when nm-applet is started:
Jul 15 08:47:15 pc sudo[6268]: user : TTY=pts/0 ; PWD=/home/user/Build/dwm ; USER=root ; COMMAND=/usr/bin/make install
Jul 15 08:47:19 pc sddm-greeter[6338]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:47:25 pc sddm-greeter[6338]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:47:25 pc sddm[480]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:47:25 pc sddm[480]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:47:25 pc sddm[480]: Session "/usr/share/xsessions/dwm.desktop" selected, command: "dwm"
Jul 15 08:47:25 pc sddm-helper[6371]: Starting: "/usr/share/sddm/scripts/Xsession \"dwm\""
Jul 15 08:52:57 pc sudo[9335]: user : TTY=pts/0 ; PWD=/home/user/Build/dwm ; USER=root ; COMMAND=/usr/bin/make install
Jul 15 08:57:15 pc sudo[11761]: user : TTY=pts/0 ; PWD=/home/user/Build/dwm-flexipatch ; USER=root
; COMMAND=/usr/bin/make install
Jul 15 08:57:22 pc sddm-greeter[11843]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:57:26 pc sddm-greeter[11843]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:57:26 pc sddm[480]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:57:26 pc sddm[480]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:57:26 pc sddm[480]: Session "/usr/share/xsessions/dwm.desktop" selected, command: "dwm"
Jul 15 08:57:26 pc sddm-helper[11872]: Starting: "/usr/share/sddm/scripts/Xsession \"dwm\""
Jul 15 08:58:06 pc sudo[12180]: user : TTY=pts/0 ; PWD=/home/user/Build/dwm ; USER=root ; COMMAND=/usr/bin/make install
Jul 15 08:58:09 pc sddm-greeter[12281]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:58:13 pc sddm-greeter[12281]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:58:13 pc sddm[480]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:58:13 pc sddm[480]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 08:58:13 pc sddm[480]: Session "/usr/share/xsessions/dwm.desktop" selected, command: "dwm"
Jul 15 08:58:13 pc sddm-helper[12310]: Starting: "/usr/share/sddm/scripts/Xsession \"dwm\""
Jul 15 09:03:25 pc sudo[15638]: user : TTY=pts/0 ; PWD=/home/user/Build/dwm-flexipatch ; USER=root
; COMMAND=/usr/bin/make install
Jul 15 09:03:32 pc sddm-greeter[15756]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 09:03:35 pc sddm-greeter[15756]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 09:03:35 pc sddm[480]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 09:03:35 pc sddm[480]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 09:03:35 pc sddm[480]: Session "/usr/share/xsessions/dwm.desktop" selected, command: "dwm"
Jul 15 09:03:35 pc sddm-helper[15794]: Starting: "/usr/share/sddm/scripts/Xsession \"dwm\""
Jul 15 09:03:59 pc sudo[16058]: user : TTY=pts/0 ; PWD=/home/user/Build/dwm ; USER=root ; COMMAND=/usr/bin/make install
Jul 15 09:04:07 pc sddm-greeter[16193]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 09:04:11 pc sddm-greeter[16193]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 09:04:11 pc sddm[480]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 09:04:11 pc sddm[480]: Reading from "/usr/share/xsessions/dwm.desktop"
Jul 15 09:04:11 pc sddm[480]: Session "/usr/share/xsessions/dwm.desktop" selected, command: "dwm"
Jul 15 09:04:11 pc sddm-helper[16231]: Starting: "/usr/share/sddm/scripts/Xsession \"dwm\""nm-applet journalctl
Jul 15 08:41:48 pc NetworkManager[449]: <info> [1657892508.7586] agent-manager: agent[058eae7163e0a091,:1.59/org.freedesktop.nm-applet/1000]: agent registered
Jul 15 08:41:48 pc at-spi-bus-launcher[4591]: dbus-daemon[4591]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=4588 comm="nm-applet")
Jul 15 08:47:34 pc NetworkManager[449]: <info> [1657892854.4732] agent-manager: agent[29f2e8363b04ad1c,:1.89/org.freedesktop.nm-applet/1000]: agent registered
Jul 15 08:47:34 pc at-spi-bus-launcher[4591]: dbus-daemon[4591]: Activating service name='org.a11y.atspi.Registry' requested by ':1.2' (uid=1000 pid=6497 comm="nm-applet")
Jul 15 08:47:46 pc NetworkManager[449]: <info> [1657892866.3598] agent-manager: agent[29f2e8363b04ad1c,:1.90/org.freedesktop.nm-applet/1000]: agent registered
Jul 15 08:57:43 pc NetworkManager[449]: <info> [1657893463.5963] agent-manager: agent[984ea4c3a3f5b14f,:1.145/org.freedesktop.nm-applet/1000]: agent registered
Jul 15 08:57:43 pc at-spi-bus-launcher[4591]: dbus-daemon[4591]: Activating service name='org.a11y.atspi.Registry' requested by ':1.5' (uid=1000 pid=12047 comm="nm-applet")
Jul 15 08:57:43 pc dbus-daemon[563]: [session uid=1000 pid=563] Activating service name='org.freedesktop.Notifications' requested by ':1.41' (uid=1000 pid=12047 comm="nm-applet")
Jul 15 08:58:20 pc NetworkManager[449]: <info> [1657893500.8111] agent-manager: agent[ceb0d8007722a25d,:1.156/org.freedesktop.nm-applet/1000]: agent registered
Jul 15 08:58:20 pc at-spi-bus-launcher[4591]: dbus-daemon[4591]: Activating service name='org.a11y.atspi.Registry' requested by ':1.7' (uid=1000 pid=12448 comm="nm-applet")
Jul 15 09:04:17 pc NetworkManager[449]: <info> [1657893857.9548] agent-manager: agent[a0eb7c762f9dc85e,:1.193/org.freedesktop.nm-applet/1000]: agent registered
Jul 15 09:04:17 pc at-spi-bus-launcher[4591]: dbus-daemon[4591]: Activating service name='org.a11y.atspi.Registry' requested by ':1.9' (uid=1000 pid=16378 comm="nm-applet")
Jul 15 09:08:15 pc NetworkManager[449]: <info> [1657894095.7328] agent-manager: agent[c829bfe93ad80e0b,:1.216/org.freedesktop.nm-applet/1000]: agent registeredHere's my DWM config
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=10" };
static const char dmenufont[] = "monospace:size=10";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
};
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static const Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 },
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
};
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
};
/* key definitions */
#define MODKEY Mod4Mask
#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 char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY|ShiftMask, XK_c, 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 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
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 ClkTagBar, 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 = termcmd } },
{ 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} },
};Last edited by JaydenDev (2022-07-15 14:15:27)
System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)
Offline
Here is what I ran to apply the patch
patch > dwm-systray-6.3.diff
https://man.archlinux.org/man/core/patch/patch.1.en
The direction of the arrow matters.
Offline
Here is what I ran to apply the patch
patch > dwm-systray-6.3.diff
https://man.archlinux.org/man/core/patch/patch.1.en
The direction of the arrow matters.
So is
patch > dwm-systray-6.3.diff correct? I don't know if its hanging or doing a process though...
^ i just now noticed thats what I already ran, so its probably hanging
Last edited by JaydenDev (2022-07-15 15:44:50)
System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)
Offline
Yup. It's waiting for some input.
No, that's not correct.
What does ">" do in bash?
What does "<" do in bash?
What does the patch manpage tell you to do?
Offline
rm config.h
patch -p1 < dwm-systray-6.3.diff
make
sudo make clean installOffline
PROBUBBLE01, seth was trying to teach something. We try not to spoon feed users here.
Offline
Pages: 1