Fedora: execute command on right click of mouse [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I need to execute quite often a pdf split option on a file such as:
pdfseparate largefile.pdf part-%d.pdf
Is there a way to execute such a command on a selected file by right-clicking on it? I'm running a Fedora 22
Thanks

I assume that you are using a standard Fedora installation with Gnome 3.
Install nautilus-actions first:
sudo yum install nautilus-actions
Then, open it and configure an entry with the following configuration:
Notice that i wrote a double % symbol, because it would be otherwise matched and translated into the current directory.
I also advice you to disable the option Create a main menu for Nautilus Actions in the Preferences of the application.
You should not need to restart Nautilus for the changes to take place, but if needed use:
sudo pkill -9 nautilus
Although it's definitively better to just logout/login.

Related

How to skip /dev/sda1: clean in booting system? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
When I start system I see black display with message:
/dev/sda1: clean....blocks
How to skip this step and run Ubuntu? It takes over 3 hours to check HDD 500 gb
NOTE: Your question is off-topic for this site. It should be on Ask Ubuntu. But to make things easier, I will answer it here.
Use your favorite text editor to open /etc/fstab (WARNING: Be very careful when editing this file. It controls how your system mounts filesystems on boot).
Find the line for /dev/sda1 At the end of the line, you should see a 1, or 2. Change this to a 0. This tells the system to not run fsck whenever it boots.
ctrl+alt+f2 or f3
login with your account
type sudo apt-get update (enter password when prompted)
type sudo apt-get install xserver-xorg-video-intel
reboot

is there a way to do Linux ifup or ifdown in bash without always having to type sudo first? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
For ifup/ifdown, service, and other commands, is there a way around always needing to type sudo first?
Linux version is 3.8.13-bone67
the simplest way:
add the following in your ~/.bashrc:
alias ifup='sudo /usr/bin/ifup'
(or whatever is the path to your ifup binary. If you don't know the path, you can find out using which ifup)
You then have to enter your password as regular. To also avoid typing the password, you can add an entry into your sudoers file.
Use $ sudo visudo to edit it (will use the editor defined in $EDITOR or vi) and add a line like the following to the end:
ALL ALL = NOPASSWD: /full/path/and/full/command
Sources:
https://wiki.archlinux.org/index.php/Sudo#Configuration

How to start XWindow on Fedora20 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am just installed Fedora20 in VMWare. my computer is win8 64bit. But I can't start Xwindow.
I already login root. try "startx". "command not found". what's mean.How to start Xwindow on Fedora20.
If you have X installed, and everything is more or less "out of the box", then you can shift to runlevel 5.
init 5
Note that it must be ran as the root user.
You did not mention what type of install it was. Providing the X Windows system was installed, you can check the inittab settings by sudo vi /etc/inittab (or cat /etc/inittab if you just want to view it)
You are looking for the last line. It should say " id:5:initdefault: "
In order for Gnome/KDE/etc to load when Fedora starts.
If you edit the file to change the last line, reboot the system and it should open the graphical login.

Debian does not load X [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have a (little?) problem on my Debian.
When it boots, the X does not load automaticlly.
I need to log on the terminal (in any tty) and after run the command startx.
After run this command, everything works.
So, I think that I just need to configure anything to make the Debian run this command.
Debian has a script for that. To make X start on boot, execute (as root or with sudo):
update-rc.d xdm defaults
For more info, read it's manpage:
man update-rc.d
If you are using Gnome, you'll probably want to use gdm instead of xdm.
Ensure that your x-server is active in your current init level.
Have a look at your /etc/inittab for your default runlevel.
Further you should have something like
x:5:respawn:/usr/sbin/gdm -nodaemon

Installed an RPM file. Where to find the installed program? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
I have installed xmedcon-0.11.0-1.i686.rpm on my Fedora Linux machine. I ran the RPM file. Since I'm kind of new to Linux, I want to ask, where can I find the installed file and how can I run it?
Thanks.
From terminal use
$ rpm -ql xmedcon-0.11.0-1.i686 </code>
/etc/xmedconrc
/usr/bin/medcon
/usr/bin/xmedcon
You will see all the files installed. The main files will be above. From command line
run
$ /usr/bin/xmedcon
In case you already know the command name, you can type which medcon in a terminal and it should tell you where the executable is located.
And as full.stack.xchg said, just typing the name of the executable on a command line (or finding it in the graphical menu) will start the program.

Resources