Author Topic: How to make dmenu-manjaro forget bad entries and options?  (Read 1940 times)

0 Members and 1 Guest are viewing this topic.

Offline cipricus

  • Jr. Mitglied
  • **
  • Posts: 58
  • Desktop: Fluxbox
  • Kernel: linux38-x64
  • Skill: Novice
How to make dmenu-manjaro forget bad entries and options?
« on: 17. October 2015, 15:38:51 »
I have polluted demenu with bad entries and also with bad decisions: like for some apps that should have been run in terminal I decided in background.

How to go back on that?


Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: How to make dmenu-manjaro forget bad entries and options?
« Reply #1 on: 17. October 2015, 15:52:55 »
Simply go to ~/.config/dmenu_recent , open the respective file there and delete the wrong entries :)
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline cipricus

  • Jr. Mitglied
  • **
  • Posts: 58
  • Desktop: Fluxbox
  • Kernel: linux38-x64
  • Skill: Novice
How to make dmenu use a certain terminal emulator?
« Reply #2 on: 17. October 2015, 15:53:09 »
Running a program in terminal starts a small white terminal (I don't know what that is, it's not xterm), I want lxterminal or gnome-terminal for example.

How to change?
« Last Edit: 17. October 2015, 16:21:17 by cipricus »

Offline cipricus

  • Jr. Mitglied
  • **
  • Posts: 58
  • Desktop: Fluxbox
  • Kernel: linux38-x64
  • Skill: Novice
Re: How to make dmenu-manjaro forget bad entries and options?
« Reply #3 on: 17. October 2015, 15:59:04 »
Simply go to ~/.config/dmenu_recent , open the respective file there and delete the wrong entries :)

Very nice! Please take a look on my post on how to change the terminal for dmenu !  ^-^
« Last Edit: 18. October 2015, 13:55:03 by cipricus »

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: How to make dmenu use a certain terminal emulator?
« Reply #4 on: 17. October 2015, 16:54:00 »
Yeah sorry, we have to fix that in dmenu-manjaro ::)
Please open /usr/bin/dmenu_recency and where it says
terminal="urxvt...
exchange urxvt with lxterminal or gnome-terminal respectively.
Sorry for that.
« Last Edit: 17. October 2015, 17:29:58 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline cipricus

  • Jr. Mitglied
  • **
  • Posts: 58
  • Desktop: Fluxbox
  • Kernel: linux38-x64
  • Skill: Novice
Re: How to make dmenu use a certain terminal emulator?
« Reply #5 on: 17. October 2015, 18:58:26 »
Yeah sorry, we have to fix that in dmenu-manjaro ::)
Please open /usr/bin/dmenu_recency and where it says
terminal="urxvt...
exchange urxvt with lxterminal or gnome-terminal respectively.
Sorry for that.

Great. Thanks.

Offline m0rl0ck

  • Neuling
  • *
  • Posts: 27
  • Branch: Manjaro 15.09 OpenRC, Debian 8.2, Slackware -current
  • Desktop: !gnome3
  • GPU Card: Geforce GT 630
  • GPU driver: NVIDIA 3.55
  • Kernel: 4.1.6 RYO
  • Skill: Novice
Re: How to make dmenu use a certain terminal emulator?
« Reply #6 on: 17. October 2015, 22:48:01 »
You could just add the following to your .Xdefaults to make rxvt look nice :)
Code: [Select]
URxvt*background: black
URxvt*foreground: gray
URxvt*loginShell: true
URxvt*saveLines: 100000
URxvt*scrollBar: false
URxvt*cursorColor: pink
!URxvt*transparent: true
!URxvt*shading: 30
!URxvt*tintColor: gray
!URxvt*fading: 1
!URxvt*scrollBar_right: true
!URxvt*transpscrollbar: true
URxvt*termName: xterm
URxvt*font: xft:Dejavu Sans Mono:pixelsize=20
URxvt*color4: blue
URxvt*color12: blue


Lines beginning with "!" are commented out, transparency is nice but a distraction when editing a file.

If you add those to your .Xdefaults run xrdb on your .Xdefaults so your changes can be seen with out  logging in again.
"The mind sent outside is the origination of suffering.
The result of the mind sent outside is suffering.
The mind seeing the mind is the path.
The result of the mind seeing the mind is the cessation of suffering."
http://www.accesstoinsight.org/lib/thai/dune/giftsheleft.html

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: How to make dmenu use a certain terminal emulator?
« Reply #7 on: 17. October 2015, 23:01:13 »
Well urxvt is not installed by default on the fluxbox edition.
You'd have to install it first with
Code: [Select]
sudo pacman -S rxvt-unicodeI love urxvt and I'm using it in i3 all the time - that's also the reason why dmenu-manjaro was set to it  by default and I simply forgot to change it ;)
Just, one also needs to get used to it a little - for example copy/paste with Ctrl+Alt+c/v is a bit unusual ...

In any case, the update for dmenu-manjaro is already waiting here. I just need Chrysostomus to have a look at it before I push it, because I don't want to risk breaking his existing installs of bspwm which uses it also... ;)
With the new version you will have the option to set your preferred terminal application in ~/.dmenurc or if you are still using the old config file then it will look for the presence of other terminal apps on your system :)
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline m0rl0ck

  • Neuling
  • *
  • Posts: 27
  • Branch: Manjaro 15.09 OpenRC, Debian 8.2, Slackware -current
  • Desktop: !gnome3
  • GPU Card: Geforce GT 630
  • GPU driver: NVIDIA 3.55
  • Kernel: 4.1.6 RYO
  • Skill: Novice
Re: How to make dmenu use a certain terminal emulator?
« Reply #8 on: 18. October 2015, 00:06:04 »
Well urxvt is not installed by default on the fluxbox edition.
You'd have to install it first with
Code: [Select]
sudo pacman -S rxvt-unicodeI love urxvt and I'm using it in i3 all the time - that's also the reason why dmenu-manjaro was set to it  by default and I simply forgot to change it ;)
Just, one also needs to get used to it a little - for example copy/paste with Ctrl+Alt+c/v is a bit unusual ...



I have been using it for years and never knew you could do that :D I have just been using the old swipe and middle button. Ty for the tip.
"The mind sent outside is the origination of suffering.
The result of the mind sent outside is suffering.
The mind seeing the mind is the path.
The result of the mind seeing the mind is the cessation of suffering."
http://www.accesstoinsight.org/lib/thai/dune/giftsheleft.html

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: How to make dmenu use a certain terminal emulator?
« Reply #9 on: 18. October 2015, 00:32:30 »
Haha! :)
You might also be interested in installing urxvt-perls:
https://github.com/muennich/urxvt-perls/blob/master/README.md 8)
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: How to make dmenu use a certain terminal emulator?
« Reply #10 on: 18. October 2015, 03:35:29 »
You can also setup copy-paste to work in urxvt just like in any other terminal. Took me a while to figure it out, but it can be done. See: https://github.com/manjaro/manjaro-tools-iso-profiles/blob/master/bspwm/bspwm-overlay/etc/skel/.Xresources

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: How to make dmenu use a certain terminal emulator?
« Reply #11 on: 18. October 2015, 05:25:48 »
You can also setup copy-paste to work in urxvt just like in any other terminal. Took me a while to figure it out, but it can be done.
Cool! :)
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline cipricus

  • Jr. Mitglied
  • **
  • Posts: 58
  • Desktop: Fluxbox
  • Kernel: linux38-x64
  • Skill: Novice
Re: How to make dmenu-manjaro forget bad entries and options?
« Reply #12 on: 23. October 2015, 15:56:43 »
After update dmenu_regency went back to urxvt.

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: How to make dmenu-manjaro forget bad entries and options?
« Reply #13 on: 23. October 2015, 16:51:44 »
After update dmenu_regency went back to urxvt.
Yes ::)
I have fixed it properly now and it works like this:
You can either configure your desired terminal application in ~/.dmenurc by adding
Code: [Select]
TERMINAL="<yourfavouriteterminalhere> -e"or otherwise dmenu will automatically look for terminal applications you have installed on your system.
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline cipricus

  • Jr. Mitglied
  • **
  • Posts: 58
  • Desktop: Fluxbox
  • Kernel: linux38-x64
  • Skill: Novice
Re: How to make dmenu-manjaro forget bad entries and options?
« Reply #14 on: 23. October 2015, 21:53:01 »
Yes ::)
I have fixed it properly now and it works like this:
You can either configure your desired terminal application in ~/.dmenurc by adding
Code: [Select]
TERMINAL="<yourfavouriteterminalhere> -e"or otherwise dmenu will automatically look for terminal applications you have installed on your system.

Sorry for a silly question like this (I'm pretty new to Manjaro): when you say you fixed something what should I do to get the new changes like that?  :D